/* Calimero Pizza – customer ordering site. Brand colours from calimero.co.nz */
:root {
  --green: #00543e;
  --green-dark: #003a29;
  --green-tint: #eef6f2;
  --red: #ee1c24;
  --red-dark: #b3151b;
  --cream: #fdf6ec;
  --yellow: #fedd00;
  --ink: #1d1d1b;
  --muted: #6b6b66;
  --line: #ece3d6;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
/* Safety net: nothing may make the page scroll sideways on a phone (clip keeps sticky headers working). */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--green); }
img { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header: one green bar, logo overlapping it, cart inside ---------- */
.topbar { background: var(--red); position: sticky; top: 0; z-index: 30; padding: 10px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.bar {
  max-width: 1240px; margin: 0 auto; background: var(--green); border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.18);
  display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 10px; min-height: 54px;
}
.logo-link { display: block; flex: 0 0 auto; margin-right: 6px; }
/* White outline around the logo, as on calimero.co.nz; it overhangs the green bar */
.logo {
  height: 64px; margin: -16px 0; position: relative; z-index: 1; transition: transform .25s var(--ease);
  filter: drop-shadow(1.6px 0 0 #fff) drop-shadow(-1.6px 0 0 #fff) drop-shadow(0 1.6px 0 #fff) drop-shadow(0 -1.6px 0 #fff) drop-shadow(0 4px 8px rgba(0,0,0,.25));
}
.logo-link:hover .logo { transform: rotate(-3deg) scale(1.04); }
/* overflow: hidden – on narrow screens the links are hidden but still take space; they must never widen the page. */
.mainnav-inner { flex: 1; display: flex; justify-content: center; gap: 2px; flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.nav-link {
  border: 0; background: transparent; color: var(--white); font-weight: 700; font-size: 14.5px; padding: 9px 12px; border-radius: 10px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link:focus-visible { background: rgba(255,255,255,.14); }
.nav-link.active { background: var(--white); color: var(--green); }
.nav-link .ext { font-size: 11px; opacity: .7; }
.cart-btn {
  position: relative; background: var(--white); color: var(--red); border: 0; border-radius: 12px; flex: 0 0 auto;
  height: 42px; padding: 0 14px 0 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn .badge-count {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px;
  background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--green);
}
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 60% { transform: scale(.94); } 100% { transform: scale(1); } }
.menu-toggle { display: none; border: 0; background: rgba(255,255,255,.14); color: var(--white); width: 42px; height: 42px; border-radius: 12px; place-items: center; flex: 0 0 auto; }
.menu-toggle svg { width: 22px; height: 22px; }
.taglines { display: none; }
@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .mainnav-inner { visibility: hidden; }
}
@media (max-width: 560px) {
  .topbar { padding: 8px 10px; }
  .logo { height: 54px; margin: -12px 0; }
  .cart-btn { padding: 0 10px; }
}
/* Slide-in navigation (phones) */
.drawer.from-left { left: 0; right: auto; top: 0; bottom: 0; width: min(330px, 86vw); max-height: none; border-radius: 0 22px 22px 0; transform: translateX(-100%); }
.drawer.from-left.open { transform: none; }
.navlist { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.navlist .nav-link { color: var(--ink); font-size: 17px; padding: 13px 12px; justify-content: flex-start; }
.navlist .nav-link:hover { background: var(--green-tint); }
.navlist .nav-link.active { background: var(--green); color: var(--white); }
.navlist .ico { width: 30px; text-align: center; font-size: 18px; }
.nav-perks { margin-top: 16px; padding: 14px; background: var(--cream); border-radius: 14px; font-size: 14px; font-weight: 700; color: var(--green); display: grid; gap: 6px; }
/* Info drawers */
.info-grid { display: grid; gap: 10px; margin-top: 8px; }
.info-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; }
.info-card h4 { margin: 0 0 4px; color: var(--green); font-size: 17px; }
.info-card p { margin: 2px 0; font-size: 14px; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; }
.hours tr.today { font-weight: 800; color: var(--green); }
.size-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; text-align: center; }
.size-visual .ring { margin: 0 auto 8px; border-radius: 50%; background: url('/img/menu/pizza/margherita.jpg') center / cover; box-shadow: var(--shadow); }
.special-hero { background: var(--yellow); border-radius: 16px; padding: 18px; text-align: center; margin-top: 8px; }
.special-hero b { display: block; font-size: 30px; font-weight: 900; color: var(--red); line-height: 1.1; }
.topbar .spacer { flex: 1; }
.cart-btn {
  position: relative; background: var(--white); color: var(--red); border: 0; border-radius: 999px;
  height: 42px; padding: 0 14px 0 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn .badge-count {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px;
  background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--red);
}
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 60% { transform: scale(.94); } 100% { transform: scale(1); } }
.taglines { display: none; background: var(--green); color: var(--white); font-size: 12.5px; font-weight: 600; display: flex; justify-content: center; gap: 18px; padding: 6px 16px; flex-wrap: wrap; }

main { max-width: 1240px; margin: 0 auto; padding: 0 16px 120px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin: 0 -16px; color: var(--white); overflow: hidden;
  background: var(--green-dark) center / cover no-repeat;
  min-height: 300px; display: flex; align-items: flex-end;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,30,20,.15) 0%, rgba(0,30,20,.55) 55%, rgba(0,30,20,.88) 100%); }
.hero-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 48px 16px 22px; }
.hero h1 { margin: 0; font-size: clamp(34px, 7vw, 56px); line-height: 1; letter-spacing: -1px; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { margin: 8px 0 0; font-size: 16px; opacity: .92; }
.orderbar {
  margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25); border-radius: 16px; padding: 8px; max-width: 720px;
}
.toggle { display: inline-flex; background: rgba(0,0,0,.25); border-radius: 12px; padding: 3px; }
.toggle button { border: 0; background: transparent; color: var(--white); padding: 9px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.toggle button[aria-pressed="true"] { background: var(--white); color: var(--green); }
.ob-btn {
  border: 0; background: var(--white); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; min-width: 0;
}
.ob-btn small { color: var(--muted); font-weight: 600; }
.ob-btn .caret { color: var(--muted); }
.notice { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.notice.warn { background: #ffe1e1; color: var(--red-dark); }
.notice.special { background: var(--yellow); color: var(--ink); }

/* ---------- Store chooser ---------- */
.store-list { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 760px) { .store-list { grid-template-columns: repeat(3, 1fr); } }
.store-card {
  position: relative; text-align: left; border: 0; border-radius: var(--radius); padding: 0; overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s;
}
.store-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.store-card .photo { aspect-ratio: 16 / 9; background: var(--green) center / cover; position: relative; }
.store-card .photo .status-pill { position: absolute; left: 12px; bottom: 12px; }
.store-card .body { padding: 14px 16px 16px; }
.store-card .eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); }
.store-card .name { font-size: 24px; font-weight: 900; color: var(--green); display: block; margin-top: 2px; }
.store-card .addr { font-size: 14px; color: var(--muted); display: block; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--green); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 5px 10px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1fa463; }
.status-pill.closed { color: var(--red-dark); }
.status-pill.closed::before { background: var(--red); }
.perks { display: grid; gap: 10px; margin: 22px 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.perk { background: var(--white); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 14px; }
.perk strong { display: block; color: var(--green); font-size: 15px; }

/* ---------- Toolbar: categories, search, sort ---------- */
.toolbar { position: sticky; top: var(--header-h, 64px); z-index: 20; background: var(--cream); margin: 0 -16px; padding: 10px 16px 8px; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.toolbar.stuck { border-color: var(--line); box-shadow: 0 6px 14px rgba(0,0,0,.05); }
.chips-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-row::-webkit-scrollbar { display: none; }
.cat-chip { flex: 0 0 auto; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; color: var(--green); transition: all .2s; }
.cat-chip:hover { border-color: var(--green); }
.cat-chip[aria-pressed="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.tools { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.tools .sort { flex: 0 0 auto; max-width: 42%; }
.search { flex: 1; position: relative; }
.search input { width: 100%; border: 1.5px solid var(--line); background: var(--white); border-radius: 12px; padding: 10px 12px 10px 38px; font-size: 15px; }
.search input:focus { outline: none; border-color: var(--green); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.sort { border: 1.5px solid var(--line); background: var(--white); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.result-count { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* ---------- Product grid ---------- */
.section-title { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 4px; scroll-margin-top: calc(var(--header-h, 64px) + 110px); }
.section-title h2 { margin: 0; color: var(--green); font-size: clamp(22px, 4vw, 30px); font-weight: 900; letter-spacing: -.5px; }
.section-desc { margin: 0 0 12px; color: var(--muted); font-size: 14px; max-width: 640px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card.reveal { opacity: 0; transform: translateY(14px); }
.card.reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.media {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #efe6d8;
  box-shadow: var(--shadow); cursor: pointer;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .45s ease; }
.media img.alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .media img { transform: scale(1.05); }
  .card:hover .media img.alt { opacity: 1; }
  .card.quick-open:hover .media img.alt { opacity: 0; }
}
.media .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; background: radial-gradient(circle at 30% 30%, #fff6e0, #f3d9b5); }
.tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.tag { font-size: 11px; font-weight: 800; border-radius: 8px; padding: 3px 8px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.tag.pop { background: var(--yellow); color: var(--ink); }
.tag.special { background: var(--red); color: var(--white); }
.tag.out { background: var(--ink); color: var(--white); }
/* Dietary badges on cards: V (vegetarian), GF (gluten-free base available) */
.diet { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 4px; }
.diet span { min-width: 26px; height: 26px; padding: 0 5px; border-radius: 13px; background: var(--white); color: var(--green); display: grid; place-items: center; font-size: 11.5px; font-weight: 900; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.diet span.gf { color: #8a5a00; }
.card.soldout .media img { filter: grayscale(.85); opacity: .7; }

/* quick-add panel that slides up over the photo */
.media { container-type: inline-size; }
.quick {
  position: absolute; inset: 0; z-index: 3; padding: 12px; justify-content: center;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(102%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 7px;
  max-height: 100%; overflow: auto;
}
.card.quick-open .quick { transform: none; }
.card.quick-open .tags, .card.quick-open .diet { opacity: 0; }
.size-pill > span:first-child { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
@container (max-width: 230px) {
  .quick { padding: 8px; gap: 6px; }
  .quick .q-title { font-size: 11px; }
  .size-pill { padding: 8px; font-size: 13.5px; border-radius: 10px; }
  .size-pill small { display: none; }
  .quick .q-custom { font-size: 12px; }
}
.quick .q-title { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.quick .q-close { border: 0; background: none; font-size: 18px; color: var(--ink); padding: 0 2px; line-height: 1; }
.size-pill {
  border: 2px solid var(--red); background: var(--white); color: var(--ink); border-radius: 12px; padding: 9px 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; transition: background .15s, color .15s;
}
.size-pill small { color: var(--muted); font-weight: 600; font-size: 11.5px; }
.size-pill:hover, .size-pill:focus-visible { background: var(--red); color: var(--white); }
.size-pill:hover small, .size-pill:focus-visible small { color: rgba(255,255,255,.85); }
.quick .q-custom { border: 0; background: none; color: var(--green); font-weight: 700; font-size: 13px; text-decoration: underline; padding: 2px 0 0; }

.card .name { margin: 12px 0 0; font-weight: 800; font-size: 16px; color: var(--red); line-height: 1.2; cursor: pointer; }
.card .desc { margin: 4px 0 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card .price { margin: 8px 0 10px; font-size: 18px; font-weight: 800; color: var(--green-dark); }
.card .price s { color: var(--muted); font-weight: 600; font-size: 14px; margin-left: 6px; }
.card .price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.add-btn {
  margin-top: auto; border: 0; border-radius: 12px; background: var(--red); color: var(--white); font-weight: 800; font-size: 15px;
  padding: 12px 10px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, transform .1s;
}
.add-btn:hover { background: var(--red-dark); }
.add-btn:active { transform: scale(.98); }
.add-btn.added { background: var(--green); }
.add-btn:disabled { background: #cfc7bb; cursor: not-allowed; }
@media (max-width: 420px) { .card .name { font-size: 15px; } .card .price { font-size: 16px; } .add-btn { font-size: 14px; padding: 11px 6px; } }

/* fly-to-cart ghost */
.fly { position: fixed; z-index: 100; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: var(--shadow-lg); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Drawers (side on desktop, bottom on mobile) ---------- */
.backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(10,20,15,.5); opacity: 0; transition: opacity .3s; }
.backdrop.open { opacity: 1; }
.drawer {
  position: fixed; z-index: 51; background: var(--white); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  left: 0; right: 0; bottom: 0; max-height: 92vh; border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.drawer.open { transform: none; }
@media (min-width: 760px) {
  .drawer { left: auto; top: 0; bottom: 0; width: 460px; max-height: none; border-radius: 22px 0 0 22px; transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) { .drawer, .backdrop, .quick, .card.reveal { transition: none !important; } }
.drawer-scroll { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.drawer-hero { position: relative; aspect-ratio: 16 / 10; background: #efe6d8; flex: 0 0 auto; }
.drawer-hero img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.drawer-hero img.alt { position: absolute; inset: 0; opacity: 0; }
.drawer-hero.flip { cursor: pointer; }
.drawer-hero.flip.show-alt img.alt { opacity: 1; }
@media (hover: hover) { .drawer-hero.flip:hover img.alt { opacity: 1; } .drawer-hero.flip.show-alt:hover img.alt { opacity: 1; } }
.flip-hint { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(0,0,0,.55); color: var(--white); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; pointer-events: none; }
.drawer-hero .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 80px; background: radial-gradient(circle at 30% 30%, #fff6e0, #f3d9b5); }
.drawer-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); font-size: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.drawer-head { padding: 16px 18px 6px; }
.drawer-head h3 { margin: 0; font-size: 24px; font-weight: 900; color: var(--green); letter-spacing: -.3px; }
.drawer-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.drawer-head.plain { display: flex; align-items: center; gap: 10px; padding: 18px; border-bottom: 1px solid var(--line); }
.drawer-head.plain h3 { flex: 1; }
.drawer-head.plain .drawer-close { position: static; box-shadow: none; background: #f3efe8; }
.drawer-body { padding: 0 18px 16px; }
.drawer-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; background: var(--white); }

fieldset { border: 0; padding: 0; margin: 18px 0 0; }
legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; padding: 0; display: flex; gap: 8px; align-items: baseline; width: 100%; }
legend .hint { font-weight: 500; color: var(--muted); font-size: 13px; }
legend .req { margin-left: auto; font-size: 11px; font-weight: 800; background: var(--yellow); border-radius: 6px; padding: 1px 7px; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; transition: all .15s; }
.size-opt b { display: block; font-size: 16px; }
.size-opt small { color: var(--muted); }
.size-opt em { display: block; font-style: normal; font-weight: 800; color: var(--green); margin-top: 4px; }
.size-opt input:checked + span { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 1px var(--green) inset; }
.size-opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 6px; cursor: pointer; background: var(--white); transition: all .15s; }
.opt:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.opt input { width: 20px; height: 20px; accent-color: var(--green); margin: 0; flex: 0 0 auto; }
.opt .label { flex: 1; }
.opt .detail { color: var(--muted); font-size: 13px; }
.opt .p { color: var(--muted); font-size: 14px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 12px; font-size: 14px; transition: all .15s; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); text-decoration: line-through; }
.chip.extra[aria-pressed="true"] { background: var(--green); border-color: var(--green); text-decoration: none; }
details.more { margin-top: 18px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; }
details.more summary { font-weight: 800; cursor: pointer; }
details.more[open] summary { margin-bottom: 10px; }
.halves { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.half { text-align: center; }
.half .disc { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #efe6d8; border: 3px dashed #d8c9b3; display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: 13px; }
.half .disc img { width: 100%; height: 100%; object-fit: cover; }
.half.left .disc { clip-path: inset(0 0 0 0); }
.note { font-size: 13px; color: var(--muted); margin-top: 6px; }
label.field { display: block; margin-top: 14px; font-weight: 700; font-size: 14px; }
label.field input, label.field textarea, label.field select, .select {
  display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1.5px solid #d9cfbf; border-radius: 12px; background: var(--white); font-weight: 400; font-size: 16px;
}
label.field input:focus, label.field textarea:focus, .select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,84,62,.15); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); flex: 0 0 auto; }
.stepper button { border: 0; background: #f3efe8; width: 40px; height: 42px; font-size: 20px; font-weight: 800; }
.stepper span { min-width: 34px; text-align: center; font-weight: 800; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { padding: 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); font-weight: 800; }
.seg button[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); color: var(--green); }

/* ---------- Buttons ---------- */
.btn { border: 0; border-radius: 14px; padding: 14px 18px; font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(238,28,36,.3); }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:disabled { background: #d9a3a5; box-shadow: none; cursor: not-allowed; }
.btn-secondary { background: var(--white); color: var(--green); border: 2px solid var(--green); }
.btn-link { background: none; border: 0; color: var(--green); font-weight: 700; padding: 6px 0; text-decoration: underline; }
.btn-block { width: 100%; }
.btn .grow { flex: 1; text-align: left; }

/* ---------- Floating checkout ---------- */
.cartbar {
  position: fixed; z-index: 25; display: flex; gap: 8px;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
}
.cartbar button { border: 0; border-radius: 16px; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.fc-view { background: var(--white); color: var(--green); padding: 14px 14px; }
.fc-view .count { background: var(--green); color: var(--white); border-radius: 999px; padding: 1px 9px; font-size: 14px; }
.fc-go { flex: 1; background: var(--red); color: var(--white); padding: 14px 18px; justify-content: space-between; }
.fc-go:hover { background: var(--red-dark); }
.fc-go b { margin-left: auto; }
.pop-in { animation: popIn .5s var(--ease); }
@keyframes popIn { 0% { transform: translateY(40px) scale(.9); opacity: 0; } 70% { transform: translateY(-4px) scale(1.02); opacity: 1; } 100% { transform: none; } }
@media (min-width: 760px) {
  .cartbar { left: auto; right: 24px; bottom: 24px; }
  .fc-go { flex: 0 0 auto; border-radius: 999px; padding: 14px 22px; gap: 14px; }
  .fc-go::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat; }
  .upsell-pop { bottom: 92px; }
  .toast { bottom: 96px; }
}
@media (max-width: 759px) { .toast { bottom: 92px; } }
/* ---------- Cart lines ---------- */
.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: #efe6d8; display: grid; place-items: center; font-size: 26px; }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .body { flex: 1; min-width: 0; }
.line .name { font-weight: 800; }
.line .mods { font-size: 13px; color: var(--muted); }
.line .actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line .actions .stepper button { width: 34px; height: 34px; font-size: 18px; }
.line .amt { font-weight: 800; white-space: nowrap; }
.totals { margin-top: 12px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 900; font-size: 18px; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 8px; }
.totals .small { color: var(--muted); font-size: 13px; }
.errors { background: #ffe1e1; color: var(--red-dark); border-radius: 12px; padding: 10px 12px; margin-top: 12px; font-size: 14px; }
.errors:empty { display: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.empty .big { font-size: 48px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 60; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--white); border-radius: 14px; padding: 10px 10px 10px 14px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); transition: all .35s var(--ease); width: max-content; max-width: calc(100vw - 32px); font-size: 14px; font-weight: 600;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast button { border: 0; background: var(--yellow); color: var(--ink); font-weight: 800; border-radius: 10px; padding: 8px 12px; white-space: nowrap; }
@media (min-width: 760px) { .toast { bottom: 28px; } }

/* ---------- Checkout / pay / confirmation ---------- */
.panel { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); max-width: 600px; margin: 18px auto; }
.card-page { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); max-width: 560px; margin: 18px auto; }
.progress { list-style: none; padding: 0; margin: 16px 0; }
.progress li { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--muted); font-weight: 700; }
.progress li .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 14px; flex: 0 0 auto; }
.progress li.done { color: var(--green); }
.progress li.done .dot { background: var(--green); border-color: var(--green); color: var(--white); }
.progress li.current .dot { border-color: var(--green); }
.big-check { width: 68px; height: 68px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-size: 36px; margin: 0 auto 10px; }
.test-banner { background: var(--yellow); text-align: center; font-weight: 800; padding: 8px; font-size: 14px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 16px 40px; }

/* Marketing consent */
.consent { margin-top: 20px; padding: 14px; background: var(--cream); border-radius: 14px; }
.consent .opt { background: var(--white); align-items: flex-start; }
.consent .opt input { margin-top: 2px; }
.consent .label { font-size: 14px; }

/* ---------- Deals ---------- */
.deal-chip { border-color: var(--red); color: var(--red); }
.deal-chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.deal-media { display: grid; gap: 3px; background: var(--green); padding: 3px; }
.deal-media img { border-radius: 12px; }
.deal-media.n1 { grid-template-columns: 1fr; }
.deal-media.n2 { grid-template-columns: 1fr 1fr; }
.deal-media.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.deal-media.n3 img:first-child { grid-row: span 2; }
.deal-media.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.deal-media img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.deal-count { position: absolute; right: 10px; bottom: 10px; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 12px; border-radius: 999px; padding: 4px 10px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.deal-card .name { color: var(--green); }
.deal-btn { background: var(--green); }
.deal-btn:hover { background: var(--green-dark); }

/* Deal builder (like Pick n Save) */
.db-head { padding: 16px 0 6px; }
.db-head h1 { margin: 6px 0 2px; color: var(--green); font-size: clamp(26px, 5vw, 38px); font-weight: 900; letter-spacing: -.5px; }
.db-head p { margin: 0; }
.db-layout { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 900px) { .db-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.db-tabs { margin-bottom: 12px; }
.db-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .db-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.db-card .desc { min-height: 0; -webkit-line-clamp: 1; }
.db-card .add-btn { margin-top: 10px; }
.picked { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: var(--green); color: var(--white); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 4px 10px; }
.db-panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; position: sticky; top: calc(var(--header-h, 80px) + 12px); }
.db-panel-head { display: flex; justify-content: space-between; align-items: center; }
.db-panel h3 { margin: 0; font-size: 22px; color: var(--green); font-weight: 900; }
.db-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; margin: 12px 0; }
.db-tier { border: 1.5px solid var(--line); background: var(--white); border-radius: 10px; padding: 7px; text-align: center; font-size: 12px; line-height: 1.2; transition: all .15s; }
.db-tier b { display: block; font-size: 12px; }
.db-tier span { color: var(--muted); font-weight: 700; }
.db-tier[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.db-tier[aria-pressed="true"] span { color: rgba(255,255,255,.85); }
.db-progress { height: 8px; background: #eee6da; border-radius: 99px; overflow: hidden; }
.db-progress div { height: 100%; background: linear-gradient(90deg, var(--red), #ff6a3d); border-radius: 99px; transition: width .4s var(--ease); }
.db-status { font-weight: 800; margin: 8px 0; font-size: 14px; }
.db-slots { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 42vh; overflow: auto; }
.db-slots li { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 6px; }
.db-slots .thumb { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center; font-size: 22px; background: #f3efe8; }
.db-slots .thumb img { width: 100%; height: 100%; object-fit: cover; }
.db-slots .nm { flex: 1; font-weight: 700; font-size: 14px; line-height: 1.2; min-width: 0; }
.db-slots .nm small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.db-slots .empty-slot { border: 2px dashed #ddd2c2; cursor: pointer; color: var(--muted); }
.db-slots .empty-slot .thumb { background: transparent; }
.db-slots .filled { background: var(--green-tint); }
.db-slots .x { border: 0; background: var(--white); width: 30px; height: 30px; border-radius: 50%; }
.free-badge { background: var(--yellow); font-weight: 900; font-size: 11px; border-radius: 6px; padding: 2px 6px; }
.db-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-weight: 700; }
.db-total b { font-size: 24px; color: var(--green-dark); }
.db-save { color: var(--red); font-weight: 800; text-align: right; margin-bottom: 8px; }
.db-panel .btn { margin-top: 8px; }
@media (max-width: 899px) {
  .db-layout { padding-bottom: 230px; }
  .db-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 26; border-radius: 20px 20px 0 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,.15); }
  .db-tiers, .db-panel .note { display: none; }
  .db-slots { grid-auto-flow: column; grid-auto-columns: 46px; overflow-x: auto; max-height: none; margin-top: 6px; }
  .db-slots li { padding: 0; background: none !important; border: 0 !important; }
  .db-slots li .nm, .db-slots li .x, .db-slots .free-badge { display: none; }
  .db-slots .empty-slot .thumb { border: 2px dashed #ddd2c2; }
  .db-total { margin-top: 6px; }
  .db-total b { font-size: 20px; }
}

/* ---------- Upsell ---------- */
.up-title { margin: 4px 0 8px; font-weight: 900; color: var(--green); font-size: 15px; }
.mini { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 6px; transition: all .2s; }
.mini + .mini { margin-top: 6px; }
.mini-img { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center; font-size: 24px; background: #f3efe8; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-body { flex: 1; min-width: 0; line-height: 1.2; }
.mini-body b { display: block; font-size: 14px; }
.mini-body span { color: var(--muted); font-size: 13px; font-weight: 600; }
.mini-add { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--red); color: var(--white); font-size: 22px; font-weight: 800; flex: 0 0 auto; line-height: 1; }
.mini.added { border-color: var(--green); background: var(--green-tint); }
.mini.added .mini-add { background: var(--green); }
.upsell-pop {
  position: fixed; z-index: 60; right: 20px; bottom: 24px; width: 330px; max-width: calc(100vw - 24px); background: var(--white); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 12px; transform: translateY(30px); opacity: 0; pointer-events: none; transition: all .35s var(--ease);
}
.upsell-pop.show { transform: none; opacity: 1; pointer-events: auto; }
.up-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; color: var(--green); }
.up-close { border: 0; background: #f3efe8; border-radius: 50%; width: 28px; height: 28px; }
.up-view { display: block; margin: 8px auto 0; font-size: 14px; }
@media (max-width: 759px) { .upsell-pop { left: 12px; right: 12px; width: auto; bottom: 86px; } }
.complete { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.mini-row { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.mini.col { flex-direction: column; text-align: center; padding: 8px; position: relative; margin: 0; }
.mini.col .mini-img { width: 100%; height: 86px; }
.mini.col .mini-add { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; font-size: 19px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.mini.big .mini-img { width: 76px; height: 76px; }
.mini.big { padding: 8px; }
.sweet-list { padding-top: 8px; }
.lc-h { margin: 16px 0 0; font-weight: 900; color: var(--green); font-size: 15px; }
.lc-h:first-child { margin-top: 4px; }
.mini.has-opts { align-items: flex-start; }
.mini-opts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.mini-opts .chip { padding: 5px 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.mini-opts .chip[aria-pressed=true] { border-color: var(--green); background: var(--green-tint); color: var(--green); text-decoration: none; }
.deal-swap { margin-top: 14px; display: flex; gap: 10px; align-items: center; background: #fff4c2; border: 1.5px solid var(--yellow); border-radius: 14px; padding: 10px 12px; }
.deal-swap div { flex: 1; font-size: 14px; }
.deal-swap span { display: block; color: var(--muted); font-size: 13px; }
.deal-swap .btn { padding: 10px 14px; font-size: 14px; box-shadow: none; }
.bundle-card .name, .feast-card .name { color: var(--red); }
.bundle-btn { background: var(--red); }
.feast-card .deal-btn { background: var(--yellow); color: var(--ink); }
.feast-card .deal-btn:hover { background: #f2cf00; }
.contents { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.contents li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.paychoice { margin-top: 20px; }
.paychoice .detail { color: var(--muted); font-size: 13px; }

/* Grouped toppings and add-ons in the options panel */
.ing-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; padding-bottom: 2px; }
.ing-tabs::-webkit-scrollbar { display: none; }
.ing-tab { flex: 0 0 auto; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 13.5px; color: var(--green); }
.ing-tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.ing-count:not(:empty) { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--yellow); color: var(--ink); font-size: 11px; margin-left: 4px; padding: 0 4px; }
.extras { background: var(--cream); border-radius: 14px; padding: 12px; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.addon { position: relative; border: 2px solid var(--line); background: var(--white); border-radius: 14px; padding: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; transition: all .15s; }
.addon-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; display: grid; place-items: center; font-size: 26px; background: #f3efe8; }
.addon-img img { width: 100%; height: 100%; object-fit: cover; }
.addon-name { font-weight: 700; font-size: 13px; line-height: 1.15; }
.addon-price { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.addon[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
.addon[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: 13px; }

/* Cart upgrades */
.upgrades { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.upgrade { display: flex; align-items: center; gap: 10px; background: #fff7d6; border: 1.5px solid #f5df7a; border-radius: 14px; padding: 10px 12px; }
.upgrade + .upgrade { margin-top: 6px; }
.upgrade div { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; }
.upgrade span { display: block; color: var(--muted); font-size: 12.5px; }
.mini-add.wide { width: auto; border-radius: 999px; padding: 0 14px; font-size: 14px; height: 36px; }

/* ---------- Deals row (menu page) ---------- */
.deal-row { margin: 22px 0 6px; }
.deal-row-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.deal-row-head h2 { margin: 0; color: var(--green); font-size: clamp(22px, 4vw, 28px); font-weight: 900; letter-spacing: -.5px; }
.deal-row-head .btn-link { margin-left: auto; }
.deal-row-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-pill { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 700; color: var(--green); }
.mini-pill[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.deal-scroller { position: relative; }
.deal-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; overscroll-behavior-x: contain;
}
.deal-track > .card { scroll-snap-align: start; }
.deal-track .deal-card .contents, .deal-track .deal-card .desc { font-size: 12.5px; }
.deal-track .deal-card .contents li:nth-child(n+4) { display: none; }
.scroll-btn {
  position: absolute; top: 34%; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--green); font-size: 26px; font-weight: 900; box-shadow: var(--shadow-lg); display: none; line-height: 1;
}
.scroll-btn.prev { left: -10px; }
.scroll-btn.next { right: -10px; }
@media (hover: hover) and (min-width: 760px) { .scroll-btn { display: grid; place-items: center; } }
@media (max-width: 560px) { .deal-track { grid-auto-columns: 72%; } }

/* ---------- Deals side tab (like Crazy Candies) ---------- */
.deals-tab {
  position: fixed; right: 0; top: 46%; z-index: 24; border: 0; background: var(--red); color: var(--white);
  border-radius: 12px 0 0 12px; padding: 14px 9px; font-weight: 900; font-size: 14px; letter-spacing: .5px;
  box-shadow: -4px 4px 14px rgba(0,0,0,.2); writing-mode: vertical-rl; transform: rotate(180deg); transform-origin: center;
  transition: padding .2s;
}
.deals-tab:hover { padding-right: 13px; }
.deals-tab span { display: inline-block; }
body:has(.drawer.open) .deals-tab { display: none; }
.deal-list { display: grid; gap: 8px; }
.deal-li { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 6px; }
.deal-li-img { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; padding: 2px; gap: 2px; }
.deal-li-img img { border-radius: 6px; }
.deal-li-body { flex: 1; min-width: 0; line-height: 1.25; }
.deal-li-body b { display: block; font-size: 15px; color: var(--green); }
.deal-li-body span { display: block; font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-li-body em { font-style: normal; font-weight: 900; color: var(--red); font-size: 14px; }

/* ---------- Deals inside the hero banner ---------- */
.hero-menu { min-height: 0; }
.hero-split { display: grid; gap: 18px; align-items: end; padding-top: 28px; }
@media (min-width: 1000px) { .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; padding-top: 36px; } }
.hero-text { min-width: 0; }
.hero-deals { min-width: 0; }
.hero-deals .deal-row { margin: 0; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 12px 12px 4px; }
.hero-deals .deal-row-head { margin-bottom: 8px; gap: 8px; }
.hero-deals .deal-row-head h2 { color: var(--white); font-size: 20px; }
.hero-deals .deal-row-head .btn-link { color: var(--yellow); }
.hero-deals .mini-pill { background: rgba(255,255,255,.9); border-color: transparent; padding: 4px 10px; font-size: 12.5px; }
.hero-deals .mini-pill[aria-pressed="true"] { background: var(--red); color: var(--white); }
.hero-deals .deal-track { grid-auto-columns: minmax(190px, 210px); gap: 12px; padding-bottom: 10px; scrollbar-width: none; }
.hero-deals .deal-track::-webkit-scrollbar { display: none; }
.hero-deals .deal-card { background: var(--white); border-radius: 16px; padding: 8px; color: var(--ink); }
.hero-deals .deal-card .media { border-radius: 12px; box-shadow: none; }
.hero-deals .deal-card .name { margin-top: 8px; font-size: 15px; }
.hero-deals .deal-card .desc, .hero-deals .deal-card .contents { display: none; }
.hero-deals .deal-card .price { margin: 4px 0 8px; font-size: 16px; }
.hero-deals .deal-card .add-btn { padding: 9px 8px; font-size: 13.5px; }
.hero-deals .scroll-btn { top: 30%; width: 36px; height: 36px; font-size: 22px; }
.hero-deals .scroll-btn.prev { left: -6px; }
.hero-deals .scroll-btn.next { right: -6px; }
@media (max-width: 999px) { .hero-deals .deal-track { grid-auto-columns: 46%; } }
@media (max-width: 560px) {
  .hero-split { padding-top: 22px; }
  .hero-menu h1 { font-size: 34px; }
  .hero-deals .deal-track { grid-auto-columns: 58%; }
  .hero-deals .deal-row-filters { display: none; }
}

/* ---------- Contact / catering form ---------- */
.enq-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 4px; }
.enq-type { border: 2px solid var(--line); background: var(--white); border-radius: 14px; padding: 12px 10px; display: flex; align-items: center; gap: 8px; font-size: 14px; text-align: left; transition: all .15s; }
.enq-type .ico { font-size: 22px; }
.enq-type[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-done { text-align: center; padding: 20px 0 4px; }
.enq-done h3 { margin: 4px 0; color: var(--green); }

/* ---------- Account & rewards ---------- */
.acct-btn { flex: 0 0 auto; border: 0; height: 42px; border-radius: 12px; padding: 0 12px; background: rgba(255,255,255,.14); color: var(--white); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.acct-btn:hover { background: rgba(255,255,255,.22); }
.acct-btn svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .acct-btn .acct-label { display: none; } .acct-btn { padding: 0 10px; } }
.rewards-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 6px; }
.ri { background: var(--cream); border-radius: 12px; padding: 10px; text-align: center; font-size: 12.5px; line-height: 1.25; }
.ri b { display: block; color: var(--green); font-size: 14px; }
.test-code { background: var(--yellow); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 12px 0 0; }
.test-code b { font-size: 18px; letter-spacing: 2px; }
.points-card { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); border-radius: 18px; padding: 16px; }
.points-card .muted { color: rgba(255,255,255,.7); }
.points-card .note { color: rgba(255,255,255,.8); }
.pc-top { display: flex; justify-content: space-between; font-weight: 700; }
.pc-points { margin-top: 6px; font-size: 16px; }
.pc-points b { font-size: 44px; font-weight: 900; color: var(--yellow); }
.pc-avail { background: rgba(255,255,255,.15); border-radius: 10px; padding: 6px 10px; font-weight: 700; font-size: 14px; margin-top: 6px; }
.acct-h { margin: 18px 0 8px; color: var(--green); font-size: 18px; }
.past-orders { display: grid; gap: 8px; }
.past { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.past-top { display: flex; justify-content: space-between; font-size: 14px; }
.past-items { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.past-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }
.small-btn { padding: 8px 12px; font-size: 14px; box-shadow: none; }
.hist { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.hist b { color: var(--green); }
.hist b.neg { color: var(--red); }
.rewards-box { margin-top: 14px; }
.rewards-box .rb-head { display: flex; gap: 10px; align-items: center; background: var(--green-tint); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.rewards-box .rb-head span { display: block; color: var(--muted); }
.rb-star { font-size: 26px; }
.rb-join { background: #fff7d6; border-color: #f5df7a; align-items: flex-start; }
.rb-join .detail { display: block; margin-top: 2px; }
.totals .discount { color: var(--green); font-weight: 700; }
.welcome-back { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; margin-top: 14px; border-left: 5px solid var(--red); }
.wb-ico { font-size: 26px; }
.wb-text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; }
.wb-text span { color: var(--muted); }
.wb-x { border: 0; background: #f3efe8; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; }
@media (max-width: 560px) { .welcome-back { flex-wrap: wrap; } .wb-text { flex-basis: calc(100% - 80px); } }

/* Rewards side tab (under Deals) and email confirmation */
.deals-tab { top: 34%; }
.rewards-tab { top: calc(34% + 112px); background: var(--green); }
@media (max-height: 640px) { .deals-tab { top: 20%; } .rewards-tab { top: calc(20% + 112px); } }
.rb-auto { background: #fff7d6 !important; }
.confirm-email { margin-top: 12px; background: #fff7d6; border: 1.5px solid #f5df7a; border-radius: 14px; padding: 12px; display: grid; gap: 6px; font-size: 14px; }
.confirm-email span { color: var(--muted); font-size: 13px; }
.confirm-email .btn { justify-self: start; }

/* Promo code */
.promo-box { margin-top: 18px; padding: 12px; border: 1.5px dashed var(--line); border-radius: 14px; }
.promo-row { display: flex; gap: 8px; margin-top: 6px; }
.promo-row input { flex: 1; margin: 0 !important; }
.promo-ok { color: var(--green); font-weight: 700; }
.promo-bad { color: var(--red-dark); font-weight: 700; }
.rewards-box .rb-head b span, #earnPts { display: inline !important; color: inherit; }

/* Delivery address search */
.addr-wrap { position: relative; }
.addr-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; list-style: none; margin: 4px 0 0; padding: 4px; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 260px; overflow: auto; }
.addr-list button { width: 100%; text-align: left; border: 0; background: none; padding: 10px 10px; border-radius: 8px; font-size: 14px; }
.addr-list button:hover, .addr-list button:focus { background: var(--green-tint); }
.addr-result { margin-top: 6px; font-size: 14px; font-weight: 700; }
.addr-result.ok { color: var(--green); }
.addr-result.bad { color: var(--red-dark); }
.addr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.test-note { background: #fff7d6; border-radius: 10px; padding: 8px 10px; }

/* Calimero Rewards: points on products, checkout panel, Rewards Store */
.earn-pts { margin: -4px 0 10px; font-size: 12.5px; font-weight: 700; color: var(--green); }
.earn-note { margin: 0 0 12px; background: var(--green-tint); color: var(--green-dark); border-radius: 12px; padding: 8px 12px; font-size: 14px; }
.reward-chip { font-size: 13px; font-weight: 800; color: var(--green); background: var(--green-tint); border-radius: 999px; padding: 6px 10px; }
.totals .earn-row { color: var(--green); font-weight: 700; }
.rewards-box .rb-head .rb-bonus { color: var(--green); font-weight: 700; margin-top: 2px; }
.rb-rows { margin-top: 8px; border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 12px; font-size: 14px; display: grid; gap: 4px; }
.rb-rows div { display: flex; justify-content: space-between; gap: 10px; }
.rb-rows .rb-total { border-top: 1px dashed var(--line); padding-top: 6px; margin-top: 2px; font-size: 15px; color: var(--green-dark); }
.pc-pending { font-size: 13.5px; color: rgba(255,255,255,.85); margin-top: 2px; }
.rs-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 10px; }
.rs-intro h1 { margin: 0 0 6px; color: var(--green); font-size: 32px; font-weight: 900; line-height: 1.1; }
.rs-intro p { margin: 0 0 12px; color: var(--muted); }
.rs-intro .ri { background: var(--white); box-shadow: var(--shadow); }
.rs-balance .btn { margin-top: 10px; }
.rs-stores { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.reward-card .tag.pts { background: var(--green); color: var(--white); }
.reward-card .price .free { display: inline-block; margin-left: 6px; background: var(--yellow); color: var(--ink); border-radius: 6px; padding: 1px 7px; font-size: 13px; font-weight: 900; }
.reward-card .need { font-size: 13.5px; color: var(--red-dark); margin: -2px 0 8px; }
@media (max-width: 760px) {
  .rs-head { grid-template-columns: minmax(0, 1fr); }
  .rs-intro h1 { font-size: 26px; }
}
/* Order confirmation: points earned */
.points-done { margin-top: 14px; background: var(--green-tint); border-radius: 16px; padding: 14px 16px; color: var(--green-dark); }
.points-done > b { display: block; font-size: 19px; color: var(--green); }
.points-done > span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.points-done .pd-rows { margin: 10px 0 8px; display: grid; gap: 3px; font-size: 14.5px; }
.points-done .pd-rows div { display: flex; justify-content: space-between; }
.points-done .pd-total { border-top: 1px dashed rgba(0,84,62,.3); padding-top: 5px; margin-top: 3px; font-size: 16px; }
.points-done a { font-weight: 700; color: var(--green); }

/* Tuesday special pop-up */
.tue-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.tue-tile { background: var(--green); color: #fff; border-radius: 16px; padding: 16px 12px 14px; text-align: center; display: grid; gap: 2px; }
.tue-tile span { font-size: 13px; font-weight: 700; opacity: .9; }
.tue-tile b { font-size: 40px; font-weight: 900; line-height: 1.05; color: var(--yellow); letter-spacing: -.02em; }
.tue-tile small { font-size: 12px; opacity: .8; }
.tue-sub { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 14px; }
.tue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tue-list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.tue-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 900; font-size: 12px; display: grid; place-items: center; }

/* Checkout: earn points or fast checkout */
.co-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 4px; }
.co-mode button { text-align: left; border: 2px solid var(--line); background: var(--white); border-radius: 14px; padding: 12px 14px; display: grid; gap: 3px; cursor: pointer; font: inherit; color: var(--ink); }
.co-mode button b { font-size: 15px; }
.co-mode button small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.co-mode button[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
.fast-mode #rewardsBox, .fast-mode #emailField, .fast-mode .consent { display: none; }
@media (max-width: 480px) { .co-mode { grid-template-columns: 1fr; } }

/* Store chosen: pickup or delivery, when, where */
.ot-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ot-choice button { border: 2px solid var(--line); background: var(--white); border-radius: 16px; padding: 16px 12px; display: grid; gap: 4px; justify-items: center; text-align: center; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, background .15s; }
.ot-choice button b { font-size: 17px; }
.ot-choice button small { color: var(--muted); font-size: 13px; }
.ot-choice button .ot-ico { font-size: 30px; line-height: 1; }
.ot-choice.small button { padding: 12px 10px; }
.ot-choice.small button b { font-size: 15px; }
.ot-choice button[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
.ot-choice button:hover { border-color: var(--green); }
.ot-h { font-weight: 800; color: var(--green); margin: 18px 0 8px; font-size: 15px; }
.ot-addr { width: 100%; }
.base-addon { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.base-addon em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--green); white-space: nowrap; }

/* Deals: one-line "what's inside" in the carousel, and the bundle details panel */
.deal-sum { display: none; }
.hero-deals .deal-card .deal-sum, .deal-track .deal-card .deal-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.deal-track .deal-card .deal-sum ~ .contents, .deal-track .deal-card .deal-sum ~ .desc { display: none; }
.bd-intro { font-weight: 800; color: var(--green); margin: 4px 0 8px; }
.bd-items-list { display: grid; gap: 10px; }
.bd-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.bd-row img, .bd-row .bd-ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--cream); display: grid; place-items: center; font-size: 28px; }
.bd-row b { display: block; font-size: 15px; }
.bd-row small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.bd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; padding: 12px 14px; background: var(--green-tint); border-radius: 14px; }
.bd-price span { font-weight: 700; margin-right: auto; }
.bd-price b { font-size: 22px; color: var(--green); }
.bd-price s { color: var(--muted); }
.bd-price em { font-style: normal; font-weight: 800; color: var(--red); }

/* Account offers (vouchers) */
.my-offers { margin: 22px 0 6px; }
.my-offers h2, .rs-h2 { color: var(--green); font-size: 22px; font-weight: 900; margin: 0 0 10px; }
.rs-h2 { margin-top: 26px; }
.offer-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.drawer .offer-list { grid-template-columns: 1fr; }
.offer-card { display: grid; grid-template-columns: 84px 1fr; gap: 12px; background: var(--white); border: 2px dashed #e8c400; border-radius: 16px; padding: 12px; }
.offer-card.selected { border-style: solid; border-color: var(--green); background: var(--green-tint); }
.offer-card.off { border-color: var(--line); opacity: .75; }
.oc-media img, .oc-media span { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: #fff7d6; display: grid; place-items: center; font-size: 36px; }
.oc-title { font-weight: 900; color: var(--red); font-size: 17px; letter-spacing: .2px; }
.offer-card.off .oc-title { color: var(--muted); }
.oc-desc { margin: 2px 0 4px; font-size: 14px; }
.oc-rules { list-style: none; padding: 0; margin: 0; font-size: 12.5px; color: var(--muted); display: grid; gap: 1px; }
.oc-rules li::before { content: "· "; }
.oc-action { margin-top: 8px; }
.oc-pill { display: inline-block; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 2px 8px; vertical-align: middle; letter-spacing: 0; }
.oc-pill.used { color: var(--green); background: var(--green-tint); }
.offer-hint { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #fff7d6; font-size: 14px; }
.co-offers .opt.off { opacity: .6; }
@media (max-width: 480px) { .offer-card { grid-template-columns: 64px 1fr; } .oc-media img, .oc-media span { width: 64px; height: 64px; font-size: 28px; } }
