:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --white: #fffdf7;
  --ink: #202a24;
  --muted: #545e53;
  --pine: #113d37;
  --pine-dark: #0a302b;
  --line: #e0dace;
  --gold: #f2c47a;
  --radius: 22px;
  --primary-bg: #113d37;
  --primary-ink: #fff;
  --primary-hover: #18574e;
  --hero-ink: #fffdf7;
  --focus: #ae5d25;
  --eyebrow: #6a4d2a;
  --warm-ink: #724b28;
  --footer-bg: #efeadc;
  --image-bg: #e4d7bf;
  --selected-bg: #e3eee3;
  --selected-border: #d6e3d7;
  --hover-bg: #edf0df;
  --offer-bg: #f3e8cf;
  --offer-border: #e7d8b5;
  --offer-ink: #624223;
  --disabled-bg: #e8e5dc;
  --disabled-ink: #5d6155;
  --error-ink: #952d1e;
  --shadow: 0 5px 22px #2627160b;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141d19;
  --white: #202c25;
  --ink: #f4eee0;
  --muted: #c0cbbb;
  --pine: #a9ddbf;
  --line: #415247;
  --shadow: 0 5px 22px #0003;
  --primary-bg: #a9ddbf;
  --primary-ink: #122d21;
  --primary-hover: #c0edcf;
  --focus: #f2c47a;
  --eyebrow: #e5bd83;
  --warm-ink: #e9c39b;
  --footer-bg: #18231c;
  --image-bg: #3a382c;
  --selected-bg: #314b3c;
  --selected-border: #4d6e5a;
  --hover-bg: #3b5141;
  --offer-bg: #3c3022;
  --offer-border: #695037;
  --offer-ink: #f0c98f;
  --disabled-bg: #323b32;
  --disabled-ink: #b9c3b4;
  --error-ink: #ffac9c;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
svg.icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.top { position: sticky; z-index: 3; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-inner { height: 69px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { display: block; width: 146px; height: auto; border-radius: 5px; }
.header-actions { display: flex; gap: 9px; align-items: center; }
.language, .header-cart, .theme-toggle { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); min-height: 44px; }
.theme-toggle { justify-content: center; width: 44px; padding: 0; color: var(--pine); }
.theme-toggle:hover { background: var(--hover-bg); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle[aria-pressed="false"] .theme-sun,
.theme-toggle[aria-pressed="true"] .theme-moon { display: none; }
.language { padding: 0 9px; color: var(--pine); }
.language .icon { width: 16px; height: 16px; }
.language select { min-height: 42px; border: 0; background: none; color: var(--pine); font-size: 12px; font-weight: 800; }
.header-cart { padding: 0 12px; color: var(--pine); font-weight: 780; }
.header-cart .counter { font-size: 12px; min-width: 22px; text-align: center; }
.hero { display: grid; grid-template-columns: 45% 55%; margin-top: 22px; border-radius: 30px; overflow: hidden; background: #f7dfac; color: #302719; min-height: 450px; }
.hero-copy { position: relative; z-index: 1; padding: 38px 34px 26px; align-self: center; }
.eyebrow { color: var(--eyebrow); font-weight: 850; text-transform: uppercase; font-size: 11px; letter-spacing: .13em; display: flex; align-items: center; gap: 7px; }
.hero-kicker { color: #654221; font-size: 10px; letter-spacing: .09em; }
.hero-kicker .icon { width: 16px; height: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.daypart-control { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; min-width: 0; }
.daypart-picker { flex: 0 1 auto; max-width: 60%; min-width: 0; }
.daypart-picker select { width: 100%; min-height: 44px; max-width: 100%; padding: 4px 9px; border: 1px solid var(--line); border-radius: 12px; color: var(--pine); background: var(--white); font-size: 13px; font-weight: 750; }
#daypart-status { flex: 1; min-width: 0; color: var(--warm-ink); font-size: 11px; line-height: 1.35; }
.hero[data-daypart="morning"] { background: #f3e5c9; }
.hero[data-daypart="evening"] { background: #efd6b5; }
.hero[data-daypart="morning"] .hero-media { background: #c99161; }
.hero[data-daypart="day"] .hero-media { background: #b95d2d; }
.hero[data-daypart="evening"] .hero-media { background: #4f2414; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; margin: 0; font-weight: 700; }
h1 { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(39px, 4.6vw, 64px); font-weight: 900; line-height: 1.01; letter-spacing: -.055em; margin: 18px 0 23px; text-wrap: balance; }
h2 { font-size: clamp(31px, 4.2vw, 52px); line-height: 1; letter-spacing: -.04em; }
.hero p { max-width: 37ch; color: #59452d; margin: 0 0 14px; font-size: 15px; }
.hero .hero-dish { color: #302719; font-weight: 850; font-size: 23px; line-height: 1.15; margin-bottom: 7px; }
.hero-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 17px; }
.hero-price strong { font-size: 35px; font-weight: 900; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.hero-price span { max-width: 19ch; color: #59452d; font-size: 12px; line-height: 1.3; }
.hero-media { position: relative; min-width: 0; min-height: 100%; background: #d16428; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-caption { position: absolute; right: 12px; bottom: 12px; background: #402816e6; color: #fffdf7; padding: 5px 9px; border-radius: 20px; font-size: 10px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border-radius: 14px; padding: 0 16px; text-decoration: none; font-weight: 800; }
.primary { background: var(--primary-bg); color: var(--primary-ink); border: 1px solid var(--primary-bg); }
.primary:hover { background: var(--primary-hover); }
.secondary { background: var(--white); border: 1px solid var(--line); color: var(--pine); }
.hero .hero-order { background: #a52f20; border-color: #a52f20; color: #fffdf7; border-radius: 999px; min-height: 50px; padding-inline: 20px; }
.hero .hero-order:hover { background: #842317; border-color: #842317; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; color: #302719; font-size: 14px; font-weight: 750; text-underline-offset: 4px; }
.hero-cta:hover { color: #8e281c; }
.hero-kids { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: #593c21; font-weight: 750; font-size: 14px; text-align: left; }
.hero-kids:hover { color: #8e281c; }
.hero-kids .icon { width: 17px; height: 17px; }
.hero :focus-visible { outline-color: #593c21; }
.catalog { margin-top: 39px; padding-bottom: 39px; scroll-margin-top: 83px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-head .eyebrow { margin-bottom: 8px; }
.discover { margin: 14px 0 10px; }
.discover-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.discover-heading h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.discover-heading span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.discover-strip { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 9px 2px 7px; margin-inline: -2px; scroll-padding-inline: 2px; scrollbar-width: thin; }
.discover-card { flex: 0 0 166px; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 8px; min-width: 0; min-height: 74px; padding: 7px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); text-align: left; color: var(--ink); }
.discover-card:hover { background: var(--hover-bg); }
.discover-card[aria-pressed="true"] { border-color: var(--pine); background: var(--selected-bg); }
.discover-card img { display: block; width: 58px; height: 58px; border-radius: 10px; object-fit: cover; background: var(--image-bg); }
.discover-card span { min-width: 0; }
.discover-card b { display: block; color: var(--pine); font-size: 14px; line-height: 1.15; overflow-wrap: anywhere; }
.discover-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
.discover-active { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 0 6px; }
.discover-active-text { flex: 1 1 0; min-width: 0; }
.discover-active-text strong, .discover-active-text small { display: block; overflow-wrap: anywhere; line-height: 1.2; }
.discover-active-text strong { font-size: 13px; color: var(--pine); }
.discover-active-text small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.discover-next, .discover-clear { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: none; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--pine); padding: 4px 9px; font-size: 12px; font-weight: 750; }
.discover-next { background: var(--selected-bg); border-color: var(--selected-border); }
.discover-next .icon { width: 16px; height: 16px; }
.discover-next:disabled { opacity: .5; cursor: default; }
.discover-clear:hover, .discover-next:not(:disabled):hover { background: var(--hover-bg); }
.menu-photo-note { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.search { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); background: var(--white); border-radius: 14px; color: var(--pine); }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.search input { border: 0; outline: none; color: var(--ink); background: transparent; min-width: 0; width: min(205px, 100%); font-size: 16px; }
.search input:focus-visible { outline: none; }
.category-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 5px 3px 10px; margin: 17px -3px 12px; scroll-padding-inline: 4px; }
.category { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); white-space: nowrap; font-weight: 730; font-size: 13px; }
.category .icon { width: 16px; height: 16px; }
.category[aria-pressed=true] { color: var(--primary-ink); background: var(--primary-bg); border-color: var(--primary-bg); }
.group { margin: 26px 0 32px; }
.group:first-child { margin-top: 0; }
.group-title { display: flex; gap: 9px; align-items: center; margin: 0 0 10px; font-size: 18px; }
.group-title .icon { color: var(--pine); }
.group-title small { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 650; }
.featured { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.feature { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-open { position: relative; display: block; width: 100%; height: clamp(128px, 16vw, 195px); padding: 0; background: var(--image-bg); border: 0; overflow: hidden; text-align: left; }
.feature-open:focus-visible { outline-offset: -4px; }
.feature-open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-info { padding: 12px; }
.dish-description { margin: 5px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.item-open { display: block; border: 0; background: transparent; font-weight: 790; padding: 0; min-height: 44px; width: 100%; text-align: left; line-height: 1.23; }
.item-open small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; font-weight: 500; }
.feature-bottom { display: flex; justify-content: space-between; gap: 4px; align-items: center; }
.price { color: var(--pine); font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon-button, .step-button { display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--pine); min-width: 44px; min-height: 44px; padding: 0; }
.icon-button.add { background: var(--selected-bg); border-color: var(--selected-border); }
.icon-button:hover, .step-button:hover { background: var(--hover-bg); }
.add .icon { width: 18px; height: 18px; }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.menu-row { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 62px; padding: 8px 9px 8px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.dish-thumb { display: block; border-radius: 9px; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--image-bg); }
.menu-row .item-open { flex: 1; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 9px; min-width: 0; overflow-wrap: anywhere; }
.row-price { display: block; margin-top: 4px; }
.row-price.unknown { text-align: left; }
.unknown { color: var(--warm-ink); font-weight: 700; font-size: 12px; line-height: 1.2; text-align: right; }
.empty { background: var(--white); border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); padding: 22px; text-align: center; }
.empty p { margin: 0 0 14px; }
.site-footer { border-top: 1px solid var(--line); background: var(--footer-bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 22px; }
.footer-inner strong { color: var(--pine); }
.footer-inner p { max-width: 66ch; font-size: 13px; margin: 4px 0 0; color: var(--muted); }
.footer-inner a { display: inline-flex; align-items: center; gap: 7px; color: var(--pine); font-weight: 750; flex: none; min-height: 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 3px 18px; }
.mobile-cart { display: none; }
.toast-message { position: fixed; z-index: 4; pointer-events: none; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--pine-dark); color: white; border-radius: 14px; max-width: calc(100% - 28px); width: max-content; text-align: center; padding: 10px 15px; font-size: 14px; }
.toast-message:empty { display: none; }
dialog { padding: 0; border: 0; width: min(480px, 100%); max-width: 100%; max-height: 100%; margin: 0 0 0 auto; background: var(--white); color: var(--ink); height: 100%; height: 100dvh; }
dialog::backdrop { background: #091d18aa; }
.drawer { display: flex; flex-direction: column; height: 100%; }
.drawer-head { padding: 19px 18px 15px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: start; justify-content: space-between; }
.drawer-head h2 { margin-top: 5px; font-size: 34px; }
.drawer-body { overflow: auto; flex: 1; padding: 15px 18px; overscroll-behavior: contain; }
.drawer-footer { display: grid; gap: 8px; padding: 12px 18px max(16px, env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
.drawer-footer:empty { display: none; }
.drawer-footer .primary, .drawer-footer .secondary { width: 100%; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.cart-line b { display: block; line-height: 1.25; }
.cart-line small { display: block; color: var(--muted); margin-top: 3px; }
.cart-edit-line { grid-template-columns: 76px minmax(0,1fr) auto; grid-template-areas: "photo name price" "photo quantity quantity" "sides sides sides"; column-gap: 10px; row-gap: 4px; padding-block: 10px; }
.cart-edit-line > .dish-thumb { grid-area: photo; align-self: center; border-radius: 13px; }
.cart-line-copy { grid-area: name; min-width: 0; overflow-wrap: anywhere; }
.cart-line-total { grid-area: price; align-self: start; color: var(--pine); font-size: 15px; white-space: nowrap; }
.cart-edit-line > .quantity { grid-area: quantity; justify-self: start; }
.cart-edit-line .cart-sides { grid-area: sides; font-size: 12px; margin: 0; color: var(--pine); }
.quantity { display: flex; align-items: center; gap: 6px; }
.quantity output { text-align: center; min-width: 19px; font-weight: 800; }
.step-button .icon { width: 15px; height: 15px; }
.step-button:disabled { opacity: .5; cursor: default; }
.offer { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 12px; padding: 9px; background: var(--offer-bg); border: 1px solid var(--offer-border); border-radius: 16px; }
.offer-photo { display: block; width: 78px; height: 88px; object-fit: cover; border-radius: 11px; }
.offer-copy { display: grid; justify-items: start; align-content: center; gap: 5px; min-width: 0; }
.offer .eyebrow { color: var(--offer-ink); font-size: 9px; letter-spacing: .03em; }
.offer .eyebrow .icon { width: 15px; height: 15px; }
.offer b { font-size: 14px; line-height: 1.2; overflow-wrap: anywhere; }
.offer-copy small { color: var(--offer-ink); font-size: 12px; line-height: 1.3; }
.offer-total { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin: 0; padding-top: 6px; border-top: 1px solid var(--offer-border); font-size: 12px; color: var(--offer-ink); }
.offer-total strong { white-space: nowrap; }
.offer-confirmation { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 7px 10px; border: 1px solid var(--selected-border); background: var(--selected-bg); border-radius: 12px; color: var(--pine); }
.offer-confirmation b { font-size: 13px; }
.offer-confirmation small { display: block; font-size: 12px; color: var(--muted); }
.offer-add { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; border: 1px solid #922d25; background: #922d25; color: #fffdf7; border-radius: 11px; min-height: 44px; padding: 5px 8px; font-weight: 780; font-size: 13px; }
.offer-add .icon { width: 15px; height: 15px; }
.offer-add:hover { background: #77231c; }
.total { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; color: var(--pine); font-size: 19px; }
.handoff-note { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.cart-checkout { justify-content: space-between; gap: 10px; text-align: left; }
.cart-checkout > span:last-child { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
#cart .drawer-head { padding-block: 14px 10px; }
#cart .drawer-head h2 { font-size: 30px; margin-block: 3px 0; }
#cart .drawer-head .eyebrow { font-size: 10px; }
#cart .drawer-body { padding-top: 4px; min-height: 0; }
#cart .drawer-footer { flex-shrink: 0; }
.cashier-list .cart-line { grid-template-columns: minmax(0, 1fr) auto; }
.qr { display: grid; place-items: center; text-align: center; gap: 6px; }
.qr canvas { display: block; width: min(280px, 100%); height: auto; image-rendering: pixelated; }
.qr p, .detail-text { color: var(--muted); font-size: 14px; margin: 5px 0 10px; }
.cashier-note { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.order-code { margin-top: 16px; border-top: 1px solid var(--line); }
.order-code summary { min-height: 44px; padding-block: 12px; color: var(--pine); font-size: 14px; font-weight: 700; cursor: pointer; }
.order-code .qr { padding-bottom: 12px; }
.detail-photo { display: block; width: 100%; height: min(38vh, 320px); object-fit: contain; border-radius: 16px; background: var(--image-bg); }
.photo-note { display: block; margin: 6px 0; color: var(--muted); font-size: 12px; }
.detail-price { display: block; margin: 8px 0; font-size: 24px; }
.detail-price.unknown { text-align: left; font-size: 15px; }
.share-dialog { width: min(460px,100%); height: fit-content; max-height: calc(100dvh - 12px); margin: auto; border-radius: 26px; overflow: auto; }
.share-handle { display: none; width: 36px; height: 4px; border-radius: 4px; margin: 9px auto 0; background: var(--line); }
.share-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 9px; gap: 12px; }
.share-head h2 { font: 800 21px system-ui,sans-serif; margin: 0; }
.share-head .icon-button { border: 0; background: transparent; }
.share-body { padding: 0 18px max(18px,env(safe-area-inset-bottom)); text-align: center; }
.story-preview { aspect-ratio: 9/16; width: min(200px, calc(38dvh * 9 / 16)); min-height: 150px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; }
.story-preview img { display: block; width: 100%; height: auto; }
.story-preview p { padding: 14px; font-size: 13px; color: var(--muted); }
.share-dish-name { font-size: 14px; font-weight: 700; margin: 12px 0; }
.share-actions { display: flex; justify-content: center; align-items: start; gap: 12px; }
.share-actions button { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: none; color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.25; max-width: 125px; min-width: 0; }
.share-actions button > span { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); background: var(--selected-bg); color: var(--pine); border-radius: 50%; }
.share-actions .story-action { background: linear-gradient(35deg,#ffb44e,#d52d78 55%,#713fd1); color: #fff; border-color: transparent; }
.share-actions button:disabled { opacity: .45; cursor: wait; }
.share-hint { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 17px auto 0; max-width: 38ch; }
.share-status { font-size: 13px; font-weight: 650; margin: 10px 0 0; }
.share-status:empty { display: none; }
@media (max-width: 620px) {
  .share-dialog { margin: auto auto 0; border-radius: 26px 26px 0 0; }
  .share-handle { display: block; }
}
@media (max-width: 790px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 340px; }
  .hero-copy { padding: 27px 23px 20px; }
  .hero-caption { font-size: 9px; }
}
@media (max-width: 620px) {
  .top-inner { height: 58px; }
  .brand img { width: 124px; }
  .header-cart-label { display: none; }
  .header-actions { gap: 6px; }
  .language { padding-inline: 6px; }
  .header-cart { padding-inline: 8px; }
  .hero { grid-template-columns: 1fr; margin-top: 12px; border-radius: 22px; min-height: 0; }
  .hero-media { grid-row: 1; min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  .hero-media img { object-position: center; }
  .hero-copy { padding: 19px 19px 12px; }
  h1 { font-size: clamp(34px, 10vw, 48px); margin: 8px 0 15px; }
  .hero p { margin-bottom: 12px; font-size: 14px; }
  .hero .hero-dish { font-size: 21px; margin-bottom: 5px; }
  .hero-price { margin-bottom: 14px; }
  .hero-price strong { font-size: 32px; }
  .hero .hero-order { min-height: 48px; padding-inline: 16px; font-size: 14px; }
  .hero-actions { column-gap: 10px; }
  .hero-kids { margin-top: 6px; }
  .catalog { margin-top: 24px; scroll-margin-top: 70px; padding-bottom: 18px; }
  .section-head { flex-wrap: wrap; align-items: center; gap: 9px; }
  .section-head .eyebrow { margin-bottom: 5px; font-size: 10px; }
  .search { flex: 1 0 100%; }
  .search input { width: 100%; }
  .category-strip { margin-top: 9px; margin-bottom: 7px; }
  .featured { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .feature-info { padding: 8px; }
  .menu-list { grid-template-columns: 1fr; }
  .group { margin-bottom: 24px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 2px; }
  body:has(.mobile-cart:not([hidden])) .site-footer { padding-bottom: 75px; }
  .mobile-cart { display: block; position: fixed; z-index: 3; bottom: 0; left: 0; right: 0; padding: 7px 14px max(8px,env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-cart button { justify-content: space-between; width: 100%; }
  .mobile-cart .cart-summary { display: flex; align-items: center; gap: 8px; }
  .toast-message { bottom: 76px; }
  dialog { margin: auto 0 0; max-height: 92%; max-height: 92dvh; border-radius: 22px 22px 0 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.serve { border: 1px solid var(--line); border-radius: 14px; margin: 10px 0 0; padding: 0 5px 5px; display: flex; gap: 4px; }
.serve legend, .serve-summary { color: var(--muted); font-weight: 700; font-size: 13px; }
.serve label { display: inline-flex; align-items: center; justify-content: center; flex: 1; min-height: 44px; padding: 3px 7px; border-radius: 9px; cursor: pointer; font-size: 14px; }
.serve label:has(input:checked) { background: var(--selected-bg); color: var(--pine); }
.serve input { accent-color: var(--pine); margin: 0 6px 0 0; }
.copy-field { width: 100%; min-height: 60px; border: 1px solid var(--line); border-radius: 9px; padding: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.guide-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--pine); font-weight: 750; text-underline-offset: 4px; }
.guide-link:hover { color: var(--warm-ink); }
@media (max-width: 620px) { .guide-link { font-size: 13px; } }
.menu-tools { display: flex; align-items: center; gap: 8px; }
.search-toggle { margin-left: auto; }
.search-toggle[aria-expanded=true] { background: var(--selected-bg); }
.menu-toolbar > .search { margin-top: 8px; padding-right: 3px; }
.menu-toolbar > .search input { width: 100%; flex: 1; }
.search-clear { border: 0; background: none; }
.menu-view { display: flex; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.menu-view button { min-height: 44px; padding-inline: 10px; border: 0; border-radius: 13px; background: transparent; color: var(--pine); font-weight: 750; font-size: 13px; }
.menu-view button[aria-pressed=true] { background: var(--selected-bg); }
@media (max-width:620px) {
  .menu-tools { gap: 6px; }
}
@media (max-width: 350px) {
  .cart-edit-line { grid-template-columns: 64px minmax(0,1fr) auto; column-gap: 8px; }
  .cart-line-copy b { font-size: 14px; }
  .cart-item { grid-template-columns: 42px minmax(0, 1fr); }
  .offer { grid-template-columns: 60px minmax(0,1fr) auto; gap: 7px; }
  .offer-photo { width: 60px; height: 76px; }
  #cart .drawer-head, #cart .drawer-body, #cart .drawer-footer { padding-inline: 14px; }
  .cart-checkout { font-size: 14px; padding-inline: 12px; }
}
@media (max-width: 365px) {
  .top-inner { width: calc(100% - 24px); gap: 8px; }
  .brand img { width: 100px; }
  .header-actions { gap: 4px; }
  .language .icon { display: none; }
  .header-cart { padding-inline: 6px; }
  .header-cart .icon { width: 18px; }
}
@media (max-width:620px) and (max-height:650px) {
  #cart .drawer-head { padding-block: 12px 8px; }
  #cart .drawer-body { padding-bottom: 8px; }
  #cart .drawer-footer { gap: 6px; padding-block: 10px max(12px,env(safe-area-inset-bottom)); }
  #cart .serve { margin-top: 8px; padding-bottom: 3px; }
  #cart .offer { margin-top: 8px; padding: 8px; gap: 6px; }
  #cart .offer-photo { height: 64px; }
}

/* The three views and categories share a compact toolbar. */
.menu-toolbar { position: sticky; top: 70px; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); padding-top: 7px; }
.menu-toolbar .category-strip { margin-top: 7px; margin-bottom: 0; }
.menu-photo-note { margin-top: 9px; }
.menu-feed { display: grid; width: min(100%,580px); margin-inline: auto; gap: 15px; }
.menu-feed .feature-open { height: auto; aspect-ratio: 4 / 3; }
.menu-feed .feature[data-photo^="branding/"] .feature-open { aspect-ratio: 1; }
.menu-feed .feature-info { padding: 12px 14px; }
.menu-feed .item-open { font-size: 20px; }
.menu-feed .feature-bottom { margin-top: 7px; }
.menu-feed .price { font-size: 18px; }
.feed-category { margin-bottom: 3px; }
.feed-add { min-height: 44px; padding-inline: 12px; font-size: 14px; }
.offer-undo { border: 0; background: none; color: var(--pine); min-height: 44px; padding: 0 3px; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width:620px) {
  .menu-toolbar { top: 59px; }
}
@media (max-height:470px) {
  .menu-toolbar { position: relative; top: auto; }
}

/* A dish, its price and its actions belong together on a phone. */
:root { --menu-stack: 164px; --dock-space: 0px; --like-ink: #b12d49; }
:root[data-theme="dark"] { --like-ink: #ff8fab; }
.social-actions { display: flex; align-items: center; gap: 4px; min-height: 44px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 2px; }
.social-like, .social-share { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; padding: 0; background: transparent; color: var(--pine); }
.social-like:hover, .social-share:hover { background: var(--selected-bg); }
.social-like[aria-pressed="true"] { color: var(--like-ink); }
.social-like[aria-pressed="true"] .icon { fill: currentColor; }
.social-views { display: inline-flex; justify-content: center; align-items: center; flex: 1; gap: 4px; min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.2; }
.social-views .icon { width: 16px; height: 16px; }
.social-views b { font-variant-numeric: tabular-nums; }
.social-compact .social-views { flex-direction: column; gap: 1px; font-size: 10px; }
.social-compact .social-views .icon { display: none; }
.category-count { font-size: 11px; font-variant-numeric: tabular-nums; }
.menu-social-note { margin: 7px 0 10px; font-size: 12px; color: var(--muted); }
.row-actions { display: flex; align-items: center; flex: none; gap: 2px; }
.row-actions .social-like { color: var(--muted); }
.row-actions .social-like[aria-pressed="true"] { color: var(--like-ink); }
#item-footer .social-actions { margin: 0; padding: 0; border: 0; }
#item-dialog { height: fit-content; max-height: calc(100dvh - 12px); margin-block: auto; border-radius: 22px 0 0 22px; }
#item-dialog .drawer { max-height: calc(100dvh - 12px); height: auto; }
#item-dialog .drawer-body { min-height: 0; }
#item-dialog .drawer-head { padding: 12px 16px; }
#item-title { font: 800 clamp(21px,2.3vw,28px)/1.16 system-ui,sans-serif; overflow-wrap: anywhere; }
#item-footer { gap: 4px; padding-top: 5px; }
@media (max-width:620px) {
  .discover { margin: 10px 0 6px; }
  .discover-heading h3 { font-size: 15px; }
  .discover-card { flex-basis: 158px; }
  .discover-active-text strong { font-size: 12px; }
  .discover-next, .discover-clear { padding-inline: 7px; }
  body:has(.mobile-cart:not([hidden])) { --dock-space: 74px; }
  .wrap { width: calc(100% - 24px); }
  .hero { margin-top: 10px; border-radius: 18px; }
  .hero-media { aspect-ratio: auto; height: clamp(125px,24svh,190px); }
  .hero-media img { object-fit: contain; }
  .hero-copy { padding: 12px 14px 4px; }
  .hero-kicker { display: none; }
  .daypart-control { gap: 8px; margin: 0 0 7px; }
  .daypart-picker select { font-size: 12px; }
  #daypart-status { font-size: 10px; }
  .hero h1 { font-size: 24px; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 8px; }
  .hero .hero-dish { font-size: 19px; margin-bottom: 4px; }
  .hero p { font-size: 13px; margin-bottom: 6px; }
  .hero-price { margin-bottom: 8px; }
  .hero-price strong { font-size: 26px; }
  .hero-price span { display: none; }
  .hero .hero-order { min-height: 44px; font-size: 13px; padding-inline: 13px; }
  .hero-cta { min-height: 44px; font-size: 13px; }
  .hero-kids { margin: 0; font-size: 13px; }
  .catalog { margin-top: 18px; }
  .section-head .eyebrow { display: none; }
  .section-head h2 { font-size: 28px; }
  .menu-toolbar { padding-top: 4px; }
  .menu-toolbar .category-strip { gap: 6px; padding-top: 2px; padding-bottom: 5px; margin-top: 3px; }
  .category { font-size: 12px; padding-inline: 10px; }
  .menu-photo-note { font-size: 11px; margin-block: 6px 8px; }
  #results { padding-bottom: var(--dock-space); }
  .menu-feed { gap: 12px; }
  .menu-feed .feature { display: flex; flex-direction: column; height: max(300px,calc(100svh - var(--menu-stack) - var(--dock-space) - 16px)); scroll-margin-top: calc(var(--menu-stack) + 8px); }
  .menu-feed .feature-open, .menu-feed .feature[data-photo^="branding/"] .feature-open { flex: 1; height: 0; min-height: 96px; aspect-ratio: auto; }
  .menu-feed .feature-open img { object-fit: contain; }
  .menu-feed .feature-info { flex: none; padding: 8px 12px 4px; }
  .menu-feed .feed-category { display: none; }
  .menu-feed .item-open { font-size: 18px; line-height: 1.18; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
  .menu-feed .item-open small { display: none; }
  .menu-feed .dish-description { font-size: 12px; line-height: 1.35; margin: 2px 0 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .menu-feed .feature-bottom { margin-top: 3px; }
  .menu-feed .social-actions { margin-top: 4px; }
  .featured .feature-info { padding-bottom: 3px; }
  .featured .social-actions { gap: 0; }
  .featured .social-views { overflow-wrap: anywhere; }
  .menu-row { padding-inline: 8px; gap: 5px; }
  .menu-row .item-open { grid-template-columns: 44px minmax(0,1fr); gap: 7px; font-size: 13px; }
  .menu-row .item-open .serving-note { display: none; }
  .menu-row .dish-thumb { width: 44px; }
  .menu-row .item-open small { font-size: 10px; }
  .row-actions { gap: 0; }
  #item-dialog { border-radius: 22px 22px 0 0; margin: auto 0 0; }
  #item-dialog .drawer-head { padding: 10px 12px 8px; gap: 8px; }
  #item-category { font-size: 9px; }
  #item-title { font-size: 22px; }
  #item-body { padding: 8px 12px; }
  .detail-photo { height: clamp(110px,29svh,245px); }
  .detail-text { font-size: 12px; margin: 4px 0 6px; }
  .photo-note { font-size: 10px; line-height: 1.3; margin: 4px 0; }
  #item-footer { padding: 2px 12px max(10px,env(safe-area-inset-bottom)); }
  #item-footer .primary { min-height: 44px; }
  .share-head { padding: 6px 14px 5px; }
  .share-head h2 { font-size: 19px; }
  .share-body { padding: 0 14px max(14px,env(safe-area-inset-bottom)); }
  .story-preview { width: min(160px,calc(30svh * 9 / 16)); min-height: 0; }
  .share-dish-name { font-size: 13px; line-height: 1.25; margin: 8px 0; }
  .share-actions { gap: 7px; }
  .share-actions button { gap: 5px; font-size: 11px; }
  .share-actions button > span { width: 44px; height: 44px; }
  .share-hint { font-size: 11px; margin-top: 10px; }
}
@media (max-width:620px) and (max-height:500px) {
  .menu-feed .feature { height: auto; }
  .menu-feed .feature-open, .menu-feed .feature[data-photo^="branding/"] .feature-open { flex: none; height: 180px; }
  .share-body { display: grid; grid-template-columns: 90px minmax(0,1fr); align-items: center; gap: 4px 12px; }
  .story-preview { grid-row: 1 / span 4; width: 90px; }
  .share-dish-name, .share-actions, .share-hint, .share-status { grid-column: 2; }
  .share-dish-name { margin: 0; }
  .share-hint { margin: 0; font-size: 10px; }
}
@media (prefers-reduced-motion:no-preference) {
  .social-like[aria-pressed="true"] .icon { animation: heart-pop .22s ease-out; }
  @keyframes heart-pop { 50% { transform: scale(1.18); } }
}

/* Nutrition stays one tap away; the food and order controls retain their space. */
:root { --paper: #faf7f0; --white: #fffefa; --line: #ded9cc; --image-bg: #efe4d0; }
:root[data-theme="dark"] { --paper: #151e19; --white: #232e27; --ink: #f5f0e5; --muted: #c4cdbf; --line: #46574a; --image-bg: #313b32; }
.theme-toggle { width: auto; min-width: 44px; padding: 0 12px; }
.theme-label { font-size: 12px; font-weight: 750; }
.theme-toggle[data-theme="light"] .theme-sun,
.theme-toggle[data-theme="dark"] .theme-moon { display: none; }
.category-strip { scrollbar-width: none; overscroll-behavior-inline: contain; }
.category-strip::-webkit-scrollbar { display: none; }
.category:hover:not([aria-pressed="true"]) { background: var(--hover-bg); }
.nutrition-entry { position: absolute; top: 8px; left: 8px; z-index: 1; display: inline-flex; justify-content: center; align-items: center; gap: 4px; min-height: 44px; max-width: calc(100% - 16px); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--pine); font-size: 11px; font-weight: 750; box-shadow: 0 2px 9px #00000016; }
.nutrition-entry .icon { width: 16px; height: 16px; }
.nutrition-entry:hover { background: var(--selected-bg); }
.nutrition-entry:focus-visible { outline-offset: 2px; }
.nutrition-entry-label { font-weight: 500; }
.nutrition-panel { margin: 12px 0 2px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow-wrap: anywhere; }
.nutrition-panel > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 12px; cursor: pointer; list-style: none; min-height: 60px; padding: 12px; color: var(--ink); font-weight: 800; font-size: 14px; }
.nutrition-panel > summary::-webkit-details-marker { display: none; }
.nutrition-panel > summary::after { content: '+'; margin-left: auto; font-size: 22px; color: var(--pine); }
.nutrition-panel[open] > summary::after { content: '−'; }
.nutrition-panel > summary:focus-visible { outline-offset: -4px; }
.nutrition-energy { display: block; width: 100%; color: var(--pine); font-size: 12px; font-weight: 650; order: 1; }
.nutrition-content { display: grid; gap: 14px; padding: 0 12px 14px; font-size: 13px; line-height: 1.5; }
.nutrition-content h3 { margin: 0 0 3px; font-size: 13px; font-weight: 800; color: var(--pine); }
.nutrition-content p { margin: 0; }
.nutrition-portion { color: var(--pine); font-weight: 650; }
.nutrition-origin { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.nutrition-note { border-top: 1px solid var(--line); padding-top: 10px; font-size: 11px; color: var(--muted); }
.nutrition-basis { font-size: 11px; color: var(--muted); }
.nutrition-basis summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nutrition-basis p { padding-top: 3px; }
.nutrition-sources { font-size: 11px; color: var(--muted); }
.nutrition-sources a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
:root[data-theme="dark"] .hero { background: #2d362c; color: var(--ink); }
:root[data-theme="dark"] .hero p,
:root[data-theme="dark"] .hero-price span { color: #d9d5c6; }
:root[data-theme="dark"] .hero .hero-dish,
:root[data-theme="dark"] .hero-cta { color: #f5f0e5; }
:root[data-theme="dark"] .hero-kicker,
:root[data-theme="dark"] .hero-kids { color: #e8c58c; }
:root[data-theme="dark"] .hero .hero-order { background: #f0c180; border-color: #f0c180; color: #302719; }
:root[data-theme="dark"] .hero .hero-order:hover { background: #ffdb9e; }
:root[data-theme="dark"] .hero :focus-visible { outline-color: #f0c180; }
@media (max-width:767px) {
  .theme-label { display: none; }
  .theme-toggle { width: 44px; padding: 0; }
}
@media (max-width:620px) {
  .featured .nutrition-entry { padding: 5px 7px; font-size: 10px; gap: 3px; }
  .featured .nutrition-entry-label { display: none; }
  .featured .nutrition-entry .icon { width: 14px; height: 14px; }
  .nutrition-content { font-size: 13px; }
  .menu-feed .nutrition-entry { max-width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: no-preference) {
  .category, .primary, .secondary, .social-like, .nutrition-entry { transition: background-color .16s ease, color .16s ease; }
}

/* Pasta photo optical tuning: preserve the existing serving illustrations. */
/* Gentle menu-only tonal lift; no dish substitution, crop, or added ingredients. */
img[src$="campaign/creamy-pasta.webp"] {
  filter: brightness(1.055) contrast(1.075) saturate(1.035);
}
img[src$="catalog/tavuklu-makarna.webp"] {
  filter: brightness(1.045) contrast(1.075) saturate(1.055);
}


/* Social discovery · 2026-11-10. Counts reflect this browser, never invented site-wide totals. */
.social-bookmark {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  padding: 0; background: transparent; color: var(--pine);
}
.social-bookmark:hover { background: var(--selected-bg); }
.social-bookmark[aria-pressed="true"] { color: var(--like-ink); }
.social-bookmark[aria-pressed="true"] .icon { fill: currentColor; }
.social-actions .social-like { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.social-actions .social-like b { font-size: 10px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1; }
.feed-hint {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; max-width: 580px; margin: 4px auto 10px; color: var(--muted);
  font-size: 12px; line-height: 1.4;
}
.feed-hint strong {
  flex: none; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 11px; font-variant-numeric: tabular-nums; color: var(--pine);
}
.menu-feed .feature { position: relative; }
.feed-heart-burst {
  position: absolute; z-index: 3; top: 26%; left: 50%;
  transform: translate(-50%,-50%); color: #fff; font-size: 98px; line-height: 1;
  text-shadow: 0 3px 18px rgb(121 19 50 / 55%);
  pointer-events: none; animation: feed-like-burst .65s ease-out both;
}
@keyframes feed-like-burst {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(.5); }
  35% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%,-65%) scale(1.3); }
}
@media (max-width:620px) {
  /* No page-wide snap: only the feed owns card navigation. */
  .menu-feed .feature { scroll-snap-align: start; }
  .menu-feed .social-feed { justify-content: space-between; }
  .menu-feed .social-feed .social-views { min-width: 48px; }
  .feed-hint { font-size: 11px; padding-inline: 3px; }
  .feed-hint strong { font-size: 10px; }
}
/* The card-level social rail now occupies the photo at all viewport heights. */
@media (prefers-reduced-motion:reduce) {
  .feed-heart-burst { animation: none; }
}

@media (max-width:380px) {
  .row-actions .social-like, .row-actions .social-bookmark { width: 36px; height: 40px; }
}

/* Social rail · branded, on-photo actions for both photo grid and swipe feed. */
.feature-media {
  position: relative; width: 100%; height: clamp(215px,18vw,270px);
  isolation: isolate; background: var(--image-bg);
}
.feature-media > .feature-open,
.menu-feed .feature-media > .feature-open,
.menu-feed .feature[data-photo^="branding/"] .feature-media > .feature-open {
  display: block; width: 100%; height: 100%; min-height: 0;
  flex: none; aspect-ratio: auto;
}
.feature-media > .feature-open img { width: 100%; height: 100%; }
.menu-feed .feature-media { height: auto; aspect-ratio: 4 / 3; }
.menu-feed .feature[data-photo^="branding/"] .feature-media { aspect-ratio: 1; }
.feature-media .nutrition-entry { z-index: 2; max-width: calc(100% - 74px); }
.feature-media .nutrition-entry span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.social-actions.social-rail {
  position: absolute; z-index: 3; top: 50%; right: 8px;
  transform: translateY(-50%); display: flex; flex-direction: column;
  align-items: center; justify-content: center; flex: none; gap: 2px;
  width: 56px; min-height: 0; margin: 0; padding: 5px 2px;
  border: 1px solid rgb(255 255 255 / 32%); border-radius: 25px;
  color: #fff; background: rgb(15 43 35 / 78%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgb(0 0 0 / 22%);
}
.social-rail .social-like, .social-rail .social-bookmark, .social-rail .social-share {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: none; gap: 1px; width: 48px; height: 44px; min-height: 44px;
  padding: 2px 0; border: 0; border-radius: 14px;
  background: transparent; color: #fff;
}
.social-rail .social-views {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  flex: none; gap: 1px; width: 48px; min-width: 0; min-height: 44px;
  padding: 2px 0; color: #fff; font-size: 11px; line-height: 1.1;
}
.social-rail .social-views .views-label { display: none; }
.social-rail .social-views .icon,
.social-rail .social-like .icon,
.social-rail .social-bookmark .icon,
.social-rail .social-share .icon { width: 21px; height: 21px; }
.social-rail .social-like b, .social-rail .social-views b {
  font-size: 11px; line-height: 1.1; color: inherit;
  font-weight: 800; font-variant-numeric: tabular-nums;
}
.social-rail .social-like[aria-pressed="true"] { color: #ff9bb4; }
.social-rail .social-bookmark[aria-pressed="true"] { color: #ffe1a4; }
.social-rail .social-like:hover,
.social-rail .social-bookmark:hover,
.social-rail .social-share:hover { background: rgb(255 255 255 / 16%); color: #fff; }
.social-rail .social-like[aria-pressed="true"]:hover { color: #ff9bb4; }
.social-rail .social-bookmark[aria-pressed="true"]:hover { color: #ffe1a4; }
.social-rail button:focus-visible {
  outline: 3px solid #ffe1a4; outline-offset: -2px;
}
.feature-media .feed-heart-burst { top: 50%; }
@media (max-width:620px) {
  .featured .feature-media { height: clamp(208px,60vw,256px); }
  .featured .feature-media .nutrition-entry {
    top: 6px; left: 6px; min-width: 36px; width: 36px; min-height: 36px;
    padding: 0; border-radius: 50%;
  }
  .featured .feature-media .nutrition-entry span { display: none; }
  .menu-feed .feature-media,
  .menu-feed .feature[data-photo^="branding/"] .feature-media {
    flex: 1; height: 0; min-height: 205px; aspect-ratio: auto;
  }
  .menu-feed .feature-media > .feature-open,
  .menu-feed .feature[data-photo^="branding/"] .feature-media > .feature-open {
    flex: none; height: 100%; min-height: 0; aspect-ratio: auto;
  }
  .menu-feed .feature-media > .feature-open img { object-fit: contain; }
  .social-actions.social-rail {
    top: 50%; right: 7px; width: 54px; gap: 1px; padding: 4px 2px;
  }
  .social-rail .social-like, .social-rail .social-bookmark,
  .social-rail .social-share, .social-rail .social-views { width: 46px; }
}
@media (max-width:620px) and (max-height:500px) {
  .menu-feed .feature { min-height: 335px; }
  .menu-feed .feature-media,
  .menu-feed .feature[data-photo^="branding/"] .feature-media { flex: none; height: 210px; min-height: 210px; }
}
@media (prefers-reduced-transparency:reduce) {
  .social-actions.social-rail { -webkit-backdrop-filter: none; backdrop-filter: none; background: #12372e; }
}

/* Full-height calm food feed · one intentional gesture per dish (mobile + desktop). */
.menu-feed {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 510px);
  height: clamp(520px, calc(100dvh - 140px), 860px);
  gap: 12px;
  margin-inline: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: y mandatory;
  scroll-padding: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu-feed::-webkit-scrollbar { display: none; }
.menu-feed:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 24px; }
.menu-feed > .feature {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.menu-feed .feature-media,
.menu-feed .feature[data-photo^="branding/"] .feature-media {
  position: relative;
  flex: 1 1 0px;
  width: 100%;
  height: 0;
  min-height: 0;
  aspect-ratio: auto;
  background: var(--image-bg);
}
.menu-feed .feature-media > .feature-open,
.menu-feed .feature[data-photo^="branding/"] .feature-media > .feature-open {
  display: block;
  flex: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.menu-feed .feature-media > .feature-open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.menu-feed .feature-info {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 15px 20px 17px;
  background: var(--white);
}
.menu-feed .item-open {
  min-height: 0;
  font-size: clamp(21px, 4vw, 26px);
  font-weight: 800;
  line-height: 1.18;
}
.menu-feed .dish-description {
  margin: 2px 0 4px;
  font-size: 13px;
  line-height: 1.35;
}
.menu-feed .feature-bottom {
  margin-top: 6px;
  min-height: 47px;
  align-items: center;
}
.menu-feed .feature-bottom .price { font-size: 23px; }
.menu-feed .feed-add { min-height: 46px; padding-inline: 18px; border-radius: 13px; font-weight: 750; }
.menu-feed .social-actions.social-rail { top: 50%; right: 12px; transform: translateY(-50%); }
.feed-hint { width: min(100%,510px); }
@media (max-width:620px) {
  .menu-feed {
    width: min(100%,460px);
    height: clamp(390px, calc(100svh - var(--menu-stack,164px) - var(--dock-space,0px) - 44px - env(safe-area-inset-bottom)), 800px);
    gap: 10px;
  }
  .menu-feed > .feature {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    height: 100%;
    min-height: 0;
    scroll-margin: 0;
    border-radius: 22px;
  }
  .menu-feed .feature-media,
  .menu-feed .feature[data-photo^="branding/"] .feature-media {
    flex: 1 1 0px;
    height: 0;
    min-height: 0;
    aspect-ratio: auto;
  }
  .menu-feed .feature-media > .feature-open,
  .menu-feed .feature[data-photo^="branding/"] .feature-media > .feature-open {
    flex: none;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
  .menu-feed .feature-info {
    padding: 13px 16px 14px;
    flex: none;
    gap: 4px;
  }
  .menu-feed .item-open { min-height: 0; font-size: clamp(20px, 5.2vw, 24px); line-height: 1.19; }
  .menu-feed .dish-description { margin: 0 0 2px; font-size: 12px; }
  .menu-feed .feature-bottom { margin-top: 2px; min-height: 46px; }
  .menu-feed .feature-bottom .price { font-size: 21px; }
  .menu-feed .social-actions.social-rail { top: 50%; right: 10px; transform: translateY(-50%); }
  .feed-hint { width: min(100%,460px); margin-block: 5px 9px; }
}
@media (max-width:620px) and (max-height:720px) {
  .menu-feed .feature-info { padding-block: 10px 11px; }
  .menu-feed .dish-description { display: none; }
  .menu-feed .feature-bottom { min-height: 44px; }
}
@media (max-width:620px) and (max-height:500px) {
  .menu-feed .feature { flex: 0 0 100%; height: 100%; min-height: 0; }
  .menu-feed .feature-media,
  .menu-feed .feature[data-photo^="branding/"] .feature-media {
    flex: 1 1 0px; height: 0; min-height: 0;
  }
}
@media (prefers-reduced-motion:reduce) {
  .menu-feed { scroll-behavior: auto; }
}

/* Clean social controls: no pill, glass, border or backdrop on food photos. */
.social-actions.social-rail,
.menu-feed .social-actions.social-rail {
  background: transparent;
  border: 0;
  border-top: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0;
  width: 52px;
  gap: 3px;
}
.social-rail .social-like,
.social-rail .social-bookmark,
.social-rail .social-share,
.social-rail .social-views { background: transparent; border: 0; }
.social-rail .social-like .icon,
.social-rail .social-bookmark .icon,
.social-rail .social-share .icon,
.social-rail .social-views .icon {
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 90%)) drop-shadow(0 0 5px rgb(0 0 0 / 55%));
}
.social-rail .social-like b,
.social-rail .social-views b {
  text-shadow: 0 1px 4px rgb(0 0 0 / 95%), 0 0 7px rgb(0 0 0 / 80%);
}
.social-rail .social-like:hover,
.social-rail .social-bookmark:hover,
.social-rail .social-share:hover { background: rgb(0 0 0 / 22%); border-radius: 50%; }
.social-rail button:focus-visible { background: rgb(0 0 0 / 40%); outline: 3px solid #ffe1a4; outline-offset: -2px; }
@media (prefers-reduced-transparency: reduce) {
  .social-actions.social-rail { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Full dish details readable before sharing, without crowding the action row. */
.share-dish-details {
  margin: 8px 0 14px;
  padding: 12px 14px;
  text-align: left;
  background: var(--selected-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  max-height: min(28svh,200px);
  overflow-y: auto;
  overflow-wrap: anywhere;
}
.share-dish-details p { margin: 0 0 8px; line-height: 1.43; font-size: 12px; }
.share-dish-details p:last-child { margin-bottom: 0; }
.share-dish-details .share-ingredients { font-weight: 650; }
.share-dish-details .share-disclaimer { font-size: 11px; color: var(--muted); }
.share-dish-details .share-cta { color: var(--pine); font-weight: 800; }
@media (max-height:680px) { .share-dish-details { max-height: 110px; } }
@media (max-width:620px) and (max-height:500px) {
  .share-body .share-dish-details { grid-column: 2; max-height: 105px; margin: 3px 0; }
}

/* Interactive "what's inside" ingredient diagram. All labels are sourced from
   the menu's qualified nutrition model; never depict the graphic as a real cut. */
.feature-media .inside-trigger {
  position: absolute; z-index: 4; bottom: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  min-height: 44px; max-width: calc(100% - 85px);
  padding: 8px 13px; color: #fffdf7; border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 999px; background: rgb(13 48 40 / 68%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 5px 20px rgb(0 0 0 / 22%);
  font-size: 12px; font-weight: 750; line-height: 1.1;
  cursor: pointer;
}
.feature-media .inside-trigger:hover { background: rgb(13 48 40 / 90%); }
.feature-media .inside-trigger:focus-visible,
.inside-close:focus-visible,.inside-full:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.inside-trigger svg { flex: none; }
.inside-detail-action { margin: 8px 0 4px; }
.inside-detail-action .inside-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; border: 1px solid var(--selected-border);
  border-radius: 999px; background: var(--selected-bg); color: var(--pine);
  font-size: 13px; font-weight: 750; padding: 9px 14px; cursor: pointer;
}
.inside-dialog {
  width: min(510px,100%); height: auto; max-height: min(95svh,880px);
  margin: auto; padding: 0; overflow: auto;
  border-radius: 24px; box-shadow: 0 18px 75px rgb(0 0 0 / 32%);
}
.inside-drawer { display: flex; flex-direction: column; width: 100%; }
.inside-head {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 17px 18px 13px;
}
.inside-head h2 { margin: 0; font: 800 clamp(17px,4vw,22px)/1.25 system-ui,sans-serif; }
.inside-close {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  background: var(--selected-bg); border: 0; border-radius: 50%;
  color: var(--pine); font-size: 26px; cursor: pointer;
}
.inside-stage {
  position: relative; overflow: hidden; isolation: isolate; height: clamp(280px,46svh,460px);
  background: #284d41; color: white;
}
.inside-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.inside-before-label,.inside-after-label {
  position: absolute; top: 13px; z-index: 2; max-width: 44%; padding: 5px 10px;
  background: rgb(8 38 31 / 72%); border-radius: 999px;
  font-size: 11px; font-weight: 750; line-height: 1.3; color: #fff;
}
.inside-before-label { left: 12px; }
.inside-after-label { right: 12px; background: rgb(244 197 113 / 94%); color: #173e34; }
.inside-reveal {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 80% 28%,#3d6951 0,#173c31 74%);
  clip-path: inset(0 0 0 var(--inside-split));
  pointer-events: none;
}
.inside-chips {
  position: absolute; top: 60px; right: 12px; bottom: 38px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: stretch; width: min(43%,190px); margin: 0; padding: 0;
  gap: 7px; list-style: none; overflow: hidden;
}
.inside-chips li {
  display: flex; align-items: center; gap: 7px; min-height: 36px;
  padding: 5px 8px; background: rgb(255 255 255 / 13%); border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 12px; font-size: 11px; font-weight: 650; line-height: 1.23;
  overflow-wrap: anywhere; color: #fff;
}
.inside-chip-number {
  display: grid; place-items: center; flex: none; width: 22px; height: 22px;
  border-radius: 50%; background: #efbb65; color: #173e34; font-weight: 800;
}
.inside-more { position: absolute; right: 18px; bottom: 12px; font-size: 10px; color: #f7e8ca; }
.inside-split-line {
  position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--inside-split);
  width: 3px; background: #fffefa; transform: translateX(-50%);
  box-shadow: 0 0 10px rgb(0 0 0 / 30%); pointer-events: none;
}
.inside-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  display: grid; place-items: center; width: 50px; height: 50px;
  background: #fffdfa; border: 3px solid #e4c68f; border-radius: 50%;
  box-shadow: 0 3px 15px rgb(0 0 0 / 32%); color: #183f35;
  font-size: 22px; font-weight: 800;
}
.inside-slider {
  position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-x;
}
.inside-stage:focus-within { outline: 3px solid var(--focus); outline-offset: -3px; }
.inside-content { display: grid; gap: 9px; padding: 18px 20px max(20px,env(safe-area-inset-bottom)); }
.inside-description { margin: 0; font-size: 14px; font-weight: 660; line-height: 1.5; }
.inside-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.inside-full {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  margin-top: 5px; padding: 12px 18px; color: #fff9ed; background: var(--pine);
  border: 0; border-radius: 13px; font-size: 14px; font-weight: 800;
  cursor: pointer;
}
@media (max-width:620px) {
  .featured .feature-media .inside-trigger {
    left: 6px; bottom: 6px; padding: 0; width: 44px; max-width: 44px;
  }
  .featured .feature-media .inside-trigger span { display: none; }
  .menu-feed .feature-media .inside-trigger { bottom: 10px; left: 10px; }
  .inside-dialog { margin: auto 0 0; max-width: 100%; max-height: 92svh; border-radius: 24px 24px 0 0; }
  .inside-stage { height: clamp(250px,43svh,430px); }
  .inside-content { padding: 13px 16px max(14px,env(safe-area-inset-bottom)); }
}
@media (max-height:580px) {
  .inside-dialog { max-height: 98svh; }
  .inside-stage { height: 240px; }
  .inside-chips { top: 42px; bottom: 12px; }
  .inside-chips li { min-height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .inside-reveal,.inside-split-line { transition: none; }
}
