/* ============================================================
   PUFF NOMAD STORE — design tokens & base
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-alt: #131315;
  --surface: #19191c;
  --surface-2: #212124;
  --border: #2a2a2e;
  --text: #f3f1ee;
  --text-dim: #a7a4a0;
  --text-faint: #6f6c69;

  --accent: #e2273f;
  --accent-2: #ff4d63;
  --accent-dark: #8f1626;
  --accent-glow: rgba(226, 39, 63, 0.35);

  --gold: #d8b463;

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

  --shadow-1: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.55);

  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-body: "Manrope", "Inter", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

:root[data-theme="light"] {
  --bg: #f4f2ef;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #eeece8;
  --border: #ddd9d3;
  --text: #17140f;
  --text-dim: #55504a;
  --text-faint: #8b857c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent-2);
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin-top: 10px;
}
.section-head p {
  color: var(--text-dim);
  max-width: 480px;
  margin-top: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--accent-glow); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.icon-btn:hover { border-color: var(--accent-2); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }

.badge-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px var(--bg);
  transition: transform .25s var(--ease);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] .site-header { background: rgba(244, 242, 239, 0.82); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
}
.brand .flag { width: 34px; height: 34px; flex-shrink: 0; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--accent-2);
  font-weight: 700;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--surface); }
.main-nav a.active { color: var(--accent-2); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: rotate(45deg); top: 0; }
.burger.is-open span::after { transform: rotate(-45deg); top: 0; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--bg);
  z-index: 190;
  padding: 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mn-contacts { margin-top: 28px; color: var(--text-dim); font-family: var(--font-body); font-size: 14px; line-height: 1.9; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 70px 0 110px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(60% 60% at 70% 20%, var(--accent-glow), transparent 70%),
    radial-gradient(40% 40% at 15% 40%, rgba(216,180,99,0.14), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px;
}
.hero-tag {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
}
.hero h1 {
  font-size: clamp(52px, 7.4vw, 104px);
  line-height: 0.92;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-2);
}
.hero h1 .hl {
  color: var(--accent-2);
  text-shadow: 0 0 40px var(--accent-glow);
}
.hero p.lead {
  margin-top: 22px;
  max-width: 460px;
  font-size: 17px;
  color: var(--text-dim);
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 26px;
  margin-top: 52px;
}
.hero-meta div b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--text);
}
.hero-meta div span {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #17171a, #0c0c0d 60%);
  box-shadow: var(--shadow-2);
}
.hero-visual .glow-orb {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: 8%;
  right: -10%;
  filter: blur(4px);
  animation: float 7s ease-in-out infinite;
}
.hero-visual svg { position: relative; z-index: 2; width: 78%; margin: 11% auto 0; display: block; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.hero-visual .smoke { position: absolute; inset: 0; z-index: 1; opacity: .5; }
.hero-badge {
  position: absolute;
  left: 22px; bottom: 22px;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #38d068; box-shadow: 0 0 0 4px rgba(56,208,104,.18); flex-shrink:0; }
.hero-badge b { display:block; font-size: 13px; }
.hero-badge span { font-size: 11.5px; color: var(--text-faint); }

@keyframes float {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-16px, 18px); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.marquee-track span::after { content: "◆"; color: var(--accent); font-size: 10px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  padding: 26px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120px 120px at 85% -10%, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--accent-dark); background: var(--surface-2); }
.cat-card:hover::after { opacity: 1; }
.cat-card svg { width: 34px; height: 34px; color: var(--accent-2); position: relative; z-index: 1; }
.cat-card b { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.02em; position: relative; z-index: 1; }
.cat-card span { font-size: 12.5px; color: var(--text-faint); position: relative; z-index: 1; }

@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PRODUCT GRID / CARDS
   ============================================================ */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--accent-2); color: var(--text); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.search-field {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 16px;
  min-width: 220px;
}
.search-field svg { width: 16px; height: 16px; color: var(--text-faint); flex-shrink: 0; }
.search-field input {
  background: transparent; border: none; outline: none; color: var(--text);
  font-size: 13.5px; width: 100%;
}
.search-field input::placeholder { color: var(--text-faint); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-5px); border-color: var(--accent-dark); box-shadow: var(--shadow-1); }

.product-thumb {
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--surface-2), var(--bg-alt));
  overflow: hidden;
}
.product-thumb svg { width: 46%; opacity: .92; transition: transform .5s var(--ease); }
.product-thumb img { width: 62%; max-height: 78%; object-fit: contain; transition: transform .5s var(--ease); filter: drop-shadow(0 12px 20px rgba(0,0,0,.45)); }
.product-card:hover .product-thumb svg,
.product-card:hover .product-thumb img { transform: scale(1.08) rotate(-2deg); }
.product-thumb .ring { position:absolute; width: 130%; aspect-ratio:1; border-radius:50%; border:1px dashed var(--border); opacity:.5; }

.stock-flag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.stock-flag.in { background: rgba(56,208,104,.14); color: #38d068; border: 1px solid rgba(56,208,104,.3); }
.stock-flag.out { background: rgba(226,39,63,.14); color: var(--accent-2); border: 1px solid rgba(226,39,63,.3); }

.wish-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(10,10,11,.55); border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.wish-btn svg { width: 15px; height: 15px; }
.wish-btn:hover { transform: scale(1.12); color: var(--accent-2); }
.wish-btn.is-active { color: var(--accent-2); border-color: var(--accent-2); }

.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.product-title { font-family: var(--font-body); font-weight: 700; font-size: 14.5px; line-height: 1.3; min-height: 38px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-size: 21px; letter-spacing: .01em; }
.price small, .price-src { font-family: var(--font-body); font-size: 10.5px; color: var(--text-faint); font-weight: 600; display:block; letter-spacing:0; text-transform:none; }
.price-src--bot { color: #38d068; }
.pd-price .price-src { display: inline-block; margin-left: 10px; }

.add-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  flex-shrink: 0;
}
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); transform: scale(1.08); color: #fff; }

.price-note-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: rgba(216,180,99,.07);
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 30px;
}
.price-note-banner svg { width: 20px; height:20px; color: var(--gold); flex-shrink:0; }
.price-note-banner b { color: var(--gold); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="scale"] { transform: translateY(0) scale(.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-reveal-group] [data-reveal] { transition-delay: calc(var(--i, 0) * 70ms); }

/* ============================================================
   STORY / ABOUT SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-visual { order: 2; }
.split-visual {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(150deg, var(--surface), var(--bg-alt));
  position: relative;
  overflow: hidden;
  display:flex; align-items:center; justify-content:center;
}
.split-visual svg { width: 55%; }
.stat-row { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.stat-row div b { font-family: var(--font-display); font-size: 38px; display:block; color: var(--accent-2); }
.stat-row div span { font-size: 12.5px; color: var(--text-faint); }

/* ============================================================
   TIMELINE (rent steps / how it works)
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline-step {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.timeline-step .num {
  font-family: var(--font-display);
  font-size: 46px;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--accent-2);
  margin-bottom: 10px;
  display: block;
}
.timeline-step h4 { font-size: 17px; margin-bottom: 8px; }
.timeline-step p { font-size: 13.5px; color: var(--text-dim); margin: 0; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* ============================================================
   RENTAL PLANS
   ============================================================ */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card {
  padding: 34px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.is-popular { border-color: var(--accent); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.plan-tag {
  position: absolute; top: -13px; right: 26px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.plan-card h3 { font-size: 22px; }
.plan-price { font-family: var(--font-display); font-size: 40px; }
.plan-price span { font-family: var(--font-body); font-size: 13px; color: var(--text-faint); font-weight: 600; }
.plan-list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 8px; }
.plan-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-dim); }
.plan-list svg { width: 15px; height: 15px; color: var(--accent-2); flex-shrink: 0; }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-track { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.testi-track::-webkit-scrollbar { height: 5px; }
.testi-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.testi-card {
  min-width: 320px;
  scroll-snap-align: start;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.testi-stars { display:flex; gap:3px; margin-bottom: 14px; color: var(--gold); }
.testi-stars svg { width: 14px; height: 14px; }
.testi-card p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }
.testi-who { display:flex; align-items:center; gap: 12px; margin-top: 18px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display:flex; align-items:center; justify-content:center; font-family: var(--font-display); color: var(--accent-2); }
.testi-who b { font-size: 13.5px; display:block; }
.testi-who span { font-size: 11.5px; color: var(--text-faint); }

/* ============================================================
   NEWSLETTER / CTA BAND
   ============================================================ */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 60px;
  background: linear-gradient(135deg, var(--accent-dark), #1a0407 65%);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 90% 0%, rgba(255,255,255,.08), transparent 60%);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; position: relative; max-width: 520px; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 10px; position: relative; }
.cta-band .btn--primary { background: #fff; color: var(--accent-dark); box-shadow: none; }
.cta-band .btn--primary:hover { background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.35); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 28px; background: var(--bg-alt); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--text-dim); font-size: 13.5px; margin-top: 14px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-col h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: var(--text-dim); }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: var(--text-faint); flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CART DRAWER
   ============================================================ */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  z-index: 301;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px; border-bottom: 1px solid var(--border); }
.cart-head h3 { font-size: 22px; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-faint); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 16px; opacity: .5; }

.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item .thumb { width: 60px; height: 60px; border-radius: 10px; background: var(--surface); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cart-item .thumb svg { width: 60%; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info b { font-size: 13px; display: block; margin-bottom: 4px; }
.cart-item .info .cat { font-size: 11px; color: var(--text-faint); }
.cart-item .qty-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display:flex; align-items:center; justify-content:center; font-size: 14px; line-height:1; }
.cart-item .price-tag { font-family: var(--font-display); font-size: 17px; white-space: nowrap; }
.cart-item .remove { color: var(--text-faint); font-size: 11px; text-decoration: underline; margin-top: 6px; display:inline-block; }
.cart-item .remove:hover { color: var(--accent-2); }

.cart-foot { padding: 20px 22px 26px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; align-items:center; font-size: 15px; margin-bottom: 16px; }
.cart-total-row b { font-family: var(--font-display); font-size: 26px; }
.cart-note { font-size: 11.5px; color: var(--text-faint); margin-top: 12px; line-height: 1.5; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pd-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; }
.pd-visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, var(--surface-2), var(--bg-alt));
  display: flex; align-items: center; justify-content: center;
  position: sticky; top: 110px;
}
.pd-visual svg { width: 46%; }
.pd-visual img { width: 62%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.breadcrumb { font-size: 12.5px; color: var(--text-faint); margin-bottom: 22px; display:flex; gap:8px; flex-wrap:wrap; }
.breadcrumb a:hover { color: var(--accent-2); }
.pd-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.pd-price { font-family: var(--font-display); font-size: 40px; margin: 18px 0; }
.pd-desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.75; max-width: 520px; }
.pd-specs { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.pd-specs div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.pd-specs div span:first-child { color: var(--text-faint); }
.pd-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.qty-select { display:flex; align-items:center; gap:14px; border:1px solid var(--border); border-radius:999px; padding: 4px 8px; }
.qty-select button { width:32px; height:32px; border-radius:50%; background: var(--surface); border:none; font-size:16px; color:var(--text); }
.qty-select span { min-width: 20px; text-align:center; font-weight:700; }

@media (max-width: 900px) {
  .pd-grid, .split, .split.reverse, .hero-grid { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .pd-visual { position: static; }
  .plans-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:"";
  position:absolute; inset: -40% -10% auto -10%; height: 340px;
  background: radial-gradient(50% 60% at 80% 30%, var(--accent-glow), transparent 70%);
}
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); position: relative; }
.page-hero p { color: var(--text-dim); margin-top: 14px; max-width: 520px; position: relative; }

/* ============================================================
   MAP / CONTACTS
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display:flex; gap:16px; }
.contact-card svg { width: 24px; height:24px; color: var(--accent-2); flex-shrink:0; }
.contact-card h4 { font-size: 15px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 13.5px; color: var(--text-dim); }
.map-frame {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  aspect-ratio: 16/8; overflow:hidden; margin-top: 26px;
  background: var(--surface); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; color: var(--text-faint);
}
.map-frame svg { width: 40px; height:40px; color: var(--accent-2); }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 26px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  display: flex; align-items: center; gap: 10px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--shadow-2);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: #38d068; }

/* ============================================================
   ЗАГРУЗОЧНЫЙ ЭКРАН — сборка кальяна + дым
   ============================================================ */
.hk-loader {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #050506;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .48s var(--ease);
}
.hk-loader.is-leaving { opacity: 0; pointer-events: none; }

.hk-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hk-loader-scene svg { width: 100%; height: auto; overflow: visible; }

/* Поэтапная сборка: JS вешает на .hk-loader классы s1…s6 (см. js/loader.js).
   До своего этапа каждая деталь скрыта, затем проигрывается своя анимация.
   Координаты SVG — в масштабе фото, поэтому смещения в px тут крупные. */
.hk-loader-scene { width: min(92vw, 400px, calc(58vh * .748)); }

#hkGround, #hkBackdrop, #hkGlass, #hkTray, #hkBowl, #hkShaft, #hkDip, #hkMouth, #hkFerrule,
.hk-foil, .hk-coal, .hk-hot, .hk-hosehl, .hk-bub, .hk-wisp, .hk-puff { opacity: 0; }
#hkGlassBack { opacity: 0; }
#hkFlaskEdge, .hk-hosebase { stroke-dasharray: 1; stroke-dashoffset: 1; }
#hkWaterMove { transform: translateY(300px); }
#hkWave { animation: hkWaveMove 2.8s linear infinite; }
.hk-bub, .hk-puff, .hk-foil { transform-box: fill-box; transform-origin: center; }

/* 1 — колба: фон и тень, контур рисуется, стекло темнеет, поднимается вода */
.hk-loader.s1 #hkBackdrop { animation: hkFade 1.2s ease forwards; }
.hk-loader.s1 #hkGround { animation: hkFade .7s ease .1s forwards; }
.hk-loader.s1 #hkGlassBack { animation: hkFade .6s ease forwards; }
.hk-loader.s1 #hkFlaskEdge { animation: hkDraw 1s cubic-bezier(.5, 0, .3, 1) forwards; }
.hk-loader.s1 #hkGlass { animation: hkFade .8s ease .45s forwards; }
.hk-loader.s1 #hkWaterMove { animation: hkFill 1.15s cubic-bezier(.45, .05, .25, 1) .5s forwards; }

/* 2 — шахта с шаром и крышкой опускается на колбу, трубка уходит под воду */
.hk-loader.s2 #hkShaft,
.hk-loader.s2 #hkDip { animation: hkInsert .85s cubic-bezier(.25, .9, .3, 1) forwards; }

/* 3 — тарелка садится на шахту, затем чаша в центр тарелки */
.hk-loader.s3 #hkTray { animation: hkDrop .5s cubic-bezier(.3, 1.15, .4, 1) forwards; }
.hk-loader.s3 #hkBowl { animation: hkDrop .55s cubic-bezier(.3, 1.15, .4, 1) .4s forwards; }

/* 4 — шланг тянется от порта по большому кругу, мундштук встаёт в правый порт */
.hk-loader.s4 #hkFerrule { animation: hkFade .3s ease .1s forwards; }
.hk-loader.s4 .hk-hosebase { animation: hkDraw 1.1s cubic-bezier(.5, 0, .3, 1) .1s forwards; }
.hk-loader.s4 .hk-hosehl { animation: hkFadeHl .5s ease .9s forwards; }
.hk-loader.s4 #hkMouth { animation: hkMouthIn .5s cubic-bezier(.3, 1, .4, 1) .9s forwards; }

/* 5 — фольга, угли, разгорание, тонкий дым */
.hk-loader.s5 .hk-foil { animation: hkFoil .4s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.hk-loader.s5 .hk-coal { animation: hkCoalIn .4s cubic-bezier(.3, 1.3, .5, 1) forwards; animation-delay: calc(.3s + var(--i) * .12s); }
.hk-loader.s5 .hk-hot { animation: hkIgnite 1.1s ease-out .9s forwards, hkFlicker 1.3s ease-in-out 2s infinite alternate; }
.hk-loader.s5 .hk-wisp,
.hk-loader.s6 .hk-wisp { animation: hkWisp 3.4s linear infinite; animation-delay: calc(1.1s + var(--i) * 1.1s); }

/* 6 — затяжка: пузырьки в колбе, вода чуть опускается, клубы дыма летят на зрителя */
.hk-loader.s6 .hk-bub { animation: hkBub 1.5s ease-in infinite; animation-delay: calc(var(--i) * .21s); }
.hk-loader.s6 #hkSurf { animation: hkSip 1.4s ease-in-out 2; }
.hk-loader.s6 .hk-puff { animation: hkPuffFly var(--dur, 3s) cubic-bezier(.22, .7, .4, 1) var(--delay, 0s) infinite; }

@keyframes hkFade { to { opacity: 1; } }
@keyframes hkFadeHl { to { opacity: 1; } }
@keyframes hkDraw { to { stroke-dashoffset: 0; } }
@keyframes hkFill { to { transform: translateY(0); } }
@keyframes hkWaveMove { to { transform: translateX(-80px); } }
@keyframes hkInsert {
  0% { opacity: 0; transform: translateY(-340px); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes hkDrop {
  0% { opacity: 0; transform: translateY(-260px); }
  25% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes hkMouthIn {
  0% { opacity: 0; transform: translate(36px, -30px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes hkFoil {
  0% { opacity: 0; transform: translateY(-50px) scale(.7); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hkCoalIn {
  0% { opacity: 0; transform: translateY(-90px); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes hkIgnite { to { opacity: 1; } }
@keyframes hkFlicker { from { opacity: .82; } to { opacity: 1; } }
@keyframes hkWisp {
  0% { stroke-dasharray: 34 200; stroke-dashoffset: 34; opacity: 0; }
  15% { opacity: .95; }
  75% { opacity: .5; }
  100% { stroke-dasharray: 34 200; stroke-dashoffset: -100; opacity: 0; }
}
@keyframes hkBub {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  15% { opacity: .95; }
  100% { opacity: 0; transform: translate(var(--dx, 0), -84px) scale(1.15); }
}
@keyframes hkSip {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(12px); }
}
@keyframes hkPuffFly {
  0% { opacity: 0; transform: translate(0, 0) scale(.3); filter: blur(0); }
  12% { opacity: .85; }
  55% { opacity: .6; transform: translate(calc(var(--drift) * .5), -260px) scale(1.7); filter: blur(2px); }
  100% { opacity: 0; transform: translate(var(--drift), -520px) scale(3.6); filter: blur(6px); }
}

.hk-loader-inner { gap: 14px; }
.hk-steps { display: flex; gap: 8px; align-items: center; height: 10px; }
.hk-steps i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hk-steps i.is-on { background: var(--accent-2); }
.hk-steps i.is-now { transform: scale(1.5); box-shadow: 0 0 10px var(--accent-glow); }

.hk-loader-brand {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .12em;
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.hk-loader.s6 .hk-loader-brand { opacity: 1; }
.hk-loader-word--accent { color: var(--accent-2); }

.hk-loader-bar {
  width: 140px;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.hk-loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.hk-loader.is-playing .hk-loader-bar span { animation: hkBarFill var(--total, 7600ms) linear forwards; }
@keyframes hkBarFill { to { width: 100%; } }


@media (prefers-reduced-motion: reduce) {
  .hk-loader, .hk-loader * { animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* age gate */
.age-gate {
  position: fixed; inset: 0; z-index: 500;
  background: #050506;
  display: flex; align-items:center; justify-content:center;
  text-align: center; padding: 24px;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.age-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-gate .flag { width: 70px; margin: 0 auto 20px; }
.age-gate h2 { font-size: clamp(30px,5vw,44px); }
.age-gate p { color: var(--text-dim); margin: 14px auto 28px; max-width: 380px; font-size: 13.5px; }
.age-actions { display:flex; gap:14px; justify-content:center; }

@media (max-width: 900px) {
  .cat-grid.five { grid-template-columns: repeat(3,1fr); }
}
