/* ========== BAZARANET — витрина ========== */

:root{
  --bg:#08080a; --bg2:#0d0d10; --surface:#111114; --surface2:#17171c;
  --line:rgba(255,255,255,.09); --line2:rgba(255,255,255,.16);
  --txt:#f4f4f2; --muted:#9a9aa2; --dim:#6b6b74;
  --acid:#c8ff2e; --acid-dim:#a5d61f; --hot:#ff5c38; --ok:#39d98a;
  --r:18px; --r-lg:26px;
  --pad:clamp(16px,4vw,64px);
  --head:64px;
  --ease:cubic-bezier(.22,1,.36,1);
  --font:'Manrope',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --display:'Unbounded',var(--font);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--txt); font-family:var(--font);
  font-size:16px; line-height:1.55; overflow-x:hidden;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overscroll-behavior-y:none;
}
body.lock{overflow:hidden}
img{max-width:100%; display:block}
button,input,textarea,select{font:inherit; color:inherit}
button{cursor:pointer; background:none; border:0}
a{color:inherit; text-decoration:none}
::selection{background:var(--acid); color:#000}
:focus-visible{outline:2px solid var(--acid); outline-offset:3px; border-radius:6px}

/* зерно + свечения фона */
.grain{position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E")}
.blobs{position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden}
.blob{position:absolute; border-radius:50%; filter:blur(90px); opacity:.30}
.blob.a{width:44vw; height:44vw; background:#3d5c00; top:-12vw; left:-8vw}
.blob.b{width:38vw; height:38vw; background:#4a1b6b; top:38vh; right:-12vw; opacity:.26}
.blob.c{width:30vw; height:30vw; background:#7a2a12; bottom:-10vw; left:22vw; opacity:.18}

.wrap{position:relative; z-index:2}
.container{width:min(1280px,100%); margin-inline:auto; padding-inline:var(--pad)}

/* ---------- шапка ---------- */
.head{position:fixed; top:0; left:0; right:0; z-index:60; transition:.35s var(--ease)}
.head-in{display:flex; align-items:center; gap:14px; height:var(--head); }
.head::before{content:''; position:absolute; inset:0; backdrop-filter:blur(14px);
  background:linear-gradient(180deg,rgba(8,8,10,.88),rgba(8,8,10,.4)); opacity:0; transition:.35s}
.head.stuck::before{opacity:1; border-bottom:1px solid var(--line)}
.head.hide{transform:translateY(-100%)}

.logo{display:flex; align-items:center; gap:9px; font-family:var(--display); font-weight:800;
  font-size:19px; letter-spacing:-.02em; margin-right:auto; z-index:2}
.logo-mark{width:30px; height:30px; border-radius:9px; background:var(--acid); color:#000;
  display:grid; place-items:center; font-size:15px; font-weight:900; flex:none;
  box-shadow:0 0 0 0 rgba(200,255,46,.5); animation:pulse 3.6s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(200,255,46,.35)}50%{box-shadow:0 0 0 12px rgba(200,255,46,0)}}

.nav{display:flex; gap:4px}
.nav a{padding:9px 14px; border-radius:99px; font-size:14px; font-weight:600; color:var(--muted);
  transition:.2s; position:relative}
.nav a:hover,.nav a.on{color:var(--txt); background:rgba(255,255,255,.07)}

.head-act{display:flex; gap:8px; align-items:center}
.icon-btn{width:42px; height:42px; border-radius:13px; display:grid; place-items:center;
  border:1px solid var(--line); background:rgba(255,255,255,.03); transition:.22s var(--ease); position:relative}
.icon-btn:hover{background:rgba(255,255,255,.09); border-color:var(--line2); transform:translateY(-2px)}
.icon-btn:active{transform:scale(.94)}
.icon-btn svg{width:19px; height:19px; stroke:currentColor; fill:none; stroke-width:1.7;
  stroke-linecap:round; stroke-linejoin:round}
.cart-btn{background:var(--acid); color:#000; border-color:var(--acid); width:auto; padding:0 16px; gap:8px;
  display:flex; font-weight:800; font-size:14px; height:42px}
.cart-btn:hover{background:#d8ff5c; border-color:#d8ff5c}
.badge{min-width:20px; height:20px; padding:0 6px; border-radius:99px; background:#000; color:var(--acid);
  font-size:11px; font-weight:800; display:grid; place-items:center}
.badge.pop{animation:pop .45s var(--ease)}
@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.5)}100%{transform:scale(1)}}
.burger{display:none}

/* ---------- бегущая строка ---------- */
.ticker{overflow:hidden; border-block:1px solid var(--line); background:var(--acid); color:#000;
  padding:9px 0; font-family:var(--display); font-weight:700; font-size:13px; letter-spacing:.06em}
.ticker-in{display:flex; gap:36px; width:max-content; animation:slide 26s linear infinite}
.ticker span{white-space:nowrap}
@keyframes slide{to{transform:translateX(-50%)}}
.ticker:hover .ticker-in{animation-play-state:paused}

/* ---------- герой ---------- */
.hero{position:relative; padding-top:calc(var(--head) + 24px); padding-bottom:40px; min-height:92svh;
  display:flex}
/* margin:auto центрирует, но никогда не заезжает под шапку на низких экранах */
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; width:100%;
  margin-block:auto}
.hero-kicker{display:inline-flex; align-items:center; gap:9px; padding:7px 14px; border-radius:99px;
  border:1px solid var(--line2); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--acid); background:rgba(200,255,46,.06); margin-bottom:22px}
.dot{width:7px; height:7px; border-radius:50%; background:var(--acid); animation:blink 1.6s infinite}
@keyframes blink{50%{opacity:.25}}

.hero h1{font-family:var(--display); font-weight:900; letter-spacing:-.045em; line-height:.85;
  font-size:clamp(56px,11.5vw,164px); margin:0 0 22px; text-transform:uppercase}
.hero h1 .l{display:block; overflow:hidden}
.hero h1 .l i{display:block; font-style:normal; transform:translateY(105%); animation:rise .95s var(--ease) forwards}
.hero h1 .l:nth-child(2) i{animation-delay:.1s}
@keyframes rise{to{transform:translateY(0)}}
.stroke{-webkit-text-stroke:2px var(--acid); color:transparent; paint-order:stroke}
.hero p.lead{color:var(--muted); font-size:clamp(15px,1.6vw,18px); max-width:44ch; margin:0 0 30px}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:34px}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; height:54px; padding:0 28px;
  border-radius:99px; font-weight:800; font-size:15px; transition:.25s var(--ease); border:1px solid transparent;
  position:relative; overflow:hidden; white-space:nowrap}
.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-acid{background:var(--acid); color:#000}
.btn-acid::after{content:''; position:absolute; inset:0; background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.6),transparent 70%);
  transform:translateX(-120%); transition:.7s}
.btn-acid:hover::after{transform:translateX(120%)}
.btn-acid:hover{transform:translateY(-3px); box-shadow:0 14px 34px -12px rgba(200,255,46,.65)}
.btn-ghost{border-color:var(--line2); color:var(--txt); background:rgba(255,255,255,.03)}
.btn-ghost:hover{background:rgba(255,255,255,.1); transform:translateY(-3px)}
.btn:active{transform:scale(.97)}

.hero-stats{display:flex; gap:30px; flex-wrap:wrap}
.stat b{display:block; font-family:var(--display); font-size:26px; font-weight:800; line-height:1}
.stat span{font-size:12.5px; color:var(--dim)}

.hero-visual{position:relative; aspect-ratio:1/1.06; display:grid; place-items:center}
.hero-card{position:absolute; border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line);
  background:var(--surface); box-shadow:0 40px 80px -30px #000; will-change:transform}
.hero-card img{width:100%; height:100%; object-fit:cover}
.hc1{width:60%; aspect-ratio:4/5; z-index:3; transform:rotate(-4deg)}
.hc2{width:44%; aspect-ratio:4/5; top:4%; right:0; z-index:2; transform:rotate(7deg); opacity:.95}
.hc3{width:40%; aspect-ratio:4/5; bottom:2%; left:0; z-index:1; transform:rotate(-11deg); opacity:.9}
.hero-price{position:absolute; z-index:4; bottom:12%; right:6%; background:#fff; color:#000;
  border-radius:16px; padding:11px 16px; font-weight:900; font-size:14px; box-shadow:0 18px 40px -12px #000;
  animation:float 5s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-14px) rotate(-2deg)}}

/* ---------- секции ---------- */
section{position:relative; padding:clamp(56px,8vw,110px) 0}
.sec-head{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:34px; flex-wrap:wrap}
.sec-title{font-family:var(--display); font-weight:900; letter-spacing:-.04em; text-transform:uppercase;
  font-size:clamp(30px,5.4vw,64px); line-height:.95; margin:0}
.sec-sub{color:var(--muted); font-size:15px; margin:10px 0 0; max-width:52ch}
.eyebrow{font-size:12px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--acid);
  display:flex; align-items:center; gap:9px; margin-bottom:12px}
.eyebrow::before{content:''; width:26px; height:1px; background:var(--acid)}

/* категории */
.cats{display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px}
.cat{position:relative; border:1px solid var(--line); border-radius:var(--r); padding:22px 18px; overflow:hidden;
  background:linear-gradient(160deg,var(--surface),var(--bg2)); transition:.3s var(--ease); text-align:left}
.cat:hover{border-color:var(--acid); transform:translateY(-5px)}
.cat .em{font-size:26px; display:block; margin-bottom:10px; transition:.35s var(--ease)}
.cat:hover .em{transform:scale(1.22) rotate(-8deg)}
.cat b{font-family:var(--display); font-size:15px; display:block; letter-spacing:-.02em}
.cat i{font-style:normal; font-size:12.5px; color:var(--dim)}
.cat::after{content:'→'; position:absolute; right:16px; top:20px; color:var(--acid); opacity:0; transition:.3s; transform:translateX(-6px)}
.cat:hover::after{opacity:1; transform:translateX(0)}

/* фильтры каталога */
.tools{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:26px}
.chips{display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; -webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.chip{padding:10px 17px; border-radius:99px; border:1px solid var(--line); font-size:13.5px; font-weight:700;
  color:var(--muted); white-space:nowrap; transition:.22s var(--ease); background:rgba(255,255,255,.02)}
.chip:hover{color:var(--txt); border-color:var(--line2)}
.chip.on{background:var(--acid); color:#000; border-color:var(--acid)}
.select{margin-left:auto; padding:10px 14px; border-radius:99px; border:1px solid var(--line);
  background:var(--surface); font-size:13.5px; font-weight:600; color:var(--muted)}
.search-in{flex:1; min-width:180px; height:42px; border-radius:99px; border:1px solid var(--line);
  background:var(--surface); padding:0 18px; font-size:14px}
.search-in::placeholder{color:var(--dim)}

/* ---------- карточка товара ---------- */
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(258px,1fr)); gap:clamp(12px,1.6vw,22px)}
.card{position:relative; border-radius:var(--r-lg); overflow:hidden; background:var(--surface);
  border:1px solid var(--line); transition:.35s var(--ease); will-change:transform; content-visibility:auto;
  contain-intrinsic-size:420px}
.card:hover{border-color:var(--line2); box-shadow:0 30px 60px -30px rgba(0,0,0,.9)}
.card-img{position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--bg2); display:block}
.card-img img{width:100%; height:100%; object-fit:cover; transition:.7s var(--ease)}
.card-img img.alt{position:absolute; inset:0; opacity:0}
.card:hover .card-img img.main{opacity:0; transform:scale(1.06)}
.card:hover .card-img img.alt{opacity:1; transform:scale(1.03)}
.card-badges{position:absolute; top:12px; left:12px; display:flex; gap:6px; flex-wrap:wrap; z-index:2}
.tag{padding:5px 10px; border-radius:8px; font-size:10.5px; font-weight:900; letter-spacing:.07em;
  text-transform:uppercase; backdrop-filter:blur(6px)}
.tag.new{background:var(--acid); color:#000}
.tag.hit{background:var(--hot); color:#fff}
.tag.sale{background:#fff; color:#000}
.tag.out{background:rgba(0,0,0,.72); color:#fff; border:1px solid var(--line2)}
.fav{position:absolute; top:10px; right:10px; z-index:2; width:38px; height:38px; border-radius:12px;
  background:rgba(10,10,12,.6); backdrop-filter:blur(8px); display:grid; place-items:center;
  border:1px solid var(--line); transition:.22s}
.fav svg{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:1.8}
.fav.on svg{fill:var(--hot); stroke:var(--hot)}
.fav:hover{transform:scale(1.1)}
.quick{position:absolute; left:12px; right:12px; bottom:12px; z-index:2; height:46px; border-radius:14px;
  background:var(--acid); color:#000; font-weight:800; font-size:14px; display:flex; align-items:center;
  justify-content:center; gap:8px; opacity:0; transform:translateY(14px); transition:.32s var(--ease)}
.card:hover .quick{opacity:1; transform:translateY(0)}
.card-body{padding:15px 16px 18px}
.card-cat{font-size:11px; color:var(--dim); text-transform:uppercase; letter-spacing:.1em; font-weight:700}
.card h3{font-size:15px; font-weight:700; margin:7px 0 10px; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em}
.price{display:flex; align-items:baseline; gap:9px}
.price b{font-family:var(--display); font-size:17px; font-weight:800; letter-spacing:-.02em}
.price s{color:var(--dim); font-size:13px}
.card-sizes{display:flex; gap:5px; margin-top:11px; flex-wrap:wrap}
.card-sizes i{font-style:normal; font-size:10.5px; color:var(--dim); border:1px solid var(--line);
  border-radius:6px; padding:3px 7px}

.empty{text-align:center; padding:70px 20px; color:var(--muted)}
.empty b{display:block; font-family:var(--display); font-size:20px; color:var(--txt); margin-bottom:8px}
.skeleton{border-radius:var(--r-lg); background:linear-gradient(100deg,var(--surface) 30%,var(--surface2) 50%,var(--surface) 70%);
  background-size:220% 100%; animation:sk 1.3s infinite; aspect-ratio:4/6.2}
@keyframes sk{to{background-position:-120% 0}}

/* ---------- фичи ---------- */
.feats{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px}
.feat{border:1px solid var(--line); border-radius:var(--r); padding:26px 22px; background:var(--surface);
  transition:.3s var(--ease); position:relative; overflow:hidden}
.feat:hover{transform:translateY(-5px); border-color:var(--acid)}
.feat-ico{width:46px; height:46px; border-radius:14px; background:rgba(200,255,46,.1); color:var(--acid);
  display:grid; place-items:center; margin-bottom:16px}
.feat-ico svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.feat b{font-family:var(--display); font-size:15px; display:block; margin-bottom:7px}
.feat p{color:var(--muted); font-size:13.5px; margin:0}

/* баннер */
.banner{border-radius:var(--r-lg); border:1px solid var(--line); overflow:hidden; position:relative;
  padding:clamp(32px,6vw,72px); background:linear-gradient(120deg,#12140a,#0c0c0e 60%)}
.banner::before{content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 82% 30%,rgba(200,255,46,.22),transparent 55%)}
.banner-in{position:relative; max-width:640px}
.banner h2{font-family:var(--display); font-size:clamp(28px,5vw,54px); font-weight:900; letter-spacing:-.04em;
  text-transform:uppercase; line-height:.95; margin:0 0 16px}
.banner p{color:var(--muted); margin:0 0 26px; font-size:15.5px}

/* FAQ */
.faq{display:grid; gap:10px; max-width:860px}
.q{border:1px solid var(--line); border-radius:var(--r); background:var(--surface); overflow:hidden}
.q summary{padding:19px 22px; font-weight:700; font-size:15.5px; cursor:pointer; list-style:none;
  display:flex; justify-content:space-between; gap:16px; align-items:center}
.q summary::-webkit-details-marker{display:none}
.q summary::after{content:'+'; font-size:22px; color:var(--acid); transition:.3s; flex:none}
.q[open] summary::after{transform:rotate(45deg)}
.q p{padding:0 22px 20px; margin:0; color:var(--muted); font-size:14.5px}

/* ---------- футер ---------- */
.foot{border-top:1px solid var(--line); padding:60px 0 30px; margin-top:40px}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:34px; margin-bottom:40px}
.foot h4{font-family:var(--display); font-size:13px; text-transform:uppercase; letter-spacing:.1em;
  color:var(--dim); margin:0 0 14px}
.foot a{display:block; color:var(--muted); font-size:14px; padding:5px 0; transition:.2s}
.foot a:hover{color:var(--acid); transform:translateX(4px)}
.foot-bottom{border-top:1px solid var(--line); padding-top:22px; display:flex; justify-content:space-between;
  gap:14px; flex-wrap:wrap; color:var(--dim); font-size:12.5px}
.socials{display:flex; gap:9px; margin-top:16px}
.socials a{width:40px; height:40px; border-radius:12px; border:1px solid var(--line); display:grid;
  place-items:center; transition:.24s var(--ease)}
.socials a:hover{background:var(--acid); color:#000; transform:translateY(-3px); border-color:var(--acid)}
.socials svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}

/* ---------- шторки / модалки ---------- */
.veil{position:fixed; inset:0; background:rgba(4,4,6,.72); backdrop-filter:blur(5px); z-index:80;
  opacity:0; pointer-events:none; transition:.3s}
.veil.on{opacity:1; pointer-events:auto}

.drawer{position:fixed; top:0; right:0; bottom:0; width:min(440px,100%); background:var(--bg2); z-index:90;
  border-left:1px solid var(--line); transform:translateX(101%); transition:transform .42s var(--ease);
  display:flex; flex-direction:column}
.drawer.on{transform:none}
.drawer-head{display:flex; align-items:center; gap:12px; padding:18px 20px; border-bottom:1px solid var(--line); flex:none}
.drawer-head h3{font-family:var(--display); font-size:19px; margin:0; margin-right:auto; letter-spacing:-.02em}
.drawer-body{flex:1; overflow-y:auto; padding:18px 20px; overscroll-behavior:contain}
.drawer-foot{flex:none; padding:18px 20px calc(18px + env(safe-area-inset-bottom)); border-top:1px solid var(--line);
  background:var(--surface)}

.cart-item{display:grid; grid-template-columns:76px 1fr auto; gap:13px; padding:14px 0; border-bottom:1px solid var(--line);
  animation:fadeUp .35s var(--ease)}
@keyframes fadeUp{from{opacity:0; transform:translateY(10px)}}
.cart-item img{width:76px; height:94px; object-fit:cover; border-radius:12px; background:var(--surface)}
.ci-t{font-size:14px; font-weight:700; line-height:1.3; margin:0 0 4px}
.ci-m{font-size:12px; color:var(--dim); margin-bottom:9px}
.qty{display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:99px; overflow:hidden}
.qty button{width:32px; height:32px; display:grid; place-items:center; font-size:16px; color:var(--muted); transition:.2s}
.qty button:hover{background:rgba(255,255,255,.08); color:var(--acid)}
.qty span{min-width:26px; text-align:center; font-size:13.5px; font-weight:800}
.ci-r{text-align:right; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-end}
.ci-p{font-family:var(--display); font-weight:800; font-size:15px}
.rm{color:var(--dim); font-size:12px; transition:.2s}
.rm:hover{color:var(--hot)}

.free-bar{margin-bottom:14px}
.free-bar p{font-size:12.5px; color:var(--muted); margin:0 0 7px}
.free-bar .track{height:6px; border-radius:99px; background:rgba(255,255,255,.08); overflow:hidden}
.free-bar .fill{height:100%; background:linear-gradient(90deg,var(--acid-dim),var(--acid)); border-radius:99px;
  transition:width .5s var(--ease)}
.sum{display:flex; justify-content:space-between; font-size:14px; color:var(--muted); margin-bottom:7px}
.sum.total{color:var(--txt); font-size:19px; font-weight:800; font-family:var(--display); margin:12px 0 14px;
  padding-top:12px; border-top:1px solid var(--line)}
.cod-note{display:flex; gap:10px; align-items:center; padding:11px 13px; border-radius:13px;
  background:rgba(200,255,46,.07); border:1px solid rgba(200,255,46,.22); font-size:12.5px; color:var(--acid);
  margin-bottom:13px}
.cod-note svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8}
.btn-full{width:100%; height:56px}

/* модалка товара */
.modal{position:fixed; inset:0; z-index:95; display:grid; place-items:center; padding:20px;
  opacity:0; pointer-events:none; transition:.3s}
.modal.on{opacity:1; pointer-events:auto}
.modal-box{width:min(940px,100%); max-height:90svh; overflow:hidden; background:var(--bg2); border:1px solid var(--line);
  border-radius:var(--r-lg); display:grid; grid-template-columns:1fr 1fr; transform:translateY(24px) scale(.97);
  transition:.42s var(--ease)}
.modal.on .modal-box{transform:none}
.modal-close{position:absolute; top:16px; right:16px; z-index:5; width:42px; height:42px; border-radius:13px;
  background:rgba(10,10,12,.75); backdrop-filter:blur(8px); border:1px solid var(--line); display:grid; place-items:center}
.modal-close:hover{background:var(--hot); border-color:var(--hot)}
.modal-close svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.gal{position:relative; background:var(--surface); overflow:hidden}
.gal-main{aspect-ratio:4/5; height:100%}
.gal-main img{width:100%; height:100%; object-fit:cover}
.thumbs{position:absolute; bottom:14px; left:14px; display:flex; gap:8px}
.thumbs button{width:48px; height:58px; border-radius:10px; overflow:hidden; border:2px solid transparent; opacity:.6}
.thumbs button.on{border-color:var(--acid); opacity:1}
.thumbs img{width:100%; height:100%; object-fit:cover}
.modal-info{padding:30px 28px; overflow-y:auto; display:flex; flex-direction:column}
.modal-info h2{font-family:var(--display); font-size:26px; font-weight:800; letter-spacing:-.03em; margin:10px 0 12px; line-height:1.1}
.modal-info .desc{color:var(--muted); font-size:14px; margin:0 0 20px}
.opt-title{font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--dim);
  margin:0 0 9px; display:flex; justify-content:space-between}
.sizes{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px}
.size{min-width:52px; height:44px; padding:0 12px; border-radius:12px; border:1px solid var(--line);
  font-weight:700; font-size:13.5px; color:var(--muted); transition:.2s var(--ease)}
.size:hover{border-color:var(--line2); color:var(--txt)}
.size.on{background:var(--txt); color:#000; border-color:var(--txt)}
.colors{display:flex; gap:9px; margin-bottom:22px; flex-wrap:wrap}
.color{width:40px; height:40px; border-radius:50%; border:2px solid var(--line); position:relative; transition:.22s var(--ease)}
.color.on{border-color:var(--acid); transform:scale(1.1)}
.color i{position:absolute; inset:3px; border-radius:50%}
.modal-buy{margin-top:auto; display:flex; gap:10px; align-items:center; padding-top:16px}

/* оформление заказа */
.steps{display:flex; gap:6px; margin-bottom:18px}
.step{flex:1; height:4px; border-radius:99px; background:rgba(255,255,255,.1)}
.step.on{background:var(--acid)}
.field{margin-bottom:13px}
.field label{display:block; font-size:12px; font-weight:700; color:var(--dim); margin-bottom:6px;
  text-transform:uppercase; letter-spacing:.07em}
.field input,.field textarea,.field select{width:100%; height:50px; border-radius:14px; border:1px solid var(--line);
  background:var(--surface); padding:0 15px; font-size:15px; transition:.2s}
.field textarea{height:88px; padding:13px 15px; resize:vertical; font-family:inherit}
.field input:focus,.field textarea:focus{border-color:var(--acid); outline:none; background:var(--surface2)}
.field input.bad{border-color:var(--hot)}
.field .hint{font-size:11.5px; color:var(--dim); margin-top:5px}
.two{display:grid; grid-template-columns:1fr 1fr; gap:11px}
.radio-row{display:grid; gap:9px; margin-bottom:16px}
.radio{display:flex; gap:12px; align-items:center; padding:14px 16px; border:1px solid var(--line);
  border-radius:14px; cursor:pointer; transition:.22s}
.radio.on{border-color:var(--acid); background:rgba(200,255,46,.06)}
.radio .mark{width:20px; height:20px; border-radius:50%; border:2px solid var(--line2); flex:none; display:grid; place-items:center}
.radio.on .mark{border-color:var(--acid)}
.radio.on .mark::after{content:''; width:10px; height:10px; border-radius:50%; background:var(--acid)}
.radio b{display:block; font-size:14px}
.radio span{font-size:12px; color:var(--dim)}
.radio .rp{margin-left:auto; font-weight:800; font-size:14px}

.done{text-align:center; padding:20px 0}
.done-ico{width:88px; height:88px; border-radius:50%; background:rgba(57,217,138,.12); color:var(--ok);
  display:grid; place-items:center; margin:0 auto 22px; animation:pop .6s var(--ease)}
.done-ico svg{width:44px;height:44px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.done h3{font-family:var(--display); font-size:24px; margin:0 0 10px}
.done p{color:var(--muted); font-size:14.5px; margin:0 0 8px}
.done .num{font-family:var(--display); font-size:34px; font-weight:900; color:var(--acid); margin:14px 0}

/* тосты */
.toasts{position:fixed; z-index:120; left:50%; transform:translateX(-50%); bottom:calc(24px + env(safe-area-inset-bottom));
  display:flex; flex-direction:column; gap:9px; align-items:center; pointer-events:none; width:min(420px,calc(100% - 32px))}
.toast{background:var(--surface2); border:1px solid var(--line2); border-radius:15px; padding:13px 17px;
  font-size:14px; font-weight:600; display:flex; gap:11px; align-items:center; width:100%;
  box-shadow:0 20px 44px -18px #000; animation:toastIn .4s var(--ease)}
.toast.err{border-color:var(--hot); color:#ffb9a9}
.toast.ok{border-color:rgba(200,255,46,.4)}
.toast img{width:38px; height:46px; border-radius:8px; object-fit:cover}
@keyframes toastIn{from{opacity:0; transform:translateY(20px) scale(.94)}}

/* нижнее меню на телефоне */
.tabbar{display:none; position:fixed; z-index:70; left:0; right:0; bottom:0; border-top:1px solid var(--line);
  background:rgba(10,10,12,.94); backdrop-filter:blur(16px); padding-bottom:env(safe-area-inset-bottom)}
.tabbar-in{display:grid; grid-template-columns:repeat(4,1fr)}
.tab{display:flex; flex-direction:column; align-items:center; gap:3px; padding:9px 0 8px; font-size:10.5px;
  color:var(--dim); font-weight:700; position:relative; min-height:52px}
.tab svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tab.on{color:var(--acid)}
.tab .cnt{position:absolute; top:4px; right:calc(50% - 20px); min-width:17px; height:17px; border-radius:99px;
  background:var(--acid); color:#000; font-size:10px; font-weight:900; display:grid; place-items:center; padding:0 4px}

/* появление при скролле */
.rev{opacity:0; transform:translateY(26px); transition:.75s var(--ease)}
.rev.in{opacity:1; transform:none}

/* курсор (только десктоп) */
.cursor{position:fixed; z-index:200; width:9px; height:9px; border-radius:50%; background:var(--acid);
  pointer-events:none; transform:translate(-50%,-50%); mix-blend-mode:difference; display:none}
.cursor-r{position:fixed; z-index:199; width:34px; height:34px; border-radius:50%; border:1px solid rgba(200,255,46,.55);
  pointer-events:none; transform:translate(-50%,-50%); transition:width .25s,height .25s,background .25s; display:none}
.cursor-r.big{width:62px; height:62px; background:rgba(200,255,46,.12)}

#confetti{position:fixed; inset:0; z-index:150; pointer-events:none; display:none}

/* ---------- адаптив ---------- */
@media (max-width:1080px){
  .hero-grid{grid-template-columns:1fr; gap:26px}
  .hero-visual{max-width:460px; margin-inline:auto; width:100%}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:820px){
  :root{--head:58px}
  .nav{display:none}
  .burger{display:grid}
  .modal-box{grid-template-columns:1fr; max-height:92svh; overflow-y:auto}
  .gal-main{aspect-ratio:1/.86}
  .thumbs{bottom:10px; left:10px}
  .modal{padding:0; align-items:flex-end}
  .modal-box{border-radius:24px 24px 0 0; width:100%; transform:translateY(100%)}
  .modal.on .modal-box{transform:none}
  .modal-info{padding:22px 18px calc(22px + env(safe-area-inset-bottom))}
}
@media (max-width:720px){
  body{padding-bottom:62px}
  .tabbar{display:block}
  .head-act .cart-btn span.t{display:none}
  .cart-btn{padding:0 14px}
  .hero{min-height:auto; padding-bottom:20px}
  .hero h1{font-size:clamp(46px,15vw,88px)}
  .hero-cta .btn{flex:1; padding:0 18px}
  .grid{grid-template-columns:repeat(2,1fr); gap:11px}
  .card-body{padding:12px 12px 14px}
  .card h3{font-size:13.2px; min-height:2.6em}
  .price b{font-size:15px}
  .card-sizes{display:none}
  .quick{opacity:1; transform:none; height:42px; font-size:13px; left:8px; right:8px; bottom:8px}
  .fav{width:34px; height:34px}
  .drawer{width:100%; border-left:0; border-radius:0}
  .cats{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr; gap:22px}
  .sec-head{margin-bottom:22px}
  .select{margin-left:0; width:100%}
  .two{grid-template-columns:1fr}
  .hero-stats{gap:20px}
  .stat b{font-size:21px}
  .toasts{bottom:calc(70px + env(safe-area-inset-bottom))}
}
@media (max-width:340px){
  .grid{grid-template-columns:1fr}
  .card-sizes{display:flex}
}
@media (hover:none){
  .card:hover .card-img img.main{opacity:1; transform:none}
  .card:hover .card-img img.alt{opacity:0}
  .cursor,.cursor-r{display:none !important}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important}
  .rev{opacity:1; transform:none}
}

/* ==========================================================
   Лукбук: «разворачивающаяся» 3D-галерея с параллаксом.
   Порт присланного React-компонента (framer-motion) на чистый CSS+JS:
   те же кейфреймы — баннер 90vw/80vh/48px → 100vw/100vh/0,
   матрица rotateX 25→4, rotateY −45→−8, rotateZ 15→2, Z −800→0,
   колонки едут с разной скоростью. Плавность — пружинный lerp в rAF.
   ========================================================== */
.unfurl{padding:0; background:#050505}
.unfurl-track{position:relative; height:420vh}
.unfurl-sticky{position:sticky; top:0; height:100svh; width:100%; display:flex;
  align-items:center; justify-content:center; overflow:hidden}
.unfurl-banner{
  position:relative; width:90vw; height:80svh; max-width:1920px; background:#000; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  border:4px solid #2c2738; border-radius:48px; will-change:width,height,border-radius;
  backface-visibility:hidden;
}
.unfurl-stage{position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  pointer-events:none; perspective:1000px}
.vig{position:absolute; inset:0; z-index:20; pointer-events:none}
.vig-y{box-shadow:inset 0 100px 150px -50px #000, inset 0 -100px 150px -50px #000}
.vig-x{box-shadow:inset 150px 0 150px -50px #000, inset -150px 0 150px -50px #000}
.matrix{display:flex; gap:24px; align-items:center; justify-content:center;
  width:120vw; height:150vh; transform-style:preserve-3d; will-change:transform;
  backface-visibility:hidden; transform-origin:center}
.ucol{display:flex; flex-direction:column; gap:24px; width:22vw; min-width:200px;
  pointer-events:auto; will-change:transform}
.ucard{width:100%; height:400px; flex:none; background:#111; position:relative; overflow:hidden;
  cursor:pointer; transition:transform .3s var(--ease); backface-visibility:hidden}
.ucard img{width:100%; height:100%; object-fit:cover; opacity:.8; transition:opacity .3s}
@media (hover:hover){ .ucard:hover{transform:scale(1.02)} .ucard:hover img{opacity:1} }

.unfurl-copy{position:absolute; z-index:30; inset:auto 0 auto 0; text-align:center; padding:0 20px;
  pointer-events:none; transition:opacity .4s}
.unfurl-copy .eyebrow{justify-content:center; color:var(--acid)}
.unfurl-copy h2{font-family:var(--display); font-weight:900; letter-spacing:-.045em; text-transform:uppercase;
  font-size:clamp(34px,7vw,92px); line-height:.9; margin:0 0 14px;
  text-shadow:0 20px 60px rgba(0,0,0,.9)}
.unfurl-copy p{color:#cfcfd4; font-size:clamp(14px,1.5vw,17px); max-width:46ch; margin:0 auto;
  text-shadow:0 4px 24px #000}
.unfurl-hint{position:absolute; z-index:30; bottom:26px; left:0; right:0; text-align:center;
  font-size:11.5px; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.45);
  pointer-events:none; transition:opacity .4s}
.unfurl-hint i{display:block; width:1px; height:26px; margin:10px auto 0;
  background:linear-gradient(#c8ff2e,transparent)}

@media (max-width:820px){
  .unfurl-track{height:300vh}
  .matrix{gap:14px; width:150vw; height:140svh}
  .ucol{gap:14px; width:30vw; min-width:130px}
  .ucard{height:210px}
  .unfurl-banner{border-radius:32px; border-width:3px}
  .vig-x{box-shadow:inset 80px 0 90px -40px #000, inset -80px 0 90px -40px #000}
}
@media (prefers-reduced-motion:reduce){
  .unfurl-track{height:auto}
  .unfurl-sticky{position:static; height:auto; padding:60px 0}
  .unfurl-banner{width:100%; height:auto; border-radius:24px; padding:40px 20px}
  .unfurl-stage{position:static; perspective:none; pointer-events:auto}
  .matrix{display:grid; grid-template-columns:repeat(2,1fr); width:100%; height:auto; transform:none !important}
  .ucol{width:auto; min-width:0; transform:none !important}
  .ucard{height:240px}
  .vig{display:none}
  .unfurl-copy{position:static; margin-bottom:26px}
}
