/* Four Little Chefs, design 2: build-your-own boxes.
   Concept: four little chefs, four meal colors. Each meal's color follows its chef,
   its tab, its builder and its box. Deep night grounds make the characters pop,
   pastel meal tints carry the menu. */
:root {
  --sky: #eaf3fa;
  --sky-deep: #d6e8f5;
  --paper: #ffffff;
  --ink: #2b2340;
  --ink-soft: #5f5a74;
  --line: #d5e0ec;
  --night: #1d1730;
  --night-2: #2a2145;
  --cream: #fff8ec;
  --cream-soft: rgba(255, 248, 236, 0.76);
  --cream-line: rgba(255, 248, 236, 0.16);
  --sun: #ffc233;
  --sun-soft: #fff1c9;
  --leaf: #4fae5a;
  --leaf-soft: #ddf2de;
  --tomato: #ee5f45;
  --tomato-soft: #ffe0d9;
  --berry: #e06aa3;
  --berry-soft: #fce0ee;
  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 28px;
  --stroke: 3px solid var(--ink);
  --lift: 0 6px 0 var(--ink);
  color-scheme: light;
}
[data-meal="breakfast"] { --meal: var(--sun); --meal-soft: var(--sun-soft); --meal-deep: #5a3b05; }
[data-meal="lunch"] { --meal: var(--leaf); --meal-soft: var(--leaf-soft); --meal-deep: #1b4a28; }
[data-meal="dinner"] { --meal: var(--tomato); --meal-soft: var(--tomato-soft); --meal-deep: #5c1d15; }
[data-meal="dessert"] { --meal: var(--berry); --meal-soft: var(--berry-soft); --meal-deep: #511a3b; }

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body.flc { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.flc *, body.flc *::before, body.flc *::after { box-sizing: border-box; }
body.flc img { max-width: 100%; display: block; }
body.flc :focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 10px; border: var(--stroke); font-weight: 800; }
.skip-link:focus { left: 12px; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.display { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: 0.005em; text-wrap: balance; margin: 0; }
.h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.lede { color: var(--ink-soft); font-size: 1.12rem; max-width: 56ch; margin: 0; }
.label { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.stack { display: grid; gap: 16px; }
.section { padding-block: clamp(72px, 10vw, 120px); }
.dark { background: radial-gradient(1100px 520px at 12% -10%, rgba(224, 106, 163, 0.2), transparent 60%), radial-gradient(900px 520px at 95% 110%, rgba(255, 194, 51, 0.14), transparent 60%), var(--night); color: var(--cream); }
.dark .lede, .dark .label { color: var(--cream-soft); }

/* ---------- header ---------- */
body.flc::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--night); }
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; padding-block: 12px; transition: background 0.25s ease, box-shadow 0.25s ease; }
.site-header[data-solid="true"] { background: color-mix(in srgb, var(--night) 90%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--cream-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: var(--display); font-size: 1.45rem; white-space: nowrap; }
.logo-mark { display: grid; grid-template-columns: repeat(2, 11px); gap: 3px; }
.logo-mark i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--cream); display: block; }
.logo-mark i:nth-child(1) { background: var(--sun); }
.logo-mark i:nth-child(2) { background: var(--leaf); }
.logo-mark i:nth-child(3) { background: var(--tomato); }
.logo-mark i:nth-child(4) { background: var(--berry); }
.nav { display: flex; gap: 4px; align-items: center; background: rgba(255, 248, 236, 0.08); border: 1px solid var(--cream-line); border-radius: 999px; padding: 5px; }
.nav a { color: var(--cream); text-decoration: none; font-weight: 800; font-size: 0.95rem; padding: 7px 14px; border-radius: 999px; transition: background 0.15s ease; }
.nav a:hover { background: rgba(255, 248, 236, 0.12); }
.nav a.is-active { background: var(--cream); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .nav[data-open="true"] { display: grid; position: absolute; top: 66px; left: 14px; right: 14px; padding: 10px; border-radius: 22px; background: var(--paper); border: var(--stroke); box-shadow: var(--lift); }
  .nav[data-open="true"] a { color: var(--ink); padding: 12px 16px; font-size: 1.05rem; }
  .menu-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--cream); background: transparent; color: var(--cream); cursor: pointer; font-size: 1.15rem; line-height: 1; }
}

/* Order CTA: the sun sticker. */
.cta-order { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; background: var(--sun); color: var(--ink); border: var(--stroke); border-radius: 999px; font: 800 1rem var(--body); padding: 10px 20px; box-shadow: var(--lift); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.cta-order:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.cta-order:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.cta-order .count { min-width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: var(--sun); display: inline-grid; place-items: center; font-size: 0.85rem; padding-inline: 6px; font-variant-numeric: tabular-nums; }
.cta-order--big { font-size: 1.15rem; padding: 14px 28px; }
.dark .cta-order { box-shadow: 0 6px 0 rgba(0, 0, 0, 0.45); border-color: var(--sun); }
.cta-order .short { display: none; }

/* Underline-swipe text link. */
.cta-trail { font-weight: 800; color: inherit; text-decoration: none; background: linear-gradient(var(--meal, var(--leaf)), var(--meal, var(--leaf))) 0 100% / 100% 4px no-repeat; padding-bottom: 3px; transition: background-size 0.2s ease, color 0.2s ease; }
.cta-trail:hover { background-size: 100% 100%; color: var(--ink); border-radius: 4px; }

/* ---------- home hero: the four chefs ---------- */
.hero { padding-top: clamp(118px, 13vw, 150px); padding-bottom: clamp(56px, 7vw, 90px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 span { display: block; }
.hero h1 .tint-1 { color: var(--sun); }
.hero h1 .tint-2 { color: var(--leaf); }
.hero h1 .tint-3 { color: var(--tomato); }
.hero h1 .tint-4 { color: var(--berry); }
.hero .lede { margin-top: 18px; font-size: 1.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }
.lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.lineup a { text-decoration: none; color: var(--cream); display: grid; justify-items: center; gap: 10px; }
.arch { position: relative; width: 100%; aspect-ratio: 3 / 5; display: grid; place-items: end center; }
.arch::before { content: ""; position: absolute; inset: 18% 4% 0; border-radius: 999px 999px 26px 26px; background: var(--meal-soft); border: 3px solid var(--meal); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 -4px 50px color-mix(in srgb, var(--meal) 40%, transparent); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; padding: 0 6% 4%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.45)); transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); transform-origin: 50% 100%; }
.lineup a:hover .arch img { transform: translateY(-10px) rotate(-2deg); }
.lineup:not(.no-stagger) a:nth-child(2) .arch, .lineup:not(.no-stagger) a:nth-child(4) .arch { margin-bottom: 26px; }
.lineup .tag { font-weight: 800; font-size: 0.9rem; padding: 4px 12px; border-radius: 999px; background: var(--meal); color: var(--ink); white-space: nowrap; }
.lineup .who { font-family: var(--display); font-size: 1.15rem; line-height: 1; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lineup { gap: 8px; }
  .lineup .tag { font-size: 0.75rem; padding: 3px 8px; }
  .lineup .who { font-size: 0.95rem; }
  .lineup:not(.no-stagger) a:nth-child(2) .arch, .lineup:not(.no-stagger) a:nth-child(4) .arch { margin-bottom: 14px; }
}

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: s; border: var(--stroke); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.how li { counter-increment: s; padding: 26px 22px; display: grid; gap: 8px; align-content: start; border-left: 2px dashed var(--line); }
.how li:first-child { border-left: 0; }
.how li::before { content: counter(s); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.5rem; border: var(--stroke); background: var(--meal); }
.how p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } .how li:nth-child(3) { border-left: 0; } .how li:nth-child(n+3) { border-top: 2px dashed var(--line); } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } .how li { border-left: 0; border-top: 2px dashed var(--line); } .how li:first-child { border-top: 0; } }

/* ---------- chef feature bands ---------- */
.chef-band { background: var(--meal-soft); border-top: var(--stroke); }
.chef-band:last-of-type { border-bottom: var(--stroke); }
.chef-band .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.chef-band:nth-of-type(even) .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.chef-band:nth-of-type(even) .chef-pic { order: 2; }
.chef-pic { position: relative; display: grid; place-items: end center; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; margin-inline: auto; }
.chef-pic::before { content: ""; position: absolute; inset: 14% 6% 0; border-radius: 999px 999px 30px 30px; background: var(--meal-deep); border: var(--stroke); }
.chef-pic img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; padding: 0 8% 3%; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.35)); }
.chef-pic .meal-badge { position: absolute; top: 4%; right: 0; transform: rotate(6deg); background: var(--meal); border: var(--stroke); border-radius: 18px; padding: 8px 14px; font-family: var(--display); font-size: 1.2rem; box-shadow: var(--lift); }
.choice-peek { display: grid; gap: 12px; margin: 6px 0 4px; }
.choice-peek div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.choice-peek b { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; min-width: 92px; }
.choice-peek span { font-size: 0.86rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); }
.choice-peek span:has(img) { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 3px; }
.choice-peek span img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--ink); }
.from-price { font-weight: 800; color: var(--ink-soft); }
/* Build CTA: meal-colored pill with an arrow that slides. */
.cta-build { display: inline-flex; align-items: center; gap: 12px; justify-self: start; text-decoration: none; cursor: pointer; background: var(--ink); color: var(--cream); border: var(--stroke); border-radius: 999px; padding: 12px 14px 12px 22px; font: 800 1.05rem var(--body); transition: transform 0.12s ease; }
.cta-build i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--meal); color: var(--ink); font-style: normal; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.cta-build:hover i { transform: translateX(4px); }
.cta-build:active { transform: scale(0.97); }
@media (max-width: 860px) {
  .chef-band .wrap, .chef-band:nth-of-type(even) .wrap { grid-template-columns: 1fr; }
  .chef-band:nth-of-type(even) .chef-pic { order: 0; }
  .chef-pic { max-width: 300px; }
}

/* ---------- sizes ---------- */
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.size-card { background: rgba(255, 248, 236, 0.06); border: 1px solid var(--cream-line); border-radius: 22px; padding: 22px; display: grid; gap: 6px; }
.size-card .range { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.size-card .range small { font-family: var(--body); font-size: 0.9rem; color: var(--cream-soft); font-weight: 800; margin-left: 4px; }
.size-card p { margin: 0; color: var(--cream-soft); font-size: 0.95rem; }
.portion-list { list-style: none; margin: 8px 0 0; padding: 12px 0 0; border-top: 1px solid var(--cream-line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 0.9rem; color: var(--cream-soft); }
.portion-list b { color: var(--cream); font-size: 1rem; }
.size-card .size-prices { margin-top: 6px; font-size: 0.82rem; font-weight: 800; color: var(--sun); }
@media (max-width: 860px) { .sizes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- balanced box ---------- */
.box-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.box-photo { border-radius: var(--radius); border: var(--stroke); overflow: hidden; box-shadow: 0 10px 0 var(--ink); aspect-ratio: 4 / 3; background: var(--leaf-soft); }
.box-photo img { width: 100%; height: 100%; object-fit: cover; }
.legend { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.legend i { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--ink); margin-top: 3px; }
@media (max-width: 860px) { .box-split { grid-template-columns: 1fr; } }

.final { border-radius: 36px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: center; overflow: hidden; }
@media (max-width: 860px) { .final { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--cream); padding-block: 52px 36px; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.site-footer h4 { margin: 0 0 10px; font-size: 0.95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a, .site-footer span, .site-footer p { color: var(--cream-soft); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer .fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--cream-line); font-size: 0.86rem; font-weight: 600; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }

/* ================= ORDER PAGE: the builder ================= */
.order-head { padding-top: clamp(104px, 11vw, 130px); padding-bottom: 0; }
.order-head .wrap { display: grid; gap: 14px; }
.meal-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.meal-tab { cursor: pointer; position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: end; gap: 10px; text-align: left; padding: 10px 14px 0 10px; border-radius: 22px 22px 0 0; border: 0; background: rgba(255, 248, 236, 0.07); color: var(--cream); font-family: var(--body); overflow: hidden; transition: background 0.15s ease; }
.meal-tab img { width: 64px; height: 76px; object-fit: cover; object-position: 50% 8%; }
.meal-tab .t { padding-bottom: 12px; display: grid; gap: 0; line-height: 1.2; }
.meal-tab b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.meal-tab small { font-weight: 700; color: var(--cream-soft); font-size: 0.82rem; }
.meal-tab:hover { background: rgba(255, 248, 236, 0.14); }
.meal-tab[aria-selected="true"] { background: var(--meal-soft); color: var(--ink); }
.meal-tab[aria-selected="true"] small { color: var(--ink-soft); }
@media (max-width: 760px) {
  .meal-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .meal-tab { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 8px 4px 0; border-radius: 18px 18px 0 0; }
  .meal-tab img { width: 52px; height: 58px; order: 2; }
  .meal-tab .t { padding-bottom: 4px; }
  .meal-tab b { font-size: 1rem; }
  .meal-tab small { display: none; }
}

.builder-zone { background: var(--meal-soft); border-top: 0; padding-block: 28px 120px; transition: background 0.25s ease; }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 1040px) { .builder { grid-template-columns: 1fr; } }
.chef-intro { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--meal-deep); color: var(--cream); border: var(--stroke); border-radius: var(--radius); padding: 16px 22px 0 16px; overflow: hidden; }
.chef-intro img { width: 120px; height: 150px; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4)); }
.chef-intro .t { padding-bottom: 16px; display: grid; gap: 6px; }
.chef-intro h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.chef-intro p { margin: 0; color: var(--cream-soft); font-weight: 600; }
.chef-intro .when { color: var(--meal); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 520px) { .chef-intro { grid-template-columns: 84px minmax(0, 1fr); padding: 12px 14px 0 10px; gap: 12px; } .chef-intro img { width: 84px; height: 110px; } }

.step { margin-top: 26px; }
.step-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 12px; }
.step-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.step-head h3 .n { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: var(--meal); font-family: var(--display); font-size: 1.05rem; }
.step-head .rule { font-weight: 800; font-size: 0.88rem; color: var(--ink-soft); }
.step-head .rule.done { color: var(--ink); }
.portion-note { margin: 10px 0 0; font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); }
.portion-note b { color: var(--ink); }
.facts .portion { flex-basis: 100%; font-size: 0.8rem; }
.sizes-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.size-pill { cursor: pointer; display: grid; gap: 0; text-align: center; padding: 10px 6px; border-radius: 18px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--body); }
.size-pill b { font-size: 1rem; }
.size-pill small { font-weight: 700; color: var(--ink-soft); font-size: 0.8rem; }
.size-pill[aria-checked="true"] { background: var(--ink); color: var(--cream); }
.size-pill[aria-checked="true"] small { color: var(--meal); }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { cursor: pointer; position: relative; display: grid; gap: 4px; align-content: start; text-align: left; min-height: 96px; padding: 14px 14px 12px; border-radius: 18px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); font-family: var(--body); transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.opt b { font-size: 1rem; line-height: 1.25; }
.opt .meta { font-size: 0.78rem; color: var(--ink-soft); font-weight: 700; }
.opt .extra { font-size: 0.78rem; font-weight: 800; color: var(--tomato); }
.opt .tags { display: flex; gap: 4px; margin-top: 2px; }
.opt .tags abbr { text-decoration: none; font-size: 0.68rem; font-weight: 800; border: 1.5px solid var(--ink); border-radius: 6px; padding: 0 4px; }
.opt .pic { display: block; margin: -14px -14px 6px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px 16px 0 0; background: #fbf1df; }
.opt .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.opt:hover .pic img { transform: scale(1.06); }
.opt::after { content: ""; position: absolute; top: 10px; right: 10px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.opt[data-multi="true"]::after { border-radius: 7px; }
.opt[aria-checked="true"] { border-color: var(--ink); background: var(--meal); box-shadow: 0 0 0 1px var(--ink), 0 5px 0 var(--ink); }
.opt[aria-checked="true"]::after { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--meal); }
.opt[aria-checked="true"] .meta, .opt[aria-checked="true"] .extra { color: var(--ink); }
.opt[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Live box preview */
.side { position: sticky; top: 92px; display: grid; gap: 18px; }
@media (max-width: 1040px) { .side { position: static; } }
.preview { background: var(--paper); border: var(--stroke); border-radius: var(--radius); box-shadow: 0 8px 0 var(--ink); padding: 20px; display: grid; gap: 14px; }
.preview h2 { font-size: 1.6rem; }
.tray { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 8px; padding: 10px; border-radius: 18px; background: #d9b98d; border: 3px solid #8a6a43; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.35); }
.tray .slot { min-height: 64px; border-radius: 12px; padding: 8px 10px; background: #f1e1c6; border: 2px dashed #b89466; display: grid; align-content: center; gap: 2px; font-size: 0.82rem; font-weight: 800; color: #6b5233; line-height: 1.25; }
.tray .slot small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.tray .slot.filled { background: var(--meal-soft); border: 2px solid var(--ink); color: var(--ink); animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.tray .slot.protein { grid-row: span 2; }
.tray .pick { display: flex; align-items: center; gap: 8px; }
.tray .pick img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); background: #fbf1df; }
.tray .slot.protein .pick { flex-direction: column; align-items: flex-start; }
.tray .slot.protein .pick img { width: 72px; height: 72px; }
.tray.single { grid-template-columns: 1fr; }
.tray.single .slot { min-height: 120px; grid-row: auto; }
@keyframes pop { from { transform: scale(0.92); } to { transform: none; } }
.facts { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 0.9rem; color: var(--ink-soft); flex-wrap: wrap; }
.facts .allergy { flex-basis: 100%; font-weight: 700; font-size: 0.82rem; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-row .price { font-family: var(--display); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button { cursor: pointer; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sky); color: var(--ink); font: 800 1.05rem var(--body); line-height: 1; }
.qty span { min-width: 20px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
/* Add to bag: wide meal-colored slab with a pop on add. */
.cta-add { cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: var(--stroke); background: var(--meal); color: var(--ink); border-radius: 18px; padding: 14px 18px; font: 800 1.08rem var(--body); box-shadow: 0 5px 0 var(--ink); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.cta-add:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.cta-add:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.cta-add:disabled { cursor: not-allowed; background: var(--sky-deep); color: var(--ink-soft); }
.hint { margin: 0; font-size: 0.86rem; color: var(--ink-soft); font-weight: 700; }

/* Bag */
.bag { background: var(--paper); border: var(--stroke); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; scroll-margin-top: 90px; }
.bag h2 { font-size: 1.5rem; }
.bag-empty { margin: 0; padding: 16px; text-align: center; color: var(--ink-soft); border: 2px dashed var(--line); border-radius: 16px; }
.bag-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bag-line { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 4px 10px; padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
.bag-line .dot { grid-row: span 3; width: 10px; border-radius: 6px; background: var(--meal); border: 1.5px solid var(--ink); }
.bag-line b { font-size: 0.98rem; }
.bag-line .what { grid-column: 2 / 4; font-size: 0.84rem; color: var(--ink-soft); font-weight: 600; }
.bag-line .row { grid-column: 2 / 4; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bag-line .row small { font-weight: 800; font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--sky); border-radius: 16px; border: 2px solid var(--line); }
.seg button { cursor: pointer; padding: 9px; border-radius: 12px; border: 0; background: transparent; font: 800 0.95rem var(--body); color: var(--ink-soft); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.sum { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.sum div { display: flex; justify-content: space-between; }
.sum .total { font-family: var(--display); font-size: 1.4rem; padding-top: 6px; }
.note { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
/* Checkout: tomato slab. */
.cta-checkout { cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: var(--stroke); background: var(--tomato); color: var(--ink); border-radius: 18px; padding: 14px 18px; font: 800 1.05rem var(--body); box-shadow: 0 5px 0 var(--ink); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.cta-checkout:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.cta-checkout:disabled { opacity: 0.5; cursor: not-allowed; }
.link-btn { justify-self: start; cursor: pointer; border: 0; background: none; padding: 0 0 3px; font: 800 0.95rem var(--body); color: var(--ink); background-image: linear-gradient(var(--leaf), var(--leaf)); background-size: 100% 3px; background-position: 0 100%; background-repeat: no-repeat; }

.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 0.9rem; }
.field input, .field select, .field textarea { font: 600 1rem var(--body); padding: 11px 13px; border-radius: 14px; border: 2px solid var(--line); background: var(--sky); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.alert { margin: 0; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--tomato); background: var(--tomato-soft); font-weight: 700; }
.ok { padding: 20px; border-radius: 20px; border: var(--stroke); background: var(--leaf-soft); display: grid; gap: 8px; }
.ok .code { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.04em; }

.mobile-bar { display: none; }
@media (max-width: 1040px) {
  .mobile-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 20px; background: var(--night); color: var(--cream); font-weight: 800; box-shadow: 0 10px 30px rgba(29, 23, 48, 0.35); }
  .mobile-bar a { text-decoration: none; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 14px; }
}

.not-found { min-height: 70dvh; display: grid; place-items: center; text-align: center; padding-top: 120px; }

/* ---------- phones ---------- */
@media (max-width: 560px) {
  .site-header { padding-block: 10px; }
  .site-header .wrap { gap: 8px; padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
  .logo { font-size: 1.05rem; gap: 7px; }
  .logo-mark { grid-template-columns: repeat(2, 9px); gap: 2px; }
  .logo-mark i { width: 9px; height: 9px; }
  .header-actions { gap: 6px; }
  .cta-order { padding: 7px 12px; font-size: 0.92rem; gap: 6px; }
  .site-header .cta-order .long { display: none; }
  .site-header .cta-order .short { display: inline; }
  .cta-order .count { min-width: 22px; height: 22px; font-size: 0.78rem; }
  .menu-toggle { width: 40px; height: 40px; }
  .nav[data-open="true"] { top: 60px; left: 12px; right: 12px; }
  .section { padding-block: 60px; }
  .h1 { font-size: clamp(2.5rem, 12vw, 3.2rem); }
  .h2 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .options { gap: 8px; }
  .opt { min-height: 88px; padding: 12px 12px 10px; }
  .opt .pic { margin: -12px -12px 6px; }
  .opt b { font-size: 0.94rem; }
  .preview, .bag { padding: 16px; }
  .builder-zone { padding-block: 20px 120px; }
}
