/* ============================================================
   VAPE CLUB — Pulse / Crimson Industrial
   Bold, confident, high-contrast. The B-side of the gold edition.
   ============================================================ */

:root {
  /* Palette — White Paper & Gold */
  --bg-0: #ffffff;
  --bg-1: #fafaf6;
  --bg-2: #f3f1e8;
  --bg-elev: #edeadd;

  --surface: rgba(0, 0, 0, 0.025);
  --surface-strong: rgba(0, 0, 0, 0.05);
  --border: rgba(0, 0, 0, 0.10);
  --border-strong: rgba(163, 126, 44, 0.65);

  --text: #0a0a0a;
  --text-dim: #555555;
  --text-mute: #8a8a8a;

  --accent: #a37e2c;       /* old / antique gold */
  --accent-hot: #b89342;   /* slightly lifted for hover */
  --accent-deep: #5e4615;  /* deep bronze */
  --accent-warm: #7a5e22;  /* aged brass */

  /* Compat aliases for existing markup */
  --neon-purple: var(--accent);
  --neon-cyan:   var(--accent-hot);
  --neon-pink:   var(--accent-deep);
  --neon-lime:   var(--accent-warm);

  --grad-primary: var(--accent);
  --grad-warm:    var(--accent-deep);
  --grad-glow:    radial-gradient(circle at center, rgba(163, 126, 44, 0.08), transparent 60%);

  --shadow-glow-purple: none;
  --shadow-glow-cyan:   none;
  --shadow-card: 0 8px 24px -10px rgba(0, 0, 0, 0.10);

  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 6px;
  --radius-xl: 8px;

  --font-display: "Archivo Black", "Bebas Neue", "Inter Tight", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: none;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: none; outline: none; }

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-elev); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== Layout ===== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: 96px 0; position: relative; z-index: 1; }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0; border: none; background: none;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 2px;
  background: var(--accent);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 0;
  box-shadow: none; animation: none;
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 18px;
  text-transform: uppercase;
}
.section-title .accent {
  color: var(--accent);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.section-sub { margin-top: 18px; color: var(--text-dim); max-width: 560px; font-size: 16px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px; gap: 32px; flex-wrap: wrap;
}

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; gap: 32px;
}
/* Legacy brand block (kept so admin sidebar etc. still work) */
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 900;
  letter-spacing: 0.04em; font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 2px;
  background: #000;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900;
  font-size: 20px; color: var(--accent);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute;
  top: -4px; right: -4px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== New editorial wordmark (Vape & Club · Private Lounge) =====
   Used in storefront nav + footer. Three stacked lines:
     1) tiny gold eyebrow (EST · MMXXVI)
     2) Playfair-style italic wordmark with a large gold ampersand
     3) muted small-caps tagline (PRIVATE LOUNGE)
   Designed to scale down gracefully on phones. */
.brand-luxe { padding: 0; gap: 14px; text-transform: none; letter-spacing: 0; }
.brand-luxe .brand-mono { display: grid; place-items: center; flex-shrink: 0; }
.brand-luxe .brand-mono img,
.brand-luxe .brand-mono svg { width: 56px; height: 56px; display: block; }
.brand-stack {
  display: flex; flex-direction: column; align-items: center;
  line-height: 1; gap: 4px;
}
.brand-eyebrow {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.42em;
  color: var(--accent);
  text-transform: uppercase;
  /* the right padding compensates for the trailing letter-spacing so the
     line stays optically centered above the wordmark */
  padding-left: 0.42em;
}
.brand-wordmark {
  font-family: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: #0a0a0a;
  letter-spacing: -0.005em;
  line-height: 0.95;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.brand-amp {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  color: var(--accent);
  margin: 0 6px;
  display: inline-block;
  line-height: 0.9;
  transform: translateY(2px);
}
.brand-tagline {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.5em;
  color: #888;
  text-transform: uppercase;
  padding-left: 0.5em;
}
@media (max-width: 768px) {
  .nav-inner { height: 76px; }
  .brand-luxe .brand-mono img,
  .brand-luxe .brand-mono svg { width: 40px; height: 40px; }
  .brand-luxe { gap: 10px; }
  .brand-eyebrow { font-size: 7.5px; letter-spacing: 0.32em; padding-left: 0.32em; }
  .brand-wordmark { font-size: 19px; }
  .brand-amp { font-size: 24px; margin: 0 3px; transform: translateY(1px); }
  .brand-tagline { font-size: 7px; letter-spacing: 0.36em; padding-left: 0.36em; }
  .brand-stack { gap: 2px; }
}

.nav-links { display: flex; gap: 4px; list-style: none; flex-wrap: nowrap; }
.nav-links a {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  /* Keep multi-word labels like "Nicotine Pouches" on a single line so they
     don't break and push the row to two lines. */
  white-space: nowrap;
}
/* Tighter spacing when the nav has all 9 links so they all fit on one row */
@media (max-width: 1280px) {
  .nav-links a { padding: 10px 8px; font-size: 11px; letter-spacing: 0.1em; }
}
.nav-links a:hover { color: var(--text); border-bottom-color: var(--accent); }
.nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 2px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
  position: relative;
}
.icon-btn:hover { background: #000; border-color: #000; color: var(--accent); }
.icon-btn .badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--accent);
  color: #fff; font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px; padding: 0 5px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
.btn-primary:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
}
.btn-ghost:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-block { width: 100%; }
.btn-lg { padding: 20px 36px; font-size: 14px; }
.btn-arrow .arrow { transition: transform 0.2s; }
.btn-arrow:hover .arrow { transform: translateX(4px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
  background: var(--bg-0);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background: none;
  mask-image: none;
}
.smoke { display: none; }

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 2px;
  opacity: 0;
  animation: heroIn 0.8s 0.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-tag .glow-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: none;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  /* French haute-couture display — Italiana is the closest Google-Fonts
     equivalent to Didot, the typeface used by Vogue Paris, Chanel, etc.
     High-contrast strokes, elegant thin verticals — reads "French luxury"
     instantly. Falls back to other elegant serifs if Italiana fails to load. */
  font-family: "Italiana", "Didot", "Bodoni Moda", "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: none;
  margin: 32px 0 26px;
  opacity: 0;
  animation: heroIn 1s 0.4s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; color: var(--text); }
.hero-title .word.glow {
  color: var(--accent);
  font-style: italic;
}
.hero-title .word.outline {
  -webkit-text-stroke: 1px var(--text);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: heroIn 1s 0.7s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center;
  margin-top: 44px; flex-wrap: wrap;
  opacity: 0;
  animation: heroIn 1s 0.9s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-stats {
  display: flex; gap: 0;
  justify-content: center;
  margin-top: 80px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: heroIn 1s 1.1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-stat {
  flex: 1;
  min-width: 180px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  text-align: left;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--text);
}
.hero-stat .lbl {
  font-size: 11px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero floaters reused as product chip cards */
.hero-floater {
  position: absolute; z-index: 3; pointer-events: none;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  opacity: 0;
  animation: floatIn 1s 1.3s forwards cubic-bezier(0.2, 0.8, 0.2, 1), bob 6s 1.3s ease-in-out infinite;
}
/* Floaters sit at the BOTTOM corners of the hero — out of the way of the
   tall Italiana title which now dominates the upper half of the hero. */
.hero-floater.f1 { bottom: 12%; left: 4%; }
.hero-floater.f2 { bottom: 22%; right: 4%; animation-delay: 1.5s, 1.5s; }
.hero-floater.f3 { bottom: 6%;  left: 22%; animation-delay: 1.7s, 1.7s; }
.floater-orb {
  width: 28px; height: 28px;
  border-radius: 2px;
  background: var(--accent);
}
.floater-orb.cyan { background: var(--accent-hot); }
.floater-orb.lime { background: var(--accent-warm); }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 3;
}

/* ===== Marquee ===== */
.marquee {
  background: #000;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.marquee-track {
  display: flex; gap: 40px;
  white-space: nowrap;
  animation: scrollX 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.marquee-track .star { color: var(--accent); }
@keyframes scrollX {
  to { transform: translateX(-50%); }
}

/* ===== Category Cards ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  display: block;
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.3s;
  overflow: hidden;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
/* Photo area — image fills, emoji is the fallback */
.cat-card .cat-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.cat-card .cat-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.cat-card:hover .cat-photo img { transform: scale(1.05); }
.cat-card .cat-photo .visual {
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  z-index: 1;
}
.cat-card .label {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  /* Auto-shrink so long names like "Nicotine Pouches" stay on one line
     across all viewport sizes. */
  font-size: clamp(14px, 1.7vw, 20px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  /* Keep the label as a single line — prevents the "Nicotine / Pouches"
     stacked-on-two-lines layout. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}
.cat-card .arrow {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-size: 16px;
  transition: all 0.3s;
}
.cat-card:hover .arrow {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
body.kv-rtl .cat-card .label { flex-direction: row-reverse; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cat-grid { grid-template-columns: 1fr; } }

/* ===== Product Cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card > a { display: block; }
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.product-img {
  aspect-ratio: 1/1;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 90px;
  border-bottom: 1px solid var(--border);
}
.product-img::before { content: none; }
.product-img .item {
  position: relative; z-index: 1;
  transition: transform 0.3s;
}
.product-card:hover .item { transform: scale(1.06); }

.product-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}
.product-tag.new { background: var(--text); color: #fff; }
.product-tag.hot { background: var(--accent); color: #fff; }
.product-tag.sale { background: var(--accent-deep); color: #fff; }

.product-fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  z-index: 2;
  transition: all 0.2s;
  color: var(--text);
}
.product-fav:hover { background: #000; color: var(--accent); border-color: #000; }

.product-body { padding: 18px 20px 22px; }
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.product-meta .stars { color: var(--accent); letter-spacing: 0; }
.product-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-top: 10px;
  text-transform: uppercase;
}
.product-desc {
  margin-top: 6px;
  color: var(--text-mute);
  font-size: 13px;
}
.product-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
  padding-top: 18px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.product-price .old {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  text-decoration: line-through;
  margin-right: 0;
  margin-bottom: 2px;
  font-weight: 400;
  order: -1;
}
.product-add {
  width: 36px; height: 36px;
  border-radius: 2px;
  background: #000;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  display: grid; place-items: center;
  transition: all 0.2s;
}
.product-add:hover { background: var(--accent); color: #000; transform: scale(1.05); }

/* ===== Age Gate ===== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9500; /* above offer popup (170) and everything else */
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.age-gate.hidden { display: none; }
.age-gate .age-actions button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(163, 126, 44, 0.2);
  position: relative;
  z-index: 1;
}
.age-card {
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  background: var(--bg-1);
  border-radius: 2px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  text-align: center;
}
.age-card .logo {
  width: 64px; height: 64px;
  border-radius: 2px;
  background: var(--accent);
  margin: 0 auto 28px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: #fff;
}
.age-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.age-card p {
  margin: 14px 0 28px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
.age-actions { display: flex; gap: 10px; }
.age-actions .btn { flex: 1; }

/* ===== Footer ===== */
.footer {
  background: #000;
  color: #fff;
  border-top: none;
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer-brand p {
  margin-top: 20px;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  font-size: 14px;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  color: #fff;
  transition: all 0.2s;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.footer-warn {
  margin-top: 32px;
  padding: 18px;
  background: rgba(163, 126, 44, 0.08);
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-align: center;
}
.footer-warn strong { color: var(--accent); }

/* ===== Newsletter ===== */
.newsletter {
  background: #000;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}
.newsletter h2 .accent { color: var(--accent); }
.newsletter p {
  margin-top: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}
.newsletter form {
  margin-top: 36px;
  display: flex; gap: 8px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.newsletter input {
  flex: 1;
  padding: 18px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 2px;
  font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter button {
  padding: 18px 32px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}
.newsletter button:hover { background: var(--accent-hot); }

/* ===== Story / About sections ===== */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-img {
  aspect-ratio: 1/1;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 220px;
  color: var(--accent);
  position: relative;
}
.story-content h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 18px 0 24px;
}
.story-content p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 16px;
}
.story-features { margin-top: 32px; display: grid; gap: 18px; }
.story-feat {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  border-left: 3px solid var(--accent);
}
.story-feat .ic { font-size: 24px; flex-shrink: 0; }
.story-feat h4 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.story-feat p { margin: 4px 0 0; font-size: 13px; color: var(--text-mute); }

/* ===== Testimonials ===== */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.testi {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px;
  position: relative;
}
.testi::before {
  content: "“";
  position: absolute; top: 8px; left: 16px;
  font-family: var(--font-display);
  font-size: 80px; line-height: 1;
  color: var(--accent); opacity: 0.6;
}
.testi .stars { color: var(--accent); margin-bottom: 14px; }
.testi p { font-size: 15px; line-height: 1.7; color: var(--text-dim); }
.testi-foot {
  margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.testi-foot .av {
  width: 40px; height: 40px;
  border-radius: 2px;
  background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900;
  color: #fff;
}
.testi-foot .nm {
  font-family: var(--font-display); font-weight: 900;
  font-size: 14px; text-transform: uppercase;
}
.testi-foot .role {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute);
}

/* ===== Shop layout ===== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }

/* Mobile filter dropdown toggle — hidden on desktop */
.filter-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  background: #000;
  color: var(--accent);
  border: 1px solid #000;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-toggle svg { color: var(--accent); }
.filter-toggle .filter-toggle-arrow {
  margin-left: auto;
  font-size: 14px;
  transition: transform 0.25s;
}
.filter-toggle[aria-expanded="true"] .filter-toggle-arrow { transform: rotate(180deg); }

.filters {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 24px;
  position: sticky; top: 96px; height: max-content;
}
.filters h4 {
  font-family: var(--font-display);
  font-weight: 900; text-transform: uppercase;
  font-size: 12px; letter-spacing: 0.15em;
  color: var(--text); margin: 18px 0 10px;
}
.filters h4:first-child { margin-top: 0; }
.filters label {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 13px; color: var(--text-dim); cursor: pointer;
}
.filters input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg-2);
  cursor: pointer;
  position: relative;
}
.filters input[type="checkbox"]:checked {
  background: var(--accent); border-color: var(--accent);
}
.filters input[type="checkbox"]:checked::after {
  content: "✓"; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 11px;
}
.filter-count {
  margin-left: auto; color: var(--text-mute);
  font-family: var(--font-mono); font-size: 11px;
}
.shop-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 16px;
}
.sort-select {
  padding: 10px 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); cursor: pointer;
}

/* ===== PDP ===== */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
  align-items: start;
}
.pdp-main {
  aspect-ratio: 1/1;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: grid; place-items: center;
  font-size: 220px;
  position: relative;
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.pdp-main .icon { position: relative; z-index: 1; color: var(--accent); }
.pdp-info { display: flex; flex-direction: column; }
.pdp-info .crumbs {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.pdp-info .crumbs a:hover { color: var(--accent); }
.pdp-info .eyebrow { margin-bottom: 18px; }
.pdp-info h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 0.95;
}
.pdp-meta {
  display: flex; gap: 18px; align-items: center;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pdp-meta .stars { color: var(--accent); letter-spacing: 0; font-size: 14px; }
.pdp-meta .in-stock { color: #2e7d32; font-weight: 600; }

.pdp-price {
  display: flex; align-items: baseline; gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.pdp-price .now {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.pdp-price .old {
  font-size: 18px;
  color: var(--text-mute);
  text-decoration: line-through;
  font-family: var(--font-display);
  font-weight: 900;
}
.pdp-price .save {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  background: var(--accent);
  color: #000;
  border-radius: 2px;
  font-weight: 700;
}

.pdp-desc {
  margin-top: 24px;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 15px;
}

.opt-row { margin-top: 28px; }
.opt-row .opt-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.opt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opt-pill {
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.opt-pill:hover { border-color: var(--text); }
.opt-pill.selected {
  border-color: var(--accent);
  background: rgba(163, 126, 44, 0.1);
  color: var(--accent);
  font-weight: 700;
}
.opt-pill .pill-sub {
  font-size: 11px;
  color: var(--text-mute);
  font-family: var(--font-mono);
}
.opt-pill.selected .pill-sub { color: var(--accent); }
/* Per-variant photo thumbnail on the PDP variant pills (mirrors the card) */
.opt-pill.has-thumb { padding: 8px 16px 8px 8px; }
.opt-pill-thumb {
  width: 34px; height: 34px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: #f4f4f4;
}
.opt-pill.selected .opt-pill-thumb {
  box-shadow: 0 0 0 1px var(--accent);
}
.opt-pill-label { display: inline-block; line-height: 1; }

.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  height: 56px;
}
.qty button {
  width: 48px; height: 100%;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  transition: background 0.15s;
}
.qty button:hover { background: var(--surface-strong); }
.qty span {
  padding: 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  min-width: 28px;
  text-align: center;
}

.qty-row {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  align-items: stretch;
}
.qty-row .btn-primary {
  flex: 1;
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  padding: 16px 24px;
  height: 56px;
  font-size: 13px;
}
.qty-row .btn-primary:hover {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  color: #000;
}

.pdp-info .btn-ghost {
  border-color: var(--text);
  color: var(--text);
}
.pdp-info .btn-ghost:hover {
  background: var(--text);
  color: #fff;
}

.pdp-feats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pdp-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 16px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
}
.pdp-feat:last-child { border-right: none; }
.pdp-feat .ic { font-size: 22px; }
.pdp-feat .txt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Specifications accordion */
.pdp-specs {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg-1);
}
.pdp-specs summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-specs summary::-webkit-details-marker { display: none; }
.pdp-specs summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 22px;
  transition: transform 0.2s;
}
.pdp-specs[open] summary::after { content: "−"; }
.pdp-specs .spec-list {
  padding: 0 22px 18px;
}
.pdp-specs .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.pdp-specs .spec-row span:first-child {
  font-family: var(--font-mono);
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}
.pdp-specs .spec-row span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* PDP responsive */
@media (max-width: 1100px) {
  .pdp { gap: 32px; }
  .pdp-main { position: static; aspect-ratio: 1/1; }
}

/* ===== Cart ===== */
.cart-page { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.cart-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 12px;
}
.cart-item .img,
.cart-item .cart-thumb {
  width: 80px; height: 80px;
  background: var(--bg-2);
  border-radius: 2px;
  display: grid; place-items: center; font-size: 36px;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item .cart-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cart-item .info,
.cart-item .cart-info { flex: 1; min-width: 0; }
.cart-item .cart-info h4 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 15px; text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--text);
}
.cart-item .cart-line {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
  flex-shrink: 0;
}
.cart-item .cart-remove {
  background: transparent; border: 1px solid var(--border);
  width: 28px; height: 28px; border-radius: 2px;
  color: var(--text-mute); cursor: pointer; font-size: 18px;
  line-height: 1;
}
.cart-item .cart-remove:hover { color: #dc2626; border-color: #dc2626; }
.cart-item .nm {
  font-family: var(--font-display); font-weight: 900;
  font-size: 15px; text-transform: uppercase; letter-spacing: -0.01em;
}
.cart-item .vt { margin-top: 4px; font-size: 12px; color: var(--text-mute); }
.cart-price {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 900;
  white-space: nowrap;
}
.cart-remove {
  width: 32px; height: 32px;
  border-radius: 2px;
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--text-mute);
  transition: all 0.2s;
}
.cart-remove:hover { background: #000; color: var(--accent); }
.cart-summary {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 2px;
  padding: 28px;
  position: sticky; top: 96px; height: max-content;
}
.cart-summary .btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.cart-summary .btn-primary:hover {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  color: #000;
}
.cart-summary .btn-ghost {
  border-color: var(--accent);
  color: var(--text);
}
.cart-summary .btn-ghost:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.cart-summary h3 {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 14px;
  display: inline-block;
}
.cart-item {
  border-left: 3px solid var(--accent);
}
.cart-price {
  color: var(--accent-warm);
}
.summary-row.total span:last-child {
  color: var(--accent);
}
.cart-summary h3 {
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; font-size: 18px; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; color: var(--text-dim); font-size: 14px;
}
.summary-row.total {
  padding: 16px 0 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; text-transform: uppercase;
  color: var(--text);
}
.banner-good {
  margin-top: 18px;
  padding: 14px;
  background: rgba(163, 126, 44, 0.1);
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 13px; text-align: center; color: var(--text);
}

/* ===== Admin ===== */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side {
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.admin-side .brand { padding: 0 24px 24px; border-bottom: 1px solid var(--border); }
.admin-side nav { padding: 24px 12px; }
.admin-side nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.2s;
  margin-bottom: 4px;
}
.admin-side nav a:hover { background: var(--surface); color: var(--text); }
.admin-side nav a.active { background: #000; color: var(--accent); }
.admin-main { padding: 32px 40px; }
.admin-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.admin-head h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 32px; text-transform: uppercase; letter-spacing: -0.02em;
}
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 32px;
}
.kpi {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  border-left: 3px solid var(--accent);
}
.kpi-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mute);
}
.kpi-icon {
  width: 28px; height: 28px;
  border-radius: 2px;
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  background: var(--accent);
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 900;
  margin-top: 14px;
  color: var(--text);
}
.kpi-delta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
}
.kpi-delta.up { color: var(--accent); }
.kpi-delta.down { color: var(--text-mute); }
.chart-panel, .table-panel {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 24px; margin-bottom: 16px;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.panel-head h3 {
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; font-size: 14px; letter-spacing: 0.05em;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left; padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute);
  border-bottom: 1px solid var(--border);
}
td { padding: 14px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
td.strong { color: var(--text); font-weight: 600; }
.pill {
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
}
.pill.success { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.pill.warn    { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.pill.info    { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.pill.danger  { background: rgba(163, 126, 44, 0.15); color: var(--accent); border: 1px solid var(--accent); }
.pill.neutral { background: var(--surface); color: var(--text-dim); border: 1px solid var(--border); }
.row-actions { display: flex; gap: 6px; }
.row-actions button {
  width: 28px; height: 28px;
  border-radius: 2px;
  background: var(--surface);
  display: grid; place-items: center;
  font-size: 12px; transition: background 0.2s;
}
.row-actions button:hover { background: #000; color: var(--accent); }
.seg-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.seg {
  padding: 20px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.seg h4 {
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em;
}
.seg p {
  margin-top: 4px;
  font-size: 11px;
  font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
}
.seg .num {
  margin-top: 12px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 26px; color: var(--accent);
}
.form-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 14px;
}
.form-row label {
  width: 140px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute);
}
.form-row input, .form-row textarea, .form-row select {
  flex: 1;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
}
.campaign-stat { display: inline-block; margin-right: 24px; }
.campaign-stat .v {
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
}
.campaign-stat .l {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute); margin-top: 4px;
}
.prod-cell { display: flex; align-items: center; gap: 12px; }
.prod-cell .ic {
  width: 36px; height: 36px;
  border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900;
  font-size: 13px;
  background: var(--accent); color: #fff;
}

/* ===== Reveal helper ===== */
.reveal { opacity: 0; transform: translateY(30px); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .product-grid, .cat-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .story, .pdp, .cart-page, .shop-layout, .admin-shell { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kpi-grid, .seg-row { grid-template-columns: repeat(2, 1fr); }

  /* Mobile-only filter dropdown behaviour */
  .filter-toggle { display: inline-flex; }
  .filters {
    position: static;
    padding: 0;
    border: none;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease, border-color 0.25s ease, margin-top 0.25s ease;
    margin-top: 0;
  }
  .filters.is-open {
    /* Was capped at 1200px which cut off Accessory (the last category).
       Raise the cap well past the tallest possible filter list. */
    max-height: 4000px;
    padding: 20px;
    border: 1px solid var(--border);
    background: var(--bg-1);
    margin-top: 8px;
    overflow-y: auto;
  }
  /* Collapse each category by default on mobile so all 6 fit on screen — the
     user expands what they want. Desktop keeps them open via the `open` attr. */
  .filters .filter-group[open] { /* default */ }
}
@media (max-width: 640px) {
  /* On phones, collapse all category <details> by default so all 6 category
     headers are visible at once. The user clicks to expand. */
  .filters .filter-group { }
  .filters .filter-group summary { padding: 10px 0; }
}
/* ============================================================
   Mobile category strip — horizontal scrollable category chips
   shown on phones (replaces the hidden .nav-links).
   ============================================================ */
.kv-mobile-cats {
  display: none;                /* hidden on desktop by default */
  position: sticky;
  top: 60px;                    /* sits right below the sticky nav */
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.kv-mobile-cats-inner {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;        /* Firefox */
}
.kv-mobile-cats-inner::-webkit-scrollbar { display: none; }
.kv-mobile-cat {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.15s;
}
.kv-mobile-cat:hover { border-color: var(--accent); }
.kv-mobile-cat.active {
  background: #000;
  color: var(--accent);
  border-color: #000;
}
.kv-mobile-cat-icon { font-size: 14px; }
@media (max-width: 900px) {
  .kv-mobile-cats { display: block; }
}

@media (max-width: 640px) {
  /* Phone: 2 products per row — each card has room to breathe */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid, .testi-grid, .kpi-grid, .seg-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
  .hero-floater { display: none; }

  /* Compact product card — tuned for 2-per-row layout */
  .product-card { border-radius: 2px; }
  .product-img { font-size: 64px; }
  .product-tag {
    top: 8px; left: 8px;
    padding: 3px 8px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }
  .product-fav {
    top: 8px; right: 8px;
    width: 30px; height: 30px;
    font-size: 14px;
  }
  .product-body { padding: 14px 14px 16px; }
  .product-meta { font-size: 9px; letter-spacing: 0.1em; gap: 6px; }
  .product-meta .stars { font-size: 12px; }
  .product-name { font-size: 15px; line-height: 1.2; margin-top: 8px; }
  .product-desc { font-size: 12px; margin-top: 4px; line-height: 1.4; }
  .product-foot { padding-top: 12px; gap: 8px; }
  .product-price {
    font-size: 17px; line-height: 1.1;
  }
  .product-price .old { font-size: 11px; margin-bottom: 2px; }
  .product-add {
    width: 34px; height: 34px;
    font-size: 20px;
  }
}

/* ============================================================
   Taxonomy filter sidebar — collapsible categories
   ============================================================ */
.filters details.filter-group {
  margin: 0 0 14px;
  padding: 0;
}
.filters details.filter-group > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text);
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filters details.filter-group > summary::-webkit-details-marker { display: none; }
.filters details.filter-group > summary::after {
  content: '+';
  color: var(--accent);
  font-size: 18px;
  font-family: var(--font-display);
  transition: transform 0.18s;
}
.filters details.filter-group[open] > summary::after { content: '−'; }
.filters details.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  margin-left: 4px;
}
.filters .filter-cat-all {
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px !important;
  margin-bottom: 4px;
  color: var(--text) !important;
  font-weight: 600;
}

/* ============================================================
   Subcategory chip bar (shop page)
   ============================================================ */
.subcat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.subcat-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s;
}
.subcat-chip:hover { border-color: var(--accent); color: var(--accent); }
.subcat-chip.active {
  background: #000;
  color: var(--accent);
  border-color: #000;
}
/* Brand logos fill most of the chip frame. Height fills vertically;
   width adapts to the logo's aspect ratio (landscape logos like Geek Vape
   take more width than square logos like Uwell). */
.subcat-chip .kv-brand-logo {
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
/* On the active (black) chip, invert dark logos to white so they stay
   readable. If a brand uploads a white-on-transparent logo, they can
   skip this with a class override later. */
.subcat-chip.active .kv-brand-logo {
  filter: invert(1) brightness(2);
}
.subcat-chip .kv-brand-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 6px;
}
/* "All" chip stays compact since it's just text */
.subcat-chip[data-subcat=""] { min-width: 56px; }

@media (max-width: 640px) {
  .subcat-chip {
    min-height: 56px;
    padding: 5px 10px;
  }
  .subcat-chip .kv-brand-logo { height: 40px; max-height: 40px; max-width: 110px; }
  .subcat-chip[data-subcat=""] { min-width: 48px; }
}

/* Product card subcategory chip */
.product-meta .subcat {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-left: 4px;
}

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.kv-wa-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 6px 12px -4px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  animation: kvWaPulse 2.6s ease-in-out infinite;
}
.kv-wa-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 36px -10px rgba(37, 211, 102, 0.7), 0 8px 14px -4px rgba(0,0,0,0.25);
}
@keyframes kvWaPulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 6px 12px -4px rgba(0,0,0,0.2), 0 0 0 0 rgba(37,211,102,0.55); }
  50%      { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55), 0 6px 12px -4px rgba(0,0,0,0.2), 0 0 0 14px rgba(37,211,102,0); }
}
body.kv-rtl .kv-wa-btn { right: auto; left: 22px; }
@media (max-width: 640px) {
  .kv-wa-btn { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  body.kv-rtl .kv-wa-btn { left: 14px; }
}

/* ============================================================
   Offer popup — KING'S SEAL design
   ============================================================ */
.kv-offer {
  position: fixed; inset: 0; z-index: 170;
  background: radial-gradient(ellipse at center, rgba(20,12,0,0.7) 0%, rgba(0,0,0,0.85) 100%);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.kv-offer.show { opacity: 1; }

/* Frame container — cream gradient on parchment, gold-rule inner border */
.kv-offer-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, #fffdf6 0%, #f3ead2 100%);
  padding: 32px 40px 28px;
  border-radius: 8px;
  border: 1px solid #8a661a;
  box-shadow:
    0 40px 80px -20px rgba(20, 12, 0, 0.6),
    0 15px 35px -10px rgba(20, 12, 0, 0.4);
  text-align: center;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.5s cubic-bezier(.34, 1.56, .64, 1);
}
.kv-offer.show .kv-offer-card { transform: none; }
.kv-offer-card::before {
  content: "";
  position: absolute; inset: 6px;
  border: 0.5px solid #b88a2b;
  border-radius: 5px;
  opacity: 0.5;
  pointer-events: none;
}

/* Close button */
.kv-offer-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(138, 102, 26, 0.4);
  background: rgba(255, 253, 246, 0.6);
  backdrop-filter: blur(4px);
  color: #8a661a;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: grid; place-items: center;
  transition: all 0.2s ease;
}
.kv-offer-close:hover {
  background: #8a661a;
  color: #faf5e8;
  transform: rotate(90deg);
}
body.kv-rtl .kv-offer-close { right: auto; left: 16px; }

/* Header: wordmark + gold-divider eyebrow */
.kv-offer-header { margin-bottom: 18px; }
.kv-offer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #8a661a;
  margin-bottom: 14px;
}
.kv-offer-crown {
  font-size: 18px;
  background: linear-gradient(135deg, #c9a14a 0%, #f0d885 25%, #b88a2b 50%, #f0d885 75%, #8a661a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kv-offer-divider {
  display: flex;
  align-items: center;
  gap: 14px;
}
.kv-offer-divider span:first-child,
.kv-offer-divider span:last-child {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8a661a, transparent);
}
.kv-offer-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.45em;
  font-weight: 700;
  color: #8a661a;
  white-space: nowrap;
}

/* Ornate gilded photo frame */
.kv-offer-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  margin: 8px auto 40px;
  background: linear-gradient(135deg, #c9a14a, #f0d885 25%, #b88a2b 50%, #f0d885 75%, #8a661a);
  padding: 14px;
  border-radius: 4px;
  box-shadow:
    0 14px 36px -10px rgba(60, 40, 8, 0.4),
    inset 0 0 0 1px rgba(255,255,255,0.4),
    inset 0 0 0 3px rgba(60, 40, 8, 0.2);
}
.kv-offer-photo-frame::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(94, 68, 16, 0.5);
  border-radius: 2px;
  pointer-events: none;
}
.kv-offer-photo-frame::after {
  content: "";
  position: absolute; inset: 9px;
  border: 0.5px solid rgba(255, 250, 220, 0.5);
  border-radius: 2px;
  pointer-events: none;
}

/* Corner flourishes */
.kv-offer-corner {
  position: absolute;
  width: 32px; height: 32px;
  z-index: 2;
  pointer-events: none;
  color: #d4af4a;
}
.kv-offer-corner-tl { top: 2px; left: 2px; }
.kv-offer-corner-tr { top: 2px; right: 2px; transform: rotate(90deg); }
.kv-offer-corner-bl { bottom: 2px; left: 2px; transform: rotate(-90deg); }
.kv-offer-corner-br { bottom: 2px; right: 2px; transform: rotate(180deg); }

/* Photo inner — diagonal weave + dark velvet base if no image */
.kv-offer-photo-inner {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(184,138,43,0.06) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, #2a1f10 0%, #1a140c 100%);
  border-radius: 2px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.kv-offer-photo-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.kv-offer-photo-placeholder {
  color: rgba(240, 216, 133, 0.55);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 18px;
  text-align: center;
}

/* Wax-seal medallion overlapping the photo */
.kv-offer-seal {
  position: absolute;
  bottom: -22px; right: -10px;
  width: 92px; height: 92px;
  z-index: 3;
  filter: drop-shadow(0 6px 14px rgba(60, 40, 8, 0.5));
}
body.kv-rtl .kv-offer-seal { right: auto; left: -10px; }
.kv-offer-seal-ring {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, #f0d885 0%, #b88a2b 50%, #6b4f1a 100%);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 2px rgba(255, 250, 220, 0.5),
    inset 0 -2px 4px rgba(60, 40, 8, 0.4);
}
.kv-offer-seal-inner {
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #6b4f1a 0%, #3a2a14 80%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
  gap: 2px;
}
.kv-offer-seal-num {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #f0d885;
  letter-spacing: -0.01em;
}
.kv-offer-seal-label {
  font-family: 'Cinzel', serif;
  font-size: 8px;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: #d4af4a;
}

/* Tagline */
.kv-offer-tagline {
  font-family: 'Cinzel', 'Cormorant Garamond', serif;
  font-size: 26px;
  line-height: 1.15;
  margin: 14px 0 4px;
  color: #1a140c;
  font-weight: 600;
}
.kv-offer-tagline-ar {
  font-family: 'Amiri', 'Reem Kufi', serif;
  font-size: 18px;
  color: #7a5a1c;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Bundle pill */
.kv-offer-bundle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid #8a661a;
  border-radius: 999px;
  background: rgba(184, 138, 43, 0.06);
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: #3b2f1c;
  font-weight: 500;
  margin: 6px 4px 22px;
  max-width: 100%;
}
.kv-offer-bundle-icon {
  color: #8a661a;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  font-style: normal;
}

/* Action stack */
.kv-offer-actions {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  margin-bottom: 8px;
}
.kv-offer-cta {
  display: inline-flex;
  align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: #faf5e8;
  background: linear-gradient(180deg, #e6c873 0%, #b88a2b 50%, #8a661a 100%);
  border: 1px solid #8a661a;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  box-shadow:
    0 6px 20px -8px rgba(138, 102, 26, 0.7),
    inset 0 1px 0 rgba(255, 250, 220, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.kv-offer-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px -10px rgba(138, 102, 26, 0.8),
    inset 0 1px 0 rgba(255, 250, 220, 0.5);
}
.kv-offer-cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none; /* let the click pass through to the underlying <a> */
}
.kv-offer-cta:hover::after { transform: translateX(100%); }

.kv-offer-later {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 11px;
  color: rgba(58, 47, 28, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 8px;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.kv-offer-later:hover { color: #8a661a; }

/* Fine-print terms strip */
.kv-offer-terms {
  display: flex;
  align-items: center; justify-content: center;
  gap: 8px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(58, 47, 28, 0.55);
  margin-top: 14px;
}
.kv-offer-terms::before,
.kv-offer-terms::after {
  content: "";
  height: 1px; flex: 1;
  max-width: 50px;
  background: rgba(138, 102, 26, 0.3);
}

/* Mobile */
@media (max-width: 640px) {
  .kv-offer-card { padding: 24px 22px 22px; max-width: 92vw; }
  .kv-offer-photo-frame { margin-bottom: 36px; padding: 10px; }
  .kv-offer-corner { width: 24px; height: 24px; }
  .kv-offer-seal { width: 72px; height: 72px; bottom: -16px; right: -4px; }
  body.kv-rtl .kv-offer-seal { left: -4px; }
  .kv-offer-seal-num { font-size: 16px; }
  .kv-offer-tagline { font-size: 20px; }
  .kv-offer-tagline-ar { font-size: 15px; }
  .kv-offer-bundle { font-size: 13px; padding: 9px 16px; }
  .kv-offer-cta { padding: 14px 22px; font-size: 10px; }
}

/* ============================================================
   Bilingual support — RTL when lang=ar
   ============================================================ */
body.kv-rtl {
  font-family: var(--font-body);
}
body.kv-rtl .nav-inner,
body.kv-rtl .nav-actions,
body.kv-rtl .nav-links,
body.kv-rtl .brand { flex-direction: row-reverse; }
body.kv-rtl .nav-links { gap: 4px; }
body.kv-rtl .product-foot,
body.kv-rtl .product-meta,
body.kv-rtl .pdp-meta,
body.kv-rtl .summary-row,
body.kv-rtl .filters label { flex-direction: row-reverse; }
body.kv-rtl .section-head { flex-direction: row-reverse; }
body.kv-rtl .product-card { text-align: right; }
body.kv-rtl .pdp-info { text-align: right; }
body.kv-rtl .footer-bottom { flex-direction: row-reverse; }
body.kv-rtl .crumbs { direction: rtl; }
body.kv-rtl .cart-item { border-left: none; border-right: 3px solid var(--accent); flex-direction: row-reverse; }
body.kv-rtl .cart-summary { text-align: right; }
body.kv-rtl .product-tag { left: auto; right: 12px; }
body.kv-rtl .product-fav { right: auto; left: 12px; }
body.kv-rtl .filter-toggle .filter-toggle-arrow { margin-left: 0; margin-right: auto; }
body.kv-rtl .age-actions { flex-direction: row-reverse; }

/* Eyebrow's leading underline should be on the right side in RTL */
body.kv-rtl .eyebrow::before { order: 99; }

/* Language toggle chip */
.lang-toggle {
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
  min-width: 56px;
  text-align: center;
}
.lang-toggle:hover { background: #000; color: var(--accent); border-color: #000; }

/* ============================================================
   Product images (real <img> tags swapped in via images.js)
   ============================================================ */
.product-img .item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.product-card:hover .item-img { transform: scale(1.06); }

.pdp-main .icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  display: block;
}

.admin-table .ic.ic-img,
.admin-table img.ic {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
}

/* Image editor modal (extends .admin-modal) */
.kv-img-editor .admin-modal-card {
  max-width: 560px;
}
.kv-img-preview-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  margin-top: 18px;
}
.kv-img-preview {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border, rgba(0,0,0,0.10));
  border-radius: 2px;
  background: var(--bg-2, #f3f1e8);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.kv-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kv-img-tips h5 {
  font-family: var(--font-display, "Archivo Black", sans-serif);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text, #0a0a0a);
  margin-bottom: 10px;
}
.kv-img-tips ul {
  list-style: none;
  margin: 0; padding: 0;
  font-size: 12px;
  color: var(--text-dim, #555);
  line-height: 1.7;
}
.kv-img-tips li::before {
  content: "→ ";
  color: var(--accent, #c9a227);
  font-weight: 700;
}
.kv-img-tips code {
  background: var(--surface, rgba(0,0,0,0.04));
  padding: 1px 6px;
  border-radius: 2px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--accent, #c9a227);
}
@media (max-width: 640px) {
  .kv-img-preview-row { grid-template-columns: 1fr; }
  .kv-img-preview { width: 100%; height: 200px; }
}

/* ============================================================
   Interactive overlays — toast, search, account menu, modal
   ============================================================ */

/* Toast */
.kv-toast {
  position: fixed;
  top: 92px; right: 24px;
  z-index: 200;
  padding: 14px 20px;
  background: #000;
  color: var(--accent);
  border: 1px solid #000;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  max-width: 320px;
}
.kv-toast.show { opacity: 1; transform: translateX(0); }
@media (max-width: 640px) {
  .kv-toast { left: 16px; right: 16px; max-width: none; font-size: 11px; padding: 12px 16px; }
}

/* Search overlay */
.kv-search {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  place-items: start center;
  padding: 96px 24px;
  opacity: 0; transition: opacity 0.2s;
}
.kv-search.show { opacity: 1; }
.kv-search-card {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid #000;
  border-radius: 2px;
  padding: 40px 36px;
  position: relative;
}
.kv-search-close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px;
  background: transparent;
  font-size: 22px; line-height: 1;
  color: var(--text);
  border-radius: 2px;
  transition: background 0.2s;
}
.kv-search-close:hover { background: var(--surface); }
.kv-search-input {
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #000;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
  outline: none;
}
.kv-search-input::placeholder { color: var(--text-mute); font-weight: 400; }
.kv-search-hint {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.kv-search-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.kv-search-tags button {
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  color: var(--text);
  transition: all 0.2s;
}
.kv-search-tags button:hover {
  background: #000; color: var(--accent); border-color: #000;
}

/* Account dropdown */
.kv-acct-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.15);
  padding: 8px;
  z-index: 60;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.kv-acct-menu.show { opacity: 1; transform: translateY(0); }
.kv-acct-menu a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.kv-acct-menu a:hover { background: #000; color: var(--accent); }
.kv-acct-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* Wishlist liked state */
.product-fav.liked {
  background: #000 !important;
  color: var(--accent) !important;
  border-color: #000 !important;
  animation: kv-heart-pop 0.35s ease;
}
@keyframes kv-heart-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* Newsletter success */
.kv-news-ok {
  width: 100%;
  padding: 22px;
  background: var(--accent);
  color: #000;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-align: center;
}

/* Order success modal */
.kv-modal {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.25s;
}
.kv-modal.show { opacity: 1; }
.kv-modal-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 2px;
  padding: 48px 36px;
  text-align: center;
  border-top: 4px solid var(--accent);
}
.kv-check {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
}
.kv-modal-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.kv-modal-card p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-dim);
}
.kv-modal-card p strong {
  color: var(--text);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.kv-modal-card .kv-modal-sub { font-size: 13px; }
.kv-modal-card .btn { margin-top: 28px; }


/* ============================================================
   PRODUCTION: footer, cookie banner, toast, skip-link, a11y focus
   ============================================================ */

/* Skip-to-content link for keyboard users */
.kv-skip {
  position: absolute; left: 0; top: 0;
  transform: translateY(-200%);
  background: #000; color: var(--accent);
  padding: 12px 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 9999;
  border: 2px solid var(--accent);
  text-decoration: none;
  transition: transform 0.2s;
}
.kv-skip:focus { transform: translateY(0); outline: none; }

/* Global focus-visible style */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Footer */
.kv-footer {
  margin-top: 80px;
  background: #0a0a0a;
  color: #d4d4d4;
  border-top: 4px solid var(--accent);
}
.kv-footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 56px 24px 28px;
}
.kv-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.kv-footer-brand .kv-footer-mark {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  background: #000; color: var(--accent);
  border: 1px solid var(--accent);
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  text-decoration: none;
  border-radius: 2px;
}
.kv-footer-name {
  margin-top: 16px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
}
.kv-footer-tag {
  margin-top: 10px;
  color: #a3a3a3;
  font-size: 13px; line-height: 1.6;
  max-width: 260px;
}
.kv-footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.kv-footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.kv-footer-col li a, .kv-footer-col li span {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.kv-footer-col li a:hover { color: var(--accent); }
.kv-footer-muted { color: #737373 !important; font-size: 12px !important; }
.kv-footer-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #262626;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: #737373;
  font-family: var(--font-mono); letter-spacing: 0.05em;
}
.kv-footer-warn {
  color: #a3a3a3;
}
body.kv-rtl .kv-footer-grid { direction: rtl; }
@media (max-width: 900px) {
  .kv-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .kv-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .kv-footer-inner { padding: 44px 18px 24px; }
  .kv-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .kv-footer-base { font-size: 11px; }
}

/* Cookie banner */
.kv-cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 9000;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,0.25);
  padding: 18px 22px;
  animation: kv-cookie-in 0.4s ease-out;
}
@keyframes kv-cookie-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.kv-cookie-hide { opacity: 0; transform: translateY(20px); transition: all 0.3s; }
.kv-cookie-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.kv-cookie-inner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13px; line-height: 1.55;
  color: var(--text);
}
.kv-cookie-inner a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}
.kv-cookie-actions {
  display: flex; gap: 10px;
}
.kv-cookie-btn {
  padding: 12px 26px;
  background: var(--accent); color: #000;
  border: none; border-radius: 2px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.kv-cookie-btn:hover { background: var(--accent-hot); }
.kv-cookie-btn.kv-cookie-decline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.kv-cookie-btn.kv-cookie-decline:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.04);
}
@media (max-width: 600px) {
  .kv-cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }
  .kv-cookie-inner p { font-size: 12px; }
  .kv-cookie-btn { padding: 10px 18px; font-size: 11px; }
}

/* Toast */
.kv-toast {
  position: fixed;
  /* Place toast bottom-LEFT so it doesn't collide with the WhatsApp button
     pinned bottom-right. */
  left: 24px; bottom: 32px;
  transform: translateY(140%);
  z-index: 10000;
  padding: 14px 22px;
  background: #000; color: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  font-size: 14px; max-width: 90vw;
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
@media (max-width: 540px) {
  .kv-toast { left: 16px; right: 80px; bottom: 24px; max-width: none; font-size: 13px; padding: 12px 16px; }
}
.kv-toast--show {
  opacity: 1;
  transform: translateY(0);
}
.kv-toast--ok      { border-left-color: #2e7d32; }
.kv-toast--err     { border-left-color: #dc2626; }
.kv-toast--info    { border-left-color: var(--accent); }
.kv-toast--warn    { border-left-color: #f59e0b; }

/* ============================================================
   Variant pills on product cards (nicotine strengths etc.)
   ============================================================ */
.kv-card-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 14px;
  margin: 6px 0 0;
}
.kv-card-variant {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
  white-space: nowrap;
  /* Kill the 300ms click delay on mobile + prevent text selection on tap */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.kv-card-variant.has-thumb { padding: 3px 9px 3px 4px; }
.kv-card-variant-thumb {
  width: 22px; height: 22px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: #f4f4f4;
}
.kv-card-variant-label { display: inline-block; line-height: 1; }
/* Selected state — keep thumbnail visible (gold halo) on dark background */
.kv-card-variant.selected .kv-card-variant-thumb {
  box-shadow: 0 0 0 1px var(--accent);
}
.kv-card-variant:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.kv-card-variant.selected {
  background: #000;
  color: var(--accent);
  border-color: #000;
}
.kv-card-variant.out,
.kv-card-variant:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.product-price .from-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 2px;
}
@media (max-width: 540px) {
  .kv-card-variants { padding: 0 10px; gap: 3px; }
  .kv-card-variant { padding: 3px 7px; font-size: 9px; }
}

/* Variant rows in admin (add + edit) */
.kv-variant-row input,
.kv-variant-row .kv-v-del {
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  color: var(--text);
}
.kv-variant-row input:focus {
  border-color: var(--accent);
  outline: none;
}
.kv-variant-row .kv-v-del:hover {
  border-color: #dc2626;
  background: #fef2f2;
}

/* Lazy image loading shimmer */
img[loading="lazy"] {
  background: linear-gradient(90deg, #f5f5f5 0%, #ececec 50%, #f5f5f5 100%);
  background-size: 200% 100%;
  animation: kv-shimmer 1.4s infinite;
}
img[loading="lazy"].kv-loaded {
  background: transparent;
  animation: none;
}
@keyframes kv-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

