/* ==========================================================================
   Blackberry Bar — design tokens
   ========================================================================== */
:root {
  --bg: #000000;
  --bg-alt: #0A0A0A;
  --surface: #131313;
  --surface-2: #1C1C1C;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  --gold: #C9A227;
  --gold-soft: #E7C765;
  --berry: #5C2247;
  --berry-bright: #8C3A6C;
  --berry-deep: #1A0E16;

  --text: #F4ECDD;
  --text-muted: #A6A6A6;
  --text-dim: #6E6E6E;

  --danger: #C1503D;
  --success: #7FA06B;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 6px;
  --shadow-deep: 0 18px 40px rgba(0,0,0,0.45);
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.3);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
body.locked { overflow: hidden; height: 100vh; }

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Shared bits
   ========================================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-s);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn:active { opacity: 0.85; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--gold);
  color: #14100A;
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: #14100A; }
.btn-primary:disabled {
  opacity: 0.4; cursor: not-allowed;
}

.btn-berry {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--berry-bright);
}
.btn-berry:hover { background: var(--berry); border-color: var(--berry-bright); color: var(--text); }

/* ==========================================================================
   Liquid pour signature — animated SVG wave used on gate + hero
   ========================================================================== */
.pour-field {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.pour-field svg { width: 100%; height: 100%; }
.pour-wave {
  animation: pourDrift 16s ease-in-out infinite;
  transform-origin: center;
}
.pour-wave.wave-2 { animation-duration: 22s; animation-direction: reverse; }
@keyframes pourDrift {
  0%   { transform: translateX(0) translateY(0) scale(1); }
  50%  { transform: translateX(-2%) translateY(1.5%) scale(1.03); }
  100% { transform: translateX(0) translateY(0) scale(1); }
}

/* ==========================================================================
   Age gate
   ========================================================================== */
#age-gate {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 1.5rem;
}
#age-gate[hidden] { display: none; }

.gate-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: 2.6rem 2.2rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-deep);
}

@keyframes gateShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}
.gate-card.shake { animation: gateShake 0.55s cubic-bezier(.36,.07,.19,.97) both; }

.gate-mark {
  width: 44px; height: 44px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--berry-bright);
  display: flex; align-items: center; justify-content: center;
}
.gate-mark svg { width: 24px; height: 24px; }

.gate-card h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0.2rem 0 0.35rem;
  letter-spacing: 0.01em;
}
.gate-card .gate-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 1.7rem;
}

.gate-form { text-align: left; }
.gate-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.gate-form input[type="number"] {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 1.4rem;
  font-family: var(--font-display);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-s);
  text-align: center;
  letter-spacing: 0.05em;
}
.gate-form input[type="number"]:focus { border-color: var(--gold-soft); }
.gate-form input::-webkit-outer-spin-button,
.gate-form input::-webkit-inner-spin-button { opacity: 0.5; }

.gate-error {
  color: var(--danger);
  font-size: 0.82rem;
  min-height: 1.2em;
  margin: 0.6rem 0 0;
  text-align: center;
}

.gate-form .btn-primary {
  width: 100%;
  margin-top: 1.3rem;
  padding: 0.95rem;
  font-size: 1rem;
}

.gate-legal {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.6;
}

#age-blocked {
  max-width: 420px;
  text-align: center;
}
#age-blocked .gate-mark { background: var(--surface-2); border-color: var(--danger); }
#age-blocked h1 { font-size: 1.6rem; }
#age-blocked p { color: var(--text-muted); font-size: 0.94rem; }

/* ==========================================================================
   Site chrome
   ========================================================================== */
#site { display: none; overflow-x: hidden; }
#site.ready { display: block; }

header.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: var(--bg);
  border-bottom: 1px solid var(--line-strong);
}
.logo-mark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.logo-mark span { color: var(--gold-soft); }

nav.site-nav { display: flex; align-items: center; gap: 1.9rem; }
nav.site-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}
nav.site-nav a:hover { color: var(--text); }

.cart-toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-s);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cart-toggle svg { width: 16px; height: 16px; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 50%;
  background: var(--gold);
  color: #1B1305;
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-count[data-empty="true"] { display: none; }

.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 3rem) 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.4rem;
}
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-l);
  background-color: var(--surface);
  background-size: cover;
  background-position: center 35%;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 1.6rem;
}
.hero-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
}
.hero-visual .tag-note {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-soft);
}

.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.9rem;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-l) - 2px);
  pointer-events: none;
}
.hero-card .eyebrow { margin-bottom: 0.2rem; }
.hero-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}
.hero-card h1 em {
  font-style: normal;
  color: var(--gold-soft);
}
.hero-card address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.hero-card .hero-actions { margin-top: 0.6rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ==========================================================================
   Complimentary + note strip
   ========================================================================== */
.strip-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem) 0;
}
@media (max-width: 720px) { .strip-row { grid-template-columns: 1fr; } }

.strip-card {
  border-radius: var(--radius-m);
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  background: var(--surface);
  min-width: 0;
}
.strip-card h3 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.strip-card.comp { border-left: 3px solid var(--gold); }
.strip-card.comp h3 { color: var(--gold-soft); }
.strip-card.food { border-left: 3px solid var(--berry-bright); }
.strip-card.food h3 { color: var(--berry-bright); }

.scroll-row {
  display: flex; gap: 0.7rem;
  overflow-x: auto;
  min-width: 0;
  padding-bottom: 0.3rem;
  scrollbar-width: thin;
}
.scroll-row::-webkit-scrollbar { height: 5px; }
.scroll-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.pill {
  flex: 0 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
  color: var(--text);
}
.pill small { opacity: 0.65; display: block; font-size: 0.68rem; margin-top: 0.15rem; color: var(--text-dim); }

/* ==========================================================================
   Category rail
   ========================================================================== */
.category-rail {
  padding: 2.2rem clamp(1.2rem, 4vw, 3rem) 0.4rem;
}
.category-rail h2, .menu-section h2, .order-section h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 1.1rem;
}
.chip-row {
  display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.4rem;
}
.chip {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  background: none; border: none; color: var(--text-muted);
  padding: 0.3rem;
}
.chip-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.chip-icon svg { width: 26px; height: 26px; }
.chip span { font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.chip:hover .chip-icon { border-color: var(--gold-soft); }
.chip.active .chip-icon {
  border-color: var(--gold);
  background: var(--berry);
}
.chip.active span, .chip.active { color: var(--text); }

/* ==========================================================================
   Menu grid
   ========================================================================== */
.menu-section { padding: 1.6rem clamp(1.2rem, 4vw, 3rem) 1rem; }
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.item-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.2rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  min-width: 0;
}
.item-head {
  display: flex; align-items: center; gap: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--line-strong);
}
.item-art { flex: 0 0 auto; width: 40px; height: 55px; }
.item-art svg { width: 100%; height: 100%; }
.item-card .item-name { font-size: 1.02rem; font-weight: 650; }
.item-card .item-cat { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }

.size-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.size-btn {
  flex: 1 1 auto;
  min-width: 78px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--text);
  padding: 0.55rem 0.4rem;
  font-size: 0.76rem;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.size-btn strong { display: block; font-size: 0.88rem; color: var(--gold-soft); margin-top: 0.15rem; }
.size-btn:hover { border-color: var(--gold-soft); }
.size-btn.selected { background: var(--berry); border-color: var(--gold); }
.size-btn.selected strong { color: var(--gold-soft); }

.single-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.single-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-soft); }
.single-price small { font-family: var(--font-body); font-size: 0.68rem; color: var(--text-dim); display: block; }

.add-btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius-s);
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.add-btn:hover { border-color: var(--gold-soft); }
.add-btn.added { background: var(--gold); color: #14100A; border-color: var(--gold); }

.empty-note { color: var(--text-dim); font-size: 0.88rem; padding: 1.5rem 0; }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
#cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
#cart-overlay.open { opacity: 1; pointer-events: auto; }

#cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line-strong);
  z-index: 61;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
#cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--font-display); margin: 0; font-size: 1.25rem; }
.cart-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 1.3rem; line-height: 1; padding: 0.2rem 0.4rem;
}
.cart-close:hover { color: var(--text); }

.cart-items { flex: 1; overflow-y: auto; padding: 0.6rem 1.4rem; }
.cart-line {
  display: flex; justify-content: space-between; gap: 0.7rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.cart-line .cl-name { font-size: 0.9rem; font-weight: 600; }
.cart-line .cl-meta { font-size: 0.74rem; color: var(--text-dim); margin-top: 0.15rem; }
.cart-line .cl-price { font-size: 0.9rem; color: var(--gold-soft); white-space: nowrap; font-weight: 600; }
.qty-stepper { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.qty-stepper button {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-alt); color: var(--text);
  font-size: 0.9rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.qty-stepper span { font-size: 0.82rem; min-width: 1.2em; text-align: center; }
.cart-remove { background: none; border: none; color: var(--text-dim); font-size: 0.72rem; margin-top: 0.4rem; text-decoration: underline; }
.cart-remove:hover { color: var(--danger); }
.cart-empty { color: var(--text-dim); font-size: 0.88rem; padding: 2rem 0; text-align: center; }

.cart-foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.cart-foot .btn { width: 100%; }

/* ==========================================================================
   Order form
   ========================================================================== */
.order-section {
  padding: 2.4rem clamp(1.2rem, 4vw, 3rem) 4rem;
}
.order-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: start;
}
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }

.order-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  min-width: 0;
}

.locate-btn, .check-delivery-btn {
  width: 100%;
  margin-bottom: 0.7rem;
  padding: 0.7rem 1rem;
  font-size: 0.84rem;
  gap: 0.5rem;
}
.locate-btn:disabled { opacity: 0.55; cursor: wait; }
.check-delivery-btn.is-ok { border-color: var(--success); color: var(--success); }
.locate-status {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin: -0.3rem 0 0.9rem;
  min-height: 1em;
}
.locate-status.is-error { color: var(--danger); }
.locate-status.is-ok { color: var(--success); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 1rem; }
.field label {
  display: block; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 0.45rem;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-s);
  font-size: 0.92rem;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field textarea:focus { border-color: var(--gold-soft); }
.field-error { color: var(--danger); font-size: 0.74rem; margin-top: 0.35rem; min-height: 1em; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }

.phone-input {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--bg-alt);
}
.phone-input:focus-within { border-color: var(--gold-soft); }
.phone-prefix {
  display: flex; align-items: center;
  padding: 0 0.7rem;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.92rem;
  border-right: 1px solid var(--line-strong);
}
.phone-input input {
  border: none !important;
  background: transparent !important;
  flex: 1;
}
.phone-input input:focus { border: none !important; }

.method-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1rem; }
@media (max-width: 520px) { .method-row { grid-template-columns: 1fr; } }
.method-option {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  padding: 0.9rem 1rem;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 0.2rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.method-option input { display: none; }
.method-option .mo-title { font-weight: 650; font-size: 0.92rem; }
.method-option .mo-sub { font-size: 0.74rem; color: var(--text-dim); }
.method-option.selected {
  border-color: var(--gold);
  background: var(--surface-2);
}
.method-option.selected .mo-sub { color: var(--gold-soft); }

.terms-row {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.82rem; color: var(--text-muted);
  margin: 1.1rem 0 0.4rem;
}
.terms-row input { margin-top: 0.2rem; }
.terms-row a { color: var(--gold-soft); text-decoration: underline; }

/* summary panel */
.summary-panel h3 {
  font-family: var(--font-display); margin: 0 0 1rem; font-size: 1.3rem;
}
.order-review {
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 0.4rem;
}
.order-review:empty { margin-bottom: 0; }
.order-review .cart-line:first-child { border-top: none; }
.summary-line {
  display: flex; justify-content: space-between; font-size: 0.88rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
.summary-line strong { color: var(--text); font-weight: 600; }
.summary-line.total {
  border-bottom: none; margin-top: 0.3rem; padding-top: 0.9rem;
  font-size: 1.05rem; color: var(--text);
}
.summary-line.total strong { color: var(--gold-soft); font-family: var(--font-display); font-size: 1.3rem; }
.summary-empty { color: var(--text-dim); font-size: 0.86rem; padding: 0.8rem 0; }

.place-order-btn { width: 100%; margin-top: 1.3rem; padding: 1rem; font-size: 0.98rem; }
.order-note { font-size: 0.74rem; color: var(--text-dim); margin-top: 0.8rem; line-height: 1.55; }

.toast {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--text); padding: 0.8rem 1.3rem; border-radius: var(--radius-s);
  font-size: 0.85rem; opacity: 0; pointer-events: none;
  max-width: calc(100vw - 2.4rem);
  text-align: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 80; box-shadow: var(--shadow-soft);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   Invoice modal
   ========================================================================== */
#invoice-overlay, #zone-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
#invoice-overlay.open, #zone-overlay.open { opacity: 1; pointer-events: auto; }

#invoice-modal, #zone-modal {
  position: fixed; inset: 0; z-index: 91;
  display: flex; align-items: center; justify-content: center;
  padding: 1.4rem;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
#invoice-modal.open, #zone-modal.open { opacity: 1; pointer-events: auto; }
#zone-mark { background: var(--danger); border: none; }

.invoice-modal-card {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: 2.2rem 2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-deep);
}
.invoice-modal-card .cart-close { position: absolute; top: 1rem; right: 1.1rem; }
.invoice-mark {
  width: 44px; height: 44px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.invoice-modal-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.6rem;
}
.invoice-sub {
  color: var(--text-muted); font-size: 0.86rem; line-height: 1.55; margin: 0 0 1.4rem;
}
.invoice-sub strong { color: var(--gold-soft); }
.invoice-actions { display: flex; flex-direction: column; gap: 0.7rem; }
.invoice-actions .btn { width: 100%; }
#invoice-fallback-note { margin-top: 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 2.4rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  color: var(--text-dim); font-size: 0.78rem;
}
.footer-links a { color: var(--text-dim); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.footer-links a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ==========================================================================
   Responsive nav
   ========================================================================== */
/* ==========================================================================
   Responsive nav
   ========================================================================== */
@media (max-width: 720px) {
  nav.site-nav .nav-links { display: none; }
}
