/* Mellow Chic Core — public menu board.
   Inherits theme tokens where present; falls back to literals otherwise. */

.mc-menu { --mc-ink: #2A1B0C; --mc-muted: #7A6249; --mc-leaf: #0E5B4C; --mc-mango: #F0870F; --mc-paper2: #FBE8CC; }

.mc-menu__tabs {
	display: flex; gap: 9px; overflow-x: auto; padding: 4px 0 20px;
	-webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mc-menu__tabs::-webkit-scrollbar { display: none; }
.mc-menu__tab {
	flex: none; border: 1.5px solid rgba(42,27,12,.2); background: transparent;
	color: var(--mc-ink); border-radius: 999px; padding: 9px 20px;
	font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap;
}
.mc-menu__tab.is-active { background: var(--mc-ink); color: #FFF4E2; border-color: var(--mc-ink); }

.mc-menu__section { margin: 0 0 40px; }
.mc-menu__section-title {
	font-size: 1.2rem; margin: 0 0 18px; padding-bottom: 8px;
	border-bottom: 2px solid var(--mc-paper2);
}

.mc-menu__grid {
	display: grid; gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.mc-card {
	background: #fff; border: 1px solid rgba(42,27,12,.09); border-radius: 18px;
	overflow: hidden; display: flex; flex-direction: column;
	box-shadow: 0 3px 16px rgba(42,27,12,.06); transition: transform .18s, box-shadow .18s;
}
.mc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(42,27,12,.12); }
.mc-card.is-soldout { opacity: .72; }

.mc-card__ph { aspect-ratio: 4 / 3; background: var(--mc-paper2); position: relative; }
.mc-card__ph img { width: 100%; height: 100%; object-fit: cover; }
.mc-card.is-soldout .mc-card__ph img { filter: grayscale(.7); }

.mc-card__rec {
	position: absolute; top: 12px; left: 12px; background: var(--mc-leaf); color: #fff;
	font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	padding: 5px 11px; border-radius: 999px;
}
.mc-card__soldout {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: rgba(21,14,6,.42); color: #fff; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; font-size: .85rem;
}

.mc-card__bd { padding: 16px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.mc-card__name { margin: 0; font-size: 1.04rem; line-height: 1.25; }
.mc-card__spice { font-size: .82rem; }
.mc-card__alt { margin: 0; font-size: .86rem; color: var(--mc-muted); }
.mc-card__desc { margin: 4px 0 0; font-size: .86rem; color: var(--mc-muted); line-height: 1.5; }

.mc-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; }
.mc-card__tag {
	font-size: .72rem; color: var(--mc-muted); background: #f6f1e8;
	border-radius: 999px; padding: 2px 8px;
}

.mc-card__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.mc-card__price { font-weight: 800; font-size: 1.16rem; color: var(--mc-leaf); font-variant-numeric: tabular-nums; }
.mc-card__tbc {
	font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: #B85C00; background: rgba(240,135,15,.14);
	padding: 4px 9px; border-radius: 6px;
}
.mc-card__add {
	margin-left: auto; background: var(--mc-ink); color: #FFF4E2; border: 0;
	border-radius: 999px; width: 38px; height: 38px; font-size: 1.2rem; cursor: pointer;
	transition: background .2s, transform .15s;
}
.mc-card__add:hover { background: var(--mc-mango); color: #1B1004; transform: scale(1.08); }

.mc-menu__empty, .mc-menu__hidden { display: none; }
.mc-menu__section[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
	.mc-card, .mc-card__add { transition: none; }
}

/* ============================================================ list layout
   Elegant printed-menu style: two columns of dish rows with price leaders. */
.mc-menu--list { --mc-ink:#2A1B0C; --mc-muted:#7A6249; --mc-mango:#F0870F; --mc-leaf:#0E5B4C; }

.mc-list__section { margin: 0 0 clamp(34px, 6vw, 56px); }
.mc-list__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.mc-list__title {
	font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); margin: 0; line-height: 1;
	position: relative; padding-bottom: 0; white-space: nowrap;
}
.mc-list__title-th { color: var(--mc-muted); font-size: 1rem; }
.mc-list__head::after {
	content: ""; flex: 1; height: 1px; align-self: center;
	background: repeating-linear-gradient(to right, currentColor 0 4px, transparent 4px 8px);
	opacity: .28;
}

/* two-column masonry-ish flow on wide screens */
.mc-list__items { display: grid; gap: 4px 46px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .mc-list__items { grid-template-columns: 1fr 1fr; } }

.mc-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(122,98,73,.16); align-items: flex-start; }
.mc-item:last-child { border-bottom: 0; }
.mc-item.is-soldout { opacity: .5; }

.mc-item__thumb { flex: none; width: 66px; height: 66px; border-radius: 12px; overflow: hidden; background: #f2ede3; }
.mc-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-item.is-soldout .mc-item__thumb img { filter: grayscale(.8); }

.mc-item__main { flex: 1; min-width: 0; }
.mc-item__row { display: flex; align-items: baseline; gap: 8px; }
.mc-item__name {
	margin: 0; font-size: 1.04rem; font-weight: 700; line-height: 1.2;
	font-family: var(--wp--preset--font-family--display, Georgia, serif);
}
.mc-item__star { color: var(--mc-mango); font-size: .85em; }
.mc-item__spice { font-size: .8em; }
.mc-item__leader { flex: 1; align-self: flex-end; margin-bottom: 4px; height: 0; border-bottom: 1px dotted rgba(122,98,73,.5); min-width: 14px; }
.mc-item__price { font-weight: 800; color: var(--mc-leaf); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-item__tbc { font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #b85c00; }

.mc-item__alt { margin: 2px 0 0; font-size: .84rem; color: var(--mc-muted); }
.mc-item__desc { margin: 4px 0 0; font-size: .88rem; color: var(--mc-muted); line-height: 1.5; }

.mc-item__foot { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.mc-item__tag { font-size: .9rem; }
.mc-item__out { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #b32d2e; }
.mc-item__add {
	margin-left: auto; background: transparent; color: var(--mc-ink);
	border: 1.5px solid rgba(42,27,12,.24); border-radius: 999px;
	padding: 5px 14px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
	transition: background .18s, color .18s, border-color .18s;
}
.mc-item__add:hover { background: var(--mc-ink); color: #FFF4E2; border-color: var(--mc-ink); }

.mc-menu--list .mc-list__section[hidden] { display: none; }
