/* Tu Food Court — brand stylesheet. Colors sampled from the official logo files. */
:root {
  --green: #004f39;
  --green-deep: #003527;
  --green-soft: #e3efe9;
  --red: #db461c;
  --red-deep: #b8370f;
  --amber: #f59924;
  --amber-soft: #fde9cc;
  --cream: #fff6ea;
  --paper: #ffffff;
  --ink: #1d2a24;
  --muted: #5b6b63;
  --line: #e7dccb;
  --line-strong: #9f8b6e;   /* 3.1:1 on white — visible form-field borders */
  --amber-text: #ffb648;    /* amber for TEXT on green (4.35:1 → 5.9:1) */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 53, 39, .12);
  --font-display: 'Alfa Slab One', 'Rockwell', Georgia, serif;
  --font-accent: 'Bitter', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; } /* clip (not hidden) keeps sticky/anchors working and stops phones from widening the page when something overflows */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  /* no overflow-x here: with html { overflow-x: clip } a body overflow value would make body a scroll
     container and un-stick the header */
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--red-deep); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 800; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.site-header :focus-visible, .hero :focus-visible, .section-green :focus-visible, .section-red :focus-visible, .page-hero :focus-visible, .hub :focus-visible, .site-footer :focus-visible, .station :focus-visible { outline-color: var(--amber); }
[id] { scroll-margin-top: 84px; } /* anchors land below the sticky header */
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--green-deep); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; letter-spacing: .2px;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: var(--green-deep); }
.btn-amber:hover { background: #ffaa3d; color: var(--green-deep); }
.btn-red { background: var(--red-deep); color: #fff; } /* 5.9:1 with white; brand red alone is 4.3:1 */
.btn-red:hover { background: #9e2f0c; color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.08rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--amber-text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  font: 800 .85rem var(--font-body); color: #fff; background: transparent;
  border: 2px solid rgba(255,255,255,.55); border-radius: 999px; padding: .35em .8em; cursor: pointer; min-height: 40px; min-width: 44px;
}
.lang-toggle:hover { border-color: var(--amber); color: var(--amber-text); }
.nav-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-burger span { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px; margin: 4px 0; }
@media (max-width: 880px) {
  .nav-burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--green-deep); padding: 8px 20px 18px; display: none; margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav .nav-cta { margin-top: 12px; border-bottom: 0; }
  .header-actions { margin-left: auto; }
  .brand img { height: 42px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--green) url('/assets/img/pattern-tile.png') repeat;
  background-blend-mode: soft-light;
  background-size: 300px;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,79,57,.8), rgba(0,53,39,.9)); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--amber); display: block; font-size: .78em; margin-top: .15em; }
.hero-lead { font-size: 1.15rem; max-width: 34em; color: #e8f2ed; }
.hero-badge {
  display: inline-block; background: var(--amber); color: var(--green-deep); font-weight: 900;
  border-radius: 999px; padding: .35em 1em; font-size: .9rem; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 18px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-logo { justify-self: center; width: min(420px, 100%); filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 36px; padding-bottom: 52px; gap: 18px; }
  .hero-logo { width: min(260px, 70%); order: -1; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-weight: 900; font-size: .82rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--red-deep); margin-bottom: 10px; }
.section-green { background: var(--green); color: #fff; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green .eyebrow { color: var(--amber-text); }
.section-red { background: linear-gradient(rgba(0,0,0,.09), rgba(0,0,0,.09)), url('/assets/img/pattern-tile.png') repeat var(--red); background-size: auto, 300px; color: #fff; } /* slight darkening lifts white text to ≥4.6:1 */
.section-red h2, .section-red h3 { color: #fff; }
.section-red .eyebrow { color: var(--amber-soft); }
.section-paper { background: var(--paper); }
@media (max-width: 640px) { .section { padding: 54px 0; } }

/* stations */
.stations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.station {
  border-radius: var(--radius); padding: 30px 26px 26px; color: #fff; position: relative; overflow: hidden; min-height: 250px;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.station h3 { font-size: 1.9rem; margin-bottom: .3em; }
.station p { color: rgba(255,255,255,.9); }
.station .station-num { font-family: var(--font-display); font-size: 4.2rem; line-height: 1; opacity: .18; position: absolute; right: 18px; top: 10px; }
.station a { margin-top: auto; color: #fff; font-weight: 800; text-decoration: none; }
.station a:hover { text-decoration: underline; color: #fff; }
.station-green { background: var(--green); }
.station-red { background: var(--red); }
.station-amber { background: var(--amber); color: var(--green-deep); }
.station-amber p, .station-amber a, .station-amber a:hover { color: var(--green-deep); }
@media (max-width: 880px) { .stations { grid-template-columns: 1fr; } .station { min-height: 0; } }

/* menu */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.menu-tab {
  font: 800 1rem var(--font-body); padding: .7em 1.3em; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line-strong); background: var(--paper); color: var(--ink);
}
.menu-tab[aria-pressed="true"].tab-green { background: var(--green); border-color: var(--green); color: #fff; }
.menu-tab[aria-pressed="true"].tab-red { background: var(--red); border-color: var(--red); color: #fff; }
.menu-tab[aria-pressed="true"].tab-amber { background: var(--amber); border-color: var(--amber); color: var(--green-deep); }
.menu-tab[aria-pressed="true"].tab-cream { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.menu-tabs.small .menu-tab { font-size: .9rem; padding: .5em 1em; }
.menu-panel { background: var(--paper); border-radius: var(--radius); padding: 30px; border-top: 8px solid var(--green); box-shadow: var(--shadow); }
.menu-panel.panel-red { border-top-color: var(--red); }
.menu-panel.panel-amber { border-top-color: var(--amber); }
.menu-tagline { font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.menu-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; }
.menu-section h3 { color: var(--green); border-bottom: 2px dashed var(--line); padding-bottom: .35em; }
.panel-red .menu-section h3 { color: var(--red-deep); }
.panel-amber .menu-section h3 { color: var(--red-deep); }
.menu-note { font-size: .95rem; color: var(--muted); }
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-items li { padding: 10px 0; border-bottom: 1px solid #f1e8da; }
/* Name and price share a line when they fit; a long multi-variant price (e.g. "Regular $12.99 · Combo $15.99")
   drops to its own right-aligned line and wraps between variants instead of widening the page on phones. */
.mi-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.mi-price { font-weight: 900; color: var(--green); font-size: .95rem; text-align: right; margin-left: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.mi-price .var { white-space: nowrap; }
.mi-price .sep { color: var(--muted); font-weight: 700; }
.panel-red .mi-price { color: var(--red-deep); }
.mi-name { display: block; font-weight: 800; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.mi-desc { display: block; font-size: .92rem; color: var(--muted); }
.menu-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.menu-group h4 { font-family: var(--font-body); font-weight: 900; font-size: .8rem; letter-spacing: 1.3px; text-transform: uppercase; color: var(--red-deep); margin-bottom: .4em; }
.menu-group ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.menu-group li { margin-bottom: 2px; }
.menu-foot { margin-top: 18px; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .menu-panel { padding: 22px 18px; } .menu-groups { grid-template-columns: 1fr; } .menu-sections { grid-template-columns: 1fr; } }

/* split feature (delivery / catering) */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.steps { list-style: none; padding: 0; margin: 22px 0 28px; counter-reset: s; }
.steps li { position: relative; padding-left: 54px; margin-bottom: 16px; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--amber); color: var(--green-deep); font-family: var(--font-display); display: grid; place-items: center; font-size: 1.1rem;
}
.steps strong { display: block; }
.pill-note {
  display: inline-flex; gap: .5em; align-items: center; background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.5);
  border-radius: 12px; padding: .7em 1em; font-size: .95rem;
}
.card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card h3 { color: var(--green); }
.qr-card { text-align: center; }
.qr-card img { width: 220px; margin: 6px auto 12px; border-radius: 12px; }
.qr-card .url { font-weight: 900; color: var(--green); word-break: break-all; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 900; color: var(--amber); font-size: 1.1rem; }
.section-paper .check-list li::before, .card .check-list li::before { color: var(--red); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 30px; } .split.reverse > :first-child { order: 0; } }

/* visit */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.visit-grid .card h3 { font-size: 1.15rem; }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- order hub (QR landing) ---------- */
.hub { min-height: calc(100vh - 68px); background: var(--green) url('/assets/img/pattern-tile.png'); background-size: 300px; background-blend-mode: soft-light; padding: 40px 0 60px; }
.hub-inner { max-width: 760px; margin: 0 auto; text-align: center; color: #fff; }
.hub-logo { width: 190px; margin: 0 auto 10px; }
.hub h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.hub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; text-align: left; }
.hub-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: var(--paper);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 14px 30px rgba(0,0,0,.2); border-top: 8px solid var(--red);
  transition: transform .15s ease;
}
.hub-card:hover { transform: translateY(-3px); color: var(--ink); }
.hub-card.alt { border-top-color: var(--amber); }
.hub-card h2 { font-size: 1.6rem; color: var(--green); margin: 0; }
.hub-card .tag { align-self: flex-start; font-size: .75rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; background: var(--green-soft); color: var(--green); border-radius: 999px; padding: .3em .8em; }
.hub-card .go { margin-top: auto; font-weight: 900; color: var(--red-deep); padding-top: 8px; }
.hub-foot { margin-top: 26px; color: #d6e7df; font-size: .95rem; }
.hub-foot a { color: var(--amber-text); }
@media (max-width: 640px) { .hub-cards { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.page-hero { background: var(--green); color: #fff; padding: 44px 0 90px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.page-hero p { color: #e2efe9; max-width: 40em; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--amber-text); }
.page-hero.red { background: linear-gradient(rgba(0,0,0,.09), rgba(0,0,0,.09)), url('/assets/img/pattern-tile.png') repeat var(--red); background-size: auto, 300px; }
.page-hero.red .eyebrow { color: var(--amber-soft); }
.page-hero.red p { color: #fff3ea; }
.form-shell { margin-top: -60px; padding-bottom: 70px; }
.form-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; max-width: 860px; margin: 0 auto; }
@media (max-width: 640px) { .form-card { padding: 22px 16px; border-radius: 14px; } }
.notice {
  display: flex; gap: 14px; align-items: flex-start; background: var(--amber-soft); border-left: 6px solid var(--amber);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 26px; font-size: .97rem;
}
.notice strong { color: var(--green-deep); }
.notice-icon { font-size: 1.4rem; line-height: 1; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
legend { font-family: var(--font-display); font-size: 1.3rem; color: var(--green); margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
legend .n { width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: inline-grid; place-items: center; font-size: 1rem; flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 18px; }
.span-2 { grid-column: span 2; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } }
.field > label, .field > .label { display: block; font-weight: 800; font-size: .93rem; margin-bottom: 6px; }
.field .hint { font-weight: 600; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], select, textarea {
  width: 100%; font: 600 1rem var(--font-body); color: var(--ink); background: #fffdf9;
  border: 2px solid var(--line-strong); border-radius: var(--radius-sm); padding: .72em .85em; min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,79,57,.15); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-error, .form-error { color: var(--red-deep); font-weight: 800; font-size: .88rem; margin: 6px 0 0; }
.form-error { background: #fdeae4; border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; background: var(--green-soft); padding: 14px 16px; border-radius: var(--radius-sm); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); flex: none; }
.check-wrap { flex-direction: column; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; border: 2px solid var(--line-strong); border-radius: 999px; padding: .55em 1.05em; font-weight: 800; font-size: .95rem; background: #fffdf9; min-height: 44px; display: inline-flex; align-items: center; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.hp { position: absolute; left: -5000px; }

/* order picker */
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 760px) { .order-grid { grid-template-columns: 1fr; } }
.pick-list { display: grid; gap: 8px; max-height: 440px; overflow: auto; padding-right: 4px; }
@media (max-width: 760px) { .pick-list { max-height: none; overflow: visible; padding-right: 0; } } /* phones: the page scrolls, no hidden inner list */
.pick-item {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; text-align: left; width: 100%;
  background: #fffdf9; border: 2px solid #cdbfa6; border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; font: inherit; color: inherit;
}
.pick-item:hover { border-color: var(--green); }
.pick-main { flex: 1 1 170px; min-width: 0; } /* below ~170px of room the price + "+" wrap under the name instead of squeezing it */
.pick-right { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.pick-right .mi-price { font-size: .9rem; text-align: right; max-width: 120px; white-space: normal; }
.pick-plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; }
.cart { background: var(--cream); border-radius: var(--radius-sm); padding: 14px; border: 2px dashed var(--line); }
.cart-title { font-family: var(--font-body); font-weight: 900; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin: 0 0 10px; display: flex; justify-content: space-between; outline: none; }
.cart-count { background: var(--red); color: #fff; border-radius: 999px; padding: 0 .6em; }
.cart-empty { color: var(--muted); font-size: .95rem; margin: 6px 0; }
.cart-line { background: var(--paper); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.cart-line.flash { animation: flash .8s ease; }
@keyframes flash { from { box-shadow: 0 0 0 3px var(--amber); } to { box-shadow: 0 2px 8px rgba(0,0,0,.05); } }
.cart-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-price { font-weight: 900; color: var(--green); font-size: .9rem; white-space: nowrap; }
.cart-subtotal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 6px 0 0; padding: 10px 12px; background: var(--paper); border-radius: var(--radius-sm); font-weight: 800; }
.cart-subtotal strong { font-size: 1.15rem; color: var(--green); }
.cart-subtotal small { flex-basis: 100%; font-weight: 600; color: var(--muted); }
.cart-head .mi-name { flex: 1; font-size: .95rem; }
.qty { display: flex; align-items: center; border: 2px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { background: none; border: 0; width: 40px; height: 40px; font-weight: 900; font-size: 1.2rem; cursor: pointer; color: var(--green); }
.qty input { width: 36px; min-height: 40px; height: 40px; border: 0; padding: 0; text-align: center; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; width: 40px; height: 40px; border-radius: 50%; }
.cart-remove:hover { background: #fdeae4; color: var(--red-deep); }
@media (max-width: 760px) {
  /* phone cart line: name | price on the first row, stepper | ✕ on the second, so ✕ never strands on its own row */
  .cart-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; }
  .cart-head .mi-name { grid-column: 1; }
  .cart-head .cart-price { grid-column: 2; justify-self: end; text-align: right; white-space: normal; }
  .cart-head .qty { grid-column: 1; justify-self: start; }
  .cart-head .cart-remove { grid-column: 2; justify-self: end; }
}
.cart-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cart-opts label { font-size: .8rem; font-weight: 800; color: var(--muted); display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 120px; }
/* keep every focusable text control at >= 16px (1rem): iOS Safari and in-app browsers zoom the page on focus below that and never zoom back out */
.cart-opts select { min-height: 40px; padding: .25em .5em; }
.cart-note { margin-top: 8px; min-height: 40px !important; padding: .3em .6em !important; }

.toast { position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 60; background: var(--green-deep); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-weight: 800; font-size: .95rem; }
.toast[hidden] { display: none; }
.toast button { background: var(--amber); color: var(--green-deep); border: 0; border-radius: 999px; padding: .6em 1em; font: 800 .9rem var(--font-body); cursor: pointer; white-space: nowrap; min-height: 40px; }
@media (min-width: 760px) { .toast { display: none !important; } }
.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.form-actions .fine { font-size: .87rem; color: var(--muted); margin: 0; }

.done { text-align: center; padding: 20px 0; outline: none; }
.done-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 16px; }
.done h2 { color: var(--green); }
.done .ref { display: inline-block; font-family: var(--font-display); background: var(--amber-soft); color: var(--green-deep); border-radius: 10px; padding: .3em .8em; font-size: 1.2rem; letter-spacing: 1px; margin-bottom: 16px; }
.done [data-summary] { text-align: left; max-width: 520px; margin: 0 auto 20px; background: var(--cream); border-radius: var(--radius-sm); padding: 14px 18px; }
.done [data-summary]:empty { display: none; }
.done [data-summary] ul { margin: 0 0 8px; padding-left: 1.1em; }

/* ---------- prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; color: var(--green); margin-top: 1.4em; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #d5e5dd; padding: 54px 0 24px; }
.site-footer h3 { color: var(--amber-text); font-size: 1.05rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--amber-text); }
.footer-grid { display: grid; grid-template-columns: .8fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { width: 150px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; font-size: .88rem; }
.site-footer .muted { color: #9fbcae; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-logo { width: 120px; } }

/* mobile sticky CTA (home) */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    background: var(--green-deep); padding: 8px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  }
  .mobile-cta .btn { flex: 1; padding: .8em .6em; font-size: .92rem; }
  body.has-mobile-cta { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
