/* Loumies production content (both releases): the product description line and the photograph note M-O-N-A's handoff adds to the approved
   menu row and drawer. Same type scale as the approved row meta; no new component. */
.menu-row-desc { display: block; margin-top: 5px; max-width: 430px; font-size: 12px; line-height: 1.4; color: rgba(46, 61, 74, .88); }
.drawer-note { margin-top: 14px; font-size: 13px; line-height: 1.45; color: rgba(46, 61, 74, .76); }
@media (max-width: 720px) { .menu-row-desc { max-width: 245px; } }

/* ---------- Owner walkthrough corrections (2026-10-19), both releases ---------- */
/* The review ribbon the approved stylesheet reserves room for is not part of the public site. Its height variable defaulted to 30px (38px on a phone), which
   pushed the sticky header 30px down the page as it scrolled: the header "moved". With no ribbon the offset is zero, at every width. */
html:root { --review-h: 0px; }
.site-header { top: 0; }
/* Home: the founder headline is unchanged; its size is rebalanced so the main action stays inside the first screen */
.hero-wordmark { font-size: clamp(66px, 8.1vw, 132px); line-height: .9; }
.hero-type { padding-block: 3vh 2vh; }
.hero-copy { margin-top: 18px; }
.hero-actions { margin-top: 22px; }
@media (max-width: 720px) {
  .home-hero { min-height: 0; }
  .hero-food { min-height: 0; height: clamp(190px, 30svh, 300px); }
  .hero-food-main { min-height: 0; height: 100%; }
  .hero-type { padding: 24px 18px 22px; }
  .hero-type .eyebrow { margin-bottom: 10px; }
  .hero-wordmark { font-size: clamp(54px, 17vw, 78px); }
  .hero-copy { margin-top: 14px; font-size: 15.5px; }
  .hero-actions { margin-top: 16px; }
}
/* Drawers: the primary action is never covered. The drawer ends above any review ribbon (--ribbon-h, set only by the owner-review launcher) and the
   browser's own bottom bar (100dvh, the safe-area inset). The basket is a column: its list scrolls, its summary and the pink action stay in view. */
:root { --ribbon-h: 0px; }
.drawer { top: 0; bottom: auto; height: calc(100vh - var(--ribbon-h)); height: calc(100dvh - var(--ribbon-h)); }
.drawer-sticky { bottom: var(--ribbon-h); padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.drawer:has(> .basket-summary) { display: flex; flex-direction: column; overflow: hidden; }
.drawer:has(> .basket-summary) > .drawer-header, .drawer:has(> .basket-summary) > .basket-heading { flex: none; }
.drawer:has(> .basket-summary) > .basket-heading { padding-bottom: 6px; }
.drawer:has(> .basket-summary) > .basket-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 18px; }
.drawer > .basket-summary { position: static; width: auto; flex: none; max-height: 46%; overflow-y: auto; padding: 14px 24px calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 24px rgba(46, 61, 74, .09); }
.basket-summary .button { width: 100%; }
/* Owner review (Stage 1 correction, 2026-10-25): on a phone or a short window the whole basket is one scroll. The title and the list move together under the sticky top bar, and only a compact
   summary stays fixed at the bottom, so every line (included sides, mezze, pies, Mughli) can be reached and read; nothing is hidden behind the pink action. */
@media all {
  .drawer:has(> .basket-summary) { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .drawer:has(> .basket-summary) > .drawer-header { position: sticky; top: 0; }
  .drawer:has(> .basket-summary) { scroll-padding-top: 76px; scroll-padding-bottom: 230px; }   /* keyboard focus never lands under the sticky top bar or the summary */
  .drawer:has(> .basket-summary) > .basket-list { overflow: visible; padding-bottom: 12px; }
  .drawer > .basket-summary { position: sticky; bottom: 0; max-height: none; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .drawer > .basket-summary .continue-ordering { margin-bottom: 6px; }
  .drawer > .basket-summary .basket-service { margin: 0 0 8px; padding: 7px 0 7px 11px; }
  .drawer > .basket-summary .basket-service.incomplete span { display: none; }
  .drawer > .basket-summary .basket-total { margin-bottom: 8px; align-items: baseline; }
  .drawer > .basket-summary .basket-total strong { font-size: 26px; }
  .drawer > .basket-summary .button { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 600px) {
  .drawer:has(> .basket-summary) > .basket-heading h2 { font-size: clamp(34px, 11vw, 48px); }
  .drawer:has(> .basket-summary) > .basket-heading .drawer-lead { display: none; }
}
/* Calm, proportionate problem pages: an ordinary recoverable state is not a billboard */
.flow-shell:has(.payment-state) .flow-memory h1 { font-size: clamp(34px, 4vw, 54px); }
.payment-state h2.display { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; }
.payment-state .failure-mark { width: 40px; height: 40px; font-size: 20px; }
.payment-state p { max-width: 520px; }
.status-ladder { list-style: none; margin: 18px 0 4px; padding: 0; max-width: 520px; border-top: 1px solid var(--line); }
.status-ladder li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.status-ladder span { color: rgba(46, 61, 74, .78); }
.status-ladder b { font-weight: 760; text-align: right; }
@media (max-width: 720px) { .flow-shell:has(.payment-state) .memory-image { display: none; } .flow-shell:has(.payment-state) .flow-memory { padding-bottom: 14px; } }

/* Catering (both releases): the inquiry-only note on Royal Lamb and Stuffed Whole Lamb. Same type scale as the approved card meta. */
.catering-inquiry-note { margin: 10px 0 0; padding: 9px 11px; border-left: 4px solid var(--pink); background: var(--cream); font-size: 12px; line-height: 1.45; color: rgba(46, 61, 74, .92); }
.catering-inquiry-note b { color: var(--pink); letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }

/* Halal wording (both releases, founder's decision 2026-10-21): the plain product-specific line on a Catering card and in a request line. Same scale as the approved card meta. */
.catering-halal { margin: 6px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.catering-halal-inline { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); white-space: nowrap; }

/* ---------- Dietary labels (owner decision 2026-10-22) ---------- */
/* Small, restrained, subordinate to the dish name, the photograph and the price: the Menu row's own meta size and weight, the page ink at reduced strength, a hairline outline.
   Labels come from catalog/dietary-labels.json (verified entries only); nothing here is a seal or a certification mark. */
.diet-labels { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.diet-label { display: inline-block; padding: 2px 7px 2px; border: 1px solid rgba(46, 61, 74, .38); border-radius: 999px; font-size: 9.5px; font-weight: 700; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: rgba(46, 61, 74, .8); background: transparent; white-space: nowrap; }
.drawer-content .diet-labels { margin: -2px 0 10px; }
.pick .diet-labels, .pie-name .diet-labels { margin-top: 4px; }

/* The original Loumies legend (2022-2024 menus): orange vegan, blue vegetarian, green halal, purple gluten-free. The colour is a small dot beside the written label, never the only signal. */
.diet-label::before, .diet-dot { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; vertical-align: 1px; background: rgba(46, 61, 74, .5); }
.diet-dot { margin-right: 0; vertical-align: baseline; flex: none; width: 8px; height: 8px; }
.diet-label[data-diet="vegan"]::before, .diet-dot[data-diet="vegan"] { background: #FCB51C; }
.diet-label[data-diet="vegetarian"]::before, .diet-dot[data-diet="vegetarian"] { background: #56BFFF; }
.diet-label[data-diet="halal"]::before, .diet-dot[data-diet="halal"] { background: #11A255; }
.diet-label[data-diet="glutenFree"]::before, .diet-dot[data-diet="glutenFree"] { background: #B609BB; }
.catering-card .diet-labels { margin: 8px 0 0; }
.diet-note { margin: 0 0 12px; font-size: 11.5px; line-height: 1.45; color: rgba(46, 61, 74, .75); }
.diet-legend { margin: 0; padding: 22px clamp(24px, 4vw, 58px) 34px; }
.menu-main > .diet-legend { border-top: 0; }
.catering-intro + .diet-legend { max-width: 1380px; margin: -34px auto 0; padding: 0 clamp(20px, 5vw, 72px) 34px; box-sizing: border-box; }
.diet-legend ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(46, 61, 74, .8); }
.diet-legend li { display: inline-flex; align-items: center; gap: 7px; }
.diet-legend p { margin: 0; font-size: 11.5px; line-height: 1.45; color: rgba(46, 61, 74, .75); max-width: 56ch; }
@media (max-width: 760px) { .diet-legend { padding: 18px 18px 30px; } .catering-intro + .diet-legend { margin-top: -18px; padding: 0 18px 28px; } }

/* ---------- Owner corrections 2026-10-23, both releases ---------- */
/* Home: the three pink choices under "Order Now". They are the same pink pill as the approved .button, only a little smaller. */
.hero-choices { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-choices .hero-choice { min-width: 0; min-height: 42px; padding: 10px 18px; gap: 14px; font-size: 14px; }
@media (max-width: 720px) { .hero-choices { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; } .hero-choices .hero-choice { width: 100%; justify-content: space-between; } }
/* Catering: the sourced description sits under the item's name, beside its selection controls. Same scale as the Menu row description. */
.catering-desc { margin: 7px 0 0; font-size: 13px; line-height: 1.45; color: rgba(46, 61, 74, .9); }
/* Chicken Sumac: one included accompaniment, bread by default, rice instead on request. A plain radio pair in the drawer's own type. */
.accompaniment-choice { margin: 0; padding: 12px 14px; border: 1px solid rgba(46, 61, 74, .22); display: grid; gap: 8px; }
.accompaniment-choice legend { padding: 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.accompaniment-choice label { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.accompaniment-choice input { accent-color: var(--pink); width: 18px; height: 18px; }
.accompaniment-choice small { font-size: 12px; color: rgba(46, 61, 74, .76); }
.basket-accompaniment { margin: 4px 0 0; font-size: 13px; color: rgba(46, 61, 74, .88); }
/* The Table and The Feast cards: the approved descriptions are longer than the one-line copy they replace, so the card is taller and the picture keeps a fixed height beneath the words instead of covering them. */
.shared-product { min-height: 700px; }
.shared-product .order-spread { height: 330px; }
@media (max-width: 820px) { .shared-product { min-height: 700px; } .shared-product .order-spread { height: 320px; } }
/* Chicken Sumac has no approved photograph (2026-10-23): the Menu rail and the confirmation show the existing graphic placeholder, never another dish's picture. */
.rail-placeholder { display: none; }
.menu-photo-rail.is-withheld .rail-photo { visibility: hidden; }
.menu-photo-rail.is-withheld .rail-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--cream); }
.confirmation-placeholder { position: absolute; inset: 8% 0 0; height: 84%; display: grid; place-items: center; background: var(--cream); }

/* ---------- Phase 1A fidelity corrections, 2026-10-24 (owner: legibility, equal Home product panels, readable picture labels) ---------- */
/* Shared header: Order / Catering / Who's Cooking read larger on every page; the bar keeps its fixed height, so nothing moves and nothing overlaps the logo or the Basket. */
.nav-link { font-size: 16px; padding: 12px 0 8px; }
.basket-button, .menu-button { font-size: 14px; }
@media (max-width: 1050px) { .desktop-nav { gap: 18px; } .nav-link { font-size: 14px; } }
/* Home, "Select your preferred order": three white panels of one width and one height; the picture takes the same height in each and the words the same height in each. */
.meal-scale-grid { grid-template-columns: 1fr; align-items: stretch; }
.scale-card { min-height: 0; grid-template-rows: clamp(300px, 86vw, 440px) auto; }
@media (min-width: 900px) {
  .meal-scale-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scale-card { grid-template-rows: clamp(340px, 36vw, 520px) minmax(236px, auto); }
}
.scale-image { min-height: 0; height: 100%; }
.scale-card .shared-spread { min-height: 0; }
.scale-card-copy { padding: 22px 24px 66px; }
.scale-card-copy small { font-size: 12px; }
.scale-card-copy p { font-size: 15px; }
@media (max-width: 899px) { .scale-card-copy { padding: 20px 20px 64px; } }
/* The strip "Also in the middle ..." is gone; its foods are named in each card's words, so the picture needs no bottom margin for it. */
.shared-spread { padding-bottom: 8px; }
.drawer-spread { padding-bottom: 10px; }
/* Picture labels: readable, and still small enough not to cover the food. */
.spread-item b { left: 6px; bottom: 6px; padding: 4px 7px; font-size: 10px; line-height: 1.15; }
.spread-truth { max-width: none; white-space: nowrap; padding: 4px 7px; font-size: 9px; letter-spacing: .05em; line-height: 1.2; }
.drawer-spread .spread-truth { font-size: 10px; }
.shared-media-label { font-size: 11px; }
.rail-photo-caption, .hero-food-label { font-size: 12px; }
@media (max-width: 820px) { .spread-item b { font-size: 9px; padding: 3px 5px; } .spread-truth { right: 8px; top: 8px; } }
.catering-hero-truth small { font-size: 14px; line-height: 1.45; }
/* Photographs carry width/height attributes only so the browser can reserve their space before they load. Zero-specificity: every approved sizing
   rule still wins, and an image no rule sizes keeps its natural size exactly as before. */
:where(img[width][height]) { width: auto; height: auto; }
/* the site footer (scripts/lib/production-site.mjs footerHtml): Loumies' name, pickup place, hours, phone and email, matching the Google profile */
.lp-footer { padding: 26px clamp(16px, 4vw, 64px) 34px; border-top: 2px solid var(--pink); background: var(--white); color: var(--ink); text-align: center; font-size: 14px; line-height: 1.55; }
.lp-footer p { margin: 0 auto; max-width: 860px; }
.lp-footer .lp-footer-line { margin-bottom: 6px; font-weight: 700; }
.lp-footer a { color: var(--pink); font-weight: 750; text-decoration: none; }
.lp-footer a:hover, .lp-footer a:focus-visible { text-decoration: underline; }
