/* =========================================================================
   3D Figurki — dark studio / collector's gallery
   One accent colour, layer-line motif, grain. No gradients for decoration.
   ========================================================================= */

/* ------------------------------------------------------------------ tokens */
:root {
  --ink-950: #07080A;
  --ink-900: #0A0B0D;
  --ink-850: #0E0F12;
  --ink-800: #14161A;
  --ink-750: #191C21;
  --ink-700: #22262D;
  --ink-600: #2F343D;

  --line:        rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);

  --fog-400: #6E747E;
  --fog-300: #8E959F;
  --fog-200: #B9BEC6;
  --fog-100: #E9EAED;
  --pure:    #FFFFFF;

  --ember:      #FF6B2C;
  --ember-lit:  #FF8A57;
  --ember-dim:  rgba(255, 107, 44, 0.14);
  --ember-edge: rgba(255, 107, 44, 0.38);

  --gold:      #E8B33C;
  --gold-dim:  rgba(232, 179, 60, 0.13);
  --jade:      #3DD68C;
  --rose:      #F2555A;

  --font-display: 'Unbounded', 'Trebuchet MS', sans-serif;
  --font-body: 'Onest', 'Segoe UI', system-ui, sans-serif;

  --r-sm: 3px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shell: 1320px;
  --gutter: clamp(18px, 4vw, 56px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

/* Components below set an explicit `display`, which beats the UA rule for
   [hidden]. Without this, every `el.hidden = true` in the JS is a no-op. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink-850);
  color: var(--fog-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain + the print-layer hairlines that run behind the whole page. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.016) 0 1px,
      transparent 1px 6px
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

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

::selection { background: var(--ember); color: var(--ink-950); }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ------------------------------------------------------------- typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

.display-xl { font-size: clamp(2.9rem, 8.5vw, 6.4rem); font-weight: 800; }
.display-lg { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
.display-md { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}

.lede { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--fog-300); max-width: 52ch; }
.muted { color: var(--fog-300); }
.tiny { font-size: 0.8rem; }

/* ----------------------------------------------------------------- layout */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

main { position: relative; z-index: 1; }
section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 130px); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 52px);
}

/* ---------------------------------------------------------------- ticker */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--ink-900);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 44s linear infinite;
}
.ticker__group { display: flex; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 30px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog-300);
  white-space: nowrap;
}
.ticker__item b { color: var(--fog-100); font-weight: 600; }
.ticker__item svg { color: var(--ember); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------------------------------------------------------------- header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.05em;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  margin-right: auto;
}
.wordmark em { font-style: normal; color: var(--ember); }
.wordmark span {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--ember);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(-1px);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--fog-300);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--pure); background: rgba(255, 255, 255, 0.045); }
.nav a[aria-current='page'] { color: var(--pure); }
.nav a[aria-current='page']::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--ember);
  margin-top: 4px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cart-btn:hover { border-color: var(--ember-edge); background: var(--ember-dim); }
.cart-btn__count {
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  background: var(--ember);
  color: var(--ink-950);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cart-btn__count[data-empty='true'] { background: var(--ink-700); color: var(--fog-300); }

.burger { display: none; padding: 8px; color: var(--fog-200); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.42; pointer-events: none; }

.btn--primary { background: var(--ember); color: var(--ink-950); }
.btn--primary:hover { background: var(--ember-lit); }

.btn--ghost { border-color: var(--line-strong); color: var(--fog-100); }
.btn--ghost:hover { border-color: var(--pure); background: rgba(255, 255, 255, 0.05); }

.btn--quiet { color: var(--fog-300); padding-inline: 12px; }
.btn--quiet:hover { color: var(--pure); }

/* Cancelling is destructive but legitimate — visible, never louder than the
   primary action. Colour only arrives on hover, once the intent is real. */
.btn--danger { border-color: var(--line-strong); color: var(--fog-300); }
.btn--danger:hover { border-color: var(--rose); color: var(--rose); background: rgba(242, 85, 90, 0.08); }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 0.92rem; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 86px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  color: var(--fog-200);
}
.hero__kicker b {
  background: var(--ember);
  color: var(--ink-950);
  padding: 2px 9px;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* The headline is sized against its own column, not the viewport: "направени"
   is the longest word on the page and at a vw-based size it overflowed the
   column and slid under the figure. cqw keeps it inside whatever width the
   grid hands this column. */
.hero__copy { container-type: inline-size; }
.hero h1.display-xl { font-size: clamp(2.6rem, 13cqw, 5.6rem); }

.hero h1 { margin-bottom: 24px; }
.hero h1 .outline {
  -webkit-text-stroke: 1.4px var(--fog-400);
  color: transparent;
  display: block;
  margin-left: clamp(0px, 5cqw, 64px);
}
.hero h1 .accent { color: var(--ember); }

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.hero__stats {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero__stat span { font-size: 0.78rem; color: var(--fog-400); }

/* The hero figure sits on a lit plinth and bleeds past the right gutter. */
.hero__figure {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-right: calc(var(--gutter) * -1);
}
/* The renders are opaque squares on their own dark backdrop, so left alone they
   read as a grey rectangle pasted on the page. Fading a thin band on all four
   edges dissolves the seam; the middle 80% is untouched. */
.hero__figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%,  #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 8%,  #000 89%, transparent 100%);
  mask-composite: intersect;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ember-dim) 0%, transparent 68%);
  filter: blur(18px);
}
.hero__rings {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px transparent, 0 0 0 clamp(20px, 5vw, 56px) rgba(255, 255, 255, 0.02);
}

/* --------------------------------------------------------- product cards */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

/* Break the uniform-grid look: the first tile is twice as wide. */
.grid-products--featured > .card:first-child { grid-column: span 2; }
.grid-products--featured > .card:first-child .card__media { aspect-ratio: 16 / 11; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); }

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 50% 92%, rgba(255, 107, 44, 0.07), transparent 58%),
    var(--ink-750);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.055); }

.card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card__name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.card__desc {
  font-size: 0.83rem;
  color: var(--fog-400);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card__price {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.card__add {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--fog-200);
  transition: all 0.2s var(--ease);
  flex: none;
}
.card__add:hover { background: var(--ember); border-color: var(--ember); color: var(--ink-950); }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge--gift { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(232, 179, 60, 0.3); }
.badge--low  { background: rgba(242, 85, 90, 0.14); color: var(--rose); border: 1px solid rgba(242, 85, 90, 0.3); }
.badge--out  { background: rgba(0, 0, 0, 0.6); color: var(--fog-300); border: 1px solid var(--line-strong); }

/* --------------------------------------------------------------- filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  color: var(--fog-300);
  transition: all 0.2s var(--ease);
}
.chip:hover { color: var(--pure); border-color: var(--fog-400); }
.chip[aria-pressed='true'] {
  background: var(--pure);
  border-color: var(--pure);
  color: var(--ink-950);
  font-weight: 500;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field > span { font-size: 0.79rem; color: var(--fog-300); }
.field > span b { color: var(--rose); font-weight: 500; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--ink-800);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: var(--ink-750);
}
.input::placeholder, .textarea::placeholder { color: var(--fog-400); }
.textarea { resize: vertical; min-height: 96px; }
.select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238E959F' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.input[aria-invalid='true'] { border-color: var(--rose); }

/* ------------------------------------------------------- threshold meters */
.meter {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  background: var(--ink-800);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.meter__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.meter__row svg { flex: none; }
.meter__bar {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--ink-700);
  overflow: hidden;
}
.meter__fill {
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--ember);
  transition: width 0.55s var(--ease-out);
}
.meter--done { border-color: rgba(61, 214, 140, 0.28); background: rgba(61, 214, 140, 0.05); }
.meter--done .meter__fill { background: var(--jade); }
.meter--done .meter__row { color: var(--jade); }
.meter--blocked { border-color: rgba(242, 85, 90, 0.3); background: rgba(242, 85, 90, 0.05); }
.meter--blocked .meter__fill { background: var(--rose); }
.meter--blocked .meter__row { color: var(--rose); }

/* The gift unlock is the loudest thing on the page when it fires. */
.gift-panel {
  border: 1px solid rgba(232, 179, 60, 0.32);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(232, 179, 60, 0.11), transparent 62%),
    var(--ink-800);
  padding: 20px;
  animation: unlock 0.7s var(--ease-out) both;
}
@keyframes unlock {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
.gift-panel__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}
.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.gift-opt {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-750);
  text-align: left;
  transition: all 0.2s var(--ease);
}
.gift-opt img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gift-opt span { display: block; padding: 8px 9px; font-size: 0.76rem; line-height: 1.3; }
.gift-opt:hover { border-color: var(--gold); }
.gift-opt[aria-pressed='true'] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 22px rgba(232, 179, 60, 0.16);
}

/* ------------------------------------------------------------------ cart */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.line__img {
  width: 88px; height: 88px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--ink-750);
}
.line__name { font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; letter-spacing: -0.03em; }
.line__meta { font-size: 0.8rem; color: var(--fog-400); }
.line__right { display: flex; align-items: center; gap: 16px; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.qty button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--fog-300);
  transition: all 0.15s var(--ease);
}
.qty button:hover { background: rgba(255, 255, 255, 0.07); color: var(--pure); }
.qty output {
  min-width: 32px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

.summary {
  position: sticky;
  top: 86px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-800);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.summary__row--total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.summary__row b { font-variant-numeric: tabular-nums; }
.free-tag { color: var(--jade); font-weight: 600; }

/* --------------------------------------------------------------- product */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 66px);
  align-items: start;
}
.pdp__stage {
  position: sticky;
  top: 86px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(255, 107, 44, 0.1), transparent 62%),
    var(--ink-800);
}
.pdp__stage img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.pdp__thumbs button {
  width: 58px; height: 58px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  opacity: 0.55;
  transition: all 0.2s var(--ease);
}
.pdp__thumbs button[aria-pressed='true'] { opacity: 1; border-color: var(--ember); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.spec-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.spec-list div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 15px; background: var(--ink-800); font-size: 0.86rem; }
.spec-list dt { color: var(--fog-400); }
.spec-list dd { margin: 0; }

/* ----------------------------------------------------------- empty/notice */
.empty {
  text-align: center;
  padding: clamp(48px, 9vw, 110px) 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}
.empty svg { color: var(--fog-400); margin-bottom: 18px; }

.notice {
  display: flex;
  gap: 11px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  font-size: 0.87rem;
  border: 1px solid var(--line-strong);
  background: var(--ink-800);
}
.notice svg { flex: none; margin-top: 2px; }
.notice--warn { border-color: rgba(242, 85, 90, 0.32); background: rgba(242, 85, 90, 0.06); color: #FFC3C5; }
.notice--warn svg { color: var(--rose); }
.notice--ok { border-color: rgba(61, 214, 140, 0.3); background: rgba(61, 214, 140, 0.06); color: #B4F2D4; }
.notice--ok svg { color: var(--jade); }

/* ---------------------------------------------------------------- footer */
.foot {
  margin-top: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background: var(--ink-900);
  padding-block: clamp(40px, 6vw, 72px) 28px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(120px, 1fr));
  gap: 36px;
}
.foot h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog-400);
  font-weight: 600;
  margin-bottom: 14px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { font-size: 0.88rem; color: var(--fog-300); transition: color 0.2s var(--ease); }
.foot a:hover { color: var(--pure); }
.foot__bar {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--fog-400);
}

/* ----------------------------------------------------------------- toast */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  display: grid;
  gap: 8px;
  width: min(430px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border-radius: var(--r-pill);
  background: var(--ink-700);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  font-size: 0.87rem;
  animation: toast-in 0.4s var(--ease-out) both;
}
.toast svg { flex: none; color: var(--jade); }
.toast--err svg { color: var(--rose); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------ page-load reveal */
.reveal { opacity: 0; transform: translateY(18px); animation: reveal 0.85s var(--ease-out) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.13s; }
.d3 { animation-delay: 0.21s; } .d4 { animation-delay: 0.29s; }
.d5 { animation-delay: 0.37s; } .d6 { animation-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  * { scroll-behavior: auto !important; }
}

.skeleton {
  background: linear-gradient(90deg, var(--ink-800) 25%, var(--ink-750) 50%, var(--ink-800) 75%);
  background-size: 300% 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--r-lg);
}
@keyframes shimmer { to { background-position: -300% 0; } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { margin-right: 0; max-width: 480px; margin-inline: auto; order: -1; }
  .hero h1 .outline { margin-left: 0; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__stage { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 66px; left: 0; right: 0;
    padding: 12px var(--gutter) 20px;
    background: var(--ink-900);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open a { padding: 12px 4px; font-size: 1rem; }
  .burger { display: grid; place-items: center; }
  .grid-products--featured > .card:first-child { grid-column: span 1; }
  .grid-products--featured > .card:first-child .card__media { aspect-ratio: 1; }
  .line { grid-template-columns: 64px minmax(0, 1fr); }
  .line__img { width: 64px; height: 64px; }
  .line__right { grid-column: 1 / -1; justify-content: space-between; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ------------------------------------------------------------ rule cards */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.rule-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-800);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s var(--ease);
}
.rule-card:hover { border-color: var(--line-strong); }
.rule-card__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ember-dim);
  color: var(--ember);
  margin-bottom: 12px;
}
.rule-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-top: 2px;
}
.rule-card p { margin: 0; font-size: 0.88rem; color: var(--fog-300); }
.rule-card--gold {
  border-color: rgba(232, 179, 60, 0.3);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(232, 179, 60, 0.1), transparent 60%),
    var(--ink-800);
}
.rule-card--gold .rule-card__icon { background: var(--gold-dim); color: var(--gold); }
.rule-card--gold .eyebrow { color: var(--gold); }

/* ---------------------------------------------------------------- steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.steps li { background: var(--ink-850); padding: 28px 24px 30px; }
.steps span {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ember);
}
.steps h3 { font-size: 1.06rem; margin: 12px 0 8px; letter-spacing: -0.035em; }
.steps p { margin: 0; font-size: 0.86rem; color: var(--fog-300); }

.btn .ico, .btn .ico-mic { display: inline-flex; }

/* --------------------------------------------------------------- crumbs */
.crumbs { display: flex; gap: 9px; align-items: center; font-size: 0.82rem; color: var(--fog-400); flex-wrap: wrap; }
.crumbs a { color: var(--fog-300); }
.crumbs a:hover { color: var(--pure); }

/* ------------------------------------------------------------ form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid .field--wide, .field--wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- order confirm */
.confirm-card {
  text-align: center;
  border: 1px solid rgba(61, 214, 140, 0.26);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(61, 214, 140, 0.09), transparent 62%),
    var(--ink-800);
  padding: clamp(34px, 6vw, 60px) 26px;
}
.confirm-card .lede { margin-inline: auto; }
.confirm-card__tick {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(61, 214, 140, 0.14);
  color: var(--jade);
  animation: pop 0.55s var(--ease-out) both;
}
.confirm-card__tick svg { width: 24px; height: 24px; }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* ----------------------------------------------------------- order card */
.order-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-800);
  padding: clamp(20px, 3vw, 30px);
}
.order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.order-card__confirm {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(242, 85, 90, 0.3);
  background: rgba(242, 85, 90, 0.07);
  animation: confirm-in 0.24s var(--ease-out) both;
}
@keyframes confirm-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .order-card__confirm { animation: none; } }

.status-pill {
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--ember-dim);
  border: 1px solid var(--ember-edge);
  color: var(--ember);
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill--off {
  background: rgba(242, 85, 90, 0.1);
  border-color: rgba(242, 85, 90, 0.3);
  color: var(--rose);
}

.track {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
}
.track li {
  display: grid;
  justify-items: center;
  gap: 8px;
  position: relative;
  text-align: center;
}
/* connector line drawn from each dot to the next */
.track li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 12px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 2px;
  background: var(--ink-700);
}
.track li.is-done:not(:last-child)::after { background: var(--jade); }
.track__dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-750);
  border: 1px solid var(--line-strong);
  color: var(--ink-950);
  position: relative;
  z-index: 1;
}
.track__dot svg { width: 13px; height: 13px; }
.track li.is-done .track__dot { background: var(--jade); border-color: var(--jade); }
.track__label { font-size: 0.76rem; color: var(--fog-400); }
.track li.is-done .track__label { color: var(--fog-100); }
