/* SpiceRack Plano — online ordering (customer). Design language
   from the imp buffet page + approved mockups: black/gold header,
   green category bars with gold trim, cream cards, burgundy
   buttons. Phone-first; desktop widens the same design. */
* { margin:0; padding:0; box-sizing:border-box; }
body { background:#F6ECD7; font-family: Arial, Helvetica, sans-serif; color:#2b2b2b; }
.wrap { max-width:640px; margin:0 auto; background:#F6ECD7; min-height:100vh; }
a { color:#8E0F20; }

/* Legacy mini-header — kept only for success.php (confirmation
   page), which still uses .topband/.storename. */
.topband { background:linear-gradient(180deg,#000 0%,#0a0a0a 55%,#161616 100%); text-align:center; padding:16px 16px 12px; border-bottom:3px solid #FEBD11; }
.topband img.logo { width:212px; max-width:70vw; display:block; margin:0 auto 8px; }
.storename { color:#fff; font-weight:900; font-size:21px; letter-spacing:.4px; }
.storename span { color:#FEBD11; }

/* Header — owner's reference design (Nov 29, 2026,
   mockups/header-reference-owner.jpg): black band with the
   gold oval logo, gold leafy branches in the top corners
   (branch-corner.png, cropped from the reference image), a
   cream oval "Upscale Dining Experience", and a big dark-green
   gold-bordered oval for the separate veg kitchen. Below it a
   deeper-ivory band (#F7E7C3; warm ivory #FFF7E6 before that, light green #E3EFDF until Nov 30, 2026): status pill (red Closed / green Open) + the next
   open/close line, an outlined Hours button that drops the
   hours panel (hidden until tapped — owner's standing call),
   and the address with a pin. No name line, no pickup line,
   no sign-in (sign in / join / guest lives at checkout). */
.blackband { position:relative; background:#000; text-align:center; padding:20px 12px 18px; overflow:hidden; }
.blackband img.logo { width:232px; max-width:74vw; display:block; margin:0 auto; position:relative; z-index:1; }
.branch { position:absolute; top:0; width:118px; max-width:23vw; display:block; z-index:0; pointer-events:none; }
.branch-l { left:0; }
.branch-r { right:0; transform:scaleX(-1); }
.upscale-oval { position:relative; z-index:1; width:fit-content; max-width:94%; margin:12px auto 0; background:#FBF3DF; color:#111; font-family:Georgia,'Times New Roman',serif; font-style:italic; font-size:clamp(17px,5.4vw,24px); line-height:1.2; padding:9px 38px; border-radius:50%; }
.veg-oval { position:relative; z-index:1; margin:14px auto 0; max-width:570px; background:radial-gradient(ellipse at center,#0d5c26 0%,#063d17 68%,#04300f 100%); border:2.5px solid #E9B62B; border-radius:18px; padding:10px 22px 11px; }
.veg-l2 { color:#F5C21C; font-family:Georgia,'Times New Roman',serif; font-weight:700; font-size:clamp(22px,7.14vw,36px); line-height:1.15; }
.creamband { background:#F7E7C3; border:4px solid #3D0B14; border-radius:18px; box-shadow:0 3px 10px rgba(90,40,0,.18); margin:14px 10px 0; padding:10px 10px 8px; }
/* Status pill + Online Hours bars shrunk (owner, Nov 30,
   2026, from his screenshot: "shrink these bars"): both bars
   share ONE width and stay centered; vertical padding cut
   ~25-30% so the bars are shorter. ONE-LINE FIT (owner,
   later Nov 30, 2026: "should be online - shrng to one
   line fitting"): the 260px cap made "OPEN - Accepting
   orders" WRAP on the owner's screen — at weight 900 his
   device renders the family far wider than Arial's book
   metrics (Liberation Bold measures the line at 202px at
   17px, DejaVu Bold — the realistic heavy-weight proxy —
   at 235px, over the 230px the cap left). So: every line
   is white-space:nowrap, the pill font drops 17px -> 16px
   and the closed state's second line 16px -> 13px, and
   the shared cap is sized from the WIDEST string at those
   sizes with slack — line 2 "Opens @ 10:30 AM – Wednesday"
   at 13px measures ~265px worst-case, + 28px side padding
   = ~293px; line 1 at 16px ~248px. Cap 304px covers both
   with room, and max-width:100% keeps the bars inside the
   band on narrow phones, where the media query below
   steps the fonts down again so nothing overflows. */
.statusrow { display:flex; justify-content:center; }
.statuspill { display:inline-flex; flex-direction:column; align-items:center; gap:1px; width:100%; max-width:304px; box-sizing:border-box; color:#fff; font-weight:900; font-size:16px; line-height:1.25; padding:6px 14px; border-radius:12px; text-align:center; white-space:nowrap; }
.statuspill .pill-line1, .statuspill .pill-line2 { white-space:nowrap; }
.statuspill .pill-line2 { font-size:13px; }
.statuspill.is-closed { background:#A30F14; }
.statuspill.is-open { background:#1E7B34; }
.hoursrow { display:flex; justify-content:center; margin-top:10px; }
#btn-hours { background:#A30F14; border:none; color:#fff; font-weight:900; font-size:16px; border-radius:12px; padding:5px 14px; cursor:pointer; white-space:nowrap; display:inline-flex; align-items:center; justify-content:center; gap:7px; width:100%; max-width:304px; box-sizing:border-box; }
@media (max-width:359px) {
  .statuspill { font-size:15px; padding:6px 10px; }
  .statuspill .pill-line2 { font-size:12px; }
  #btn-hours { font-size:15px; padding:5px 10px; }
}
#btn-hours .hcaret { font-size:12px; }
.hourspanel { margin-top:10px; }
.hbox { background:#FFFDF4; border:2px solid #E9B62B; border-radius:12px; padding:12px 14px; }
.hbox + .hbox { margin-top:12px; }
.hbox-title { font-weight:900; font-size:19px; letter-spacing:.3px; color:#7A0C10; text-align:center; border-bottom:2px solid #E9B62B; padding-bottom:8px; }
.hbox .hrow { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:9px 0 8px; font-weight:900; font-size:16px; color:#111; border-bottom:2px solid #E9B62B; }
.hbox .hrow:last-child { border-bottom:none; padding-bottom:0; }
.hrow .hclosed { color:#A30F14; font-size:17px; letter-spacing:.4px; }
.hstack { display:flex; flex-direction:column; text-align:right; line-height:1.45; }
/* Contact card (owner's reference picture, Dec 1, 2026 —
   supersedes the plain phone/address rows and item 10's
   white Directions button): the phone + address rows sit
   in ONE ornate cream card. Frame: 3px deep-maroon border
   (#6E0A12) with an inner cream gap + gold hairline (the
   two inset shadows), 26px corners, warm cream gradient
   with soft gold glows in the corners. Gold swoosh arcs
   sweep the top-left and bottom-right corners (inline
   SVGs in index.php, the bottom-right one rotated 180°),
   and a maroon scallop dips at the top center. Rows:
   gold-ringed cream circles (.cicon) holding MAROON
   glyphs, a thin dark vertical divider (.cdiv), the
   number in large maroon Lora serif (.cnum), the address
   bold black (.caddr, no underline), and between the
   rows a gold hairline with a gold leaf ornament at its
   center (.cc-divider). The Directions button is a RED
   pill again — maroon gradient, 2px gold trim + gold
   halo ring, Google pin, white bold text, white chevron —
   exactly as the owner's picture shows. Phone-width
   scaling: type and the button step down at 480px and
   again at 380px so the number stays on one line and the
   button never crowds it; the address may wrap on the
   narrowest phones. */
.contactcard { position:relative; overflow:hidden; margin-top:10px; padding:15px 14px 13px; border:3px solid #6E0A12; border-radius:26px; background:radial-gradient(130px 90px at 0 0, rgba(233,182,76,.38), rgba(233,182,76,0) 70%), radial-gradient(130px 90px at 100% 100%, rgba(233,182,76,.32), rgba(233,182,76,0) 70%), linear-gradient(165deg,#FFFDF6 0%,#FBF1DA 55%,#F6E5BF 100%); box-shadow:inset 0 0 0 2px #FBF3DF, inset 0 0 0 4px rgba(201,150,46,.85), 0 2px 6px rgba(90,40,0,.16); }
.cc-swoosh { position:absolute; width:118px; height:88px; pointer-events:none; }
.cc-swoosh.cc-tl { top:0; left:0; }
.cc-swoosh.cc-br { bottom:0; right:0; transform:rotate(180deg); }
.cc-scallop { position:absolute; top:0; left:50%; transform:translateX(-50%); width:46%; max-width:290px; height:17px; pointer-events:none; }
.phonerow { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:8px; }
.phonelink { display:inline-flex; align-items:center; min-width:0; color:#7A0C10; text-decoration:none; }
.cicon { flex:0 0 auto; width:40px; height:40px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #FFFDF4 0%, #F8ECCB 78%, #F1DFAE 100%); border:2px solid #C9962E; box-shadow:0 0 0 1.5px #F3D98B, inset 0 1px 2px rgba(255,255,255,.85), 0 1px 3px rgba(90,40,0,.28); display:inline-flex; align-items:center; justify-content:center; }
.cicon svg { width:20px; height:20px; display:block; }
.cdiv { flex:0 0 auto; width:1.5px; height:29px; background:rgba(43,26,16,.55); margin:0 9px; }
.cnum { font-family:'Lora', Georgia, 'Times New Roman', serif; font-weight:700; font-size:clamp(17px,4.7vw,25px); letter-spacing:.2px; white-space:nowrap; }
.dirbtn { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; background:linear-gradient(180deg,#8E1420 0%,#6E0A12 55%,#5E0A12 100%); color:#fff; text-decoration:none; font-weight:900; font-size:15.5px; letter-spacing:.3px; border:2px solid #C9962E; border-radius:999px; padding:9px 16px; box-shadow:0 0 0 1.5px #F3D98B, 0 2px 5px rgba(90,40,0,.35); white-space:nowrap; }
.dirbtn svg { flex:0 0 17px; width:17px; height:17px; }
.dirbtn .cchev { font-size:17px; font-weight:900; line-height:1; margin-left:1px; }
.cc-divider { position:relative; z-index:1; display:flex; align-items:center; gap:9px; margin:11px 2px 10px; }
.cc-line { flex:1 1 auto; height:1.5px; background:linear-gradient(90deg, rgba(201,150,46,.12) 0%, #C9962E 28%, #E9B64C 50%, #C9962E 72%, rgba(201,150,46,.12) 100%); }
.cc-leaf { flex:0 0 auto; display:block; }
.addrrow { position:relative; z-index:1; display:flex; align-items:center; justify-content:flex-start; text-align:left; }
.addrlink { display:inline-flex; align-items:center; min-width:0; color:#111; text-decoration:none; }
.caddr { font-weight:900; font-size:clamp(12.5px,3.4vw,18px); letter-spacing:.2px; line-height:1.3; color:#111; }
@media (max-width:480px) {
  .contactcard { padding:14px 10px 12px; }
  .cc-swoosh { width:92px; height:68px; }
  .cicon { width:34px; height:34px; }
  .cicon svg { width:17px; height:17px; }
  .cdiv { height:25px; margin:0 7px; }
  .dirbtn { font-size:12.5px; padding:7px 11px; gap:5px; }
  .dirbtn svg { flex-basis:14px; width:14px; height:14px; }
  .dirbtn .cchev { font-size:14px; }
}
@media (max-width:380px) {
  .cicon { width:32px; height:32px; }
  .cdiv { margin:0 6px; }
  .cnum { font-size:16px; }
  .dirbtn { font-size:11.5px; padding:6px 9px; }
}

/* Search row (owner, Nov 29, 2026): smaller box sharing its row
   with a gold GO button; darker placeholder/typed text; an ✕
   inside the box (shown only while it has text) clears the
   whole search in one tap. */
.searchbar { padding:12px 10px 2px; display:flex; gap:8px; align-items:stretch; }
.searchwrap { position:relative; flex:1 1 auto; display:flex; }
.searchbar input { width:100%; padding:6px 38px 6px 14px; border-radius:999px; border:4px solid #3D0B14; background:#fff; font-size:15px; font-weight:700; color:#2b2b2b; }
.searchbar input::placeholder { color:#4d4d4d; opacity:1; }
.searchbar input::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none; }
#searchclear { position:absolute; right:6px; top:50%; transform:translateY(-50%); width:26px; height:26px; border-radius:50%; border:none; background:#5E1420; color:#fff; font-size:13px; font-weight:900; line-height:1; cursor:pointer; align-items:center; justify-content:center; padding:0; }
#searchgo { flex:0 0 auto; background:#FEBD11; color:#4A0F1A; border:2px solid #FEBD11; border-radius:999px; font-weight:900; font-size:15px; letter-spacing:.5px; padding:0 20px; cursor:pointer; }
.noresults { color:#8E0F20; font-weight:800; font-size:16px; text-align:center; padding:18px 16px 4px; }

.catbar { background:linear-gradient(180deg,#7A1E2B 0%,#5E1420 60%,#4A0F1A 100%); margin:14px 10px 10px; border-radius:14px; border:2.5px solid #FEBD11; padding:10px 14px; box-shadow:0 3px 0 #7a5b00; display:flex; align-items:center; justify-content:space-between; cursor:pointer; width:calc(100% - 20px); text-align:left; }
.catbar h2 { font-family:Arial, Helvetica, sans-serif; color:#FEBD11; font-weight:700; font-size:18px; letter-spacing:1.2px; text-shadow:0 2px 0 #8a6400, 0 3px 4px rgba(0,0,0,.45); }
.catbar .cnt { color:#eaffef; font-size:11px; font-weight:700; margin-top:1px; }
.catbar .chev { flex:0 0 auto; width:34px; height:34px; border-radius:50%; border:2px solid #FEBD11; background:rgba(0,0,0,.35); margin-left:10px; display:inline-flex; align-items:center; justify-content:center; font-size:0; line-height:0; }
.catbar .chev::before { content:""; width:0; height:0; border-left:10px solid transparent; border-right:10px solid transparent; border-top:13px solid #FEBD11; }
.catbar .chev.up::before { transform:rotate(180deg); }
.catitems { display:none; }
.catitems.open { display:block; }

/* Category group boxes (owner, Nov 29, 2026 — approved mockups
   mockup-grouped-v3, then mockup-grouped-v5-long): related
   category ribbons wrapped in ONE outer box, NO group name —
   the grouping reads through spacing (tight inside, larger
   18px gaps between boxes and singles). Display only; each
   category keeps its own ribbon, pull-down and items.
   V5 (owner: "Let's update," Nov 29, 2026, 8:25 PM CT):
   inside the box the ribbons lose their OWN gold border,
   rounded panel and separate background — they sit as FLAT
   ROWS on the box interior, separated by a thin gold divider
   line, and the box interior carries the SAME Royal Maroon
   gradient as the ribbons, so grouped and single categories
   are the identical maroon; only the border structure
   differs. Singles keep their full ribbon-box style. */
.groupbox { background:linear-gradient(180deg,#7A1E2B 0%,#5E1420 60%,#4A0F1A 100%); border:2.5px solid #FEBD11; border-radius:18px; margin:18px 10px 0; padding:6px 12px; box-shadow:0 3px 0 #7a5b00; display:flex; flex-direction:column; gap:0; }
.groupbox .catbar { background:none; border:none; border-radius:0; box-shadow:none; margin:0; width:100%; padding:12px 2px; }
.groupbox .catbar:not(:first-of-type) { border-top:1px solid rgba(254,189,17,.38); }
.groupbox .item { margin:0 0 10px; }
.groupbox + .catbar { margin-top:18px; }

.item { background:#FFFBEE; border:2px solid #e8cf8f; border-radius:14px; margin:0 10px 10px; padding:10px; display:flex; gap:10px; box-shadow:0 2px 5px rgba(0,0,0,.35); }
/* Card picture block: render-switched OFF in index.php ($showCardPhotos=false, owner Nov 29, 2026, "for now") — rules kept for the flip back. */
.photo { flex:0 0 92px; width:92px; height:80px; border-radius:10px; border:2.5px solid #FEBD11; background:linear-gradient(135deg,#7a1220,#B21428 55%,#e0651f); position:relative; overflow:hidden; }
.photo .tag { position:absolute; left:0; right:0; bottom:0; background:rgba(0,0,0,.55); color:#FFD94D; font-size:9px; font-weight:900; text-align:center; padding:2px 0; letter-spacing:.5px; }
.photo .ini { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#FFD94D; font-family:Georgia,serif; font-style:italic; font-weight:900; font-size:30px; text-shadow:0 2px 3px rgba(0,0,0,.5); }
.veg, .nonveg { position:absolute; top:4px; left:4px; width:14px; height:14px; background:#fff; border-radius:3px; z-index:2; }
.veg { border:2px solid #1d9e4b; } .veg:after { content:""; position:absolute; inset:3px; background:#1d9e4b; border-radius:50%; }
.nonveg { border:2px solid #B21428; } .nonveg:after { content:""; position:absolute; inset:3px; background:#B21428; border-radius:50%; }
.info { flex:1; min-width:0; }
.iname { font-family:'Lora', Georgia, 'Times New Roman', serif; font-style:normal; font-weight:700; color:#8E0F20; font-size:20px; line-height:1.2; text-transform:none; }
.idesc { color:#6d6252; font-weight:800; font-size:11.5px; line-height:1.3; margin:3px 0 6px; -webkit-text-stroke:.3px #6d6252; }
.pricerow { display:flex; align-items:center; justify-content:space-between; margin-top:4px; }
.price { font-weight:900; font-size:16px; color:#FFFFFF; background:#1E7B34; padding:3px 10px; border-radius:999px; }
.price .from { font-size:11px; color:rgba(255,255,255,.85); letter-spacing:.5px; }
.addbtn { background:#8E0F20; color:#fff; font-weight:900; font-size:13px; letter-spacing:1px; border:none; border-radius:999px; padding:7px 18px; box-shadow:0 3px 0 #5d0a15; cursor:pointer; }
/* Closed state (owner, Nov 29, 2026): ADD buttons are disabled while the
   store is closed — they must LOOK off, not tappable: warm grey + dimmed. */
.addbtn:disabled { background:#8d8578; color:#efe9dc; opacity:.55; box-shadow:none; cursor:not-allowed; }

/* modal (item panel / login / orders) */
.backdrop { position:fixed; inset:0; background:rgba(0,0,0,.72); z-index:40; display:none; }
.backdrop.show { display:block; }
/* Phone scrolling (owner, Dec 1, 2026 — "the scrolling is
   not proper" on his iPhone): the sheet height uses dvh so it
   tracks the VISIBLE viewport while Safari's URL bar shows and
   hides (plain vh is the taller hidden-bar size and let the
   sheet bottom sit behind the browser chrome); overscroll-
   behavior:contain stops a flick at the sheet's top/bottom
   from chaining into the menu page behind it; momentum
   scrolling is explicit; bottom padding adds the home-bar
   safe area so the last button is always reachable. The
   matching body scroll lock lives in app.js (ooLockBody). */
.sheet { position:fixed; z-index:41; left:50%; transform:translateX(-50%); bottom:0; width:min(640px,100%); max-height:92vh; max-height:92dvh; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; background:#FFFBEE; border-radius:20px 20px 0 0; border-top:3px solid #FEBD11; padding:18px 16px calc(22px + env(safe-area-inset-bottom, 0px)); display:none; }
.sheet.show { display:block; }
.sheet h3 { font-family:'Lora', Georgia, serif; font-style:normal; font-weight:700; color:#8E0F20; font-size:21px; }
.sheet .x { position:absolute; top:10px; right:14px; background:#161616; color:#FEBD11; border:none; width:32px; height:32px; border-radius:50%; font-size:16px; font-weight:900; cursor:pointer; }
.gname { font-size:12px; letter-spacing:1.5px; color:#8a6400; font-weight:900; margin:14px 0 6px; text-transform:uppercase; }
.gname .req { color:#B21428; }
.modopt { display:flex; justify-content:space-between; align-items:center; background:#fff; border:1.5px solid #e8cf8f; border-radius:10px; padding:9px 12px; margin-bottom:6px; cursor:pointer; font-weight:700; font-size:14px; }
.modopt.sel { border-color:#B21428; background:#FFF3C4; }
.modopt .mp { font-weight:900; }
/* Modifier sets as BOXES with red heading OVALS (owner,
   Nov 30, 2026 — first built as a full-width bar, the owner
   changed it to an oval the same evening): each group —
   heading oval + its option rows — reads as one intact
   unit, and the oval states how many picks the group takes
   (pick text built in app.js from the same min/max the
   validation enforces). The oval is the site's own pill
   family (status pill / .cbox-title): ribbon-red gradient
   (#7A1E2B→#5E1420), gold trim #E8A90C, fully rounded ends,
   sized to its content — group name in white, pick text
   beside it inside the same oval. Pick text was the site
   gold #FEBD11 until Dec 1, 2026, when the owner found the
   gold unreadable on his phone: it is now WHITE like the
   name and wrapped in parentheses via .gpick::before/::after
   (the span isolates the rule text, so the parens hug it in
   both the one-line and wrapped two-line ovals). */
.gbox { border:3px solid #172A5E; border-radius:12px; background:#FFFDF6; margin:14px 0 0; padding-bottom:4px; overflow:hidden; }
.ghead { padding:12px 12px 10px; }
.goval { display:inline-flex; align-items:center; flex-wrap:wrap; gap:3px 9px; background:linear-gradient(180deg,#7A1E2B,#5E1420); border:2px solid #E8A90C; border-radius:999px; padding:7px 16px; box-shadow:0 2px 0 #5d0a15; max-width:100%; }
.goval .gtitle { color:#fff; font-weight:900; font-size:12.5px; letter-spacing:1.2px; text-transform:uppercase; }
.goval .gpick { color:#fff; font-weight:900; font-size:10.5px; letter-spacing:.8px; white-space:nowrap; }
.goval .gpick::before { content:"("; }
.goval .gpick::after { content:")"; }
.gbox .modopt { margin-left:10px; margin-right:10px; }
.gbox textarea.note { width:calc(100% - 20px); margin:0 10px 6px; }
/* 2-COLUMN option grid (owner, Nov 30, 2026): a group with
   5+ options (app.js adds .gopts2 to its options wrapper)
   renders two equal columns so a long list — NOODLE
   SELECTION's 9 — takes half the rows and half the scroll;
   4 or fewer keep the single column above. Same 6px rhythm
   as the single-column spacing, same 10px inset as the
   single-column side margins. In a narrow cell the name
   takes the first line(s) and wraps inside the cell; the
   price drops under it, right-aligned and smaller, pinned
   to the cell's bottom so prices line up across a row.
   Border / radius / .sel look are .modopt's own, unchanged. */
.gbox .gopts2 { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:0 10px; }
.gbox .gopts2 .modopt { margin-left:0; margin-right:0; margin-bottom:0; flex-direction:column; align-items:stretch; justify-content:space-between; }
.gbox .gopts2 .modopt .mp { text-align:right; font-size:12px; margin-top:2px; }
.gbox .gopts2 .modopt .mp:empty { display:none; }
/* Checkout in THREE thick boxes (owner, Nov 30, 2026 —
   final layout, after several passes the same evening;
   the order below is the owner's own proposal, confirmed
   "build it this way"): box 1 = cart items + discount
   code + totals, box 2 = Contact Details (phone, email,
   confirmation-by, order note — no name), box 3 =
   Payment Details — first + last name first (name is
   part of payment), then the payment-method choice and
   ONE panel (Apple Pay button or card fields). The
   Place Order button sits full-width below box 3 with
   the pay-error box beside it, and shows only in Card
   mode. .ckbox is the .gbox family's box — the same
   3px outer border (dark navy #172A5E since Dec 1,
   2026; it was 3px dark maroon before), 12px radius,
   pale fill and 14px between-box rhythm — with padding
   for the form fields; boxes 2–3 are headed by the same
   red .goval ovals as the modifier groups. */
.ckbox { border:3px solid #172A5E; border-radius:12px; background:#FFFDF6; margin:14px 0 0; padding:14px 12px 10px; overflow:hidden; }
.ckbox .ghead { padding:0 0 10px; }
/* Required-field star (owner, Nov 30, 2026): a red *
   after the label of every field checkout actually
   requires — name / phone / email are validated in
   app.js, the card fields by the Clover SDK. Order note
   and the Confirmation-by selector carry no star. */
.reqstar { color:#B21428; }
/* Payment method choice (owner, Nov 30, 2026): the two
   rows are .modopt rows (the modifier-option look, .sel
   state included) stacked over the panels; app.js
   toggles the Apple Pay panel / card panel / Place
   Order button with .hidden only — nothing is rebuilt.
   The Apple Pay wrapper's "OR PAY WITH CARD" divider
   is hidden inside the panel: with an explicit method
   choice above it, the divider reads backwards. */
#pay-methods { margin:2px 0 10px; }
#pay-methods .paymethod { font-size:15px; }
#applepay-wrap .ordiv { display:none; }
/* Item-sheet dish name = green button banner (owner,
   Nov 30, 2026): the item name at the top of the item
   sheet sits on the site's green (#1E7B34 — the price
   pill / open pill green) as a rounded button-shaped
   banner, white bold text (the .sheet h3 Lora face is
   kept). inline-block sized to the name, capped so it
   never runs under the X button at the top-right.
   EXTENDED Dec 1, 2026 (owner, from his screenshot of
   the choice sheet): the "Checkout" headings of the
   CHOICE sheet and the CHECKOUT sheet get the identical
   banner — same word, same screen family, same look. */
#item-sheet > h3, #cart-sheet > h3, #choice-sheet > h3 { display:inline-block; background:#1E7B34; color:#fff; border-radius:999px; padding:8px 18px; max-width:calc(100% - 48px); box-shadow:0 2px 0 #14532d; }
.stepper { display:inline-flex; align-items:center; gap:2px; background:#fff; border:2px solid #B21428; border-radius:999px; padding:2px; }
.stepper .b { width:30px; height:30px; border-radius:50%; background:linear-gradient(180deg,#c21837,#8E0F20); color:#fff; font-weight:900; font-size:17px; text-align:center; line-height:30px; cursor:pointer; border:none; }
.stepper .q { min-width:28px; text-align:center; font-weight:900; font-size:16px; }
textarea.note, input.fld, select.fld { width:100%; padding:10px 12px; border:1.5px solid #d9c48a; border-radius:10px; font-size:15px; margin:4px 0 10px; background:#fff; }
/* Field labels (owner, Dec 1, 2026 — from his phone screenshot
   of the checkout): the old mustard #8a6400 at 11.5px on the
   cream box was hard to read. Labels are now the site's dark
   maroon #6E0A12, bold, and bigger (15px). One class covers
   the CONTACT DETAILS and PAYMENT DETAILS boxes and the
   login/code sheet labels. The required star stays red
   (.reqstar above); input/placeholder styling is untouched. */
label.flabel { font-size:15px; font-weight:700; letter-spacing:1px; color:#6E0A12; text-transform:uppercase; }
.bigadd { width:100%; background:#8E0F20; color:#fff; font-weight:900; font-size:16px; border:none; border-radius:12px; padding:14px 0; box-shadow:0 3px 0 #5d0a15; cursor:pointer; margin-top:10px; }
.bigadd:disabled { background:#8d8578; color:#efe9dc; opacity:.55; box-shadow:none; cursor:not-allowed; }
.goldbtn { width:100%; background:linear-gradient(180deg,#ffd94d,#FEBD11); color:#8E0F20; font-weight:900; font-size:16px; border:none; border-radius:12px; padding:14px 0; box-shadow:0 3px 0 #a87c00; cursor:pointer; margin-top:10px; }
/* Inline message boxes (owner, Dec 1, 2026 — "did you
   fix error message box also?"): restyled to the design
   system instead of plain default web errors — a proper
   2.5px border in the family color, a marker glyph in
   front of the text (a ::before, so the JS textContent
   writes are untouched), bold dark text, 12px corners
   matching the fields. They stay INLINE — ids, the
   showBox display toggling and when they appear are
   unchanged. .okbox gets the matching green treatment
   so the pair reads as one designed set. */
.errbox { background:#fdecec; border:2.5px solid #B21428; color:#8E0F20; font-weight:800; font-size:13.5px; border-radius:12px; padding:10px 12px; margin:10px 0; display:none; }
.errbox::before { content:"⚠"; margin-right:7px; color:#B21428; }
.okbox { background:#e9f9ee; border:2.5px solid #1E7B34; color:#14532d; font-weight:800; font-size:13.5px; border-radius:12px; padding:10px 12px; margin:10px 0; display:none; }
.okbox::before { content:"✓"; margin-right:7px; color:#1E7B34; font-weight:900; }

/* cart + checkout */
.cartline { display:flex; gap:8px; align-items:flex-start; background:#fff; border:1.5px solid #e8cf8f; border-radius:10px; padding:9px 12px; margin-bottom:6px; }
.cartline .nm { font-weight:900; font-size:14px; color:#161616; }
.cartline .md { font-size:12px; color:#6d6252; }
.cartline .amt { margin-left:auto; font-weight:900; white-space:nowrap; }
.cartline .rm { background:none; border:none; color:#B21428; font-weight:900; cursor:pointer; font-size:15px; }
.totrow { display:flex; justify-content:space-between; font-weight:700; font-size:14.5px; padding:3px 2px; }
.totrow.grand { font-size:17px; font-weight:900; border-top:2px solid #161616; margin-top:6px; padding-top:8px; }
.codebar { display:flex; gap:8px; margin:10px 0; }
/* Discount input is COMPACT (owner, Nov 30, 2026): a fixed
   ~180px box (room for ~12 characters — the input's
   maxlength is 12, so WELCOME10 at 9 still fits) sitting
   left with Apply right beside it; the rest of the row
   stays empty. It no longer spans the line. */
.codebar input { flex:0 0 180px; width:180px; padding:10px 12px; border:1.5px solid #d9c48a; border-radius:10px; font-size:15px; text-transform:uppercase; font-weight:700; }
.codebar button { background:#161616; color:#FEBD11; font-weight:900; border:none; border-radius:10px; padding:0 18px; cursor:pointer; }
#payment-request-button { min-height:50px; margin:8px 0; }
#payment-request-button iframe { width:100% !important; }
.clover-field { background:#fff; border:1.5px solid #d9c48a; border-radius:10px; padding:4px 8px; margin:4px 0 10px; min-height:44px; }
.secure { text-align:center; color:#6d6252; font-size:10.5px; font-weight:700; margin-top:8px; }
.foot { text-align:center; color:#9b8f7d; font-size:11px; padding:16px 20px 20px; line-height:1.6; }
.spacer { height:10px; }
/* While the sticky cart bar is visible, the page grows matching
   bottom padding so the bar never covers the footer/content
   (owner, Nov 29, 2026); app.js toggles body.has-cartbar with
   the bar itself. 120px covers the phone bar (~57px) plus its
   float offset (10px + safe-area inset) and the wide-screen
   floating pill (bottom offset + height). */
body.has-cartbar .wrap { padding-bottom:120px; }

/* Sticky cart bar (owner, Nov 29, 2026 — standard food-ordering
   pattern): fixed to the bottom of the screen and reachable
   while scrolling; shown only when the cart has items (app.js
   toggles .show + body.has-cartbar). Phones: full-width bar
   flush with the bottom edge. Wide screens: a centered
   floating pill (media query below).
   SEPARATION RESTYLE (owner, Dec 1, 2026): the bar was maroon
   like the category ribbons it floats over, so it blended in
   and did not read as a separate element. It is now DARK NAVY
   (#172A5E — the .ckbox/.gbox border navy) with a THICK 4px
   gold frame and a stronger shadow, so it reads as one clear
   floating bar over maroon, green or cream alike. The gold
   count badge and white text carry over unchanged.
   FLOAT + TEXT AMENDMENT (owner, Dec 1, 2026): navy alone was
   not enough on his phone — the bar sat FLUSH (full-bleed,
   bottom:0) against the ribbon above and Safari's toolbar
   below, still reading as one stacked color block. Phones:
   the bar now genuinely FLOATS — 12px side margins and a
   bottom offset of 10px + safe-area inset, rounded corners,
   an all-around drop shadow — so the cream page background
   shows between the bar and anything behind it. "View Cart"
   and the item/total summary are bigger and bolder: 19px,
   weight 800, pure white. The navy Safari toolbar tint he
   asked about is fixed separately in index.php via
   <meta name="theme-color"> set to the cream body color. */
.cartbar { position:fixed; left:50%; transform:translateX(-50%); bottom:calc(10px + env(safe-area-inset-bottom, 0px)); width:min(640px, calc(100% - 24px)); background:#172A5E; color:#fff; padding:13px 16px; display:none; align-items:center; justify-content:space-between; border:4px solid #FEBD11; border-radius:18px; box-shadow:0 10px 30px rgba(0,0,0,.55); z-index:30; cursor:pointer; }
.cartbar.show { display:flex; }
.cartbar .l { font-weight:800; font-size:19px; color:#fff; }
.cartbar .r { font-weight:800; font-size:19px; color:#fff; }
.cartbar .count { display:inline-block; background:#FEBD11; color:#8E0F20; border-radius:50%; width:23px; height:23px; line-height:23px; text-align:center; font-size:13px; margin-right:7px; }
@media (min-width:760px) {
  .cartbar { bottom:18px; width:min(520px, calc(100% - 48px)); border:4px solid #FEBD11; border-radius:999px; padding:14px 22px; box-shadow:0 10px 30px rgba(0,0,0,.55); }
}

/* promo pop-up */
.popup { position:fixed; z-index:51; top:56px; left:50%; transform:translateX(-50%); width:min(360px,92vw); background:#FFFBEE; border-radius:20px; border:3px solid #FEBD11; overflow:hidden; box-shadow:0 14px 44px rgba(0,0,0,.65); display:none; }
.popup.show { display:block; }
.popup .pband { background:linear-gradient(180deg,#000,#161616); text-align:center; padding:12px 10px 9px; border-bottom:3px solid #FEBD11; position:relative; }
.popup .pband img { width:150px; }
.popup .px { position:absolute; top:8px; right:10px; background:none; border:none; color:#FEBD11; font-size:19px; font-weight:900; cursor:pointer; }
.popup .pbody { padding:16px 18px 18px; text-align:center; }
.popup h3 { font-family:Georgia,serif; font-style:italic; font-weight:900; color:#8E0F20; font-size:22px; line-height:1.2; }
.popup p { color:#4c4436; font-size:14px; font-weight:700; line-height:1.45; margin:8px 0; }
.popup .pcode { display:inline-block; border:2px dashed #B21428; color:#8E0F20; font-weight:900; letter-spacing:1px; padding:5px 14px; border-radius:8px; margin:4px 0 8px; }
.popup img.pimg { width:100%; border-radius:12px; margin:6px 0; }
.popup .skip { background:none; border:none; color:#8a8378; font-weight:700; font-size:13px; margin-top:10px; cursor:pointer; text-decoration:underline; }

/* In-app message popup (owner, Dec 1, 2026 — he hit the
   browser's native alert popup on a missed required
   modifier and said "this is not good — need a popup
   more elegant"): ONE component (ooPopup in app.js)
   replaces every native alert call in the customer
   flow. A centered card over its own dim backdrop —
   cream fill in the sheets' #FFFBEE, the 3px dark-red
   border family, a red .goval oval heading, the message
   in the site's type, and ONE red-oval button. No URL,
   no browser chrome. z-index 60/61: above every sheet
   (41) and the promo popup (51), so it works over the
   item sheet, checkout and choice sheet alike, and
   closing it returns the customer to exactly where
   they were (the sheets underneath are never touched). */
.msgbackdrop { position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:60; display:none; }
.msgbackdrop.show { display:block; }
.msgpop { position:fixed; z-index:61; top:50%; left:50%; transform:translate(-50%,-50%); width:min(340px,90vw); background:#FFFBEE; border:3px solid #7A1E2B; border-radius:16px; box-shadow:0 14px 44px rgba(0,0,0,.6); padding:18px 18px 16px; text-align:center; display:none; }
.msgpop.show { display:block; }
.msgpop .ghead { padding:0 0 10px; }
.msgtext { font-size:15px; font-weight:700; color:#2b2b2b; line-height:1.45; }
.msgbtn { display:inline-block; background:linear-gradient(180deg,#7A1E2B,#5E1420); border:2px solid #E8A90C; border-radius:999px; padding:10px 38px; box-shadow:0 2px 0 #5d0a15; color:#fff; font-weight:900; font-size:15px; letter-spacing:1.2px; text-transform:uppercase; cursor:pointer; margin-top:14px; }
/* Missed-required-group highlight (same owner pass):
   when the popup for an unfilled required group closes,
   app.js scrolls the item sheet to that group's box
   and adds .misshl — the border flips to the error red
   and a soft red ring pulses ~1.6s so the customer sees
   exactly what to pick. app.js removes the class when
   the pulse ends. */
@keyframes missPulse { 0%,100% { box-shadow:0 0 0 0 rgba(178,20,40,0); } 50% { box-shadow:0 0 0 5px rgba(178,20,40,.45); } }
.gbox.misshl { border-color:#B21428; animation:missPulse .55s ease-in-out 3; }
.orderrow { background:#fff; border:1.5px solid #e8cf8f; border-radius:10px; padding:9px 12px; margin-bottom:6px; font-size:13.5px; font-weight:700; display:flex; justify-content:space-between; }
/* Login / Join / Guest choice sheet (owner, Nov 30, 2026):
   three stacked full-width OVAL buttons in the .goval
   family — the same ribbon-red gradient, gold trim and
   fully rounded ends, sized up for big tap targets. No
   new colors; the auth step reuses .fld/.goldbtn/.bigadd
   and the .goval heading oval.
   SHRUNK + BOXED Dec 1, 2026 (owner, from his screenshot
   of the sheet): the three buttons now sit inside ONE
   .ckbox on the sheet (markup in index.php), and each
   button is ~a third shorter (~45px) and capped at
   320px wide, centered in the box — labels, order and
   behavior identical. */
.choicebtn { display:block; width:100%; max-width:320px; background:linear-gradient(180deg,#7A1E2B,#5E1420); border:2px solid #E8A90C; border-radius:999px; padding:11px 16px; box-shadow:0 2px 0 #5d0a15; color:#fff; font-weight:900; font-size:16px; letter-spacing:1.5px; text-transform:uppercase; cursor:pointer; margin:10px auto 0; }
.choicebtn:first-child { margin-top:0; }
.choicesum { text-align:center; font-weight:900; font-size:16px; color:#161616; margin:8px 0 2px; }
.choicehint { text-align:center; color:#6d6252; font-size:12px; font-weight:700; margin-top:12px; }
.authback { display:block; margin:14px auto 0; background:none; border:none; color:#8E0F20; font-weight:900; font-size:13px; text-decoration:underline; cursor:pointer; }
/* Signed-in line on the checkout (subtle, top-right above
   box 1): "Logged in as … · Log out". */
.signedinline { text-align:right; font-size:12.5px; font-weight:700; color:#6d6252; margin-top:10px; }
.signedinline button { background:none; border:none; color:#8E0F20; font-weight:900; font-size:12.5px; text-decoration:underline; cursor:pointer; padding:0; }
.hidden { display:none !important; }

/* Contact us / Join us boxes (owner-approved mockup
   contact-ribbon-pillheads, Nov 30, 2026). Join us sits
   above the search box; Contact us at the page bottom.
   Borders darkened to the search box's 4px #3D0B14 and the
   header's light-green band given the same box treatment
   (owner, Nov 30, 2026 — mockup joinus-above-search-v2). */
.cbox { background:#FFF7E6; border:4px solid #3D0B14; border-radius:18px; box-shadow:0 3px 10px rgba(90,40,0,.22); padding:20px 22px 18px; margin:18px 10px 0; text-align:center; }
/* Deeper ivory (owner, Nov 30, 2026 — mockup
   boxes-deeper-ivory): the Join us box only, matching the
   header band's #F7E7C3; Contact us keeps warm ivory. */
.cbox.deep { background:#F7E7C3; }
/* Shrunk boxes (owner, Nov 30, 2026 — mockup
   boxes-shrunk): the header band above is tightened in
   its own rules; the Join us box tightens here via .deep
   so the Contact us box keeps its full size. */
.cbox.deep { padding:13px 14px 12px; }
.cbox.deep .cbox-title { padding:8px 30px; }
.cbox.deep .cbox-gap { height:10px; }
.cbox.deep .csocial { gap:9px; }
.cbox.deep .csocial a { padding:8px 0; }
.cbox-title { display:inline-block; background:linear-gradient(180deg,#7A1E2B,#5E1420); font-family:Georgia,"Times New Roman",serif; color:#fff; font-size:23px; font-weight:700; letter-spacing:2.5px; padding:11px 38px; border-radius:999px; border:2px solid #E8A90C; box-shadow:0 2px 6px rgba(90,40,0,.25); }
.cbox-gap { height:14px; }
.cbox-lines { display:inline-block; text-align:left; }
.cline { display:flex; align-items:center; gap:12px; padding:5px 0; }
.cline .ic { width:26px; text-align:center; font-size:19px; flex:none; }
.cline a { color:#8E0F20; font-weight:800; text-decoration:underline; white-space:nowrap; }
.cline.phone a { font-size:24px; font-weight:900; }
.cline.email a { font-size:19.5px; }
.cline.web a { font-size:19.5px; }
.csocial { display:flex; gap:10px; }
.csocial a { flex:1; text-align:center; color:#fff; font-size:16px; font-weight:900; border-radius:20px; padding:10px 0; text-decoration:none; }
.csocial a.wa { background:#25D366; }
.csocial a.ig { background:linear-gradient(45deg,#FEDA75,#FA7E1E,#D62976,#962FBF,#4F5BD5); }
.csocial a.fb { background:#1877F2; }

/* PHONE FIT — iOS hardening (owner, Dec 1, 2026, same pass as
   the sheet scroll lock: "the checkout is not coming down to
   show" and "the screen width is not adjusting to phone").
   Desktop Chromium lays this page out correctly, so these
   rules target the three ways iOS Safari differs:
   1. FLOATING TOOLBAR OVER THE SHEET'S BOTTOM: iOS Safari's
      translucent bottom toolbar floats OVER the page. At max
      scroll the checkout's last line sat ~22px above the
      sheet's bottom edge — behind that toolbar: visible but
      untappable, reading as "cannot scroll further". The
      checkout sheet (always tall) gets a deep bottom padding
      and the item sheet a moderate one, so Place Order / Add
      to Cart scroll well clear of the toolbar zone. Short
      sheets (choice, orders) size to their content and are
      untouched.
   2. WEBKIT FLEX MINIMUMS: WebKit flex items keep their
      automatic minimum size where Blink shrinks them, which
      can push a field row past the screen edge. The checkout's
      nested field rows get min-width:0 and all form controls
      get max-width:100%.
   3. FOCUS AUTO-ZOOM: iOS zooms the page in when a focused
      field's text is under 16px and does not zoom back out,
      leaving the layout "wider than the phone". The checkout,
      login and discount fields move from 15px to 16px so
      focus never triggers the zoom (a 1px change, invisible
      in practice). */
#cart-sheet { padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px)); }
#item-sheet { padding-bottom:calc(48px + env(safe-area-inset-bottom, 0px)); }
#cart-sheet .ckbox > div > div { min-width:0; }
textarea.note, input.fld, select.fld, .codebar input { max-width:100%; }
textarea.note, input.fld, select.fld { font-size:16px; }
.codebar input { font-size:16px; }
