@font-face {
  font-family: 'Moniqa Variable';
  src: url('./assets/fonts/moniqa-variable.ttf?v=20260828-v226-legal') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: block;
}

/* V228: standalone web pages. The retired bowl-builder document is not a layout layer. */
.standalone-web-page { min-height: 100dvh; background: var(--cream, #fbf8f2); }
.standalone-menu-main,
.standalone-screen-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 132px 0 120px; }
.standalone-menu-main .screen-intro,
.standalone-screen-main .screen-intro { margin-bottom: 30px; text-align: center; }
.profile-surface { width: min(720px, 100%); margin: 0 auto; padding: 28px; border: 1px solid rgba(84, 78, 65, .17); border-radius: 28px; background: rgba(255,255,255,.48); }
.profile-options { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-options label { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(84,78,65,.18); border-radius: 18px; }
.cart-screen { padding-bottom: 230px; }
.standalone-cart-dock { position: fixed; z-index: 40; right: 24px; bottom: 24px; width: min(440px, calc(100vw - 48px)); display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; padding: 18px; border: 1px solid rgba(84,78,65,.14); border-radius: 26px; background: rgba(251,248,242,.94); box-shadow: 0 18px 48px rgba(50,45,36,.15); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.standalone-cart-dock .cart-total { display: grid; align-content: center; gap: 4px; }
.cart-empty { min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; }
.cart-icon-action { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 16px; background: rgba(255,255,255,.7); color: var(--olive-deep); text-decoration: none; font-size: 23px; }
.cart-icon-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.standalone-web-page .native-tab-bar { display: none; }
@media (max-width: 760px) {
  .standalone-menu-main,
  .standalone-screen-main { width: min(100% - 32px, 620px); padding-top: 112px; padding-bottom: 150px; }
  .profile-surface { padding: 20px 16px; border-radius: 22px; }
  .standalone-web-page .native-tab-bar { display: flex; }
  .standalone-cart-dock { right: 0; bottom: calc(82px + env(safe-area-inset-bottom)); width: 100%; border-radius: 24px 24px 0 0; }
  .cart-screen { padding-bottom: 260px; }
}

/* V220 final desktop header type override; kept after all earlier desktop layers. */
@media (min-width: 1024px) {
  html:not(.is-native-app) .desktop-site-nav a {
    font-family: "Moniqa Variable", sans-serif;
    font-size: 19px;
    font-weight: 560;
    font-variation-settings: 'wght' 560, 'wdth' 90, 'opsz' 2;
    letter-spacing: .04em;
  }
}

/* V226 — shared legal footer, contacts and privacy pages. */
.site-legal-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 72px;
  color: #f7f3eb;
  background: #2f3526;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.site-legal-footer__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(420px, 1.25fr) minmax(240px, .6fr);
  gap: 40px;
  align-items: start;
  padding: 42px 0 46px;
}

.site-legal-footer__brand {
  color: inherit;
  font-family: var(--font-brand);
  font-size: 27px;
  font-variation-settings: 'wght' 600, 'wdth' 88, 'opsz' 2;
  letter-spacing: .05em;
  line-height: 1;
  text-decoration: none;
}

.site-legal-footer__details {
  display: grid;
  gap: 5px;
  margin: 0;
  color: rgba(247, 243, 235, .78);
  font-style: normal;
}

.site-legal-footer__links {
  display: grid;
  justify-items: start;
  gap: 1px;
}

.site-legal-footer__links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  color: #f7f3eb;
  text-underline-offset: 4px;
  text-decoration-color: rgba(247, 243, 235, .3);
}

.site-legal-footer__links a:hover { text-decoration-color: currentColor; }

/* V283 — web consent: equal choices, optional third-party services blocked by default. */
.cookie-consent-banner {
  position: fixed;
  z-index: 70;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(720px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 24px;
  padding: 26px;
  border: 1px solid rgba(83, 78, 65, .18);
  border-radius: var(--radius-card, 26px);
  corner-shape: squircle;
  color: var(--ink);
  background: rgba(251, 248, 242, .96);
  box-shadow: 0 22px 56px rgba(50, 45, 36, .18);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  backdrop-filter: blur(20px) saturate(1.08);
}
.cookie-consent-kicker { margin: 0 0 8px; color: var(--olive-deep); font: 560 18px/1 var(--font-brand); letter-spacing: .06em; }
.cookie-consent-banner h2,
.cookie-consent-dialog h2 { margin: 0; font: 620 38px/.95 var(--font-brand); font-variation-settings: 'wght' 620, 'wdth' 86, 'opsz' 2; }
.cookie-consent-banner__copy > p:last-child { max-width: 54ch; margin: 14px 0 0; font: 400 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }
.cookie-consent-banner a,
.cookie-consent-dialog a { color: inherit; text-underline-offset: 3px; }
.cookie-consent-banner__actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cookie-consent-banner button,
.cookie-consent-dialog button {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(83, 78, 65, .24);
  border-radius: var(--radius-control, 14px);
  color: var(--ink);
  background: #fff;
  font: 560 19px/1 var(--font-brand);
  letter-spacing: .02em;
  cursor: pointer;
}
.cookie-consent-banner button[data-cookie-choice="all"],
.cookie-consent-dialog button[data-cookie-save] { color: #fff; border-color: var(--olive-deep); background: var(--olive-deep); }
.cookie-consent-banner button:hover,
.cookie-consent-dialog button:hover { filter: brightness(.97); }
.cookie-consent-banner button:active,
.cookie-consent-dialog button:active { transform: translateY(1px); }
.cookie-consent-banner :is(a, button):focus-visible,
.cookie-consent-dialog :is(a, button, input):focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.cookie-consent-dialog {
  width: min(680px, calc(100% - 40px));
  max-height: min(820px, calc(100dvh - 40px));
  padding: 0;
  border: 1px solid rgba(83, 78, 65, .18);
  border-radius: var(--radius-card, 26px);
  corner-shape: squircle;
  color: var(--ink);
  background: #fbf8f2;
  box-shadow: 0 28px 70px rgba(31, 29, 24, .28);
}
.cookie-consent-dialog::backdrop { background: rgba(27, 28, 24, .42); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.cookie-consent-dialog > form { padding: 28px; overflow: auto; }
.cookie-consent-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.cookie-consent-dialog .cookie-consent-close { width: 48px; height: 48px; min-width: 48px; padding: 0; display: grid; place-items: center; border-radius: 50%; }
.cookie-consent-dialog .cookie-consent-close svg { width: 22px; height: 22px; }
.cookie-consent-dialog__lead { max-width: 62ch; margin: 18px 0 24px; color: var(--muted); font: 400 15px/1.5 system-ui, sans-serif; }
.cookie-consent-options { display: grid; border-top: 1px solid var(--line); }
.cookie-consent-options label { min-height: 78px; display: grid; grid-template-columns: minmax(0, 1fr) 52px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie-consent-options label:first-child { cursor: default; }
.cookie-consent-options strong { display: block; font: 560 20px/1 var(--font-brand); letter-spacing: .03em; }
.cookie-consent-options small { display: block; margin-top: 6px; color: var(--muted); font: 400 14px/1.35 system-ui, sans-serif; }
.cookie-consent-options input { width: 48px; height: 28px; margin: 0; accent-color: var(--olive-deep); cursor: pointer; }
.cookie-consent-options input:disabled { cursor: default; opacity: .65; }
.cookie-consent-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cookie-consent-policy { min-height: 44px; display: inline-flex; align-items: center; margin-top: 8px; font: 560 17px/1 var(--font-brand); }
.cookie-external-placeholder { height: 100%; min-height: 320px; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; background: #eee7da; }
.cookie-external-placeholder[hidden],
iframe[data-cookie-category][hidden] { display: none !important; }
.cookie-external-placeholder span { color: var(--muted); font: 560 22px/1.1 var(--font-brand); letter-spacing: .04em; }
.cookie-external-placeholder button { min-height: 48px; padding: 10px 18px; border: 0; border-radius: var(--radius-control, 14px); color: #fff; background: var(--olive-deep); font: 560 20px/1 var(--font-brand); cursor: pointer; }
html.is-native-app:not(.is-mobile-web) :is(.cookie-consent-banner, .cookie-consent-dialog, .cookie-external-placeholder) { display: none !important; }

@media (max-width: 900px) {
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
  }
  .cookie-consent-banner h2,
  .cookie-consent-dialog h2 { font-size: 32px; }
  .cookie-consent-banner__actions { grid-template-columns: 1fr 1fr; }
  .cookie-consent-banner__actions button:last-child { grid-column: 1 / -1; }
  .cookie-consent-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .cookie-consent-dialog > form { padding: 20px; }
  .cookie-consent-dialog__actions { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .cookie-consent-banner__actions { grid-template-columns: 1fr; }
  .cookie-consent-banner__actions button:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner button:active,
  .cookie-consent-dialog button:active { transform: none; }
  .cookie-consent-dialog::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.legal-page {
  min-height: 100dvh;
  color: var(--ink);
  background: #fbf8f2;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.legal-site-header { background: rgba(251, 248, 242, .94); }

.legal-doc {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 0;
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--olive-deep);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.legal-back span { font-size: 22px; font-weight: 400; }

.legal-intro {
  max-width: 880px;
  padding: 52px 0 58px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--olive-deep);
  font-family: var(--font-brand);
  font-size: 16px;
  font-variation-settings: 'wght' 650, 'wdth' 90, 'opsz' 2;
  letter-spacing: .08em;
  line-height: 1;
}

.legal-doc .legal-intro h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(54px, 7vw, 94px);
  font-variation-settings: 'wght' 620, 'wdth' 82, 'opsz' 2;
  letter-spacing: .01em;
  line-height: .9;
}

.legal-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.45;
}

.legal-content {
  width: min(760px, 100%);
  display: grid;
  gap: 0;
}

.legal-content section {
  padding: 32px 0 34px;
  border-top: 1px solid var(--line);
}

.legal-doc h2,
.legal-contact-card h2,
.legal-map h2 {
  margin: 0 0 14px;
  font-family: var(--font-brand);
  font-size: clamp(30px, 3.5vw, 44px);
  font-variation-settings: 'wght' 620, 'wdth' 86, 'opsz' 2;
  letter-spacing: .01em;
  line-height: .96;
}

.legal-doc p,
.legal-contact-card address,
.legal-map p,
.legal-document-link p {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

.legal-doc a { color: var(--olive-deep); text-underline-offset: 4px; }
.legal-updated { padding: 34px 0 64px; border-top: 1px solid var(--line); }

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-contact-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #f5efe5;
}

.legal-contact-card--accent { background: #e9ebd9; }
.legal-contact-card address { display: grid; gap: 8px; margin-top: 28px; font-style: normal; }
.legal-contact-card address a { width: fit-content; }

.legal-requisites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.legal-requisites div {
  position: relative;
  min-width: 0;
  padding: 13px 14px;
  padding-right: 62px;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, .5);
}

.legal-requisites dt {
  color: var(--olive-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.legal-requisites dd { margin: 3px 0 0; font-size: 15px; font-weight: 650; }

.legal-requisite-copy {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  translate: 0 -50%;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--olive-deep);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.legal-requisite-copy svg {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 160ms ease, scale 160ms ease;
}

.legal-requisite-copy .copy-check { opacity: 0; scale: .72; }
.legal-requisite-copy.is-copied .copy-icon { opacity: 0; scale: .72; }
.legal-requisite-copy.is-copied .copy-check { opacity: 1; scale: 1; }

@media (hover: hover) {
  .legal-requisite-copy:hover { background: rgba(77, 103, 54, .1); }
}

.legal-requisite-copy:active { background: rgba(77, 103, 54, .16); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.legal-map {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #ebe2d4;
}

.legal-map__copy { padding: 38px; align-self: center; }
.legal-map__link {
  min-height: 48px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: var(--radius-control);
  color: #fff !important;
  background: var(--olive);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.legal-map__frame { min-height: 480px; background: #d8d8cf; }
.legal-map__frame iframe { width: 100%; height: 100%; min-height: 480px; display: block; border: 0; }

.legal-document-link {
  margin: 20px 0 0;
  padding: 28px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.legal-document-link p { margin: 0; }
.legal-document-link a { flex: none; font-weight: 650; }

@media (max-width: 900px) {
  .site-legal-footer { display: none !important; }
  body.has-legal-footer > .site-legal-footer {
    display: block !important;
    margin-top: 0;
    font-size: 12px;
  }
  .site-legal-footer__inner {
    width: min(100% - 32px, 620px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0 calc(112px + env(safe-area-inset-bottom));
  }
  body.has-legal-footer > .site-legal-footer .site-legal-footer__brand { font-size: 22px; }
  body.has-legal-footer > .site-legal-footer .site-legal-footer__details { gap: 3px; }
  body.profile-page > .site-legal-footer .site-legal-footer__inner { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .legal-page .site-legal-footer__inner { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
  .site-legal-footer__links { gap: 0; }
  .site-legal-footer__links a { min-height: 44px; }

  .legal-site-header { height: calc(64px + env(safe-area-inset-top)); }
  .legal-site-header .brand-link { width: 190px; height: 52px; }
  .legal-site-header .brand-link img { width: 164px; }
  .legal-site-header .header-actions { display: none; }
  .legal-doc { width: min(100% - 32px, 720px); padding-top: calc(88px + env(safe-area-inset-top)); }
  .legal-intro { padding: 34px 0 42px; }
  .legal-doc .legal-intro h1 { font-size: clamp(46px, 13vw, 68px); }
  .legal-contact-grid, .legal-map { grid-template-columns: 1fr; }
  .legal-contact-card { min-height: 0; padding: 26px 22px; }
  .legal-requisites { grid-template-columns: 1fr; }
  .legal-requisites div {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }
  .legal-requisites dd { margin-top: 0; overflow-wrap: anywhere; }
  .legal-map__copy { padding: 28px 22px; }
  .legal-map__frame, .legal-map__frame iframe { min-height: 380px; }
  .legal-document-link { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-map__link { transition: none; }
}

/* V92 — BOWLIT Home storefront. */
.home-body { background: var(--paper); }
.home-page { --home-section-gap: 32px; --home-card-gap: 16px; width: min(100%, 760px); margin: 0 auto; padding: 16px 16px 72px; }
.home-hero { position: relative; height: min(65dvh, 620px); min-height: 440px; overflow: hidden; border-radius: 28px; background: #d9cfbd; box-shadow: var(--shadow); touch-action: pan-y; }
.home-slides, .home-slide { position: absolute; inset: 0; }
.home-slide { visibility: hidden; transform: translate3d(100%, 0, 0); transition: transform .30s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.home-slide.is-active, .home-slide.is-entering-left, .home-slide.is-entering-right, .home-slide.is-exiting-left, .home-slide.is-exiting-right { visibility: visible; }
.home-slide.is-active { transform: translate3d(0, 0, 0); }
.home-slide.is-entering-left, .home-slide.is-exiting-left { transform: translate3d(-100%, 0, 0); }
.home-slide.is-entering-right, .home-slide.is-exiting-right { transform: translate3d(100%, 0, 0); }
.home-slide:first-child { background: #d9cfbd url('./assets/videos/home/home-builder-poster.jpg') center / cover no-repeat; }
.home-slide > img, .home-slide > video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.home-slide > video { opacity: 0; }
.home-slide > video.is-ready { opacity: 1; }
.home-slide-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 14, .04) 25%, rgba(20, 19, 14, .82) 100%); }
.home-slide-copy { position: absolute; z-index: 2; right: 24px; bottom: 28px; left: 24px; color: #fffdf8; }
.home-slide-copy p, .home-kicker { margin: 0; color: var(--olive-deep); font-family: var(--font-brand); font-size: 17px; font-variation-settings: 'wght' 650, 'wdth' 90; letter-spacing: .08em; }
.home-slide-copy p { color: #dce7cc; }
.home-slide-copy h1, .home-slide-copy h2 { max-width: 560px; margin: 6px 0 8px; color: inherit; font-family: var(--font-brand); font-size: clamp(42px, 11vw, 68px); font-variation-settings: 'wght' 650, 'wdth' 82; line-height: .94; }
.home-slide-copy span { display: block; max-width: 480px; margin-bottom: 18px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.35; }
html.is-native-app .home-slide-copy, html.is-native-app .home-slide-count { opacity: 0; }
.home-primary { min-height: 48px; width: fit-content; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 14px; color: #fff; background: var(--olive); font-family: var(--font-brand); font-size: 23px; font-variation-settings: 'wght' 650, 'wdth' 88; text-decoration: none; transition: transform .12s ease, background .18s ease; }
.home-primary:active, .home-direction:active, .home-promo:active { transform: scale(.98); }
.home-section { padding-top: var(--home-section-gap); }
.home-section > h2 { margin: 8px 0 16px; font-family: var(--font-brand); font-size: clamp(38px, 9vw, 56px); font-variation-settings: 'wght' 650, 'wdth' 84; line-height: 1; }
.home-direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--home-card-gap); }
.home-direction { position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 24px; color: var(--ink); background: var(--pistachio); text-decoration: none; overflow: visible; transition: transform .12s ease; }
.home-direction--menu { background: #eadbc6; }
.home-direction > span { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(65, 55, 42, .12); border-radius: 50%; background: rgba(251, 248, 242, .78); font-size: 25px; line-height: 1; }
.home-direction__art { position: absolute; top: 0; left: 50%; width: 98%; height: 146px; object-fit: contain; transform: translate3d(-50%, var(--tile-parallax-y, 4px), 0); will-change: transform; pointer-events: none; }
.home-direction--menu .home-direction__art { width: 102%; height: 126px; }
.home-direction strong { position: relative; z-index: 1; font-family: var(--font-brand); font-size: 30px; font-variation-settings: 'wght' 650, 'wdth' 86; line-height: 1; }
.home-direction small { position: relative; z-index: 1; margin-top: 7px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 13px; white-space: nowrap; }
.home-bowl-day { min-height: 248px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: 24px; background: #f0eadf; box-shadow: 0 14px 36px rgba(73, 58, 40, .09); }
.home-bowl-day-media { min-height: 248px; overflow: hidden; }
.home-bowl-day-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-bowl-day-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px; }
.home-bowl-day-copy p { margin: 0; color: var(--olive-deep); font-family: var(--font-brand); font-size: 15px; letter-spacing: .07em; }
.home-bowl-day-copy a { color: inherit; text-decoration: none; }
.home-bowl-day-copy h3 { margin: 5px 0 7px; font-family: var(--font-brand); font-size: 32px; font-variation-settings: 'wght' 650, 'wdth' 84; line-height: 1; }
.home-bowl-day-copy span { color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.35; }
.home-bowl-day-copy strong { margin-top: 10px; color: var(--olive-deep); font-size: 18px; }
.home-bowl-day-copy button { width: 100%; min-height: 44px; margin-top: 12px; padding: 0 12px; border: 0; border-radius: 12px; color: #fff; background: var(--olive); font-family: var(--font-brand); font-size: 18px; font-variation-settings: 'wght' 650, 'wdth' 88; line-height: 1; }
.home-promos { display: grid; gap: var(--home-card-gap); }
.home-promo { position: relative; min-height: 170px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px; overflow: hidden; border: 0; border-radius: 24px; text-align: left; color: var(--ink); background: #e9dfcf; transition: transform .12s ease; }
.home-promo small { color: var(--olive-deep); font-family: var(--font-brand); font-size: 15px; letter-spacing: .07em; }
.home-promo strong { max-width: 420px; margin: 7px 0; font-family: var(--font-brand); font-size: 34px; font-variation-settings: 'wght' 650, 'wdth' 84; line-height: 1; }
.home-promo em { max-width: 420px; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; font-style: normal; }
.home-promo--picker { min-height: 250px; color: #fff; background: var(--olive); }
.home-promo--picker span { position: relative; z-index: 2; width: 58%; display: flex; flex-direction: column; }
.home-promo--picker small, .home-promo--picker em { color: #f3f6eb; }
.home-promo--picker img { position: absolute; right: -8%; bottom: -28%; width: 68%; height: 160%; object-fit: contain; object-position: bottom right; transform: translate3d(0, var(--mascot-parallax-y, 0), 0) scaleX(-1); transform-origin: center; will-change: transform; }
.home-promo--profile { background: var(--pistachio); }
.home-promo--group { min-height: 190px; margin-top: 0; padding-right: 44%; overflow: visible; color: #fff; background: #6f5945; }
.home-promo--group small, .home-promo--group em { color: #f2e9dd; }
.home-promo--group .home-promo__copy { position: relative; z-index: 2; width: 62%; display: flex; flex-direction: column; align-items: flex-start; }
.home-promo__character { position: absolute; z-index: 1; top: -70px; right: 0; bottom: 0; left: 0; overflow: hidden; border-radius: 0 0 24px 24px; pointer-events: none; }
.home-promo__character img { position: absolute; right: -2%; bottom: -12px; width: 78%; height: auto; transform: translate3d(0, var(--mascot-parallax-y, 0), 0); will-change: transform; }
.home-web-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.builder-mascot { display: none; }

@media (max-width: 900px) {
  .home-page { padding: 12px 14px 42px; }
  html.is-native-app .home-page { width: 100%; padding-top: 12px; background: var(--paper); }
  html.is-native-app .home-hero { height: min(64dvh, 560px); min-height: 430px; }
}

html.is-native-app,
html.is-native-app body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
  touch-action: manipulation;
}

@media (max-width: 370px) {
  .home-direction-grid { grid-template-columns: 1fr; }
  .home-direction { min-height: 200px; }
  .home-bowl-day-copy { padding: 15px; }
  .home-bowl-day-copy h3 { font-size: 27px; }
  .home-promo--picker span { width: 64%; }
  .home-promo--group { padding-left: 20px; padding-right: 42%; }
  .home-promo--group .home-promo__copy { width: 68%; }
  .home-promo__character img { right: -5%; width: 82%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-slide, .home-primary, .home-direction, .home-promo { transition: none; }
  html.is-native-app .home-slide-copy, html.is-native-app .home-slide-count { opacity: 1; }
  .home-direction__art { transform: translate3d(-50%, 0, 0); transition: none; }
  .home-promo--picker img { transform: scaleX(-1); }
  .home-promo__character img { transform: none; }
}

:root {
  --font-brand: 'Moniqa Variable', Arial, sans-serif;
  --font-display: var(--font-brand);
  --milk: #f6f1e8;
  --paper: #fbf8f2;
  --ink: #181713;
  --muted: #706b61;
  --olive: #7e9458;
  --olive-deep: #637847;
  --pistachio: #dce7cc;
  --share-ink: #164e63;
  --share-soft: #e8f1f6;
  --share-soft-strong: #d9eaf1;
  --share-line: #9fc6d4;
  --line: rgba(65, 55, 42, .12);
  --shadow: 0 24px 70px rgba(83, 66, 43, .13);
  --scrollbar-thumb: rgba(99, 120, 71, .52);
  --scrollbar-thumb-hover: rgba(83, 102, 59, .78);
  --scrollbar-track: rgba(226, 216, 201, .42);
  --radius-compact: 14px;
  --radius-control: 18px;
  --radius-card: 20px;
  --radius-panel: 24px;
  --radius-hero: 28px;
  --radius-pill: 999px;
  --app-header-h: 76px;
  --app-bottom-gap: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }

.launch-video {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #f8f1e5;
  opacity: 1;
  transition: opacity .2s ease;
}
.launch-video[hidden] { display: none; }
.launch-video.is-finished { opacity: 0; pointer-events: none; }
.launch-video video { width: 100%; height: 100%; display: block; object-fit: cover; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #f6f1e8;
  overscroll-behavior-y: none;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--scrollbar-thumb);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  background-clip: padding-box;
}
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.mobile-menu-panel,
.catalog-filter-overlay,
.catalog-filter-overlay-list,
.main-menu-catalog {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
  scrollbar-gutter: stable;
}
.mobile-menu-panel::-webkit-scrollbar,
.catalog-filter-overlay::-webkit-scrollbar,
.catalog-filter-overlay-list::-webkit-scrollbar,
.main-menu-catalog::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.mobile-menu-panel::-webkit-scrollbar-track,
.catalog-filter-overlay::-webkit-scrollbar-track,
.catalog-filter-overlay-list::-webkit-scrollbar-track,
.main-menu-catalog::-webkit-scrollbar-track {
  background: transparent;
}
.mobile-menu-panel::-webkit-scrollbar-thumb,
.catalog-filter-overlay::-webkit-scrollbar-thumb,
.catalog-filter-overlay-list::-webkit-scrollbar-thumb,
.main-menu-catalog::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--scrollbar-thumb);
  background-clip: padding-box;
}
.mobile-menu-panel::-webkit-scrollbar-thumb:hover,
.catalog-filter-overlay::-webkit-scrollbar-thumb:hover,
.catalog-filter-overlay-list::-webkit-scrollbar-thumb:hover,
.main-menu-catalog::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  background-clip: padding-box;
}
.mobile-menu-panel::-webkit-scrollbar-button,
.catalog-filter-overlay::-webkit-scrollbar-button,
.catalog-filter-overlay-list::-webkit-scrollbar-button,
.main-menu-catalog::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 22%, rgba(194, 173, 139, .12), transparent 26%),
    linear-gradient(135deg, #f8f3eb 0%, #f4eee4 100%);
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 400;
  font-stretch: 100%;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; font-family: var(--font-brand); }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(99, 120, 71, .42);
  outline-offset: 3px;
}
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed; left: 16px; top: 10px; z-index: 100;
  padding: 10px 14px; color: white; background: var(--ink); border-radius: 10px;
  transform: translateY(-160%); transition: transform .2s;
}
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link:focus { transform: translateY(0); }
.page-shell { min-height: 100vh; min-height: 100dvh; background-color: var(--milk); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: calc(var(--app-header-h) + env(safe-area-inset-top)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(24px, 3.2vw, 64px);
  padding-top: env(safe-area-inset-top);
  pointer-events: none;
  background: rgba(248, 243, 235, .94);
  border-bottom: 1px solid rgba(65, 55, 42, .08);
  backdrop-filter: blur(14px);
}
.brand-link, .header-actions, .mobile-menu { pointer-events: auto; }
.brand-link {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: clamp(218px, 12vw, 252px);
  height: 56px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  color: #111;
}
.brand-link img { display: block; width: clamp(180px, 11vw, 220px); height: auto; pointer-events: none; }
.brand-version {
  position: absolute;
  right: -4px;
  bottom: 13px;
  font: 400 10px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .02em;
  color: rgba(65, 55, 42, .42);
  pointer-events: none;
}
.header-actions { position: relative; z-index: 2; grid-column: 3; display: flex; justify-content: flex-end; align-items: center; gap: 22px; pointer-events: none; }
.header-actions > * { pointer-events: auto; }
.location-button {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: transparent;
  color: #837666; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.location-button:hover span { text-decoration: underline; text-underline-offset: 3px; }
.menu-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(251, 248, 242, .58);
  text-decoration: none;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 540;
  font-variation-settings: 'wght' 540, 'wdth' 92, 'opsz' 2;
}
.menu-link:hover { background: var(--pistachio); border-color: rgba(99, 120, 71, .3); }
.location-button, .price-card > span, .price-card small, .price-card p, .intro-copy > p, .breakdown-link,
.section-heading p, .ingredient-copy small, .favorite-link, .summary-list, .mobile-panel-heading p, .mobile-total span {
  font-weight: 350;
  font-variation-settings: 'wght' 350, 'wdth' 100, 'opsz' 2;
}
.location-button svg { width: 20px; height: 20px; }
.icon-button {
  position: relative; width: 44px; height: 44px; padding: 9px; border: 0; background: transparent; cursor: pointer;
}
.icon-button svg { width: 100%; height: 100%; }
.cart-count {
  position: absolute; right: 1px; top: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 99px; color: white; background: var(--olive); font-size: 11px; font-weight: 700;
}
.mobile-menu, .mobile-menu-panel, .header-compact, .catalog-filter-fab, .catalog-filter-overlay { display: none; }

.builder-page {
  min-height: 100vh; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%);
}
.showcase { position: relative; min-width: 0; min-height: 100vh; overflow: hidden; }
.showcase::before {
  content: ''; position: absolute; width: 38vw; height: 38vw; max-width: 680px; max-height: 680px;
  left: -8vw; top: 17vh; border-radius: 50%; background: rgba(204, 188, 163, .16); filter: blur(30px);
}
.price-card {
  position: absolute; z-index: 6; top: 9vh; left: clamp(22px, 2.4vw, 46px); width: 134px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 17px; background: rgba(251, 248, 242, .56);
  backdrop-filter: blur(8px); color: #796e60;
}
.price-card > span { font-size: 13px; }
.price-card strong {
  display: block; margin-top: 4px; color: var(--ink); font-family: var(--font-display); font-size: 34px; line-height: .92; font-weight: 520;
  font-variation-settings: 'wght' 520, 'wdth' 96, 'opsz' 2;
}
.price-card small { display: block; margin-top: 7px; font-size: 16px; }
.price-card i { display: block; height: 1px; margin: 17px 0 12px; background: var(--line); }
.price-card p { margin: 0; font-size: 14px; line-height: 1.34; color: #718353; }
.leaf { display: block; font-size: 22px; line-height: 1; transform: rotate(-35deg); transform-origin: left center; }

.bowl-stage { position: absolute; inset: 10vh 0 6vh -2vw; }
.bowl-wrap {
  position: absolute; z-index: 3; width: min(38vw, 690px); aspect-ratio: 1; left: 3vw; top: 3vh;
  border-radius: 50%; filter: drop-shadow(0 28px 26px rgba(69, 52, 31, .16));
}
.bowl-photo, .bowl-video { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.bowl-video { background: #eee7da; }
.intro-copy {
  position: absolute; z-index: 7; left: auto; right: clamp(18px, 2vw, 38px); top: 12vh; width: 224px; padding: 18px 19px;
  border: 1px solid var(--line); border-radius: 17px; background: rgba(251, 248, 242, .68);
  box-shadow: 0 14px 34px rgba(83, 66, 43, .08); backdrop-filter: blur(10px);
}
.eyebrow {
  margin: 0 0 9px; color: var(--olive-deep); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em;
  font-variation-settings: 'wght' 650, 'wdth' 90, 'opsz' 2;
}
.intro-copy h1 {
  margin: 0 0 11px; font-family: var(--font-display); font-size: clamp(34px, 2.7vw, 52px); line-height: .9; font-weight: 560;
  font-variation-settings: 'wght' 560, 'wdth' 91, 'opsz' 2; letter-spacing: .005em; text-transform: uppercase;
}
.intro-copy > p:not(.eyebrow):not(.price-formula) { margin: 0; color: #36332e; font-size: 16px; line-height: 1.35; }
.price-formula {
  margin: 11px 0 0; color: var(--olive-deep); font-size: 14px; line-height: 1.25; font-weight: 520;
  font-variation-settings: 'wght' 520, 'wdth' 94, 'opsz' 2;
}
.breakdown-link {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; margin: 3px 0 -10px; padding: 10px 0; border: 0; color: var(--muted); background: none;
  font-size: 14px; border-bottom: 1px solid rgba(65,55,42,.24); cursor: pointer;
}
.breakdown-link svg { width: 15px; height: 15px; }
.price-popover {
  position: absolute; z-index: 12; left: 0; top: calc(100% + 10px); width: 235px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(251,248,242,.96); box-shadow: var(--shadow);
}
.price-popover p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 4px 0; color: var(--muted); font-size: 14px; }
.price-popover strong { color: var(--ink); white-space: nowrap; }
.price-popover .popover-total { margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--ink); }

.builder-panel {
  min-width: 0; height: 100vh; padding: 86px clamp(24px, 2.7vw, 52px) 20px clamp(26px, 3vw, 58px);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.desktop-builder { display: block; min-height: 0; }
.desktop-category-tabs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; padding: 7px;
  border: 1px solid var(--line); border-radius: 22px; background: rgba(251,248,242,.72);
  box-shadow: 0 12px 34px rgba(72,57,38,.07);
}
.desktop-category-tab {
  position: relative; min-width: 0; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 8px; border: 0; border-radius: 17px; color: #746d62; background: transparent; cursor: pointer;
  transition: color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.desktop-category-tab:hover { color: var(--ink); transform: translateY(-2px); }
.desktop-category-tab.is-active { color: #334024; background: var(--pistachio); box-shadow: inset 0 0 0 1px rgba(100,122,70,.1); }
.desktop-category-tab strong {
  max-width: 100%; font-size: 32px; line-height: .9; font-weight: 600; text-align: center; text-transform: uppercase; white-space: nowrap;
  font-variation-settings: 'wght' 600, 'wdth' 75, 'opsz' 2;
}
.desktop-category-tab small {
  max-width: 100%; color: inherit; font-size: 17px; font-weight: 350; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-variation-settings: 'wght' 350, 'wdth' 92, 'opsz' 2;
}
.category-indicator {
  width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid rgba(99, 120, 71, .28); border-radius: 50%; color: #7f7669; background: rgba(255, 255, 255, .55);
  font-size: 11px; line-height: 1; font-weight: 650; transition: color .2s, background-color .2s, border-color .2s, transform .2s;
  font-variation-settings: 'wght' 650, 'wdth' 94, 'opsz' 2;
}
.category-indicator svg { width: 14px; height: 14px; stroke-width: 2.8; }
.category-indicator.has-selection { color: white; border-color: var(--olive); background: var(--olive); }
.category-indicator.is-count { font-size: 12px; }
.desktop-category-tab .category-indicator { position: absolute; right: 8px; top: 8px; }
.desktop-category-tab:hover .category-indicator { transform: scale(1.06); }
.desktop-category-panel { margin-top: 20px; animation: desktop-panel-in .22s ease both; }
.desktop-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.desktop-panel-heading > div { display: flex; align-items: center; gap: 10px; }
.desktop-panel-heading h2 {
  margin: 0; font-size: 27px; line-height: 1; font-weight: 620;
  font-variation-settings: 'wght' 620, 'wdth' 94, 'opsz' 2;
}
.desktop-panel-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.ingredient-grid.desktop-active-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; align-content: start; }
.desktop-builder .ingredient-card { min-height: 96px; padding: 12px 40px 12px 12px; border-radius: 20px; }
.desktop-builder .ingredient-thumb { width: 74px; height: 74px; border-width: 3px; }
@media (min-width: 901px) {
  .desktop-builder .ingredient-thumb:not(.ingredient-thumb-empty) {
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .desktop-builder .ingredient-thumb:not(.ingredient-thumb-empty) img {
    object-fit: contain;
    transform: scale(1.16);
  }
}
.desktop-builder .ingredient-copy strong { font-size: 19px; }
.desktop-builder .ingredient-copy small { font-size: 14px; }
@keyframes desktop-panel-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.ingredient-section { min-width: 0; }
.section-heading { min-height: 25px; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.section-heading h2 {
  margin: 0; font-size: 18px; line-height: 1; font-weight: 620;
  font-variation-settings: 'wght' 620, 'wdth' 94, 'opsz' 2;
}
.section-heading p { margin: 1px 0 0 7px; color: #8d877d; font-size: 13px; white-space: nowrap; }
.category-icon { width: 22px; color: #847665; font-size: 21px; line-height: 1; text-align: center; }
.ingredient-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; }
.category-protein { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.category-toppings { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category-sauce, .category-crunch { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ingredient-card {
  position: relative; min-width: 0; min-height: 72px; display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 9px 38px 9px 10px; border: 1px solid var(--line); border-radius: 17px; background: rgba(251,248,242,.72);
  text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.ingredient-card.compact { min-height: clamp(49px, 5.7vh, 61px); gap: 7px; padding: 5px 22px 5px 6px; border-radius: 14px; }
.ingredient-card:hover { transform: translateY(-2px); border-color: rgba(99,120,71,.28); box-shadow: 0 8px 20px rgba(72,57,38,.08); }
.ingredient-card.is-selected { background: linear-gradient(135deg, #e2ecd6 0%, #d6e4c6 100%); border-color: rgba(110,134,73,.14); }
.ingredient-thumb {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; border: 3px solid rgba(255,255,255,.72);
  overflow: hidden; background-color: white;
  box-shadow: 0 3px 8px rgba(60,45,27,.15);
}
.ingredient-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ingredient-thumb-empty {
  display: grid; place-items: center; color: var(--olive-deep); background-image: none;
  background-color: rgba(244, 241, 233, .96);
}
.ingredient-thumb-empty svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ingredient-card-empty:not(.is-selected) { border-style: dashed; }
.compact .ingredient-thumb { width: clamp(41px, 5vh, 52px); height: clamp(41px, 5vh, 52px); border-width: 2px; }
.ingredient-copy { display: block; min-width: 0; }
.ingredient-copy strong {
  display: block; font-size: 17px; line-height: 1.08; font-weight: 560; overflow-wrap: anywhere;
  font-variation-settings: 'wght' 560, 'wdth' 97, 'opsz' 2;
}
.compact .ingredient-copy strong { font-size: clamp(12px, .9vw, 15px); font-weight: 450; }
.ingredient-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.check {
  position: absolute; right: 8px; top: 8px; width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; color: white; background: var(--olive); opacity: 0; transform: scale(.65); transition: opacity .18s, transform .18s;
}
.check svg { width: 14px; height: 14px; stroke-width: 2.5; }
.ingredient-card.is-selected .check { opacity: 1; transform: scale(1); }
.mobile-builder { display: none; }
.desktop-order-row { display: grid; grid-template-columns: minmax(240px, 1fr) auto; align-items: center; gap: 20px; margin-top: 20px; }
.primary-button {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 26px;
  border: 0; border-radius: 12px; color: white; background: linear-gradient(135deg, #71884f, #8ba35f);
  font-size: clamp(30px, 2.05vw, 38px); line-height: .9; font-weight: 560; text-transform: uppercase;
  font-variation-settings: 'wght' 560, 'wdth' 78, 'opsz' 2;
  cursor: pointer; box-shadow: 0 12px 26px rgba(98,119,68,.16); transition: transform .2s, box-shadow .2s;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(98,119,68,.23); }
.primary-button > span[aria-hidden="true"] { font-size: 28px; font-weight: 400; }
.primary-button [data-button-price] { font-size: .78em; font-weight: 520; white-space: nowrap; }
.review-button { justify-content: center; flex-wrap: wrap; gap: 6px 10px; text-align: center; }
.favorite-link { display: flex; align-items: center; gap: 10px; padding: 7px; border: 0; color: #7f7364; background: none; text-align: left; cursor: pointer; }
.favorite-link svg { width: 31px; height: 31px; }
.favorite-link span { font-size: 14px; line-height: 1.18; }
.is-favorite svg { fill: #93a66f; stroke: #70834f; }

.mobile-order-bar { display: none; }
.order-modal {
  width: min(560px, calc(100vw - 32px)); max-height: min(820px, calc(100vh - 32px)); padding: 28px;
  border: 1px solid var(--line); border-radius: 28px; color: var(--ink); background: var(--paper); box-shadow: 0 32px 100px rgba(37,29,18,.28); overflow: auto;
}
.order-modal::backdrop, .cart-modal::backdrop { background: rgba(37,31,24,.38); backdrop-filter: blur(6px); }
.order-modal h2 {
  margin: 0; font-family: var(--font-display); font-size: 40px; line-height: .95; font-weight: 560;
  font-variation-settings: 'wght' 560, 'wdth' 91, 'opsz' 2; letter-spacing: .005em; text-transform: uppercase;
}
.modal-close { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.modal-close svg { width: 22px; height: 22px; }
.modal-bowl {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 238px;
  margin: 18px auto;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  overflow: hidden;
  background: #e8e0d3;
  box-shadow: var(--shadow);
}
.modal-bowl::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgba(248,244,236,.48), rgba(238,229,215,.68));
}
.modal-bowl-backdrop {
  position: absolute;
  z-index: -2;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  max-width: none;
  object-fit: cover;
  opacity: .34;
  filter: blur(2px) saturate(.62) contrast(.88);
}
.modal-ingredient-icons {
  min-height: 238px;
  display: grid;
  grid-template-columns: repeat(6, 62px);
  place-content: center;
  gap: 10px;
  padding: 14px;
}
.modal-ingredient-token {
  width: 62px;
  height: 62px;
  display: block;
  padding: 4px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 18px rgba(61,48,32,.16);
}
.modal-ingredient-token img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.modal-ingredient-icons.is-dense { grid-template-columns: repeat(7, 50px); gap: 8px; }
.modal-ingredient-icons.is-dense .modal-ingredient-token { width: 50px; height: 50px; }
.modal-ingredients-empty { grid-column: 1 / -1; color: var(--muted); font-size: 17px; text-align: center; }
.summary-list { display: grid; gap: 9px; }
.summary-list div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-list span { color: var(--muted); }
.summary-list strong { text-align: right; }
.modal-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0; }
.modal-total strong {
  font-family: var(--font-display); font-size: 34px; line-height: .92; font-weight: 520;
  font-variation-settings: 'wght' 520, 'wdth' 96, 'opsz' 2;
}
.confirm-button { width: 100%; }
.confirm-button { justify-content: center; flex-wrap: wrap; gap: 6px 10px; text-align: center; }
.cart-modal {
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 30px;
  border: 1px solid var(--line); border-radius: 28px; color: var(--ink); background: var(--paper);
  box-shadow: 0 32px 100px rgba(37,29,18,.28); overflow: auto;
}
.cart-modal[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
.cart-scroll-body { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; }
.cart-scroll-body::-webkit-scrollbar { display: none; }
.cart-modal h2 {
  max-width: calc(100% - 54px); margin: 0 0 23px; font-size: clamp(39px, 5vw, 66px); line-height: .88; font-weight: 570;
  font-variation-settings: 'wght' 570, 'wdth' 86, 'opsz' 2; text-transform: uppercase;
}
.cart-items { display: grid; gap: 12px; }
.cart-list-head { display: flex; min-height: 44px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cart-list-head[hidden] { display: none; }
.cart-list-head > span { color: var(--olive-deep); font-size: 14px; letter-spacing: .06em; }
.cart-clear-button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; color: #88483e; background: transparent; font: 650 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; cursor: pointer; }
.cart-clear-button:active { background: rgba(136, 72, 62, .08); }
.cart-empty { padding: 34px 22px; border: 1px dashed rgba(99, 120, 71, .34); border-radius: 20px; text-align: center; background: rgba(220, 231, 204, .26); }
.cart-empty strong { font-size: 27px; font-variation-settings: 'wght' 580, 'wdth' 84, 'opsz' 2; }
.cart-empty p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }
.cart-empty-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; margin-top: 20px; padding: 10px 18px; border-radius: 14px; color: #fff; background: var(--olive); font-size: 20px; text-decoration: none; }
.cart-item {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .48);
}
.cart-item.is-invalid { border-color: rgba(155, 86, 65, .72); background: rgba(255, 239, 232, .7); }
.cart-item-warning { grid-column: 2 / -1; margin: -4px 0 2px; color: #8a4739; font: 600 14px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.cart-item-warning button { margin-left: 6px; padding: 0; border: 0; color: var(--olive-deep); background: transparent; font: 600 14px/1.35 var(--font-brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 700px) { .cart-item-warning { grid-column: 1 / -1; } }
.cart-item > img, .cart-item-media { width: 104px; height: 104px; border-radius: 18px; object-fit: cover; box-shadow: 0 7px 18px rgba(72,57,38,.14); }
.cart-item-media { display: block; overflow: hidden; }
.cart-item-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cart-item-copy { min-width: 0; }
.cart-item-copy > strong { display: block; font-size: 27px; line-height: 1; text-transform: uppercase; font-variation-settings: 'wght' 570, 'wdth' 86, 'opsz' 2; }
.cart-item-copy p { display: -webkit-box; margin: 6px 0; color: var(--muted); font-size: 14px; line-height: 1.25; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cart-item-copy small { color: var(--olive-deep); font-size: 14px; }
.cart-item-addons { display: grid; gap: 2px; margin: 7px 0 0; padding: 0; list-style: none; color: var(--muted); font: 13px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.cart-item-addons li::before { content: "+ "; color: var(--olive-deep); }
.cart-item-actions { min-width: 128px; display: grid; justify-items: end; gap: 6px; }
.cart-item-actions > strong { font-size: 22px; white-space: nowrap; }
.quantity-control { display: grid; grid-template-columns: 44px 36px 44px; align-items: center; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.quantity-control button { height: 44px; padding: 0; border: 0; background: transparent; font-size: 23px; cursor: pointer; }
.quantity-control button:hover { background: var(--pistachio); }
.quantity-control span { text-align: center; font-size: 17px; }
.cart-item-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 12px; }
.cart-icon-action {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--olive-deep);
  cursor: pointer;
}
.cart-icon-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}
.cart-icon-action:active { background: rgba(99, 120, 71, .1); }
.edit-item, .remove-item { min-height: 44px; padding: 8px 0; border: 0; background: transparent; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.edit-item { color: var(--olive-deep); }
.remove-item { color: #8a675d; }
.pickup-form { display: grid; gap: 18px; margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--line); }
.pickup-form[hidden] { display: none; }
.checkout-unavailable { display: grid; gap: 12px; margin-top: 25px; padding: 23px 20px 20px; border: 1px solid rgba(99, 120, 71, .24); border-radius: 20px; text-align: center; background: rgba(220, 231, 204, .26); }
.checkout-unavailable[hidden] { display: none; }
.checkout-unavailable > strong { font-size: 26px; font-variation-settings: 'wght' 580, 'wdth' 88, 'opsz' 2; }
.checkout-unavailable > p { margin: 0; color: var(--muted); font: 15px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.checkout-unavailable a { color: var(--olive-deep); text-underline-offset: 3px; }
.pickup-form h3 { margin: 0; font-size: 30px; line-height: 1; font-variation-settings: 'wght' 580, 'wdth' 84, 'opsz' 2; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.form-grid .field-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: rgba(255, 255, 255, .66);
  font-size: 18px; font-variation-settings: 'wght' 410, 'wdth' 98, 'opsz' 2;
}
.form-grid textarea { min-height: 74px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 3px solid rgba(99, 120, 71, .22); border-color: var(--olive); }
.payment-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.payment-options legend { width: 100%; margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.payment-options label { position: relative; cursor: pointer; }
.payment-options input { position: absolute; opacity: 0; pointer-events: none; }
.payment-options span { min-height: 44px; display: flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; background: white; font-size: 16px; }
.payment-options input:checked + span { border-color: rgba(99, 120, 71, .4); color: #334024; background: var(--pistachio); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.cart-total span { color: var(--muted); font-size: 18px; }
.cart-total strong { font-size: 39px; line-height: .9; font-variation-settings: 'wght' 560, 'wdth' 92, 'opsz' 2; }
.cart-checkout-dock {
  display: grid; grid-template-columns: minmax(150px, auto) minmax(240px, 1fr); gap: 14px; align-items: center;
  margin-top: 18px; padding: 14px; border: 1px solid rgba(86, 68, 44, .14); border-radius: var(--radius-panel);
  background: rgba(251, 248, 242, .97); box-shadow: 0 -8px 24px rgba(71, 54, 34, .10); backdrop-filter: blur(18px);
}
.cart-checkout-dock[hidden] { display: none; }
.cart-checkout-dock .cart-total { min-width: 0; display: grid; gap: 5px; padding: 0; border: 0; }
.cart-checkout-dock .cart-total span { font-size: 13px; letter-spacing: .06em; }
.cart-checkout-dock .cart-total strong { font-size: clamp(31px, 5vw, 39px); white-space: nowrap; }
.cart-checkout-dock .checkout-button { min-height: 60px; }
/* V362 — подача заказа: «с собой» по умолчанию, выбор виден до оплаты. */
.service-mode {
  position: relative; isolation: isolate;
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 0; padding: 4px; border: 0; border-radius: var(--radius-control);
  corner-shape: squircle;
  background: #e9e5db;
  -webkit-tap-highlight-color: transparent;
}
.service-mode::before {
  content: ''; position: absolute; inset: 4px auto 4px 4px;
  width: calc(50% - 4px); border-radius: calc(var(--radius-control) - 4px);
  corner-shape: squircle;
  background: var(--olive); pointer-events: none;
  transition: transform .22s ease;
}
.service-mode:has(input[value="dine_in"]:checked)::before { transform: translateX(100%); }
.service-mode-option { position: relative; display: block; cursor: pointer; touch-action: manipulation; }
.service-mode-option input {
  position: absolute; inset: -4px 0; margin: 0; opacity: 0; width: 100%; height: calc(100% + 8px); cursor: pointer;
  appearance: none; -webkit-appearance: none; border-radius: calc(var(--radius-control) - 4px);
  -webkit-tap-highlight-color: transparent;
}
.service-mode-option span {
  display: flex; align-items: center; justify-content: center; min-height: calc(var(--web-button-height) - 8px);
  padding: 6px 12px; border-radius: calc(var(--radius-control) - 4px); box-sizing: border-box;
  corner-shape: squircle;
  color: rgba(65, 68, 56, .56); font: 560 var(--web-button-font-size)/1 var(--font-brand);
  font-variation-settings: 'wght' 560, 'wdth' 90, 'opsz' 2;
  letter-spacing: .01em; text-align: center; white-space: nowrap;
  transition: color .18s ease;
}
.service-mode-option input:checked + span {
  color: #fff; background: transparent; box-shadow: none;
}
/* Клавиатурная навигация: у самого input нет видимых границ, рамку рисует подпись. */
.service-mode-option input:focus-visible + span { outline: 2px solid var(--olive-deep); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .service-mode::before, .service-mode-option span { transition: none; }
}

.cart-checkout-dock .payment-link:disabled { opacity: .72; }
.checkout-button { width: 100%; }
.delivery-note { margin: -8px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.delivery-note a { color: var(--olive-deep); text-underline-offset: 3px; }
.payment-link:disabled {
  opacity: .5;
  cursor: not-allowed;
  filter: saturate(.45);
}
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; padding: 12px 18px; border-radius: 99px;
  color: white; background: #343a2a; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transform: translate(-50%, 16px); transition: opacity .2s, transform .2s; white-space: nowrap;
}
.toast.show, .toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.cart-feedback {
  position: fixed;
  left: 50%;
  top: calc(var(--app-header-h, 72px) + env(safe-area-inset-top) + 12px);
  z-index: 110;
  width: max-content;
  max-width: calc(100vw - 32px);
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 11px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 19px;
  corner-shape: squircle;
  color: #fbf8f2;
  background: rgba(45, 53, 34, .88);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px) scale(.96);
  transform-origin: 50% 0;
  transition: opacity 160ms ease-in, transform 180ms ease-in;
}
.cart-feedback.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition: opacity 140ms ease-out, transform 320ms cubic-bezier(.16, 1, .3, 1);
}
.cart-feedback__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #344123;
  background: #dce7cc;
}
.cart-feedback__icon svg { width: 21px; height: 21px; stroke-width: 2.2; }
.cart-feedback__copy { min-width: 0; display: grid; gap: 2px; }
.cart-feedback__copy strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.cart-feedback__copy small {
  max-width: min(48ch, 65vw);
  overflow: hidden;
  color: rgba(251, 248, 242, .76);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-feedback.is-confirming .cart-feedback__icon { animation: cart-feedback-confirm 320ms cubic-bezier(.16, 1, .3, 1); }
@keyframes cart-feedback-confirm {
  from { transform: scale(.78); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-feedback,
  .cart-feedback.is-visible { transform: translateX(-50%); transition: opacity 160ms ease; }
  .cart-feedback.is-confirming .cart-feedback__icon { animation: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .cart-feedback { border-color: rgba(255, 255, 255, .55); background: #2d3522; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (min-width: 901px) {
  html:not(.is-native-app) .cart-feedback {
    left: auto;
    right: clamp(24px, 3.2vw, 64px);
    transform: translateY(-10px) scale(.96);
    transform-origin: 100% 0;
  }
  html:not(.is-native-app) .cart-feedback.is-visible { transform: translateY(0) scale(1); }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  html:not(.is-native-app) .cart-feedback,
  html:not(.is-native-app) .cart-feedback.is-visible { transform: none; }
}

@media (min-width: 1650px) and (min-height: 900px) {
  .site-header { height: 84px; }
  .builder-panel { padding-top: 100px; }
  .bowl-wrap { width: min(39vw, 730px); left: 3.5vw; }
  .intro-copy { left: auto; right: clamp(22px, 2vw, 42px); }
  .ingredient-grid { gap: 10px; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .builder-page { grid-template-columns: 43% 57%; }
  .bowl-wrap { width: 39vw; left: 1.5vw; top: 8vh; }
  .intro-copy { left: auto; right: 18px; top: 13vh; width: 190px; }
  .intro-copy h1 { font-size: 32px; }
  .price-card { width: 118px; padding: 15px; }
  .builder-panel { padding-left: 28px; padding-right: 28px; }
  .desktop-category-tabs { gap: 6px; }
  .desktop-category-tab { min-height: 94px; padding-inline: 3px; }
  .desktop-category-tab strong { font-size: 27px; }
  .desktop-category-tab small { font-size: 14px; }
  .ingredient-grid.desktop-active-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .desktop-builder .ingredient-card { min-height: 86px; }
  .desktop-builder .ingredient-thumb { width: 64px; height: 64px; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .site-header { height: 64px; }
  .builder-panel { padding-top: 68px; padding-bottom: 10px; }
  .desktop-category-tab { min-height: 62px; }
  .desktop-category-panel { margin-top: 12px; }
  .desktop-panel-heading { margin-bottom: 8px; }
  .desktop-builder .ingredient-card { min-height: 74px; padding-block: 7px; }
  .desktop-builder .ingredient-thumb { width: 56px; height: 56px; }
  .desktop-order-row { margin-top: 7px; }
  .primary-button { min-height: 56px; }
}

@media (max-width: 900px) {
  :root { --app-header-h: 76px; }
  body { background: linear-gradient(150deg, #f8f3eb 0%, #f5efe6 100%); }
  .page-shell { min-height: 100%; }
  .site-header {
    height: 76px; padding: 0 22px; background: rgba(248,243,235,.9); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(65,55,42,.06);
  }
  .brand-link { width: clamp(178px, 25vw, 206px); height: 52px; }
  .brand-link img { width: clamp(160px, 21vw, 185px); }
  .mobile-menu { display: block; grid-column: 1; justify-self: start; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: rgba(251,248,242,.7); }
  .header-actions { gap: 0; }
  .desktop-only { display: none; }
  .header-compact,
  .header-compact.visible { display: none; }
  .mobile-menu-panel {
    position: fixed;
    z-index: 40;
    inset: 0;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 20px;
    padding: 0 22px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    color: var(--ink);
    background:
      radial-gradient(circle at 84% 88%, rgba(99,120,71,.18), transparent 30%),
      linear-gradient(180deg, rgba(251,248,242,.98), rgba(240,232,219,.99));
    box-shadow: none;
    transform-origin: bottom center;
    animation: mobile-menu-rise .42s cubic-bezier(.19, 1, .22, 1) both;
  }
  .mobile-menu-panel[hidden] { display: none; }
  .mobile-menu-links {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 0;
    padding-top: calc(76px + clamp(42px, 9vh, 92px));
  }
  .mobile-menu-item {
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--ink);
    background: transparent;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    font-size: clamp(42px, 13vw, 72px);
    line-height: .88;
    font-weight: 590;
    font-variation-settings: 'wght' 590, 'wdth' 84, 'opsz' 2;
    transition: color .28s ease, opacity .28s ease, font-variation-settings .28s ease;
  }
  .mobile-menu-item::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    z-index: 2;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: rgba(99, 120, 71, .48);
    transform: translateX(-50%) scaleX(0);
    transform-origin: right bottom;
    transition: transform .34s cubic-bezier(.19, 1, .22, 1);
  }
  .mobile-menu-item span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transform: none;
  }
  .mobile-menu-links:hover .mobile-menu-item:not(:hover),
  .mobile-menu-links:focus-within .mobile-menu-item:not(:focus-visible) {
    color: rgba(24, 23, 19, .36);
  }
  .mobile-menu-item:hover,
  .mobile-menu-item:focus-visible {
    color: var(--olive-deep);
  }
  .mobile-menu-item:hover::before,
  .mobile-menu-item:focus-visible::before {
    transform: translateX(-50%) scaleX(1);
    transform-origin: left bottom;
  }
  .mobile-menu-item:hover span,
  .mobile-menu-item:focus-visible span {
    font-variation-settings: 'wght' 660, 'wdth' 84, 'opsz' 2;
  }
  .mobile-menu-preview {
    min-height: min(36vh, 260px);
    position: relative;
    overflow: hidden;
    pointer-events: none;
  }
  .mobile-menu-preview img {
    width: min(70vw, 280px);
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    position: absolute;
    left: 50%;
    bottom: -18px;
    border-radius: 18px;
    box-shadow: 0 24px 62px rgba(72, 57, 38, .22);
    transform: translateX(-50%) translateY(0);
    animation: mobile-menu-preview-in .34s cubic-bezier(.19, 1, .22, 1) both;
  }
  .mobile-menu-preview img.is-switching { animation-name: mobile-menu-preview-switch; }

  .builder-page { display: block; min-height: auto; }
  .showcase { min-height: auto; overflow: visible; padding-top: 76px; }
  .showcase::before { width: 78vw; height: 78vw; left: -14vw; top: 16vh; }
  .desktop-price { display: none; }
  .bowl-stage { position: relative; inset: auto; height: min(99vw, 760px); margin-top: 8px; overflow: hidden; }
  .bowl-wrap { width: min(96vw, 700px); left: 50%; top: 0; transform: translateX(-50%); }
  .intro-copy {
    position: relative; left: auto; right: auto; top: auto; width: min(630px, calc(100% - 48px)); margin: 6px auto 0;
    padding: 21px 24px; border-radius: 20px; text-align: center;
  }
  .intro-copy h1 { font-size: clamp(36px, 6vw, 48px); line-height: 1; }
  .intro-copy > p:not(.eyebrow):not(.price-formula) { max-width: 540px; margin: 0 auto; font-size: 19px; }
  .breakdown-link { margin-top: 3px; font-size: 15px; }
  .price-popover { left: 50%; transform: translateX(-50%); text-align: left; }

  .builder-panel { height: auto; min-height: 500px; overflow: visible; padding: 28px 24px calc(132px + env(safe-area-inset-bottom)); }
  .desktop-builder, .desktop-order-row { display: none; }
  .mobile-builder { display: block; max-width: 680px; width: 100%; margin: 0 auto; }
  .mobile-category-tabs {
    position: sticky; top: calc(var(--app-header-h) + env(safe-area-inset-top) + 8px); z-index: 12; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px;
    padding: 5px; border: 1px solid var(--line); border-radius: 20px; background: rgba(251,248,242,.88);
    box-shadow: 0 10px 28px rgba(71,54,34,.08); backdrop-filter: blur(14px);
  }
  .mobile-category-tab {
    position: relative; min-width: 0; min-height: 72px; display: flex; align-items: center; justify-content: center;
    padding: 8px 4px; border: 0; border-radius: 15px; color: #746d62; background: transparent; cursor: pointer;
    transition: color .2s, background-color .2s, box-shadow .2s, transform .2s;
  }
  .mobile-category-tab:hover { color: var(--ink); }
  .mobile-category-tab.is-active { color: #334024; background: #dce7cc; box-shadow: inset 0 0 0 1px rgba(100,122,70,.1); }
  .mobile-category-tab .category-icon { display: none; }
  .mobile-category-tab .category-indicator { position: absolute; right: 4px; top: 4px; width: 18px; height: 18px; font-size: 9px; }
  .mobile-category-tab .category-indicator svg { width: 11px; height: 11px; }
  .mobile-category-tab strong {
    max-width: 100%; font-size: clamp(21px, 3vw, 26px); line-height: .9; font-weight: 560; text-align: center; white-space: nowrap;
    font-variation-settings: 'wght' 560, 'wdth' 75, 'opsz' 2; text-transform: uppercase; letter-spacing: 0;
  }
  .mobile-category-panel { margin-top: 13px; animation: mobile-panel-in .22s ease both; }
  .mobile-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 3px 4px 0; }
  .mobile-panel-heading > div { display: flex; align-items: center; gap: 8px; }
  .mobile-panel-heading h2 {
    margin: 0; font-size: 23px; font-weight: 620;
    font-variation-settings: 'wght' 620, 'wdth' 94, 'opsz' 2;
  }
  .mobile-panel-heading p { margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
  .mobile-ingredient-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 11px 1px 2px; }
  @keyframes mobile-panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes mobile-menu-rise { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
  @keyframes mobile-menu-preview-in { from { opacity: 0; transform: translateX(-50%) translateY(44px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
  @keyframes mobile-menu-preview-switch { from { opacity: 0; transform: translateX(-50%) translateY(72px) scale(.96); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
  .ingredient-card { min-height: 82px; }
  .ingredient-copy strong { font-size: 18px; }
  .ingredient-copy small { font-size: 14px; }

  .mobile-order-bar {
    position: fixed; z-index: 40; left: 18px; right: 18px; bottom: calc(var(--app-bottom-gap) + env(safe-area-inset-bottom));
    min-height: 90px; display: grid; grid-template-columns: auto 58px minmax(180px, 1fr); align-items: center; gap: 12px;
    padding: 12px 14px; border: 1px solid rgba(65,55,42,.1); border-radius: 25px; background: rgba(251,248,242,.94);
    backdrop-filter: blur(18px); box-shadow: 0 14px 45px rgba(71,54,34,.18);
  }
  .mobile-total { min-width: 90px; }
  .mobile-total strong {
    display: block; font-family: var(--font-display); font-size: 31px; line-height: .9; font-weight: 520;
    font-variation-settings: 'wght' 520, 'wdth' 96, 'opsz' 2;
  }
  .mobile-total span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
  .favorite-button { width: 58px; height: 58px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); cursor: pointer; }
  .favorite-button svg { width: 100%; height: 100%; }
  .mobile-order-bar .primary-button { min-height: 64px; font-size: clamp(24px, 4.6vw, 31px); font-variation-settings: 'wght' 560, 'wdth' 75, 'opsz' 2; }
  .toast { bottom: calc(120px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  :root { --app-header-h: 72px; }
  .site-header { height: 72px; padding: 0 18px; }
  .brand-link { width: clamp(154px, 46vw, 190px); height: 48px; }
  .brand-link img { width: clamp(145px, 41vw, 175px); }
  .mobile-menu-panel { padding-top: 16px; }
  body.menu-page .catalog-filter-fab { left: 18px; top: 82px; }
  body.mobile-menu-open .site-header {
    border-bottom-color: transparent;
    background: rgba(251,248,242,.86);
  }
  body.mobile-menu-open { overflow: hidden; }
  .showcase { padding-top: 72px; }
  .bowl-stage { height: clamp(112px, 31vw, 150px); margin-top: 0; }
  .bowl-wrap { width: 72vw; top: 0; transform: translate(-50%, -28%); }
  .intro-copy { width: calc(100% - 28px); margin-top: 2px; padding: 10px 14px; border-radius: 16px; }
  .intro-copy .eyebrow { display: none; }
  .intro-copy h1 { margin-bottom: 5px; font-size: clamp(28px, 7.8vw, 34px); line-height: .92; }
  .intro-copy > p:not(.eyebrow):not(.price-formula) { font-size: 14px; line-height: 1.18; }
  .price-formula { margin-top: 6px; font-size: 13px; line-height: 1.1; }
  .breakdown-link { min-height: 44px; margin: -1px 0 -8px; padding-block: 9px; font-size: 14px; }
  .builder-panel { padding: 8px 14px calc(128px + env(safe-area-inset-bottom)); }
  .mobile-category-tabs { top: calc(var(--app-header-h) + env(safe-area-inset-top) + 7px); gap: 3px; padding: 4px; border-radius: 18px; }
  .mobile-category-tab { min-height: 56px; padding: 5px 1px; border-radius: 14px; }
  .mobile-category-tab strong { font-size: clamp(20px, 5.8vw, 25px); }
  .mobile-category-panel { margin-top: 8px; }
  .mobile-panel-heading h2 { font-size: 22px; }
  .mobile-panel-heading p { max-width: 55%; font-size: 13px; }
  .mobile-ingredient-grid { padding-top: 6px; }
  .ingredient-card { min-height: 78px; gap: 9px; padding: 8px 29px 8px 8px; border-radius: 16px; }
  .ingredient-thumb { width: 58px; height: 58px; }
  .ingredient-copy strong { font-size: 18px; }
  .mobile-order-bar { left: 10px; right: 10px; grid-template-columns: auto 54px minmax(0, 1fr); gap: 8px; min-height: 84px; padding: 10px 11px; border-radius: 23px; }
  .mobile-total { min-width: 76px; }
  .mobile-total strong { font-size: 23px; }
  .mobile-total span { font-size: 13px; }
  .favorite-button { width: 54px; height: 54px; border-radius: 16px; }
  .mobile-order-bar .primary-button { min-height: 58px; padding: 0 10px; font-size: clamp(19px, 5.6vw, 25px); }
  .mobile-order-bar .primary-button > span[aria-hidden="true"] { font-size: 23px; }
  .cart-modal { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 24px 18px; border-radius: 24px; }
  .cart-modal h2 { font-size: clamp(38px, 12vw, 52px); }
  .cart-item { grid-template-columns: 76px minmax(0, 1fr); gap: 11px; }
  .cart-item > img, .cart-item-media { width: 76px; height: 76px; }
  .cart-item-copy > strong { font-size: 23px; }
  .cart-item-actions { grid-column: 1 / -1; min-width: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field-wide { grid-column: auto; }
  .checkout-button { font-size: clamp(27px, 8vw, 36px); }
}

@media (max-width: 359px) {
  .mobile-ingredient-grid { grid-template-columns: 1fr; }
  .mobile-category-tab { min-height: 62px; }
  .mobile-category-tab strong { font-size: 19px; }
  .mobile-order-bar { grid-template-columns: 68px 48px 1fr; }
  .favorite-button { width: 48px; height: 48px; padding: 12px; }
  .mobile-order-bar .primary-button { min-height: 52px; padding: 0 8px; font-size: 20px; gap: 4px; }
}

/* V67 native iOS: one compact action bar and one stable catalog rhythm. */
html.is-native-app .price-formula,
html.is-native-app .intro-copy .price-formula { display: none; }
html.is-native-app .order-help-button {
  display: grid;
  place-items: center;
  width: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(86, 68, 44, .22);
  border-radius: 16px;
  background: #fffdf9;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 31px;
  line-height: 1;
}
html.is-native-app .mobile-order-bar {
  grid-template-columns: auto 52px minmax(0, 1fr);
}
html.is-native-app .mobile-order-bar .primary-button {
  letter-spacing: .01em;
  white-space: nowrap;
}
html.is-native-app .mobile-ingredient-grid { touch-action: pan-y; }
html.is-native-app .catalog-card {
  grid-template-rows: auto 76px 58px;
  align-self: stretch;
}
html.is-native-app .catalog-copy { min-height: 76px; }
html.is-native-app .catalog-card h3 {
  display: -webkit-box;
  min-height: 2.15em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html.is-native-app .catalog-buy { min-height: 58px; align-self: stretch; }
html.is-native-app .cart-item.is-new {
  animation: native-cart-item-added 1.1s ease-out both;
}
html.is-native-app .cart-icon-action {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--olive-deep);
}
html.is-native-app .cart-icon-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}
html.is-native-app .cart-item-links { display: flex; justify-content: flex-end; gap: 2px; }
html.is-native-app .main-menu-head h1,
html.is-native-app .main-menu-head h2,
html.is-native-app .cart-modal h2,
html.is-native-app .profile-modal h2,
html.is-native-app .intro-copy h1 {
  text-align: center;
  font-family: var(--font-brand);
  font-variation-settings: 'wght' 530, 'wdth' 72, 'opsz' 2;
  line-height: .94;
}
@keyframes native-cart-item-added {
  0% { background: rgba(208, 227, 178, .88); }
  100% { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  html.is-native-app .cart-item.is-new { animation: none; }
}

/* V55: SwiftUI owns the app chrome; the WKWebView owns all scrolling. */
@media (max-width: 900px) {
  html.is-native-app,
  html.is-native-app body {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

  html.is-native-app .site-header,
  html.is-native-app #siteHeader,
  html.is-native-app .header-compact,
  html.is-native-app .header-actions,
  html.is-native-app .mobile-menu-panel,
  html.is-native-app .native-tab-bar {
    display: none !important;
  }

  html.is-native-app .page-shell {
    height: auto;
    min-height: 100%;
    padding-top: 0;
    overflow: visible;
    overscroll-behavior-y: auto;
  }

  html.is-native-app .showcase { padding-top: 0; }
  html.is-native-app .mobile-category-tabs { top: 0; }
  html.is-native-app .mobile-category-panel { scroll-margin-top: 82px; }
  html.is-native-app .mobile-order-bar { bottom: 0; }
  html.is-native-app .builder-panel { padding-bottom: 108px; }
  html.is-native-app .main-menu-catalog { padding-bottom: 28px; }
  html.is-native-app .toast { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .mobile-menu-item,
  .mobile-menu-item span,
  .mobile-menu-preview img {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  html.is-native-app body.home-body,
  html.is-native-app body.home-body .home-page {
    background: #fbf8f2 !important;
  }
}

/* V06 — typographic hierarchy refinement. The existing art direction stays intact. */
:root {
  --ink: #1b1c18;
  --muted: #5f5a52;
  --olive-deep: #53663b;
  --line: rgba(86, 68, 44, .18);
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 26px;
  --text-3xl: 32px;
  --text-display: 48px;
}

body {
  font-size: var(--text-md);
  font-weight: 450;
  line-height: 1.45;
  font-variation-settings: 'wght' 450, 'wdth' 100, 'opsz' 2;
}

.location-button, .price-card > span, .price-card small, .price-card p, .intro-copy > p, .breakdown-link,
.section-heading p, .ingredient-copy small, .favorite-link, .summary-list, .mobile-panel-heading p, .mobile-total span {
  font-weight: 450;
  font-variation-settings: 'wght' 450, 'wdth' 100, 'opsz' 2;
}

.location-button { color: var(--muted); font-size: var(--text-sm); }
.price-card { width: 142px; color: var(--muted); }
.price-card > span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .05em; }
.price-card strong { font-size: var(--text-3xl); line-height: 1; }
.price-card small { font-size: var(--text-sm); }
.price-card p { color: var(--olive-deep); font-size: var(--text-sm); line-height: 1.4; }

.bowl-wrap { width: min(36vw, 650px); }
.intro-copy { width: 248px; padding: 20px; }
.intro-copy h1 {
  margin-bottom: 13px;
  font-size: clamp(36px, 2.4vw, var(--text-display));
  line-height: .95;
  font-weight: 580;
  font-variation-settings: 'wght' 580, 'wdth' 91, 'opsz' 2;
}
.intro-copy > p:not(.eyebrow):not(.price-formula) {
  color: var(--ink);
  font-size: var(--text-md);
  line-height: 1.45;
}
.price-formula { color: var(--olive-deep); font-size: var(--text-sm); line-height: 1.4; }
.breakdown-link { color: var(--muted); font-size: var(--text-sm); }
.price-popover {
  width: 218px;
  padding: 10px 12px;
  box-shadow: 0 14px 38px rgba(83, 66, 43, .12);
}
.price-popover p { font-size: var(--text-sm); padding: 3px 0; }

.desktop-category-tab { min-height: 94px; gap: 6px; padding: 11px 7px; }
.desktop-category-tab strong {
  font-size: var(--text-xl);
  line-height: 1;
  font-weight: 620;
  white-space: normal;
  text-wrap: balance;
  font-variation-settings: 'wght' 620, 'wdth' 94, 'opsz' 2;
}
.desktop-category-tab small {
  font-size: var(--text-sm);
  font-weight: 470;
  font-variation-settings: 'wght' 470, 'wdth' 98, 'opsz' 2;
}
.desktop-panel-heading h2 { font-size: var(--text-xl); }
.desktop-panel-heading p { color: var(--muted); font-size: var(--text-sm); }
.category-indicator { width: 20px; height: 20px; }
.category-indicator svg { width: 12px; height: 12px; }

.desktop-builder .ingredient-copy strong,
.ingredient-copy strong {
  font-size: var(--text-lg);
  line-height: 1.15;
  font-weight: 570;
  font-variation-settings: 'wght' 570, 'wdth' 98, 'opsz' 2;
}
.desktop-builder .ingredient-copy small,
.ingredient-copy small { color: var(--muted); font-size: var(--text-sm); }

.primary-button {
  min-height: 72px;
  font-size: var(--text-2xl);
  line-height: 1;
  font-weight: 600;
  letter-spacing: .01em;
  font-variation-settings: 'wght' 600, 'wdth' 94, 'opsz' 2;
}
.primary-button [data-button-price] { font-size: .82em; }
.favorite-link { color: var(--muted); }
.summary-list div { font-size: var(--text-md); line-height: 1.4; }
.form-grid label, .payment-options legend { color: var(--muted); font-size: var(--text-sm); }
.form-grid input, .form-grid select, .form-grid textarea { font-size: var(--text-md); line-height: 1.4; }

@media (max-width: 1280px) and (min-width: 901px) {
  .bowl-wrap { width: min(37vw, 580px); }
  .intro-copy { width: 210px; }
  .intro-copy h1 { font-size: var(--text-3xl); }
  .desktop-category-tab strong { font-size: 20px; }
  .desktop-category-tab small { font-size: 13px; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .desktop-category-tab { min-height: 68px; }
  .primary-button { min-height: 58px; font-size: var(--text-xl); }
}

@media (max-width: 900px) {
  .bowl-wrap { width: min(92vw, 670px); }
  .intro-copy h1 { font-size: clamp(32px, 5.5vw, 42px); line-height: 1; }
  .intro-copy > p:not(.eyebrow):not(.price-formula) { font-size: var(--text-md); line-height: 1.45; }
  .mobile-category-tab { min-height: 68px; padding: 8px 3px; }
  .mobile-category-tab strong {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.05;
    font-weight: 640;
    white-space: normal;
    text-wrap: balance;
    font-variation-settings: 'wght' 640, 'wdth' 94, 'opsz' 2;
  }
  .mobile-category-tab .category-indicator { width: 16px; height: 16px; font-size: 8px; }
  .mobile-category-tab .category-indicator svg { width: 9px; height: 9px; }
  .mobile-panel-heading h2 { font-size: var(--text-xl); }
  .mobile-panel-heading p { color: var(--muted); font-size: var(--text-sm); }
  .ingredient-copy strong { font-size: 17px; }
  .ingredient-copy small { font-size: var(--text-sm); }
  .mobile-total strong { font-size: var(--text-2xl); }
  .mobile-order-bar .primary-button {
    min-height: 62px;
    font-size: clamp(18px, 3.1vw, 20px);
    line-height: 1.05;
    font-variation-settings: 'wght' 620, 'wdth' 94, 'opsz' 2;
  }
}

@media (max-width: 600px) {
  .bowl-stage { height: clamp(108px, 29vw, 138px); }
  .bowl-wrap { width: 68vw; }
  .intro-copy { padding: 11px 14px 9px; }
  .intro-copy h1 { font-size: var(--text-3xl); line-height: .95; }
  .intro-copy > p:not(.eyebrow):not(.price-formula) { font-size: var(--text-md); line-height: 1.3; }
  .price-formula { font-size: var(--text-sm); line-height: 1.25; }
  .mobile-category-tab { min-height: 60px; padding: 7px 2px; }
  .mobile-category-tab strong { font-size: clamp(13px, 3.7vw, 15px); }
  .mobile-panel-heading h2 { font-size: 20px; }
  .mobile-panel-heading p { max-width: 58%; font-size: 13px; line-height: 1.2; }
  .ingredient-copy strong { font-size: var(--text-md); }
  .mobile-order-bar .primary-button { min-height: 58px; padding-inline: 9px; font-size: clamp(17px, 4.4vw, 19px); }
  .checkout-button { font-size: var(--text-xl); }
  .cart-modal h2 { font-size: var(--text-3xl); line-height: .95; }
  .cart-item-copy > strong { font-size: var(--text-xl); }
}

@media (max-width: 359px) {
  .mobile-category-tab strong { font-size: 13px; }
  .mobile-order-bar .primary-button { font-size: 17px; }
}

/* V07 — one desktop alignment line, wider information cards, larger functional type. */
@media (min-width: 901px) {
  .price-card,
  .intro-copy { top: 96px; }

  .builder-panel { padding-top: 96px; }

  .price-card {
    width: 174px;
    padding: 22px 24px;
  }
  .price-card > span { font-size: 14px; }
  .price-card strong {
    margin-top: 8px;
    font-size: 42px;
    white-space: nowrap;
  }
  .price-card small { margin-top: 10px; font-size: 18px; }
  .price-card p { font-size: 16px; line-height: 1.42; }

  .intro-copy {
    right: clamp(18px, 2vw, 38px);
    width: 300px;
    padding: 22px 24px;
  }
  .intro-copy h1 { font-size: 48px; }
  .intro-copy > p:not(.eyebrow):not(.price-formula) {
    font-size: 18px;
    line-height: 1.48;
  }
  .price-formula { font-size: 16px; line-height: 1.42; }
  .breakdown-link { font-size: 16px; }
  .price-popover {
    left: 0;
    width: 100%;
    padding: 15px 17px;
  }
  .price-popover p {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 18px;
    padding: 6px 0;
    font-size: 16px;
    line-height: 1.3;
  }
  .price-popover strong { font-size: 18px; }

  .desktop-category-tab { min-height: 108px; }
  .desktop-category-tab strong {
    font-size: 26px;
    line-height: 1.02;
    font-variation-settings: 'wght' 620, 'wdth' 96, 'opsz' 2;
  }
  .desktop-category-tab small {
    font-size: 16px;
    font-variation-settings: 'wght' 480, 'wdth' 100, 'opsz' 2;
  }
  .desktop-panel-heading h2 { font-size: 26px; }
  .desktop-panel-heading p { font-size: 16px; }

  .desktop-builder .ingredient-card {
    min-height: 108px;
    gap: 16px;
    padding: 13px 44px 13px 13px;
  }
  .desktop-builder .ingredient-thumb { width: 80px; height: 80px; }
  .ingredient-copy { flex: 1 1 auto; }
  .desktop-builder .ingredient-copy strong {
    font-size: 23px;
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
    font-variation-settings: 'wght' 590, 'wdth' 100, 'opsz' 2;
  }
  .desktop-builder .ingredient-copy small { margin-top: 5px; font-size: 16px; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .price-card,
  .intro-copy { top: 84px; }
  .builder-panel { padding-top: 84px; }
  .price-card { width: 154px; padding: 18px 19px; }
  .price-card strong { font-size: 36px; }
  .intro-copy { width: 256px; padding: 19px 20px; }
  .intro-copy h1 { font-size: 40px; }
  .intro-copy > p:not(.eyebrow):not(.price-formula) { font-size: 17px; }
  .desktop-category-tab strong { font-size: 22px; }
  .desktop-category-tab small { font-size: 14px; }
  .desktop-builder .ingredient-card { min-height: 96px; gap: 12px; }
  .desktop-builder .ingredient-thumb { width: 68px; height: 68px; }
  .desktop-builder .ingredient-copy strong { font-size: 19px; }
  .desktop-builder .ingredient-copy small { font-size: 14px; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .price-card,
  .intro-copy { top: 72px; }
  .builder-panel { padding-top: 72px; }
  .desktop-category-tab { min-height: 78px; }
  .desktop-builder .ingredient-card { min-height: 82px; }
  .desktop-builder .ingredient-thumb { width: 58px; height: 58px; }
  .desktop-builder .ingredient-copy strong { font-size: 19px; }
}

@media (max-width: 900px) {
  .ingredient-copy strong {
    font-size: 18px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }
  .ingredient-copy small { font-size: 15px; }
  .mobile-category-tab strong { font-size: clamp(15px, 2.4vw, 17px); }
}

@media (max-width: 600px) {
  .mobile-category-tab strong { font-size: clamp(14px, 4vw, 16px); }
}

/* V08 — guided start, preferences, social ordering and transparent composition. */
.smart-start { display: none; min-height: 0; }
.builder-panel.is-quick-start { justify-content: flex-start; padding-top: 118px; }
.builder-panel.is-quick-start .smart-start { display: flex; flex: 1 1 auto; flex-direction: column; }
.builder-panel.is-quick-start .desktop-builder,
.builder-panel.is-quick-start .mobile-builder,
.builder-panel.is-quick-start .builder-tools,
.builder-panel.is-quick-start .desktop-order-row { display: none !important; }
.smart-start-header { max-width: 720px; }
.smart-start-header h2 {
  margin: 0; font-size: clamp(38px, 3vw, 58px); line-height: .92; font-weight: 590; text-transform: uppercase;
  font-variation-settings: 'wght' 590, 'wdth' 90, 'opsz' 2;
}
.smart-start-header > p:last-child { max-width: 690px; margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.45; }
.need-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.need-chip, .text-button, .builder-tools button, .social-actions button, .inline-form button, .secondary-action {
  min-height: 44px; border: 1px solid var(--line); color: var(--ink); background: rgba(251,248,242,.78); cursor: pointer;
  font-weight: 560; font-variation-settings: 'wght' 560, 'wdth' 98, 'opsz' 2;
}
.need-chip { padding: 9px 15px; border-radius: 999px; font-size: 16px; }
.need-chip.is-active { border-color: rgba(99,120,71,.35); color: #334024; background: var(--pistachio); }
.preset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.preset-card {
  position: relative; min-height: 118px; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 15px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: rgba(251,248,242,.78);
  text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.preset-card:hover { transform: translateY(-2px); border-color: rgba(99,120,71,.34); box-shadow: 0 10px 24px rgba(72,57,38,.1); }
.preset-card.is-recommended { background: linear-gradient(135deg, rgba(226,236,214,.95), rgba(214,228,198,.88)); }
.preset-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 7px 18px rgba(72,57,38,.14); }
.preset-card strong { display: block; font-size: 25px; line-height: 1.02; font-variation-settings: 'wght' 590, 'wdth' 96, 'opsz' 2; }
.preset-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.25; }
.preset-card .preset-price { color: var(--olive-deep); font-size: 20px; font-weight: 600; white-space: nowrap; }
.preset-empty {
  grid-column: 1 / -1; margin: 0; padding: 24px; border: 1px dashed var(--line); border-radius: 20px;
  color: var(--muted); background: rgba(251,248,242,.58); font-size: 18px; line-height: 1.4;
}
.preset-empty-link { padding: 0; border: 0; color: var(--olive-deep); background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.smart-start > .text-button { align-self: flex-start; margin-top: 15px; padding: 8px 16px; border-radius: 12px; font-size: 17px; }

.builder-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 0; }
.builder-tools button { flex: 1 1 150px; padding: 8px 12px; border-radius: 12px; font-size: 15px; }
.builder-tools button:hover, .social-actions button:hover, .inline-form button:hover, .secondary-action:hover { background: var(--pistachio); }

.feature-modal {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 30px;
  border: 1px solid var(--line); border-radius: 28px; color: var(--ink); background: var(--paper); box-shadow: 0 32px 100px rgba(37,29,18,.28); overflow: auto;
}
.feature-modal::backdrop { background: rgba(37,31,24,.48); backdrop-filter: blur(6px); }
.feature-modal h2 {
  max-width: calc(100% - 58px); margin: 0 0 24px; font-size: clamp(40px, 5vw, 64px); line-height: .9; font-weight: 580; text-transform: uppercase;
  font-variation-settings: 'wght' 580, 'wdth' 88, 'opsz' 2;
}
.feature-modal h3 { margin: 0 0 12px; font-size: 24px; font-variation-settings: 'wght' 590, 'wdth' 94, 'opsz' 2; }
.profile-form { display: grid; gap: 17px; }
.profile-form fieldset { margin: 0; padding: 0; border: 0; }
.profile-form legend, .profile-field > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 16px; }
.profile-form select, .profile-field input, .inline-form input {
  width: 100%; min-height: 52px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white;
  font-size: 18px; font-variation-settings: 'wght' 470, 'wdth' 100, 'opsz' 2;
}
.profile-field { display: block; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 44px; display: flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 16px; }
.choice-grid input:checked + span { border-color: rgba(99,120,71,.4); color: #334024; background: var(--pistachio); }
.compact-action { width: 100%; min-height: 58px; justify-content: center; font-size: 22px; }
.profile-history, .profile-saved { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.profile-section-note { margin: -4px 0 13px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.profile-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.profile-section-head h3 { margin: 0; }
.profile-section-head button { min-height: 44px; padding: 8px 13px; border: 1px solid var(--share-line); border-radius: 11px; color: var(--share-ink); background: var(--share-soft); cursor: pointer; }
.history-list { display: grid; gap: 9px; }
.history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 15px; }
.history-item strong { display: block; font-size: 19px; }
.history-item small { color: var(--muted); font-size: 14px; }
.history-actions, .history-delete-confirm { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.history-actions button { min-height: 44px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.history-actions .delete-action { color: #88483e; }
.history-item.is-confirming { border-color: rgba(136, 72, 62, .28); background: #fbf2ef; }
.history-delete-confirm button { min-height: 44px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.history-delete-confirm .danger-action { color: white; border-color: #88483e; background: #88483e; }

.recipe-edit-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 11px;
  padding: 10px 12px;
  border: 1px solid var(--share-line);
  border-radius: 12px;
  color: var(--share-ink);
  background: var(--share-soft);
}
.recipe-edit-notice[hidden] { display: none; }
.recipe-edit-notice span { font-size: 16px; font-weight: 600; }
.recipe-edit-notice button { min-height: 44px; padding: 7px 11px; border: 1px solid var(--share-line); border-radius: 10px; color: var(--share-ink); background: white; cursor: pointer; }
.saved-recipes-list { display: grid; gap: 10px; }
.saved-recipes-empty { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.saved-recipe-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}
.saved-recipe-card > div:first-child { min-width: 0; }
.saved-recipe-card strong { display: block; font-size: 21px; line-height: 1.08; overflow-wrap: anywhere; }
.saved-recipe-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.3; }
.saved-recipe-actions, .saved-delete-confirm { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.saved-recipe-actions button, .saved-delete-confirm button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.saved-recipe-actions button:hover, .saved-delete-confirm button:hover { border-color: rgba(65, 55, 42, .32); box-shadow: 0 5px 12px rgba(72, 57, 38, .08); }
.saved-recipe-actions .edit-action { color: var(--share-ink); border-color: var(--share-line); background: var(--share-soft); }
.saved-recipe-actions .delete-action { color: #88483e; }
.saved-recipe-card.is-confirming { border-color: rgba(136, 72, 62, .28); background: #fbf2ef; }
.saved-delete-confirm .danger-action { color: white; border-color: #88483e; background: #88483e; }

.composition-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.composition-stat { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(220,231,204,.35); }
.composition-stat strong { display: block; font-size: 30px; line-height: 1; }
.composition-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.composition-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.composition-section p { margin: 7px 0; color: var(--muted); font-size: 17px; line-height: 1.45; }
.composition-list { display: grid; gap: 7px; }
.composition-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; font-size: 16px; }
.availability-good { color: var(--olive-deep); }
.availability-low { color: #8a675d; }

.social-section { padding: 19px 0; border-top: 1px solid var(--line); }
.social-section:first-of-type { border-top: 0; padding-top: 0; }
.social-section > p { margin: 0 0 13px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.inline-form button, .social-actions button, .secondary-action { padding: 9px 15px; border-radius: 12px; font-size: 16px; }
.social-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qr-wrap { margin-top: 14px; text-align: center; }
.qr-wrap img { display: block; width: 180px; height: 180px; margin: 0 auto; border: 10px solid white; }
.qr-wrap p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.bowl-week-card { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.bowl-week-card img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.bowl-week-card strong { font-size: 22px; }
.bowl-week-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.bowl-week-card button { min-height: 44px; padding: 8px 13px; border: 0; border-radius: 11px; color: white; background: var(--olive); cursor: pointer; }
.group-card { margin-top: 13px; padding: 16px; border: 1px solid rgba(99,120,71,.26); border-radius: 18px; background: rgba(220,231,204,.3); }
.group-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.group-card-head span > small { display: block; color: var(--muted); font-size: 14px; }
.group-card-head > strong { padding: 7px 11px; border-radius: 99px; color: var(--olive-deep); background: white; font-size: 16px; white-space: nowrap; }
.group-code { display: block; margin-top: 3px; font-size: 25px; letter-spacing: .08em; }
.group-local-note { margin: 12px 0; padding: 10px 12px; border-radius: 12px; color: var(--share-ink); background: var(--share-soft); font-size: 15px; line-height: 1.35; }
.group-items { display: grid; gap: 8px; }
.group-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.72); }
.group-item strong { display: block; font-size: 18px; }
.group-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.group-item > span { font-size: 18px; font-weight: 600; white-space: nowrap; }
.group-item button { min-height: 44px; padding: 7px 10px; border: 0; color: #88483e; background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.group-empty { padding: 18px; border: 1px dashed rgba(99,120,71,.34); border-radius: 13px; color: var(--muted); text-align: center; background: rgba(255,255,255,.4); }
.group-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.group-total span { color: var(--muted); font-size: 17px; }
.group-total strong { font-size: 27px; }
.group-secondary-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.group-secondary-actions button { min-height: 48px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; cursor: pointer; }
.group-checkout { width: 100%; min-height: 58px; margin-top: 9px; justify-content: center; font-size: 21px; }
.group-checkout:disabled { opacity: .45; cursor: not-allowed; }

@media (min-width: 901px) {
  body.quick-start-active:not(.menu-page) .builder-page {
    height: 100vh;
    overflow: hidden;
  }

  .builder-panel.is-quick-start {
    height: 100vh;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .builder-panel:not(.is-quick-start) { justify-content: flex-start; }
  .builder-panel:not(.is-quick-start) .desktop-builder { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 4px; }
  .builder-tools, .desktop-order-row { flex: 0 0 auto; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .builder-panel.is-quick-start { padding-top: 108px; }
  .smart-start-header h2 { font-size: 42px; }
  .smart-start-header > p:last-child { font-size: 16px; }
  .need-chips { margin-top: 15px; }
  .need-chip { font-size: 14px; }
  .preset-grid { margin-top: 14px; }
  .preset-card { min-height: 96px; grid-template-columns: 66px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .preset-card img { width: 66px; height: 66px; }
  .preset-card strong { font-size: 20px; }
  .preset-card small { font-size: 13px; }
  .preset-card .preset-price { font-size: 17px; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .builder-panel.is-quick-start { padding-top: 92px; }
  .smart-start-header h2 { font-size: 36px; }
  .smart-start-header > p:last-child { margin-top: 10px; font-size: 15px; }
  .need-chips { margin-top: 11px; }
  .preset-grid { margin-top: 11px; gap: 8px; }
  .preset-card { min-height: 84px; }
  .preset-card img { width: 58px; height: 58px; }
}

@media (max-width: 900px) {
  body.quick-start-active .mobile-order-bar { display: none; }
  .builder-panel.is-quick-start { overflow: visible; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .smart-start-header h2 { font-size: clamp(36px, 8vw, 52px); }
  .preset-grid { grid-template-columns: 1fr; }
  .preset-card { min-height: 104px; }
  .builder-tools { margin-bottom: 8px; }
  .feature-modal { padding: 25px 20px; }
  .composition-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .smart-start-header > p:last-child { font-size: 16px; }
  .need-chip { padding-inline: 12px; font-size: 15px; }
  .preset-card { grid-template-columns: 68px minmax(0, 1fr); gap: 11px; padding: 11px; }
  .preset-card img { width: 68px; height: 68px; }
  .preset-card strong { font-size: 21px; }
  .preset-card small { font-size: 14px; }
  .preset-card .preset-price { grid-column: 2; font-size: 17px; }
  .feature-modal h2 { font-size: 36px; }
  .inline-form { grid-template-columns: 1fr; }
  .bowl-week-card { grid-template-columns: 64px minmax(0, 1fr); }
  .bowl-week-card button { grid-column: 1 / -1; }
  .history-item { grid-template-columns: 1fr; }
  .history-actions, .history-delete-confirm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .history-actions button:first-child { grid-column: 1 / -1; }
  .profile-section-head { align-items: flex-start; flex-direction: column; }
  .profile-section-head button { width: 100%; }
  .recipe-edit-notice { align-items: flex-start; flex-direction: column; }
  .saved-recipe-card { grid-template-columns: 1fr; padding: 13px; }
  .saved-recipe-actions, .saved-delete-confirm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .saved-recipe-actions button:first-child { grid-column: 1 / -1; }
  .saved-recipe-actions button, .saved-delete-confirm button { width: 100%; }
  .group-card { padding: 13px; }
  .group-card-head { align-items: flex-start; flex-direction: column; }
  .group-item { grid-template-columns: minmax(0, 1fr) auto; }
  .group-item button { grid-column: 1 / -1; justify-self: start; }
  .group-secondary-actions { grid-template-columns: 1fr; }
}

/* V09 — secondary actions in the left rail; only the ingredient grid may scroll. */
@media (min-width: 901px) {
  .showcase-copy-stack {
    position: absolute;
    z-index: 7;
    top: 96px;
    right: clamp(18px, 2vw, 38px);
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .showcase-copy-stack .intro-copy {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .builder-tools-desktop {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(251, 248, 242, .72);
    box-shadow: 0 14px 34px rgba(83, 66, 43, .08);
    backdrop-filter: blur(10px);
  }

  .builder-tools-desktop button {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border-radius: 11px;
    font-size: 17px;
    text-align: left;
  }

  .builder-tools-mobile { display: none; }
  body.quick-start-active .builder-tools-desktop { display: none; }

  .builder-panel:not(.is-quick-start) .desktop-builder {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-right: 0;
  }

  .desktop-category-tabs { flex: 0 0 auto; }

  .desktop-category-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .desktop-panel-heading { flex: 0 0 auto; }

  .ingredient-grid.desktop-active-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) transparent;
    padding: 0 22px 10px 0;
    margin-right: -22px;
  }

  .ingredient-grid.desktop-active-grid::-webkit-scrollbar { width: 8px; }
  .ingredient-grid.desktop-active-grid::-webkit-scrollbar-track {
    margin-block: 8px;
    background: transparent;
  }
  .ingredient-grid.desktop-active-grid::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }
  .ingredient-grid.desktop-active-grid::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--scrollbar-thumb);
    background-clip: padding-box;
  }
  .ingredient-grid.desktop-active-grid::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    background-clip: padding-box;
  }

  .desktop-active-grid.category-toppings .ingredient-card { min-height: 100px; }
  .desktop-active-grid.category-toppings .ingredient-thumb { width: 72px; height: 72px; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .showcase-copy-stack { top: 84px; width: 256px; }
  .builder-tools-desktop button { min-height: 44px; font-size: 15px; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .showcase-copy-stack { top: 72px; gap: 8px; }
  .builder-tools-desktop { gap: 6px; padding: 7px; }
  .builder-tools-desktop button { min-height: 44px; padding-block: 8px; }
  .desktop-active-grid.category-toppings .ingredient-card { min-height: 82px; }
  .desktop-active-grid.category-toppings .ingredient-thumb { width: 58px; height: 58px; }
}

@media (max-width: 900px) {
  .showcase-copy-stack {
    position: relative;
    z-index: 8;
    inset: auto;
    width: 100%;
    display: block;
  }
  .showcase-copy-stack .intro-copy {
    position: relative;
    inset: auto;
    width: min(630px, calc(100% - 48px));
    margin: 6px auto 0;
  }
  .builder-tools-desktop { display: none; }
  .builder-tools-mobile { display: flex; }
}

/* V09 mobile layer repair — clear stacking, full-width copy and reliable tap targets. */
@media (max-width: 900px) {
  .showcase { isolation: isolate; }
  .showcase.is-breakdown-open {
    z-index: 25;
    overflow: visible;
  }
  .showcase.is-breakdown-open .showcase-copy-stack { z-index: 26; }
  .showcase.is-breakdown-open .price-popover { z-index: 27; }
  .showcase::before,
  .bowl-wrap,
  .bowl-photo,
  .bowl-video { pointer-events: none; }

  .bowl-stage { z-index: 1; pointer-events: none; }
  .showcase-copy-stack { z-index: 2; }
  .builder-panel { position: relative; z-index: 3; }
  .mobile-category-tabs { z-index: 20; }
  .mobile-order-bar { z-index: 40; }
  .mobile-menu-panel { z-index: 50; }

  .mobile-category-tab,
  .ingredient-card,
  .builder-tools-mobile button,
  .mobile-order-bar button { min-height: 48px; }

  .mobile-total { padding-left: 8px; }
}

@media (max-width: 600px) {
  .bowl-stage {
    height: clamp(240px, 72vw, 292px);
    margin-top: 0;
    overflow: hidden;
  }
  .bowl-wrap {
    width: min(84vw, 360px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
  }
  .showcase-copy-stack .intro-copy {
    width: calc(100% - 28px);
    margin-top: 0;
    padding: 13px 16px;
  }
  .mobile-order-bar {
    left: 12px;
    right: 12px;
    grid-template-columns: minmax(88px, auto) 52px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }
  .mobile-order-bar .favorite-button { width: 52px; height: 52px; padding: 12px; }
  .mobile-order-bar .primary-button {
    min-width: 0;
    padding-inline: 10px;
    font-size: clamp(20px, 5.6vw, 24px);
  }
  .mobile-total { min-width: 0; }
}

/* V10 — explicit guided progression between ingredient categories. */
.step-next-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 16px 10px 19px;
  border: 1px solid rgba(99, 120, 71, .22);
  border-radius: 16px;
  color: #334024;
  background: linear-gradient(135deg, rgba(226, 236, 214, .96), rgba(214, 228, 198, .92));
  box-shadow: 0 9px 22px rgba(83, 102, 59, .1);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.step-next-button:hover {
  border-color: rgba(99, 120, 71, .4);
  box-shadow: 0 12px 26px rgba(83, 102, 59, .16);
}
.step-next-button > span { display: flex; align-items: baseline; gap: 11px; min-width: 0; }
.step-next-button strong {
  font-size: 25px;
  line-height: 1;
  font-weight: 640;
  letter-spacing: .035em;
  font-variation-settings: 'wght' 640, 'wdth' 92, 'opsz' 2;
}
.step-next-button small {
  overflow: hidden;
  color: var(--olive-deep);
  font-size: 16px;
  line-height: 1;
  font-weight: 480;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variation-settings: 'wght' 480, 'wdth' 100, 'opsz' 2;
}
.step-next-button svg { flex: 0 0 auto; width: 25px; height: 25px; stroke-width: 1.8; }

@media (min-width: 901px) {
  .desktop-step-next {
    flex: 0 0 auto;
    align-self: flex-end;
    min-width: 280px;
    margin-top: 12px;
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .desktop-step-next { min-height: 50px; margin-top: 8px; }
}

@media (max-width: 900px) {
  .mobile-category-panel { scroll-margin-top: 158px; }
  .mobile-step-next {
    width: 100%;
    min-height: 62px;
    margin: 14px 0 6px;
  }
}

@media (max-width: 600px) {
  .mobile-category-panel { scroll-margin-top: 145px; }
  .mobile-step-next { min-height: 60px; padding-inline: 17px; }
  .step-next-button strong { font-size: 24px; }
  .step-next-button small { font-size: 15px; }
}

/* V16 — selected-ingredient canvas, stronger utility actions and a tighter mobile hero. */
.selected-canvas {
  position: absolute;
  z-index: 8;
  left: clamp(22px, 2.4vw, 46px);
  right: clamp(18px, 2vw, 38px);
  bottom: 22px;
  min-height: 88px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(65, 55, 42, .12);
  border-radius: 18px;
  background: rgba(251, 248, 242, .78);
  box-shadow: 0 14px 34px rgba(83, 66, 43, .1);
  backdrop-filter: blur(12px);
}
.selected-canvas header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 620;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.selected-canvas header strong {
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--olive);
  font-size: 13px;
}
.selected-canvas-grid { display: flex; flex-wrap: wrap; gap: 8px; min-height: 48px; }
.selected-token {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: white;
  box-shadow: 0 6px 15px rgba(72, 57, 38, .14);
}
.selected-token img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.selected-token span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  z-index: 2;
  max-width: 170px;
  padding: 5px 8px;
  border-radius: 8px;
  color: white;
  background: rgba(24, 23, 19, .92);
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.selected-token:hover span { opacity: 1; transform: translate(-50%, 0); }
.selected-canvas-empty { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.35; }

.builder-tools button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 8px 13px;
  border-color: rgba(65, 55, 42, .15);
  text-align: left;
}
.builder-tools button svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  stroke-width: 1.8;
}
.builder-tools button span { font-size: 17px; line-height: 1.08; font-weight: 570; }
.builder-tools .tool-ready { background: rgba(251, 248, 242, .94); }
.builder-tools .tool-composition {
  color: #344126;
  background: linear-gradient(135deg, rgba(226, 236, 214, .98), rgba(214, 228, 198, .9));
  border-color: rgba(99, 120, 71, .22);
}
.builder-tools .tool-social {
  color: var(--share-ink);
  background: linear-gradient(135deg, var(--share-soft), var(--share-soft-strong));
  border-color: var(--share-line);
}
.builder-tools .tool-composition:hover {
  border-color: rgba(99, 120, 71, .42);
  box-shadow: 0 8px 18px rgba(72, 57, 38, .1);
}
.builder-tools .tool-social:hover {
  border-color: rgba(22, 78, 99, .42);
  box-shadow: 0 8px 18px rgba(22, 78, 99, .12);
}

.main-menu-catalog {
  grid-column: 1 / -1;
  padding: clamp(42px, 6vw, 88px) clamp(18px, 5vw, 92px) clamp(92px, 8vw, 128px);
  background: linear-gradient(180deg, rgba(251, 248, 242, .94), rgba(246, 241, 232, .98));
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

body.menu-page .showcase,
body.menu-page .builder-panel,
body.menu-page .mobile-order-bar {
  display: none;
}

body.menu-page .main-menu-catalog {
  min-height: calc(100dvh - 86px);
  border-top: 0;
}

body.menu-page .builder-page {
  display: block;
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

body.menu-page .header-compact { display: none !important; }

@media (min-width: 901px) {
  body.menu-page .site-header {
    background: rgba(248, 243, 235, .94);
    border-bottom: 1px solid rgba(65, 55, 42, .08);
    backdrop-filter: blur(14px);
  }

  body.menu-page .main-menu-catalog {
    padding-top: 118px;
  }
}
.main-menu-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.main-menu-head h2 {
  margin: 0 0 28px;
  font-size: clamp(38px, 3vw, 58px);
  line-height: .92;
  font-weight: 590;
  text-transform: uppercase;
  font-variation-settings: 'wght' 590, 'wdth' 90, 'opsz' 2;
}
.main-menu-head p:last-child {
  margin: 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.catalog-filter-sticky {
  position: sticky;
  top: 76px;
  z-index: 12;
  margin: 0 0 42px;
  background: rgba(251, 248, 242, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  transform: translateZ(0);
}
.catalog-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 14px max(20px, calc((100% - 110px) / 2));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: max(20px, calc((100% - 110px) / 2));
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  background: transparent;
}
.catalog-filters::-webkit-scrollbar { display: none; }
.catalog-filter {
  position: relative;
  flex: 0 0 110px;
  min-height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 29px;
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: 'wght' 560, 'wdth' 82, 'opsz' 2;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  scroll-snap-align: center;
  opacity: calc(.68 + var(--menu-filter-focus, 0) * .32);
  transform: scale(calc(1 + var(--menu-filter-focus, 0) * .103));
  transform-origin: center;
  will-change: transform, opacity;
  transition: color .18s ease, opacity .12s ease-out;
}
.catalog-filter::after {
  content: '';
  position: absolute;
  inset: 0 7.5px;
  border: 1px solid rgba(83, 78, 65, .18);
  border-radius: var(--radius-control);
  corner-shape: squircle;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease-out;
}
.catalog-filter.is-active {
  color: #334024;
  background: transparent;
}
.catalog-filter.is-active::after { opacity: 1; }
.favorite-name-dialog { width:min(420px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; margin:auto; padding:32px 24px 24px; border:0; border-radius:var(--radius-card); background:var(--paper,#fbf8f2); color:var(--ink); }
.favorite-name-dialog::backdrop { background:rgba(30,30,24,.35); }
.favorite-name-dialog h2 { margin:0 48px 18px 0; font:560 36px/1.1 var(--font-brand); }
.favorite-name-dialog p, .favorite-name-dialog label { font:400 15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.favorite-name-dialog label { display:block; margin:20px 0 8px; }
html body .favorite-name-dialog input { box-sizing:border-box; width:100%; min-height:48px; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius-control); color:var(--ink); background:#fff; font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.favorite-name-dialog input:focus-visible { outline:2px solid var(--olive); outline-offset:2px; }
.favorite-name-dialog #favoriteNameHint { color:var(--muted); font-size:13px; }
.favorite-name-dialog .favorite-name-error { color:#88483e; }
.favorite-name-error:empty { display:none; }
.favorite-name-dialog .primary-button { width:100%; margin-top:12px; }
.favorite-confirm-dialog h2 { margin-right:0; }
.favorite-confirm-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }
html body .favorite-confirm-actions button { min-height:44px; padding:10px 18px; border:1px solid var(--line); border-radius:var(--radius-control); color:var(--ink); background:#fff; font:560 22px/1 var(--font-brand); cursor:pointer; }
html body .favorite-confirm-actions [data-confirm-remove] { border-color:var(--web-destructive,#88483e); color:#fff; background:var(--web-destructive,#88483e); }
.favorite-confirm-actions button:hover { filter:brightness(.96); }
.favorite-confirm-actions button:focus-visible { outline:0; border-color:var(--olive-deep); box-shadow:inset 0 0 0 2px var(--olive-deep); }
.favorite-confirm-actions [data-confirm-remove]:focus-visible { border-color:#fff; box-shadow:inset 0 0 0 2px #fff; }
.favorite-choice { position:fixed; z-index:80; width:240px; max-width:calc(100vw - 24px); display:grid; gap:4px; padding:8px; border:1px solid rgba(117,96,71,.16); border-radius:18px; background:#fbf8f2; color:var(--ink); animation:favorite-choice-in .14s ease-out; }
html body .favorite-choice button { display:flex; align-items:center; width:100%; min-height:48px; padding:10px 12px; border:0; border-radius:11px; background:transparent; color:inherit; font:500 15px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:normal; text-align:left; text-transform:none !important; cursor:pointer; touch-action:manipulation; }
.favorite-choice button:hover,.favorite-choice button:focus-visible { background:#f0e9de; }
.favorite-choice button:focus-visible { outline:2px solid var(--olive-deep); outline-offset:-2px; }
.favorite-choice button:active { background:rgba(232,225,211,.8); }
@keyframes favorite-choice-in { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .favorite-choice { animation:none; } }
.catalog-favorites-empty { grid-column:1/-1; padding:44px 20px; text-align:center; color:var(--muted); }
.catalog-favorites-empty strong { display:block; color:var(--ink); font:560 28px/1.2 var(--font-brand); }
.catalog-favorites-empty p { margin:10px 0 16px; font:400 15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.favorite-recipe-card .catalog-copy h3 { text-wrap:balance; }
.favorite-recipe-card .catalog-copy > p { min-height:2.8em; font:400 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.favorite-recipe-card.is-sold-out .favorite-recipe-add { min-width:132px; width:auto; height:46px; padding:0 14px; border-radius:var(--radius-control); font:560 14px/1 var(--font-brand); }
.favorite-recipe-card .catalog-buy { gap:12px; }
@media (max-width:900px) {
  .favorite-recipe-card .catalog-copy > p { font-size:13px; }
  .favorite-recipe-card.is-sold-out .favorite-recipe-add { min-width:0; width:100%; }
}
.profile-saved-product { min-width:0; }
.profile-saved-product > button { display:block; min-height:44px; margin:0; padding:8px; border:0; background:transparent; text-align:left; cursor:pointer; }
.profile-saved-product .profile-product-chip strong, .profile-saved-product .profile-product-chip small { white-space:normal; overflow-wrap:anywhere; }
.catalog-controls { display:flex; align-items:center; justify-content:flex-start; gap:clamp(12px, 2vw, 24px); margin:4px 0 18px; }
.catalog-sort { display:flex; flex:0 1 auto; align-items:center; gap:8px; min-width:0; justify-content:flex-start; margin:0; color:var(--muted); font:400 14px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.catalog-sort-picker { position:relative; flex:none; }
html body.web-commerce .catalog-sort-trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:174px; min-height:44px; padding:8px 12px; border:1px solid transparent; border-radius:12px; color:var(--olive-deep); background:rgba(232,225,211,.42); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; font-size:14px; font-weight:400; line-height:1.3; letter-spacing:normal; text-align:left; text-transform:none !important; white-space:nowrap; cursor:pointer; transition:background-color 140ms ease, color 140ms ease; }
.catalog-sort-trigger > span { overflow:hidden; text-overflow:ellipsis; text-transform:none !important; }
.catalog-sort-trigger > svg { width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; transition:transform 160ms ease; }
.catalog-sort.is-open .catalog-sort-trigger { background:rgba(232,225,211,.72); }
.catalog-sort.is-open .catalog-sort-trigger > svg { transform:rotate(180deg); }
@media (hover:hover) { .catalog-sort-trigger:hover { background:rgba(232,225,211,.68); } }
.catalog-sort-trigger:focus-visible { outline:2px solid rgba(79,105,57,.42); outline-offset:2px; background:rgba(232,225,211,.58); }
.catalog-sort-options { position:absolute; z-index:40; top:calc(100% + 6px); left:0; min-width:100%; padding:5px; border:1px solid var(--line); border-radius:13px; background:var(--paper); transform-origin:top left; animation:catalog-sort-open 150ms ease-out both; }
.catalog-sort-options[hidden] { display:none; }
.catalog-sort-option { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:40px; padding:8px 10px; border-radius:8px; color:var(--ink); font:400 14px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; white-space:nowrap; cursor:pointer; }
.catalog-sort-option > svg { width:16px; height:16px; flex:none; fill:none; stroke:var(--olive-deep); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; opacity:0; }
.catalog-sort-option[aria-selected="true"] { color:var(--olive-deep); background:rgba(232,225,211,.36); }
.catalog-sort-option[aria-selected="true"] > svg { opacity:1; }
@media (hover:hover) { .catalog-sort-option:hover { background:rgba(232,225,211,.62); } }
.catalog-sort-option:active { background:rgba(232,225,211,.78); }
.catalog-sort-option:focus-visible { outline:none; color:var(--olive-deep); background:rgba(232,225,211,.62); }
@keyframes catalog-sort-open { from { opacity:0; transform:translateY(-3px) scale(.99); } to { opacity:1; transform:translateY(0) scale(1); } }
.catalog-favorites-toggle { min-height:44px; display:flex; align-items:center; gap:8px; position:relative; color:var(--ink); font:500 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; white-space:nowrap; cursor:pointer; }
.catalog-favorites-toggle input { position:absolute; width:1px; height:1px; opacity:0; }
.catalog-favorites-toggle i { width:44px; height:28px; flex:none; padding:3px; border-radius:999px; background:#c5c5bf; transition:background-color .18s ease; }
.catalog-favorites-toggle i::after { content:""; display:block; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.16); transition:transform .18s ease; }
.catalog-favorites-toggle input:checked + i { background:var(--olive-deep); }
.catalog-favorites-toggle input:checked + i::after { transform:translateX(16px); }
.catalog-favorites-toggle input:focus-visible + i { outline:3px solid rgba(99,120,71,.28); outline-offset:3px; }
.catalog-card { transition:background-color .18s ease, border-color .18s ease; }
.catalog-favorite { left:var(--catalog-badge-inset, 10px); padding:0; border:0; color:#806f58; background:#eee5d7; opacity:1; cursor:pointer; transition:opacity .18s ease, background-color .18s ease; }
.catalog-favorite svg,.product-favorite svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.catalog-favorite.is-favorite { color:#756047; background:#e4d5bf; opacity:1; }.catalog-favorite.is-favorite svg,.product-favorite.is-favorite svg { fill:currentColor; }
.order-history-filters { display:flex; flex-wrap:wrap; gap:12px; margin:0 0 22px; }.order-history-filters label { display:grid; gap:5px; color:var(--muted); font-size:13px; }.order-history-filters input,.order-history-filters button { min-height:42px; padding:7px 10px; border:1px solid var(--line); border-radius:12px; background:#fff; font:inherit; }.order-history-filters button { align-self:end; cursor:pointer; color:var(--olive-deep); }
.profile-product-rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(150px, 190px); gap:10px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; }.profile-product-chip { display:grid; grid-template-columns:56px minmax(0,1fr); column-gap:9px; align-items:center; min-height:72px; padding:8px; border-radius:18px; color:var(--ink); background:rgba(255,255,255,.74); text-decoration:none; }.profile-product-chip img { grid-row:1 / span 2; width:56px; height:56px; object-fit:cover; border-radius:14px; }.profile-product-chip strong { overflow:hidden; font-size:15px; text-overflow:ellipsis; white-space:nowrap; }.profile-product-chip small { color:var(--muted); }
.profile-personal-products .profile-product-rail { display:flex; gap:14px; overflow-x:auto; padding:0 0 4px; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; }
.profile-personal-products :is(.profile-saved-product,.profile-product-chip) { display:grid; flex:0 0 calc((100% - 14px)/2); grid-template-columns:110px minmax(0,1fr); gap:12px; align-items:center; min-width:0; min-height:130px; padding:9px; border:1px solid rgba(67,59,48,.08); border-radius:20px; background:#fff; scroll-snap-align:start; }
.profile-personal-products .profile-product-chip img { grid-row:auto; width:110px; height:110px; border-radius:12px; }
.profile-personal-products .profile-product-chip strong { display:-webkit-box; overflow:hidden; text-overflow:clip; white-space:normal; text-transform:uppercase; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.profile-favorites .profile-saved-product { transition:opacity .18s ease, transform .18s ease; }
.profile-favorites .profile-saved-product.is-removing { opacity:0; transform:scale(.97); pointer-events:none; }
.profile-favorite-image,.profile-favorite-name { min-width:0; color:var(--ink); text-decoration:none; }
.profile-favorite-image img { display:block; width:110px; height:110px; object-fit:cover; border-radius:12px; }
.profile-favorite-body { display:flex; min-width:0; min-height:110px; flex-direction:column; justify-content:space-between; }
.profile-favorite-name strong { display:-webkit-box; overflow:hidden; font:560 19px/1.12 var(--font-brand); text-transform:uppercase; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.profile-favorite-name small { display:block; overflow:hidden; margin-top:2px; color:var(--muted); font:400 13px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.profile-favorite-actions { display:flex; gap:4px; margin-top:6px; }
.profile-favorite-actions button { display:grid; width:40px; height:40px; place-items:center; border:0; border-radius:10px; color:var(--olive-deep); background:#f5f4ee; cursor:pointer; transition:background-color .15s ease, color .15s ease; }
.profile-favorite-actions button:hover { background:#e9ecdf; }
.profile-favorite-actions button[data-remove-favorite]:hover { color:var(--web-destructive,#88483e); background:#f4e8e3; }
.profile-favorite-actions button:focus-visible,.profile-favorite-image:focus-visible,.profile-favorite-name:focus-visible { outline:2px solid var(--olive-deep); outline-offset:2px; }
.profile-favorite-actions svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.profile-carousel-controls { display:flex; align-items:center; gap:5px; }
.profile-carousel-controls > span { margin-right:5px; }
.profile-carousel-controls > button { width:44px; height:44px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--olive-deep); background:#fff; font:400 22px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; }
.profile-carousel-controls > button:hover { background:#f0eee5; }
.profile-carousel-controls > button:focus-visible { outline:2px solid var(--olive-deep); outline-offset:2px; }
.profile-favorites-banner { position:relative; display:flex; align-items:center; width:min(620px,100%); min-height:178px; margin:-10px auto 0; overflow:hidden; border-radius:25px; color:var(--ink); background:#e8ecdc; text-decoration:none; transition:background-color .18s ease; }
.profile-favorites-banner:hover { background:#dfe7d1; }
.profile-favorites-banner:focus-visible { outline:3px solid var(--olive-deep); outline-offset:3px; }
.profile-favorites-banner-copy { position:relative; z-index:1; display:grid; justify-items:start; gap:6px; max-width:70%; padding:23px 26px; }
.profile-favorites-banner-copy > small { color:var(--olive-deep); font:650 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:.12em; }
.profile-favorites-banner-copy > strong { font:600 clamp(29px,4vw,39px)/.98 var(--font-brand); text-transform:uppercase; }
.profile-favorites-banner-copy > span { font:400 14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.profile-favorites-banner-copy > b { display:flex; align-items:center; gap:8px; margin-top:9px; color:var(--olive-deep); font:600 13px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:.05em; }
.profile-favorites-banner-copy svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:transform .18s ease; }
.profile-favorites-banner:hover svg { transform:translateX(4px); }
.profile-favorites-banner > img { position:absolute; right:8px; bottom:-25px; width:175px; height:175px; object-fit:contain; }
@media (max-width:600px) {
  .profile-personal-products .profile-product-rail { gap:10px; }
  .profile-personal-products :is(.profile-saved-product,.profile-product-chip) { flex-basis:calc((100% - 10px)/2); grid-template-columns:60px minmax(0,1fr); gap:7px; min-height:124px; padding:6px; border-radius:17px; }
  .profile-favorite-image img,.profile-personal-products .profile-product-chip img { width:60px; height:106px; border-radius:11px; }
  .profile-favorite-body { min-height:106px; }
  .profile-favorite-name strong { font-size:15px; }
  .profile-favorite-name small { font-size:11px; }
  .profile-favorite-actions { gap:2px; margin-top:2px; }
  .profile-favorite-actions button { width:36px; height:36px; border-radius:9px; }
  .profile-favorite-actions svg { width:18px; height:18px; }
  .profile-favorites-banner { min-height:166px; border-radius:21px; }
  .profile-favorites-banner-copy { max-width:75%; padding:18px; }
  .profile-favorites-banner-copy > strong { font-size:29px; }
  .profile-favorites-banner-copy > span { font-size:12px; }
  .profile-favorites-banner > img { right:-23px; bottom:-12px; width:130px; height:130px; }
}
@media (prefers-reduced-motion:reduce) { .profile-favorites-banner,.profile-favorites-banner-copy svg,.profile-saved-product { transition:none !important; } }
@media (max-width:900px) {
  .catalog-controls { gap:8px; margin-bottom:12px; }
  .catalog-sort-label { display:none; }
  .catalog-sort-picker { flex:1 1 auto; min-width:0; }
  html body.web-commerce .catalog-sort-trigger { width:clamp(124px, 40vw, 156px); min-width:0; min-height:42px; padding-inline:10px; gap:8px; font-size:13px; }
  .catalog-sort-options { min-width:max(100%, 158px); }
  .catalog-favorites-toggle { gap:6px; font-size:13px; }
  .catalog-favorites-toggle i { width:40px; height:26px; padding:3px; }
  .catalog-favorites-toggle i::after { width:20px; height:20px; }
  .catalog-favorites-toggle input:checked + i::after { transform:translateX(14px); }
}
@media (max-width:360px) {
  .catalog-favorites-toggle { gap:5px; font-size:12px; }
  .catalog-favorites-toggle i { width:36px; }
  html body.web-commerce .catalog-sort-trigger { width:38vw; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-favorites-toggle i,
  .catalog-favorites-toggle i::after,
  .catalog-sort-trigger > svg { transition:none; }
  .catalog-sort-options { animation:none; }
}
.catalog-filter:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: -4px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px) clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.catalog-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}
.catalog-card:hover,
.catalog-card:focus-within {
  transform: none;
}
.catalog-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.catalog-media > a { display: block; }
.catalog-added-state, .catalog-favorite {
  position: absolute;
  top: var(--catalog-badge-inset, 10px);
  z-index: 2;
  display: grid;
  width: var(--catalog-badge-size, 36px);
  height: var(--catalog-badge-size, 36px);
  place-items: center;
  border-radius: 50%;
}
.catalog-added-state {
  right: var(--catalog-badge-inset, 10px);
  color: #fff;
  background: var(--olive-deep);
  box-shadow: 0 6px 16px rgba(54, 68, 39, .22);
  pointer-events: none;
}
.catalog-added-state svg, .catalog-favorite svg {
  width: var(--catalog-badge-icon, 21px);
  height: var(--catalog-badge-icon, 21px);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catalog-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  background: white;
  box-shadow: 0 10px 24px rgba(72, 57, 38, .11);
  transition: transform .64s cubic-bezier(.2,.8,.2,1), box-shadow .64s ease, filter .64s ease;
  transform-origin: center;
  will-change: transform;
}
.catalog-media:hover img,
.catalog-media:focus-visible img {
  transform: scale(1.15);
  filter: saturate(1.12) contrast(1.06);
  box-shadow: 0 18px 34px rgba(72, 57, 38, .17);
  transition-duration: 1.1s;
}
.catalog-copy {
  align-self: start;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 0 14px;
}
.catalog-card h3 {
  margin: 0;
  font-size: clamp(25px, 1.75vw, 34px);
  font-family: var(--font-display);
  line-height: .96;
  font-weight: 560;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-variation-settings: 'wght' 560, 'wdth' 82, 'opsz' 2;
  transition: color .2s ease;
}
.catalog-card h3 a { color: inherit; text-decoration: none; }
.catalog-card:hover h3,
.catalog-card:focus-within h3 { color: var(--olive-deep); }
.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.catalog-card strong {
  font-family: var(--font-display);
  font-size: 29px;
  line-height: .95;
  font-weight: 610;
  font-variation-settings: 'wght' 610, 'wdth' 92, 'opsz' 2;
  transition: color .2s ease;
}
.catalog-card:hover strong,
.catalog-card:focus-within strong { color: var(--olive-deep); }
.catalog-buy {
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 0;
}
.catalog-add {
  position: relative;
  width: 72px;
  min-width: 72px;
  height: 72px;
  border: 1px solid rgba(99, 120, 71, .3);
  border-radius: 999px;
  color: var(--olive-deep);
  background: rgba(220, 231, 204, .42);
  cursor: pointer;
  font-size: 62px;
  font-weight: 560;
  line-height: 1;
  font-variation-settings: 'wght' 560, 'wdth' 84, 'opsz' 2;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.catalog-add.catalog-configure > svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catalog-quantity-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  padding: 0 6px;
  border: 2px solid var(--cream, #fbf8f2);
  border-radius: 999px;
  color: #fff;
  background: #668aa5;
  box-shadow: 0 3px 9px rgba(45, 82, 108, .24);
  font: 650 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  pointer-events: none;
}
.catalog-stepper {
  display: grid;
  grid-template-columns: 52px 38px 52px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(99, 120, 71, .36);
  border-radius: 999px;
  background: rgba(220, 231, 204, .5);
  overflow: hidden;
  color: var(--olive-deep);
  box-shadow: 0 10px 18px rgba(99, 120, 71, .1);
}
.catalog-stepper button {
  width: 52px;
  height: 58px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  font-family: var(--font-brand);
  font-variation-settings: 'wght' 560, 'wdth' 84, 'opsz' 2;
}
.catalog-stepper span {
  min-width: 38px;
  text-align: center;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: 'wght' 610, 'wdth' 92, 'opsz' 2;
}
.catalog-card:hover .catalog-stepper,
.catalog-card:focus-within .catalog-stepper {
  border-color: var(--olive-deep);
  background: rgba(220, 231, 204, .72);
}
.catalog-stepper button:hover {
  color: white;
  background: var(--olive-deep);
}
.catalog-card:hover .catalog-add,
.catalog-card:focus-within .catalog-add,
.catalog-add:hover {
  color: white;
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  box-shadow: 0 12px 22px rgba(99, 120, 71, .22);
  transform: scale(1.06);
}

.catalog-add:active {
  transform: scale(.98);
}

html:not(.is-native-app) .catalog-add,
html.is-mobile-web .catalog-add {
  transform: scale(.98);
}
html:not(.is-native-app) .catalog-card:hover .catalog-add,
html:not(.is-native-app) .catalog-card:focus-within .catalog-add,
html:not(.is-native-app) .catalog-add:hover,
html.is-mobile-web .catalog-card:hover .catalog-add,
html.is-mobile-web .catalog-card:focus-within .catalog-add,
html.is-mobile-web .catalog-add:hover {
  transform: scale(1.04);
}
html:not(.is-native-app) .catalog-add:active,
html.is-mobile-web .catalog-add:active {
  transform: scale(.96);
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card,
  .catalog-media img,
  .catalog-add,
  .catalog-filter {
    transition: none;
  }
}

.favorite-recipe-card {
  transition: opacity 170ms ease, transform 170ms ease;
}
.favorite-recipe-card.is-removing {
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .favorite-recipe-card { transition: none; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  body.menu-page .main-menu-catalog { padding-top: 108px; }
  .main-menu-head h2 { font-size: 42px; }
  .main-menu-head p:last-child { font-size: 16px; }
}

@media (max-height: 780px) and (min-width: 901px) {
  body.menu-page .main-menu-catalog { padding-top: 92px; }
  .main-menu-head h2 { font-size: 36px; }
  .main-menu-head p:last-child { font-size: 15px; }
}

@media (max-width: 1500px) {
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .main-menu-catalog {
    padding: 36px 14px calc(132px + env(safe-area-inset-bottom));
    scroll-margin-top: 84px;
  }
  body.menu-page .main-menu-catalog {
    padding-top: 112px;
  }
  body.menu-page .catalog-filter-sticky {
    top: calc(var(--app-header-h) + env(safe-area-inset-top));
    z-index: 24;
    width: calc(100% + 28px);
    margin: 0 -14px 24px;
    background: rgba(251, 248, 242, .76);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    backdrop-filter: blur(16px) saturate(1.08);
  }
  body.menu-page .catalog-filters { padding-block: 12px; }
  body.menu-page .catalog-filter-fab {
    position: fixed;
    z-index: 58;
    left: 22px;
    top: 86px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(251,248,242,.86);
    box-shadow: 0 10px 28px rgba(71,54,34,.08);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }
  body.menu-page.catalog-filter-fab-visible .catalog-filter-fab {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  body.menu-page .catalog-filter-fab svg {
    width: 25px;
    height: 25px;
  }
  body.menu-page .catalog-filter-overlay {
    position: fixed;
    z-index: 45;
    inset: 0;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: calc(90px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(251,248,242,.98), rgba(240,232,219,.99));
    animation: mobile-menu-rise .36s cubic-bezier(.19, 1, .22, 1) both;
  }
  body.menu-page .catalog-filter-overlay[hidden] {
    display: none;
  }
  body.catalog-filter-open {
    overflow: hidden;
  }
  .catalog-filter-overlay-list {
    width: min(520px, 100%);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    display: grid;
    gap: 10px;
  }
  .catalog-filter-overlay .catalog-filter {
    width: 100%;
    min-height: 66px;
    justify-content: space-between;
    padding: 0 24px;
    font-size: clamp(30px, 9vw, 44px);
    text-transform: uppercase;
  }
  .main-menu-head { margin-bottom: 18px; }
  .main-menu-head h2 { font-size: clamp(44px, 13vw, 68px); }
  .main-menu-head p:last-child { font-size: 18px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .catalog-card { gap: 16px; }
  .catalog-media { border-radius: 8px; }
  .catalog-media img { aspect-ratio: 1; }
  .catalog-card h3 { font-size: clamp(19px, 5.8vw, 25px); }
  .catalog-card p { font-size: 14px; }
  .catalog-card strong { font-size: 24px; }
  .catalog-copy { padding: 0 8px; }
  .catalog-buy { padding: 8px 8px 0; }
  .catalog-add { width: 58px; min-width: 58px; height: 58px; font-size: 50px; }
  .catalog-stepper { grid-template-columns: 42px 30px 42px; min-height: 46px; }
  .catalog-stepper button { width: 42px; height: 46px; font-size: 30px; }
  .catalog-stepper span { min-width: 30px; font-size: 22px; }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .selected-canvas { left: 20px; right: 18px; bottom: 16px; padding: 10px 12px 12px; }
  .selected-canvas-grid { gap: 6px; }
  .selected-token { flex-basis: 40px; width: 40px; height: 40px; }
  .builder-tools-desktop button { min-height: 58px; padding: 8px 10px; }
  .builder-tools button span { font-size: 16px; }
}

@media (max-width: 900px) {
  .selected-canvas { display: none; }
  .builder-tools-mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .builder-tools-mobile .tool-ready { grid-column: 1 / -1; }
  .builder-tools-mobile button { min-height: 68px; }
}

@media (max-width: 600px) {
  .showcase { padding-top: 58px; }
  .bowl-stage {
    height: clamp(176px, 50vw, 206px);
    margin-top: -12px;
  }
  .bowl-wrap {
    width: min(74vw, 300px);
    top: 48%;
    transform: translate(-50%, -58%);
  }
  .showcase-copy-stack { margin-top: -28px; }
  .showcase-copy-stack .intro-copy {
    position: relative;
    z-index: 3;
    background: rgba(251, 248, 242, .94);
    box-shadow: 0 16px 34px rgba(83, 66, 43, .13);
  }
  .builder-tools-mobile button { min-height: 72px; padding: 9px; }
  .builder-tools-mobile button svg { width: 38px; height: 38px; padding: 8px; }
  .builder-tools-mobile button span { font-size: 16px; }
}

/* V17 — stable ingredient-card hover/focus inside the clipped desktop scroller. */
.ingredient-card {
  transition-property: background-color, border-color, box-shadow;
}
.ingredient-card:hover {
  transform: none;
  border-color: rgba(99, 120, 71, .38);
  box-shadow: 0 8px 20px rgba(72, 57, 38, .1);
}
.ingredient-card:focus-visible {
  outline: none;
  border-color: rgba(99, 120, 71, .52);
  box-shadow: inset 0 0 0 3px rgba(99, 120, 71, .32), 0 8px 20px rgba(72, 57, 38, .1);
}

/* V21 — honest bowl review: atmospheric photo background with actual selected ingredient icons. */
@media (max-width: 600px) {
  .order-modal { padding: 24px 18px; }
  .order-modal h2 { max-width: calc(100% - 52px); font-size: clamp(36px, 11vw, 46px); }
  .modal-bowl, .modal-ingredient-icons { min-height: 206px; }
  .modal-ingredient-icons { grid-template-columns: repeat(5, 48px); gap: 8px; padding: 12px 8px; }
  .modal-ingredient-token { width: 48px; height: 48px; padding: 3px; }
  .modal-ingredient-icons.is-dense { grid-template-columns: repeat(6, 42px); gap: 7px; }
  .modal-ingredient-icons.is-dense .modal-ingredient-token { width: 42px; height: 42px; }
}

@media (max-width: 359px) {
  .modal-ingredient-icons { grid-template-columns: repeat(5, 44px); }
  .modal-ingredient-token { width: 44px; height: 44px; }
  .modal-ingredient-icons.is-dense { grid-template-columns: repeat(5, 40px); }
  .modal-ingredient-icons.is-dense .modal-ingredient-token { width: 40px; height: 40px; }
}

/* Medium screens use the compact mobile hero rhythm instead of a viewport-sized bowl. */
@media (min-width: 601px) and (max-width: 900px) {
  .bowl-stage {
    height: clamp(248px, 40vw, 340px);
    margin-top: -4px;
    overflow: hidden;
  }
  .bowl-wrap {
    width: min(58vw, 460px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%);
  }
  .showcase-copy-stack { margin-top: -24px; }
  .showcase-copy-stack .intro-copy {
    position: relative;
    z-index: 3;
    background: rgba(251, 248, 242, .94);
    box-shadow: 0 16px 34px rgba(83, 66, 43, .13);
  }

  .mobile-category-tab strong { font-size: clamp(17px, 2.6vw, 19px); }
}

@media (max-width: 600px) {
  .mobile-category-tab strong { font-size: clamp(16px, 4.5vw, 18px); }
}

/* Catalog hover: final override after legacy V-blocks. */
.catalog-media img {
  transform: scale(1);
  transition: transform .64s cubic-bezier(.2,.8,.2,1), filter .64s ease, box-shadow .64s ease;
}
.catalog-media:hover img,
.catalog-media:focus-visible img {
  transform: scale(1.15);
  transition-duration: 1.1s;
}

@media (max-width: 900px) {
  .builder-panel { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .main-menu-catalog { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* iOS app shell pass — safe areas, touch-first states, no sticky price chip. */
@supports (height: 100dvh) {
  body { min-height: 100dvh; }
  .page-shell { min-height: 100dvh; }
}

@supports not (height: 100dvh) {
  body { min-height: var(--app-vh, 100vh); }
  .page-shell { min-height: var(--app-vh, 100vh); }
}

@media (max-width: 900px) {
  .site-header {
    height: calc(var(--app-header-h) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }

  .brand-link {
    top: auto;
    margin: 0;
  }

  .showcase {
    padding-top: calc(var(--app-header-h) + env(safe-area-inset-top));
  }

  .mobile-menu-panel {
    padding-top: calc(env(safe-area-inset-top) + 4px);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .mobile-menu-links {
    padding-top: calc(var(--app-header-h) + clamp(42px, 9vh, 92px));
  }

  .mobile-category-tabs {
    top: calc(var(--app-header-h) + env(safe-area-inset-top) + 8px);
  }

  .mobile-order-bar {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .header-compact,
  .header-compact.visible {
    display: none !important;
  }

  .cart-modal,
  .order-modal,
  .feature-modal {
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
  }

  body.menu-page .catalog-filter-fab {
    top: calc(var(--app-header-h) + env(safe-area-inset-top) + 10px);
  }

  body.menu-page .catalog-filter-overlay {
    padding-top: calc(var(--app-header-h) + env(safe-area-inset-top) + 34px);
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 600px) {
  .site-header {
    height: calc(var(--app-header-h) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
}

@media (hover: none) and (pointer: coarse) {
  .mobile-menu-links:hover .mobile-menu-item:not(:hover),
  .mobile-menu-links:focus-within .mobile-menu-item:not(:focus-visible) {
    color: var(--ink);
  }

  .mobile-menu-item:hover,
  .mobile-menu-item:focus-visible {
    color: var(--ink);
  }

  .mobile-menu-item:active {
    color: var(--olive-deep);
  }

  .catalog-card:hover .catalog-media img,
  .catalog-media:hover img,
  .ingredient-card:hover,
  .preset-card:hover,
  .desktop-category-tab:hover,
  .primary-button:hover {
    transform: none;
  }

  .ingredient-card:active,
  .preset-card:active,
  .primary-button:active,
  .icon-button:active,
  .menu-link:active {
    opacity: .72;
  }
}

.legal-page {
  min-height: 100dvh;
  background: var(--milk);
}

.legal-doc {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: calc(54px + env(safe-area-inset-top)) 0 calc(54px + env(safe-area-inset-bottom));
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--olive-deep);
  text-decoration: none;
  font-size: 20px;
}

.legal-doc h1,
.legal-doc h2 {
  margin: 26px 0 10px;
  font-variation-settings: 'wght' 590, 'wdth' 86, 'opsz' 2;
}

.legal-doc h1 {
  font-size: clamp(48px, 10vw, 86px);
  line-height: .9;
}

/* iOS shell: system scrolling, native-feeling sheets and touch feedback. */
html.is-native-app {
  -webkit-text-size-adjust: 100%;
}

html.is-native-app button,
html.is-native-app a,
html.is-native-app [role="button"] {
  -webkit-touch-callout: none;
  user-select: none;
}

@media (max-width: 900px) {
  html.is-native-app .showcase {
    padding-top: 0;
  }

  html.is-native-app,
  html.is-native-app body {
    height: 100dvh;
    overflow: hidden;
  }

  html.is-native-app .page-shell {
    height: 100%;
    min-height: 0;
    padding-top: calc(var(--app-header-h) + env(safe-area-inset-top));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  html,
  body,
  .page-shell,
  .builder-panel,
  .mobile-menu-panel,
  .catalog-filter-overlay,
  .catalog-filter-overlay-list,
  .main-menu-catalog {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  .builder-panel::-webkit-scrollbar,
  .mobile-menu-panel::-webkit-scrollbar,
  .catalog-filter-overlay::-webkit-scrollbar,
  .catalog-filter-overlay-list::-webkit-scrollbar,
  .main-menu-catalog::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .order-modal,
  .cart-modal,
  .feature-modal {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - env(safe-area-inset-top) - 12px);
    margin: 0;
    padding: 32px 18px calc(22px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 26px 26px 0 0;
    animation: ios-sheet-in .28s cubic-bezier(.22, .75, .18, 1);
  }

  .order-modal::before,
  .cart-modal::before,
  .feature-modal::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    width: 36px;
    height: 5px;
    border-radius: 999px;
    background: rgba(76, 67, 55, .24);
    transform: translateX(-50%);
  }

  .order-modal::backdrop,
  .cart-modal::backdrop,
  .feature-modal::backdrop {
    background: rgba(28, 25, 21, .46);
    backdrop-filter: blur(3px);
  }

  .modal-close {
    top: 20px;
  }

  .toast {
    width: max-content;
    max-width: calc(100vw - 32px);
    bottom: calc(104px + env(safe-area-inset-bottom));
    white-space: normal;
    text-align: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  html.is-native-app button:active,
  html.is-native-app a:active,
  html.is-native-app [role="button"]:active {
    opacity: .78;
    transform: scale(.985);
  }
}

@keyframes ios-sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.legal-doc h2 {
  font-size: clamp(28px, 5vw, 40px);
}

.legal-doc p {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.35;
}

/* V49 — native top-level navigation and iPhone readability. */
.native-tab-bar { display: none; }

@media (max-width: 900px) {
  html.is-native-app { color-scheme: light; }

  html.is-native-app .native-tab-bar {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    height: 80px;
    min-height: 0;
    max-height: 80px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 5px 18px;
    border-top: 1px solid rgba(65, 55, 42, .12);
    background: rgba(251, 248, 242, .92);
    box-shadow: 0 -10px 32px rgba(57, 45, 31, .08);
    backdrop-filter: blur(18px) saturate(1.15);
    overflow: hidden;
  }

  html.is-native-app .native-tab-item {
    position: relative;
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 3px 8px 1px;
    border: 0;
    border-radius: 10px;
    color: #756d62;
    background: transparent;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
  }

  html.is-native-app .native-tab-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: transparent;
    transform: translateX(-50%);
  }

  html.is-native-app .native-tab-item.is-active {
    color: #4d6233;
    font-variation-settings: 'wght' 620, 'wdth' 92, 'opsz' 2;
  }

  html.is-native-app .native-tab-item.is-active::before { background: var(--olive); }

  html.is-native-app .native-tab-item > svg,
  html.is-native-app .native-tab-icon > svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html.is-native-app .native-tab-item > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    font-variation-settings: 'wght' 560, 'wdth' 94, 'opsz' 2;
  }

  html.is-native-app .native-tab-icon { position: relative; display: block; width: 25px; height: 25px; }

  html.is-native-app .native-tab-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border: 2px solid var(--paper);
    border-radius: 999px;
    color: white;
    background: var(--olive);
    font-size: 10px;
    line-height: 1;
    font-variation-settings: 'wght' 650, 'wdth' 100, 'opsz' 2;
  }

  html.is-native-app .native-tab-item:active {
    color: #334024;
    background: rgba(99, 120, 71, .1);
    opacity: 1;
    transform: none;
  }

  html.is-native-app .mobile-order-bar {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  html.is-native-app .builder-panel {
    padding-bottom: calc(190px + env(safe-area-inset-bottom));
  }

  html.is-native-app body.quick-start-active .builder-panel.is-quick-start {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  html.is-native-app .main-menu-catalog {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  html.is-native-app .toast {
    bottom: calc(164px + env(safe-area-inset-bottom));
  }

  html.is-native-app body.quick-start-active .toast,
  html.is-native-app body.menu-page .toast {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  html.is-native-app .intro-copy > p:not(.eyebrow):not(.price-formula) {
    font-size: 16px;
    line-height: 1.35;
  }

  html.is-native-app .price-formula,
  html.is-native-app .mobile-panel-heading p,
  html.is-native-app .ingredient-copy small {
    font-size: 15px;
    line-height: 1.3;
  }

  html.is-native-app .breakdown-link { font-size: 16px; }
  html.is-native-app .preset-card small { font-size: 16px; line-height: 1.3; }
  html.is-native-app .preset-card .preset-price { font-size: 18px; }
}

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  :root { --app-header-h: 60px; }

  .site-header {
    height: calc(60px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }

  .brand-link {
    top: calc(env(safe-area-inset-top) + 30px);
    width: 176px;
    height: 46px;
  }

  .brand-link img { width: 160px; }
  .mobile-menu { width: 44px; height: 44px; }

  .showcase { padding-top: calc(60px + env(safe-area-inset-top)); }

  .bowl-stage {
    height: 132px;
    margin-top: 0;
  }

  .bowl-wrap {
    width: min(42vw, 300px);
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .showcase-copy-stack { margin-top: -14px; }

  .showcase-copy-stack .intro-copy {
    width: min(560px, calc(100% - 32px));
    padding: 10px 18px;
  }

  .intro-copy h1 { margin-bottom: 3px; font-size: 30px; }
  .intro-copy > p:not(.eyebrow):not(.price-formula) { display: none; }
  .price-formula { margin-top: 4px; }
  .breakdown-link { min-height: 38px; padding-block: 6px; }
  .builder-panel,
  .builder-panel.is-quick-start { padding-top: 12px; }

  html.is-native-app .native-tab-bar {
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding-top: 2px;
    padding-bottom: calc(2px + env(safe-area-inset-bottom));
  }

  html.is-native-app .native-tab-item { min-height: 50px; }
  html.is-native-app .native-tab-item > span:last-child { font-size: 12px; }
  html.is-native-app .mobile-order-bar { bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* V50 — native hierarchy: one toolbar, one tab bar, system text. */
.native-share-action { display: none; }

@media (max-width: 900px) {
  html.is-native-app { --app-header-h: 60px; }

  html.is-native-app body,
  html.is-native-app button,
  html.is-native-app input,
  html.is-native-app select,
  html.is-native-app textarea {
    font-family: var(--font-brand);
  }

  html.is-native-app h1,
  html.is-native-app h2,
  html.is-native-app h3,
  html.is-native-app .eyebrow,
  html.is-native-app .price-card,
  html.is-native-app .intro-copy > h1,
  html.is-native-app .main-menu-head > h2 {
    font-family: var(--font-brand);
  }

  html.is-native-app .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  html.is-native-app .mobile-menu,
  html.is-native-app .cart-button {
    display: none !important;
  }

  html.is-native-app .header-actions {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 8px);
    right: 16px;
    width: 44px;
    height: 44px;
    display: block;
  }

  html.is-native-app .header-actions > * { display: none !important; }

  html.is-native-app .header-actions > [data-open-profile] {
    width: 44px;
    height: 44px;
    display: grid !important;
    place-items: center;
  }

  html.is-native-app .brand-link {
    top: calc(env(safe-area-inset-top) + 30px);
    width: 188px;
    height: 52px;
  }

  html.is-native-app .brand-link img { width: 168px; }
  html.is-native-app .brand-version { display: none; }

  html.is-native-app .native-share-action { display: inline-flex; }

  html.is-native-app .native-tab-item > span:last-child {
    font-family: var(--font-brand);
    font-weight: 600;
    letter-spacing: .01em;
  }

  html.is-native-app body { animation: native-page-enter .18s ease-out both; }
}

@keyframes native-page-enter {
  from { opacity: .72; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html.is-native-app body { animation: none; }
}

/* V53: predictable mobile cards, sticky controls and safe-area spacing. */
@media (max-width: 900px) {
  html.is-native-app {
    scroll-padding-top: calc(var(--app-header-h) + env(safe-area-inset-top) + 82px);
  }

  html.is-native-app .mobile-category-tabs {
    top: calc(var(--app-header-h) + env(safe-area-inset-top));
    border-radius: 0 0 18px 18px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(71, 54, 34, .1);
    backdrop-filter: none;
  }

  html.is-native-app .mobile-category-panel {
    scroll-margin-top: calc(var(--app-header-h) + env(safe-area-inset-top) + 82px);
  }

  html.is-native-app .builder-panel {
    padding-bottom: calc(250px + env(safe-area-inset-bottom));
  }

  html.is-native-app .builder-tools-mobile {
    margin-bottom: 28px;
  }

  html.is-native-app .mobile-order-bar {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  html.is-native-app .mobile-order-bar .primary-button {
    max-height: 68px;
    overflow: hidden;
    line-height: .9;
  }

  html.is-native-app .catalog-card {
    grid-template-rows: auto minmax(86px, 1fr) 62px;
    gap: 12px;
  }

  html.is-native-app .catalog-copy {
    min-height: 0;
    gap: 6px;
  }

  html.is-native-app .catalog-filter,
  html.is-native-app .quantity-control { border-radius: 18px; }

  html.is-native-app .catalog-filter { text-transform: uppercase; }

  html.is-native-app .catalog-card h3 {
    display: -webkit-box;
    font-size: clamp(20px, calc(5.8vw + 1px), 26px);
    line-height: calc(.96em + 2px);
    overflow: hidden;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  html.is-native-app .catalog-card strong { font-size: 25px; }

  html.is-native-app .catalog-buy {
    min-width: 0;
    min-height: 62px;
    align-self: end;
    gap: 6px;
    padding-top: 0;
  }

  html.is-native-app .catalog-buy > strong {
    min-width: 0;
    font-size: 22px;
    white-space: nowrap;
  }

  html.is-native-app .catalog-stepper {
    flex: 0 0 auto;
    grid-template-columns: 36px 25px 36px;
    min-height: 48px;
  }

  html.is-native-app .catalog-stepper button {
    width: 36px;
    height: 48px;
    font-size: 28px;
  }

  html.is-native-app .catalog-stepper span {
    min-width: 25px;
    font-size: 21px;
  }

  html.is-native-app .cart-item-copy > strong {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  html.is-native-app .history-actions,
  html.is-native-app .saved-recipe-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  html.is-native-app .history-actions button:first-child,
  html.is-native-app .saved-recipe-actions button:first-child {
    grid-column: auto;
  }

  html.is-native-app .history-actions button,
  html.is-native-app .saved-recipe-actions button {
    min-width: 0;
    width: 100%;
    padding-inline: 5px;
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  html.is-native-app .cart-item-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  html.is-native-app .cart-item-actions > strong {
    justify-self: center;
    font-size: 21px;
  }

  html.is-native-app .cart-item-links {
    flex-wrap: nowrap;
  }
}

@media (max-width: 359px) {
  html.is-native-app .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* V57 — canonical native-iOS layout. UIKit owns chrome; WKWebView has one scroll surface. */
@media (max-width: 900px) {
  html.is-native-app,
  html.is-native-app body {
    min-height: 100%;
    height: auto;
    overflow: visible;
    overscroll-behavior-y: auto;
    color-scheme: only light;
    background: #f6f1e8 !important;
    color: #1b1c18;
    font-family: var(--font-brand);
    font-size: 17px;
    line-height: 1.45;
  }

  html.is-native-app button,
  html.is-native-app input,
  html.is-native-app select,
  html.is-native-app textarea { font-family: var(--font-brand); }

  html.is-native-app .site-header,
  html.is-native-app .mobile-menu-panel,
  html.is-native-app .native-tab-bar {
    display: none !important;
  }

  html.is-native-app .page-shell {
    min-height: 100%;
    height: auto;
    padding: 0;
    overflow: visible;
    overscroll-behavior-y: auto;
    background: #f6f1e8 !important;
  }

  html.is-native-app .builder-page {
    display: block;
    min-height: 0;
    background: #fbf8f2;
  }

  /* The native home is a constructor, not a second marketing screen. */
  html.is-native-app .showcase {
    min-height: 0;
    padding: 26px 16px 0;
    overflow: visible;
    background: transparent;
  }

  html.is-native-app .desktop-price,
  html.is-native-app .bowl-stage,
  html.is-native-app .selected-canvas {
    display: none;
  }

  html.is-native-app .showcase-copy-stack,
  html.is-native-app .showcase-copy-stack .intro-copy {
    position: static;
    width: auto;
    margin: 0;
  }

  html.is-native-app .intro-copy {
    padding: 0 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    backdrop-filter: none;
  }

  html.is-native-app .intro-copy .eyebrow,
  html.is-native-app .intro-copy > p:not(.price-formula) {
    display: none;
  }

  html.is-native-app .intro-copy h1,
  html.is-native-app .mobile-panel-heading h2,
  html.is-native-app .smart-start-header h2,
  html.is-native-app .main-menu-head h2,
  html.is-native-app .cart-modal h2,
  html.is-native-app .profile-modal h2 {
    font-family: var(--font-brand);
    font-weight: 560;
    font-variation-settings: 'wght' 560, 'wdth' 92, 'opsz' 2;
    letter-spacing: .01em;
  }

  html.is-native-app .intro-copy h1 {
    margin: 0;
    font-size: clamp(31px, 8.2vw, 38px);
    line-height: .92;
  }

  html.is-native-app .smart-start-header,
  html.is-native-app .main-menu-head {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  html.is-native-app .smart-start-header h2,
  html.is-native-app .main-menu-head h2 {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  html.is-native-app .price-formula {
    margin: 4px 0 0;
    color: #53663b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
  }

  html.is-native-app .breakdown-link {
    min-height: 44px;
    margin: 0;
    padding: 6px 0;
    color: #5f5a52;
    font-size: 15px;
    font-weight: 500;
  }
  html.is-native-app .price-popover { left: 50%; transform: translateX(-50%); }

  html.is-native-app .builder-panel,
  html.is-native-app .builder-panel.is-quick-start {
    min-height: 0;
    padding: 8px 16px 100px;
    overflow: visible;
  }

  html.is-native-app .mobile-category-tabs {
    position: sticky;
    top: 0;
    z-index: 12;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(86, 68, 44, .16);
    border-radius: 16px;
    background: rgba(251, 248, 242, .98);
    box-shadow: 0 8px 22px rgba(71, 54, 34, .08);
    backdrop-filter: none;
  }

  html.is-native-app .mobile-category-tab {
    min-height: 52px;
    padding: 4px 1px;
    border-radius: 12px;
  }

  html.is-native-app .mobile-category-tab strong {
    font-family: var(--font-brand);
    font-size: clamp(20px, 5.2vw, 23px);
    font-weight: 560;
    font-variation-settings: 'wght' 560, 'wdth' 88, 'opsz' 2;
    text-transform: uppercase;
  }

  html.is-native-app .mobile-category-panel { margin-top: 10px; scroll-margin-top: 68px; }
  html.is-native-app .mobile-panel-heading { padding: 0 2px; }
  html.is-native-app .mobile-panel-heading h2 { font-size: 28px; }
  html.is-native-app .mobile-panel-heading p,
  html.is-native-app .ingredient-copy small { font-size: 15px; line-height: 1.3; }

  html.is-native-app .mobile-ingredient-grid { gap: 12px; padding: 12px 0 0; }
  html.is-native-app .ingredient-card { min-height: 80px; padding: 9px 30px 9px 9px; border-radius: 16px; }
  html.is-native-app .ingredient-thumb { width: 56px; height: 56px; }
  html.is-native-app .ingredient-copy strong { font-size: 21px; font-weight: 650; line-height: 1.08; }

  html.is-native-app .builder-tools-mobile { margin: 12px 0 0; }
  html.is-native-app .builder-tools-mobile button { min-height: 48px; font-size: 15px; }

  html.is-native-app .builder-panel:not(.is-quick-start) .builder-mascot {
    position: relative;
    display: block;
    width: min(calc(100% + 32px), 460px);
    height: min(88vw, 400px);
    margin: 12px auto 0;
    overflow: clip;
    pointer-events: none;
  }

  html.is-native-app .builder-panel:not(.is-quick-start) {
    padding-bottom: 16px;
  }

  html.is-native-app .builder-mascot img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(-25.5%);
  }

  html.is-native-app .step-next-button {
    min-height: 72px;
    border-color: #657d43;
    color: #fff;
    background: #738d50;
    box-shadow: 0 10px 22px rgba(83, 102, 59, .22);
  }
  html.is-native-app .step-next-button strong { font-size: 33px; }
  html.is-native-app .step-next-button small { color: rgba(255, 255, 255, .82); font-size: 19px; }

  html.is-native-app body.menu-page .main-menu-catalog {
    min-height: 0;
    padding: 26px 16px 32px;
  }
  html.is-native-app body.menu-page .catalog-filter-fab {
    top: 12px;
  }
  html.is-native-app body.native-cart-tab .cart-modal[open],
  html.is-native-app body.native-profile-tab .profile-modal[open] {
    position: fixed;
    z-index: 100;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 28px 18px;
    border: 0;
    border-radius: 0;
    color: #1b1c18;
    background: #f6f1e8;
    box-shadow: none;
    overflow-y: auto;
    animation: none;
  }
  html.is-native-app body.native-cart-tab .cart-modal::backdrop {
    background: transparent;
    backdrop-filter: none;
  }
  html.is-native-app:not(.is-mobile-web) body.menu-page .catalog-filter-sticky {
    top: 0;
    width: calc(100% + 32px);
    margin: 0 -16px 16px;
  }
  html.is-native-app .catalog-card {
    grid-template-rows: auto auto auto;
    align-self: start;
    gap: 8px;
  }
  html.is-native-app .catalog-copy { gap: 4px; }
  html.is-native-app .catalog-buy { min-height: 58px; padding-top: 0; }

  html.is-native-app .mobile-order-bar {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 84px;
    grid-template-columns: auto 52px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(86, 68, 44, .16);
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
    background: rgba(251, 248, 242, .98);
    box-shadow: 0 -8px 22px rgba(71, 54, 34, .10);
    backdrop-filter: none;
  }

  html.is-native-app .mobile-total { min-width: 78px; }
  html.is-native-app .mobile-total strong { font-family: var(--font-brand); font-size: 25px; }
  html.is-native-app .mobile-total span { font-size: 13px; }
  html.is-native-app .favorite-button { width: 52px; height: 52px; }
  html.is-native-app .mobile-order-bar .primary-button { min-height: 58px; padding: 0 9px; font-size: clamp(18px, 5vw, 23px); }

  html.is-native-app .main-menu-catalog { padding: 16px 16px 32px; }
  html.is-native-app .toast { bottom: 92px; }
}

/* V108 — native WKWebView owns the only scroll surface and keeps iOS rubber-band. */
@media (max-width: 900px) {
  html.is-native-app,
  html.is-native-app body,
  html.is-native-app .page-shell {
    overflow-y: visible !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 359px) {
  html.is-native-app .mobile-category-tab strong { font-size: 14px; }
  html.is-native-app .mobile-order-bar { grid-template-columns: 70px 48px minmax(0, 1fr); padding-inline: 8px; }
  html.is-native-app .favorite-button { width: 48px; height: 48px; }
  html.is-native-app .mobile-order-bar .primary-button { min-height: 54px; font-size: 17px; }
}

/* V73: one native screen intro and one continuous WebView surface. */
html.is-native-app { --native-screen-bg: #fbf8f2; }

@media (max-width: 900px) {
  html.is-native-app,
  html.is-native-app body,
  html.is-native-app .page-shell,
  html.is-native-app .builder-page,
  html.is-native-app body.menu-page .main-menu-catalog,
  html.is-native-app body.native-cart-tab .cart-modal[open],
  html.is-native-app body.native-profile-tab .profile-modal[open] {
    background: var(--native-screen-bg) !important;
  }

  html.is-native-app .showcase { padding: 0 16px; }

  html.is-native-app .screen-intro {
    width: calc(100% + 32px);
    max-width: none;
    margin: 0 -16px;
    padding: 32px 20px 24px;
    text-align: center;
  }

  html.is-native-app .screen-intro--dialog {
    width: 100%;
    margin: 0;
    padding-right: 2px;
    padding-left: 2px;
  }

  html.is-native-app .screen-intro__eyebrow,
  html.is-native-app .intro-copy .screen-intro__eyebrow {
    display: block !important;
    margin: 0 0 8px;
    color: var(--olive-deep);
    font-family: var(--font-brand);
    font-size: 13px;
    font-weight: 620;
    font-variation-settings: 'wght' 620, 'wdth' 92, 'opsz' 2;
    line-height: 1.15;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  html.is-native-app .screen-intro .screen-intro__title {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #1b1c18;
    font-family: var(--font-brand);
    font-size: 34px;
    font-weight: 560;
    font-variation-settings: 'wght' 560, 'wdth' 92, 'opsz' 2;
    line-height: .98;
    letter-spacing: .01em;
    text-align: center;
  }

  html.is-native-app .screen-intro__description,
  html.is-native-app .intro-copy .screen-intro__description,
  html.is-native-app .main-menu-head .screen-intro__description {
    display: -webkit-box !important;
    max-width: 340px;
    margin: 12px auto 0 !important;
    overflow: hidden;
    color: #5f5a52;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html.is-native-app body.menu-page .main-menu-catalog { padding: 0 16px 32px; }
  html.is-native-app body.menu-page .main-menu-head.screen-intro {
    width: calc(100% + 32px);
    margin: 0 -16px;
  }

  html.is-native-app body.native-cart-tab .cart-modal[open],
  html.is-native-app body.native-profile-tab .profile-modal[open] { padding-top: 0; }

  html.is-native-app body.native-route-screen {
    min-height: 100%;
    background: var(--native-screen-bg) !important;
  }

  html.is-native-app body.native-route-screen .page-shell,
  html.is-native-app body.native-route-screen .mobile-order-bar,
  html.is-native-app body.native-route-screen .native-tab-bar,
  html.is-native-app body.native-route-screen .catalog-filter-fab,
  html.is-native-app body.native-route-screen .catalog-filter-overlay {
    display: none !important;
  }

  html.is-native-app body.native-route-screen dialog[open] {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0 20px 32px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: #1b1c18;
    background: var(--native-screen-bg) !important;
    box-shadow: none;
    transform: none;
    animation: none;
  }

  html.is-native-app body.native-route-screen dialog[open]::before,
  html.is-native-app body.native-route-screen dialog[open]::backdrop,
  html.is-native-app body.native-route-screen dialog[open] .modal-close {
    content: none !important;
    display: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  html.is-native-app body.native-route-screen dialog[open]:focus { outline: none; }

  html.is-native-app body.native-cart-tab #cartClose,
  html.is-native-app body.native-profile-tab .profile-modal [data-close-dialog] {
    display: none !important;
  }

  /* Native cart/profile are pages in the one WKWebView, never nested sheets. */
  html.is-native-app body.native-cart-tab .page-shell,
  html.is-native-app body.native-profile-tab .page-shell,
  html.is-native-app body.native-cart-tab .mobile-order-bar,
  html.is-native-app body.native-profile-tab .mobile-order-bar {
    display: none !important;
  }

  html.is-native-app body.native-cart-tab .catalog-filter-fab,
  html.is-native-app body.native-profile-tab .catalog-filter-fab,
  html.is-native-app body.native-cart-tab .catalog-filter-overlay,
  html.is-native-app body.native-profile-tab .catalog-filter-overlay {
    display: none !important;
  }

  html.is-native-app body.native-cart-tab .cart-modal[open],
  html.is-native-app body.native-profile-tab .profile-modal[open] {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0 20px 32px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    transform: none;
  }

  html.is-native-app body.native-cart-tab .cart-modal[open]::before,
  html.is-native-app body.native-profile-tab .profile-modal[open]::before {
    content: none !important;
    display: none !important;
  }

  /* Menu cards: stable geometry with explicit added-to-cart feedback. */
  html.is-native-app .catalog-card {
    padding: 4px;
    border: 0;
    border-radius: var(--radius-card);
    background: transparent;
    transition: background-color .22s ease;
  }

  html.is-native-app .catalog-card.is-in-cart { background: rgba(220, 231, 204, .72); }
  html.is-native-app .catalog-media { position: relative; }
  html.is-native-app .catalog-media img {
    --catalog-parallax-y: 0px;
    --catalog-photo-scale: 1.08;
    transform: translate3d(0, var(--catalog-parallax-y), 0) scale(var(--catalog-photo-scale));
    transition: filter .22s ease;
    will-change: transform;
  }

  html.is-native-app .catalog-added-state {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-items: center;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--olive-deep);
  }
  html.is-native-app .catalog-added-state svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html.is-native-app .catalog-customize { position: relative; }
  html.is-native-app .catalog-customize > span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 99px;
    color: #fff;
    background: #668aa5;
    box-shadow: 0 2px 8px rgba(45, 82, 108, .22);
    font: 650 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  }

  html.is-native-app .catalog-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  html.is-native-app .catalog-add {
    width: 52px;
    min-width: 52px;
    height: 52px;
    border: 1px solid rgba(83, 78, 65, .18);
    border-radius: 50%;
    box-shadow: none;
    color: var(--olive-deep);
    background: #fff;
    font-family: var(--font-brand);
    font-size: 43px;
    font-weight: 500;
  }
  html.is-native-app .catalog-stepper {
    width: auto;
    min-width: 0;
    min-height: 48px;
    grid-template-columns: 36px 25px 36px;
    border: 1px solid rgba(83, 78, 65, .18);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
  }
  html.is-native-app .catalog-stepper button { width: 36px; }
  html.is-native-app .catalog-stepper button:hover,
  html.is-native-app .catalog-stepper button:focus,
  html.is-native-app .catalog-stepper button:active {
    color: var(--olive-deep);
    background: transparent;
  }

  html.is-native-app .cart-list-head { margin: 0 0 12px; }
  html.is-native-app .cart-list-head > span { font-family: var(--font-brand); font-size: 17px; }
  html.is-native-app .cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.56);
  }
  html.is-native-app .cart-item > img,
  html.is-native-app .cart-item-media { width: 82px; height: 82px; border-radius: 16px; box-shadow: none; }
  html.is-native-app .cart-item-copy > strong { -webkit-line-clamp: 2; }
  html.is-native-app .cart-item-copy small { display: block; margin-top: 8px; font: 15px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
  html.is-native-app .cart-item-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(62px, 1fr) 44px;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  html.is-native-app .cart-item-actions > strong { justify-self: end; font-size: 23px; }
  html.is-native-app .cart-item-links { width: 44px; flex-wrap: nowrap; }
  html.is-native-app .cart-item:has([data-cart-action="edit"]) { position: relative; }
  html.is-native-app .cart-item:has([data-cart-action="edit"]) .cart-item-copy { padding-right: 52px; }
  html.is-native-app .cart-icon-action[data-cart-action="edit"] {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 12px;
    border: 1px solid rgba(99, 120, 71, .28);
    background: #fbf8f2;
    box-shadow: 0 4px 14px rgba(67, 78, 48, .12);
  }
  html.is-native-app .cart-icon-action[data-cart-action="edit"] svg { transform: translateY(-1px); }
  html.is-native-app .checkout-unavailable { margin-top: 20px; }

  html.is-native-app body.menu-page.catalog-filter-fab-visible .catalog-filter-fab {
    animation: move-down-alpha .22s cubic-bezier(.2, .75, .25, 1) both;
  }

  html.is-native-app.catalog-filter-open,
  html.is-native-app.catalog-filter-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  html.is-native-app body.menu-page .catalog-filter-overlay {
    inset: 0;
    min-height: 100%;
    place-items: center;
    padding: 24px 38px;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    background: var(--native-screen-bg);
  }

  html.is-native-app body.menu-page .catalog-filter-overlay-list {
    width: min(100%, 430px);
    max-height: none;
    overflow: visible;
    gap: 6px;
  }

  html.is-native-app body.menu-page .catalog-filter-overlay .catalog-filter {
    width: 100%;
    min-height: clamp(48px, 7.2vh, 58px);
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    background: transparent;
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1;
    touch-action: manipulation;
  }

  html.is-native-app body.menu-page .catalog-filter-overlay .catalog-filter.is-active {
    border: 0;
    box-shadow: none;
    background: var(--pistachio);
  }

  html.is-native-app body.menu-page .catalog-filter-overlay .catalog-filter small {
    font-size: 15px;
  }

  html.is-native-app .mobile-category-panel.is-swipe-next {
    animation: ingredient-stage-next .2s cubic-bezier(.2, .75, .25, 1) both;
  }
  html.is-native-app .mobile-category-panel.is-swipe-previous {
    animation: ingredient-stage-previous .2s cubic-bezier(.2, .75, .25, 1) both;
  }

  @keyframes ingredient-stage-next {
    from { opacity: .62; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes ingredient-stage-previous {
    from { opacity: .62; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes move-down-alpha {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    html.is-native-app .catalog-card,
    html.is-native-app .catalog-media img { transition: none; }
    html.is-native-app .catalog-media img,
    html.is-native-app .catalog-media:active img,
    html.is-native-app .catalog-card.is-in-cart .catalog-media img,
    html.is-native-app .catalog-card.is-in-cart .catalog-media:active img {
      --catalog-parallax-y: 0px;
      --catalog-photo-scale: 1;
      transform: none;
      will-change: auto;
    }
    html.is-native-app body.menu-page.catalog-filter-fab-visible .catalog-filter-fab { animation: none; }
    html.is-native-app .mobile-category-panel.is-swipe-next,
    html.is-native-app .mobile-category-panel.is-swipe-previous { animation: none; }
  }
}

@media (max-width: 900px) {
  html.is-native-app body.home-body,
  html.is-native-app body.home-body .home-page {
    background: #fbf8f2 !important;
  }
}

/* Android Lab: HTML owns chrome until the Jetpack Compose shell replaces it.
   This must stay last so the canonical iOS shell rules cannot hide it. */
@media (max-width: 900px) {
  html.is-native-app.is-native-android .site-header,
  html.is-native-app.is-native-android #siteHeader {
    display: grid !important;
    height: 96px;
    padding: 28px 18px 0 !important;
  }

  html.is-native-app.is-native-android .brand-link {
    top: 0 !important;
  }

  html.is-native-app.is-native-android .header-actions {
    display: flex !important;
    top: 36px !important;
  }

  html.is-native-app.is-native-android .site-header .mobile-menu,
  html.is-native-app.is-native-android .site-header .cart-button,
  html.is-native-app.is-native-android .site-header .menu-link,
  html.is-native-app.is-native-android .site-header .location-button {
    display: none !important;
  }

  html.is-native-app.is-native-android .site-header [data-open-profile] {
    display: grid !important;
  }

  html.is-native-app.is-native-android .brand-link,
  html.is-native-app.is-native-android .brand-link img {
    background: transparent !important;
  }

  html.is-native-app.is-native-android .native-tab-bar {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: none;
    height: 82px;
    max-height: none;
    padding: 4px 12px 14px;
  }

  html.is-native-app.is-native-android body.native-route-screen .native-tab-bar {
    z-index: 120;
    display: grid !important;
  }

  html.is-native-app.is-native-android body.native-route-screen dialog[open] {
    padding-bottom: 118px;
  }

  html.is-native-app.is-native-android .page-shell,
  html.is-native-app.is-native-android .home-page {
    padding-top: 96px !important;
  }

  html.is-native-app.is-native-android .home-slide-copy,
  html.is-native-app.is-native-android .home-slide-count {
    opacity: 1;
  }

  html.is-native-app.is-native-android .home-hero {
    height: min(51dvh, 448px);
    min-height: 344px;
  }

  html.is-native-app.is-native-android .mobile-order-bar {
    bottom: 82px;
  }

  html.is-native-app.is-native-android .builder-panel,
  html.is-native-app.is-native-android .main-menu-catalog,
  html.is-native-app.is-native-android .home-page {
    padding-bottom: 106px;
  }

  html.is-native-app.is-native-android .native-tab-item > span:last-child {
    font-size: 12px;
  }
}

/* Mobile browsers already provide their own top chrome, so they do not need
   the Android WebView status-bar reserve. Keep native Android unchanged. */
@media (max-width: 900px) {
  .brand-version {
    display: none !important;
  }

  html.is-mobile-web {
    --app-header-h: 68px;
  }

  html.is-native-app.is-native-android.is-mobile-web .site-header,
  html.is-native-app.is-native-android.is-mobile-web #siteHeader {
    height: var(--app-header-h) !important;
    padding: 0 16px !important;
  }

  html.is-native-app.is-native-android.is-mobile-web .brand-link {
    top: 0 !important;
    height: 48px;
  }

  html.is-native-app.is-native-android.is-mobile-web .brand-link img {
    width: 154px;
  }

  html.is-native-app.is-native-android.is-mobile-web .header-actions {
    top: 12px !important;
  }

  html.is-native-app.is-native-android.is-mobile-web .page-shell,
  html.is-native-app.is-native-android.is-mobile-web .home-page {
    padding-top: var(--app-header-h) !important;
  }

  html.is-native-app.is-native-android.is-mobile-web body.native-route-screen dialog[open] {
    padding-top: var(--app-header-h) !important;
  }
}

/* V164 native ingredient artwork: transparent HQ-derived assets without a disc. */
@media (max-width: 900px) {
  html.is-native-app .ingredient-card {
    min-height: 88px;
    gap: 8px;
    padding: 8px 28px 8px 6px;
  }

  html.is-native-app .ingredient-thumb:not(.ingredient-thumb-empty) {
    width: 70px;
    height: 70px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-size: 118% auto;
    box-shadow: none;
  }
}

/* V192: one corner system for shared web, iOS and Android surfaces.
   Circular icons and true capsules intentionally keep 50%/pill geometry. */
.home-primary,
.home-bowl-day-copy button,
.primary-button,
.text-button,
.tool-ready,
.tool-composition,
.tool-social,
.catalog-filter,
.cart-empty-action,
.form-grid input,
.form-grid select,
.form-grid textarea,
.profile-section-head button,
.history-actions button,
.history-delete-confirm button,
.recipe-edit-notice button,
.inline-form button,
.social-actions button,
.secondary-action,
.bowl-week-card button,
.group-secondary-actions button,
.mobile-category-tab,
.favorite-button {
  border-radius: var(--radius-control);
  corner-shape: squircle;
}

.home-direction,
.home-bowl-day,
.home-promo,
.ingredient-card,
.preset-card,
.cart-empty,
.cart-item,
.checkout-unavailable,
.history-item,
.composition-stat,
.group-card,
.group-item,
.group-empty,
.catalog-media {
  border-radius: var(--radius-card);
  corner-shape: squircle;
}

html.is-native-app .catalog-card .catalog-media {
  border-radius: calc(var(--radius-card) - 4px);
}

.mobile-category-tabs,
.mobile-order-bar,
.cart-modal,
.profile-modal,
.modal-bowl {
  border-radius: var(--radius-panel);
  corner-shape: squircle;
}

.home-hero,
.modal,
.profile-modal {
  border-radius: var(--radius-hero);
  corner-shape: squircle;
}

/* V195: cart total and checkout stay visible while cart items keep scrolling. */
@media (max-width: 900px) {
  .cart-checkout-dock {
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  }

  .cart-checkout-dock .cart-total strong { font-size: 29px; }
  .cart-checkout-dock .checkout-button { min-height: 58px; padding-inline: 12px; font-size: 20px; }

  html.is-native-app body.native-route-screen .cart-modal[open] {
    display: block;
    padding-bottom: 0;
  }

  html.is-native-app body.native-route-screen .cart-scroll-body {
    overflow: visible;
    overscroll-behavior-y: auto;
    padding-bottom: 116px;
  }

  html.is-native-app body.native-route-screen .cart-checkout-dock {
    position: fixed;
    z-index: 110;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    margin: 0;
  }

html.is-native-app.is-native-android body.native-route-screen .cart-checkout-dock {
    bottom: 82px;
    padding-bottom: 10px;
  }
}

/* V203 — desktop storefront. Scoped away from the bowl constructor and native shells. */
.desktop-home-nav { display: none; }

@media (min-width: 1024px) {
  html:not(.is-native-app) body.home-body,
  html:not(.is-native-app) body.menu-page { background: #fbf8f2; }

  html:not(.is-native-app) body.home-body .site-header,
  html:not(.is-native-app) body.menu-page .site-header {
    height: 88px;
    padding-inline: clamp(32px, 5vw, 84px);
  }

  html:not(.is-native-app) body.home-body .desktop-home-nav {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
  }

  html:not(.is-native-app) body.home-body .desktop-home-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: var(--radius-control);
    color: var(--ink);
    font: 500 16px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
  }

  html:not(.is-native-app) body.home-body .desktop-home-nav a:hover {
    color: var(--olive-deep);
    background: rgba(220, 231, 204, .5);
  }

  html:not(.is-native-app) body.home-body .home-page {
    width: min(1280px, calc(100% - 64px));
    padding: 120px 0 96px;
  }

  html:not(.is-native-app) body.home-body .home-hero {
    height: min(720px, calc(100dvh - 154px));
    min-height: 610px;
    border-radius: 34px;
  }

  html:not(.is-native-app) body.home-body .home-slide-copy {
    right: auto;
    bottom: clamp(42px, 5vw, 72px);
    left: clamp(42px, 5vw, 72px);
    width: min(620px, 56%);
  }

  html:not(.is-native-app) body.home-body .home-slide-copy h1,
  html:not(.is-native-app) body.home-body .home-slide-copy h2 {
    margin-block: 10px 14px;
    font-size: clamp(66px, 6.2vw, 94px);
    line-height: .9;
  }

  html:not(.is-native-app) body.home-body .home-slide-copy span {
    max-width: 520px;
    font-size: 19px;
  }

  html:not(.is-native-app) body.home-body .home-primary {
    min-height: 56px;
    padding-inline: 24px;
    font-size: 26px;
  }

  html:not(.is-native-app) body.home-body .home-section { padding-top: 64px; }

  html:not(.is-native-app) body.home-body .home-section > h2 {
    max-width: 820px;
    margin: 10px 0 24px;
    font-size: clamp(54px, 5vw, 76px);
  }

  html:not(.is-native-app) body.home-body .home-direction-grid { gap: 24px; }

  html:not(.is-native-app) body.home-body .home-direction {
    min-height: 390px;
    padding: 30px;
    border-radius: 30px;
  }

  html:not(.is-native-app) body.home-body .home-direction__art { height: 290px; }
  html:not(.is-native-app) body.home-body .home-direction--menu .home-direction__art { height: 270px; }
  html:not(.is-native-app) body.home-body .home-direction strong { font-size: 45px; }
  html:not(.is-native-app) body.home-body .home-direction small { font-size: 16px; }

  html:not(.is-native-app) body.home-body .home-bowl-day {
    min-height: 450px;
    border-radius: 30px;
  }

  html:not(.is-native-app) body.home-body .home-bowl-day-media { min-height: 450px; }
  html:not(.is-native-app) body.home-body .home-bowl-day-copy { padding: clamp(38px, 5vw, 68px); }
  html:not(.is-native-app) body.home-body .home-bowl-day-copy h3 { font-size: clamp(48px, 4vw, 64px); }
  html:not(.is-native-app) body.home-body .home-bowl-day-copy span { font-size: 17px; }
  html:not(.is-native-app) body.home-body .home-bowl-day-copy button { min-height: 54px; font-size: 23px; }

  html:not(.is-native-app) body.home-body .home-promos {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
  }

  html:not(.is-native-app) body.home-body .home-promo {
    min-height: 280px;
    padding: 34px;
    border-radius: 30px;
  }

  html:not(.is-native-app) body.home-body .home-promo--picker { grid-column: span 7; }
  html:not(.is-native-app) body.home-body .home-promo--profile { grid-column: span 5; }
  html:not(.is-native-app) body.home-body .home-promo--group { grid-column: 1 / -1; min-height: 310px; }
  html:not(.is-native-app) body.home-body .home-promo strong { font-size: 45px; }
  html:not(.is-native-app) body.home-body .home-promo em { font-size: 16px; }
  html:not(.is-native-app) body.home-body .home-promo--picker img { right: -2%; width: 52%; }
  html:not(.is-native-app) body.home-body .home-promo__character img { right: 3%; width: 42%; }
  html:not(.is-native-app) body.home-body .native-tab-bar { display: none !important; }

  html:not(.is-native-app) body.menu-page .main-menu-catalog {
    min-height: 100dvh;
    padding: 148px clamp(40px, 5.5vw, 96px) 112px;
    background: #fbf8f2;
  }

  html:not(.is-native-app) body.menu-page .main-menu-head {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
  }

  html:not(.is-native-app) body.menu-page .catalog-filter-sticky {
    top: 88px;
    width: min(940px, 100%);
    margin: 0 auto 48px;
    border: 1px solid rgba(83, 78, 65, .1);
    border-radius: var(--radius-panel);
    box-shadow: 0 12px 30px rgba(72, 57, 38, .08);
    overflow: hidden;
  }

  html:not(.is-native-app) body.menu-page .catalog-filters {
    justify-content: center;
    padding: 10px 16px;
    scroll-padding-inline: 16px;
  }

  html:not(.is-native-app) body.menu-page .catalog-filter {
    flex-basis: 116px;
    min-height: 48px;
    font-size: 24px;
  }

  html:not(.is-native-app) body.menu-page .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 52px 26px;
    max-width: 1500px;
    margin: 0 auto;
  }

html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card { gap: 18px; padding-bottom: 4px; }
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-media { border-radius: var(--radius-card); }
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-copy,
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-buy { padding-inline: 10px; }

  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card h3 {
    min-height: 2em;
    font-size: clamp(26px, 2vw, 34px);
    line-height: 1;
  }

  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card p { min-height: 22px; }

  html:not(.is-native-app) .cart-modal {
    width: min(1180px, calc(100vw - 64px));
    max-height: calc(100dvh - 64px);
    padding: 34px;
  }

  html:not(.is-native-app) .cart-modal[open] {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .72fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 30px;
  }

  html:not(.is-native-app) .cart-modal:has(.cart-empty) {
    width: min(900px, calc(100vw - 64px));
  }

  html:not(.is-native-app) .cart-modal[open]:has(.cart-empty) {
    display: block;
  }

  html:not(.is-native-app) .cart-modal .cart-scroll-body { padding-right: 18px; }

  html:not(.is-native-app) .cart-modal .cart-checkout-dock {
    align-self: start;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 116px 0 0;
    padding: 24px;
    border-radius: var(--radius-panel);
    box-shadow: 0 18px 42px rgba(71, 54, 34, .11);
  }

  html:not(.is-native-app) .cart-modal .cart-checkout-dock .checkout-button { min-height: 64px; }

  html:not(.is-native-app) .profile-modal {
    width: min(1100px, calc(100vw - 64px));
    max-height: calc(100dvh - 64px);
    padding: 42px clamp(42px, 5vw, 72px);
  }

  html:not(.is-native-app) .profile-modal .profile-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
  }

  html:not(.is-native-app) .profile-modal .profile-form > .compact-action,
  html:not(.is-native-app) .profile-modal .profile-field { grid-column: 1 / -1; }
}

/* V220 — the persistent desktop navigation uses the same Moniqa voice as the storefront. */
@media (min-width: 1024px) {
  html:not(.is-native-app) .desktop-site-nav a {
    font-family: "Moniqa Variable", sans-serif;
    font-size: 19px;
    font-weight: 560;
    font-variation-settings: 'wght' 560, 'wdth' 90, 'opsz' 2;
    letter-spacing: .04em;
  }
}

@media (min-width: 1024px) and (max-width: 1240px) {
  html:not(.is-native-app) body.menu-page .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* V205 — focused desktop refinement. Native shells and the bowl builder are unchanged. */
@media (min-width: 1024px) {
  html:not(.is-native-app) body.home-body .home-page {
    padding-bottom: 80px;
  }

  html:not(.is-native-app) body.home-body .home-hero {
    height: min(620px, calc(100dvh - 154px));
    min-height: 540px;
  }

  html:not(.is-native-app) body.home-body .home-section {
    padding-top: 52px;
  }

  html:not(.is-native-app) body.home-body .home-promos {
    display: block;
  }

  html:not(.is-native-app) body.home-body .home-promo--picker {
    width: 100%;
    min-height: 280px;
  }

  html:not(.is-native-app) body.home-body .home-promo--profile,
  html:not(.is-native-app) body.home-body .home-promo--group {
    display: none;
  }

  html:not(.is-native-app) body.menu-page .brand-version {
    display: none;
  }

  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card {
    grid-template-rows: auto minmax(92px, 1fr) 72px;
    min-height: 0;
  }

  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card.is-in-cart {
    padding: 0;
    border-radius: var(--radius-card);
    background: rgba(220, 231, 204, .48);
  }

  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-added-state {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--olive-deep);
    box-shadow: 0 8px 18px rgba(54, 68, 39, .2);
    pointer-events: none;
  }

  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-added-state svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-media {
    position: relative;
  }

  html:not(.is-native-app) .cart-modal[open] {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  }

  html:not(.is-native-app) .cart-modal .cart-checkout-dock {
    position: sticky;
    top: 0;
    margin-top: 104px;
  }
}

/* V208 — one persistent desktop header across storefront screens. */
.desktop-site-nav { display: none; }

@media (min-width: 1024px) {
  html:not(.is-native-app) { --app-header-h: 72px; }

  html:not(.is-native-app) .site-header,
  html:not(.is-native-app) body.home-body .site-header,
  html:not(.is-native-app) body.menu-page .site-header {
    height: 72px;
    padding: 0 clamp(28px, 4vw, 72px);
    grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
    background: rgba(251, 248, 242, .9);
    border-bottom-color: rgba(65, 55, 42, .1);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
  }

  html:not(.is-native-app) .site-header .brand-link {
    position: relative;
    left: auto;
    grid-column: 2;
    justify-self: center;
    width: 220px;
    transform: none;
  }

  html:not(.is-native-app) .site-header .brand-link img { width: 184px; }

  html:not(.is-native-app) .desktop-site-nav {
    grid-column: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    pointer-events: auto;
  }

  html:not(.is-native-app) .desktop-site-nav a {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--radius-control);
    color: #6f695f;
    font: 560 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .055em;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
  }

  html:not(.is-native-app) .desktop-site-nav a:hover {
    color: var(--olive-deep);
    background: rgba(220, 231, 204, .4);
  }

  html:not(.is-native-app) .desktop-site-nav a.is-active { color: var(--olive-deep); }

  html:not(.is-native-app) .desktop-site-nav a.is-active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 2px;
    border-radius: 99px;
    background: var(--olive);
  }

  html:not(.is-native-app) .site-header .header-actions {
    grid-column: 3;
    justify-self: end;
    gap: 4px;
  }
  html:not(.is-native-app) .site-header .icon-button { color: var(--ink); }
  html:not(.is-native-app) .site-header .icon-button:hover {
    border-radius: 50%;
    color: var(--olive-deep);
    background: rgba(220, 231, 204, .45);
  }
  html:not(.is-native-app) .desktop-header-link { display: grid; place-items: center; text-decoration: none; }

  html:not(.is-native-app) body.home-body .home-page { padding-top: 104px; }
  html:not(.is-native-app) body.menu-page .main-menu-catalog { padding-top: 124px; }
  html:not(.is-native-app) body.menu-page .catalog-filter-sticky { top: 72px; }
}

/* V215 — one readable type scale for menu headings and cards. */
.main-menu-head h2 {
  font-size: clamp(42px, 3.25vw, 64px);
}

.catalog-card h3 {
  font-size: clamp(27px, 1.9vw, 37px);
}

@media (min-width: 901px) {
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card h3 {
    font-size: clamp(28px, 2.1vw, 37px);
  }
}

@media (max-width: 900px) {
  html.is-native-app .main-menu-head h2 {
    font-size: clamp(38px, 10.4vw, 46px);
  }

  html.is-native-app .catalog-card h3 {
    font-size: clamp(22px, calc(6vw + 1px), 29px);
  }
}

/* V220 final desktop header type override. */
@media (min-width: 1024px) {
  html:not(.is-native-app) .desktop-site-nav a {
    font-family: "Moniqa Variable", sans-serif;
    font-size: 19px;
    font-weight: 560;
    font-variation-settings: 'wght' 560, 'wdth' 90, 'opsz' 2;
    letter-spacing: .04em;
  }
}

/* V226 FINAL — legal page specificity after the legacy cascade. */
body.legal-page {
  color: var(--ink);
  background: #fbf8f2;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body.legal-page .legal-doc {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 0;
}

body.legal-page .legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--olive-deep);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

body.legal-page .legal-doc .legal-intro h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(54px, 7vw, 94px);
  font-variation-settings: 'wght' 620, 'wdth' 82, 'opsz' 2;
  line-height: .9;
}

body.legal-page .legal-doc h2 {
  margin: 0 0 14px;
  font-family: var(--font-brand);
  font-size: clamp(30px, 3.5vw, 44px);
  font-variation-settings: 'wght' 620, 'wdth' 86, 'opsz' 2;
  line-height: .96;
}

body.legal-page .legal-doc p {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

body.legal-page .legal-doc .legal-lead {
  margin-top: 24px;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.45;
}

@media (max-width: 900px) {
  body.legal-page .legal-site-header {
    height: calc(64px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  body.legal-page .legal-doc {
    width: min(100% - 32px, 720px);
    padding-top: calc(88px + env(safe-area-inset-top));
  }
  body.legal-page .legal-doc .legal-intro h1 { font-size: clamp(46px, 13vw, 68px); }
}

/* V229 — account flow, profile and expandable order receipts. */
.profile-modal {
  width: min(720px, calc(100vw - 32px));
  padding: 32px;
  color: var(--ink);
  background: #f4efe6;
}
.profile-modal .modal-close { z-index: 4; }
.profile-view-head { position: relative; padding-right: 64px; }
.profile-view-head .eyebrow { margin: 0 0 9px; color: var(--olive-deep); }
.profile-view-head h2,
.feature-modal.profile-modal .profile-view-head h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(44px, 7vw, 68px);
  line-height: .88;
}
.profile-view-head > p:last-child:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 19px; line-height: 1.35; }
.profile-back {
  width: 48px; height: 48px; margin: 0 0 24px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; cursor: pointer;
}
.profile-back svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.profile-auth-view { min-height: min(640px, calc(100dvh - 96px)); display: flex; flex-direction: column; }
.profile-auth-form { display: grid; gap: 16px; margin-top: clamp(52px, 10vh, 94px); }
.profile-auth-field { display: grid; gap: 9px; color: var(--muted); font-size: 15px; }
.profile-auth-field input {
  width: 100%; min-height: 82px; padding: 16px 20px; border: 1px solid transparent; border-radius: 22px;
  color: var(--ink); background: #fff; font: inherit; font-size: 28px; font-weight: 650; letter-spacing: .02em;
}
.profile-auth-field input:focus { border-color: var(--olive); outline: 3px solid rgba(99,120,71,.16); }
.profile-code-field input { text-align: center; font-size: 36px; letter-spacing: .34em; text-indent: .34em; }
.profile-main-action { width: 100%; min-height: 68px; justify-content: center; border-radius: 19px; font-size: 23px; }
.profile-main-action:disabled { color: rgba(255,255,255,.76); background: #a8aa9f; cursor: not-allowed; }
.profile-consent, .profile-demo-note { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.45; text-align: center; }
.profile-consent a { color: var(--ink); text-underline-offset: 3px; }
.profile-demo-note { padding: 12px 14px; border: 1px solid #d7c871; border-radius: 14px; color: #5e530d; background: #fff8c9; }
.profile-text-action { min-height: 44px; padding: 8px; border: 0; color: var(--olive-deep); background: transparent; font: inherit; font-weight: 650; cursor: pointer; }
.profile-progress { margin: auto auto 0; padding-top: 40px; display: flex; gap: 10px; }
.profile-progress i { width: 9px; height: 9px; border-radius: 50%; background: #c5c3bc; }
.profile-progress i.is-active { background: var(--ink); }

.profile-overview, .profile-settings { display: grid; gap: 34px; }
.profile-overview h3, .profile-settings h3 { margin: 0; font-size: 25px; text-transform: none; }
.profile-account-section { display: grid; gap: 12px; }
.profile-account-card {
  width: 100%; min-height: 112px; padding: 16px 18px; display: grid; grid-template-columns: 72px minmax(0, 1fr) 28px; gap: 16px; align-items: center;
  border: 1px solid rgba(67,59,48,.09); border-radius: 24px; color: var(--ink); background: #fff; text-align: left; cursor: pointer;
}
.profile-avatar { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--olive-deep); font-size: 31px; font-weight: 700; }
.profile-account-card strong { display: block; font-size: 24px; }
.profile-account-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }
.profile-account-card > svg { width: 26px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-orders { display: grid; gap: 11px; }
.profile-section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.profile-section-link { color: inherit; text-decoration: none; }
.profile-section-link:hover, .profile-section-link:focus-visible { text-decoration: underline; text-underline-offset: .16em; }
.profile-section-title span { min-width: 32px; padding: 4px 9px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.72); font-size: 14px; text-align: center; }
.profile-empty-orders { padding: 28px; border: 1px dashed #c7c0b4; border-radius: 22px; background: rgba(255,255,255,.42); }
.profile-empty-orders strong { font-size: 19px; }
.profile-empty-orders p { margin: 7px 0 0; color: var(--muted); line-height: 1.45; }
.profile-order-card { border: 1px solid rgba(67,59,48,.09); border-radius: 22px; background: #fff; overflow: hidden; }
.profile-order-card summary {
  min-height: 94px; padding: 11px 15px 11px 11px; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 24px; gap: 14px; align-items: center;
  list-style: none; cursor: pointer;
}
.profile-order-card summary::-webkit-details-marker { display: none; }
.profile-order-media, .profile-order-media img, .profile-order-placeholder { width: 72px; height: 72px; }
.profile-order-media { display: block; }
.profile-order-media img { display: block; border-radius: 17px; object-fit: cover; }
.profile-order-placeholder { display: grid; place-items: center; border-radius: 17px; color: #fff; background: var(--olive-deep); font-size: 25px; }
.profile-order-meta strong { display: block; font-size: 18px; }
.profile-order-meta small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.profile-order-total { font-size: 20px; white-space: nowrap; }
.profile-order-card summary > svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s; }
.profile-order-card[open] summary > svg { transform: rotate(180deg); }
.profile-receipt { padding: 20px; border-top: 1px solid var(--line); background: #fbfaf6; }
.profile-receipt-head { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.profile-receipt ul { margin: 20px 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.profile-receipt li, .profile-receipt p { display: flex; justify-content: space-between; gap: 20px; margin: 0; }
.profile-receipt li > span:last-child { flex: none; white-space: nowrap; }
.profile-receipt li strong { display: block; }
.profile-receipt li small { display: block; max-width: 410px; margin-top: 3px; color: var(--muted); line-height: 1.35; }
.profile-receipt p { padding-top: 14px; border-top: 1px solid var(--line); }
.profile-receipt p span { color: var(--muted); }
.profile-receipt p strong { max-width: 390px; text-align: right; }
.profile-receipt-total { margin-top: 14px !important; font-size: 20px; }

.profile-settings form { display: grid; gap: 16px; }
.profile-settings-group { border: 1px solid rgba(67,59,48,.09); border-radius: 22px; background: #fff; overflow: hidden; }
.profile-settings-group > label:not(.profile-switch-row) { padding: 16px 18px; display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: 18px; align-items: center; }
.profile-settings-group > label + label { border-top: 1px solid var(--line); }
.profile-settings-group label > span { font-size: 16px; }
.profile-settings-group > label:not(.profile-switch-row) small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.profile-settings-group input:not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; color: var(--ink); background: #f5f2ec; font: inherit; text-align: right; }
.profile-settings-group input[readonly] { color: var(--muted); background: transparent; }
.profile-switch-row { min-height: 78px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; cursor: pointer; }
.profile-switch-row span { min-width: 0; }
.profile-switch-row strong, .profile-switch-row small { display: block; }
.profile-switch-row small { margin-top: 4px; color: var(--muted); line-height: 1.3; }
.profile-switch-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-switch-row i { width: 52px; height: 30px; flex: none; padding: 3px; border-radius: 999px; background: #c5c5bf; transition: background .18s; }
.profile-switch-row i::after { content: ""; width: 24px; height: 24px; display: block; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: transform .18s; }
.profile-switch-row input:checked + i { background: var(--olive-deep); }
.profile-switch-row input:checked + i::after { transform: translateX(22px); }
.profile-switch-row input:focus-visible + i { outline: 3px solid rgba(99,120,71,.28); outline-offset: 3px; }
.profile-switch-row input:disabled + i { opacity: .45; }
.profile-settings-links { border: 1px solid rgba(67,59,48,.09); border-radius: 22px; background: #fff; overflow: hidden; }
.profile-settings-links a { min-height: 58px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); text-decoration: none; }
.profile-settings-links a + a { border-top: 1px solid var(--line); }
.profile-settings-links span { color: var(--muted); font-size: 22px; }
.profile-logout-button, .profile-delete-button { min-height: 58px; border: 0; border-radius: 18px; background: #fff; font: inherit; font-size: 18px; cursor: pointer; }
.profile-delete-button { color: #8f493e; background: transparent; }
.profile-delete-confirm { padding: 18px; border: 1px solid rgba(143,73,62,.28); border-radius: 18px; background: #fbefeb; }
.profile-delete-confirm p { margin: 0 0 14px; line-height: 1.45; }
.profile-delete-confirm > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.profile-delete-confirm button { min-height: 48px; border: 1px solid #8f493e; border-radius: 13px; color: #8f493e; background: #fff; font: inherit; cursor: pointer; }
.profile-delete-confirm button:first-child { color: #fff; background: #8f493e; }

@media (max-width: 680px) {
  .profile-modal { width: 100vw; max-height: 100dvh; margin: auto 0 0; padding: 24px 18px calc(28px + env(safe-area-inset-bottom)); border: 0; border-radius: 28px 28px 0 0; }
  .profile-view-head { padding-right: 54px; }
  .profile-view-head h2, .feature-modal.profile-modal .profile-view-head h2 { font-size: clamp(42px, 13vw, 58px); }
  .profile-auth-view { min-height: calc(100dvh - 78px - env(safe-area-inset-bottom)); }
  .profile-auth-form { margin-top: 52px; }
  .profile-auth-field input { min-height: 76px; font-size: 24px; }
  .profile-account-card { grid-template-columns: 62px minmax(0, 1fr) 24px; min-height: 98px; padding: 14px; }
  .profile-avatar { width: 62px; height: 62px; font-size: 27px; }
  .profile-order-card summary { grid-template-columns: 60px minmax(0, 1fr) 22px; gap: 11px; }
  .profile-order-media, .profile-order-media img, .profile-order-placeholder { width: 60px; height: 60px; }
  .profile-order-total { grid-column: 2; font-size: 18px; }
  .profile-order-card summary > svg { grid-column: 3; grid-row: 1 / span 2; }
  .profile-settings-group > label:not(.profile-switch-row) { grid-template-columns: 1fr; gap: 7px; }
  .profile-settings-group input:not([type="checkbox"]) { text-align: left; }
  .profile-receipt li { align-items: flex-start; }
}

html.is-native-app .profile-modal[open] { background: #f4efe6; }
html.is-native-app .profile-modal .profile-view-head h2 { text-align: left; }
html.is-native-app .profile-modal .profile-auth-view,
html.is-native-app .profile-modal .profile-overview,
html.is-native-app .profile-modal .profile-settings { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* V236 — on the home route the footer owns the clearance for the mobile tab bar. */
body.home-body > .home-page { padding-bottom: 0 !important; }
body.home-body > .site-legal-footer { margin-top: 50px; }

/* V229 — one standalone web profile, no modal and no preference form. */
.profile-screen { width: min(760px, calc(100% - 40px)); }
.profile-standalone-content {
  min-height: 540px;
  padding: 0;
}
.profile-standalone-content .profile-view-head {
  padding: 0;
  text-align: center;
}
.profile-standalone-content .profile-view-head .profile-back {
  position: absolute;
  left: 0;
  top: 0;
}
.profile-standalone-content .profile-auth-form { width: min(560px, 100%); margin: 0 auto; }
.profile-standalone-content .profile-progress { margin-bottom: 0; }
.profile-standalone-content .profile-overview,
.profile-standalone-content .profile-settings { min-height: 0; }
.profile-standalone-content .profile-account-section,
.profile-standalone-content .profile-orders,
.profile-standalone-content .profile-settings > form,
.profile-standalone-content .profile-settings-links,
.profile-standalone-content .profile-logout-button,
.profile-standalone-content .profile-delete-button,
.profile-standalone-content .profile-delete-confirm { width: min(620px, 100%); margin-right: auto; margin-left: auto; }
.profile-standalone-content .profile-account-section h2,
.profile-standalone-content .profile-orders h2 { margin: 0; font-size: 25px; text-transform: none; }
.profile-page > .site-legal-footer { margin-top: 0; }

@media (max-width: 760px) {
  .profile-screen { width: 100%; padding-right: 16px; padding-left: 16px; }
  .profile-standalone-content { min-height: 600px; }
  .profile-standalone-content .profile-auth-view { min-height: 560px; }
}

/* V229 — the fixed mobile-web header must never cover the menu intro. */
@media (max-width: 900px) {
  html.is-mobile-web body.menu-page .main-menu-catalog {
    padding-top: calc(68px + 24px) !important;
  }
}

/* V230 — web Home: one compact showcase, menu carousel, then legal footer. */
.home-featured { display: none; }

html:not(.is-native-app) body.home-body .home-showcase {
  display: grid;
  gap: 18px;
}
html:not(.is-native-app) body.home-body .home-showcase__side {
  display: grid;
  gap: 18px;
}
html:not(.is-native-app) body.home-body .home-showcase__side > .home-section { padding-top: 0; }
html:not(.is-native-app) body.home-body .home-directions > .home-kicker,
html:not(.is-native-app) body.home-body .home-directions > h2,
html:not(.is-native-app) body.home-body .home-bowl-day-section > .home-kicker,
html:not(.is-native-app) body.home-body .home-bowl-day-section > h2 { display: none; }
html:not(.is-native-app) body.home-body .home-featured {
  display: block;
  padding-top: 54px;
}
html:not(.is-native-app) body.home-body .home-promos { display: none !important; }
html.is-mobile-web body.home-body .home-featured {
  display: block;
  padding-top: 42px;
}
html.is-mobile-web body.home-body .home-promos { display: none !important; }

.home-featured__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.home-featured__head h2 {
  margin: 5px 0 0;
  font-family: var(--font-brand);
  font-size: clamp(38px, 6vw, 66px);
  font-variation-settings: 'wght' 620, 'wdth' 84, 'opsz' 2;
  line-height: .92;
}
.home-featured__controls { display: flex; gap: 9px; }
.home-featured__controls button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fbf8f2;
  color: var(--ink);
  font: 400 24px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.home-featured__controls button:hover { border-color: var(--olive); background: var(--olive-pale); transform: translateY(-2px); }
.home-featured__viewport { overflow: hidden; }
.home-featured__rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
}
.home-featured__rail::-webkit-scrollbar { display: none; }
.home-featured-card {
  flex: 0 0 min(78vw, 300px);
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  html:not(.is-native-app) body.home-body .home-page {
    width: min(1440px, calc(100% - 64px));
    padding-top: 120px;
  }
  html:not(.is-native-app) body.home-body .home-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 640px;
    gap: 24px;
    align-items: stretch;
  }
  html:not(.is-native-app) body.home-body .home-hero {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
  }
  html:not(.is-native-app) body.home-body .home-showcase__side {
    height: 100%;
    grid-template-rows: 218px minmax(0, 1fr);
    gap: 24px;
    min-width: 0;
  }
  html:not(.is-native-app) body.home-body .home-direction-grid,
  html:not(.is-native-app) body.home-body .home-directions { height: 100%; }
  html:not(.is-native-app) body.home-body .home-direction-grid { grid-auto-rows: 1fr; }
  html:not(.is-native-app) body.home-body .home-direction {
    min-height: 0;
    padding: 19px;
    border-radius: 28px;
  }
  html:not(.is-native-app) body.home-body .home-direction__art,
  html:not(.is-native-app) body.home-body .home-direction--menu .home-direction__art {
    width: 96%;
    height: 138px;
    object-position: center top;
  }
  html:not(.is-native-app) body.home-body .home-direction strong { font-size: clamp(27px, 2vw, 34px); }
  html:not(.is-native-app) body.home-body .home-direction small { font-size: 15px; }
  html:not(.is-native-app) body.home-body .home-bowl-day-section,
  html:not(.is-native-app) body.home-body .home-bowl-day { height: 100%; }
  html:not(.is-native-app) body.home-body .home-bowl-day {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    min-height: 0;
    overflow: hidden;
    border-radius: 28px;
  }
  html:not(.is-native-app) body.home-body .home-bowl-day-media,
  html:not(.is-native-app) body.home-body .home-bowl-day-media img { height: 100%; min-height: 0; }
  html:not(.is-native-app) body.home-body .home-bowl-day-copy { padding: 22px; }
  html:not(.is-native-app) body.home-body .home-bowl-day-copy h3 { font-size: clamp(28px, 2.3vw, 39px); }
  html:not(.is-native-app) body.home-body .home-bowl-day-copy button { min-height: 48px; }
  .home-featured-card { flex-basis: calc((100% - 54px) / 4); }
}

@media (max-width: 1023px) {
  html:not(.is-native-app) body.home-body .home-showcase__side { margin-top: 0; }
  html:not(.is-native-app) body.home-body .home-bowl-day-section { margin-top: 0; }
}

@media (max-width: 420px) {
  html:not(.is-native-app) body.home-body .home-direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.is-native-app) body.home-body .home-direction { min-height: 210px; padding: 14px; }
  html:not(.is-native-app) body.home-body .home-direction strong { font-size: 23px; }
  html:not(.is-native-app) body.home-body .home-direction small { font-size: 13px; }
  .home-featured__head { align-items: center; gap: 12px; }
  .home-featured__controls button { width: 44px; height: 44px; }
  .home-featured-card { flex-basis: 76vw; }
}

@media (prefers-reduced-motion: reduce) {
  .home-featured__rail { scroll-behavior: auto; }
  .home-featured__controls button { transition: none; }
}

/* V231 — mobile web chrome and safe catalog ending. */
@media (max-width: 900px) {
  html.is-mobile-web .site-header .header-actions > [data-open-profile] {
    display: grid !important;
    width: 44px;
    height: 44px;
    place-items: center;
  }

  html.is-mobile-web .site-header .icon-button,
  html.is-mobile-web .site-header .icon-button:visited,
  html.is-mobile-web .site-header .icon-button:focus,
  html.is-mobile-web .site-header .icon-button:active {
    color: var(--ink);
    text-decoration: none;
  }

  html.is-mobile-web body.menu-page .main-menu-catalog {
    padding-bottom: calc(140px + env(safe-area-inset-bottom)) !important;
    scroll-padding-bottom: calc(140px + env(safe-area-inset-bottom));
  }
}

/* V244 — one compact uppercase rhythm for every web screen intro. */
@media (min-width: 901px) {
  html:not(.is-native-app) .standalone-menu-main .screen-intro,
  html:not(.is-native-app) .standalone-screen-main .screen-intro {
    margin-bottom: 24px;
    text-transform: uppercase;
  }

  html:not(.is-native-app) .standalone-menu-main .screen-intro__eyebrow,
  html:not(.is-native-app) .standalone-screen-main .screen-intro__eyebrow {
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 1.15;
    letter-spacing: .08em;
  }

  html:not(.is-native-app) .standalone-menu-main .screen-intro__title,
  html:not(.is-native-app) .standalone-screen-main .screen-intro__title {
    margin: 0;
    font-size: 48px;
    line-height: .98;
  }

  html:not(.is-native-app) .standalone-menu-main .screen-intro__description,
  html:not(.is-native-app) .standalone-screen-main .screen-intro__description {
    max-width: 720px;
    margin: 26px auto 0;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: .03em;
    text-wrap: balance;
  }

  /* V241 — desktop menu carousel without the permanent shell. */
  html:not(.is-native-app) body.menu-page .catalog-filter-sticky {
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
  }

  html:not(.is-native-app) body.menu-page .catalog-filter-sticky::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0 calc(50% - 50vw);
    border-bottom: 1px solid rgba(83, 78, 65, .1);
    background: rgba(251, 248, 242, .8);
    box-shadow: 0 12px 28px rgba(72, 57, 38, .07);
    opacity: 0;
    pointer-events: none;
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    backdrop-filter: blur(16px) saturate(1.08);
    transition: opacity 180ms ease-out;
  }

  html:not(.is-native-app) body.menu-page .catalog-filter-sticky.is-stuck::before {
    opacity: 1;
  }

  html:not(.is-native-app) body.menu-page .catalog-filters {
    position: relative;
    z-index: 1;
  }

  html:not(.is-native-app) body.menu-page .catalog-filter {
    font-size: 29px;
  }
}

@media (max-width: 900px) {
  html.is-mobile-web .standalone-menu-main .screen-intro,
  html.is-mobile-web .standalone-screen-main .screen-intro {
    margin-bottom: 24px;
    padding: 26px 20px 19px;
    text-transform: uppercase;
  }

  html.is-mobile-web .standalone-menu-main .screen-intro__eyebrow,
  html.is-mobile-web .standalone-screen-main .screen-intro__eyebrow {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.15;
    letter-spacing: .08em;
  }

  html.is-mobile-web .standalone-menu-main .screen-intro__title,
  html.is-mobile-web .standalone-screen-main .screen-intro__title {
    margin: 0;
    font-size: 48px;
    line-height: .98;
  }

  html.is-mobile-web .standalone-menu-main .screen-intro__description,
  html.is-mobile-web .standalone-screen-main .screen-intro__description {
    max-width: 340px;
    margin: 18px auto 0 !important;
    font-family: var(--font-brand);
    font-size: 18px;
    font-weight: 520;
    font-variation-settings: 'wght' 520, 'wdth' 92, 'opsz' 2;
    line-height: 1.3;
    letter-spacing: .03em;
    text-wrap: balance;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.is-native-app) body.menu-page .catalog-filter-sticky::before {
    transition: none;
  }
}

/* V245 — demo checkout, order tracking and repeatable order history. */
.checkout-note {
  display: grid;
  gap: 7px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(99, 120, 71, .18);
  border-radius: 20px;
  background: rgba(220, 231, 204, .24);
  text-align: center;
}
.checkout-note strong { font-size: 22px; }
.checkout-note p { margin: 0; color: var(--muted); font: 15px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.checkout-button:disabled { opacity: .45; cursor: not-allowed; }

.order-success-dialog {
  width: min(430px, calc(100% - 32px));
  padding: 32px;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: #fbf8f2;
  box-shadow: 0 28px 80px rgba(36, 40, 29, .24);
  text-align: center;
}
.order-success-dialog::backdrop { background: rgba(36, 40, 29, .42); backdrop-filter: blur(6px); }
.order-success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--olive);
}
.order-success-mark svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.order-success-dialog .eyebrow { margin: 0 0 7px; color: var(--olive-deep); font-family: var(--font-brand); font-size: 18px; font-weight: 600; font-variation-settings: 'wght' 600, 'wdth' 88, 'opsz' 2; }
.order-success-dialog h2 { margin: 0; font-family: var(--font-display); font-size: 42px; font-weight: 560; font-variation-settings: 'wght' 560, 'wdth' 84, 'opsz' 2; line-height: .95; }
.order-success-dialog > p:not(.eyebrow) { margin: 16px auto 0; color: var(--muted); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.order-availability-dialog__schedule { display: grid; gap: 4px; max-width: 32ch; font-size: 16px !important; }
.order-availability-dialog__schedule span:first-child { color: var(--ink); font-weight: 600; }
.order-success-actions { display: grid; gap: 9px; margin-top: 26px; }
.order-success-actions .primary-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}
.order-success-actions button { min-height: 48px; border: 0; color: var(--muted); background: transparent; font: 600 14px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; cursor: pointer; }

.order-status-card,
.order-detail-card {
  border: 1px solid rgba(99, 120, 71, .2);
  border-radius: 24px;
  background: rgba(220, 231, 204, .34);
}
.profile-current-order {
  min-height: 112px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(99, 120, 71, .2);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(220, 231, 204, .34);
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.profile-current-order:hover { transform: translateY(-2px); border-color: rgba(99, 120, 71, .38); background: rgba(220, 231, 204, .54); }
.profile-current-order:active { transform: translateY(0) scale(.995); }
.profile-current-order:focus-visible { outline: 3px solid rgba(126, 158, 78, .4); outline-offset: 3px; }
.profile-current-order-copy { min-width: 0; display: grid; gap: 4px; }
.profile-current-order-copy small { color: var(--olive-deep); font: 700 12px/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: .08em; }
.profile-current-order-copy strong { font-size: clamp(29px, 3vw, 38px); line-height: .92; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.profile-current-order-copy > span { overflow: hidden; color: var(--muted); font: 14px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.profile-current-order-action { color: var(--olive-deep); font: 700 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: .04em; }
.profile-current-order > svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.profile-current-order:hover > svg { transform: translateX(3px); }
.order-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.order-status-head p { margin: 0 0 5px; color: var(--olive-deep); font: 700 12px/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: .08em; }
.order-status-head strong { display: block; font-size: 25px; }
.order-status-head small { display: block; margin-top: 5px; color: var(--muted); font: 14px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }

.order-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.order-progress::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(99, 120, 71, .22);
}
.order-progress-step { position: relative; z-index: 1; min-width: 0; display: grid; justify-items: center; gap: 8px; text-align: center; }
.order-progress-step > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid #c9c8bf;
  border-radius: 50%;
  color: #77756d;
  background: #fbf8f2;
  font: 700 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
.order-progress-step small { max-width: 100px; color: var(--muted); font: 11px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.order-progress-step.is-complete > span,
.order-progress-step.is-current > span { border-color: var(--olive); color: #fff; background: var(--olive); }
.order-progress-step.is-current > span { box-shadow: 0 0 0 5px rgba(126, 158, 78, .16); }
.order-progress-step.is-current small { color: var(--ink); font-weight: 700; }
.order-progress.is-cancelled::before { background: var(--web-destructive, #88483e); opacity: .3; }
.order-progress.is-cancelled .order-progress-step { align-content: start; }
.order-progress.is-cancelled .order-progress-step:last-child { grid-column: 5; }
.order-progress.is-cancelled .order-progress-step > span { border-color: var(--web-destructive, #88483e); background: var(--web-destructive, #88483e); color: #fff; }
.order-progress.is-cancelled .order-progress-step small { color: var(--web-destructive, #88483e); }
.order-progress.is-cancelled .order-progress-step[aria-current] small { font-weight: 700; }
a.profile-order-card {
  min-height: 94px;
  padding: 11px 15px 11px 11px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto 24px;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
a.profile-order-card > svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.order-screen { position: relative; width: min(900px, calc(100% - 40px)); padding-bottom: 100px; }
#orderContent { display: grid; gap: 18px; }
.order-status-card,
.order-detail-card { padding: 24px; }
.order-status-head { margin-bottom: 26px; }
.order-status-head > span { font-size: 28px; white-space: nowrap; }
.order-detail-card { background: #fff; }
.order-detail-card h2 { margin: 0; font-size: 28px; }
.order-lines { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.order-line {
  min-height: 94px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.order-line img { width: 72px; height: 72px; border-radius: 17px; object-fit: cover; }
.order-line strong,
.order-line small,
.order-line span { display: block; }
.order-line strong { font: 700 17px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.order-line small { margin-top: 4px; color: var(--muted); font: 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.order-line span { margin-top: 5px; color: var(--olive-deep); font: 14px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
.order-line > b { font-size: 19px; white-space: nowrap; }
.order-detail-total { padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.order-detail-total span { color: var(--muted); }
.order-detail-total strong { font-size: 25px; }
.order-repeat { width: 100%; min-height: 62px; }
.order-missing { padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-align: center; }
.order-missing .primary-button { margin-top: 18px; display: inline-grid; place-items: center; text-decoration: none; }

@media (max-width: 680px) {
  .order-success-dialog { padding: 28px 20px 22px; border-radius: 24px; }
  .profile-current-order { min-height: 82px; padding: 16px; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; border: 0; border-radius: 18px; background: #edf0e4; }
  .profile-current-order-copy { gap: 6px; }
  .profile-current-order-copy strong { font-size: 28px; line-height: 1; font-weight: 560; overflow-wrap: anywhere; }
  .profile-current-order-copy > span { color: var(--olive-deep); font-size: 15px; line-height: 1.35; white-space: normal; }
  .profile-current-order-action { display: none; }
  .order-progress { gap: 0; }
  .order-progress-step small { font-size: 9px; }
  a.profile-order-card { grid-template-columns: 60px minmax(0, 1fr) 22px; gap: 11px; }
  a.profile-order-card .profile-order-media,
  a.profile-order-card .profile-order-media img,
  a.profile-order-card .profile-order-placeholder { width: 60px; height: 60px; }
  a.profile-order-card .profile-order-total { grid-column: 2; font-size: 18px; }
  a.profile-order-card > svg { grid-column: 3; grid-row: 1 / span 2; }
  .order-screen { width: calc(100% - 28px); padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
  .order-status-card,
  .order-detail-card { padding: 18px 14px; border-radius: 20px; }
  .order-status-head { flex-direction: column; gap: 9px; }
  .order-status-head > span { font-size: 24px; }
  .order-line { grid-template-columns: 58px minmax(0, 1fr); }
  .order-line img { width: 58px; height: 58px; border-radius: 14px; }
  .order-line > b { grid-column: 2; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .order-success-dialog::backdrop { backdrop-filter: none; }
}

/* V246 — desktop catalog keeps the native 3:4 product photography centered. */
@media (min-width: 901px) {
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-media img {
    aspect-ratio: 3 / 4;
    object-position: center center;
  }
}


/* Повторная оплата заказа: гость мог закрыть окно оплаты или отложить платёж. */
.order-pay { width: 100%; min-height: 62px; margin-top: 16px; }
.order-cancel { width: 100%; margin-top: 10px; }
.order-cancel:focus-visible, .order-cancel-confirm:focus-visible { outline: 3px solid rgba(136, 72, 62, .35); outline-offset: 3px; }
.order-cancel + .order-repeat { margin-top: 10px; }
.order-receipt { margin: 0 0 16px; color: var(--muted); }
.order-receipt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* V261 — action copy is always uppercase across the web design system.
   Descendants inherit the rule so component-specific typography cannot
   accidentally return labels inside compound buttons to mixed case. */
:is(button, [role="button"], .primary-button) {
  text-transform: uppercase !important;
}

:is(button, [role="button"], .primary-button) * {
  text-transform: inherit !important;
}

/* V339 — Menu owns one compact safety gap; the footer must not add a second one. */
html:is(:not(.is-native-app), .is-mobile-web) body.menu-page .main-menu-catalog {
  min-height: 0;
  padding-bottom: clamp(28px, 4vw, 48px) !important;
  scroll-padding-bottom: 0;
}

html:is(:not(.is-native-app), .is-mobile-web) body.menu-page.has-legal-footer > .site-legal-footer {
  margin-top: 0;
}

/* Стоп-лист iiko: закончившееся блюдо видно в меню, но не добавляется. */
.catalog-card.is-sold-out .catalog-media img { filter: grayscale(.85); opacity: .55; }
.catalog-card.is-sold-out .catalog-buy strong { color: rgba(40, 36, 30, .45); }
.catalog-sold-out,
.catalog-stock-left {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 12px 3px;
  border: 0;
  border-radius: calc(var(--radius-control) / 2);
  corner-shape: squircle;
  color: #795247;
  background: #e9d9d2;
  font: 560 17px/1 var(--font-brand);
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.catalog-stock-left {
  color: var(--olive-deep);
  background: #e9efdf;
}
html:is(:not(.is-native-app), .is-mobile-web) body:is(.menu-page, .home-launch) .catalog-add.catalog-sold-out-link {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  color: var(--olive-deep);
  background: rgba(220, 231, 204, .42);
  box-shadow: none;
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
}
.catalog-sold-out-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html:is(:not(.is-native-app), .is-mobile-web) body:is(.menu-page, .home-launch) .catalog-add.catalog-sold-out-link:is(:hover, :focus-visible, :active) { box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-add.catalog-sold-out-link:is(:hover, :focus-visible) {
    color: #fff;
    background: var(--olive-deep);
    border-color: var(--olive-deep);
  }
}
.catalog-add:disabled,
.catalog-card:hover .catalog-add:disabled,
.catalog-card:focus-within .catalog-add:disabled,
.catalog-stepper button:disabled,
.catalog-stepper button:disabled:hover,
.cart-quantity-control button:disabled,
html:is(:not(.is-native-app), .is-mobile-web) body.web-commerce .cart-quantity-control button:disabled:hover {
  opacity: .35;
  cursor: not-allowed;
  color: var(--olive-deep);
  background: transparent;
  box-shadow: none;
  transform: none;
}

/* V389 — спокойная desktop-реакция карточки без сдвига и теней. */
@media (hover: hover) and (pointer: fine) {
  @media (min-width: 901px) { .catalog-favorite:not(.is-favorite) { opacity: 0; } }
  .catalog-card .catalog-favorite[aria-expanded="true"] { opacity:1; }
  .catalog-card:hover .catalog-favorite,
  .catalog-card:focus-within .catalog-favorite { opacity: 1; }
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card:not(.is-in-cart):hover .catalog-favorite,
  html:not(.is-native-app) body:is(.menu-page, .home-launch) .catalog-card:not(.is-in-cart):focus-within .catalog-favorite { opacity: 1; }
}
