/* Iqra's Kitchen 1.5.0. Apple's store grammar (white ground, tinted bands, option tiles with a ring when
   picked, pill buttons, the bold lead plus grey line heading) in Iqra's own colors: navy acts, teal
   accents, brown warns. Type scale follows the iOS 27 kit: 34 large title, 28, 22, 20, 17 body, 15, 13. */
:root {
  /* Iqra's brand kit, from her printed menu: teal #71c4d3 on cream #ffffdf. Brand teal is a FILL color:
     as text on cream it measures 1.96 to 1. Text and buttons use deeper teals of the same hue
     (action 5.63 to 1 on cream, ink 12.2, soft ink 6.8). The names --navy stay so every rule keeps working. */
  --ground: #ffffdf;
  --tint: #f6f6c8;
  --card: #fffff2;
  --ink: #14393f;
  --ink-2: #3d5f66;
  --navy: #17707f;
  --navy-deep: #0f5a67;
  --teal: #71c4d3;
  --teal-deep: #5fb6c6;
  --teal-wash: #d3edf0;
  --brown: #883406;
  --hair: #e3dcb6;
  --field: #a9b8a6;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-tile: 14px;
  --r-card: 18px;
  --pill: 980px;
  --col: 760px;
  --wide: 1080px;
  --bar-h: 0px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s5); }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: -0.01em; padding-bottom: var(--bar-h); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, legend { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0 0 var(--s4); }
a { color: var(--navy); text-underline-offset: 3px; }
small { font-size: 15px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 6px;
}

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); max-width: var(--wide); margin: 0 auto; padding: var(--s3) var(--s4); }
.brand img { display: block; width: 40px; height: 40px; border-radius: 8px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); font-weight: 600; font-size: 20px; text-decoration: none; color: var(--navy); padding: var(--s3) 0; letter-spacing: -0.02em; }
.top nav { display: flex; align-items: center; gap: var(--s3); }
.top nav a:not(.btn) { padding: var(--s3) var(--s2); text-decoration: none; color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: var(--s3) var(--s6);
  border: 0; border-radius: var(--pill); cursor: pointer; background: var(--navy); color: var(--ground);
  font: inherit; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--navy-deep); }
.btn:active { transform: scale(0.98); }
.btn-alt { background: var(--teal); color: var(--ink); }
.btn-alt:hover { background: var(--teal-deep); }
.btn-small { min-height: 44px; padding: var(--s2) var(--s5); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s6) 0 0; }
.linklike { background: none; border: 0; padding: var(--s3) 0; min-height: 44px; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }

/* home. One idea per section, imagery first, air between. No boxes inside boxes, no tinted yellow bands. */
main { display: block; }
.inner { max-width: var(--wide); margin: 0 auto; }
.narrow-col { max-width: var(--col); }
.apple-h { font-size: clamp(30px, 4.8vw, 48px); line-height: 1.08; letter-spacing: -0.025em; color: var(--ink-2); margin: 0 0 var(--s5); max-width: 18em; font-weight: 600; }
.apple-h b { color: var(--ink); font-weight: 600; }
.sub { color: var(--ink-2); max-width: 40em; }
.eyebrow { color: var(--navy); font-weight: 600; font-size: 16px; letter-spacing: 0.01em; margin: 0 0 var(--s4); }
.btn-quiet { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-quiet:hover { background: var(--teal-wash); }

.hero { max-width: var(--wide); margin: 0 auto; padding: var(--s6) var(--s4) var(--s7); display: grid; gap: var(--s6); }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; color: var(--ink); max-width: 11em; text-wrap: balance; }
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; color: var(--ink-2); margin: var(--s5) 0 0; max-width: 28em; letter-spacing: -0.012em; }
.mosaic { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--s3); }
.mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; aspect-ratio: 1 / 1; background: var(--tint); }
.mosaic img:first-child { grid-row: 1 / span 2; border-radius: 32px; }
.facts { list-style: none; margin: 0 auto; padding: var(--s5) var(--s4); max-width: var(--wide); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); color: var(--ink); font-weight: 600; font-size: 16px; }
.facts li { display: inline-flex; align-items: center; gap: var(--s3); }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.showcase { padding: var(--s8) 0; }
.sec-head { max-width: var(--wide); margin: 0 auto var(--s6); padding: 0 var(--s4); }
.sec-head .apple-h { margin-bottom: 0; }
.sec-head .actions { margin-top: var(--s5); }
.rail-block { margin: 0 0 var(--s7); }
.rail-block:last-child { margin-bottom: 0; }
.rail-head { max-width: var(--wide); margin: 0 auto var(--s4); padding: 0 var(--s4); }
.rail-head h3 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 var(--s1); }
.rail-head p { margin: 0; color: var(--ink-2); max-width: 36em; }
/* the rail starts on the page's left edge and runs off the right, so the cut off card says there is more */
.rail { list-style: none; margin: 0; display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: var(--s2) max(var(--s4), calc((100vw - var(--wide)) / 2 + var(--s4))) var(--s4); scroll-padding-left: max(var(--s4), calc((100vw - var(--wide)) / 2 + var(--s4))); }
.rail::-webkit-scrollbar { display: none; }
.rcard { flex: none; width: min(68vw, 264px); scroll-snap-align: start; display: flex; flex-direction: column; }
.rcard img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; background: var(--tint); margin-bottom: var(--s3); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rcard:hover img { transform: scale(1.02); }
.rcard-name { font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--ink); }
.rcard-price { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.rcard-more a { flex: 1; aspect-ratio: 1 / 1; border-radius: 22px; background: var(--teal-wash); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s5); }
.rcard-more a:hover { background: var(--teal); }
.arrow { font-size: 28px; line-height: 1; }

.how { background: var(--card); padding: var(--s8) var(--s4); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.how-list { list-style: none; margin: var(--s6) 0 0; padding: 0; counter-reset: how; display: grid; gap: var(--s6); }
.how-list li { counter-increment: how; display: grid; gap: var(--s2); align-content: start; }
.how-list li::before { content: "0" counter(how); font-size: 15px; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; padding-bottom: var(--s3); border-bottom: 2px solid var(--teal); margin-bottom: var(--s2); }
.how-list b { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); }
.how-list span { color: var(--ink-2); }

.story-band { background: var(--teal); padding: var(--s8) var(--s4); }
.story { display: grid; gap: var(--s6); align-items: center; }
.portrait { width: min(320px, 72vw); height: auto; border-radius: 50%; display: block; box-shadow: 0 0 0 8px var(--ground); }
.story h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 var(--s4); max-width: 14em; }
.story p { font-size: clamp(18px, 2vw, 20px); line-height: 1.5; color: var(--ink); max-width: 34em; margin: 0; }

.questions { padding: var(--s8) var(--s4); }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5) 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 400; color: var(--navy); line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--s5); color: var(--ink-2); max-width: 38em; }

.closer { background: var(--navy); color: var(--ground); padding: var(--s8) var(--s4); text-align: center; }
.closer h2 { color: var(--ground); font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; margin: 0 0 var(--s3); }
.closer p { margin: 0 auto; max-width: 30em; font-size: 19px; }
.closer .actions { justify-content: center; }
.btn-cream { background: var(--ground); color: var(--ink); }
.btn-cream:hover { background: var(--card); }
.btn-ghost { background: transparent; color: var(--ground); box-shadow: inset 0 0 0 1.5px var(--ground); }
.btn-ghost:hover { background: var(--navy-deep); }

/* the menu page: her printed price list, name left, sizes and prices right */
.menu-page { max-width: 920px; margin: 0 auto; padding: var(--s6) var(--s4) var(--s8); }
.menu-page .chips { margin-bottom: var(--s2); }
.pl-cat { margin-top: var(--s8); scroll-margin-top: var(--s5); }
.pl-cat h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.025em; color: var(--navy); margin: 0 0 var(--s1); }
.pl { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--teal); }
.pl li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
.pl-name { min-width: 0; }
.pl-prices { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s2) var(--s3); }
.pl-pick { display: inline-flex; align-items: center; gap: var(--s1); }
.pl-size { display: grid; grid-template-columns: auto auto; column-gap: var(--s3); align-items: center; text-align: left; min-width: 104px; min-height: 52px; padding: var(--s2) var(--s3) var(--s2) var(--s4);
  background: var(--card); border: 1px solid var(--field); border-radius: var(--r-tile); color: var(--ink); font: inherit; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.pl-size:hover { background: var(--teal-wash); }
.pl-size:active { transform: scale(0.97); }
.pl-size.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--teal-wash); }
.pl-count { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-weight: 600; color: var(--navy); min-width: 28px; text-align: center; font-size: 17px; }
.pl-less { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal-wash); color: var(--ink); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.pl-less[hidden] { display: none; }
.pl-less:hover { background: var(--teal); }
.bagbar[hidden] { display: none; }
.bagbar .bar-btn { text-decoration: none; text-align: center; border-radius: var(--pill); min-height: 52px; display: flex; align-items: center; justify-content: center; }
.pl-size span { font-size: 13px; color: var(--ink-2); }
.pl-size b { font-weight: 600; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-ask { color: var(--ink-2); font-size: 16px; }

/* chips: a row that scrolls sideways on a phone, like Apple's category rail */
.chips { display: flex; gap: var(--s2); margin: var(--s5) calc(var(--s4) * -1) 0; padding: 0 var(--s4) var(--s2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: var(--s2) var(--s4); border-radius: var(--pill); background: var(--card); border: 1px solid var(--hair); text-decoration: none; color: var(--ink); font-size: 16px; }
.chips a:hover { border-color: var(--navy); }

/* menu on the home page */
.cat { margin: var(--s7) 0 0; padding: 0; border: 0; min-width: 0; scroll-margin-top: var(--s5); }
.cat > h2, .cat > h3 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; margin: 0 0 var(--s2); color: var(--navy); }
.order .cat > h2 { margin-bottom: var(--s4); }
.cat-line { font-size: 19px; line-height: 1.4; color: var(--ink); max-width: 34em; margin: 0 0 var(--s5); }
.dishes { list-style: none; margin: 0; padding: 0 var(--s5); background: var(--card); border-radius: var(--r-card); }
.dishes li { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
.dishes li:last-child { border-bottom: 0; }
.pic { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--tint); display: block; }
.pic-none { background: var(--teal-wash); color: var(--ink); display: grid; place-items: center; font-size: 22px; font-weight: 600; }
.dish-text { flex: 1; min-width: 0; }
.dish-name { display: block; font-weight: 600; }
.dish-desc { display: block; color: var(--ink-2); font-size: 16px; }
.dish-desc:empty { display: none; }
.dish-price { flex: none; text-align: right; color: var(--ink); font-size: 16px; max-width: 46%; }

/* order page */
.order { max-width: var(--col); margin: 0 auto; padding: var(--s5) var(--s4) var(--s8); }
.order > .apple-h { margin-bottom: var(--s4); }
.order .step { margin-top: var(--s6); }
.order .step > .sub { margin-bottom: var(--s5); }
.progress { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* a dish is a tile that opens, its sizes are rows with a stepper. Picked tiles wear the ring. */
.dish { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-tile); margin: 0 0 var(--s3); }
.dish.picked { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.dish summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s1) var(--s3); align-items: baseline; padding: var(--s4); min-height: 56px; border-radius: var(--r-tile); }
.dish summary::-webkit-details-marker { display: none; }
.dish summary .pic { grid-row: 1 / span 3; align-self: start; }
.dish summary .dish-desc, .dish summary .dish-picked { grid-column: 2 / -1; }
.legal { margin-top: var(--s5); }
.legal a { color: var(--ink-2); }
.dish-from { color: var(--ink-2); font-size: 16px; white-space: nowrap; }
.dish-picked { color: var(--navy); font-weight: 600; font-size: 16px; }
.dish-picked:empty { display: none; }
.sizes { padding: 0 var(--s4) var(--s2); }
.size { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--hair); }
.size label { display: flex; flex-direction: column; min-width: 0; cursor: pointer; }
.size-name { font-weight: 600; }
.size-price { color: var(--ink-2); font-size: 16px; }
.qty { display: flex; align-items: center; gap: var(--s1); flex: none; }
.qty input { width: 52px; height: 44px; text-align: center; border: 1px solid var(--field); border-radius: 10px; background: var(--ground); color: var(--ink); font: inherit; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal-wash); color: var(--ink); font: inherit; font-size: 24px; font-weight: 500; line-height: 1; cursor: pointer; display: none; }
.qty button:hover { background: var(--teal); }
.js .qty button { display: inline-grid; place-items: center; }

/* fields */
.field { margin: 0 0 var(--s5); }
.field label, .choice legend { display: block; font-weight: 600; margin-bottom: var(--s2); padding: 0; font-size: 17px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 56px; padding: var(--s3) var(--s4); border: 1px solid var(--field); border-radius: var(--r-tile);
  background: var(--card); color: var(--ink); font: inherit; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 25px, calc(100% - 16px) 25px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--s7); }
.field textarea { min-height: 104px; resize: vertical; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.hint { color: var(--ink-2); font-size: 15px; margin: var(--s2) 0 0; }
.opt { font-weight: 400; color: var(--ink-2); font-size: 15px; }
.choice { border: 0; padding: 0; margin: 0 0 var(--s5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.choice legend { grid-column: 1 / -1; }
.choice label { position: relative; display: block; min-height: 76px; padding: var(--s4); border: 1px solid var(--field); border-radius: var(--r-tile); background: var(--card); cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice b { display: block; font-weight: 600; }
.choice small { color: var(--ink-2); }
.rule { margin: 0 0 var(--s5); padding: var(--s4); border-radius: var(--r-tile); background: var(--teal-wash); color: var(--ink); font-weight: 500; }
.rule:empty { display: none; }
.rule[data-kind="rush"] { background: #f7e6d0; color: var(--brown); }
.rule[data-kind="too_soon"], .rule[data-kind="past"], .rule[data-kind="too_far"] { background: var(--brown); color: var(--ground); }
.errors { margin: var(--s5) 0 0; padding: var(--s4) var(--s5); border-radius: var(--r-tile); background: var(--brown); color: var(--ground); }
.errors h2 { font-size: 20px; margin-bottom: var(--s2); color: var(--ground); }
.errors ul { margin: 0; padding-left: var(--s5); }
.flash { margin: var(--s5) 0 0; padding: var(--s4); border-radius: var(--r-tile); background: var(--teal-wash); color: var(--ink); font-weight: 600; }

/* the bag: a card with lines, prices on the right, a total under a hairline */
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: var(--s5); margin: var(--s5) 0; }
.card h3 { font-size: 15px; color: var(--ink-2); margin: var(--s5) 0 var(--s1); font-weight: 600; letter-spacing: 0; display: flex; align-items: center; justify-content: space-between; }
.card h3:first-child { margin-top: 0; }
.card p { margin: 0; }
.bag { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.card h3 + .bag { margin-top: 0; }
.bag li, .bag-total { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s2) 0; }
.bag li span:last-child, .bag-total span:last-child { flex: none; text-align: right; max-width: 60%; }
.bag-total { border-top: 1px solid var(--hair); margin-top: var(--s3) !important; padding-top: var(--s4); font-weight: 600; }
.order-no { font-weight: 600; color: var(--brown); margin-bottom: var(--s2) !important; }
.pill { display: inline-block; padding: 2px var(--s3); border-radius: var(--pill); background: var(--brown); color: var(--ground); font-size: 13px; font-weight: 600; vertical-align: 2px; margin-left: var(--s2); }
.edit { min-height: 44px; font: inherit; font-size: 16px; font-weight: 400; background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; padding: var(--s2) 0 var(--s2) var(--s4); }
.thanks .lede { margin-left: 0; font-size: clamp(19px, 2.4vw, 22px); line-height: 1.4; }

/* steps */
.js-only { display: none; }
.js .js-only { display: block; }
.js .nojs-submit { display: none; }
.js .order .step { display: none; margin-top: var(--s5); }
.js .order .step.on { display: block; }
.js .progress { display: flex; gap: var(--s2); list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink-2); }
.js .progress li { flex: 1; padding-top: var(--s2); border-top: 3px solid var(--hair); }
.js .progress li.done { border-color: var(--teal); }
.js .progress li.now { border-color: var(--navy); color: var(--ink); font-weight: 600; }

/* The action bar. Back is its own quiet pill, apart from the one loud pill that moves the order on
   (Muds, Sep 19 2026: Back read as part of the big button). On touch widths the bar is fixed and carries
   the device inset under the pills; the pills are plainly separate, so no strip of bar reads as tappable. */
.js .bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: stretch; gap: var(--s3);
  padding: var(--s3) var(--s4) calc(var(--s3) + var(--inset-test, env(safe-area-inset-bottom, 0px)));
  background: var(--ground); border-top: 1px solid var(--hair);
}
.bar button { min-height: 52px; border-radius: var(--pill); font: inherit; cursor: pointer; }
.bar .back { flex: none; padding: 0 var(--s5); background: var(--card); color: var(--navy); border: 1px solid var(--field); font-weight: 500; }
.bar .back:hover { background: var(--teal-wash); }
.bar .back[hidden] { display: none; }
.bar .bar-btn { flex: 1; background: var(--navy); color: var(--ground); white-space: normal; font-size: 17px; font-weight: 600; padding: var(--s2) var(--s5); }
.bar .bar-btn:hover { background: var(--navy-deep); }
.bar .bar-btn[disabled], .bar .bar-btn[disabled]:hover { background: #5d8f97; color: var(--ground); cursor: not-allowed; }

/* kitchen room */
.admin { max-width: 860px; }
.seg { display: flex; gap: 2px; padding: 2px; background: var(--tint); border-radius: 12px; margin: 0 0 var(--s5); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a { flex: 1 0 auto; text-align: center; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: var(--s2) var(--s4); border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 16px; white-space: nowrap; }
.seg a[aria-current="page"] { background: var(--card); font-weight: 600; box-shadow: 0 1px 3px rgba(29, 29, 31, 0.14); }
.narrow { max-width: 460px; }
.admin h2 { font-size: 28px; margin: var(--s7) 0 var(--s4); }
.admin form.cat { margin-top: 0; }
.dish-edit { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-tile); padding: var(--s4); margin: 0 0 var(--s3); }
.dish-edit-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s2); }
.switch { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: var(--ink-2); font-size: 16px; cursor: pointer; }
.switch input { width: 22px; height: 22px; accent-color: var(--navy); }
.price-row { display: grid; grid-template-columns: 1fr auto 96px; align-items: center; gap: var(--s2); margin-top: var(--s2); }
.price-row input { min-height: 48px; padding: var(--s2) var(--s3); border: 1px solid var(--field); border-radius: 10px; background: var(--ground); color: var(--ink); font: inherit; width: 100%; min-width: 0; }
.price-row .amt { text-align: right; font-weight: 600; }
.price-row.new input { border-style: dashed; }
.dollar { color: var(--ink-2); }
.tbl-wrap { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: 0 var(--s4); overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th { text-align: left; color: var(--ink-2); font-weight: 600; font-size: 15px; padding: var(--s3) var(--s2); border-bottom: 1px solid var(--hair); }
.tbl td { padding: var(--s3) var(--s2); border-bottom: 1px solid var(--hair); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; color: var(--ink-2); }
.tbl th:not(:first-child), .tbl td:not(:first-child) { text-align: right; white-space: nowrap; }
.signout { margin-top: var(--s6); }


/* footer */
.foot { background: var(--card); border-top: 1px solid var(--hair); padding: var(--s7) var(--s4); font-size: 15px; color: var(--ink-2); }
.foot-grid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s5) var(--s6); }
.foot h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: var(--s2); color: var(--ink); }
.foot p { margin: 0; line-height: 1.6; }
.foot a { display: inline-block; padding: var(--s3) 0; color: var(--ink); }
.fine { max-width: var(--wide); margin: var(--s6) auto 0 !important; padding-top: var(--s4); border-top: 1px solid var(--hair); }

@media (max-width: 520px) {
  .brand { font-size: 18px; gap: var(--s2); white-space: nowrap; }
  .top { gap: var(--s2); }
  .top nav { gap: var(--s1); }
  .top .btn-small { padding-left: var(--s4); padding-right: var(--s4); white-space: nowrap; }
  .seg { flex-wrap: wrap; overflow: visible; }
  .seg a { flex: 1 0 45%; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .js .progress li { font-size: 0; }
  .actions .btn { flex: 1 1 100%; }
  .pl li { flex-direction: column; gap: var(--s2); }
  .pl-prices { justify-content: flex-start; }
  .dishes li { flex-wrap: wrap; gap: var(--s1) var(--s4); }
  .dish-price { flex: 1 0 100%; padding-left: calc(64px + var(--s4)); text-align: left; max-width: none; color: var(--ink-2); }
}
/* Wider screens use the space: the dish tiles go to two columns and the bar becomes a floating pill. */
@media (min-width: 1000px) {
  .top, .foot, .facts, .sec-head, .rail-head { padding-left: var(--s6); padding-right: var(--s6); }
  .hero { grid-template-columns: 1.2fr 1fr; align-items: center; gap: var(--s8); padding: var(--s8) var(--s6) var(--s9); }
  .rail { padding-left: max(var(--s6), calc((100vw - var(--wide)) / 2 + var(--s6))); scroll-padding-left: max(var(--s6), calc((100vw - var(--wide)) / 2 + var(--s6))); gap: var(--s5); }
  .rcard { width: 280px; }
  .showcase, .how, .story-band, .questions, .closer { padding-top: var(--s9); padding-bottom: var(--s9); }
  .how, .story-band, .questions, .closer { padding-left: var(--s6); padding-right: var(--s6); }
  .how-list { grid-template-columns: repeat(3, 1fr); gap: var(--s8); }
  .story { grid-template-columns: 320px 1fr; gap: var(--s9); }
  .chips { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .order { max-width: var(--wide); padding-left: var(--s6); padding-right: var(--s6); }
  .order .step[data-step="1"] .cat { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); align-items: start; }
  .order .step[data-step="1"] .cat > h2 { grid-column: 1 / -1; }
  .order .step:not([data-step="1"]), .order > .apple-h, .order .progress, .order > .errors, .order form > .errors, .thanks > * { max-width: var(--col); }
  .js .bagbar { position: fixed; left: 50%; right: auto; bottom: var(--s5); transform: translateX(-50%); width: min(420px, 90vw); margin: 0; }
  .js .bar { position: sticky; bottom: var(--s4); max-width: var(--col); margin-top: var(--s6); padding: 0; background: none; border: 0; }
  .js .bar .bar-btn { box-shadow: 0 8px 24px rgba(20, 57, 63, 0.25); }
  .admin { max-width: 860px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .rcard img, .faq summary::after { transition: none; } .rcard:hover img { transform: none; } }
