/* Главная — визуал v2 (Саша, 11.11.2026: макет v3 «ставим»). Только внешний вид: тексты не меняются.
   Подключается последним в <head> index.html; откат — убрать <link> и home-v2.js. */
:root{--org:#ff5a1f;--org-h:#e84a12}

/* кнопки — оранжевые, как X в логотипе */
.btn{border-radius:12px}
.btn-acid{background:var(--org)!important;color:#fff!important;clip-path:none!important;box-shadow:0 10px 26px rgba(255,90,31,.32)}
.btn-acid:hover{background:var(--org-h)!important}
.btn-outline{border-radius:12px;border-width:1.5px}
.hero-cta .btn{padding:17px 26px}
.prod-add{background:var(--org)!important;color:#fff!important;border-radius:10px;width:40px!important;height:40px!important;clip-path:none!important;font-size:20px}
.cat .arr{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--org);color:#fff;margin-left:6px}
.feat-tag{background:var(--org)!important;color:#fff!important;clip-path:none!important;border-radius:6px}

/* разделы плотнее, заголовки в одну строку и меньше */
.section{padding:60px 0}
.section-h{margin-bottom:28px;align-items:flex-end}
.section-h h2{font-size:44px!important;line-height:1}

.section-h .right{font-size:14px}

/* первый экран: машина без рамки и белого фона, на подсветке */
.hero .chev-bg{opacity:.35}
.hero-visual{clip-path:none!important;background:transparent!important;overflow:visible}
.hero-visual::before{background:radial-gradient(closest-side,rgba(0,155,180,.30),transparent 72%)!important;inset:-8% -6% 0 -6%}
.hero-visual::after{content:'';background:radial-gradient(closest-side,rgba(0,0,0,.75),transparent)!important;inset:auto 12% 2% 12%;height:36px;filter:blur(6px)}
.hero-img{object-fit:contain!important;filter:drop-shadow(0 28px 36px rgba(0,0,0,.55))}
.hero-overlay{pointer-events:none}
.hero-badge{margin-left:0;border-radius:6px}
#heroFlagLabel{border-radius:6px}
.hero-title-plate{display:none}
.hero-spec-bar{grid-template-columns:auto repeat(4,1fr)!important;align-items:end}
.hsb-name{padding-right:10px}.hsb-name .v{font-size:20px!important;white-space:nowrap}
.hero-spec-bar{border-radius:16px;margin-top:14px;padding:16px 22px;background:rgba(19,20,26,.88)!important}

/* категории */
.cat{border-radius:18px;overflow:hidden}

/* машина недели */
.featured{border-radius:22px}
.featured-image{border-radius:0}
.featured-info h3{font-size:56px!important}
.feat-specs{border-top:0!important;gap:10px!important;grid-template-columns:repeat(3,1fr)!important}
.feat-specs .row{border:0!important;background:rgba(255,255,255,.04);border-radius:12px;padding:12px 14px!important;flex-direction:column-reverse!important;align-items:flex-start!important;gap:4px!important;display:flex!important}
.feat-specs .row .v{font-size:19px!important}

/* товары: одинаковые карточки, светлая подложка под фото, название в 2 строки */
.prod{border-radius:18px;overflow:hidden}
.prod-img{background:linear-gradient(180deg,#eceff3,#dbe0e6)!important}
.prod-img img{mix-blend-mode:multiply}
.prod-fav{border-radius:50%!important;background:#fff!important;color:#333!important}
.prod-name{font-size:15.5px!important;font-weight:700!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}
.prod-price{color:var(--ink)!important}

/* почему extreme */
.feat-card{border-radius:18px}

/* едем вместе: крупная дата и затемнение снизу */
.life-card{border-radius:18px}
.life-card::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 30%,rgba(0,0,0,.85));z-index:1;pointer-events:none}
.life-info,.life-meta{z-index:2}
/* тип события — справа сверху, дата — плашкой слева */
.life-card .life-meta{top:22px!important;left:auto!important;right:18px;color:#fff!important;background:rgba(11,12,16,.6);padding:5px 9px;border-radius:6px;font-weight:700!important}
.life-date{position:absolute;left:18px;top:18px;z-index:3;background:rgba(11,12,16,.78);backdrop-filter:blur(6px);border-radius:12px;padding:8px 12px;text-align:center;line-height:1;color:#fff}
.life-date b{display:block;font-family:var(--font-display,"Archivo Black"),sans-serif;font-size:24px}
.life-date span{font:600 10.5px/1 var(--font-mono,monospace);text-transform:uppercase;letter-spacing:.12em;opacity:.75}

/* заявка */
.cta .cta-form,.cta-form{border-radius:22px}
.cta-form input,.cta-form textarea,.cta-form select{border-radius:12px}

/* баннер cookies не залезает под нижнее меню на телефоне */
@media(max-width:720px){
  #ckBar{bottom:calc(84px + env(safe-area-inset-bottom))!important;font-size:11.5px!important;line-height:1.4!important}
  .section{padding:40px 0}
  .section-h h2{font-size:30px!important}
  .featured-info h3{font-size:34px!important}
  .feat-specs{grid-template-columns:repeat(2,1fr)!important}
  .hero-spec-bar{padding:12px 14px;grid-template-columns:repeat(2,1fr)!important}.hsb-name{grid-column:1/-1}
}

/* светлая тема */
[data-theme="light"] .hero-visual::before{background:radial-gradient(closest-side,rgba(0,155,180,.16),transparent 72%)!important}
[data-theme="light"] .hero-visual::after{background:radial-gradient(closest-side,rgba(0,0,0,.25),transparent)!important}
[data-theme="light"] .hero-img{filter:drop-shadow(0 24px 30px rgba(0,0,0,.22))}
[data-theme="light"] .hero-spec-bar{background:rgba(255,255,255,.94)!important;box-shadow:0 10px 30px rgba(20,30,40,.08)}
[data-theme="light"] .feat-specs .row{background:#f1f3f6}
[data-theme="light"] .featured-image::before{background:radial-gradient(circle at 50% 60%,#e3eef1,#f6f8f9 70%)!important}
[data-theme="light"] .featured-image .grid-lines{opacity:.4}
[data-theme="light"] #featImg{filter:drop-shadow(0 20px 24px rgba(0,0,0,.22))!important}
[data-theme="light"] .life-date{background:rgba(255,255,255,.92);color:#121418}
[data-theme="light"] .prod,[data-theme="light"] .feat-card{box-shadow:0 6px 20px rgba(20,30,40,.05)}

/* доработки после проверки */
.hero-tag{border-radius:999px;padding:8px 14px}
.hero-spec-bar{grid-template-columns:repeat(5,auto)!important;justify-content:space-between;gap:20px!important}
.hsb-item .v{white-space:nowrap}
#ckBar .ok{background:var(--org)!important;border-color:var(--org)!important}
#ckBar{border-radius:14px}
.chat-toggle{background:var(--org)!important;box-shadow:0 10px 30px rgba(255,90,31,.45)!important}
.c-pulse{box-shadow:0 0 0 0 rgba(255,90,31,.5)!important;animation-name:cpulse2!important}
@keyframes cpulse2{0%{box-shadow:0 0 0 0 rgba(255,90,31,.5)}70%{box-shadow:0 0 0 16px rgba(255,90,31,0)}100%{box-shadow:0 0 0 0 rgba(255,90,31,0)}}
.cta{padding:60px 0}
.cta .container{position:relative}
.cta-grid{background:var(--bg-card);border:1px solid var(--line);border-radius:22px;padding:40px}
.cta-l h2{font-size:48px!important;line-height:1}
.cta-form{border:0!important;padding:0!important;background:transparent!important}
@media(max-width:720px){
  .hero-spec-bar{grid-template-columns:repeat(2,1fr)!important}
  .cta-grid{padding:22px}
  .cta-l h2{font-size:32px!important}
}
@media(max-width:720px){body:has(#ckBar) .chat-fab{display:none!important}#ckBar p{font-size:11.5px!important}}

/* ── «Газ» на главной (12.11.2026): как в каталоге ── */
.gasbox{perspective:800px}
.gasbox > img,.gasbox #heroImg{transform:rotateY(var(--ry,0deg)) rotateX(var(--rx,0deg));transition:transform .25s ease-out}
.prod:hover .gasbox > img,.featured:hover .gasbox > img,#heroVisual.gasbox:hover #heroImg,.gasbox.play > img,.gasbox.play #heroImg{animation:hgas .9s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes hgas{0%{translate:0 0;rotate:0deg;scale:1}25%{translate:-14px 0;rotate:-2.5deg;scale:1.04}55%{translate:10px 0;rotate:1deg;scale:1.09}100%{translate:0 0;rotate:0deg;scale:1.06}}
.gas-spot{position:absolute;inset:0;z-index:1;opacity:0;transition:opacity .4s;pointer-events:none;background:radial-gradient(200px circle at var(--mx,50%) var(--my,50%),rgba(0,155,180,.28),transparent 70%)}
.gasbox:hover .gas-spot{opacity:1}
.gas-dust{position:absolute;left:8%;bottom:10%;width:110px;height:54px;z-index:3;opacity:0;pointer-events:none;filter:blur(6px);
  background:radial-gradient(closest-side at 70% 70%,rgba(150,130,105,.55),transparent),radial-gradient(closest-side at 35% 55%,rgba(170,150,125,.45),transparent),radial-gradient(closest-side at 15% 80%,rgba(160,140,115,.35),transparent)}
.prod:hover .gas-dust,.featured:hover .gas-dust,#heroVisual:hover .gas-dust,.gasbox.play .gas-dust{animation:hdust 1.1s ease-out forwards}
@keyframes hdust{0%{opacity:0;transform:translateX(30px) scale(.4)}30%{opacity:1}100%{opacity:0;transform:translateX(-50px) scale(1.6)}}
.gas-lines{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;
  background:linear-gradient(90deg,transparent,rgba(0,155,180,.55) 50%,transparent) 0 38%/70px 2px no-repeat,linear-gradient(90deg,transparent,rgba(0,155,180,.45) 50%,transparent) 0 56%/110px 2px no-repeat,linear-gradient(90deg,transparent,rgba(255,90,31,.55) 50%,transparent) 0 70%/60px 2px no-repeat}
.prod:hover .gas-lines,.featured:hover .gas-lines,#heroVisual:hover .gas-lines,.gasbox.play .gas-lines{animation:hlines .7s ease-out}
@keyframes hlines{0%{opacity:0;background-position:110% 38%,120% 56%,105% 70%}30%{opacity:1}100%{opacity:0;background-position:-20% 38%,-30% 56%,-15% 70%}}
.prod:hover .prod-name{color:var(--org)}
@media (prefers-reduced-motion:reduce){.gas-dust,.gas-lines{display:none}.gasbox > img,.gasbox #heroImg{animation:none!important}}
