/* African Foodstuff NZ: shop styles */
:root {
  --ink: #17221a;
  --ink-2: #3c4a3f;
  --muted: #6b766d;
  --paper: #fbf8f1;
  --card: #ffffff;
  --line: #e7e1d3;
  --brand: #175e1b;
  --brand-2: #0e4212;
  --brand-soft: #e5f0dc;
  --gold: #e9a23b;
  --gold-soft: #fdf0d9;
  --clay: #c2562b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 34, 26, .06), 0 10px 30px rgba(23, 34, 26, .08);
  --shadow-lg: 0 24px 60px rgba(23, 34, 26, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px;
  padding: .85em 1.5em; font: 600 1rem var(--font); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(23, 94, 27, .28); }
.btn-primary:hover { background: var(--brand-2); }
.btn-gold { background: var(--gold); color: #2b1d05; }
.btn-gold:hover { background: #f0b257; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- announcement + header ---------- */
.announce { background: var(--brand-2); color: #e9f3e0; text-align: center; font-size: .86rem; padding: 8px 16px; }
.announce b { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 241, .88); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(23, 34, 26, .06); }
.header-row { display: flex; align-items: center; gap: 20px; height: 76px; }
.logo img { height: 48px; width: auto; mix-blend-mode: multiply; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.main-nav a:hover, .main-nav a.active { background: var(--brand-soft); color: var(--brand-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.call-now { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #2b1d05; text-decoration: none;
  font-weight: 700; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.call-now svg { width: 18px; height: 18px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: 0;
  border-radius: 999px; padding: 10px 16px; font: 600 .95rem var(--font); cursor: pointer; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn .count { background: var(--gold); color: #2b1d05; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid;
  place-items: center; font-size: .78rem; font-weight: 800; padding: 0 6px; }
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .header-row { height: 66px; gap: 10px; }
  .logo img { height: 38px; }
  .logo { margin-right: auto; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0, 0, 0, .08); display: none; margin: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: block; order: 1; }
  .header-actions .call-now { order: 2; padding: 9px 13px; font-size: .9rem; }
  .header-actions .cart-btn { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 162, 59, .22), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-2); font-weight: 600;
  font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--gold); opacity: .55; z-index: -1; border-radius: 4px; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--ink-2); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.collage { position: relative; height: 470px; }
.collage figure { position: absolute; margin: 0; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); }
.collage img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; }
.collage figcaption { position: absolute; left: 18px; bottom: 18px; background: rgba(255, 255, 255, .94); padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; }
.collage .c1 { width: 58%; height: 62%; left: 0; top: 4%; transform: rotate(-3deg); }
.collage .c2 { width: 46%; height: 46%; right: 0; top: 0; transform: rotate(4deg); }
.collage .c3 { width: 44%; height: 44%; right: 4%; bottom: 0; transform: rotate(-2deg); }
.collage .c4 { width: 36%; height: 34%; left: 12%; bottom: 0; transform: rotate(3deg); }
.collage .badge { position: absolute; right: 38%; top: 46%; width: 110px; height: 110px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; line-height: 1.05; font-size: .95rem;
  box-shadow: var(--shadow-lg); transform: rotate(-10deg); z-index: 2; }
.collage .badge b { display: block; font-size: 1.7rem; color: var(--gold); }
@media (max-width: 900px) {
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .collage { height: 330px; }
  .collage .badge { width: 88px; height: 88px; font-size: .8rem; }
  .collage .badge b { font-size: 1.35rem; }
}

/* ---------- category tiles ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 40em; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; text-align: left;
  cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.cat-tile .ico { font-size: 1.8rem; line-height: 1; }
.cat-tile b { font-weight: 700; }
.cat-tile span.n { color: var(--muted); font-size: .85rem; }

/* ---------- shop toolbar ---------- */
.shop-bar { position: sticky; top: 76px; z-index: 30; background: var(--paper); padding: 12px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) { .shop-bar { top: 66px; } }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; padding: 12px 16px 12px 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 400px; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; font: 600 .9rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--ink-2); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.fresh.active { background: var(--clay); border-color: var(--clay); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, #f4efe3, #eae2cf); display: grid; place-items: center; font-size: 3.4rem; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .tag { position: absolute; left: 10px; top: 10px; background: var(--clay); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.card-img .tag.out { background: var(--ink); }
.card.sold-out .card-img img { filter: grayscale(.8); opacity: .6; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.card-name { font-weight: 650; margin: 0; line-height: 1.3; }
.card-desc { font-size: .85rem; color: var(--muted); margin: 0; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.add { border: 0; background: var(--brand); color: #fff; border-radius: 999px; height: 40px; padding: 0 16px; font: 700 .9rem var(--font); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; }
.add:hover { background: var(--brand-2); }
.add:disabled { background: #cfd3cc; cursor: default; }
.stepper { display: inline-flex; align-items: center; background: var(--brand-soft); border-radius: 999px; height: 40px; }
.stepper button { width: 38px; height: 40px; border: 0; background: none; font-size: 1.25rem; font-weight: 700; color: var(--brand-2); cursor: pointer; }
.stepper span { min-width: 22px; text-align: center; font-weight: 800; }
@media (max-width: 560px) {
  .card-body { padding: 12px; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add, .stepper { width: 100%; justify-content: center; }
  .stepper { justify-content: space-between; }
}
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); grid-column: 1 / -1; }

/* ---------- fresh kitchen band ---------- */
.fresh-band { background: var(--brand-2); color: #eef6e8; border-radius: 32px; padding: 52px 44px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.fresh-band h2 { color: #fff; }
.fresh-band p { color: #cfe2c6; }
.fresh-band .pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.fresh-band .pills span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.fresh-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fresh-pics img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.fresh-pics img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (max-width: 900px) { .fresh-band { grid-template-columns: 1fr; padding: 36px 22px; border-radius: 24px; } }

/* ---------- how it works / pickup ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: #8a5a0f; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.pickup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pickup-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pickup-card ul { list-style: none; padding: 0; margin: 10px 0 0; }
.pickup-card li { padding: 9px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 12px; }
.pickup-card li:last-child { border-bottom: 0; }
.pickup-card a.map { font-size: .85rem; white-space: nowrap; }
@media (max-width: 800px) { .pickup-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9d1ca; margin-top: 70px; padding: 54px 0 120px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { color: #fff; margin: 0 0 10px; font-family: var(--display); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.socials svg { width: 20px; height: 20px; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 34px; padding-top: 18px; font-size: .82rem; color: #8e998f; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15, 22, 17, .45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 90; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.drawer-lines { flex: 1; overflow-y: auto; padding: 8px 22px; }
.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 62px; height: 62px; border-radius: 12px; overflow: hidden; background: #efe8d8; display: grid; place-items: center; font-size: 1.8rem; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 600; line-height: 1.3; font-size: .95rem; }
.line-sub { font-size: .8rem; color: var(--muted); }
.line-right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.line .stepper { height: 34px; }
.line .stepper button { width: 32px; height: 34px; font-size: 1.1rem; }
.drawer-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); background: #fff; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.sum-row.total { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin: 6px 0 14px; }
.notice { background: var(--gold-soft); color: #6d4706; border-radius: 12px; padding: 10px 14px; font-size: .86rem; margin-bottom: 12px; }
.drawer-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.drawer-empty .big { font-size: 3rem; }

/* mobile floating cart */
.cart-fab { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; align-items: center; justify-content: space-between;
  background: var(--brand); color: #fff; border: 0; border-radius: 18px; padding: 14px 20px; font: 700 1rem var(--font); box-shadow: var(--shadow-lg); cursor: pointer; }
.cart-fab .count { background: var(--gold); color: #2b1d05; border-radius: 999px; padding: 2px 9px; margin-right: 8px; }
@media (max-width: 900px) { .cart-fab.has-items { display: flex; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; padding: 34px 0 40px; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { order: -1; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; margin-bottom: 18px; }
.panel h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel h2 .n { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field .hint { font-size: .8rem; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.choice-cards { display: grid; gap: 10px; }
.choice-card { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: #fff; }
.choice-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(23, 94, 27, .12); }
.choice-card input { accent-color: var(--brand); width: 18px; height: 18px; }
.choice-card .t { font-weight: 600; }
.choice-card .s { font-size: .82rem; color: var(--muted); }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pay-tab { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px; font: 600 .95rem var(--font); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pay-tab.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-2); }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.wallet { height: 48px; border-radius: 12px; border: 0; background: #000; color: #fff; font: 600 1rem var(--font); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.wallet.gpay { background: #fff; color: #3c4043; box-shadow: inset 0 0 0 1.5px #dadce0; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 6px 0 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card-element { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.card-element:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.card-element .cn { position: relative; }
.card-element input { border: 0; padding: 15px 14px; font: inherit; width: 100%; background: transparent; color: var(--ink); }
.card-element input:focus { outline: none; }
.card-element .cn input { padding-right: 70px; letter-spacing: .04em; }
.card-element .brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .72rem; font-weight: 800; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; }
.card-element .split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--line); }
.card-element .split input:first-child { border-right: 1.5px solid var(--line); }
.card-element input.bad { color: var(--clay); }
.secure { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.secure svg { width: 16px; height: 16px; color: var(--brand); }
.demo-note { background: #fff6e0; border: 1px dashed #e0b860; color: #6d4706; border-radius: 12px; padding: 10px 14px; font-size: .85rem; margin: 14px 0 0; }
.error { color: var(--clay); font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: 10px 0 0; }
.summary { position: sticky; top: 96px; }
.summary .line { grid-template-columns: 54px 1fr auto; }
.summary .line-img { width: 54px; height: 54px; position: relative; overflow: visible; }
.summary .line-img img { border-radius: 12px; }
.summary .qty-dot { position: absolute; top: -7px; right: -7px; background: var(--ink); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800; min-width: 21px; height: 21px; display: grid; place-items: center; }
.bank-box { background: var(--gold-soft); border-radius: 14px; padding: 16px; font-size: .92rem; }
.bank-box b { font-family: ui-monospace, Consolas, monospace; }

/* confirmation */
.done { max-width: 640px; margin: 40px auto; text-align: center; }
.done .tick { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; animation: pop .5s; }
.done .tick svg { width: 44px; height: 44px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } }
.ref { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 1.5rem; font-weight: 800; background: #fff; border: 2px dashed var(--brand);
  border-radius: 14px; padding: 8px 18px; margin: 6px 0 18px; letter-spacing: .06em; }
.track { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.track li { position: relative; padding-top: 46px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.track li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 3px solid var(--line); z-index: 1; }
.track li::after { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.on, .track li.now { color: var(--ink); }
.track li.on::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/60% no-repeat; border-color: var(--brand); }
.track li.on::after, .track li.now::after { background: var(--brand); }
.track li.now::before { border-color: var(--gold); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(233, 162, 59, .25); } }
.track-note { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.track-note.ready { background: var(--brand); color: #fff; font-weight: 700; border: 0; }
.receipt { text-align: left; margin-top: 22px; }
