/* ============================================================
   TeslaCoilPro - Plasma Tubes & Spheres landing
   Dark, glass, lightning. Handcrafted premium.
   ============================================================ */

:root {
  --bg: #0c0b09;
  --bg-2: #131110;
  --panel: #14120f;
  --panel-2: #1a1713;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f0ede7;
  --muted: #a49d92;
  --dim: #766f64;
  --blue: #e8892b;      /* исторические имена оставлены, значения сведены к одному акценту */
  --cyan: #e8892b;
  --violet: #e8892b;
  --magenta: #e8892b;
  --amber: #e8892b;
  --accent: #e8892b;
  --grad: linear-gradient(0deg, #e8892b, #e8892b);
  --font-d: "Oswald", "Arial Narrow", sans-serif;
  --font-b: "Manrope", "Segoe UI", sans-serif;
  --rad: 8px;
  --rad-lg: 10px;
  --wrap: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(232, 137, 43, 0.4); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- typography ---------- */

h1, h2, h3, .display { font-family: var(--font-d); font-weight: 600; line-height: 1.12; }

.sec-head { margin-bottom: 56px; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}

.sec-title { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -0.01em; letter-spacing: 0.01em; }
.sec-title .g { color: var(--accent); }
.sec-sub { max-width: 640px; color: var(--muted); margin-top: 18px; font-size: 18px; }

/* ---------- header ---------- */

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(4, 5, 10, 0.72);
  border-bottom-color: var(--line);
}
.hdr-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  height: 74px; display: flex; align-items: center; gap: 34px;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-d); font-size: 17px; font-weight: 700; }
.logo svg { width: 26px; height: 26px; }
.logo b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color 0.2s; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav-cta { display: none; }
.nav-mob { display: none; }   /* пункт Contacts — только в мобильном бургере (см. @media 860px) */
.hdr-cta {
  padding: 10px 20px; border-radius: 4px; font-weight: 700; font-size: 14px;
  color: #fff; background: var(--grad); border: none; white-space: nowrap;
  
  transition: transform 0.2s, box-shadow 0.2s;
}
.hdr-cta:hover {  }
.lang {
  display: flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; font-size: 12.5px; font-weight: 700;
}
.lang a, .lang span { padding: 7px 13px; color: var(--dim); }
.lang .on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.burger { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 8px; width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.25s, top 0.25s, opacity 0.25s;
}
.burger span { top: 19px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }
body.menu-open .burger span { transform: rotate(45deg); }
body.menu-open .burger span::before { top: 0; transform: rotate(90deg); }
body.menu-open .burger span::after { top: 0; opacity: 0; }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg);
}
.hero-slides {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0.66;
  mask-image: linear-gradient(78deg, transparent 4%, rgba(0,0,0,0.6) 30%, #000 56%);
  -webkit-mask-image: linear-gradient(78deg, transparent 4%, rgba(0,0,0,0.6) 30%, #000 56%);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease; will-change: opacity;
}
.hero-slide.on { opacity: 1; }
#plasma-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,5,10,0.55) 0%, transparent 22%, transparent 62%, var(--bg) 100%);
}
.hero-in { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 90px; width: 100%; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 4px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.04);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #cfd6e6;
  margin-bottom: 30px;
}
.hero-tag i { display: none; /* pulse-точка — палево */
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 {
  font-size: clamp(40px, 6.8vw, 88px);
  letter-spacing: -0.015em;
  max-width: 13ch;
  letter-spacing: 0.01em;
}
.hero h1 .g {
  color: var(--accent);
}
.hero-sub {
  max-width: 540px; margin-top: 28px;
  font-size: clamp(17px, 1.6vw, 20px); color: #b8c0d4;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 42px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 34px; border-radius: 4px; border: none;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 16px;
  
  transition: transform 0.22s, box-shadow 0.22s;
}
.btn-primary:hover {  }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 34px; border-radius: 4px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.035);
  color: #fff; font-weight: 700; font-size: 16px;
  transition: border-color 0.22s, background 0.22s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.07); }

.hero-stats {
  display: flex; gap: 0; margin-top: 74px;
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: rgba(8, 10, 18, 0.55);
  max-width: 860px; overflow: hidden;
}
.hstat { flex: 1; padding: 22px 24px; border-left: 1px solid var(--line); }
.hstat:first-child { border-left: none; }
.hstat b { display: block; margin-bottom: 7px; font-family: var(--font-d); font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: 0.01em; }
.hstat b .g { color: var(--accent); }
.hstat span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 600; letter-spacing: 0.01em; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--dim); font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--violet), transparent);
  animation: drip 1.8s infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- generic section ---------- */

section { position: relative; padding: 110px 0; }
section.tight { padding: 70px 0; }

.glow-seam {
  height: 1px; max-width: var(--wrap); margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(160,107,255,0.5), rgba(34,224,207,0.4), transparent);
  opacity: 0.55;
}

/* ---------- essence (what is it) ---------- */

.essence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.ess-card {
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: 34px 30px; background: var(--panel);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.ess-card:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-4px); }
.ess-card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(160,107,255,0.12); border: 1px solid rgba(160,107,255,0.3);
  margin-bottom: 22px;
}
.ess-card .ico svg { width: 22px; height: 22px; }
.ess-card h3 { font-size: 19px; margin-bottom: 12px; }
.ess-card p { color: var(--muted); font-size: 15.5px; }

/* proof carousel - auto-scrolling, drag-able, tap to enlarge */
.pcar {
  position: relative; margin-top: 58px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.pcar::-webkit-scrollbar { display: none; }
.pcar.grabbing { cursor: grabbing; }
.pcar-track { display: flex; gap: 12px; width: max-content; padding: 2px 4px; }
.pcar-item {
  flex: 0 0 auto; width: 208px; height: 300px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--rad);
  overflow: hidden; background: #0a0c15; position: relative; cursor: pointer;
}
.pcar-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  pointer-events: none; user-select: none; -webkit-user-drag: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.pcar-item:hover img { transform: scale(1.06); }
.pcar-item::after {
  content: "⤢"; position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 9px; font-size: 15px; color: #fff;
  background: rgba(6, 8, 14, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0; transition: opacity 0.25s;
}
.pcar-item:hover::after { opacity: 1; }

/* fullscreen image lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(4, 5, 10, 0.93);
  opacity: 0; transition: opacity 0.28s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: 92vw; max-height: 86vh; width: auto; height: auto;
  border-radius: 14px; border: 1px solid var(--line-2);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.65); user-select: none; -webkit-user-drag: none;
}
.lb-close, .lb-nav {
  position: absolute; z-index: 2; display: grid; place-items: center;
  color: #fff; background: rgba(12, 14, 22, 0.6); border: 1px solid var(--line-2);
  border-radius: 50%; cursor: pointer; line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.lb-close { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 24px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 28px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(160, 107, 255, 0.45); }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--muted); font-size: 13px; letter-spacing: 0.05em; font-weight: 600;
}
.macro-note {
  margin-top: 26px; text-align: center; color: var(--dim); font-size: 14.5px;
}
.macro-note em { color: var(--muted); font-style: normal; font-weight: 700; }
.plasma-vids { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px auto 0; max-width: 560px; }
.plasma-vids figure { margin: 0; border-radius: var(--rad); overflow: hidden; aspect-ratio: 9 / 16; border: 1px solid var(--line); background: #000; }
.plasma-vids video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pvid { position: relative; cursor: pointer; }
.pvid-big {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 18px; padding-left: 3px;
  background: rgba(10,12,21,0.5); border: 1px solid rgba(255,255,255,0.4);
  transition: opacity 0.2s, transform 0.2s;
}
.pvid-big:hover { transform: scale(1.08); }
.pvid.playing .pvid-big { opacity: 0; pointer-events: none; }
.pvid-ctl {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 9px; padding: 9px 11px;
  background: linear-gradient(transparent, rgba(0,0,0,0.62));
  opacity: 0; transition: opacity 0.2s;
}
.pvid:hover .pvid-ctl, .pvid.playing .pvid-ctl { opacity: 1; }
.pvid-pp { flex: none; width: 16px; color: #fff; font-size: 12px; line-height: 1; text-align: center; }
.pvid-seek { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.28); position: relative; }
.pvid-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: var(--grad); }
.pvid-time { flex: none; color: #fff; opacity: 0.85; font-size: 11px; font-variant-numeric: tabular-nums; }

/* ---------- collection ---------- */

.coll-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px;
}
.pcard {
  --c: #a06bff;
  position: relative;
  border: 1px solid var(--line); border-radius: var(--rad-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.pcard:hover {
  
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 18px 60px -18px color-mix(in srgb, var(--c) 45%, transparent);
}
.pcard-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4,5,10,0.9) 100%);
}
.pcard-glow {
  position: absolute; inset: auto 0 0 0; height: 46%;
  background: radial-gradient(70% 100% at 50% 100%, color-mix(in srgb, var(--c) 32%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.pcard:hover .pcard-glow { opacity: 1; }
.pcard-body { position: relative; padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-dot {
  position: absolute; top: -30px; right: 22px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: #04060c; padding: 5px 12px; border-radius: 4px;
  background: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 70%, transparent);
}
.pcard h3 { font-size: 17px; margin-bottom: 7px; letter-spacing: 0; }
.pcard .pdesc { color: var(--muted); font-size: 13.8px; line-height: 1.55; min-height: 3.2em; margin-bottom: 14px; }
.pcard-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; }
.pcard-price { font-family: var(--font-d); font-size: 17px; font-weight: 700; }
.pcard-price small { font-family: var(--font-b); font-size: 12.5px; color: var(--dim); font-weight: 600; margin-right: 6px; }
.pcard-more { font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--c) 85%, #fff); }
.pcard-more::after { content: " →"; }

.coll-note {
  margin-top: 34px; display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 18px 24px; color: var(--muted); font-size: 15px;
  background: var(--panel);
}
.coll-note svg { flex: none; width: 22px; height: 22px; }

/* ---------- modal ---------- */

.modal-back {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2, 3, 7, 0.78);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-back.open { display: flex; animation: fadein 0.25s; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  --c: #a06bff;
  width: min(980px, 100%); max-height: 92svh; overflow-y: auto;
  border: 1px solid var(--line-2); border-radius: var(--rad-lg);
  background: #0a0c15;
  display: grid; grid-template-columns: 420px 1fr;
  animation: rise 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes rise { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-img { position: relative; aspect-ratio: 2 / 3; align-self: start; background: #000; overflow: hidden; }
.modal-img > img, .modal-img > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-img > video { display: none; z-index: 2; background: #000; }
.modal-img.playing > video { display: block; }
.modal-play {
  position: absolute; inset: 0; margin: auto; z-index: 4;
  width: 64px; height: 64px; border-radius: 50%; padding-left: 4px;
  display: grid; place-items: center; font-size: 22px; color: #fff;
  background: rgba(10,12,21,0.55); border: 1px solid rgba(255,255,255,0.5);
  transition: opacity 0.2s, transform 0.2s;
}
.modal-play:hover { transform: scale(1.08); }
.modal-img.playing .modal-play { opacity: 0; pointer-events: none; }
.modal-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, #0a0c15 100%);
}
.modal-body { padding: 38px 38px 34px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(10,12,21,0.7); color: #fff;
  font-size: 20px; line-height: 1;
}
.modal-kicker {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 85%, #fff); margin-bottom: 12px;
}
.modal h3 { font-size: 26px; margin-bottom: 16px; }
.modal .mdesc { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.modal .mdesc p { margin: 0 0 0.85em; }
.modal .mdesc > :last-child { margin-bottom: 0; }
.modal .mdesc ul, .modal .mdesc ol { margin: 0 0 0.85em 1.2em; padding: 0; }
.modal .mdesc li { margin: 0 0 0.3em; }
.modal .mdesc strong, .modal .mdesc b { color: var(--text); font-weight: 700; }
.modal .mdesc em, .modal .mdesc i { font-style: italic; }
.modal .mdesc a { color: color-mix(in srgb, var(--c) 80%, #fff); font-weight: 600; }
.vtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.vtable th {
  text-align: left; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); padding: 0 12px 10px 0; font-weight: 700;
}
.vtable td { padding: 13px 12px 13px 0; border-top: 1px solid var(--line); }
.vtable td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.vtable .rq { color: color-mix(in srgb, var(--c) 80%, #fff); font-size: 13.5px; font-weight: 800; letter-spacing: 0.04em; }
/* габариты + масса товара (между таблицей вариантов и кнопками) */
.modal-dims { margin: 16px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.md-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; padding: 6px 0; }
.md-row span { color: var(--muted); }
.md-row b { color: var(--text); font-weight: 700; white-space: nowrap; }
/* выбор типа подставки (плазменные трубы: 3D-печатная / деревянная пирамида) */
.modal-stand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 16px; }
.modal-stand .ms-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.modal-stand .ms-opt {
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; line-height: 1.1;
  padding: 7px 14px; border-radius: 4px; color: var(--dim);
  border: 1px solid var(--line); background: rgba(255,255,255,0.03); transition: 0.15s;
}
.modal-stand .ms-opt:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); color: #fff; }
.modal-stand .ms-opt.on {
  color: #fff; border-color: color-mix(in srgb, var(--c) 70%, transparent);
  background: color-mix(in srgb, var(--c) 22%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--c) 30%, transparent);
}
.modal-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.modal-cta .btn-primary { padding: 14px 26px; font-size: 15px; }
.modal-cta .btn-ghost { padding: 14px 26px; font-size: 15px; }

/* ---------- spheres ---------- */


.sph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }

/* ---------- gallery marquee ---------- */

.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 56s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 340px; width: auto; border-radius: var(--rad);
  border: 1px solid var(--line); object-fit: cover;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media (max-width: 860px) { .marquee-track img { height: 220px; } }

/* ---------- sizes infographic ---------- */

.sizes-figure { margin: 0; }
.sizes-figure img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--rad-lg);
}

/* ---------- interactive / controller ---------- */

.inter-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: stretch; position: relative; }
.inter-photos { position: relative; height: auto; min-height: 560px; }
.inter-photos figure {
  position: absolute; border-radius: var(--rad-lg); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9);
}
.inter-photos img { width: 100%; height: 100%; object-fit: cover; }
.ip-1 { width: 42%; height: 52%; left: 0; top: 0; }
.ip-2 { width: 42%; height: 52%; left: 6%; top: 44%; right: auto; bottom: auto; }
/* experience video - desktop: to the right of the stacked photos,
   sitting between them and the text cards (positioned against .inter-grid) */
.ip-vid {
  position: absolute; z-index: 3; margin: 0;
  top: 50%; left: 40%; transform: translate(-50%, -50%); bottom: auto;
  height: 58%; aspect-ratio: 9 / 16; width: auto;
  border-radius: var(--rad-lg); overflow: hidden;
  border: 1px solid var(--line-2); background: #000;
  box-shadow: 0 40px 100px -22px rgba(0,0,0,0.9);
}
.ip-vid video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.ip-vid-cta {
  position: absolute; z-index: 2; top: 14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px 10px 13px; border-radius: 4px; cursor: pointer;
  color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: 0.01em;
  background: rgba(10,12,21,0.6); border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  animation: ipvPulse 2.4s ease-in-out infinite;
}
.ip-vid-cta .ipv-ic { font-size: 16px; line-height: 1; }
.ip-vid-cta:hover { background: rgba(160,107,255,0.55); }
.ip-vid-cta.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) scale(0.9); animation: none; }
@keyframes ipvPulse { 0%,100% { box-shadow: 0 8px 30px rgba(0,0,0,0.4); } 50% { box-shadow: 0 8px 42px rgba(160,107,255,0.6); } }
.inter-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.ifeat {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 18px 20px; background: var(--panel);
}
.ifeat .ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(34,224,207,0.1); border: 1px solid rgba(34,224,207,0.3);
}
.ifeat .ico svg { width: 19px; height: 19px; }
.ifeat b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.ifeat p { color: var(--muted); font-size: 14px; }

.soon-band {
  margin-top: 26px;
  border: 1px solid rgba(160,107,255,0.4); border-radius: var(--rad);
  background: linear-gradient(93deg, rgba(77,166,255,0.10), rgba(160,107,255,0.12), rgba(255,79,216,0.10));
  padding: 22px 24px; position: relative; overflow: hidden;
}
.soon-band::before {
  content: ""; position: absolute; inset: -60% auto auto -20%; width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.09), transparent);
  transform: rotate(12deg);
  animation: sweep 4.5s infinite;
}
@keyframes sweep { 0% { left: -60%; } 60%, 100% { left: 130%; } }
.soon-chip {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--grad); color: #fff; border-radius: 4px; padding: 4px 12px; margin-bottom: 10px;
}
.soon-band b { font-size: 16.5px; display: block; margin-bottom: 4px; font-family: var(--font-d); font-weight: 600; }
.soon-band p { color: #c3cade; font-size: 14.5px; }

/* animated cue arrow nudging the reader toward the video */
.soon-band--vidcue { padding-left: 58px; }
.soon-arrow {
  position: absolute; z-index: 2; left: 16px; top: 50%; margin-top: -15px;
  width: 30px; height: 30px; color: #d3bcff; pointer-events: none;
  filter: drop-shadow(0 2px 7px rgba(160, 107, 255, 0.65));
  animation: soonNudgeX 1.15s ease-in-out infinite;
}
.soon-arrow svg { width: 100%; height: 100%; display: block; }
@keyframes soonNudgeX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
@keyframes soonNudgeY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- where it works ---------- */

.where { background: radial-gradient(1000px 640px at 10% 30%, rgba(255, 79, 216, 0.06), transparent 60%); }
.where-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wcard {
  position: relative; border-radius: var(--rad-lg); overflow: hidden;
  aspect-ratio: 3 / 4.1; border: 1px solid var(--line); cursor: default;
}
.wcard img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.wcard:hover img { transform: scale(1.06); }
.wcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,5,10,0.1) 30%, rgba(4,5,10,0.92) 100%);
}
.wcard-cap { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 22px; }
.wcard-cap b { display: block; font-family: var(--font-d); font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.wcard-cap p { color: #b9c1d4; font-size: 13.5px; line-height: 1.5; }

/* ---------- shipping ---------- */

.ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ship-points { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.spoint { display: flex; gap: 16px; }
.spoint .n {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--panel-2);
  font-family: var(--font-d); font-weight: 700; font-size: 15px;
  color: var(--accent);
}
.spoint b { display: block; margin-bottom: 3px; font-size: 16px; }
.spoint p { color: var(--muted); font-size: 14.5px; }
.ship-visual { position: relative; border-radius: var(--rad-lg); overflow: hidden; border: 1px solid var(--line-2); }
.ship-visual img { width: 100%; height: 620px; object-fit: cover; }
.ship-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4,5,10,0.85) 100%);
}
.ship-badge {
  position: absolute; z-index: 2; left: 22px; bottom: 22px; right: 22px;
  border: 1px solid var(--line-2); border-radius: var(--rad);
  background: rgba(6, 8, 14, 0.72);
  padding: 18px 22px; display: flex; align-items: center; gap: 16px;
}
.ship-badge b { font-family: var(--font-d); font-size: 24px; }
.ship-badge span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--rad); background: var(--panel); margin-bottom: 14px; overflow: hidden; transition: border-color 0.3s; }
.faq-item[open] { border-color: rgba(160,107,255,0.45); background: var(--panel-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 700; font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-d); font-size: 20px; color: var(--violet);
  transition: transform 0.3s; flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; max-width: 720px; }
.faq-a a { color: #b592ff; font-weight: 700; }

/* ---------- CTA / contact ---------- */

.cta-sec { padding: 130px 0; position: relative; overflow: hidden; }
.cta-sec::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 50% 0%, rgba(160,107,255,0.16), transparent 65%),
    radial-gradient(600px 380px at 80% 100%, rgba(34,224,207,0.08), transparent 60%);
}
.cta-box {
  position: relative;
  border: 1px solid var(--line-2); border-radius: 32px;
  background: rgba(9, 11, 19, 0.75);
  padding: 66px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.cta-box h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 20px; }
.cta-box .lead { color: var(--muted); font-size: 17px; }
.cta-contacts { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 12px; color: #cfd6e8; font-weight: 600; transition: color 0.2s; }
.cta-contacts a:hover { color: #fff; }
.cta-contacts svg { width: 18px; height: 18px; opacity: 0.7; }

.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form label { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; padding: 15px 18px; border-radius: 13px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.045);
  color: #fff; font: inherit; font-size: 15.5px;
  transition: border-color 0.25s, background 0.25s;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus {
  outline: none; border-color: var(--violet); background: rgba(255,255,255,0.07);
}
/* native dropdown: dark popup so options aren't white-on-white */
.lead-form select { color-scheme: dark; }
.lead-form select option { background: #0a0c15; color: #fff; }
.lead-form ::placeholder { color: #596074; }
.lead-form textarea { min-height: 104px; resize: vertical; }
.lead-form .btn-primary { justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--dim); text-align: center; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 44px 0 54px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }
.foot-copy { color: var(--dim); font-size: 13px; }

/* ---------- reveal on scroll ---------- */

.rv { opacity: 0;  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .essence-grid { grid-template-columns: 1fr 1fr; }
  .where-grid { grid-template-columns: 1fr 1fr; }
  .inter-grid, .ship-grid, .cta-box { grid-template-columns: 1fr; }
  .inter-photos { height: 480px; }
  .ship-visual img { height: 460px; }
  .cta-box { padding: 44px 34px; gap: 44px; }
  .modal { grid-template-columns: 1fr; }
  .modal-img { aspect-ratio: 3 / 4; max-height: 62vh; min-height: 0; position: relative; justify-self: center; width: 100%; max-width: calc(62vh * 0.75); }
  .modal-img::after { background: linear-gradient(180deg, transparent 55%, #0a0c15 100%); }
}

@media (max-width: 860px) {
  .hdr-in { gap: 12px; padding: 0 16px; }
  .logo { font-size: 15px; }
  .logo svg { width: 22px; height: 22px; }
  .lang { flex: none; margin-left: auto; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0;
    background: #05060c;
    border-bottom: 1px solid var(--line);
    /* НАДЁЖНЫЙ показ/скрытие через display (transition НА ЭТОЙ странице застревает —
       и max-height-аккордеон, и opacity не доходили до цели → меню было некликабельно).
       Слайд-ин делаем @keyframes-анимацией (она отрабатывает, в отличие от transition). */
    display: none;
  }
  body.menu-open .nav { display: flex; animation: navdrop 0.26s ease both; }
  @keyframes navdrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .nav a { padding: 16px 28px; border-top: 1px solid var(--line); font-size: 16px; }
  .nav-cta { display: block; color: #fff; font-weight: 800; box-shadow: inset 3px 0 0 #ff4fd8; }
  .nav-mob { display: block; }
  .burger { display: block; }
  .hdr-cta { display: none; }
  .hdr { background: rgba(4, 5, 10, 0.72); border-bottom-color: var(--line); }

  .hero-stats { display: none; }
  .hero-slides { opacity: 0.4; mask-image: none; -webkit-mask-image: none; }

  section { padding: 76px 0; }
  section.tight { padding: 28px 0; }
  .essence-grid { grid-template-columns: 1fr; }
  .pcar-item { width: 150px; height: 214px; }
  .pcar-item::after { opacity: 1; }
  .where-grid { grid-template-columns: 1fr; }
  .wcard { aspect-ratio: 4 / 3; }

  .inter-grid { display: flex; flex-direction: column; gap: 26px; }
  /* photos move to the TOP of the block, both shown side by side */
  .inter-photos { order: 0; height: auto; min-height: 0; position: relative; display: flex; gap: 10px; }
  .inter-photos .ip-1, .inter-photos .ip-2 {
    position: static; display: block; flex: 1 1 0; min-width: 0; width: auto; height: 240px;
  }
  /* experience video - mobile: sits at the bottom of the block with a small gap.
     Higher specificity + relative to beat ".inter-photos figure { position:absolute }"
     and still give the CTA a positioning context. */
  /* video now lives in the copy column, directly under the "coming soon" band */
  .ip-vid {
    position: relative; transform: none; inset: auto;
    width: min(76%, 290px); height: auto; margin: 20px auto 0;
  }
  .ip-vid-cta { top: 10px; font-size: 12.5px; padding: 8px 13px 8px 11px; }
  /* cue arrow points DOWN toward the video that now sits below the band */
  .soon-band--vidcue { padding-left: 24px; padding-bottom: 48px; }
  .soon-arrow {
    left: 50%; margin-left: -15px; top: auto; bottom: 12px; margin-top: 0;
    animation-name: soonNudgeY;
  }
  .soon-arrow svg { transform: rotate(-90deg); }

  .foot-links a { padding: 6px 0; display: inline-block; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  /* catalog: two compact columns instead of one giant card per row */
  .coll-grid, .sph-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard-img { aspect-ratio: 1 / 1.15; }
  .pcard-body { padding: 12px 12px 14px; }
  .pcard h3 { font-size: 13.5px; }
  .pcard .pdesc {
    font-size: 11.5px; min-height: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .pcard-price { font-size: 14px; }
  .pcard-dot { top: -26px; right: 10px; font-size: 9.5px; padding: 4px 9px; }
  .pcard-more { display: none; }
  .pcard-foot { margin-top: auto; }

  /* product modal: rows on one line, title clear of the close button */
  .modal h3 { padding-right: 44px; }
  .vtable { font-size: 13.5px; }
  .vtable td:first-child, .vtable .rq { white-space: nowrap; }
  .vtable th { font-size: 10px; }
  .vtable td { padding: 10px 8px 10px 0; }

  /* cart: keep payment radios on one line */
  .cf-pay label { white-space: nowrap; }

  /* lightbox: tighter controls on small screens */
  .lightbox img { max-width: 96vw; max-height: 82vh; }
  .lb-nav { width: 42px; height: 42px; font-size: 22px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 14px; right: 14px; width: 42px; height: 42px; }
}

/* ---------- store: modal extras ---------- */

.modal-video { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 22px; aspect-ratio: 16 / 9; background: #000; }
.modal-video iframe, .modal-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* file videos now play inside the left media area (see .modal-img) */
.modal-video-link a { color: color-mix(in srgb, var(--c) 80%, #fff); font-weight: 700; }
.modal-thumbs { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 46px 14px 14px; display: flex; gap: 8px; background: linear-gradient(transparent, rgba(0,0,0,0.82)); overflow-x: auto; scrollbar-width: none; transition: opacity 0.25s; }
.modal-thumbs::-webkit-scrollbar { display: none; }
.modal-thumbs .mth { position: relative; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.35); padding: 0; background: #000; opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; cursor: pointer; }
.modal-thumbs .mth.on { opacity: 1; border-color: var(--c); }
.modal-thumbs .mth img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* the video slide's thumb wears a small play badge */
.modal-thumbs .mth-vid::after {
  content: "▶"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 17px; color: #fff; background: rgba(0,0,0,0.35);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
/* hide the thumb bar while the video plays so it never covers native controls */
.modal-img.playing .modal-thumbs { opacity: 0; pointer-events: none; }
/* gallery arrows */
.mnav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; padding: 0 0 2px;
  display: grid; place-items: center; font-size: 26px; line-height: 1; color: #fff;
  background: rgba(10,12,21,0.55); border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.mprev { left: 10px; } .mnext { right: 10px; }
.mnav:hover { background: rgba(160,107,255,0.45); transform: translateY(-50%) scale(1.06); }
/* the ▶ overlay lives only on the video slide; photos zoom on tap */
.modal-img { cursor: zoom-in; }
.modal-img .modal-play { display: none; }
.modal-img.is-vid { cursor: pointer; }
.modal-img.is-vid .modal-play { display: grid; }
.modal-img.playing { cursor: default; }
@media (max-width: 640px) {
  .modal-thumbs { padding: 38px 10px 10px; gap: 6px; }
  .modal-thumbs .mth { width: 54px; height: 54px; }
  .mnav { width: 40px; height: 40px; font-size: 22px; }
  .mprev { left: 6px; } .mnext { right: 6px; }
}
.vtable .vbuy { text-align: right; width: 52px; }
.vtable .vadd {
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: #fff; border-radius: 9px; padding: 5px 9px; font-size: 13px; font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.vtable .vadd:hover { background: color-mix(in srgb, var(--c) 30%, transparent); transform: scale(1.06); }
.form-sent { text-align: center; padding: 40px 10px; }
.form-sent b { display: block; font-family: var(--font-d); font-size: 22px; margin-bottom: 12px; color: var(--accent); }
.form-sent p { color: var(--muted); }

/* ---------- store: cart ---------- */

/* Корзина-fab: яркий круглый бейдж ПОВЕРХ всех модалок (z-index > 200).
   Крупная иконка сверху + большое число + «in cart» типовым шрифтом.
   Постоянной пульсации нет; раз в ~30с — лёгкое «покачивание монетки» + блик (coinIdle/coinGlint);
   яркая вспышка (.nag) — в момент добавления. */
.cart-fab {
  position: fixed; right: 22px; top: 88px; z-index: 300;
  width: 98px; height: 98px; border-radius: 50%; border: none; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 6px 12px; text-align: center; line-height: 1;
  background: linear-gradient(180deg, #ffb257, #e8892b);
  color: #201002;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 4px rgba(232,137,43,0.28), 0 0 30px rgba(232,137,43,0.62);
  transition: filter 0.2s;
  animation: coinIdle 30s ease-in-out infinite;
}
.cart-fab:hover { filter: brightness(1.08); }
.cart-fab-ic { width: 31px; height: 31px; flex: none; }
.cart-fab-n { font-family: var(--font-b); font-weight: 800; font-size: 27px; line-height: 1; margin-top: 1px; }
.cart-fab-lb { font-family: var(--font-b); font-weight: 700; font-size: 11.5px; line-height: 1; letter-spacing: 0.01em; opacity: 0.92; margin-top: 2px; }
/* «монетка»: раз в ~30с лёгкое покачивание + светлый блик проходит по кругу */
.cart-fab::before {
  content: ""; position: absolute; inset: -30%; pointer-events: none;
  background: linear-gradient(58deg, transparent 42%, rgba(255,255,255,0.6) 50%, transparent 58%);
  transform: translateX(-135%);
  animation: coinGlint 30s ease-in-out infinite;
}
@keyframes coinIdle {
  0%, 88%, 100% { transform: rotate(0deg); }
  91% { transform: rotate(-7deg) scale(1.04); }
  94% { transform: rotate(6deg); }
  97% { transform: rotate(-2deg); }
}
@keyframes coinGlint {
  0%, 89%, 100% { transform: translateX(-135%); opacity: 0; }
  91% { opacity: 1; }
  96% { transform: translateX(135%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cart-fab { animation: none; } .cart-fab::before { animation: none; opacity: 0; } }
/* «полёт» товара в корзину: янтарный орб от карточки к fab */
.cart-fly {
  position: fixed; z-index: 340; width: 32px; height: 32px; border-radius: 50%;
  margin: -16px 0 0 -16px; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #ffe6b8, #ffa945 55%, #e8892b);
  box-shadow: 0 0 20px rgba(255,169,69,0.95), 0 0 44px rgba(232,137,43,0.7);
  transition: transform 0.34s cubic-bezier(0.4,0.05,0.5,1), opacity 0.34s ease-in;
}
/* яркая вспышка корзины в момент «прилёта» (одноразово) */
.cart-fab.nag { animation: cartNag 0.7s ease-out; }
@keyframes cartNag {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.24);
         box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 0 12px rgba(232,137,43,0.6), 0 0 80px rgba(255,169,69,1); }
  62%  { transform: scale(0.97); }
  100% { transform: scale(1);
         box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 4px rgba(232,137,43,0.28), 0 0 30px rgba(232,137,43,0.62); }
}
.cart-back {
  position: fixed; inset: 0; z-index: 320; background: rgba(2,3,7,0.72);
  opacity: 0; pointer-events: none; transition: opacity 0.28s;
}
.cart-back.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: #14120f; border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cart-back.open .cart-drawer { transform: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 19px; }
.cart-x { background: none; border: none; color: var(--dim); font-size: 26px; line-height: 1; }
.cart-x:hover { color: #fff; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px 30px; }
.cart-empty { color: var(--dim); text-align: center; padding: 50px 0; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--panel);
  padding: 12px 14px;
}
.ci-info { flex: 1; min-width: 0; }
.ci-info b { display: block; font-size: 14px; }
.ci-info span { color: var(--dim); font-size: 12.5px; }
.ci-qty { display: flex; align-items: center; gap: 2px; }
.ci-qty button {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2);
  background: none; color: var(--muted); font-size: 15px; line-height: 1;
}
.ci-qty button:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.ci-qty i { font-style: normal; min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }
.ci-price { font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.ci-rm { background: none; border: none; color: var(--dim); font-size: 15px; padding: 8px; margin: -8px; }
.ci-rm:hover { color: #ff5470; }
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 4px; font-size: 15px; color: var(--muted);
}
.cart-total b { font-family: var(--font-d); font-size: 19px; color: var(--text); }
.cart-form { display: flex; flex-direction: column; gap: 11px; border-top: 1px solid var(--line); padding-top: 18px; }
.cart-form input, .cart-form textarea {
  width: 100%; padding: 12px 15px; border-radius: 11px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.045);
  color: #fff; font: inherit; font-size: 14.5px;
}
.cart-form input:focus, .cart-form textarea:focus { outline: none; border-color: var(--violet); }
.cf-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); padding: 2px 2px; }
.cf-pay label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text); font-weight: 600; }
.cf-pay input { accent-color: #a06bff; }
.cart-fine { font-size: 11px; line-height: 1.5; color: var(--dim); margin: -2px 0 2px; }
.cf-ship { font-size: 13.5px; color: var(--muted); padding: 2px 2px; }
.cf-ship > span { display: block; margin-bottom: 6px; }
.cf-ship label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text); font-weight: 600; margin: 5px 0 0; }
.cf-ship input { accent-color: #a06bff; }
/* один слот подсказки под списком: высота фиксируется JS по самой длинной — layout не дёргается */
.ship-hint { display: none; margin: 6px 0 0 22px; font-size: 12px; line-height: 1.45; color: var(--dim); }
.ship-hint.on { display: block; }
.cart-submit { justify-content: center; width: 100%; padding: 15px; font-size: 15.5px; border-radius: 4px; }
.cart-note { font-size: 12px; color: var(--dim); text-align: center; line-height: 1.5; }
.cart-done { text-align: center; padding: 60px 10px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.cart-done b { font-family: var(--font-d); font-size: 21px; color: var(--accent); }
.cart-done p { color: var(--muted); }
@media (max-width: 640px) { .cart-fab { right: 12px; top: 82px; width: 90px; height: 90px; padding: 5px 6px 13px; } .cart-fab-lb { font-size: 11px; margin-top: 3px; } .cart-fab-ic { width: 28px; height: 28px; } .cart-fab-n { font-size: 25px; margin-top: 2px; } }

/* cart item thumbs + product links */
.ci-thumb {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 10px; object-fit: cover; display: block;
  border: 1px solid var(--line); background: var(--panel);
}
.ci-thumb-ph { background: rgba(255,255,255,0.05); }
.ci-link {
  color: inherit; text-decoration: none; cursor: pointer;
  transition: color 0.15s ease;
}
.ci-link:hover { color: var(--cyan); text-decoration: underline; }

/* modal: sizes accordion + thumb-bar grab cursor */
.modal-cta .btn-sizes .chev { display: inline-block; margin-left: 6px; transition: transform 0.25s; }
.modal-cta .btn-sizes.on .chev { transform: rotate(180deg); }
.modal-sizes { display: none; margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.modal-sizes.open { display: block; animation: rise 0.35s ease; }
.modal-sizes img { width: 100%; height: auto; display: block; }
.modal-thumbs { cursor: grab; }
.modal-thumbs.grabbing { cursor: grabbing; }
.modal-thumbs.grabbing .mth { pointer-events: none; }

/* ---------- sold-out (catalog card + product modal) ---------- */
.pcard.is-sold .pcard-img img { filter: grayscale(0.55) brightness(0.72); }
.pcard-sold {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font: 700 11px/1 var(--font-b); letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: rgba(10,12,21,0.82); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 11px; border-radius: 4px;
}
.modal-sold {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font: 700 11px/1 var(--font-b); letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: color-mix(in srgb, var(--magenta) 55%, #000); border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 10px; border-radius: 4px;
}

/* ---------- читаемость мелких «дисплейных» подписей (2026-07) ----------
   Oswald (--font-d) уместен на КРУПНЫХ заголовках блоков (.sec-title, .hero h1),
   но на мелких подписях — названиях товаров, ценниках, подписях карточек, бейджах —
   он слишком узкий/вытянутый и плохо читается. Даём им Manrope (--font-b): квадратнее
   и читаемее. Блок в КОНЦЕ файла — чтобы перебить более поздние объявления --font-d
   при равной специфичности. Крупные заголовки блоков и логотип НЕ трогаем. */
.pcard h3,               /* названия товаров в карточках */
.pcard-price,            /* ценники в карточках */
.modal h3,               /* название товара в попапе */
.wcard-cap b,            /* подписи на картинках («Not décor. A focal point.») */
.hstat b,                /* мини-статы героя */
.soon-band b,            /* плашка «скоро» */
.ship-badge b,           /* бейдж доставки */
.cart-total b {          /* итог корзины (цена) */
  font-family: var(--font-b) !important;
  letter-spacing: 0.005em;
}

/* мощность/напряжение в попапе товара — мини-блок между описанием и таблицей */
.modal-power {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--panel-2);
  font-size: 14px; line-height: 1.45; color: var(--muted);
}
.modal-power .mp-ico { width: 22px; height: 22px; flex: none; color: var(--accent); }
.modal-power .mp-txt b { color: var(--text); font-weight: 700; }

/* ---------- выбор варианта радио-кнопкой (вместо мелкого [+]) ---------- */
/* Стилизовано в акцент (#e8892b) под общий оранжево-коричнево-чёрный дизайн. */
.vtable .vsel, .vtable .vsel-h { width: 34px; padding-right: 6px; }
.vrow.vbuyable { cursor: pointer; }
.vrow.vbuyable:hover { background: rgba(255, 255, 255, 0.02); }
.vtable tbody tr:has(input[name="tcp-variant"]:checked) { background: rgba(232, 137, 43, 0.09); }
.vradio { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.vradio input { position: absolute; opacity: 0; width: 0; height: 0; }
.vradio-dot {
  width: 19px; height: 19px; border-radius: 50%;
  border: 2px solid var(--line-2); background: var(--panel-2);
  position: relative; transition: border-color 0.15s, box-shadow 0.15s;
}
.vradio-dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform 0.15s;
}
.vradio:hover .vradio-dot { border-color: var(--accent); }
.vradio input:checked + .vradio-dot { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 137, 43, 0.18); }
.vradio input:checked + .vradio-dot::after { transform: scale(1); }
/* «В корзину» → подтверждение добавления */
.modal-cta .btn-primary.added { background: #2f9e57; }

/* ---------- мобильная раскладка CTA в карточке товара ----------
   На мобиле попап не влезает целиком, и снизу кнопка «в корзину» далеко от картинки-
   источника анимации. Переносим её к заголовку (сразу под галереей): у труб — одной
   строкой над заголовком, у шаров — компактно в две строки справа от заголовка. */
.modal-buy-m { display: none; }
@media (max-width: 640px) {
  .modal-cta [data-addcart] { display: none; }         /* нижнюю кнопку прячем */
  .modal-buy-m { display: inline-flex; }
  /* труба: кнопка одной строкой НАД заголовком */
  .modal-body.is-tube .modal-htop { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .modal-body.is-tube .modal-buy-m { order: -1; width: 100%; justify-content: center; padding-top: 14px; padding-bottom: 14px; }
  /* шар: кнопка в 2 строки СПРАВА от заголовка */
  .modal-body.is-sphere .modal-htop { display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 14px; }
  .modal-body.is-sphere .modal-htop h3 { flex: 1; min-width: 0; margin-bottom: 0; }
  .modal-body.is-sphere .modal-buy-m { flex: none; width: 98px; white-space: normal; text-align: center; line-height: 1.15; padding: 12px 10px; font-size: 15px; }
}
