:root{
  /* BEST CHICKEN brand system — logo gold/red + deep premium charcoal + warm cream */
  --gold:#FFD047; --gold-light:#FFD34D; --gold-deep:#F0B030;
  --red:#C0402A; --red-dark:#9D383B; --red-deep:#7A2415; --red-ink:#4E150C;
  --charcoal:#1E2124; --charcoal-2:#2A2E33; --charcoal-line:#3A3F45; --charcoal-dark:#141618;
  --cream:#FAF5EC; --cream-2:#F3EBDB;
  --ink:#1E2124; --white:#FFFFFF; --sub:#D8D2C8; --muted:#555555; --wa:#25D366;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html{overflow-x:clip;-webkit-text-size-adjust:100%}/*bc-zoomlock*/
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--cream);color:var(--ink);overflow-x:hidden}
[dir="rtl"] body{text-align:right}
a{color:inherit}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer}
/* Header — logo left, ORDER NOW right, nothing overlaps, nothing is cut off.
   Row 1 is a single non-wrapping flex row: logo + brand + ORDER NOW + cart.
   Language / WhatsApp / account live in row 2, so row 1 can never overflow. */
header{position:sticky;top:0;z-index:99; /* bc-v172: above every non-modal overlay (bottom bar 60, track pill 61, update banner 70, assistant 80/85, invite 90, panels 90-96) — only true modal sheets (drawer 100, options 300) may cover it, and they carry their own close control */background:var(--charcoal-dark);color:#fff;border-bottom:4px solid var(--gold) /* bc-v192 fix #17: SOLID brand black — the header band is fully opaque at every scroll position; the cloudiness the owner saw came from the iOS black-translucent status bar letting page content bleed under the top strip, so the pages now declare an opaque black status bar + matching theme-color, and the band itself is the darkest brand black with no gradient or translucency anywhere in it */;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.hrow{display:flex;align-items:center;gap:8px;padding:10px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));flex-wrap:nowrap;min-width:0}
.logoimg{height:48px;width:48px;flex:0 0 auto;border-radius:50%;border:3px solid #fff;background:var(--gold);object-fit:cover;display:block}
.brand{font-family:Impact,"Arial Black",sans-serif;font-size:clamp(17px,4.8vw,23px);letter-spacing:1px;color:#fff;white-space:nowrap;flex:1 1 auto;min-width:0}
.brand span{color:var(--gold)}
/* Header phone — the restaurant number lives IN the top bar (owner request
   2026-11-15): stacked under the wordmark inside the brand's own flex slot,
   so it sits on the same row as logo + account/cart/app icons with NO extra
   header row, and the wordmark keeps its full width (never squeezed/cut).
   Full international format fits at every width in this slot. */
.brandwrap{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center}
.brandwrap .brand{flex:0 0 auto}
.hphone{color:var(--gold);text-decoration:none;font-weight:800;font-size:12.5px;letter-spacing:.4px;white-space:nowrap;line-height:1.3;display:block;padding:15px 2px;margin:-12px 0} /* bc-v172: the number itself is the phone button — ≥44px-tall hit area at every width, layout height unchanged */
@media (max-width:400px){.hphone{font-size:11.5px;letter-spacing:.2px}}
/* My Account button in the top header row — big, tappable, icon + short label */
.hrow .acctbtn{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;background:var(--charcoal-2);color:#fff;text-decoration:none;font-weight:800;font-size:15px;padding:10px 13px;min-height:46px;border-radius:999px;border:1px solid var(--charcoal-line);white-space:nowrap}
.hrow .orderbtn{flex:0 0 auto;width:auto;padding:10px 13px;font-size:14px}
.lang{display:flex;gap:4px;background:var(--charcoal-2);border-radius:999px;padding:4px;flex:0 0 auto}
.lang button{background:transparent;border:0;color:#fff;padding:6px 10px;border-radius:999px;font-weight:700}
.lang button.on{background:var(--red);color:#fff}
.iconbtn{width:44px;height:44px;border-radius:50%;border:0;font-size:20px;position:relative;flex:0 0 auto}
.iconbtn.wa{background:var(--wa)}
.iconbtn.cart{background:var(--red);color:#fff}
.cartcount{position:absolute;top:-4px;right:-4px;background:var(--gold);color:#000;font-size:12px;font-weight:800;min-width:20px;height:20px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.orderbtn{background:linear-gradient(180deg,var(--red),var(--red-dark));color:#fff;border:3px solid var(--gold);border-radius:999px;padding:12px 22px;font-weight:900;font-size:16px;letter-spacing:1px;box-shadow:0 4px 14px rgba(0,0,0,.35);transition:transform .15s ease,box-shadow .15s ease}
.orderbtn:active{transform:scale(.97)}
.hrow2{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left))}
.hrow2 .utilink{background:var(--charcoal-2);color:#fff;text-decoration:none;font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;border:1px solid var(--charcoal-line)}
@media(min-width:700px){.logoimg{height:60px;width:60px}.hrow{gap:12px}}
/* Pills — wrap, never overlap */
.pills{display:flex;flex-wrap:nowrap;gap:8px;padding:10px 12px;background:var(--charcoal);overflow-x:auto;scrollbar-width:none}
.pills::-webkit-scrollbar{display:none}
.pill{background:var(--charcoal-2);color:#fff;border:1px solid var(--charcoal-line);border-radius:999px;padding:9px 14px;font-size:14px;white-space:nowrap;text-decoration:none}
/* Hero */
.hero{background:radial-gradient(1200px 500px at 50% -10%,var(--red) 0%,var(--red-deep) 55%,var(--red-ink) 100%);color:#fff;text-align:center;padding:34px 16px 26px}
.herolockup{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:14px}
.herolockup img{height:56px;width:56px;border-radius:50%;border:3px solid #fff;background:var(--gold);object-fit:cover;flex:0 0 auto}
.herolockup span{font-family:Impact,"Arial Black",sans-serif;font-size:clamp(24px,6vw,34px);letter-spacing:2px;color:#fff;white-space:nowrap}
.herolockup b{color:var(--gold);font-weight:400}
.hero h1{font-family:Impact,"Arial Black",sans-serif;font-size:clamp(30px,8.5vw,64px);line-height:1.05;letter-spacing:.5px;text-shadow:0 4px 0 rgba(0,0,0,.25);overflow-wrap:break-word;max-width:100%}
.hero h1 em{color:var(--gold);font-style:normal}
.hero p{margin:10px 0 18px;font-size:18px;opacity:.95}
.hero .cta{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;background:linear-gradient(180deg,var(--gold-light),var(--gold));color:var(--ink);border:0;border-radius:999px;padding:14px 24px;font-weight:900;font-size:16px;box-shadow:0 4px 12px rgba(0,0,0,.3);transition:transform .15s ease;text-decoration:none}
.btn:active{transform:scale(.97)}
.btn.red{background:linear-gradient(180deg,var(--red),var(--red-dark));color:#fff;border:3px solid var(--gold)}
.btn.ghost{background:transparent;color:#fff;border:2px solid #fff;box-shadow:none}
.btn.outline{background:#fff;color:var(--ink);border:2px solid var(--ink);box-shadow:none}
.heroimg{width:100%;max-width:900px;margin:20px auto 0;border-radius:20px;box-shadow:0 12px 32px rgba(0,0,0,.45);border:4px solid var(--gold)}
.promo{background:linear-gradient(90deg,var(--gold),var(--gold-light),var(--gold));color:var(--ink);font-weight:900;text-align:center;padding:13px;font-size:15px;letter-spacing:.5px}
/* Rewards — three offer cards, gold border, code chip */
.rewards{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.rewards>*{min-width:0}
@media(min-width:700px){.rewards{grid-template-columns:1fr 1fr 1fr}}
.reward{background:#fff;border:3px solid var(--gold);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px}
.reward h3{font-size:18px;color:var(--ink)}
.reward p{color:#444;font-size:14px;line-height:1.5;flex:1}
.rcode{display:inline-block;background:var(--red);color:#fff;font-weight:900;font-size:20px;letter-spacing:1px;border-radius:10px;padding:8px 14px;align-self:flex-start}
.reward .btn{text-align:center;text-decoration:none}
/* Sections */
section{padding:22px 12px;max-width:1100px;margin:0 auto}
/* Anchor scrolls (search scrollIntoView, nav links) must land BELOW the tall
   sticky header — otherwise the first product card slides under the header
   and its name / size line is covered by the header bar. */
section[id]{scroll-margin-top:180px}
section h2{color:var(--ink);font-family:Impact,"Arial Black",sans-serif;font-size:30px;line-height:1.15;letter-spacing:1px;margin-bottom:4px;text-transform:uppercase}
section h2::after{content:"";display:block;width:64px;height:5px;background:var(--gold);border-radius:99px;margin-top:8px}
section h2 span{color:var(--red)}
.sub{color:var(--muted);margin-bottom:16px}
#deals{background:linear-gradient(90deg,var(--gold),var(--gold-light));border-radius:18px;margin-top:18px}
#deals h2{color:var(--red-ink)}
#deals h2 span{color:var(--red-ink)}
#deals .sub{color:#5a3d00}
#promovideo .videocard{position:relative;max-width:400px;margin:12px auto 0;border-radius:18px;overflow:hidden;background:#000;border:4px solid var(--gold);box-shadow:0 12px 32px rgba(0,0,0,.35)}
.promoSongTag{position:absolute;left:10px;bottom:44px;z-index:5;background:rgba(0,0,0,.72);color:var(--gold);font-weight:700;font-size:13px;padding:5px 12px;border-radius:999px;pointer-events:none}
.promoSongChip{position:absolute;left:50%;transform:translateX(-50%);bottom:88px;z-index:6;background:var(--gold);color:#141414;font-weight:800;font-size:16px;padding:13px 24px;border:none;border-radius:999px;box-shadow:0 4px 18px rgba(0,0,0,.45);cursor:pointer;white-space:nowrap}
.promoSongNext{position:absolute;right:14px;bottom:88px;z-index:6;width:48px;height:48px;border-radius:50%;background:var(--gold);color:#141414;font-size:20px;border:none;box-shadow:0 4px 18px rgba(0,0,0,.45);cursor:pointer}
#promovideo video{display:block;width:100%;height:auto;aspect-ratio:720/1280;background:#000}
#menu{scroll-margin-top:176px}
#qJump{display:block;width:100%;margin-top:8px;padding:13px;border:none;border-radius:12px;background:var(--gold);color:#1a1a1a;font-weight:900;font-size:17px;cursor:pointer}
#qJump[hidden]{display:none}
#promovideo .off{display:none!important}
.promoLoading{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:rgba(0,0,0,.45);color:#fff;font-weight:800;font-size:17px;text-align:center;padding:16px;pointer-events:none}
.promoSpin{width:46px;height:46px;border-radius:50%;border:5px solid rgba(255,255,255,.35);border-top-color:#F5B301;animation:promoSpin .8s linear infinite}
@keyframes promoSpin{to{transform:rotate(360deg)}}
.promoError{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;padding:22px;text-align:center;color:#fff;background:#000}
.promoError img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.promoError p{position:relative;z-index:1;font-weight:800;font-size:17px;margin:0;text-shadow:0 2px 8px rgba(0,0,0,.8)}
.promoError button{position:relative;z-index:1;font-size:18px;padding:13px 26px}
/* bc-v162 (owner 2026-12-03): QUIET failure state — when the film truly
   cannot load after its automatic retries, the card settles on the poster
   (the <video> poster + .promoBg show through) with ONE small retry chip
   in the corner. No black error wall, no alarming text block mid-page. */
#promovideo .videocard.promo-failed .promoError{background:transparent;justify-content:flex-end;align-items:flex-end;padding:14px}
#promovideo .videocard.promo-failed .promoError img{display:none}
#promovideo .videocard.promo-failed .promoError p{display:none}
#promovideo .videocard.promo-failed .promoError button{font-size:14.5px;padding:9px 16px;border-radius:999px;background:rgba(30,33,36,.88);color:#FFD047;border:1.5px solid #FFD047;box-shadow:0 4px 14px rgba(0,0,0,.35)}
#rewards{background:var(--charcoal);border-radius:18px;margin-top:18px}
#rewards h2{color:#fff}
#rewards h2 span{color:var(--gold)}
#rewards .sub{color:var(--sub)}
.searchbar{display:flex;align-items:center;gap:6px;max-width:720px;width:calc(100% - 24px);margin:0 auto 10px;padding:3px 6px 3px 9px;background:#fff;border:2px solid var(--gold);border-radius:999px;box-shadow:0 8px 22px rgba(0,0,0,.45);position:relative;z-index:5}
header .searchbar{margin-bottom:10px}
.searchbar input{font-size:19px}
.qico{width:56px;height:56px;font-size:24px}
@media(min-width:760px){.searchbar{margin:0 auto 10px}}
.searchbar input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px;padding:7px 4px;color:var(--ink);margin:0}
.searchbar input::placeholder{color:#8a8a8a;font-size:14px}
.searchbar input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.qico{flex:0 0 auto;width:30px;height:30px;border:0;background:var(--red);color:#fff;border-radius:50%;font-size:15px;cursor:pointer}
.qclear{flex:0 0 auto;width:28px;height:28px;border:0;background:#eee;border-radius:50%;font-size:13px;cursor:pointer;color:#333}
.qmeta{color:var(--muted);font-size:14px;margin:0 0 10px;text-align:center}
.qmeta:empty{display:none}
.empty{grid-column:1/-1;text-align:center;padding:36px 16px;color:var(--muted);font-size:16px;line-height:1.5;background:#fff;border:1px dashed var(--gold-deep);border-radius:16px}
.cats{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-bottom:16px;padding-bottom:4px}
.cats::-webkit-scrollbar{display:none}
.cats button{flex:0 0 auto;white-space:nowrap}
.cats button{background:var(--charcoal-2);color:#fff;border:1px solid var(--charcoal-line);border-radius:999px;padding:9px 14px;font-weight:700}
.cats button.on{background:var(--red);border-color:var(--gold)}
.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.grid>*{min-width:0}/*bc-gridfix*/
@media(min-width:600px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:900px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.seclazy{grid-column:1/-1;min-height:260px;border-radius:20px;background:linear-gradient(180deg,#FFF3D6,#FBEFD2)} /* bc-v110: lazy section placeholder (warm cream, on-brand) */
.card{background:#fff;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 22px rgba(30,33,36,.14);transition:transform .15s ease,box-shadow .15s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(30,33,36,.22)}
.card img{width:100%;height:200px;object-fit:cover;background:#ddd}
.imgwrap{position:relative;line-height:0}
.card .logochip{position:absolute;left:8px;bottom:8px;width:46px;height:46px;object-fit:contain;background:rgba(255,255,255,.94);border-radius:50%;padding:3px;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.herowrap{position:relative;line-height:0}
.herowrap .logochip{position:absolute;left:12px;bottom:12px;width:64px;height:64px;object-fit:contain;background:rgba(255,255,255,.94);border-radius:50%;padding:4px;box-shadow:0 2px 8px rgba(0,0,0,.4)}
.card .body{padding:16px;display:flex;flex-direction:column;gap:9px;flex:1}
.card h3{font-size:20px;font-weight:800;line-height:1.25;letter-spacing:.2px}
.card .desc{color:#555;font-size:14px;flex:1}
.price{font-weight:900;font-size:24px;color:var(--red)}
.ingrow{font-size:17px;letter-spacing:2px;line-height:1.35;margin:1px 0}
.sug{font-size:12px;background:#fff3cd;border:1px solid var(--gold);border-radius:6px;padding:3px 7px;color:#7a5b00;font-weight:700}
.free{font-size:12px;background:#e6f7ec;border:1px solid var(--wa);border-radius:6px;padding:3px 7px;color:#0a6b2e;font-weight:700}
.oos{font-size:12px;background:#b3261e;border:1px solid #b3261e;border-radius:6px;padding:3px 7px;color:#fff;font-weight:800}
.ooscard img{filter:grayscale(.75);opacity:.7}
.cartstopflag{display:inline-block;margin-top:6px;background:#FDECEA;border:1px solid #B3001B;color:#B3001B;border-radius:6px;padding:3px 7px;font-weight:800;font-size:13px}
.qtyrow button[disabled]{opacity:.45;cursor:not-allowed}
.qtyrow{display:flex;gap:8px;align-items:center}
.qtyrow button{width:44px;height:44px;border-radius:12px;border:1px solid #ccc;background:#f2f2f2;font-size:18px;font-weight:800}
.qtyrow span{min-width:24px;text-align:center;font-weight:800}
.add{background:linear-gradient(180deg,var(--red),var(--red-dark));color:#fff;border:0;border-radius:999px;padding:12px;font-weight:900;flex:1;box-shadow:0 3px 10px rgba(192,64,42,.4)}
/* Meal options — American-style: size quick-add buttons + extras picker on
   every card, smart "Pairs well with" suggestions in the cart. Big, clear,
   tappable; prices shown on every option; the ADD button shows the live
   total with extras. */
.sizesrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
.sizebtn{border:2px solid var(--gold-deep);background:#fff3d6;color:var(--ink);border-radius:999px;padding:6px 11px;font-size:13px;font-weight:800;cursor:pointer}
.sizebtn:active{background:var(--gold)}
.extrasbox{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
.xopt{display:inline-flex;gap:5px;align-items:center;border:1px solid #e8ddc8;background:#fffdf6;border-radius:999px;padding:5px 10px;font-size:13.5px;font-weight:700;cursor:pointer}
.xopt input{width:18px;height:18px;accent-color:var(--red)}
.suggbox{margin-top:12px;background:#fff8e1;border:2px dashed var(--gold-deep);border-radius:14px;padding:10px 12px}
.suggline{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0}
.suggline .add{flex:0 0 auto;padding:8px 14px;font-size:14px}
.add.in-cart{background:linear-gradient(180deg,var(--gold-light),var(--gold));color:var(--ink);border:2px solid var(--gold-deep);box-shadow:0 3px 10px rgba(240,176,48,.45)}
/* The qty −/+ rule (.qtyrow button) must never wash out the ADD button:
   this selector beats it, so ADD TO CART is always solid red (gold when in cart). */
.qtyrow button.add{background:#fff;color:var(--red);border:2px solid var(--red);box-shadow:none}
.qtyrow button.add.in-cart{background:linear-gradient(180deg,var(--gold-light),var(--gold));color:var(--ink);border:2px solid var(--gold-deep)}
/* Info / footer */
.info{background:#fff;border-radius:16px;padding:18px;display:grid;gap:10px}
.info a{color:var(--red);font-weight:700}
footer{background:var(--charcoal-dark);color:var(--sub);text-align:center;padding:22px 14px 175px;font-size:14px;line-height:1.7}
footer a{color:var(--gold)}
/* Maker credit — a handwritten-style signature at the very bottom of the
   footer. The site loads no webfonts (self-contained / offline-first), so
   the signature uses the best cursive each platform ships: Snell Roundhand
   / Brush Script MT (Apple), Segoe Script (Windows), generic cursive. */
.makercredit{margin-top:16px;text-align:center}
.makersig{font-family:"Snell Roundhand","Brush Script MT","Segoe Script","Lucida Handwriting","Apple Chancery",cursive;font-size:clamp(21px,5.8vw,27px);line-height:1.25;color:var(--gold);transform:rotate(-2deg);text-shadow:0 1px 3px rgba(0,0,0,.55);white-space:nowrap;letter-spacing:-.5px}
.makercopy{font-size:11.5px;color:var(--sub);opacity:.75;margin-top:5px;letter-spacing:.4px}
@media (max-width:400px){.makersig{letter-spacing:-.5px}}
/* Cart drawer */
.drawer{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:100;display:none}
.drawer.open{display:block}
.panel{position:absolute;right:0;top:0;bottom:0;width:min(430px,100%);background:#fff;padding:0;display:flex;flex-direction:column}
.panelhead{display:flex;justify-content:space-between;align-items:center;padding:16px 18px 6px;flex:0 0 auto}
.panelbody{flex:1 1 auto;min-height:0;overflow-y:auto;padding:0 18px 18px}
/* Sticky drawer footer — TOTAL + the step's primary action are ALWAYS
   visible the moment the drawer opens; the form scrolls above it. */
.drawerfoot{flex:0 0 auto;border-top:2px solid var(--gold);background:#fff;padding:10px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -6px 18px rgba(0,0,0,.14)}
.drawerfoot .foot-total{display:flex;justify-content:space-between;align-items:baseline;font-weight:900;font-size:21px;margin-bottom:9px}
.drawerfoot .orderbtn{width:100%;margin:0}
/* While the cart drawer is open, floating buttons (WhatsApp bottom bar,
   update banner, voice panel) are hidden — they used to show sliced in
   half behind the drawer's edge. */
body.drawer-open .bottombar,body.drawer-open .updatebanner,body.drawer-open .voicepanel{display:none}
[dir="rtl"] .panel{right:auto;left:0}
.panel h2{color:var(--ink)}
.line{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eee}
.totals{padding:12px 0;font-size:16px}
.totals div{display:flex;justify-content:space-between;padding:4px 0}
.totals .grand{font-weight:900;font-size:20px;border-top:2px solid var(--ink);margin-top:6px;padding-top:8px}
input,select,textarea{width:100%;padding:12px;border:1px solid #bbb;border-radius:10px;font-size:16px;margin:6px 0}
label{font-weight:700;font-size:14px}
.close{background:#eee;border:0;border-radius:999px;padding:8px 14px;font-weight:800}
.small{font-size:13px;color:#555}
/* Bottom order bar — one button only, safe padding */
.bottombar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--charcoal);padding:4px 12px calc(4px + env(safe-area-inset-bottom));border-top:3px solid var(--gold);display:flex;gap:10px;align-items:center}
.bottombar .orderbtn{flex:1;width:auto;padding:9px 16px;min-height:44px;line-height:1.15}
.bottombar .wa-btn{flex:0 0 auto;width:52px;height:52px;border-radius:50%;background:var(--wa);display:flex;align-items:center;justify-content:center;font-size:26px;text-decoration:none;box-shadow:0 4px 12px rgba(0,0,0,.35)}
/* Floating WhatsApp — bottom-left, above the bar, never over food photos */

/* ============ MOBILE SIZING — real phones (390px and smaller) ============
   Everything big, bold and tappable: no tiny text anywhere on mobile.
   All interactive targets are at least 44px tall (48px+ for primary actions). */
@media (max-width:600px){
  body{font-size:19px}
  /* Header */
  .logoimg{height:34px;width:34px;border-width:2px}
  .brand{font-size:18px}
  .hrow .acctbtn span{display:none}
  .hrow .acctbtn{font-size:16px;padding:6px;min-height:44px;min-width:44px;justify-content:center}/*bc-v161 audit: tap target >=44px*/
  .hrow{gap:6px;padding:5px max(12px,env(safe-area-inset-right)) 3px max(12px,env(safe-area-inset-left))}
  .hrow .orderbtn{font-size:16px;font-weight:900;padding:13px 18px;min-height:48px}
  .iconbtn{width:44px;height:44px;font-size:19px}/*bc-v161 audit: tap target >=44px*/
  .cartcount{font-size:12px;min-width:22px;height:22px}
  .lang button{font-size:12px;font-weight:800;padding:3px 7px;min-height:36px}/*bc-v161 audit: tap target (was 24px)*/
  .hrow2{gap:6px;padding:0 max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left))}
  .hrow2 .utilink{width:36px;height:36px;min-height:36px;padding:0;justify-content:center;font-size:14px;border-radius:50%}/*bc-v161 audit: tap target (was 28px)*/
  /* Pills — WRAP into neat rows on phones: every pill (incl. the phone
     number) must be fully visible and tappable, never clipped by the edge.
     The old nowrap + overflow-x:auto hid the phone pill off-screen. */
  .pills{padding:6px 10px;gap:6px;flex-wrap:wrap;overflow-x:visible;justify-content:center}
  .pill{font-size:12.5px;font-weight:700;padding:5px 10px}
  /* Hero — SLIM on phones: the lockup duplicates the header logo, so it is
     hidden; small headline, compact buttons, small whole-pizza photo.
     The menu must appear with one small scroll. */
  .hero{padding:12px 14px 10px}
  .hero h1{font-size:clamp(25px,7vw,30px);line-height:1.08;overflow-wrap:break-word;word-break:break-word}
  .herolockup{display:none}
  .hero p{font-size:14px;line-height:1.4;margin:6px 0 10px}
  .hero .cta{gap:8px}
  .hero .cta .btn{font-size:16px;padding:12px 16px;min-height:48px}
  .hero .cta .btn.red{flex:1 1 100%;font-size:17px}
  .hero .cta .btn.appbtn,.hero .cta .btn.voicebtn{flex:1 1 40%}
  .hero .cta .btn.gold,.hero .cta .btn.ghost{flex:1 1 40%;font-size:14px;padding:10px 12px;min-height:42px}
  /* Whole pizza, never cropped — and FILLING its space (owner photo
     2026-11-18 19:49: "Why this pizza missed the spaces!?!" — the old
     240px cap left the photo floating in a red void with the logo chip
     stranded in the empty band). Full hero width, natural aspect. */
  .heroimg{display:block;width:100%;max-width:520px;height:auto;max-height:none;object-fit:contain;margin:14px auto 0}
  .btn{font-size:20px;padding:18px 30px;min-height:60px}
  .promo{font-size:14px;padding:8px 12px}
  /* Search */
  .searchbar{width:calc(100% - 20px);padding:3px 5px 3px 8px;border-width:2px}
  header .searchbar{margin-bottom:6px}
  .searchbar input{font-size:15px;padding:6px 4px}
  .searchbar input::placeholder{font-size:14px}
  .qico{width:30px;height:30px;font-size:15px;flex:0 0 auto}
  .qclear{width:28px;height:28px;font-size:13px}
  .qmeta{font-size:17px}
  /* Category chips */
  .cats button{font-size:18px;padding:14px 20px;min-height:48px}
  /* Deals card — COMPACT on phones so the menu stays high: the long promo
     sub-line wraps to many lines at 390px, so shrink it here. */
  #deals{padding:10px 12px;margin-top:10px}
  #deals h2{font-size:19px}
  #deals .sub{font-size:13px;line-height:1.45;margin-bottom:4px}
  /* Header is ~160px tall on mobile (slim rows + search + pills) — keep
     scrolled-to sections and the last result card clear of it and of the
     fixed bottom bar */
  section[id]{scroll-margin-top:170px}
  #menu{padding-bottom:120px}
  /* Product cards — bigger photos, bigger text, readable price */
  .card img{height:250px}
  .card .body{padding:18px;gap:10px}
  .card h3{font-size:24px;line-height:1.3;font-weight:800}
  .card .desc{font-size:18px;line-height:1.55;color:#444}
  .price{font-size:30px}
  .sug,.free{font-size:16px;padding:7px 11px}
  .sug{color:#6b4e00}
  .qtyrow{flex-wrap:wrap}
  .qtyrow button{width:54px;height:54px;font-size:24px;border-radius:12px}
  .qtyrow span{font-size:21px;min-width:30px}
  .qtyrow .add{flex:1 1 100%;font-size:20px;padding:18px;min-height:60px;margin-top:4px;background:#fff;color:var(--red);border:2px solid var(--red)}
  .qtyrow .add.in-cart{background:linear-gradient(180deg,var(--gold-light),var(--gold));color:var(--ink);border:2px solid var(--gold-deep)}
  /* Rewards / sections */
  .reward h3{font-size:22px}
  .reward p{font-size:18px}
  .rcode{font-size:24px;padding:12px 18px}
  section h2{font-size:36px}
  .sub{font-size:18px}
  .empty{font-size:18px}
  /* Info, footer, cart drawer */
  .info{font-size:18px}
  footer{font-size:18px;line-height:1.8}
  .small{font-size:17px}
  label{font-size:18px}
  .panel .orderbtn{font-size:20px}
  .close{font-size:18px}
  input,select,textarea{font-size:19px;padding:16px}
  .totals{font-size:20px}
  .totals .grand{font-size:26px}
  .close{font-size:18px;padding:10px 16px;min-height:44px}
  /* Bottom order bar — SLIM (owner 2026-11-15: the old 20px/60px pill
     made a ~92px bar that dominated the screen). One compact 44px row:
     16px ORDER NOW pill + 44px WhatsApp circle (same size the desktop
     bar already uses), total bar ~55px. */
  .bottombar .orderbtn{font-size:16px;padding:9px 14px;min-height:44px}
  .bottombar .wa-btn{width:44px;height:44px;font-size:22px}
}
@media (max-width:380px){
  /* Very narrow phones: account button becomes a big icon-only button so the
     full BEST CHICKEN wordmark never gets covered. */
  .hrow .acctbtn span{display:none}
  .hrow .acctbtn{padding:10px;min-width:48px;justify-content:center;font-size:20px}
  .brand{font-size:18px}
  /* Bottom ORDER bar: at 320px the wide-screen sizes (64px WhatsApp button,
     20px/18px COMMANDER button) made the flex row wider than the screen and
     pushed COMMANDER 20px off the right edge. Keep the slim 44px pieces
     (and letter-spacing:0 + min-width:0 on the pill) so the whole bar
     always fits inside narrow phones. */
  .bottombar{gap:8px;padding:4px 10px calc(4px + env(safe-area-inset-bottom))}
  .bottombar .wa-btn{width:44px;height:44px;font-size:22px}
  .bottombar .orderbtn{font-size:16px;padding:9px 10px;min-height:44px;letter-spacing:0;min-width:0}
}
@media (max-width:360px){
  .brand{font-size:18px}
  .hrow .orderbtn{padding:12px 14px}
  .card img{height:210px}
  .card h3{font-size:20px}
}


/* Install-the-app banner — gold card, dismissible, never blocks the menu */
.installbanner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:linear-gradient(90deg,var(--gold),var(--gold-light));color:var(--ink);padding:12px 14px;border-bottom:3px solid var(--red)}
.installbanner.hidden{display:none}
/* bc-v169: guest account invite — a friendly bottom sheet, not a modal: the
   page behind it stays fully usable (menu, cart, ordering untouched). */
.acctinvite{position:fixed;left:10px;right:10px;bottom:10px;z-index:90;display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:linear-gradient(90deg,var(--gold),var(--gold-light));color:var(--ink);padding:12px 14px;border:3px solid var(--red);border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.35)} /* bc-v172: layout fixed below — one gift icon, one red CTA, Later as a quiet text link */
.acctinvite.hidden{display:none}
.acctinvite .btn{flex:1 1 100%;order:3;justify-content:center;padding:12px 16px;font-size:16px;min-height:48px}
.acctinvite .ghost{flex:1 1 100%;order:4;background:none;border:none;box-shadow:none;color:var(--ink);text-decoration:underline;font-weight:700;font-size:14px;min-height:44px;padding:2px;text-align:center;cursor:pointer}
/* bc-v172: the old <=600px invite rules (Later squeezed beside the text as a crushed pill) are gone — the base layout above is the one layout at every width. */
.ib-ico{font-size:30px;flex:0 0 auto}
.ib-txt{flex:1;min-width:0}
.ib-txt b{font-size:16px}
.ib-txt .small{font-size:13px;color:#5a3d00}
#installBanner .btn{flex:0 0 auto;padding:10px 16px;font-size:14px;min-height:44px}
#installBanner .close{flex:0 0 auto}
@media (max-width:600px){ .ib-txt b{font-size:17px} .ib-txt .small{font-size:15px} #installBanner .btn{flex:1 1 100%;justify-content:center;padding:9px 12px;order:3} #installBanner .close{order:2} .installbanner{padding:10px 12px} .ib-txt .small{display:none} }

/* Get-the-app section — ONE small app for iPhone, Android, Windows & Mac.
   Compact card: QR + text side by side, 2x2 platform steps, nothing cut off,
   honest about install (home screen only, NOT on the App Store / Google Play —
   never show a store badge or link). */
.appqr{background:#fff;border:3px solid var(--gold);border-radius:18px;max-width:640px;margin:20px auto;padding:16px;text-align:start;box-shadow:0 8px 24px rgba(0,0,0,.10);overflow-wrap:break-word}
.appqr-in{display:flex;gap:14px;align-items:flex-start}
.appqr-code{flex:0 0 auto;width:170px;height:170px;padding:6px;background:#fff;border:2px solid var(--gold);border-radius:12px}
.appqr-body{flex:1 1 auto;min-width:0}
.appqr h2{font-size:clamp(19px,2vw,22px);line-height:1.25;margin-bottom:4px}
.appqr-one{font-weight:800;color:var(--red-dark);font-size:14px;margin:0 0 6px}
.appqr .sub{font-size:14px;line-height:1.45;margin-bottom:6px}
.appqr-url{font-weight:800;font-size:13px;margin:4px 0;overflow-wrap:anywhere}
.appqr .appnote{font-weight:700;color:var(--red-dark);background:#fff8e1;border:1px dashed var(--gold-deep);border-radius:10px;padding:6px 10px;font-size:13px;line-height:1.45;margin:6px 0 0}
.appsteps{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.appstep{display:flex;gap:8px;align-items:flex-start;background:#faf7f0;border:1px solid #ece5d8;border-radius:10px;padding:8px 10px;font-size:13.5px;line-height:1.45;min-width:0}
.appstep-ico{flex:0 0 auto;font-size:20px;line-height:1.2}
.appstep-txt{flex:1 1 auto;min-width:0;overflow-wrap:break-word}
.appqr:target,.appqr.flash{animation:appflash 2.4s ease}
@keyframes appflash{0%,100%{box-shadow:0 10px 30px rgba(0,0,0,.12)}20%,60%{box-shadow:0 0 0 6px var(--red),0 0 0 12px var(--gold),0 10px 30px rgba(0,0,0,.25)}}
/* Header app icon — same small round button as cart / WhatsApp, header stays slim */
.iconbtn.appicon{background:var(--gold);color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
/* Hero "Download the app" button — white on the red hero, impossible to miss */
.hero .cta .btn.appbtn{background:#fff;color:var(--red);border:3px solid var(--gold)}
@media (max-width:600px){
  .appqr{margin:16px 12px;padding:14px}
  .appqr-in{flex-direction:column;align-items:center;text-align:center}
  .appqr-code{width:150px;height:150px}
  .appqr h2{font-size:20px}
  .appqr .sub{font-size:14px}
  .appsteps{grid-template-columns:1fr}
  .appstep{text-align:start}
}

/* Voice helper button in the hero — dark charcoal, gold border */
.hero .cta .btn.voicebtn{background:var(--charcoal);color:#fff;border:2px solid var(--gold)}

/* Voice helper panel — fixed above the bottom order bar, never covers it */
.voicepanel{position:fixed;right:12px;bottom:86px;z-index:80;width:min(380px,calc(100vw - 24px));box-sizing:border-box;max-height:min(72vh,560px,calc(100dvh - 250px)); /* bc-v172: capped so the open panel can never climb over the header */display:flex;flex-direction:column;background:#fff;border:3px solid var(--gold);border-radius:18px;box-shadow:0 16px 40px rgba(0,0,0,.35);overflow:hidden}
.voicepanel[hidden]{display:none}
[dir="rtl"] .voicepanel{right:auto;left:12px}
.vp-head{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--red);color:#fff;padding:10px 12px}
.vp-title{font-weight:900;font-size:16px}
.vp-close{flex:0 0 auto;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.2);color:#fff;font-size:16px}
.vp-sub{padding:10px 12px 4px;font-size:14px;color:#555;line-height:1.4}
.vp-chips{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px}
.vp-chip{border:2px solid var(--gold-deep);background:#fff3d6;color:var(--ink);border-radius:999px;padding:7px 11px;font-size:13px;font-weight:700}
.vp-log{flex:1;min-height:90px;max-height:300px;overflow-y:auto;padding:8px 12px;display:flex;flex-direction:column;gap:8px}
.vp-msg{max-width:92%;padding:9px 12px;border-radius:14px;font-size:15px;line-height:1.45;overflow-wrap:anywhere} /* bc-v172: long words wrap — no clipped text at 360px */
.vp-msg.me{align-self:flex-end;background:var(--red);color:#fff;border-bottom-right-radius:4px}
.vp-msg.bot{align-self:flex-start;background:#f3ebdb;color:var(--ink);border-bottom-left-radius:4px}
.vp-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.vp-act{background:var(--gold);border:0;color:#141414;font-weight:800;border-radius:999px;padding:9px 14px;font-size:14px;cursor:pointer}
.vp-typing{opacity:.6;font-weight:900;letter-spacing:3px}
.vp-note{margin:0 12px 8px;background:#fff3d6;border:2px dashed var(--gold-deep);border-radius:10px;padding:8px 10px;font-size:13px;font-weight:700;color:var(--red-dark)}
.vp-note[hidden]{display:none}
.vp-input{display:flex;gap:6px;padding:8px 12px;border-top:2px solid #f0e6d2}
.vp-q{flex:1;min-width:0;border:2px solid var(--gold-deep);border-radius:999px;padding:10px 12px;font-size:15px;outline:0}
.vp-mic,.vp-send{flex:0 0 auto;width:46px;height:46px;border-radius:50%;border:0;font-size:19px}
.vp-mic{background:var(--gold);color:var(--ink)}
.vp-mic.listening{background:var(--red);color:#fff;animation:vppulse 1s infinite}
@keyframes vppulse{0%,100%{box-shadow:0 0 0 0 rgba(192,64,42,.5)}50%{box-shadow:0 0 0 8px rgba(192,64,42,0)}}
.vp-send{background:var(--red);color:#fff}
.vp-foot{display:flex;align-items:center;gap:10px;padding:8px 12px 10px;border-top:2px solid #f0e6d2}
.vp-mute{flex:0 0 auto;width:42px;height:42px;border-radius:50%;border:2px solid var(--gold-deep);background:#fff;font-size:19px}
.vp-vol{flex:1;min-width:0;accent-color:var(--red)}
.vp-link{font-size:13px;font-weight:800;color:var(--red-dark);white-space:nowrap}
@media (max-width:600px){ .voicepanel{bottom:84px} .vp-msg{font-size:16px} }

/* DESKTOP SLIM — small organized header + compact hero, menu high on screen.
   Mobile (max-width:600px) is untouched: the mobile rules still win there.
   The menu, product cards and cart are NOT shrunk — only header/hero. */
@media(min-width:601px){
  /* Slim header — small logo, icons, search, pills */
  .logoimg{height:32px;width:32px}
  .brand{font-size:17px}
  .hrow{padding:4px 12px;gap:8px}
  .hrow .acctbtn{min-height:44px;padding:6px 10px;font-size:13px} /* bc-v172: 44px tap-target law at every width (was 34px) */
  .iconbtn{width:44px;height:44px;font-size:17px} /* bc-v172: 44px tap-target law (was 34px) */
  .hrow2{padding:0 12px 3px}
  .hrow2 .utilink{padding:5px 9px;font-size:12px}
  .lang button{padding:4px 8px;font-size:12px}
  header .searchbar{margin-bottom:4px}
  .searchbar{padding:3px 5px 3px 7px}
  .searchbar input{font-size:15px;padding:6px 4px}
  .qico{width:30px;height:30px;font-size:15px}
  .qclear{width:28px;height:28px;font-size:13px}
  .pills{padding:4px 12px}
  .pill{padding:5px 10px;font-size:12.5px}
  .promo{padding:6px;font-size:13px}
  /* Slim hero BANNER — one short row: small headline + buttons, no big red space.
     Sub + lockup + photo hidden on desktop; menu stays BIG below. */
  .hero{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:8px 16px}
  .herolockup{display:none}
  .hero h1{font-size:19px;white-space:nowrap;margin:0}
  .hero h1 br{display:none}
  .hero p{display:none}
  .hero .cta{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
  .hero .cta .btn{font-size:14px;padding:9px 12px;min-height:40px}
  .hero .cta .btn.red{font-size:16px;padding:10px 18px;min-height:44px}
  .heroimg{display:none}
  /* Compact sections on desktop — small headings, small promo, small pills.
     Category pills are compact enough that ALL 10 fit in one row at 1024px+
     in every language (no clipped last pill). */
  section{padding:14px 12px}
  section h2{font-size:clamp(20px,2vw,24px)}
  #deals{padding:10px 16px;margin-top:8px}
  #deals .sub{font-size:14px;line-height:1.5;margin-bottom:8px}
  .cats{gap:6px;margin-bottom:12px}
  .cats button{font-size:13px;padding:6px 11px;min-height:34px}
  /* Compact bottom ORDER NOW bar on desktop — same slim 44px profile
     as phones, so the bar is ~55px at every width */
  .bottombar{padding:4px 12px calc(4px + env(safe-area-inset-bottom))}
  .bottombar .orderbtn{font-size:16px;padding:9px 10px;min-height:44px}
  .bottombar .wa-btn{width:44px;height:44px;font-size:22px}
  section[id]{scroll-margin-top:140px}
}

/* Live order status on the thank-you screen — 6-step DoorDash-style bar */
.livesteps{display:flex;gap:4px;margin:12px 0 4px}
.lstep{flex:1;text-align:center;font-size:11px;line-height:1.25;color:#555}
.lstep .dot{width:26px;height:26px;border-radius:50%;background:#ddd;color:#333;display:flex;align-items:center;justify-content:center;font-size:13px;margin:0 auto 4px;font-weight:900}
.lstep.done .dot{background:#0a7d2c;color:#fff}
.lstep.now .dot{background:var(--red);color:#fff;box-shadow:0 0 0 4px rgba(192,64,42,.25)}
.lstep.now{color:var(--red);font-weight:800}
@media (max-width:600px){ .lstep{font-size:12px} .lstep .dot{width:30px;height:30px;font-size:15px} }

/* Order confirmation — two-step review, then the CONFIRMED box
   (owner's checkout law, 2026-11-15): the direct website submission IS
   the completed order — the green .okbox says the restaurant HAS
   received it, with the order number, payment status and tracker.
   .warnbox/.wa-big remain only for other pages that still use them. */
.warnbox{background:#fff3cd;border:4px solid var(--red);border-radius:16px;padding:18px;margin-top:6px}
.warnbox h3{color:var(--red);font-size:22px;margin-bottom:8px}
.warnbox p{font-size:16px;line-height:1.5;margin-bottom:6px}
.wa-big{display:block;text-align:center;background:var(--wa);color:#fff;font-size:20px;font-weight:900;padding:16px;border-radius:999px;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.warnbox .btn{display:block;text-align:center;margin-top:10px}
.warnbox .onum{white-space:nowrap}
.okbox{background:#e8f5e9;border:4px solid #1E7A34;border-radius:16px;padding:18px;margin-top:6px}
.okbox h3{color:#1E7A34;font-size:22px;margin-bottom:8px}
.okbox p{font-size:16px;line-height:1.5;margin-bottom:6px}
.okbox .btn{display:block;text-align:center;margin-top:10px}
.okbox .onum{white-space:nowrap}
#orderReview{background:#fff;border:2px solid var(--gold);border-radius:16px;padding:16px}
#orderReview h3{font-size:20px}

/* 30-minute self-update banner — fixed above the bottom order bar, so it is
   always visible but never covers ORDER NOW. Shows the new version + the
   time it was published (update-check.js fills the text). */
.updatebanner{position:fixed;left:12px;right:12px;bottom:96px;z-index:70;max-width:640px;margin:0 auto;background:var(--charcoal);color:#fff;border:2px solid var(--gold);border-radius:14px;padding:10px 12px;display:flex;gap:10px;align-items:center;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.updatebanner.hidden{display:none}
.duoBadge{display:inline-block;margin:2px 0 4px;padding:3px 10px;border-radius:999px;background:linear-gradient(90deg,#b3001b,#e8a020);color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.2px}
.famsizes{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.famchip{border:2px solid #E8A317;background:#FFF6D8;color:#333;border-radius:999px;padding:7px 12px;font-weight:800;font-size:14px;cursor:pointer;min-height:44px}
.famchip:disabled{opacity:.45;cursor:default}
.b2g1Badge{display:inline-block;margin:2px 0 4px;padding:3px 10px;border-radius:999px;background:linear-gradient(90deg,#1e7a34,#43a047);color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.2px}
#bcMusic{position:fixed;left:10px;bottom:74px;z-index:1200;display:flex;align-items:center;gap:6px;background:rgba(20,20,25,.92);border:1px solid rgba(232,160,32,.55);border-radius:999px;padding:5px 10px 5px 6px;box-shadow:0 4px 14px rgba(0,0,0,.35);max-width:78vw}
#bcMusic button{background:none;border:none;color:#fff;font-size:17px;line-height:1;padding:4px;cursor:pointer}
#bcMusic .bcPlay{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#b3001b,#e8a020);display:flex;align-items:center;justify-content:center;font-size:15px}
#bcMusic .bcTitle{color:#f5d78e;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:34vw}
#bcMusic .bcEq{display:none;color:#e8a020;font-size:11px;letter-spacing:1px}
#bcMusic.playing .bcEq{display:inline}
.finishedToggle{display:block;width:100%;margin:18px 0 10px;padding:14px;border:2px dashed #9aa3ad;border-radius:12px;background:#f4f5f6;color:#444;font-size:17px;font-weight:700;cursor:pointer}
#finishedOrders .order{opacity:.72}
.updatebanner .ub-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.updatebanner .ub-title{font-size:14px}
.updatebanner .ub-body{font-size:12.5px;opacity:.9;line-height:1.35;overflow-wrap:break-word}
.updatebanner .ub-update{flex:0 0 auto;background:linear-gradient(180deg,var(--gold-light),var(--gold));color:var(--ink);border:0;border-radius:999px;padding:10px 16px;font-weight:900;font-size:14px}
.updatebanner .ub-later{flex:0 0 auto;background:transparent;color:#fff;border:1px solid #fff;border-radius:50%;width:32px;height:32px;font-size:14px}

/* ============ ORDER SCREEN + SMALL-PHONE FIXES (2026-11-15) ============
   1) The fixed ORDER NOW bar must never hide page content: anchored
      scrolls stop above it and the menu/footer keep clear bottom room
      at every width (the promo strip included).
   2) The cart drawer is full-width on phones.
   3) At <=400px the header row fits with no overlap and nothing cut off,
      and the hero CTA buttons can never overflow the screen. */
html{scroll-padding-bottom:120px}
section[id]{scroll-margin-bottom:110px}
#menu{padding-bottom:140px}
/* Footer bottom room matches the SLIM ~55px order bar (was 150px for the
   old ~92px bar): enough that the maker signature always clears the bar,
   even with a phone's safe-area inset, without a giant empty gap. */
footer{padding-bottom:175px}
@media (max-width:600px){
  .panel{width:100%;max-width:100%}
  .drawerfoot .foot-total{font-size:23px}
  /* Hero CTA buttons: shrinkable (min-width:0) with small side padding, so
     a long word ("l'application", "CHICKEN") wraps INSIDE its button
     instead of pushing the row past the right edge of the screen. */
  .hero .cta{max-width:100%}
  .hero .cta .btn{min-width:0;overflow-wrap:break-word;text-align:center}
  .hero .cta .btn.appbtn,.hero .cta .btn.voicebtn{flex:1 1 calc(50% - 5px);font-size:15px;padding:12px 8px}
  .hero .cta .btn.gold,.hero .cta .btn.ghost{flex:1 1 calc(50% - 5px);font-size:14px;padding:10px 8px}
}
@media (max-width:400px){
  /* Header row 1 at 320-400px: smaller logo/icons/gaps and a smaller
     wordmark that clips INSIDE its own box (ellipsis) rather than ever
     painting under the account icon. Everything fits, nothing is cut. */
  .hrow{gap:4px;padding:6px 8px 4px}
  .logoimg{height:30px;width:30px;border-width:2px}
  .brand{font-size:17px;letter-spacing:.5px;overflow:hidden;text-overflow:ellipsis}
  .hrow .acctbtn{min-width:44px;min-height:44px;padding:8px;font-size:16px} /* bc-v172: 44px tap-target law (was 40px) */
  .iconbtn{width:44px;height:44px;font-size:18px} /* bc-v172: 44px tap-target law (was 36px — the small-Android dead-tap size) */
  .cartcount{min-width:20px;height:20px;font-size:11px;top:-3px;right:-3px}
  .hrow2{gap:5px;padding:0 8px 4px}
  .lang button{padding:3px 6px}
  .searchbar{width:calc(100% - 16px)}
  .pill{font-size:12px;padding:5px 9px}
}

/* Website music bar (owner's song, Spotify-style) */

/* bc-v92: customer favourites — heart on the dish photo + the strip */
.favbtn{position:absolute;top:8px;right:8px;z-index:3;width:44px;height:44px;border-radius:50%;border:2px solid #fff;background:rgba(255,255,255,.94);font-size:21px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3);padding:0}
#favStrip{margin:6px auto 2px;padding:0 4px}
.favstrip-title{font-weight:900;font-size:19px;margin:4px 0 8px}
.favstrip-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:8px;-webkit-overflow-scrolling:touch}
.favcard{flex:0 0 134px;background:#fff;border:2px solid var(--gold);border-radius:14px;padding:8px;text-align:center;box-shadow:0 4px 12px rgba(30,33,36,.12)}
.favcard img{width:100%;height:74px;object-fit:cover;border-radius:9px;background:#ddd}
.favcard-name{font-weight:800;font-size:13.5px;margin-top:5px;line-height:1.25;min-height:34px}
.favcard-price{font-weight:900;color:#B3001B;font-size:14.5px;min-height:20px}
.favcard-btns{display:flex;gap:6px;margin-top:6px}
.favcard-add{flex:1;background:linear-gradient(180deg,var(--red),var(--red-dark));color:#fff;border:0;border-radius:9px;font-weight:800;font-size:12.5px;padding:8px 4px;cursor:pointer}
.favcard-heart{width:38px;flex:none;border-radius:9px;border:2px solid #eee;background:#fff;font-size:16px;cursor:pointer;padding:0}
/* bc-v96: warm branded placeholder behind dish photos — while a photo
   loads, the customer sees the brand on warm cream, never a dead grey box. */
.imgwrap{background:#f7e9c3 url('/brand/logo-header.png') center/76px auto no-repeat}
.card img{background-color:#f7e9c3}
.favcard img{background-color:#f7e9c3}

/* bc-v109: PRO pass (owner 2026-11-17 — "very easy, pro and beautiful",
   the Yassir/Uber bar). ONE obvious action per card: the big round +
   ON the photo opens the options sheet (choices stay at add time).
   Photo corners, collision-free: top-left = rank/B2G1 stack, top-right
   = heart, bottom-left = logo chip, bottom-right = the +. The rich
   brand look stays — calm type and spacing, never stripped. */
.phototags{position:absolute;top:8px;left:8px;z-index:2;display:flex;flex-direction:column;gap:6px;align-items:flex-start;line-height:1.2}
.rankbadge{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 6px;border-radius:50%;background:linear-gradient(180deg,var(--gold-light),var(--gold));color:#0F1E3A;font-weight:900;font-size:17px;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.35)}
.b2g1Sticker{display:inline-block;padding:5px 10px;border-radius:999px;background:linear-gradient(90deg,#1e7a34,#43a047);color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.2px;box-shadow:0 2px 8px rgba(0,0,0,.3);border:1.5px solid #fff}
.plusbtn{position:absolute;right:10px;bottom:10px;z-index:3;width:52px;height:52px;border-radius:50%;border:2.5px solid #fff;background:linear-gradient(180deg,var(--red),var(--red-dark));color:#fff;font-size:30px;font-weight:900;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center;padding:0 0 4px}
.plusbtn:active{transform:scale(.94)}
.plusbtn[disabled]{opacity:.45;cursor:not-allowed}
.plusbtn.mini{width:40px;height:40px;font-size:24px;right:6px;bottom:6px}
/* bc-v111: the card's ONE control in its in-cart state — a stepper
   pill in the same photo corner the round + occupied (never both). */
.steppill{position:absolute;right:10px;bottom:10px;z-index:3;display:flex;align-items:center;gap:2px;height:52px;padding:3px;border-radius:999px;border:2.5px solid #fff;background:linear-gradient(180deg,var(--red),var(--red-dark));box-shadow:0 4px 14px rgba(0,0,0,.4)}
.steppill button{width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:24px;font-weight:900;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 3px}
.steppill button:active{transform:scale(.92)}
.steppill button[disabled]{opacity:.45;cursor:not-allowed}
.steppill span{min-width:26px;text-align:center;color:#fff;font-weight:900;font-size:19px}
.featcard .steppill{right:8px;bottom:8px;height:44px;padding:2px}
.featcard .steppill button{width:38px;height:38px;font-size:20px}
.featcard .steppill span{min-width:22px;font-size:16px}
.pricerow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.featwrap{grid-column:1/-1;margin:2px 0 4px}
.feat-title{font-size:21px;font-weight:900;color:#0F1E3A;margin:6px 2px 10px}
.featrow{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 10px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.featrow::-webkit-scrollbar{display:none}
.featcard{flex:0 0 150px;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 22px rgba(30,33,36,.14);display:flex;flex-direction:column}
.featcard .imgwrap{cursor:pointer}
.featcard img{width:100%;height:104px;object-fit:cover;background:#f7e9c3}
.featcard .logochip{position:absolute;left:6px;bottom:6px;width:30px;height:30px;object-fit:contain;background:rgba(255,255,255,.94);border-radius:50%;padding:2px;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.featcard .plusbtn{width:44px;height:44px;font-size:26px;right:8px;bottom:8px}
.featname{font-weight:800;font-size:15px;line-height:1.25;padding:9px 10px 2px}
.featprice{font-weight:900;font-size:16.5px;color:var(--red);padding:0 10px 10px}
.favimgwrap{position:relative;line-height:0}

/* bc-v127: category row gets real left/right controls (owner: "How u go left right!?") */
.catswrap{display:flex;align-items:center;gap:6px;margin-bottom:16px}
.catswrap .cats{margin-bottom:0;flex:1 1 auto;min-width:0;scroll-behavior:smooth;cursor:grab}
.catsnav{flex:0 0 auto;width:48px;height:48px;border-radius:50%;border:2px solid var(--gold);background:var(--charcoal-2);color:#fff;font-size:28px;font-weight:900;line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;padding:0}
.catswrap.hasscroll .catsnav{display:flex}
.catsnav:disabled{opacity:.28;cursor:default}
html[dir="rtl"] .catsnav{transform:scaleX(-1)}

/* bc-v139: promo film = FULL-BLEED hero band at EVERY width
   (owner photo 2026-11-19 23:24, ultrawide PC: "Here it's big wrong").
   bc-v128 capped the portrait film in a min(500px,64vh) card (~281px
   wide) inside the global 1100px section column, so on wide screens
   the section was a small card floating in a full-width cream void.
   Now the section spans the viewport edge-to-edge: an ambient layer
   (the poster, object-fit:cover, blurred + darkened) fills every
   pixel of the band, the sharp portrait film stands full-height at
   the centre — never cropped, never upscaled past its source — and
   the title + order button overlay the band's start corner. Phones:
   the band is only as tall as the film wants to be, and the overlay
   stack clears the native player controls. */
#promovideo{max-width:none;padding:0;position:relative}
#promovideo .videocard{position:relative;width:100%;max-width:none;margin:0;border:none;border-radius:0;box-shadow:none;background:#0b0605;height:min(76vh,177.78vw);display:flex;align-items:center;justify-content:center;overflow:hidden}
#promovideo .promoBg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(26px) brightness(.52) saturate(1.25);transform:scale(1.15);z-index:0;pointer-events:none}
#promovideo video{position:relative;z-index:1;display:block;width:auto;height:100%;max-width:100%;aspect-ratio:720/1280;background:transparent;box-shadow:0 0 60px rgba(0,0,0,.55)}
#promovideo .promoShade{position:absolute;inset-inline:0;bottom:0;height:48%;z-index:2;background:linear-gradient(to top,rgba(5,2,2,.85),rgba(5,2,2,0));pointer-events:none}
#promovideo h2{position:static;margin:0;padding:26px 18px 12px;color:var(--ink);font-size:clamp(23px,6vw,34px);text-align:start} /* bc-v172 VIDEO CLEAN (owner): the title used to be written ACROSS the film (absolute, bottom:122px, over the picture). It is a plain heading above the video now — nothing is written on the video. */
#promovideo h2 span{color:var(--red)}
#promovideo .promoCta{position:absolute;z-index:7;inset-inline-start:16px;bottom:58px;font-size:16px;padding:11px 24px;border-radius:99px;box-shadow:0 8px 24px rgba(0,0,0,.5)}
#promovideo .promoError{z-index:8}
@media(min-width:900px){
  #promovideo .videocard{height:clamp(500px,80vh,740px)}
  #promovideo h2{padding:34px 44px 14px;font-size:44px}
  #promovideo .promoCta{inset-inline-start:44px;bottom:32px;font-size:18px;padding:14px 32px}
}

/* ===== bc-v147 FINAL UPDATE: tap-feedback polish + banner strip ===== */
* { -webkit-tap-highlight-color: transparent; }
button, .btn, a.btn, .orderbtn, .flowbtn { transition: transform .12s ease, filter .12s ease; }
button:active, .btn:active, a.btn:active, .orderbtn:active, .flowbtn:active { transform: scale(.97); filter: brightness(1.07); }
.bannerstrip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 14px 12px; scrollbar-width: none; align-items: flex-start; }
.bannerstrip::-webkit-scrollbar { display: none; }
.bannerstrip a { flex: 0 0 86%; scroll-snap-align: center; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 22px rgba(0,0,0,.18); display: block; }
.bannerstrip img { width: 100%; height: auto; display: block; }
@media (min-width: 760px) { .bannerstrip a { flex-basis: 44%; } }

/* ===== bc-v148: FOOD FIRST (owner 2026-11-25 — "too long to start
   ordering") — compact hero + one giant ORDER button; the menu starts
   immediately under it. App-download / rewards blocks live below the
   food (DOM order in index.html); the banner strip is gone entirely. */
.hero{padding:20px 14px 16px}
.hero h1{font-size:clamp(27px,7.5vw,46px)}
.hero p{margin:8px 0 12px}
.hero .cta{gap:8px}
.hero .cta .btn.red{flex:1 1 100%;font-size:21px;padding:16px 18px;min-height:58px}
.hero .cta .btn{font-size:15px;padding:11px 14px;min-height:46px}
#menu{padding-top:10px}
#menu h2{margin:2px 0 4px}
#menu .cats{margin-bottom:10px}
#menu .sechead{margin-top:10px !important}
@media (max-width:600px){
  .hero{padding:12px 12px 12px}
  .hero h1{font-size:clamp(24px,6.8vw,29px)}
  .hero p{font-size:13.5px;margin:5px 0 9px}
  .hero .cta .btn.red{font-size:19px;padding:14px 16px;min-height:54px}
  .hero .cta .btn.voicebtn,.hero .cta .btn.gold,.hero .cta .btn.ghost{flex:1 1 30%;font-size:13px;min-height:42px;padding:9px 3px}
}

/* bc-v158 (owner photos 2026-12-01): three containment fixes.
   1) #menu anchor margin: the base rule above is now 176px so a jump to
      the menu clears the tall mobile sticky header (~160px worst case)
      with room — every other section already sat at 170px on mobile;
      #menu's old 150px was the one short rule. Desktop keeps the exact
      150px it has always had (slim desktop header). */
@media(min-width:601px){#menu{scroll-margin-top:150px}}
/* 2) Category chips row: soften the hard mid-chip clip with a 30px fade
   on whichever edge(s) really hide more chips. The fades are gated on
   the bc-v127 wiring's own disabled states: at rest only the scroll-end
   edge fades; scrolled fully to the end, the end fade lifts (the last
   chip renders fully crisp) and the start edge fades instead; mid-scroll
   both edges fade. Arrows, drag, wheel and scroll behaviour are
   untouched (mask is paint-only). Browsers without :has() simply keep
   today's look — no breakage. */
.catswrap:has(#catsNext:not(:disabled)):has(#catsPrev:disabled) .cats{-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 30px),transparent 100%);mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 30px),transparent 100%)}
html[dir="rtl"] .catswrap:has(#catsNext:not(:disabled)):has(#catsPrev:disabled) .cats{-webkit-mask-image:linear-gradient(to left,#000 0,#000 calc(100% - 30px),transparent 100%);mask-image:linear-gradient(to left,#000 0,#000 calc(100% - 30px),transparent 100%)}
.catswrap:has(#catsPrev:not(:disabled)):has(#catsNext:disabled) .cats{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 30px,#000 100%);mask-image:linear-gradient(to right,transparent 0,#000 30px,#000 100%)}
html[dir="rtl"] .catswrap:has(#catsPrev:not(:disabled)):has(#catsNext:disabled) .cats{-webkit-mask-image:linear-gradient(to left,transparent 0,#000 30px,#000 100%);mask-image:linear-gradient(to left,transparent 0,#000 30px,#000 100%)}
.catswrap:has(#catsPrev:not(:disabled)):has(#catsNext:not(:disabled)) .cats{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 30px,#000 calc(100% - 30px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 30px,#000 calc(100% - 30px),transparent 100%)}
/* 3) Options-sheet chips (app.js renders them with inline flex:1 +
   min-width:92px, so in a ~100px flex share the long sauce words —
   "Mayonnaise", "Fromagère" — spilled past the chip border). Every chip
   inside a sheet option row now sizes to its content instead: basis
   auto, min-width fit-content, label on one line with a real 12px side
   inset. Inline min-heights (52px option chips, 44px sizes) are NOT
   overridden — tap targets stay big. The attribute selector matches
   only the sheet's flex-wrap chip rows, nothing else in the sheet. */
#optSheetBody div[style*="flex-wrap:wrap"] > button{flex:0 1 auto !important;min-width:fit-content !important;white-space:nowrap;padding-left:12px !important;padding-right:12px !important}

/* bc-v159: the closed / phone-only drawer panel is a branded card, not
   a system warning — same cream + gold family as the booking card, one
   gold call-to-action. Slim and centred; the copy lives in app.js. */
.bcpanel{background:#FFF9EC;border:2px solid var(--gold);border-radius:16px;padding:16px 14px;text-align:center;color:#1E2124}
.bcpanel h3{font-size:20px;line-height:1.25}
.bcpanel p{font-size:15.5px;line-height:1.45}
.bcpanel .callbtn{background:linear-gradient(135deg,#e9c766,#c9a227);color:#14213d;border-color:#c9a227}
/* bc-v162: chosen-options summary chips on cart lines — one quiet
   gold-tinted row that reads back exactly what the customer picked. */
.optsummary{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.dealstrip{max-width:880px;margin:0 auto;text-align:left}
.dealstrip p{margin:3px 0;font-size:14.5px;font-weight:600}
.dlvline{max-width:880px;margin:8px auto 0;text-align:center;font-weight:800;font-size:14.5px;color:#7A4A12}
.optchip{background:#FFF7E0;border:1.5px solid #E8A317;color:#5b4a12;border-radius:999px;padding:3px 9px;font-size:12.5px;font-weight:800;line-height:1.35}

/* bc-v188 (owner 2026-12-05): TOP-SCROLL FIX — in the installed app the page
   runs standalone under a black-translucent status bar (viewport-fit=cover),
   and the sticky header carried NO top safe-area compensation, so its first
   row (logo / account / cart) rendered underneath the status bar / Dynamic
   Island and could never be scrolled into view — the page was already at
   scroll 0; the top was simply behind the island. The header now grows by
   env(safe-area-inset-top) (0 in a browser tab, so tab behaviour is
   unchanged), and every scroll-margin-top grows by the same inset so
   anchor jumps keep clearing the taller header. The values below mirror
   the existing rules breakpoint for breakpoint, with only the inset added.
   SECOND BREAK, same system: the header never actually stuck.
   body{overflow-x:hidden} (bc-zoomlock) makes body a scroll container, and
   a sticky element can only stick inside its scroll container — since the
   window does the real scrolling, the header scrolled away 1:1 with the
   page (rig-proven at 390x844: scrollY 600 -> header top -600, on the
   untouched production code too). overflow-x:clip clips horizontal
   overflow identically WITHOUT creating a scroll container (the html rule
   already uses clip for the same reason), so the sticky header revives. */
body{overflow-x:clip}
header{padding-top:env(safe-area-inset-top,0px)}
section[id]{scroll-margin-top:calc(180px + env(safe-area-inset-top,0px))}
#menu{scroll-margin-top:calc(176px + env(safe-area-inset-top,0px))}
@media (max-width:600px){section[id]{scroll-margin-top:calc(170px + env(safe-area-inset-top,0px))}}
@media(min-width:601px){section[id]{scroll-margin-top:calc(140px + env(safe-area-inset-top,0px))}#menu{scroll-margin-top:calc(150px + env(safe-area-inset-top,0px))}}
