/* Molde Coffee & Bakery — generated from tokens.json */
:root, [data-theme="light"] {
  --canvas: #F5F0E8;
  --surface: #FFFFFF;
  --surface-sunken: #EDE6DA;
  --line: #E2D9CC;
  --line-strong: #8F877C;
  --ink: #161616;
  --ink-2: #4A4640;
  --ink-3: #736D65;
  --brand: #12285E;
  --on-brand: #FFFFFF;
  --brand-soft: #E4E8F2;
  --terracotta: #B85A3A;
  --on-terracotta: #FFFFFF;
  --terracotta-text: #9A4326;
  --terracotta-soft: #F4E3DA;
  --open: #2F6B3A;
  --open-soft: #E6EFE3;
  --closed: #9A4326;
  --focus: #12285E;
  --scrim: rgba(14, 19, 31, 0.48);
  --shadow-card: 0 1px 2px rgba(22, 22, 22, 0.04), 0 4px 16px rgba(18, 40, 94, 0.05);
  --shadow-float: 0 8px 24px rgba(18, 40, 94, 0.14);
  --shadow-sheet: 0 -8px 32px rgba(14, 19, 31, 0.16);
}
[data-theme="night"] {
  --canvas: #0E131F;
  --surface: #171F30;
  --surface-sunken: #121929;
  --line: #26304A;
  --line-strong: #6B7896;
  --ink: #F5F0E8;
  --ink-2: #C9C2B6;
  --ink-3: #9C9589;
  --brand: #B8C6F0;
  --on-brand: #0E131F;
  --brand-soft: #1F2B4A;
  --terracotta: #A84E30;
  --on-terracotta: #FFFFFF;
  --terracotta-text: #E8957A;
  --terracotta-soft: #33231F;
  --open: #8FD19B;
  --open-soft: #1B2E24;
  --closed: #E8957A;
  --focus: #F5F0E8;
  --scrim: rgba(0, 0, 0, 0.6);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-sheet: 0 -8px 32px rgba(0, 0, 0, 0.6);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 56px;
  --space-8: 96px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --container-max: 1280px;
  --bottom-bar-height: 64px;
  --header-height: 88px;
  --tap-min: 44px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 400; letter-spacing: -0.02em; font-variation-settings: 'opsz' 96; }
.display-l { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 400; letter-spacing: -0.015em; font-variation-settings: 'opsz' 72; }
.heading { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: 'opsz' 48; }
.title { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 500; font-variation-settings: 'opsz' 24; }
.body-l { font-family: var(--font-sans); font-size: 17px; line-height: 26px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 23px; font-weight: 400; }
.ui { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; }
.small { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 500; }
.eyebrow { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.12em; }
.price { font-family: var(--font-mono); font-size: 16px; line-height: 20px; font-weight: 600; }
.price-l { font-family: var(--font-mono); font-size: 22px; line-height: 26px; font-weight: 600; }
.meta { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.02em; }

/* Molde Coffee & Bakery — component styles. Every value reads a token from tokens.json. */

.md-root, .md-root * { box-sizing: border-box; }
.md-root {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.md-icon {
  font-family: "Material Symbols Rounded";
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  font-feature-settings: "liga";
  font-variation-settings: "opsz" 24, "wght" 400, "FILL" 0;
  -webkit-font-smoothing: antialiased;
}
.md-icon.is-fill { font-variation-settings: "opsz" 24, "wght" 400, "FILL" 1; }
.md-display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
.md-display em { font-style: italic; color: var(--terracotta-text); }
.md-eyebrow { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.md-mono { font-family: var(--font-mono); }
.md-price { font-family: var(--font-mono); font-size: 16px; line-height: 20px; font-weight: 600; color: var(--terracotta-text); white-space: nowrap; }

:where(.md-root) :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Button ---------- */
.md-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap-min); padding: 0 20px;
  border-radius: var(--radius-md); border: 1px solid transparent;
  font: 600 15px/20px var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.md-btn .md-icon { font-size: 20px; }
.md-btn--primary { background: var(--brand); color: var(--on-brand); }
.md-btn--primary:hover { filter: brightness(1.12); }
.md-btn--secondary { background: var(--surface); color: var(--brand); border-color: var(--line-strong); }
.md-btn--secondary:hover { background: var(--brand-soft); }
.md-btn--ghost { background: transparent; color: var(--ink); }
.md-btn--ghost:hover { background: var(--brand-soft); }
.md-btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.md-btn--block { width: 100%; }
.md-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Status pill ---------- */
.md-status {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: var(--radius-pill);
  font: 500 12px/16px var(--font-mono); letter-spacing: 0.02em; white-space: nowrap;
  background: var(--open-soft); color: var(--open);
}
.md-status__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.md-status--open .md-status__dot { animation: md-pulse 2.4s ease-in-out infinite; }
.md-status--closed { background: var(--terracotta-soft); color: var(--closed); }
.md-status__sep { opacity: .55; }
@keyframes md-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 0%, transparent); } }

/* ---------- Language switch ---------- */
.md-lang { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); }
.md-lang a { min-width: 40px; height: 30px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: var(--radius-pill); font: 600 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--ink-2); text-decoration: none; }
.md-lang a[aria-current="true"] { background: var(--brand); color: var(--on-brand); }

/* ---------- Header ---------- */
.md-header { position: sticky; top: 0; z-index: 40; height: var(--header-height); background: color-mix(in srgb, var(--canvas) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.md-header__inner { max-width: var(--container-max); height: 100%; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.md-header__brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.md-header__logo { height: 68px; width: auto; display: block; object-fit: contain; }
.md-header__nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.md-header__nav a { font: 600 14px/20px var(--font-sans); color: var(--ink-2); text-decoration: none; padding: 8px 14px; border-radius: var(--radius-pill); transition: background-color .15s ease, color .15s ease; white-space: nowrap; }
.md-header__nav a:hover { color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 65%, transparent); }
.md-header__nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.md-header__end { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.md-iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.md-igbtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 6%, #fd5949 45%, #d6249f 62%, #285AEB 92%);
  color: #FFFFFF !important;
  border: 0;
  box-shadow: 0 3px 10px rgba(214, 36, 159, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.md-igbtn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 5px 14px rgba(214, 36, 159, 0.36);
  color: #FFFFFF !important;
}
.md-igbtn svg {
  width: 19px;
  height: 19px;
  display: block;
  margin: auto;
  flex-shrink: 0;
}
.md-wordmark { font: 400 26px/1 var(--font-display); letter-spacing: .18em; color: var(--brand); }

/* ---------- Category chips ---------- */
.md-chips { display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px; }
.md-chips::-webkit-scrollbar { display: none; }
.md-chip { flex: none; scroll-snap-align: start; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 600 14px/1 var(--font-sans); cursor: pointer; white-space: nowrap; text-decoration: none; }
.md-chip[aria-pressed="true"], .md-chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.md-chip__count { font: 500 11px/1 var(--font-mono); opacity: .7; }

/* ---------- Toggle (night mode, availability) ---------- */
.md-toggle { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/18px var(--font-sans); color: var(--ink-2); cursor: pointer; user-select: none; background: none; border: 0; padding: 0; }
.md-toggle__track { position: relative; width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--surface-sunken); border: 1px solid var(--line-strong); transition: background-color .15s; flex: none; }
.md-toggle__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .18s ease; }
.md-toggle[aria-checked="true"] .md-toggle__track { background: var(--brand); border-color: var(--brand); }
.md-toggle[aria-checked="true"] .md-toggle__track::after { transform: translateX(18px); background: var(--on-brand); }
.md-toggle--avail[aria-checked="true"] .md-toggle__track { background: var(--open); border-color: var(--open); }
.md-toggle--avail[aria-checked="true"] .md-toggle__track::after { background: #FFFFFF; }

/* ---------- Product card ---------- */
.md-product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); text-align: left; color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
a.md-product:hover, .row-btn:hover .md-product { border-color: var(--line-strong); }
.md-product.is-selected { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-card); }
.md-photo { position: relative; aspect-ratio: 4 / 3; background: var(--surface-sunken); display: grid; place-items: center; color: var(--ink-3); font: 500 11px/1 var(--font-mono); letter-spacing: .08em; overflow: hidden; }
.md-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.md-product__badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.md-product__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.md-product__name { font: 500 19px/24px var(--font-display); color: var(--ink); margin: 0; }
.md-product__desc { font: 400 14px/20px var(--font-sans); color: var(--ink-2); margin: 0; }
.md-product__foot { margin-top: auto; padding-top: var(--space-2); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.md-product--type { background: var(--surface); }
.md-product--type .md-product__body { padding: var(--space-5) var(--space-4) var(--space-4); }
.md-product--type .md-product__name { font-size: 22px; line-height: 26px; }
.md-product--type .md-product__cat { font: 500 11px/14px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.md-product--row { flex-direction: row; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); min-height: 92px; }
.md-product--row .md-photo { width: 72px; flex: none; border-radius: var(--radius-sm); aspect-ratio: 1; background: #FFFFFF; }
.md-product--row .md-product__body { padding: 0; gap: 2px; }
.md-product--row .md-product__name { font-size: 17px; line-height: 22px; }
.md-product.is-soldout { opacity: .62; }

.md-badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); font: 600 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.md-badge--hot { background: var(--terracotta); color: var(--on-terracotta); }
.md-badge--brand { background: var(--brand); color: var(--on-brand); }
.md-badge--soldout { background: var(--surface); color: var(--closed); border: 1px solid currentColor; }
.md-badge .md-icon { font-size: 14px; }

.md-milk { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--terracotta-soft); color: var(--terracotta-text); font: 600 12px/1 var(--font-sans); white-space: nowrap; }
.md-milk b { font: 600 12px/1 var(--font-mono); }

/* ---------- Reel card (9:16) ---------- */
.md-reels { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.md-reels::-webkit-scrollbar { display: none; }
.md-reel { position: relative; flex: none; width: 200px; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; background: var(--brand); color: #FFFFFF; text-decoration: none; display: block; }
.md-reel video, .md-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.md-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,19,31,0) 45%, rgba(14,19,31,.78) 100%); pointer-events: none; }
.md-reel__play { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--terracotta); color: var(--on-terracotta); }
.md-reel__live { position: absolute; top: 12px; left: 12px; z-index: 2; }
.md-reel__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.md-reel__title { font: 500 17px/21px var(--font-display); color: #FFFFFF; }
.md-reel__handle { font: 500 11px/14px var(--font-mono); color: #F5F0E8; letter-spacing: .03em; }

/* ---------- Experience card ---------- */
.md-exp { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); min-height: 280px; }
.md-exp__num { font: 500 12px/16px var(--font-mono); letter-spacing: .1em; color: var(--terracotta-text); }
.md-exp__title { font: 400 26px/30px var(--font-display); letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.md-exp__list { list-style: none; margin: auto 0 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.md-exp__list li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); font: 400 14px/20px var(--font-sans); color: var(--ink-2); }
.md-exp--night { background: #0E131F !important; border-color: #26304A !important; }
.md-exp--night .md-exp__title { color: #F5F0E8; }
.md-exp--night .md-exp__num, .md-exp--night .md-price { color: #E8957A; }
.md-exp--night .md-exp__list { border-color: #26304A; }
.md-exp--night .md-exp__list li { color: #C9C2B6; }

/* ---------- Amenity tile ---------- */
.md-amenity { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.md-amenity .md-icon { font-size: 28px; color: var(--brand); }
.md-amenity__title { font: 700 15px/20px var(--font-sans); color: var(--ink); margin: 0; }
.md-amenity__text { font: 400 14px/20px var(--font-sans); color: var(--ink-2); margin: 0; }

/* ---------- Bottom bar (mobile) ---------- */
.md-bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-2); padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-sheet); }
.md-bottombar a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--radius-md); font: 700 14px/1 var(--font-sans); text-decoration: none; color: var(--brand); background: var(--brand-soft); }
.md-bottombar a:first-child { background: var(--brand); color: var(--on-brand); }

/* ---------- Search ---------- */
.md-search { position: relative; display: flex; align-items: center; width: 100%; }
.md-search .md-icon { position: absolute; left: 14px; color: var(--ink-2); pointer-events: none; }
.md-search input { width: 100%; height: 48px; padding: 0 44px; border-radius: var(--radius-md); border: 1px solid transparent; background: var(--surface-sunken); color: var(--ink); font: 500 16px/1 var(--font-sans); }
.md-search input::placeholder { color: var(--ink-2); }
.md-search input:focus { outline: none; border-color: var(--focus); background: var(--surface); }
.md-search__clear { position: absolute; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }

/* ---------- Bottom sheet / Detail panel ---------- */
.md-sheet { background: var(--surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-sheet); padding: 10px var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: var(--space-3); }
.md-sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 6px; }
.md-sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.md-sheet__name { font: 400 26px/30px var(--font-display); margin: 0; color: var(--ink); }
.md-sheet__price { font: 600 22px/26px var(--font-mono); color: var(--terracotta-text); white-space: nowrap; }
.md-pair { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); background: var(--terracotta-soft); text-decoration: none; color: inherit; transition: filter .15s ease; }
.md-pair:hover { filter: brightness(.97); }
.md-pair__label { font: 700 11px/14px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta-text); }
.md-pair__item { font: 600 15px/20px var(--font-sans); color: var(--ink); }

/* ---------- Admin ---------- */
.md-admin-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--space-3); min-height: 64px; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.md-admin-row.is-editing { background: var(--brand-soft); border-color: var(--brand); }
.md-admin-row__name { font: 600 15px/20px var(--font-sans); color: var(--ink); }
.md-admin-row__cat { font: 500 11px/14px var(--font-mono); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.md-price-input { display: inline-flex; align-items: center; height: var(--tap-min); border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); padding: 0 10px; gap: 4px; font: 600 16px/1 var(--font-mono); color: var(--ink); }
.md-price-input input { width: 62px; border: 0; background: transparent; font: inherit; color: inherit; text-align: right; padding: 0; }
.md-price-input input:focus { outline: none; }
.md-price-input:focus-within { border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus); }
.md-toast { display: flex; align-items: center; gap: var(--space-3); padding: 10px 10px 10px 16px; border-radius: var(--radius-md); background: #0E131F; color: #F5F0E8; box-shadow: var(--shadow-float); font: 500 14px/20px var(--font-sans); z-index: 60; }
.md-toast button { margin-left: auto; height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-sm); background: #B8C6F0; color: #0E131F; font: 700 13px/1 var(--font-sans); cursor: pointer; white-space: nowrap; }
.md-toast__bar { position: relative; height: 3px; border-radius: 2px; background: #26304A; overflow: hidden; width: 48px; flex: none; }
.md-toast__bar::after { content: ""; position: absolute; inset: 0; background: #E8957A; transform-origin: left; animation: md-undo 4s linear forwards; }
@keyframes md-undo { to { transform: scaleX(0); } }

.md-seg { display: inline-flex; padding: 3px; border-radius: var(--radius-md); background: var(--surface-sunken); gap: 2px; }
.md-seg button { height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font: 600 14px/1 var(--font-sans); cursor: pointer; }
.md-seg button[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: 0 1px 2px rgba(0,0,0,.12); }

/* ---------- FAQ ---------- */
.md-faq { border-top: 1px solid var(--line); }
.md-faq details { border-bottom: 1px solid var(--line); }
.md-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 56px; font: 600 16px/22px var(--font-sans); color: var(--ink); }
.md-faq summary::-webkit-details-marker { display: none; }
.md-faq summary .md-icon { transition: transform .2s; color: var(--brand); }
.md-faq details[open] summary .md-icon { transform: rotate(180deg); }
.md-faq p { margin: 0 0 var(--space-4); font: 400 15px/23px var(--font-sans); color: var(--ink-2); max-width: 60ch; }

[data-theme="night"] .md-header__logo { filter: invert(1); }

/* ==========================================================================
   Page Layout & Responsive Artboard Bridge (Desktop 1440px <-> Mobile 390px)
   ========================================================================== */
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--canvas); color: var(--ink); overflow-x: clip; }
a { color: inherit; }
[x-cloak] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; width: 100%; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 48px; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
.h2 em { font-style: italic; color: var(--terracotta-text); }
.lead { font: 400 17px/26px var(--font-sans); color: var(--ink-2); margin: 0; }
.ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 16px/22px var(--font-sans); }
.fld { display: flex; flex-direction: column; gap: 6px; font: 600 13px/18px var(--font-sans); color: var(--ink-2); }
.fld input, .fld textarea, .fld select { border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); padding: 12px 14px; font: 500 15px/20px var(--font-sans); color: var(--ink); width: 100%; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px color-mix(in srgb, var(--focus) 20%, transparent); }
.foot a { display: block; color: #C9C2B6; text-decoration: none; font: 500 14px/28px var(--font-sans); }
.foot a:hover { color: #FFFFFF; }
.row-btn { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; }
.row-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 12px; }

/* Responsive Visibility Helpers */
.md-hide-mobile { display: flex; }
.md-only-mobile { display: none; }

/* Home Hero Grid (1 <h1>, Desktop 2-col -> Mobile above-the-fold stack) */
.md-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "eyebrow media"
    "title   media"
    "lead    media"
    "actions media"
    "meta    media";
  column-gap: 56px;
  row-gap: 20px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}
.md-hero__eyebrow { grid-area: eyebrow; align-self: end; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.md-hero__brand-h1 {
  margin: 0;
  font: 700 12px/16px var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
}
.md-hero__title { grid-area: title; margin: 0; font-size: 64px; line-height: 68px; letter-spacing: -0.02em; }
.md-hero__lead { grid-area: lead; max-width: 520px; }
.md-hero__actions { grid-area: actions; display: flex; gap: 12px; flex-wrap: wrap; }
.md-hero__meta { grid-area: meta; margin: 0; font-size: 12px; color: var(--ink-3); align-self: start; }
.md-hero__media {
  grid-area: media;
  position: relative;
  height: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-sunken);
  box-shadow: var(--shadow-card);
}
.md-hero__media video, .md-hero__media img.ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.md-hero__float {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
  text-decoration: none;
  color: var(--ink);
}

/* Quick 4 Category Cards */
.md-quick-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 48px 88px;
}

.md-exp__bleed {
  height: 196px;
  width: calc(100% + 48px);
  object-fit: cover;
  margin: 0 -24px 8px;
  display: block;
}

.md-quote-card {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-top: 8px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.md-quote-card__img {
  width: 136px;
  min-height: 136px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}

/* Reels 6-card Showcase */
.md-reels-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.md-reels-grid .md-reel { width: auto; }

/* Editorial Split Sections */
.md-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.md-editorial--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.md-stagger-photos {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: end;
}
.md-stagger-photos__tall { height: 520px; border-radius: var(--radius-lg); overflow: hidden; }
.md-stagger-photos__short { height: 380px; border-radius: var(--radius-lg); overflow: hidden; }
.md-editorial-single { height: 560px; border-radius: var(--radius-lg); overflow: hidden; }

/* Experience 3-col Grid */
.md-exp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Curated 8 Products Grid */
.md-curated-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Sip & Go Bento */
.md-sip-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.md-sip-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
}

/* Amenity 4-col Grid */
.md-amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Contact & FAQ Split */
.md-contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

/* Digital Menu Layout */
.md-menu-shell {
  max-width: 1376px;
  margin: 0 auto;
  padding: 32px 32px 64px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.md-menu-main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.md-chips--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding: 2px 0;
}
.md-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
}
.md-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.md-cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.md-cat-card.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-card);
}
.md-cat-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-sunken);
  overflow: hidden;
}
.md-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.md-cat-card:hover .md-cat-card__media img {
  transform: scale(1.04);
}
.md-cat-card__count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(14, 19, 31, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #F5F0E8;
  font: 600 11px/1 var(--font-mono);
  padding: 5px 9px;
  border-radius: var(--radius-pill);
}
.md-cat-card__body {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}
.md-cat-card__title {
  margin: 0;
  font: 600 15px/20px var(--font-display);
  color: var(--ink);
}
.md-menu-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.md-menu-aside {
  flex: 0 0 400px;
  width: 400px;
  position: sticky;
  top: 96px;
}

/* Admin Panel Layout */
.md-admin-tabs {
  display: flex;
  gap: 28px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.md-admin-tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 4px;
  text-decoration: none;
  font: 600 14px/1 var(--font-sans);
  color: var(--ink-2);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.tab[aria-current="page"], .tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.arow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background-color .15s, border-color .15s;
}
.arow.is-editing { background: var(--brand-soft); border-color: var(--brand); }
.thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-sunken);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  overflow: hidden;
  flex: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-reels-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Mobile Drawer */
.md-mobile-drawer {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  z-index: 39;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.md-mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font: 600 15px/20px var(--font-sans);
  text-decoration: none;
  color: var(--ink);
  background: var(--canvas);
}

/* Tablet Breakpoint */
@media (max-width: 1080px) {
  .md-reels-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0;
    padding: 4px 2px 10px;
    scroll-padding-inline: 2px;
  }
  .md-reels-grid::-webkit-scrollbar { display: none; }
  .md-reels-grid .md-reel { flex: none; width: 176px; }
  .md-reels-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 979px) {
  .md-menu-aside { display: none; }
  .md-menu-shell { padding: 18px 20px 96px; }
  .md-menu-rows { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* Mobile Artboard Breakpoint (matches 390px Claude Design artboard) */
@media (max-width: 899px) {
  :root { --header-height: 72px; }
  .wrap { padding: 0 20px; }
  .h2 { font-size: 30px; line-height: 34px; }
  .lead { font-size: 15px; line-height: 23px; }
  .plist li { padding: 11px 0; font-size: 15px; line-height: 20px; }
  .fld input, .fld textarea, .fld select { font-size: 16px; }

  .md-hide-mobile { display: none !important; }
  .md-only-mobile { display: inline-flex; }
  nav.md-bottombar.md-only-mobile { display: grid; }

  .md-header {
    height: 72px;
    background: var(--surface);
  }
  .md-header__inner {
    padding: 0 14px;
    gap: 8px;
  }
  .md-header__logo { height: 52px; }
  .md-header__nav { display: none; }
  .md-header__end { gap: 7px; margin-left: auto; }
  .md-igbtn { width: 36px; height: 36px; }
  .md-igbtn svg { width: 17px; height: 17px; }
  .md-iconbtn { width: 38px; height: 38px; }

  /* Mobile Above-the-Fold Hero */
  .md-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "title"
      "media"
      "actions"
      "lead"
      "meta";
    row-gap: 14px;
    padding-top: 18px;
    padding-bottom: 36px;
  }
  .md-hero__title { font-size: 33px; line-height: 37px; }
  .md-hero__media { height: 300px; border-radius: var(--radius-lg); }
  .md-hero__actions .md-btn--primary { width: 100%; }
  .md-hero__actions .md-btn--secondary { display: none; }
  .md-hero__float { left: 12px; bottom: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; gap: 10px; }

  /* Mobile Horizontal Category Cards (clean 24px left inset, zero viewport overflow) */
  .md-quick-cats {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0;
    width: 100%;
    padding: 6px 24px 44px 24px;
    scroll-padding-inline: 24px;
  }
  .md-quick-cats::after {
    content: "";
    flex: 0 0 8px;
  }
  .md-quick-cats::-webkit-scrollbar { display: none; }
  .md-quick-cats .md-product {
    flex: none;
    width: 242px;
    scroll-snap-align: start;
  }

  .md-reels-grid .md-reel { width: 168px; }
  .md-reels-grid .md-reel__title { font-size: 15px; line-height: 19px; }

  /* Editorial & Experience Mobile */
  .md-editorial, .md-editorial--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .md-stagger-photos { gap: 10px; }
  .md-stagger-photos__tall { height: 260px; }
  .md-stagger-photos__short { height: 190px; }
  .md-editorial-single { height: 300px; order: -1; }

  .md-exp-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .md-exp { min-height: 0; padding: 20px; }
  .md-exp__title { font-size: 22px; line-height: 27px; }
  .md-exp__bleed {
    height: 176px;
    width: calc(100% + 40px);
    margin: 0 -20px 6px;
  }

  .md-quote-card {
    flex-direction: column;
    padding: 14px;
  }
  .md-quote-card__img {
    width: 100%;
    height: 184px;
  }

  /* Curated 2-col Square Mobile Cards */
  .md-curated-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .md-curated-grid .md-photo { aspect-ratio: 1 / 1; }
  .md-curated-grid .md-product__body { padding: 10px 12px 12px; gap: 4px; }
  .md-curated-grid .md-product__name { font-size: 16px; line-height: 20px; }
  .md-curated-grid .md-product__desc { display: none; }
  .md-curated-grid .md-price { font-size: 15px; }
  .md-curated-grid .md-milk { height: 22px; padding: 0 8px; font-size: 10px; }
  .md-curated-grid .md-milk b { font-size: 10px; }

  /* Sip & Go Mobile */
  .md-sip-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .md-sip-bento { grid-template-rows: 150px 150px; gap: 8px; }

  /* Amenity 2x2 Mobile */
  .md-amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .md-amenity { padding: 16px; }
  .md-amenity__title { font-size: 14px; }

  /* Contact & FAQ Mobile */
  .md-contact-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  /* Menu Mobile */
  .md-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .md-cat-card__body { padding: 10px 12px; }
  .md-cat-card__title { font-size: 14px; line-height: 18px; }
  .md-chip { height: 34px; padding: 0 12px; font-size: 13px; }
  .md-product--row .md-photo { width: 64px; }
  .md-product--row .md-product__name { font-size: 16px; line-height: 21px; }
  .md-product--row .md-product__desc { font-size: 13px; line-height: 18px; }
  .md-product--row .md-price { font-size: 15px; }

  /* Admin Mobile Rows (.arow collapses to 2-row card like .mrow) */
  .arow {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px;
  }
  .thumb { width: 52px; height: 52px; }
  .arow__controls {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .md-reels-admin-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 900px) {
  .arow__controls {
    grid-column: span 3;
    display: contents;
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-root *, .md-root *::before, .md-root *::after { animation: none !important; transition: none !important; }
}
