/* ============================================================
   Pri VeYerek Tzabar — Shuk Modern design system
   ============================================================ */

:root {
  /* Olive palette (default) */
  --bg: oklch(0.95 0.02 85);
  --bg-2: oklch(0.92 0.025 85);
  --paper: oklch(0.97 0.015 85);
  --ink: oklch(0.22 0.02 130);
  --ink-2: oklch(0.40 0.02 130);
  --muted: oklch(0.55 0.015 110);
  --line: oklch(0.85 0.02 90);

  --primary: oklch(0.42 0.09 145);
  --primary-2: oklch(0.32 0.08 145);
  --primary-ink: oklch(0.97 0.015 85);

  --accent: oklch(0.62 0.18 30);          /* tomato */
  --accent-2: oklch(0.74 0.13 80);        /* mustard */
  --accent-3: oklch(0.55 0.13 25);        /* pomegranate */

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-card: 0 1px 0 oklch(0.85 0.02 90), 0 16px 40px -20px oklch(0.22 0.02 130 / 0.18);
  --shadow-pop: 0 24px 60px -20px oklch(0.22 0.02 130 / 0.35);

  --maxw: 1320px;

  --headline: "Frank Ruhl Libre", "Times New Roman", serif;
  --ui: "Heebo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-palette="market"] {
  --primary: oklch(0.46 0.14 35);
  --primary-2: oklch(0.36 0.12 30);
  --accent: oklch(0.55 0.16 145);
  --accent-2: oklch(0.74 0.13 80);
  --accent-3: oklch(0.62 0.17 25);
}

[data-palette="orchard"] {
  --bg: oklch(0.96 0.02 60);
  --bg-2: oklch(0.93 0.03 55);
  --paper: oklch(0.98 0.015 60);
  --primary: oklch(0.40 0.08 200);
  --primary-2: oklch(0.30 0.07 200);
  --accent: oklch(0.65 0.16 50);
  --accent-2: oklch(0.74 0.13 80);
  --accent-3: oklch(0.55 0.14 25);
}

[data-palette="midnight"] {
  --bg: oklch(0.18 0.015 130);
  --bg-2: oklch(0.22 0.02 130);
  --paper: oklch(0.24 0.025 130);
  --ink: oklch(0.96 0.02 85);
  --ink-2: oklch(0.80 0.02 85);
  --muted: oklch(0.65 0.02 90);
  --line: oklch(0.32 0.02 130);
  --primary: oklch(0.74 0.14 130);
  --primary-2: oklch(0.85 0.13 130);
  --primary-ink: oklch(0.18 0.02 130);
  --accent: oklch(0.72 0.18 30);
  --accent-2: oklch(0.82 0.14 80);
  --shadow-card: 0 1px 0 oklch(0.32 0.02 130), 0 16px 40px -20px oklch(0 0 0 / 0.5);
}

[data-headline="heebo"] { --headline: "Heebo", system-ui, sans-serif; }
[data-headline="frank"] { --headline: "Frank Ruhl Libre", "Times New Roman", serif; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--ui);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, oklch(0.92 0.04 80 / 0.6), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 100%, oklch(0.92 0.04 145 / 0.4), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============== Headline + display ============== */
.h-display {
  font-family: var(--headline);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.h-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.h-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-2);
}

.h-section {
  font-family: var(--headline);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}

.h-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ============== Top utility bar ============== */
.utility {
  background: #1f1c14;
  color: #f4ecdb;
  font-size: 13px;
  padding: 10px 0;
  overflow: hidden;
}
.utility-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.utility-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.utility-track .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4c08a;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ============== Navbar ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: oklch(from var(--bg) l c h / 0.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--headline);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  display: grid;
  place-items: center;
  font-family: var(--headline);
  font-weight: 900;
  font-size: 22px;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed var(--ink);
  opacity: 0.35;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  transition: all 0.2s;
  position: relative;
}
.icon-btn:hover { background: var(--bg-2); border-color: var(--line); }
.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.cart-pill:hover { background: var(--primary-2); }
.cart-pill .count {
  background: var(--accent);
  color: oklch(0.98 0.01 85);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* ============== Hero ============== */
.hero {
  padding: 56px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
}
.hero-copy h1 {
  font-family: var(--headline);
  font-weight: 900;
  font-size: clamp(56px, 8.5vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0;
}
.hero-copy h1 .underline {
  background: linear-gradient(transparent 65%, oklch(from var(--accent-2) l c h / 0.6) 65%);
  padding: 0 6px;
}
.hero-copy h1 .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.hero-lead {
  margin: 28px 0 36px;
  font-size: 19px;
  line-height: 1.5;
  max-width: 520px;
  color: var(--ink-2);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 44px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-meta dd {
  margin: 0;
  font-family: var(--headline);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
}

/* hero card stack */
.hero-stack {
  position: relative;
  height: 600px;
}
.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  background: var(--paper);
}
.hero-card.a { inset: 0 0 80px 80px; z-index: 1; }
.hero-card.b {
  width: 220px; height: 260px;
  bottom: 0; right: 0;
  transform: rotate(-3deg);
  border: 1px solid var(--line);
  z-index: 3;
}
.hero-card.c {
  width: 180px; height: 180px;
  top: 40px; left: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-ink);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--headline);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  transform: rotate(-8deg);
  padding: 20px;
  box-shadow: var(--shadow-pop);
  z-index: 4;
}
.hero-card.c .price {
  font-size: 56px;
  display: block;
  margin: 4px 0;
}
.hero-card.c .small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 500;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-accent { background: var(--accent); color: oklch(0.98 0.01 85); }
.btn-accent:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ============== Marquee strip ============== */
.strip {
  background: #1f1c14;
  color: #f4ecdb;
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.strip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--headline);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.01em;
}
.strip-track .star {
  color: #d4c08a;
  font-size: 0.8em;
  display: inline-block;
  transform: translateY(-0.1em);
}

/* ============== Category chips ============== */
.cat-section { padding: 64px 0 24px; }
.cat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--ink); }
.cat.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cat .glyph {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-family: var(--headline);
  font-weight: 900;
  font-size: 26px;
}
.cat-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.cat-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 2px;
}
.cat.active .cat-count { color: oklch(0.75 0.02 130); }

/* ============== Shop section ============== */
.shop { padding: 32px 0 96px; }
.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.shop-head .h-section { max-width: 720px; }
.shop-filters {
  display: flex;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}
.shop-filters button {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  color: var(--ink-2);
  transition: all 0.2s;
}
.shop-filters button.active { background: var(--ink); color: var(--paper); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============== Product card ============== */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--ink-2);
}
.card-media {
  position: relative;
  aspect-ratio: 1.05/1;
  overflow: hidden;
  background: var(--bg-2);
}
.card-media .placeholder { position: absolute; inset: 0; }
.card-badges {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--ink);
}
.badge.sale { background: var(--accent); color: oklch(0.98 0.01 85); border-color: var(--accent); }
.badge.new { background: var(--accent-2); border-color: var(--ink); }
.badge.organic { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

.fave {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: oklch(from var(--paper) l c h / 0.9);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: all 0.2s;
}
.fave:hover { background: var(--paper); transform: scale(1.08); }
.fave.on { color: var(--accent); }

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.card-origin {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.card-name {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 2px 0 0;
}
.card-name-en {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.card-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
}
.card-action-slot {
  width: 112px;
  min-width: 112px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 2px;
}
.price .num {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.price .unit {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.price .old {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  width: 100%;
  text-align: start;
}
.add-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.add-btn:hover { background: var(--primary); }

.qty-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 999px;
  padding: 4px;
  height: 44px;
  flex-shrink: 0;
  width: 100%;
}
.qty-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary-ink);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.qty-step:hover { background: oklch(from var(--primary-ink) l c h / 0.18); }
.qty-step:active { transform: scale(0.92); }
.qty-num {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-ink);
  font-variant-numeric: tabular-nums;
}

/* Stamp price */
.stamp {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--accent);
  color: oklch(0.98 0.01 85);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--headline);
  font-weight: 900;
  line-height: 0.95;
  transform: rotate(-12deg);
  z-index: 2;
  box-shadow: 0 4px 0 oklch(from var(--accent) calc(l - 0.1) c h);
}
.stamp .big { font-size: 26px; display: block; }
.stamp .small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; opacity: 0.9; }

/* ============== Sale feature row ============== */
.feature {
  padding: 80px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature .h-section { color: var(--paper); }
.feature-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.feature p { font-size: 18px; line-height: 1.55; color: oklch(0.85 0.02 90); margin: 24px 0; max-width: 480px; }
.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid oklch(0.40 0.02 130);
}
.feature-stats .num {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}
.feature-stats .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.75 0.02 90);
}

/* ============== About ============== */
.about { padding: 96px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.about-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.about-body { display: flex; flex-direction: column; gap: 24px; }
.about-body p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
}
.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.pillar-title {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.pillar-body { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ============== Contact ============== */
.contact { padding: 96px 0; background: var(--paper); border-block: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.contact-rows { display: flex; flex-direction: column; gap: 18px; }
.contact-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.contact-row:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
}
.contact-row.wa .contact-icon { background: var(--primary); }
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}
.contact-value {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: block;
}
.contact-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

.map-card {
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(0deg, oklch(0.90 0.03 110) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, oklch(0.90 0.03 110) 0 1px, transparent 1px 56px),
    radial-gradient(circle at 30% 70%, oklch(0.92 0.05 145 / 0.6), transparent 50%),
    radial-gradient(circle at 70% 30%, oklch(0.92 0.04 80 / 0.6), transparent 50%),
    oklch(0.94 0.02 110);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.map-road {
  position: absolute;
  background: oklch(0.78 0.02 90);
  border-radius: 2px;
}
.map-road.h { left: -10%; right: -10%; height: 18px; top: 38%; transform: rotate(-3deg); }
.map-road.v { top: -10%; bottom: -10%; width: 14px; left: 56%; transform: rotate(2deg); }
.map-road.h2 { left: -10%; right: -10%; height: 10px; top: 72%; transform: rotate(-5deg); opacity: 0.7; }
.map-block {
  position: absolute;
  background: oklch(0.88 0.025 145);
  border-radius: 6px;
  border: 1px solid oklch(0.78 0.02 145);
}
.map-pin {
  position: absolute;
  top: 38%;
  left: 56%;
  transform: translate(-50%, -100%);
  z-index: 3;
}
.map-pin-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: oklch(0.98 0.01 85);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 36px -10px oklch(from var(--accent) l c h / 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}
.map-pin-dot::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: var(--accent);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 36px -10px oklch(from var(--accent) l c h / 0.6), 0 0 0 0 oklch(from var(--accent) l c h / 0.4); }
  50% { box-shadow: 0 14px 36px -10px oklch(from var(--accent) l c h / 0.6), 0 0 0 22px oklch(from var(--accent) l c h / 0); }
}
.map-label {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  z-index: 4;
}
.map-label-title {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.map-label-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.map-controls {
  position: absolute;
  inset-inline-end: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
}
.map-ctrl {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
}

/* hours table */
.hours-card {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}
.hours-card .clk {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.hours-clk-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.hours-table td:last-child {
  text-align: end;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hours-table tr:first-child td { border-top: 0; }
.hours-table .day-now td:last-child {
  color: var(--primary);
  font-weight: 700;
}
.now-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  margin-inline-end: 6px;
  vertical-align: middle;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

/* ============== Reviews ============== */
.reviews { padding: 88px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-stars { color: var(--accent-2); font-size: 16px; letter-spacing: 2px; }
.review-quote {
  font-family: var(--headline);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}
.review-by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  font-family: var(--headline);
  font-weight: 700;
  display: grid;
  place-items: center;
  color: var(--primary);
}
.review-by .name { font-weight: 700; }
.review-by .when { color: var(--muted); font-family: var(--mono); font-size: 12px; }

/* ============== Footer ============== */
.foot {
  background: #1f1c14;
  color: #f4ecdb;
  padding: 80px 0 24px;
  --foot-text: #f4ecdb;
  --foot-muted: #b0a690;
  --foot-line: #3a352a;
  --foot-accent: #d4c08a;
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.foot-brand h3 {
  font-family: var(--headline);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0 0 20px;
  color: var(--foot-text);
}
.foot-brand p { color: var(--foot-muted); max-width: 360px; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--foot-muted);
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 15px; color: var(--foot-text); }
.foot-col a:hover { color: var(--foot-accent); }
.foot-bot {
  border-top: 1px solid var(--foot-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--foot-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.foot-bot a:hover { color: var(--foot-accent); }

/* ============== Cart drawer ============== */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: oklch(0.22 0.02 130 / 0.55);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 100dvh;
  width: min(460px, 92vw);
  background: var(--bg);
  z-index: 90;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pop);
}
/* RTL anchors the drawer to the right physical edge, so the off-screen
   transform must be positive (translate further right) to hide it. */
[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.open,
[dir="rtl"] .drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-family: var(--headline);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0;
}
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 16px; }
.drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 16px 8px;
  border-bottom: 1px dashed var(--line);
  align-items: center;
}
.drawer-item .thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.drawer-item .name { font-family: var(--headline); font-weight: 700; font-size: 17px; }
.drawer-item .meta { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.drawer-qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: var(--ink-2);
}
.drawer-qty button:hover { background: var(--bg-2); }
.drawer-qty .q { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.drawer-item .line-price {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 18px;
  text-align: end;
  letter-spacing: -0.01em;
}
.drawer-item .remove {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  text-decoration: underline;
  display: block;
  text-align: end;
}
.drawer-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.drawer-empty .h-eyebrow { justify-content: center; }
.drawer-empty .h-eyebrow::before { display: none; }
.drawer-foot {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  background: var(--paper);
}
.drawer-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}
.drawer-line.total {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 12px 0 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.delivery-bar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}
.delivery-bar .track {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-2);
  margin-top: 8px;
  overflow: hidden;
}
.delivery-bar .fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.4s;
}

/* ============== Toast ============== */
.toast {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px 14px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 70;
  box-shadow: var(--shadow-pop);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast .tdot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: grid; place-items: center;
}

/* ============== Placeholder image ============== */
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: oklch(0.45 0.02 110);
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      oklch(from var(--ph-c, 0.86 0.04 110) l c h) 0 8px,
      oklch(from var(--ph-c, 0.86 0.04 110) calc(l + 0.03) c h) 8px 16px);
}
.ph > span {
  position: relative;
  background: oklch(0.97 0.015 85 / 0.85);
  padding: 6px 10px;
  border-radius: 6px;
  backdrop-filter: blur(2px);
}
.ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  animation: ph-fade-in 0.4s ease-out;
}
@keyframes ph-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============== Density modes ============== */
[data-density="cozy"] .grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
[data-density="cozy"] .card-name { font-size: 24px; }
[data-density="dense"] .grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
[data-density="dense"] .card-body { padding: 14px; }
[data-density="dense"] .card-name { font-size: 18px; }

/* ============================================================
   Checkout page
   ============================================================ */
.checkout-page { padding: 56px 0 96px; }
.checkout-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.checkout-empty .btn { margin-top: 16px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.checkout-main { display: flex; flex-direction: column; gap: 24px; }

/* Steps strip */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
}
.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.checkout-steps .step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink-2);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
}
.checkout-steps .step.active { color: var(--ink); font-weight: 700; }
.checkout-steps .step.active .step-num { background: var(--ink); color: var(--paper); }
.checkout-steps .step.done .step-num { background: var(--primary); color: var(--primary-ink); }
.checkout-steps .step.done { color: var(--ink-2); }
.checkout-steps .step-bar {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  min-width: 16px;
}
.checkout-steps .step.done + .step .step-bar { background: var(--primary); }

/* Card panels */
.checkout-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.checkout-h {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  line-height: 1;
}
.checkout-h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 12px;
}

.checkout-error {
  background: oklch(0.95 0.04 25);
  color: oklch(0.40 0.16 25);
  border: 1px solid oklch(0.80 0.10 25);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  color: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px oklch(from var(--ink) l c h / 0.08);
  background: var(--paper);
}
.form-field textarea { resize: vertical; min-height: 80px; }

/* Delivery / pickup method cards */
.method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: start;
  transition: all 0.15s;
  width: 100%;
}
.method-card:hover { border-color: var(--ink); }
.method-card.active {
  background: var(--primary-soft, oklch(0.92 0.04 145));
  border-color: var(--primary);
}
.method-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.method-card.active .method-icon { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.method-he { font-weight: 700; font-size: 16px; }
.method-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 2px;
}
.method-radio {
  margin-inline-start: auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.method-card.active .method-radio,
.paymethod-card.active .method-radio {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
}

.pickup-info {
  margin-top: 20px;
  padding: 18px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  align-items: start;
  color: var(--ink-2);
}
.pickup-info strong { display: block; font-family: var(--headline); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.pickup-info > svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Payment method cards */
.paymethod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.paymethod-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: start;
  transition: all 0.15s;
  width: 100%;
}
.paymethod-card:hover { border-color: var(--ink); }
.paymethod-card.active {
  background: var(--primary-soft, oklch(0.92 0.04 145));
  border-color: var(--primary);
}

/* Test card banner */
.test-card-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 16px;
  background: oklch(0.95 0.04 80);
  border: 1px dashed oklch(0.70 0.13 80);
  border-radius: var(--radius);
  font-size: 13px;
}
.test-card-banner strong { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.45 0.14 70); }
.test-card-fill {
  background: var(--ink);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.test-card-fill:hover { background: var(--primary); }

.alt-pay-info {
  margin-top: 18px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.alt-pay-info strong { display: block; font-family: var(--headline); font-weight: 700; font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.alt-pay-info p { margin: 0; font-size: 14px; color: var(--ink-2); }

.secure-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.checkout-actions {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.checkout-actions .btn { min-height: 50px; padding: 0 22px; }
.checkout-actions .btn-primary { font-size: 15px; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Order summary sidebar */
.checkout-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.summary-h {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.summary-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  max-height: 320px;
  overflow-y: auto;
}
.summary-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.summary-item:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-thumb {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.summary-name {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.summary-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 3px;
}
.summary-line {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.005em;
}

.summary-totals {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.summary-total {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.summary-trust {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.trust-row svg { color: var(--primary); flex-shrink: 0; }

/* Success screen */
.success-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.success-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  animation: pop 0.5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.success-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 20px auto 32px;
  max-width: 520px;
}
.success-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.success-cell {
  padding: 18px 12px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.success-cell-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.success-cell-val {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.success-fine {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .checkout-summary { position: static; }
  .summary-items { max-height: 240px; }
}
@media (max-width: 720px) {
  .checkout-page { padding: 24px 0 56px; }
  .checkout-card { padding: 20px; }
  .checkout-summary { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .method-row { grid-template-columns: 1fr; }
  .paymethod-row { grid-template-columns: 1fr 1fr; }
  .success-grid { grid-template-columns: 1fr 1fr; }
  .success-card { padding: 36px 20px; }
  .checkout-steps { padding: 8px 14px; gap: 6px; }
  .checkout-steps .step-he { display: none; }
  .checkout-steps .step.active .step-he { display: inline; }
  .checkout-h { font-size: 22px; }
  .checkout-actions { flex-direction: column-reverse; }
  .checkout-actions .btn { width: 100%; justify-content: center; }
}

/* Honor the font-scale set by the a11y panel for all body text. */
:root { --a11y-font-scale: 1; }
body { font-size: calc(16px * var(--a11y-font-scale)); }

/* Contrast modes — applied to <html> via data-a11y-contrast */
[data-a11y-contrast="high"] {
  --bg: #ffffff;
  --bg-2: #f0f0f0;
  --paper: #ffffff;
  --ink: #000000;
  --ink-2: #1a1a1a;
  --muted: #444444;
  --line: #000000;
  --primary: #006633;
  --primary-2: #004422;
  --accent: #cc0000;
}
[data-a11y-contrast="inverted"] {
  --bg: #000000;
  --bg-2: #1a1a1a;
  --paper: #0a0a0a;
  --ink: #ffe600;
  --ink-2: #ffe600;
  --muted: #cccc66;
  --line: #ffe600;
  --primary: #ffe600;
  --primary-2: #ffcc00;
  --primary-ink: #000000;
  --accent: #00ffff;
  --accent-2: #ff66ff;
}
[data-a11y-contrast="dark"] {
  --bg: #1a1a1a;
  --bg-2: #262626;
  --paper: #2a2a2a;
  --ink: #f5f5f5;
  --ink-2: #cccccc;
  --muted: #999999;
  --line: #3a3a3a;
  --primary: #9ec47a;
  --primary-2: #b8d691;
  --primary-ink: #1a1a1a;
}
[data-a11y-contrast="inverted"] img,
[data-a11y-contrast="inverted"] .ph-img {
  filter: invert(1) hue-rotate(180deg);
}

[data-a11y-highlight-links] a,
[data-a11y-highlight-links] .btn,
[data-a11y-highlight-links] button {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}
[data-a11y-underline] a:not(.btn):not(.nav-links a):not(.brand) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
[data-a11y-highlight-headings] h1,
[data-a11y-highlight-headings] h2,
[data-a11y-highlight-headings] h3 {
  background: oklch(0.95 0.16 95) !important;
  color: #000 !important;
  padding: 4px 10px !important;
  border-radius: 4px;
}
[data-a11y-cursor] *,
[data-a11y-cursor] {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M2 2 L2 24 L8 18 L12 28 L16 26 L12 16 L22 16 Z' fill='black' stroke='white' stroke-width='1.5'/></svg>") 2 2, auto !important;
}
[data-a11y-no-anim] *,
[data-a11y-no-anim] *::before,
[data-a11y-no-anim] *::after {
  animation-duration: 0.001s !important;
  animation-delay: 0s !important;
  transition-duration: 0.001s !important;
}
[data-a11y-readable] {
  --headline: "Heebo", system-ui, sans-serif;
  --ui: "Heebo", system-ui, sans-serif;
}
[data-a11y-readable] * {
  font-family: "Heebo", system-ui, sans-serif !important;
  letter-spacing: 0 !important;
}
[data-a11y-spacing] body {
  letter-spacing: 0.06em;
  word-spacing: 0.16em;
  line-height: 1.75;
}

/* ===== FAB (floating action button) ===== */
.a11y-fab {
  position: fixed;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-pop, 0 24px 60px -20px rgba(0,0,0,.4));
  transition: transform 0.2s, background 0.2s;
}
.a11y-fab:hover { transform: translateY(-2px) scale(1.04); background: var(--primary); }
.a11y-fab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.a11y-fab svg { color: var(--primary-ink, #fff); }
.a11y-fab-label { font-size: 13px; }

/* Lift the FAB above the mobile bottom bar */
@media (max-width: 880px) {
  .a11y-fab { bottom: 84px; padding: 10px 14px 10px 10px; }
  .a11y-fab-label { display: none; }
  .a11y-fab { width: 48px; height: 48px; padding: 0; justify-content: center; gap: 0; }
}

/* ===== Scrim + panel ===== */
.a11y-scrim {
  position: fixed; inset: 0;
  background: oklch(0.22 0.02 130 / 0.55);
  z-index: 100;
  animation: a11y-scrim-in 0.2s ease-out;
}
@keyframes a11y-scrim-in { from { opacity: 0 } to { opacity: 1 } }

.a11y-panel {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  background: var(--bg);
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
}
/* RTL: inline-start = right edge — off-screen is +100% (push further right). */
[dir="rtl"] .a11y-panel { transform: translateX(100%); }
.a11y-panel.open,
[dir="rtl"] .a11y-panel.open { transform: translateX(0); }

.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.a11y-head h2 {
  font-family: var(--headline);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}
.a11y-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.a11y-x {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.a11y-x:hover { background: var(--bg-2); }

.a11y-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.a11y-group-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Segmented font-size picker */
.a11y-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.a11y-seg-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.15s;
}
.a11y-seg-btn:hover { border-color: var(--ink); }
.a11y-seg-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.a11y-seg-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Contrast tiles */
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.a11y-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: all 0.15s;
}
.a11y-tile:hover { border-color: var(--ink); }
.a11y-tile.active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.a11y-tile-swatch {
  width: 100%;
  aspect-ratio: 1.4/1;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--headline);
  font-weight: 800;
  font-size: 18px;
}
.a11y-tile-lbl { font-size: 11px; font-weight: 600; }

/* Toggle rows */
.a11y-toggles { display: flex; flex-direction: column; gap: 4px; }
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s;
}
.a11y-row:hover { border-color: var(--ink); }
.a11y-row-title { font-weight: 600; font-size: 14px; }
.a11y-row-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.a11y-switch {
  width: 44px; height: 26px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s;
  cursor: pointer;
}
.a11y-switch span {
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  transition: transform 0.18s;
}
.a11y-switch.on { background: var(--primary); border-color: var(--primary); }
.a11y-switch.on span { transform: translateX(18px); background: var(--primary-ink, #fff); }
[dir="rtl"] .a11y-switch.on span { transform: translateX(-18px); }

.a11y-info {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.a11y-link-btn {
  background: none;
  border: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.a11y-foot {
  display: flex;
  gap: 8px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* ============================================================
   Legal / info pages (Terms, Privacy, A11y, Shipping, FAQ)
   ============================================================ */
.legal-page { padding: 56px 0 96px; max-width: 920px; }
.legal-hero { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-title {
  margin-top: 14px !important;
  font-size: clamp(40px, 6vw, 72px) !important;
}
.legal-updated {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.legal-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-intro {
  font-family: var(--headline);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 32px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-inline-start: 4px solid var(--primary);
}
.legal-body h2 {
  font-family: var(--headline);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.1;
}
.legal-body h3 {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 22px;
  margin: 24px 0 12px;
  color: var(--ink);
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul {
  margin: 0 0 20px;
  padding-inline-start: 24px;
}
.legal-body ul li { margin-bottom: 8px; }
.legal-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--primary-2); }
.legal-body strong { color: var(--ink); font-weight: 700; }

.legal-contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 20px 0;
}
.legal-contact-name {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--ink);
}
.legal-contact-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.legal-table th {
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.legal-table tr:last-child td { border-bottom: 0; }

/* ===== Shipping page cards ===== */
.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.shipping-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.shipping-card h3 {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 26px;
  margin: 12px 0 16px;
  color: var(--ink);
}
.shipping-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--primary-ink);
  display: grid; place-items: center;
}
.shipping-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.shipping-row:last-of-type { border-bottom: 0; }
.shipping-row strong {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.shipping-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item.open { border-color: var(--ink); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: var(--headline);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-align: start;
  color: var(--ink);
}
.faq-q:hover { background: var(--bg-2); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--primary-ink);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--ink-2);
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 22px;
}
.faq-a p { margin: 0; font-size: 15px; }

.faq-cta {
  text-align: center;
  padding: 40px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.faq-cta h3 {
  font-family: var(--headline);
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--ink);
}
.faq-cta p { color: var(--ink-2); margin: 0; }

/* Newsletter (in footer) — uses dark footer palette so it stays legible in all a11y contrast modes */
.newsletter {
  margin-top: 24px;
  padding: 20px;
  background: #2a2519;
  border: 1px solid #3a352a;
  border-radius: var(--radius-lg);
  max-width: 420px;
}
.newsletter-label {
  display: block;
  margin-bottom: 12px;
  cursor: pointer;
}
.newsletter-label strong {
  display: block;
  font-family: var(--headline);
  font-weight: 800;
  font-size: 18px;
  color: #f4ecdb;
  margin-bottom: 4px;
}
.newsletter-label span {
  font-size: 13px;
  color: #b0a690;
  line-height: 1.4;
}
.newsletter-row {
  display: flex;
  gap: 6px;
}
.newsletter-row input {
  flex: 1;
  min-width: 0;
  background: #1f1c14;
  border: 1px solid #3a352a;
  color: #f4ecdb;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-row input::placeholder { color: #8a8070; }
.newsletter-row input:focus { border-color: #d4c08a; }
.newsletter-row .btn { white-space: nowrap; }
.newsletter-fine {
  font-size: 11px;
  color: #8a8070;
  margin-top: 10px;
  line-height: 1.4;
}
.link-btn {
  background: none; border: 0; padding: 0;
  font: inherit;
  color: #d4c08a;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 720px) {
  .legal-page { padding: 32px 0 64px; }
  .legal-hero { margin-bottom: 28px; padding-bottom: 24px; }
  .legal-intro { font-size: 17px; padding: 18px; }
  .legal-body { font-size: 15px; }
  .shipping-grid { grid-template-columns: 1fr; }
  .faq-q { padding: 16px 18px; font-size: 16px; }
  .a11y-seg, .a11y-grid { grid-template-columns: repeat(2, 1fr); }
  .a11y-head { padding: 18px; }
  .a11y-body { padding: 14px 18px 20px; gap: 18px; }
}

/* ============== Mobile menu drawer ============== */
.mobile-menu {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 100dvh;
  width: min(360px, 88vw);
  background: var(--bg);
  z-index: 95;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pop);
}
/* RTL anchors to right edge; off-screen = translate further right (+100%). */
[dir="rtl"] .mobile-menu { transform: translateX(100%); }
.mobile-menu.open,
[dir="rtl"] .mobile-menu.open { transform: translateX(0); }

.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 4px;
}
.mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-radius: var(--radius);
  font-family: var(--headline);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  transition: all 0.15s;
  text-align: start;
  width: 100%;
}
.mm-link:hover, .mm-link.active { background: var(--paper); }
.mm-link.active { color: var(--primary); }
.mm-link-en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-inline-start: 16px;
  flex: 1;
  text-align: start;
}
.mobile-menu-foot {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.mobile-menu-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  justify-content: center;
}

/* ============== Mobile bottom bar ============== */
.mobile-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: oklch(from var(--bg) l c h / 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
  justify-content: space-around;
  align-items: stretch;
  gap: 4px;
}
.mb-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  min-height: 56px;
  transition: color 0.15s;
}
.mb-tab.active { color: var(--ink); }
.mb-tab.active .mb-icon::after {
  content: "";
  position: absolute;
  bottom: -8px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
}
.mb-icon {
  position: relative;
  display: inline-flex;
}
.mb-cart .mb-icon { color: var(--primary); }
.mb-badge {
  position: absolute;
  top: -6px;
  inset-inline-end: -8px;
  background: var(--accent);
  color: oklch(0.98 0.01 85);
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
}

/* ============== Shop page header (search + chips) ============== */
.shop-header { padding: 32px 0 16px; }
.shop-hero { margin-bottom: 28px; }
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  height: 56px;
  margin-bottom: 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-wrap:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px oklch(from var(--ink) l c h / 0.08);
}
.search-wrap > svg { color: var(--muted); flex-shrink: 0; }
.search-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  color: inherit;
  outline: none;
  padding: 0;
  min-width: 0;
}
.search-input::placeholder { color: var(--muted); }
.search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  color: var(--ink);
  flex-shrink: 0;
}

.chip-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 16px;
  margin: 0 -28px;
  padding-inline-start: 28px;
  padding-inline-end: 28px;
}
.chip-scroller::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 999px;
}
.chip.active .chip-count { background: oklch(from var(--paper) l c h / 0.18); color: var(--paper); }

.shop-sortrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 0;
}
.result-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.empty-shop {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}

/* ============== Contact preview ============== */
.contact-preview { padding: 80px 0; }
.contact-preview-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.contact-preview-map {
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-preview-map .map-card { height: 100%; }

/* ============== Brand text helper ============== */
.brand-text { display: block; }

/* ============== Page transition ============== */
.page { animation: pagein 0.32s ease-out; }
@keyframes pagein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== Responsive — mobile-first refinements ============== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stack { height: 480px; max-width: 560px; width: 100%; justify-self: center; margin: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card-foot {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }
  .card-action-slot {
    width: 100%;
    min-width: 0;
    justify-content: stretch;
  }
  .qty-pill {
    width: 100%;
  }
  .add-btn {
    margin-inline-start: auto;
  }
  .about-grid, .contact-grid, .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-preview-card { padding: 36px; }
}
@media (max-width: 880px) {
  .hamburger { display: inline-flex; }
  .nav-links { display: none; }
  .nav-search { display: none; }
  .mobile-bottom { display: flex; }
  body { padding-bottom: 72px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  [data-density="dense"] .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  [data-density="cozy"] .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cart-pill-label { display: none; }
  .cart-pill { padding: 10px 14px; }
  .brand-sub { display: none; }
  .brand-text > div:first-child { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; font-size: 18px; }
  .nav-inner { gap: 12px; padding: 14px 0; }
  .contact-preview-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .contact-preview-map { height: 240px; }
  .toast { bottom: 88px; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .chip-scroller { margin: 0 -18px; padding-inline-start: 18px; padding-inline-end: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  [data-density="dense"] .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  [data-density="cozy"] .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero { padding: 28px 0 48px; }
  .hero-copy h1 { font-size: clamp(44px, 11vw, 72px); }
  .hero-lead { font-size: 16px; margin: 20px 0 24px; }
  .hero-meta { gap: 20px; margin-top: 28px; padding-top: 20px; }
  .hero-meta dd { font-size: 20px; }
  .cat-row { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
  .foot { padding: 56px 0 24px; }
  .foot-brand h3 { font-size: 44px; }
  .hero-stack { height: 360px; }
  .stamp { width: 60px; height: 60px; top: 10px; }
  .stamp .big { font-size: 18px; }
  .hero-card.c { width: 140px; height: 140px; font-size: 16px; padding: 14px; }
  .hero-card.c .price { font-size: 40px; }
  .shop-head { margin-bottom: 24px; }
  .shop-head > * { flex: 1; }
  .shop-filters { width: 100%; overflow-x: auto; }
  .shop-sortrow { flex-direction: column; align-items: stretch; gap: 10px; }
  .feature { padding: 56px 0; }
  .feature p { font-size: 16px; }
  .feature-stats { gap: 16px; padding-top: 24px; margin-top: 24px; }
  .feature-stats .num { font-size: 32px; }
  .about, .reviews, .contact { padding: 56px 0; }
  .card-name { font-size: 18px; }
  .card-body { padding: 14px 14px 16px; }
  .price .num { font-size: 20px; }
  .card-action-slot {
    width: 104px;
    min-width: 104px;
  }
  .add-btn, .qty-pill { transform: none; }
  .h-section { font-size: clamp(32px, 8vw, 48px) !important; }
  .map-card { min-height: 360px; }
  .contact-grid { gap: 28px; }
  .contact-row { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 18px; }
  .contact-icon { width: 48px; height: 48px; }
  .contact-value { font-size: 18px; }
  .strip-track { font-size: 28px; gap: 28px; }
  .utility { font-size: 11px; }
  .utility-track { gap: 32px; }
  .foot-bot { flex-direction: column; gap: 8px; }
}

@media (hover: none) {
  .card:hover {
    box-shadow: none;
    border-color: var(--line);
  }
  .fave:hover {
    background: oklch(from var(--paper) l c h / 0.9);
    transform: none;
  }
  .add-btn:hover {
    background: var(--ink);
  }
}
@media (max-width: 480px) {
  .hero-stack { height: 300px; }
  .hero-card.b { width: 140px; height: 180px; }
  .hero-card.c { width: 120px; height: 120px; top: 20px; }
  .hero-card.c .price { font-size: 32px; }
  .hero-meta { gap: 16px; }
  .hero-meta dt { font-size: 10px; }
  .hero-meta dd { font-size: 17px; }
  .h-section { font-size: clamp(28px, 8vw, 40px) !important; }
  .map-pin-dot { width: 52px; height: 52px; }
  .card-name { font-size: 16px; }
  .card-origin { font-size: 10px; }
}
