/* Redline Grill & Pizza — customer site styles. Mobile-first. */
:root {
  --bg: #0c0c0e;
  --bg-2: #131316;
  --surface: #18181c;
  --surface-2: #202026;
  --line: #2c2c33;
  --text: #f6f4f1;
  --muted: #a9a5a0;
  --red: #e3261b;
  --red-dark: #b81b12;
  --orange: #ff6a13;
  --amber: #ffb627;
  --green: #2fbf71;
  --grad: linear-gradient(135deg, #e3261b 0%, #ff6a13 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --font-display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* Theme-derived values (overridden by the server from Admin → Website → Theme) */
  --bg-rgb: 12, 12, 14;
  --text-2: #dcd8d3;
  --surface-3: #2a2a31;
  --line-2: #3b3b44;
  --footer-bg: #08080a;
  --hero-fade: var(--bg);
  --btn-radius: 999px;
  --scale: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); -webkit-text-size-adjust: 100%; }
html { font-size: var(--scale); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.1; }
h1, h2, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--amber); color: #000; padding: 10px 16px; border-radius: var(--pill); z-index: 1000; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.5em;
  border-radius: var(--btn-radius); border: 2px solid transparent; font-weight: 700; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--red) 80%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--orange) 90%, transparent); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
.btn-outline:hover { background: #fff; color: #111; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-lg { min-height: 56px; font-size: 1.05rem; padding: 0 2em; }
.btn-sm { min-height: 38px; padding: 0 1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--surface-3); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(var(--bg-rgb), .86); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.announcement { background: var(--grad); color: #fff; text-align: center; font-weight: 700; font-size: .88rem; padding: 6px 12px; }
.announcement:empty { display: none; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-sub { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-top: 3px; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 600; border-radius: var(--pill); color: var(--text-2); transition: background .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.basket-btn { position: relative; }
.basket-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red);
  color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.basket-count[data-n="0"] { display: none; }
.header-order { display: none; }
.menu-toggle { display: inline-grid; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); z-index: 49; }
.mobile-nav.open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.mobile-nav .btn { margin-top: 16px; width: 100%; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-order { display: inline-flex; }
  :root { --header-h: 76px; }
}

/* ---------- Status pill ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); font-weight: 700; font-size: .85rem;
  background: rgba(47, 191, 113, .14); color: #6fe3a3; border: 1px solid rgba(47, 191, 113, .35); }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
.status-pill.closed { background: color-mix(in srgb, var(--red) 14%, transparent); color: #ff7b72; border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.status-pill.closed::before { animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 227, 163, .6); } 70% { box-shadow: 0 0 0 8px rgba(111, 227, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 227, 163, 0); } }

/* ---------- Hero ---------- */
.hero { color: #fff; background: radial-gradient(circle at 78% 38%, color-mix(in srgb, var(--orange) 32%, transparent), transparent 46%), radial-gradient(circle at 95% 95%, color-mix(in srgb, var(--red) 28%, transparent), transparent 42%), #110b09; position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #1a0f0b center/cover no-repeat; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 45%, var(--hero-fade) 100%),
              linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .15) 70%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { padding: 72px 0 40px; max-width: 720px; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.8rem, 11vw, 6rem); line-height: .92; margin-bottom: 14px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline { font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 600; color: #fff; margin-bottom: 8px; }
.hero-welcome { color: rgba(255, 255, 255, .86); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hero-actions .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }

/* Info strip: delivery / collection / hygiene */
.info-strip { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: -8px; position: relative; z-index: 2; }
@media (min-width: 720px) { .info-strip { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.info-card .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { margin: 0 0 4px; }
.info-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Food hygiene rating (styled after the UK FHRS 0–5 scale) */
.fhrs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; text-decoration: none; margin-top: 6px; }
.fhrs-badge { display: grid; grid-template-columns: repeat(6, 22px); gap: 3px; background: #fff; padding: 6px; border-radius: 10px; }
.fhrs-badge span { height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .75rem; color: #222; background: #e6e6e6; }
.fhrs-badge span.on { background: #1d7a3a; color: #fff; }
.fhrs-badge span.on.current { transform: scale(1.18); background: #0f5c27; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f5c27; }
.fhrs-text strong { display: block; }
.fhrs-text small { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0; }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; margin-bottom: 8px; }

/* ---------- Offers ---------- */
.offers-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offers-grid { grid-template-columns: repeat(4, 1fr); } }
.offer-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px; min-height: 180px; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.offer-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--orange) 60%, transparent); }
.offer-card.hot { background: var(--grad); border: 0; color: #fff; }
.offer-card.hot .muted { color: rgba(255, 255, 255, .86); }
.offer-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.offer-badge { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; text-transform: uppercase; margin-bottom: 10px; }
.offer-card h3 { margin-bottom: 6px; }
.offer-card p { font-size: .92rem; margin-bottom: 12px; }
.offer-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--pill); font-size: .75rem; font-weight: 700; background: color-mix(in srgb, var(--text) 10%, transparent); }
.chip.code { background: var(--text); color: var(--bg); letter-spacing: .08em; cursor: pointer; border: 0; }
.promo-banner { margin-top: 18px; border-radius: var(--radius); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  background: repeating-linear-gradient(-45deg, var(--surface-2) 0 14px, var(--surface) 14px 28px); border: 1px dashed rgba(255, 182, 39, .5); }
.promo-banner strong { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; font-weight: 400; color: var(--amber); }

/* ---------- Menu ---------- */
.menu-toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(var(--bg-rgb), .94); backdrop-filter: blur(10px); padding: 10px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: var(--btn-radius); font-weight: 700; cursor: pointer; font-size: .92rem; transition: .2s; }
.cat-tab:hover { border-color: var(--line-2); }
.cat-tab[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.menu-search { display: flex; gap: 10px; margin-top: 10px; }
.menu-search input { flex: 1; min-height: 44px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); padding: 0 18px; }
.diet-filter { min-height: 44px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); padding: 0 14px; }
.menu-cat { margin-bottom: 44px; }
.menu-cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.menu-cat-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; margin: 0; }
.menu-cat-head p { margin: 0; color: var(--muted); }
.product-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; cursor: pointer; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 4px 9px; border-radius: var(--pill); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(0, 0, 0, .7); color: #fff; backdrop-filter: blur(4px); }
.tag.offer { background: var(--red); }
.tag.popular { background: var(--amber); color: #1a1200; }
.tag.spicy { background: #8c1a10; }
.tag.vegetarian, .tag.vegan { background: #1f7a43; }
.tag.new { background: #fff; color: #111; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-body h4 { margin: 0 0 4px; font-size: 1.08rem; }
.product-body p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; font-size: 1.15rem; }
.price s { color: var(--muted); font-weight: 500; font-size: .85rem; margin-right: 4px; }
.price small { color: var(--muted); font-weight: 500; font-size: .75rem; display: block; }
.add-btn { min-height: 42px; padding: 0 16px; }
.add-btn svg { width: 18px; height: 18px; }
.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); height: 300px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Modal & drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); z-index: 90; opacity: 0; transition: opacity .25s; }
.overlay.open { opacity: 1; }
.modal { position: fixed; z-index: 100; inset: auto 0 0 0; max-height: 92vh; background: var(--bg-2); border-radius: 22px 22px 0 0; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .35s var(--ease); border: 1px solid var(--line); }
.modal.open { transform: none; }
@media (min-width: 720px) {
  .modal { inset: 50% auto auto 50%; width: min(560px, 94vw); max-height: 88vh; border-radius: 22px; transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: .3s var(--ease); }
  .modal.open { transform: translate(-50%, -50%); opacity: 1; }
}
.modal-media { position: relative; aspect-ratio: 16 / 9; flex: 0 0 auto; overflow: hidden; border-radius: 22px 22px 0 0; background: var(--surface-2); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-close { position: absolute; right: 12px; top: 12px; color: #fff; background: rgba(0, 0, 0, .6); z-index: 2; }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.modal-body h2 { font-size: 2rem; }
.modal-foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; background: var(--bg-2); border-radius: 0 0 22px 22px; }
.allergens { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.allergens strong { color: var(--text); }
.opt-group { border: 0; margin: 0 0 18px; padding: 0; }
.opt-group legend { font-weight: 800; padding: 0; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; width: 100%; }
.opt-group legend .req { font-size: .7rem; padding: 3px 8px; border-radius: var(--pill); background: var(--red); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.opt-group legend .hint { font-size: .78rem; color: var(--muted); font-weight: 500; margin-left: auto; }
.opt-group.invalid legend .req { animation: shake .4s; background: var(--amber); color: #000; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 6px; cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--line-2); }
.opt:has(input:checked) { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 8%, transparent); }
.opt input { accent-color: var(--orange); width: 18px; height: 18px; margin: 0; }
.opt span { flex: 1; }
.opt em { font-style: normal; color: var(--muted); font-size: .9rem; }
.opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.field-note { width: 100%; min-height: 70px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); padding: 10px 12px; resize: vertical; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.25rem; font-weight: 700; border-radius: 50%; }
.qty button:hover { background: var(--surface-2); }
.qty output { min-width: 28px; text-align: center; font-weight: 800; }
.qty.sm button { width: 32px; height: 32px; font-size: 1.05rem; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg-2); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease); border-left: 1px solid var(--line); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.8rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.order-type { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--pill); padding: 4px; border: 1px solid var(--line); margin-bottom: 14px; }
.order-type button { border: 0; background: none; min-height: 42px; border-radius: var(--pill); font-weight: 700; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.order-type button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.order-type svg { width: 18px; height: 18px; }
.postcode-row { display: flex; gap: 8px; margin-bottom: 6px; }
.postcode-row input { flex: 1; text-transform: uppercase; }
.postcode-msg { font-size: .85rem; margin: 0 0 12px; min-height: 1.2em; }
.postcode-msg.ok { color: #6fe3a3; }
.postcode-msg.err { color: #ff8f86; }
.basket-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.basket-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.basket-line h4 { margin: 0 0 2px; font-size: .98rem; }
.basket-line .opts { font-size: .8rem; color: var(--muted); margin: 0 0 8px; }
.basket-line .line-price { font-weight: 800; text-align: right; }
.basket-line .line-price s { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.basket-line .line-actions { display: flex; gap: 8px; align-items: center; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .82rem; padding: 4px; }
.totals { font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .discount { color: #6fe3a3; }
.totals .grand { font-size: 1.25rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.notice { border-radius: var(--radius-sm); padding: 10px 12px; font-size: .88rem; margin: 10px 0; }
.notice.warn { background: rgba(255, 182, 39, .12); color: #ffd27a; border: 1px solid rgba(255, 182, 39, .3); }
.notice.info { background: color-mix(in srgb, var(--orange) 10%, transparent); color: #ffb27f; border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent); }
.notice.ok { background: rgba(47, 191, 113, .1); color: #8ef0b8; border: 1px solid rgba(47, 191, 113, .3); }
.notice.err { background: color-mix(in srgb, var(--red) 12%, transparent); color: #ff9c94; border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); }
.basket-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.basket-empty svg { width: 60px; height: 60px; opacity: .4; margin: 0 auto 10px; }

.mobile-basket-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; transform: translateY(150%); transition: transform .35s var(--ease); }
.mobile-basket-bar.show { transform: none; }
.mobile-basket-bar .btn { width: 100%; justify-content: space-between; min-height: 56px; }
@media (min-width: 960px) { .mobile-basket-bar { display: none; } }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field .opt-label { font-weight: 500; color: var(--muted); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); padding: 10px 14px; transition: border-color .2s; }
.field textarea { min-height: 90px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 25%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b61; }
.field-error { color: #ff8f86; font-size: .84rem; margin-top: 5px; display: none; }
.field.has-error .field-error { display: block; }
.grid-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.radio-cards { display: grid; gap: 10px; }
@media (min-width: 600px) { .radio-cards { grid-template-columns: 1fr 1fr; } }
.radio-card { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 8%, transparent); }
.radio-card input { accent-color: var(--orange); width: 20px; height: 20px; }
.radio-card small { display: block; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews-wrap { position: relative; }
.review-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.review-summary .big { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.1rem; }
.stars .off { color: var(--line-2); }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .review-track { grid-auto-columns: calc((100% - 28px) / 3); } }
.review-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; min-height: 220px; }
.review-card blockquote { margin: 12px 0 16px; flex: 1; color: var(--text-2); }
.review-card footer { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line-2); cursor: pointer; padding: 0; }
.carousel-dots button[aria-current="true"] { background: var(--orange); width: 24px; border-radius: 5px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 1fr; } }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; background: var(--surface-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.about-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.about-stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--orange); }
.about-stats span { font-size: .8rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { font-size: 1.15rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.panel h3 svg { width: 20px; height: 20px; color: var(--orange); }
.hours-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.hours-table th, .hours-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-weight: 600; }
.hours-table td { color: var(--muted); }
.hours-table tr.today th, .hours-table tr.today td { color: var(--amber); font-weight: 700; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); background: var(--surface-2); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list svg { width: 20px; height: 20px; color: var(--orange); flex: 0 0 20px; margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--orange); }
.zones { display: grid; gap: 8px; }
.zone { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--bg-2); border-radius: var(--radius-sm); font-size: .9rem; }
.zone strong { display: block; }
.zone small { color: var(--muted); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--grad); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding: 56px 0 calc(90px + env(safe-area-inset-bottom)); margin-top: 40px; }
@media (min-width: 960px) { .site-footer { padding-bottom: 28px; } }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--text-2); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: var(--muted); font-size: .92rem; }
.footer-hours { font-size: .88rem; color: var(--muted); }
.footer-hours div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Page layouts (checkout / order / legal) ---------- */
.page-hero { padding: 40px 0 10px; }
.page-hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
.checkout-grid { display: grid; gap: 22px; padding-bottom: 40px; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } .checkout-summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.step { counter-increment: step; }
.step h2 { font-family: var(--font); text-transform: none; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.step h2::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: .9rem; }
.checkout-form { counter-reset: step; display: grid; gap: 18px; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary-line small { display: block; color: var(--muted); }
.code-row { display: flex; gap: 8px; margin: 14px 0 6px; }
.code-row input { flex: 1; text-transform: uppercase; }
.legal { max-width: 820px; padding-bottom: 40px; }
.legal h2 { font-family: var(--font); text-transform: none; font-size: 1.3rem; font-weight: 800; margin-top: 1.6em; }
.legal li { margin-bottom: 6px; color: var(--text-2); }
.legal p { color: var(--text-2); }
.allergen-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.allergen-table th, .allergen-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.allergen-table th { position: sticky; top: var(--header-h); background: var(--bg); }

/* Order tracking */
.track { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 22px; color: var(--muted); }
.track li::before { content: ''; position: absolute; left: 16px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::before { display: none; }
.track .dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; background: var(--bg); font-weight: 800; font-size: .85rem; }
.track li.done { color: var(--text); }
.track li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.track li.done::before { background: var(--green); }
.track li.current .dot { background: var(--grad); border-color: transparent; color: #fff; animation: pulseRing 1.8s infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 60%, transparent); } 70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--orange) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 0%, transparent); } }
.track strong { display: block; color: inherit; }
.confirm-hero { text-align: center; padding: 30px 0 10px; }
.confirm-icon { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; animation: pop .5s var(--ease); }
.confirm-icon svg { width: 44px; height: 44px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.ref { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: .06em; color: var(--amber); }

/* Card form (test payment page) */
.pay-card { max-width: 480px; margin: 0 auto 40px; }
.test-banner { background: repeating-linear-gradient(-45deg, #3a2a00 0 10px, #2c2000 10px 20px); color: #ffd27a; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: 16px; }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(420px, 92vw); pointer-events: none; }
@media (min-width: 960px) { .toast-wrap { bottom: 24px; } }
.toast { background: #fff; color: #111; padding: 12px 16px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow); animation: toastIn .3s var(--ease); display: flex; align-items: center; gap: 10px; }
.toast.err { background: #ffdedb; color: #5c0b05; }
.toast svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
body.no-scroll { overflow: hidden; }

/* ---------- Light themes (body.theme-light is set by the server) ---------- */
body.theme-light .notice.warn { color: #7a4d00; }
body.theme-light .notice.info { color: #8a3a06; }
body.theme-light .notice.ok, body.theme-light .postcode-msg.ok, body.theme-light .totals .discount { color: #11693a; }
body.theme-light .notice.err, body.theme-light .postcode-msg.err, body.theme-light .field-error { color: #a4161a; }
body.theme-light .status-pill { color: #11693a; }
body.theme-light .status-pill.closed { color: #a4161a; }
body.theme-light .test-banner { color: #fff3cf; }
body.theme-light .site-footer, body.theme-light .site-footer a { color: var(--text-2); }

/* ---------- Promotional banners & gallery (Website → Homepage) ---------- */
.banner-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.banner-track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .banner-track.multi { grid-auto-columns: calc((100% - 14px) / 2); } }
.promo { scroll-snap-align: start; position: relative; min-height: 220px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; color: #fff;
  background: var(--grad) center/cover no-repeat; isolation: isolate; }
.promo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .15)); }
.promo-body { padding: 24px; max-width: 520px; }
.promo-body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.6rem); text-transform: uppercase; margin-bottom: 6px; }
.promo-body p { color: rgba(255, 255, 255, .88); }
.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--surface-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.06); }
main#main { display: flex; flex-direction: column; }
main#main > * { min-width: 0; }
body.theme-light .promo-banner strong { color: var(--red); }
body.theme-light .tag.popular { color: #1a1200; }

/* =====================================================================
   Ordering page layout: method bar · category sidebar · products · basket
   ===================================================================== */
.order-section { padding-top: 24px; }

/* --- Ordering method (Delivery / Collection) --- */
.order-method { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 900px) { .order-method { grid-template-columns: minmax(300px, 380px) 1fr; align-items: start; padding: 16px; } }
.om-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.om-toggle button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg-2); cursor: pointer; transition: border-color .2s, background .2s; }
.om-toggle button strong { display: block; font-size: 1.05rem; }
.om-toggle button small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.om-toggle button[aria-pressed="true"] { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 10%, var(--bg-2)); }
.om-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange); }
.om-ic svg { width: 22px; height: 22px; }
.om-body { display: grid; gap: 10px; min-width: 0; }
.om-row { display: flex; gap: 8px; }
.om-row .input { flex: 1; text-transform: uppercase; min-width: 0; }
.om-address { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 600px) { .om-address { grid-template-columns: 2fr 1fr; } }
.om-delivery .postcode-msg { margin: 0; }
.om-collection { font-size: .95rem; }
.om-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.om-stats li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); background: var(--bg-2); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.om-stats li.ok { color: #6fe3a3; border-color: rgba(47, 191, 113, .35); }
.om-stats li.bad { color: #ff8f86; border-color: color-mix(in srgb, var(--red) 40%, transparent); }
body.theme-light .om-stats li.ok { color: #11693a; } body.theme-light .om-stats li.bad { color: #a4161a; }

/* --- Three-column layout --- */
.order-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .order-layout { grid-template-columns: 200px minmax(0, 1fr); } }
@media (min-width: 1200px) { .order-layout { grid-template-columns: 210px minmax(0, 1fr) 340px; width: min(1360px, 100% - 32px); } }

/* --- Category sidebar (desktop) / tabs (mobile) --- */
.cat-sidebar { display: none; }
@media (min-width: 900px) {
  .cat-sidebar { display: block; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
  .order-main .cat-tabs { display: none; }
}
.cat-sidebar-title { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin: 4px 10px 10px; }
.cat-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cat-sidebar a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--text-2); border-left: 3px solid transparent; transition: background .2s, color .2s; }
.cat-sidebar a:hover { background: var(--surface); color: var(--text); }
.cat-sidebar a[aria-current="true"] { background: var(--surface); color: var(--text); border-left-color: var(--orange); }
.cat-count { font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--bg-2); border-radius: var(--pill); padding: 1px 8px; min-width: 26px; text-align: center; }
.cat-tab .cat-count { margin-left: 6px; background: rgba(0, 0, 0, .2); color: inherit; }
.order-main { min-width: 0; }
.order-main .menu-toolbar { margin: 0 0 16px; padding: 10px 0; }
@media (min-width: 900px) { .order-main .menu-toolbar { position: sticky; top: var(--header-h); } .order-main .menu-search { margin-top: 0; } }

/* --- Product rows --- */
.product-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.product-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: stretch; padding: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; text-align: left; color: inherit; font: inherit; width: 100%; }
.product-row:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.product-row:focus-visible { outline: 3px solid var(--amber); }
.product-row .pr-text { display: flex; flex-direction: column; min-width: 0; }
.product-row h4 { margin: 0 0 4px; font-size: 1.02rem; line-height: 1.25; }
.product-row .pr-desc { color: var(--muted); font-size: .86rem; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-row .pr-foot { margin-top: auto; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.product-row .pr-from { font-size: .78rem; color: var(--muted); }
.product-row .pr-price { font-weight: 800; font-size: 1.05rem; }
.product-row .pr-was { color: var(--muted); text-decoration: line-through; font-size: .82rem; }
.product-row .pr-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.product-row .pr-badges .tag { font-size: .62rem; padding: 3px 7px; backdrop-filter: none; }
.product-row .tag:not(.offer):not(.popular):not(.spicy):not(.vegetarian):not(.vegan):not(.new) { background: var(--surface-3); }
.pr-media { position: relative; }
.pr-media img { width: 112px; height: 100%; min-height: 96px; max-height: 120px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.pr-add { position: absolute; right: -6px; bottom: -6px; min-height: 36px; padding: 0 14px; border-radius: var(--btn-radius); border: 0; font-weight: 800; letter-spacing: .04em;
  background: var(--grad); color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); cursor: pointer; font-size: .85rem; }
.product-row.sold-out { cursor: not-allowed; opacity: .6; }
.product-row.sold-out:hover { transform: none; box-shadow: none; }
.product-row.sold-out .pr-add { background: var(--surface-3); color: var(--muted); box-shadow: none; }
.product-row.sold-out img { filter: grayscale(1); }
.skeleton.row { height: 130px; }
.menu-cat-head { position: relative; }

/* --- Basket: sticky panel on desktop, drawer on mobile --- */
.basket-panel { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); }
@media (max-width: 1199px) {
  .basket-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 100; transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s; border-width: 0 0 0 1px; }
  .basket-panel.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
}
@media (min-width: 1200px) {
  .basket-panel { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); border-radius: var(--radius); overflow: hidden; }
  .basket-panel .basket-close { display: none; }
  .basket-panel .drawer-head h2 { font-size: 1.5rem; }
  .mobile-basket-bar { display: none !important; }
}
.basket-panel .drawer-head { padding: 14px 18px; }
.basket-panel .drawer-body { padding: 12px 18px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.basket-panel .drawer-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.bk-where { font-size: .85rem; color: var(--muted); margin: -6px 0 6px; }
.bk-where button { background: none; border: 0; color: var(--orange); text-decoration: underline; cursor: pointer; padding: 0; font: inherit; }
.basket-line .opts span { display: block; }
.basket-line .line-actions .link-btn.edit { color: var(--orange); }
.totals .points { color: var(--amber); }
.totals .earn { color: var(--muted); font-size: .82rem; justify-content: center; padding-top: 8px; }
@media (min-width: 1200px) { .mobile-basket-bar { display: none; } }

/* --- Product customisation popup --- */
.product-modal { overflow: hidden; }
@media (min-width: 720px) { .product-modal { width: min(620px, 94vw); } }
.product-modal .modal-close { z-index: 3; }
.pm-head { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 8px; }
@media (min-width: 520px) { .pm-head { grid-template-columns: 150px 1fr; align-items: start; } }
.pm-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--surface-2); }
@media (max-width: 519px) { .pm-head img { aspect-ratio: 16 / 9; } }
.pm-head h2 { font-size: 1.9rem; margin-right: 44px; }
.pm-head .muted { margin-bottom: 6px; font-size: .92rem; }
.pm-price { font-weight: 800; margin: 0; }
.pm-price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.opt-group { background: var(--surface); border: 1px solid var(--line) !important; border-radius: 14px; padding: 12px !important; }
.opt-group legend { float: left; width: 100%; padding: 0 0 8px !important; margin: 0 !important; }
.opt-group legend + * { clear: both; }
.opt-group .req.opt-badge { background: var(--surface-3); color: var(--muted); }
.opt-group .counter { font-size: .78rem; font-weight: 700; color: var(--muted); margin-left: 6px; }
.opt-group.complete .counter { color: #6fe3a3; }
.opt-group .opt { background: var(--bg-2); }
.opt-qty { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 6px; background: var(--bg-2); }
.opt-qty.on { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 8%, var(--bg-2)); }
.opt-qty span { flex: 1; }
.opt-qty em { font-style: normal; color: var(--muted); font-size: .9rem; }
.opt-qty .qty { background: var(--surface); }
.opt-qty .qty button:disabled { opacity: .35; cursor: not-allowed; }
.pm-notes label { display: block; font-weight: 700; margin: 4px 0 6px; font-size: .92rem; }
.pm-add { flex: 1; }
.product-modal .modal-foot { flex-wrap: wrap; }
.deal-steps { list-style: none; padding: 0; margin: 0 0 14px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.deal-steps li { flex: 1 0 auto; display: flex; flex-direction: column; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--muted); min-width: 64px; }
.deal-steps li::before { content: ''; height: 4px; border-radius: 2px; background: var(--line); }
.deal-steps li.done::before { background: var(--green); }
.deal-steps li.current { color: var(--text); }
.deal-steps li.current::before { background: var(--grad); }
.deal-step-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--orange); font-weight: 800; margin: 0 0 8px; }
.review-list { list-style: none; padding: 0; margin: 0 0 14px; }
.review-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review-list li small { display: block; color: var(--muted); }
.review-list .edit-step { background: none; border: 0; color: var(--orange); cursor: pointer; text-decoration: underline; font: inherit; font-size: .82rem; padding: 0; }
.price-breakdown { background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.price-breakdown div { display: flex; justify-content: space-between; padding: 2px 0; }
.price-breakdown .grand { font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }

/* account link in header */
.account-btn { text-decoration: none; font-weight: 800; }
.account-btn .initial { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .85rem; }

.basket-panel .drawer-body { overflow-x: hidden; }
.basket-panel .basket-line { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
.basket-panel .basket-line img { width: 48px; height: 48px; }
.basket-panel .line-price { white-space: nowrap; }
.menu-cat { scroll-margin-top: calc(var(--header-h) + 140px); }
/* The off-screen basket drawer must never widen the page on phones. */
html, body { overflow-x: clip; }
.om-row { flex-wrap: wrap; }
.om-row .input { min-width: 170px; }
.om-row .btn { flex: 1 0 auto; }

/* ---------- Store notice ---------- */
.store-notice-bar { background: var(--surface-2); color: var(--text); font-size: .9rem; border-bottom: 1px solid var(--line); }
.store-notice-bar .container { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.store-notice-bar p { margin: 0; flex: 1; text-align: center; }
.store-notice-bar a { color: inherit; font-weight: 800; text-decoration: underline; }
.store-notice-bar .sn-close { background: none; border: 0; color: inherit; cursor: pointer; font-size: 1rem; width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; }
.store-notice-bar .sn-close:hover { background: rgba(255, 255, 255, .15); }
.store-notice-bar.notice-promo { background: var(--grad); color: #fff; border: 0; }
.store-notice-bar.notice-warning { background: #f5b301; color: #1c1300; border: 0; }
.store-notice-bar.notice-urgent { background: #b3140b; color: #fff; border: 0; }
.notice-modal { text-align: center; }
@media (min-width: 720px) { .notice-modal { width: min(460px, 92vw); } }
.notice-modal .sn-big { font-size: 2.6rem; line-height: 1; margin: 6px 0 10px; }
.notice-modal h2 { font-size: 2rem; }
.notice-modal.notice-urgent { border-top: 5px solid #b3140b; }
.notice-modal.notice-warning { border-top: 5px solid #f5b301; }
.notice-modal.notice-promo { border-top: 5px solid var(--orange); }

/* ---------- Front-page offer banner (inside the hero) ---------- */
.hero-offer { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; margin-top: 22px; padding: 12px 14px; max-width: 640px;
  background: rgba(10, 10, 12, .72); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); border-left: 4px solid var(--orange);
  border-radius: var(--radius); color: #fff; animation: heroOfferIn .6s var(--ease) .3s both; }
@keyframes heroOfferIn { from { opacity: 0; transform: translateY(10px); } }
.ho-badge { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; line-height: 1; padding: 8px 12px; border-radius: 10px; background: var(--grad); color: #fff; white-space: nowrap; }
.ho-text { flex: 1 1 200px; display: flex; flex-direction: column; min-width: 0; }
.ho-text strong { font-size: 1rem; }
.ho-text span { font-size: .86rem; color: rgba(255, 255, 255, .8); }
.hero-offer .chip.code { background: #fff; color: #111; }

/* /menu page: only the menu & ordering section is shown */
body.page-menu main > [data-section]:not([data-section="menu"]) { display: none !important; }
body.page-menu .order-section { padding-top: 28px; }

/* ===================== v6: pizza sizes & special offer builder ===================== */
.size-group .opt { font-weight: 700; }
.size-group .opt em { color: var(--text); font-weight: 800; }
.size-first-hint { margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 106, 19, .08); border: 1px dashed rgba(255, 106, 19, .45); color: var(--muted); font-size: .9rem; }
.incl { color: var(--green); font-style: normal; font-weight: 700; font-size: .78rem; }
.up { color: var(--amber); font-weight: 800; }
.deal-step-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.deal-step-head h3 { margin: 0; font-size: 1.2rem; }
.deal-step-head .hint { color: var(--muted); font-size: .85rem; display: inline-flex; gap: 8px; align-items: center; }
.deal-step-head .counter { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; font-weight: 800; color: var(--text); }
.deal-step-desc { margin: -4px 0 10px; font-size: .9rem; }
.deal-products { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.dp-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s; }
.dp-row.chosen { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.dp-row.sold-out { opacity: .55; }
.dp-row img { width: 56px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.dp-text strong { display: block; line-height: 1.2; }
.dp-text small { color: var(--muted); font-size: .8rem; }
.dp-sold { font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.deal-picks { border-top: 1px solid var(--line); padding-top: 10px; }
.deal-picks h4 { margin: 0 0 6px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.deal-picks ul { list-style: none; padding: 0; margin: 0; }
.deal-picks li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.deal-picks li small { display: block; color: var(--muted); font-size: .82rem; }
.deal-picks em, .dl-pick em { font-style: normal; color: var(--orange); font-weight: 700; font-size: .85em; }
.dpk-price { font-weight: 700; font-size: .85rem; color: var(--amber); }
.deal-custom { border: 1px solid var(--orange); border-radius: 14px; padding: 12px; background: rgba(255, 106, 19, .04); }
.dc-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.dc-head img { width: 64px; height: 56px; object-fit: cover; border-radius: 10px; }
.dc-head small { display: block; color: var(--muted); }
.product-modal.is-deal .pm-head img { width: 120px; }
.deal-lines { list-style: none; margin: 4px 0 0; padding: 0; font-size: .82rem; }
.deal-lines > li { margin: 0 0 4px; }
.dl-step { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.dl-pick { display: block; padding-left: 8px; border-left: 2px solid var(--line); }
.dl-pick small { display: block; color: var(--muted); }
.summary-line .deal-lines small, .summary-line .dl-pick small { display: block; }
@media (max-width: 520px) {
  .deal-picks li { grid-template-columns: minmax(0, 1fr) auto; }
  .deal-picks li .dpk-price { grid-column: 2; grid-row: 1; }
}
