/* The online shop (/shop): claude/VENUE-QUALITY.md, batch 4.
   Always on light paper, whatever the venue's own theme: a shop's products
   are photographed on white. The venue's accent is its buttons, and the
   accent darkened until it reads on white (theme.js --accent-ink-light) is
   its titles and prices. A venue whose theme is itself light lends its own
   paper, lines and text. Two looks: "plain" (the default, any shop) and
   "playful" (the toy-box look: chunky blocks, rounded faces, five colours).
   Mobile first. */
:root {
  --s-bg: #f7f6f3; --s-surface: #fff; --s-raised: #f1efea; --s-line: #e5e2db;
  --s-ink: #1d2228; --s-muted: #5d6570;
  --s-brand: var(--accent-ink-light, #1d4e89);
  --s-btn: var(--accent, #1d4e89); --s-btn-ink: var(--accent-text, #fff);
  --s-display: var(--font-display, "Poppins", system-ui, sans-serif);
  --s-body: var(--font-body, "Inter", system-ui, sans-serif);
  --r: 14px; --press: 0px;
  --c1: var(--s-brand); --c2: var(--s-brand); --c3: var(--s-brand); --c4: var(--s-brand); --c5: var(--s-brand);
}
:root[data-theme-mode="light"] {
  --s-bg: var(--venue-bg, #f7f6f3); --s-surface: var(--venue-surface, #fff); --s-raised: var(--venue-surface-raised, #f1efea);
  --s-line: var(--venue-line, #e5e2db); --s-ink: var(--venue-text, #1d2228); --s-muted: var(--venue-text-muted, #5d6570);
}
:root[lang="ar"] { --s-display: "Tajawal", var(--font-display, system-ui), sans-serif; --s-body: "Tajawal", var(--font-body, system-ui), sans-serif; }
/* The toy-box look: the concept's blocks that press down, and its colours. */
:root[data-shop-look="playful"] {
  --s-display: "Fredoka", "Baloo Bhaijaan 2", system-ui, sans-serif; --s-body: "Nunito", "Tajawal", system-ui, sans-serif;
  --r: 22px; --press: 5px;
  --c1: var(--s-brand); --c2: #e23b4b; --c3: #b77d06; --c4: #c44c1e; --c5: #157337;
}
:root[data-shop-look="playful"][lang="ar"] { --s-display: "Baloo Bhaijaan 2", "Fredoka", system-ui, sans-serif; --s-body: "Tajawal", "Nunito", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 170px; color-scheme: light; }
body { margin: 0; background: var(--s-bg); color: var(--s-ink); font: 400 16px/1.55 var(--s-body); overflow-x: hidden; }
:root[lang="ar"] body { font-size: 17px; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--s-brand); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; background: var(--s-ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { clip-path: none; width: auto; height: auto; }
[hidden] { display: none !important; }
.is-loading #shop-main { min-height: 60vh; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .03), transparent) 0 0 / 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Type: big section titles, a smaller line under them, no little labels. */
h1, h2, h3 { font-family: var(--s-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
:root[lang="ar"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.4; }
.sec { padding: 44px 0; }
.sec-head { margin-bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sec-title { font-size: clamp(1.9rem, 6.5vw, 3rem); color: var(--s-brand); }
.sec-sub { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--s-muted); margin: 6px 0 0; max-width: 40em; }
.more { font: 600 1rem var(--s-display); color: var(--s-brand); text-decoration: none; border-bottom: 3px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

.btn { --c: var(--s-btn); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border: 0; border-radius: calc(var(--r) - 2px); background: var(--c); color: var(--s-btn-ink); font: 600 1.05rem var(--s-display); text-decoration: none;
  box-shadow: 0 var(--press) 0 color-mix(in srgb, var(--c) 72%, #000); transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translateY(calc(var(--press) - 1px)); box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 72%, #000); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.ghost { --c: var(--s-surface); color: var(--s-brand); border: 2px solid var(--s-line); box-shadow: 0 var(--press) 0 var(--s-line); }
.btn.light { --c: #fff; color: var(--s-brand); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Top strip and header */
.strip { background: var(--s-brand); color: #fff; font-size: .92rem; }
.strip-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; min-height: 36px; }
.strip a { min-width: 0; text-decoration: none; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip .open-dot { flex: none; }
.open-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.open-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ccf73; box-shadow: 0 0 0 3px rgba(60, 207, 115, .3); }
.open-dot.closed::before { background: #f6bd3c; box-shadow: 0 0 0 3px rgba(246, 189, 60, .3); }
.top { position: sticky; top: 0; z-index: 30; background: var(--s-bg); border-bottom: 1px solid var(--s-line); }
.top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo act" "search search"; align-items: center; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
.logo { grid-area: logo; display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.logo .wordmark { font: 700 1.3rem var(--s-display); color: var(--s-brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search { grid-area: search; position: relative; }
.search svg { position: absolute; inset-inline-start: 15px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--s-muted); stroke-width: 2.4; stroke-linecap: round; }
.search input { width: 100%; height: 46px; border: 2px solid var(--s-line); border-radius: 999px; background: var(--s-surface); padding: 0 18px; padding-inline-start: 46px; font-size: 16px; outline: none; }
.search input:focus { border-color: var(--s-brand); }
.top-act { grid-area: act; display: flex; gap: 8px; align-items: center; }
.lang { height: 44px; padding: 0 14px; border: 2px solid var(--s-line); border-radius: 999px; background: var(--s-surface); font: 700 1rem "Tajawal", sans-serif; color: var(--s-brand); }
:root[lang="ar"] .lang { font-family: var(--font-body, system-ui), sans-serif; }
.bag-btn { position: relative; width: 46px; height: 46px; border: 0; border-radius: calc(var(--r) - 2px); background: var(--s-btn); box-shadow: 0 calc(var(--press) - 1px) 0 color-mix(in srgb, var(--s-btn) 72%, #000); display: grid; place-items: center; }
.bag-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--s-btn-ink); stroke-width: 2.2; stroke-linejoin: round; }
.bag-n { position: absolute; top: -7px; inset-inline-end: -7px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #d23a3a; color: #fff; font: 700 .85rem/24px var(--s-display); text-align: center; }
.bag-n.pop { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.35); } }
.cats-nav { overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--s-line); }
.cats-nav::-webkit-scrollbar { display: none; }
.cats-nav .wrap { display: flex; gap: 6px; padding-top: 8px; padding-bottom: 8px; width: max-content; min-width: min(100%, 1180px); }
.cats-nav a { flex: none; padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: .93rem; text-decoration: none; color: var(--s-ink); white-space: nowrap; }
.cats-nav a:hover { background: var(--s-raised); }
.cats-nav a.on { background: var(--s-brand); color: #fff; }

/* The front */
.hero { padding: 28px 0 36px; overflow: hidden; }
.hero-in { display: grid; gap: 26px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 4.8rem); font-weight: 700; line-height: 1.02; color: var(--s-brand); }
:root[lang="ar"] .hero h1 { line-height: 1.3; }
.hero h1 span { display: inline-block; }
.hero h1 .c1 { color: var(--c1); } .hero h1 .c2 { color: var(--c2); } .hero h1 .c3 { color: var(--c3); } .hero h1 .c4 { color: var(--c4); } .hero h1 .c5 { color: var(--c5); }
.hero p { font-size: clamp(1.1rem, 3.2vw, 1.3rem); color: var(--s-muted); margin: 14px 0 22px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 0 auto; width: 100%; }
.stack a { display: block; background: #fff; border-radius: var(--r); padding: 8px; border: 1px solid var(--s-line); }
.stack img { width: 100%; aspect-ratio: 1; object-fit: contain; }
:root[data-shop-look="playful"] .stack a { border: 0; box-shadow: 0 6px 0 var(--sh, var(--s-line)); animation: bob 5s ease-in-out infinite; animation-delay: var(--dl, 0s); transform: rotate(var(--rot, 0deg)); }
:root[data-shop-look="playful"] .stack a:nth-child(1) { --sh: var(--c1); --rot: -3deg; }
:root[data-shop-look="playful"] .stack a:nth-child(2) { --sh: var(--c2); --rot: 2deg; --dl: -1.2s; margin-top: 22px; }
:root[data-shop-look="playful"] .stack a:nth-child(3) { --sh: var(--c3); --rot: -1.5deg; --dl: -2.4s; }
:root[data-shop-look="playful"] .stack a:nth-child(4) { --sh: var(--c5); --rot: 2.5deg; --dl: -3.1s; margin-top: -10px; }
:root[data-shop-look="playful"] .stack a:nth-child(5) { --sh: var(--c4); --rot: -2deg; --dl: -.6s; margin-top: 12px; }
:root[data-shop-look="playful"] .stack a:nth-child(6) { --sh: var(--c1); --rot: 1.5deg; --dl: -1.8s; margin-top: -10px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .stack a { animation: none !important; } * { scroll-behavior: auto !important; } }

/* Category boxes */
.boxes { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 40%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 16px; margin: 0 -16px; scrollbar-width: none; }
.boxes::-webkit-scrollbar { display: none; }
.boxes > * { scroll-snap-align: start; }
.box { --c: var(--c1); display: flex; flex-direction: column; border-radius: var(--r); background: var(--s-surface); color: var(--s-ink); text-decoration: none; padding: 10px 10px 12px; border: 1px solid var(--s-line); transition: transform .12s; overflow: hidden; }
.box:hover { transform: translateY(-3px); }
.box .ph { background: #fff; border-radius: calc(var(--r) - 4px); aspect-ratio: 1; display: grid; place-items: center; padding: 8px; overflow: hidden; }
.box .ph img { width: 100%; height: 100%; object-fit: contain; }
.box h3 { font-size: 1.1rem; margin: 10px 2px 2px; color: var(--s-brand); }
.box p { margin: 0 2px; font-weight: 700; font-size: .9rem; color: var(--s-muted); }
:root[data-shop-look="playful"] .box { background: var(--c); color: #fff; border: 0; box-shadow: 0 6px 0 rgba(0, 0, 0, .16); }
:root[data-shop-look="playful"] .box h3, :root[data-shop-look="playful"] .box p { color: #fff; }
.box.c2 { --c: var(--c2); } .box.c3 { --c: var(--c3); } .box.c4 { --c: var(--c4); } .box.c5 { --c: var(--c5); }
/* A product (or a category) with no photo of its own: its first letter. */
.noimg { width: 100%; height: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: inherit; background: color-mix(in srgb, var(--s-brand) 9%, #fff); color: var(--s-brand); font: 700 clamp(2rem, 9vw, 3.4rem) var(--s-display); }
/* A name card in place of a photo (F7, 12 Nov 2026): the kind of toy drawn, the name, the aisle. */
.ncard { width: 100%; height: 100%; aspect-ratio: 1; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; padding: 10% 9%; container-type: inline-size; border-radius: inherit; border: 2px dashed color-mix(in srgb, var(--s-brand) 35%, #fff); background: color-mix(in srgb, var(--s-brand) 8%, #fff); color: var(--s-brand); text-align: center; }
.nc-ic { width: 34%; height: auto; flex: none; }
.nc-n { font: 700 clamp(.78rem, 10cqi, 1.5rem)/1.2 var(--s-display); color: var(--s-ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
.nc-c { font-size: clamp(.62rem, 6.5cqi, .9rem); color: var(--s-muted); }
.line .ncard { padding: 6px; } .line .ncard :is(.nc-n, .nc-c) { display: none; } .line .nc-ic { width: 70%; }
/* The venue's logo in place of the drawing or letter (Shop.noPhotoLogo; "Your logo on products with no photo").
   The picture rules for photos (.card .ph img, .pdp-ph img, .line img...) would stretch it to the whole box, hence !important. */
.ncard > img.nc-logo { width: 46% !important; height: auto !important; max-height: 40%; aspect-ratio: auto !important; flex: none; object-fit: contain; }
.line .ncard > img.nc-logo { width: 74% !important; max-height: 74%; }
.noimg > img.nc-logo { width: 56% !important; height: auto !important; max-height: 56%; aspect-ratio: auto !important; object-fit: contain; }
/* A name in English on the Arabic shop keeps its own order ("4-in-1", "10353 Williams"), aligned with the page (F7). */
.card h3, .pdp h1, .line h4, .nc-n { unicode-bidi: plaintext; text-align: match-parent; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; background: var(--s-surface); border-radius: var(--r); padding: 10px 10px 12px; border: 1px solid var(--s-line); transition: transform .12s; }
:root[data-shop-look="playful"] .card { border: 0; box-shadow: 0 5px 0 var(--s-line); }
.card:hover { transform: translateY(-2px); }
.card > a { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.card .ph { aspect-ratio: 1; display: grid; place-items: center; border-radius: calc(var(--r) - 4px); overflow: hidden; background: #fff; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; }
.card.is-out .ph { opacity: .55; }
.card h3 { font: 600 .98rem/1.3 var(--s-display); margin: 10px 2px 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
:root[lang="ar"] .card h3 { line-height: 1.45; min-height: 2.9em; }
.card .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 0 2px; }
.price { font: 700 1.1rem var(--s-display); color: var(--s-brand); white-space: nowrap; }
.price small { font-size: .7em; font-weight: 600; color: var(--s-muted); }
.card .add { position: absolute; top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; border: 0; border-radius: calc(var(--r) - 6px); background: var(--s-btn); color: var(--s-btn-ink); font: 600 1.7rem/1 var(--s-display); box-shadow: 0 calc(var(--press) - 1px) 0 color-mix(in srgb, var(--s-btn) 72%, #000), 0 1px 4px rgba(0, 0, 0, .15); display: grid; place-items: center; text-decoration: none; }
.card .add.ask { background: #fff; color: var(--s-brand); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.card .add svg { width: 22px; height: 22px; }
.card .soon { font-weight: 800; font-size: .82rem; color: #b5432a; }

/* How ordering works */
.order { background: var(--s-brand); color: #fff; border-radius: calc(var(--r) + 10px); margin: 0 16px; padding: 40px 0; }
.order .sec-title { color: #fff; }
.order .sec-sub { color: rgba(255, 255, 255, .85); }
.ways { display: grid; gap: 14px; }
.way { background: var(--s-surface); color: var(--s-ink); border-radius: var(--r); padding: 20px; }
.way h3 { font-size: 1.45rem; display: flex; align-items: center; gap: 12px; color: var(--s-brand); }
.way h3 i { flex: none; width: 48px; height: 48px; border-radius: calc(var(--r) - 4px); display: grid; place-items: center; background: var(--s-raised); }
.way h3 svg { width: 28px; height: 28px; fill: none; stroke: var(--s-brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.way ol { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: s; }
.way li { counter-increment: s; position: relative; padding-inline-start: 42px; margin-bottom: 12px; font-size: 1.03rem; }
.way li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--s-raised); font: 700 1rem/30px var(--s-display); text-align: center; color: var(--s-brand); }
.order .btn { margin-top: 24px; }

/* Visit */
.visit { display: grid; gap: 20px; }
.map { border-radius: var(--r); overflow: hidden; background: var(--s-raised); min-height: 260px; position: relative; border: 1px solid var(--s-line); }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 20px; }
.map-ph b { font: 600 1.35rem var(--s-display); color: var(--s-brand); }
.map-ph > span { font-weight: 700; color: var(--s-muted); margin-bottom: 12px; }
.map iframe { border: 0; width: 100%; height: 100%; min-height: 320px; display: block; }
.info { background: var(--s-surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--s-line); }
.info h3 { font-size: 1.35rem; color: var(--s-brand); margin-bottom: 6px; }
.info .open-dot { margin: 0 0 10px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--s-line); font-weight: 600; }
.hours td + td { text-align: end; padding-inline-start: 10px; }
.hours tr.today td { color: var(--s-brand); font-weight: 800; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acts .btn { font-size: 1rem; padding: 0 12px; }

/* Every product, a category, a search */
.page-head { padding: 22px 0 6px; }
.crumbs { font-weight: 700; color: var(--s-muted); margin-bottom: 8px; font-size: .95rem; }
.crumbs a { text-decoration: none; color: var(--s-brand); }
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 10px; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; width: 100%; height: 44px; border: 2px solid var(--s-line); border-radius: 999px; background: var(--s-surface); padding: 0 38px 0 16px; font-weight: 700; font-size: .95rem; }
:root[dir="rtl"] .sel select { padding: 0 16px 0 38px; }
.sel::after { content: ""; position: absolute; inset-inline-end: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--s-ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel select.set { border-color: var(--s-brand); }
.count { color: var(--s-muted); font-weight: 700; margin: 6px 0 14px; }
.clear { border: 0; background: none; color: var(--s-brand); font-weight: 800; text-decoration: underline; padding: 0 6px; }
.empty { text-align: center; padding: 40px 16px; background: var(--s-surface); border-radius: var(--r); }
.empty h2 { font-size: 1.6rem; color: var(--s-brand); margin-bottom: 8px; }
.empty p { color: var(--s-muted); margin: 0 0 18px; }
.loadmore { display: flex; justify-content: center; margin-top: 24px; }

/* One product */
.pdp { display: grid; gap: 20px; padding: 18px 0 10px; }
.pdp-ph { background: #fff; border-radius: calc(var(--r) + 6px); padding: 16px; border: 1px solid var(--s-line); }
.pdp-ph img, .pdp-ph .noimg { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pdp h1 { font-size: clamp(1.8rem, 5.6vw, 2.6rem); color: var(--s-ink); }
.pdp .alt { color: var(--s-muted); font-size: 1.05rem; margin: 6px 0 0; }
.pdp .price { font-size: 2rem; display: block; margin: 12px 0 4px; }
.pdp .desc { margin: 0 0 18px; white-space: pre-line; }
.stock { font-weight: 800; display: flex; align-items: center; gap: 8px; margin: 8px 0 16px; }
.stock::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #1f9d55; }
.stock.out::before { background: var(--s-muted); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.askbtn { margin-top: 12px; }
.qty { display: inline-flex; align-items: center; background: var(--s-surface); border: 2px solid var(--s-line); border-radius: calc(var(--r) - 2px); height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font: 600 1.5rem var(--s-display); color: var(--s-brand); }
.qty output { min-width: 28px; text-align: center; font: 700 1.15rem var(--s-display); }
.qty.sm { height: 40px; }
.qty.sm button { width: 36px; font-size: 1.25rem; }

/* The basket: over the order-status bar (menu-order.js, 7990), under its
   sheets (9100 and up), which Checkout opens. */
.scrim { position: fixed; inset: 0; background: rgba(20, 24, 30, .45); z-index: 8000; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.bag { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--s-bg); z-index: 8001; display: flex; flex-direction: column; animation: slide .25s ease-out; box-shadow: 0 0 40px rgba(0, 0, 0, .2); }
@keyframes slide { from { translate: 100% 0; } }
:root[dir="rtl"] .bag { animation-name: slidertl; }
@keyframes slidertl { from { translate: -100% 0; } }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--s-line); }
.bag-head h2 { font-size: 1.6rem; color: var(--s-brand); }
.x { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--s-surface); font-size: 1.8rem; line-height: 1; }
.bag-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.bag-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--s-line); background: var(--s-surface); }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; background: var(--s-surface); border-radius: var(--r); padding: 10px; margin-bottom: 10px; }
.line .ph { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #fff; }
.line .ph img { width: 72px; height: 72px; object-fit: contain; }
.line .noimg { font-size: 1.6rem; }
.line h4 { margin: 0 0 6px; font: 600 .98rem/1.3 var(--s-display); }
.line .lrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tot { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 6px; }
.tot.big { font: 700 1.3rem var(--s-display); color: var(--s-brand); margin: 6px 0 14px; }
.bag-empty { text-align: center; padding: 50px 10px; }
.bag-empty h3 { font-size: 1.45rem; color: var(--s-brand); margin-bottom: 8px; }
.bag-empty p { color: var(--s-muted); margin: 0 0 18px; }

.toast { position: fixed; left: 50%; bottom: calc(18px + var(--uc-order-bar, 0px) + env(safe-area-inset-bottom)); translate: -50% 140%; background: var(--s-ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; z-index: 8002; width: max-content; transition: translate .25s, visibility .25s; visibility: hidden; max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; }
.toast.show { translate: -50% 0; visibility: visible; }
.toast button { border: 0; background: #fff; color: var(--s-ink); font-weight: 800; padding: 6px 12px; border-radius: 10px; white-space: nowrap; }

/* Footer: clear of the order-status bar (menu-order.js) while an order is in progress. */
body.uco-has-bar .foot { padding-bottom: var(--uc-order-bar, 0px); }
.foot { background: var(--s-ink); color: #fff; margin-top: 50px; padding: 40px 0 0; }
.foot-in { display: grid; gap: 26px; }
.foot-brand { font: 700 1.4rem var(--s-display); }
.foot-cols { display: grid; gap: 22px; }
.foot h3 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.foot a, .foot p { display: block; color: rgba(255, 255, 255, .82); text-decoration: none; margin: 0 0 8px; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .62); font-size: .92rem; }

@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scroller { grid-auto-columns: 30%; }
  .boxes { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; }
  .box .ph { aspect-ratio: 4 / 3; }
  .ways { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { display: flex; flex-wrap: wrap; }
  .sel select { width: auto; }
}
@media (min-width: 900px) {
  html { scroll-padding-top: 140px; }
  .top-in { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search act"; gap: 24px; }
  .search { max-width: 560px; justify-self: center; width: 100%; }
  .logo img { height: 52px; }
  .hero { padding: 50px 0 60px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 50px; }
  .stack { gap: 18px; max-width: 600px; }
  .sec { padding: 64px 0; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .scroller { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; margin: 0; padding: 4px 0 14px; }
  .boxes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .order { margin: 0 auto; max-width: 1180px; padding: 56px 0; }
  .order .wrap { padding: 0 40px; }
  .visit { grid-template-columns: 1.3fr 1fr; }
  .pdp { grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; padding-top: 26px; }
  .pdp-ph { position: sticky; top: 140px; }
  .foot-in { grid-template-columns: 1fr 2fr; }
}
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---- the website demo's checkout and receipt (shop.js, Shop.demo; 18 Oct 2026) ----
   For show only: every step carries the demo note. */
.demo-note { background: #fff3c4; border: 2px dashed #e0a800; border-radius: 12px; color: #5a4300; font-weight: 700; font-size: 14px; line-height: 1.4; margin: 0 0 12px; padding: 9px 12px; text-align: center; }
.demo-co .page-head { padding: 18px 0 6px; }
.co { display: grid; gap: 20px; padding: 6px 0 34px; }
.co-steps { display: grid; gap: 18px; }
.step { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--r); padding: 18px; }
.step h2 { margin: 0 0 12px; font: 700 1.15rem/1.25 var(--s-display); color: var(--s-ink); }
.choose { display: grid; gap: 10px; }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 2px solid var(--s-line); border-radius: calc(var(--r) - 4px); background: var(--s-surface); color: var(--s-ink); font: inherit; text-align: start; cursor: pointer; }
.pick b { display: block; font-weight: 700; }
.pick span span { display: block; color: var(--s-muted); font-size: .9rem; margin-top: 2px; }
.pick i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--s-line); }
.pick[aria-pressed="true"] { border-color: var(--s-btn); }
.pick[aria-pressed="true"] i { border: 7px solid var(--s-btn); }
.fields { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label small { color: var(--s-muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--s-line); border-radius: 10px; background: var(--s-surface); color: var(--s-ink); font: inherit; box-sizing: border-box; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--s-btn); }
.field input[aria-invalid="true"] { border-color: #c62828; }
.field .err { color: #c62828; font-weight: 700; margin: 6px 0 0; font-size: .92rem; }
.co-lines { margin: 12px 0; }
.co-lines .line { grid-template-columns: 56px 1fr; background: var(--s-raised); }
.co-lines .line .ph, .co-lines .line .ph img { width: 56px; height: 56px; }
.co-lines .line h4 { margin: 0 0 4px; font-size: .98rem; }
.done { text-align: center; padding-top: 34px; padding-bottom: 44px; }
.done h1 { font: 700 1.8rem/1.2 var(--s-display); margin: 0 0 10px; }
.done .num { display: inline-block; font: 700 2.2rem var(--s-display); color: var(--s-brand); background: var(--s-surface); border: 2px solid var(--s-line); border-radius: var(--r); padding: 8px 24px; margin: 4px 0 16px; }
.done > p { max-width: 520px; margin: 0 auto 12px; }
.track { list-style: none; padding: 0; margin: 18px auto 22px; max-width: 360px; text-align: start; }
.track li { position: relative; padding: 0 0 16px 34px; color: var(--s-muted); font-weight: 700; }
.track li::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--s-line); background: var(--s-surface); }
:root[dir="rtl"] .track li { padding: 0 34px 16px 0; }
.track li.on { color: var(--s-ink); }
.track li.on::before { border-color: var(--s-btn); background: var(--s-btn); }
.track li small { display: block; font-weight: 400; color: var(--s-muted); }
.receipt { max-width: 520px; margin: 0 auto 24px; text-align: start; }
.receipt .tot { gap: 12px; font-weight: 400; }
.receipt .tot.big { font-weight: 700; }
.receipt .note { color: var(--s-muted); margin: 6px 0 0; }
@media (min-width: 900px) {
  .co { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .co .side { position: sticky; top: 120px; }
}
/* A weekly special (worker/src/specials.js; Mazin, 30 Oct 2026): its own
   price struck through before the special's (/api/menu was_cents). */
.price .was { opacity: 0.55; font-weight: 400; margin-inline-end: 4px; }
