/* ============================================================
   Tehno Mi — дизайн v2
   Референс: чистый премиум-минимализм (Veluno) + оранжевый бренд.
   Rubik — заголовки и кнопки, Nunito Sans — текст.
   ============================================================ */

:root{
  --orange:#F0620C;
  --orange-dark:#D8560A;
  --orange-soft:#FFF1E8;
  --ink:#101112;
  --ink-2:#55585C;
  --ink-3:#9A9EA3;
  --bg:#FFFFFF;
  --tile:#F2F3F5;          /* серые фото-плитки как в референсе */
  --tile-2:#F7F8F9;
  --line:#ECEDEF;
  --green:#13A457;
  --red:#E23D32;
  --dark:#121316;
  --r-lg:26px;
  --r-md:18px;
  --shadow-hov:0 18px 44px -18px rgba(16,17,18,.22);
  --head:"Rubik",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --body:"Nunito Sans",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--body);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,.logo,.btn{font-family:var(--head)}
.wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.hidden{display:none!important}
:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:6px}

/* ---------- Топбар ---------- */
.topbar{background:var(--dark);color:#A7ABB1;font-size:12.5px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:12px}
.topbar a{color:#fff;font-weight:600}
.topbar .phones{display:flex;gap:16px;white-space:nowrap;overflow:hidden;align-items:center}
.topbar .phones span{display:inline-flex;align-items:center;gap:7px}
.topbar .phones svg{flex:0 0 auto;display:block}

/* ---------- Шапка: закреплена при прокрутке ---------- */
header.site{
  position:sticky;top:0;z-index:80;background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  transition:box-shadow .25s;
}
header.site.scrolled{box-shadow:0 8px 30px -16px rgba(16,17,18,.25)}
header.site .wrap{display:flex;align-items:center;gap:20px;min-height:72px}
.logo{font-weight:800;font-size:26px;color:var(--orange);letter-spacing:-.02em;white-space:nowrap}
.logo:hover{color:var(--orange-dark)}

nav.main{display:flex;gap:2px}
nav.main a{
  padding:9px 14px;border-radius:999px;font-family:var(--head);
  font-weight:600;font-size:14.5px;color:var(--ink-2);transition:.18s;
}
nav.main a:hover{background:var(--tile);color:var(--ink)}
nav.main a.active{color:var(--orange)}

.head-search{flex:1;max-width:430px;margin-left:auto;position:relative}
.head-search input{
  width:100%;min-width:0;border:0;border-radius:999px;
  padding:12px 46px 12px 20px;background:var(--tile);outline:none;font-size:14.5px;
  transition:box-shadow .18s,background .18s;
}
.head-search input:focus{background:#fff;box-shadow:0 0 0 2px var(--orange)}
.head-search .go{position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--ink-3)}
.head-search .go:hover{color:var(--orange)}

.head-actions{display:flex;align-items:center;gap:6px}
.icon-btn{
  position:relative;width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;color:var(--ink);background:var(--tile);transition:.18s;
}
.icon-btn:hover{background:var(--orange-soft);color:var(--orange)}
.icon-btn .badge{
  position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 4px;
  border-radius:9px;background:var(--orange);color:#fff;font-size:10.5px;font-weight:800;
  display:grid;place-items:center;line-height:1;border:2px solid #fff;
}
.lang-switch{display:flex;background:var(--tile);border-radius:999px;padding:3px}
.lang-switch button{padding:6px 11px;font-size:11.5px;font-weight:800;color:var(--ink-3);border-radius:999px;font-family:var(--head)}
.lang-switch button.on{background:var(--orange);color:#fff}

.burger{display:none}

/* мобильное меню */
.m-drawer{position:fixed;inset:0;z-index:100;background:rgba(16,17,18,.5);opacity:0;pointer-events:none;transition:opacity .2s}
.m-drawer.open{opacity:1;pointer-events:auto}
.m-drawer .panel{
  position:absolute;top:0;left:0;bottom:0;width:300px;max-width:86vw;background:#fff;
  padding:22px;transform:translateX(-100%);transition:transform .24s;display:flex;flex-direction:column;gap:4px;
  border-radius:0 24px 24px 0;
}
.m-drawer.open .panel{transform:none}
.m-drawer .panel a{padding:13px 12px;border-radius:12px;font-weight:700;font-family:var(--head)}
.m-drawer .panel a:active{background:var(--tile)}
.m-drawer .close{align-self:flex-end;font-size:26px;color:var(--ink-3);padding:4px 10px}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;border-radius:999px;font-weight:600;font-size:15px;
  transition:transform .18s,background .18s,color .18s,box-shadow .18s;
}
.btn:active{transform:scale(.97)}
.btn-orange{background:var(--orange);color:#fff}
.btn-orange:hover{background:var(--orange-dark);box-shadow:0 10px 24px -10px rgba(240,98,12,.55)}
.btn-dark{background:var(--dark);color:#fff}
.btn-dark:hover{background:#000}
.btn-ghost{box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink)}
.btn-ghost:hover{box-shadow:inset 0 0 0 1.5px var(--orange);color:var(--orange)}
.btn-lg{padding:16px 32px;font-size:16px}
.btn-sm{padding:9px 18px;font-size:13.5px}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.btn-block{width:100%}

/* ---------- Герой ---------- */
.hero{margin:22px 0 10px}
.carousel{position:relative;overflow:hidden;border-radius:var(--r-lg)}
.carousel .track{display:flex;transition:transform .5s cubic-bezier(.3,.7,.3,1)}
.carousel .slide{min-width:100%}
.hero .slide{
  display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:24px;
  min-height:380px;padding:48px 64px;
  background:linear-gradient(115deg,#F4F5F7 0%,#ECEEF1 60%,#E7EAEE 100%);
}
.hero .slide.alt1{background:linear-gradient(115deg,#141519 0%,#1D1F24 55%,#2E2013 100%);color:#fff}
.hero .slide.alt2{background:linear-gradient(115deg,#FFF1E8 0%,#FFE3CF 60%,#FCD4B7 100%)}
.hero .kicker{
  display:inline-block;background:#fff;color:var(--orange);font-family:var(--head);
  font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  padding:7px 14px;border-radius:999px;margin-bottom:16px;box-shadow:0 4px 14px -6px rgba(16,17,18,.15);
}
.hero .slide.alt1 .kicker{background:rgba(255,255,255,.1);color:#FFB27A}
.hero h1,.hero .h1{
  font-size:clamp(28px,3.8vw,50px);line-height:1.06;font-weight:700;
  letter-spacing:-.03em;margin:0 0 14px;text-wrap:balance;
}
.hero .sub{color:var(--ink-2);max-width:46ch;margin:0 0 26px;font-size:16px}
.hero .slide.alt1 .sub{color:#A7ABB1}
.hero .pic{display:grid;place-items:center;min-height:240px}
.hero .pic img{max-height:300px;width:auto;mix-blend-mode:multiply;transition:transform .5s}
.hero .slide.alt1 .pic img{mix-blend-mode:normal;border-radius:20px}
.hero .slide:hover .pic img{transform:scale(1.04)}
.hero .off{
  position:absolute;top:30px;right:34px;width:92px;height:92px;border-radius:50%;
  background:var(--orange);color:#fff;display:grid;place-items:center;text-align:center;
  font-family:var(--head);font-weight:700;font-size:11.5px;line-height:1.15;transform:rotate(8deg);
  box-shadow:0 12px 30px -10px rgba(240,98,12,.6);
}
.hero .off b{font-size:24px;display:block}

.carousel .dots{position:absolute;bottom:18px;left:0;right:0;display:flex;justify-content:center;gap:7px}
.carousel .dots button{width:8px;height:8px;border-radius:50%;background:rgba(16,17,18,.22);padding:0;transition:.2s}
.carousel .dots button.on{background:var(--orange);width:26px;border-radius:5px}
.carousel .arr{
  position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;
  background:#fff;box-shadow:0 8px 24px -8px rgba(16,17,18,.3);display:grid;place-items:center;
  color:var(--ink-2);z-index:2;transition:.18s;
}
.carousel .arr:hover{color:var(--orange);transform:translateY(-50%) scale(1.07)}
.carousel .arr.prev{left:16px}.carousel .arr.next{right:16px}

/* ---------- Полоса доверия ---------- */
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0 8px}
.trust .t{
  display:flex;align-items:center;gap:13px;background:var(--tile-2);
  border-radius:var(--r-md);padding:16px 18px;font-size:13px;line-height:1.35;transition:.2s;
}
.trust .t:hover{background:var(--orange-soft)}
.trust .t svg{flex:0 0 auto;color:var(--orange)}
.trust b{display:block;font-family:var(--head);font-weight:600;font-size:14px}

/* ---------- бегущая строка брендов ---------- */
.ticker{overflow:hidden;border-block:1px solid var(--line);margin:30px 0;padding:14px 0}
.ticker .row{display:flex;gap:56px;width:max-content;animation:tick 26s linear infinite}
.ticker span{font-family:var(--head);font-weight:700;font-size:15px;color:var(--ink-3);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
@keyframes tick{to{transform:translateX(-50%)}}

/* ---------- Секции ---------- */
section.block{margin:44px 0}
.sec-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}
.sec-head h2{font-size:clamp(22px,2.8vw,34px);font-weight:700;letter-spacing:-.025em;margin:0}
.sec-head .all{
  font-family:var(--head);color:var(--ink);font-weight:600;font-size:13.5px;white-space:nowrap;
  padding:9px 18px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--line);transition:.18s;
}
.sec-head .all:hover{box-shadow:inset 0 0 0 1.5px var(--orange);color:var(--orange)}

/* появление при прокрутке */
.rv{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
.rv.on{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .rv{opacity:1;transform:none;transition:none}
  .ticker .row{animation:none}
  *{transition-duration:.01ms!important}
}

/* ---------- категории кружками: один ряд, стрелка листает ---------- */
.cats-wrap{position:relative}
.cats{display:flex;gap:20px;overflow-x:auto;scroll-behavior:smooth;
  scrollbar-width:none;-ms-overflow-style:none;padding:6px 2px 10px}
.cats::-webkit-scrollbar{display:none}
.cats .cat{flex:0 0 auto;width:126px}
.row-arr{
  position:absolute;top:52px;width:46px;height:46px;border-radius:50%;
  background:#fff;box-shadow:0 8px 26px -8px rgba(16,17,18,.35);display:grid;place-items:center;
  color:var(--ink);z-index:3;transition:opacity .18s,transform .18s;
}
.row-arr:hover{color:var(--orange);transform:scale(1.07)}
.row-arr.prev{left:-8px}
.row-arr.next{right:-8px}
.row-arr.off{opacity:0;pointer-events:none;visibility:hidden}
.cat{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;
  font-family:var(--head);font-weight:600;font-size:14px;color:var(--ink)}
.cat .ball{
  width:122px;height:122px;border-radius:50%;background:var(--tile);
  display:grid;place-items:center;overflow:hidden;transition:transform .25s,box-shadow .25s;
}
.cat .ball img{width:78%;height:78%;object-fit:contain;mix-blend-mode:multiply;transition:transform .25s}
.cat .ball svg{width:46px;height:46px;color:var(--ink-3)}
.cat:hover .ball{transform:translateY(-5px);box-shadow:var(--shadow-hov)}
.cat:hover .ball img{transform:scale(1.08)}

/* ---------- тёмный баннер ---------- */
.deals{border-radius:var(--r-lg);overflow:hidden}
.deals .slide{
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:26px;
  background:radial-gradient(120% 200% at 90% 10%,#3A2413 0%,#17181C 45%,#101113 100%);
  color:#fff;min-height:210px;padding:36px 52px;
}
.deals .kicker{color:#FFB27A;font-family:var(--head);font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px}
.deals .h{font-family:var(--head);font-size:clamp(21px,2.8vw,34px);font-weight:700;margin:0 0 18px;letter-spacing:-.02em}
.deals .h span{color:var(--orange)}
.deals .strip{display:flex;gap:16px;align-items:center}
.deals .strip img{height:120px;width:120px;object-fit:contain;background:#fff;border-radius:20px;padding:10px}
.deals .roundoff{
  width:96px;height:96px;border-radius:50%;background:var(--orange);color:#fff;
  display:grid;place-items:center;text-align:center;font-family:var(--head);font-weight:700;font-size:11px;line-height:1.1;
}
.deals .roundoff b{font-size:26px;display:block}

/* ---------- Карточка товара ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:18px}
.pcard{
  background:#fff;border-radius:var(--r-lg);padding:10px 14px 16px;
  display:flex;flex-direction:column;gap:9px;position:relative;
  transition:transform .22s,box-shadow .22s;
}
.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-hov)}
.pcard .ph{
  background:var(--tile);border-radius:var(--r-md);height:200px;
  display:grid;place-items:center;overflow:hidden;
}
.pcard .ph img{max-height:82%;max-width:82%;object-fit:contain;mix-blend-mode:multiply;transition:transform .3s}
.pcard:hover .ph img{transform:scale(1.06)}
.pcard .flags{position:absolute;top:20px;left:24px;display:flex;flex-direction:column;gap:5px;z-index:2}
.flag{font-family:var(--head);font-size:10.5px;font-weight:700;letter-spacing:.05em;padding:4px 10px;border-radius:999px;color:#fff;width:max-content}
.flag.new{background:var(--green)}
.flag.sale{background:var(--red)}
.flag.hit{background:var(--dark)}
.pcard .nm{font-weight:700;font-size:14px;line-height:1.4;min-height:39px;color:var(--ink)}
.pcard .stock{font-size:12px;font-weight:700}
.stock.in{color:var(--green)}
.stock.out{color:var(--ink-3)}
.pcard .prices{display:flex;align-items:baseline;gap:9px;margin-top:auto}
.pcard .price{font-family:var(--head);font-weight:700;font-size:18px}
.pcard .old{color:var(--ink-3);text-decoration:line-through;font-size:13px}
.pcard .buy{margin-top:4px;z-index:2;position:relative}
.pcard .buy .btn{width:100%}
.pcard a.cover{position:absolute;inset:0;z-index:1;border-radius:var(--r-lg)}

/* ---------- Каталог: категории кружками ---------- */
.balls-wrap{position:relative}
.balls-wrap .row-arr{top:44px}
.cat-balls{display:flex;gap:18px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:8px 2px 12px;margin:6px 0 6px}
.cat-balls::-webkit-scrollbar{display:none}
.cat-balls .cat{flex:0 0 auto;width:112px}
.cat-balls .ball{width:104px;height:104px}
.cat-balls .cat.on .ball{box-shadow:0 0 0 3px var(--orange)}
.cat-balls .cat.on{color:var(--orange)}

/* свой выпадающий список сортировки */
.sort{position:relative;margin-left:auto}
.sort-btn{
  display:inline-flex;align-items:center;gap:8px;background:var(--tile);border-radius:999px;
  padding:10px 18px;font-family:var(--head);font-weight:600;font-size:13.5px;transition:.15s;
}
.sort-btn:hover{background:var(--orange-soft);color:var(--orange)}
.sort-btn svg{transition:transform .18s}
.sort.open .sort-btn svg{transform:rotate(180deg)}
.sort-menu{
  position:absolute;right:0;top:calc(100% + 8px);z-index:40;background:#fff;border-radius:18px;
  box-shadow:0 6px 16px rgba(16,17,18,.08),0 24px 60px -20px rgba(16,17,18,.3);
  padding:8px;min-width:220px;display:none;
}
.sort.open .sort-menu{display:block}
.sort-menu button{
  display:flex;width:100%;text-align:left;padding:11px 14px;border-radius:12px;
  font-family:var(--head);font-weight:600;font-size:13.5px;color:var(--ink-2);transition:.12s;
}
.sort-menu button:hover{background:var(--orange-soft);color:var(--orange)}
.sort-menu button.on{background:var(--tile);color:var(--ink)}

/* ---------- Каталог ---------- */
.page-title{font-size:clamp(26px,3.4vw,42px);font-weight:700;letter-spacing:-.03em;margin:26px 0 8px}
.crumbs{font-size:13px;color:var(--ink-3);margin-top:20px}
.crumbs a:hover{color:var(--orange)}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px;align-items:center}
.chip{
  padding:9px 18px;border-radius:999px;font-family:var(--head);
  font-weight:600;font-size:13.5px;color:var(--ink-2);background:var(--tile);transition:.18s;
}
.chip:hover{background:var(--orange-soft);color:var(--orange)}
.chip.on{background:var(--dark);color:#fff}
.filters select{
  margin-left:auto;border:0;background:var(--tile);border-radius:999px;padding:10px 16px;
  font-family:var(--head);font-size:13.5px;font-weight:600;outline:none;
}
.count-note{color:var(--ink-3);font-size:13.5px;margin:-10px 0 16px}

/* ---------- Страница товара ---------- */
.product{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin:28px 0 44px;align-items:start}
.product .gal{
  background:var(--tile);border-radius:var(--r-lg);min-height:460px;
  display:grid;place-items:center;padding:36px;position:sticky;top:96px;
}
.product .gal img{max-height:430px;object-fit:contain;mix-blend-mode:multiply}
.product h1{font-size:clamp(22px,2.8vw,34px);font-weight:700;letter-spacing:-.025em;margin:0 0 12px;line-height:1.18}
.product .stockline{margin:0 0 18px}
.product .priceline{display:flex;align-items:baseline;gap:14px;margin:0 0 24px}
.product .priceline .price{font-family:var(--head);font-size:36px;font-weight:700}
.product .priceline .old{color:var(--ink-3);text-decoration:line-through;font-size:18px}
.product .actions{display:flex;gap:10px;margin-bottom:26px;flex-wrap:wrap}
.spec{border-top:1px solid var(--line)}
.spec .row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.spec .row span:first-child{color:var(--ink-3)}
.assure{display:grid;gap:10px;margin:22px 0;background:var(--tile-2);border-radius:var(--r-md);padding:18px 20px}
.assure .a{display:flex;gap:11px;align-items:center;font-size:14px;color:var(--ink-2)}
.assure svg{color:var(--orange);flex:0 0 auto}

/* ---------- Опт ---------- */
.opt-hero{
  background:radial-gradient(120% 220% at 85% 0%,#3A2413 0%,#17181C 50%,#101113 100%);
  color:#fff;border-radius:var(--r-lg);padding:40px 48px;margin:24px 0;
}
.opt-hero h1{margin:0 0 10px;font-size:clamp(24px,3.2vw,38px);font-weight:700;letter-spacing:-.02em}
.opt-hero p{color:#A7ABB1;max-width:66ch;margin:0;font-size:15.5px}
.opt-note{
  background:var(--orange-soft);border-radius:var(--r-md);
  padding:15px 20px;font-size:14px;font-weight:600;margin:18px 0;color:#8A3E0A;
}
.opt-table{border-radius:var(--r-lg);overflow:hidden;background:var(--tile-2)}
.opt-row{
  display:grid;grid-template-columns:68px minmax(0,1.4fr) auto auto auto;
  gap:16px;align-items:center;padding:14px 20px;border-bottom:1px solid #fff;
  background:var(--tile-2);transition:background .15s;
}
.opt-row:hover{background:#fff}
.opt-row:last-child{border-bottom:0}
.opt-row .ph{width:68px;height:68px;background:#fff;border-radius:14px;display:grid;place-items:center;overflow:hidden}
.opt-row .ph img{max-width:82%;max-height:82%;object-fit:contain}
.opt-row .nm{font-weight:700;font-size:14.5px;line-height:1.35}
.opt-row .meta{font-size:12.5px;color:var(--ink-3);margin-top:2px}
.opt-row .retail{font-size:13px;color:var(--ink-2);white-space:nowrap}
.opt-row .retail b{font-family:var(--head);font-size:15px;color:var(--ink)}
.opt-row .dog{font-family:var(--head);font-weight:700;color:var(--orange);white-space:nowrap;font-size:14px}
.qty{display:flex;align-items:center;background:#fff;border-radius:999px;overflow:hidden;box-shadow:inset 0 0 0 1.5px var(--line)}
.qty button{width:36px;height:38px;font-size:17px;font-weight:700;color:var(--ink-2)}
.qty button:hover{color:var(--orange)}
.qty input{width:42px;text-align:center;border:0;outline:none;font-weight:800;font-size:14px;background:transparent;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.opt-row .add{white-space:nowrap}
.opt-row.out{opacity:.5}
.opt-row.out .add{display:none}

.opt-cart{
  position:fixed;right:20px;bottom:20px;z-index:60;background:var(--dark);color:#fff;
  border-radius:999px;padding:12px 12px 12px 24px;box-shadow:0 16px 44px rgba(0,0,0,.4);
  display:flex;align-items:center;gap:16px;
}
.opt-cart b{color:var(--orange)}

/* ---------- Корзина ---------- */
.cart-list{border-radius:var(--r-lg);overflow:hidden;background:var(--tile-2);margin-bottom:18px}
.cart-row{
  display:grid;grid-template-columns:76px minmax(0,1fr) auto auto 34px;gap:16px;align-items:center;
  padding:15px 20px;border-bottom:1px solid #fff;
}
.cart-row:last-child{border-bottom:0}
.cart-row .ph{width:76px;height:76px;background:#fff;border-radius:14px;display:grid;place-items:center;overflow:hidden}
.cart-row .ph img{max-width:82%;max-height:82%;object-fit:contain}
.cart-row .nm{font-weight:700;font-size:14.5px}
.cart-row .sum{font-family:var(--head);font-weight:700;white-space:nowrap}
.cart-row .del{color:var(--ink-3);font-size:20px;transition:.15s}
.cart-row .del:hover{color:var(--red)}
.totals{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  background:var(--dark);color:#fff;border-radius:var(--r-lg);
  padding:20px 26px;margin-bottom:24px;flex-wrap:wrap;
}
.totals .t{font-size:15px;color:#A7ABB1}
.totals .v{font-family:var(--head);font-size:28px;font-weight:700}
.empty{text-align:center;padding:70px 20px;color:var(--ink-3)}
.empty .big{font-size:46px;margin-bottom:10px}

/* ---------- Формы ---------- */
.form-card{
  max-width:530px;background:#fff;border-radius:var(--r-lg);
  padding:30px;box-shadow:0 2px 8px rgba(16,17,18,.05),0 20px 50px -24px rgba(16,17,18,.18);
}
.form-card.center{margin:46px auto}
.f-row{margin-bottom:15px}
.f-row label{display:block;font-family:var(--head);font-weight:600;font-size:13px;margin-bottom:7px;color:var(--ink-2)}
.f-row input,.f-row select,.f-row textarea{
  width:100%;border:0;background:var(--tile);border-radius:14px;padding:13px 16px;
  outline:none;font-size:15px;transition:box-shadow .18s,background .18s;
}
.f-row input:focus,.f-row select:focus,.f-row textarea:focus{background:#fff;box-shadow:0 0 0 2px var(--orange)}
.f-row .hint{font-size:12px;color:var(--ink-3);margin-top:6px}
.phone-line{display:flex;gap:8px}
.phone-line .cc{
  flex:0 0 auto;display:flex;align-items:center;padding:0 15px;background:var(--dark);color:#fff;
  border-radius:14px;font-family:var(--head);font-weight:700;
}
.payline{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.payline label{
  background:var(--tile);border-radius:14px;padding:14px;display:flex;gap:10px;align-items:center;
  cursor:pointer;font-weight:700;font-size:14px;margin:0;color:var(--ink);transition:.15s;
}
.payline input{width:auto;accent-color:var(--orange)}
.payline label:has(input:checked){background:var(--orange-soft);box-shadow:inset 0 0 0 2px var(--orange)}
.form-err{color:var(--red);font-size:13.5px;margin:8px 0 0;min-height:18px;font-weight:600}

.done{
  max-width:560px;margin:56px auto;text-align:center;padding:46px 30px;
  border-radius:var(--r-lg);box-shadow:0 2px 8px rgba(16,17,18,.05),0 24px 60px -28px rgba(16,17,18,.2);
}
.done .ok{
  width:80px;height:80px;border-radius:50%;background:var(--green);color:#fff;
  display:grid;place-items:center;margin:0 auto 18px;font-size:36px;
}
.done h1{margin:0 0 8px;font-size:26px;font-weight:700}
.done p{color:var(--ink-2)}
.done .num{font-family:var(--head);font-weight:700;color:var(--ink)}

/* ---------- Контакты ---------- */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;margin:26px 0 44px}
.c-card{background:var(--tile-2);border-radius:var(--r-lg);padding:28px}
.c-card h3{margin:0 0 14px;font-size:18px;font-weight:700}
.c-card .line{display:flex;gap:12px;align-items:flex-start;padding:10px 0;font-size:14.5px;color:var(--ink-2)}
.c-card .line svg{color:var(--orange);flex:0 0 auto;margin-top:2px}
.c-card .line b{color:var(--ink)}

/* ---------- Подвал ---------- */
footer.site{background:var(--dark);color:#A7ABB1;margin-top:60px;border-radius:32px 32px 0 0}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px;padding:48px 0 30px}
footer.site h4{color:#fff;font-size:13px;margin:0 0 14px;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
footer.site a{display:block;padding:5px 0;font-size:13.5px;transition:.15s}
footer.site a.igbtn{
  display:inline-flex;align-items:center;gap:9px;background:#1D1F24;color:#fff;
  border-radius:999px;padding:10px 18px;font-family:var(--head);font-weight:600;margin-top:4px;
}
footer.site a.igbtn:hover{background:var(--orange)}
footer.site .fcol a{display:flex;align-items:center;gap:8px}
footer.site .fcol svg{flex:0 0 auto}
footer.site a:hover{color:#fff}
footer.site .flogo{font-family:var(--head);font-weight:800;font-size:24px;color:var(--orange);margin-bottom:12px}
footer.site .fine{border-top:1px solid #23252A;padding:18px 0;font-size:12.5px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* ---------- Тосты ---------- */
.toast{
  position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);z-index:120;
  background:var(--dark);color:#fff;padding:13px 24px;border-radius:999px;font-family:var(--head);
  font-size:14px;font-weight:600;opacity:0;pointer-events:none;transition:.25s;
  box-shadow:0 14px 40px rgba(0,0,0,.35);max-width:90vw;text-align:center;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- Адаптив ---------- */
@media (max-width:1000px){
  nav.main{display:none}
  .burger{display:grid}
  header.site .wrap{flex-wrap:wrap;padding-bottom:12px;gap:10px;min-height:64px}
  header.site .wrap>*{min-width:0}
  .head-search{order:10;flex-basis:100%;max-width:none;margin-left:0}
  .head-actions{margin-left:auto}
  .hero .slide{grid-template-columns:1fr;min-height:0;padding:28px 24px 52px;text-align:left}
  .hero .pic{order:-1;min-height:160px}
  .hero .pic img{max-height:185px}
  .hero .off{top:16px;right:16px;width:72px;height:72px;font-size:10px}
  .hero .off b{font-size:18px}
  .trust{grid-template-columns:1fr 1fr}
  .deals .slide{grid-template-columns:1fr;padding:26px;min-height:0}
  .deals .strip{display:none}
  .product{grid-template-columns:1fr;gap:24px}
  .product .gal{position:static;min-height:300px}
  .contact-grid{grid-template-columns:1fr}
  footer.site .cols{grid-template-columns:1fr 1fr}
  .opt-row{grid-template-columns:56px minmax(0,1fr) auto;grid-auto-rows:auto;row-gap:8px}
  .opt-row .retail{grid-column:2}
  .opt-row .dog{grid-column:3;grid-row:2}
  .opt-row .qty-wrap{grid-column:2}
  .opt-row .add{grid-column:3;grid-row:3}
}
@media (max-width:560px){
  .wrap{padding:0 14px}
  .topbar .phones span.extra{display:none}
  .topbar .wrap>div:last-child{display:none}
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .pcard{padding:8px 10px 12px;border-radius:20px}
  .pcard .ph{height:150px;border-radius:14px}
  .pcard .nm{font-size:12.5px;min-height:35px}
  .pcard .price{font-size:16px}
  .pcard .buy .btn{padding:9px 12px;font-size:12.5px}
  .row-arr{display:none}
  .cats .cat{width:96px}
  .cat .ball{width:88px;height:88px}
  .cat{font-size:12.5px}
  .trust{grid-template-columns:1fr 1fr;font-size:12px}
  .payline{grid-template-columns:1fr}
  .cart-row{grid-template-columns:60px minmax(0,1fr) auto;row-gap:6px}
  .cart-row .ph{width:60px;height:60px}
  .cart-row .sum{grid-column:2}
  .cart-row .del{grid-column:3;grid-row:1}
  .form-card{padding:22px}
  .logo{font-size:22px}
  .lang-switch button{padding:5px 8px;font-size:11px}
  .sec-head .all{padding:7px 13px;font-size:12.5px}
  footer.site{border-radius:22px 22px 0 0}
}
/* Tehno Mi 2026 — quiet product showroom */
:root{--orange:#df5306;--orange-dark:#ba4200;--orange-soft:#fff2e9;--ink:#20211f;--ink-2:#555952;--ink-3:#686d65;--tile:#f5f6f3;--tile-2:#fafaf8;--line:#e6e8e2;--green:#28704a;--r-lg:14px;--r-md:12px;--head:"Rubik",sans-serif;--body:"Rubik",sans-serif}
body{font-weight:400;line-height:1.5}::selection{background:#f5c7a7;color:#20211f}input,textarea{caret-color:var(--orange)}:focus-visible{outline:2px solid var(--orange);outline-offset:4px}html{scrollbar-color:#bfc3ba #f7f8f5}.wrap{max-width:1360px;padding:0 40px}.topbar{background:#f5f6f3;color:#50554e;font-size:11px}header.site{position:sticky;top:0;background:#fff;z-index:100;border-bottom:1px solid var(--line);backdrop-filter:none}header.site .wrap{min-height:86px;gap:26px}.logo{font-size:29px;letter-spacing:-.04em;font-weight:600}.main{font-size:13px}.head-search{background:#f5f6f3;border-radius:8px}.lang-switch button{font-size:11px}.btn{border-radius:8px;font-weight:500;transition:background .18s,transform .18s;gap:12px}.btn:hover{box-shadow:none}.btn-lg{font-size:14px;padding:16px 22px}.block{margin:64px 0}.sec-head h2{font-size:28px;font-weight:500;letter-spacing:-.035em}.sec-head .all{border-radius:0;box-shadow:none;padding:8px 0;font-size:13px;font-weight:400}.sec-head .all:hover{box-shadow:none}.hero{margin:24px 0 0;border-radius:12px}.hero .slide{padding:48px 76px 48px 68px;min-height:470px;background:#f2f3ef;display:grid;grid-template-columns:1.12fr 1fr;gap:40px;align-items:center}.hero h1{font-size:clamp(34px,3.8vw,54px);font-weight:500;line-height:1.08;letter-spacing:-.04em;margin:0 0 22px}.hero-copy>p{font-size:15px;max-width:34ch;color:var(--ink-2);margin:0 0 26px}.hero .pic{min-width:0}.hero .pic img{width:100%;height:330px;max-height:330px;object-fit:contain;mix-blend-mode:multiply}.hero .slide:hover .pic img{transform:none}.hero-product{margin-top:28px;font-size:11px;color:var(--ink-2);max-width:40ch}.hero-product b{display:block;margin-top:5px;color:var(--ink);font-size:18px;font-weight:500}.carousel .arr{width:34px;height:34px;background:rgba(255,255,255,.9);box-shadow:none}.carousel .arr.prev{left:14px}.carousel .arr.next{right:14px}.service-line{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--ink-2)}.service-line>span,.service-line>a{display:flex;align-items:center;gap:10px}.service-line svg{width:22px;height:22px;flex-shrink:0}.cats,.cat-balls{gap:24px;padding:10px 20px 18px}.cats .cat,.cat-balls .cat{width:112px;font-size:12px;font-weight:400}.cat .ball,.cat-balls .ball{width:104px;height:104px;background:#f5f6f3;box-shadow:none}.cat:hover .ball{box-shadow:none;transform:translateY(-2px)}.row-arr{box-shadow:0 4px 12px #20211f12}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.pcard{background:white;padding:0 0 12px;border-radius:12px;box-shadow:none;gap:10px}.pcard:hover{transform:none;box-shadow:none}.pcard .ph{height:228px;border-radius:12px;background:#f5f6f3;margin-bottom:8px}.pcard .ph img{max-height:82%;max-width:82%}.pcard .nm{font-size:13px;font-weight:400;line-height:1.5;min-height:58px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pcard .stock{font-size:10px;font-weight:400;color:var(--ink-2)}.pcard .price{font-size:19px;font-weight:500;letter-spacing:-.025em}.pcard .buy .btn{background:#f3f4f0;color:var(--ink);font-size:12px}.pcard .buy .btn:hover{background:var(--orange);color:white}.pcard .flags{top:12px;left:12px}.flag{font-size:9px;letter-spacing:.03em;padding:4px 7px;border-radius:4px}.flag.new{background:white;color:#575f50}.editorial{background:#ecefe7}.editorial .slide{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:40px 80px;min-height:290px;gap:40px}.editorial h2{font-size:36px;line-height:1.15;font-weight:500;letter-spacing:-.035em;margin:0 0 24px}.editorial .pic{height:230px;display:grid;place-items:center}.editorial .pic img{max-height:230px;object-fit:contain;mix-blend-mode:multiply}.club-panel{background:#252d26;color:#fff;padding:40px;border-radius:12px}.club-panel h2{font-size:32px;letter-spacing:-.035em;font-weight:500;margin:0}.club-panel p{color:#d2d8cf;font-size:13px}.club-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0}.club-stats b{font-size:36px;font-weight:400;display:block;letter-spacing:-.03em}.club-stats span{font-size:11px;color:#d2d8cf}.club-tiers{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #53604f;border-bottom:1px solid #53604f;padding:18px 0;gap:18px}.club-tiers strong{font-size:24px;font-weight:400;display:block}.club-tiers span{font-size:11px;color:#d2d8cf}.club-note{line-height:1.7;max-width:75ch;margin:24px 0 0}.club-link{display:flex;justify-content:space-between;padding:14px 0;font-size:13px}.collection-links{display:grid;grid-template-columns:1fr 1fr;gap:40px}.collection-links>a{border-top:1px solid var(--line);padding:20px 0;position:relative}.collection-links h3{font-size:20px;font-weight:500;margin:0 0 8px}.collection-links p{font-size:12px;color:var(--ink-2)}.collection-links svg{position:absolute;right:0;top:24px}.form-card{box-shadow:none;border:1px solid var(--line);border-radius:12px}.form-card.center{max-width:850px!important}.form-card .club-panel{padding:24px;margin-bottom:20px}.demo-note{padding:12px;background:#fff4df;color:#6a501e;font-size:12px;border-radius:8px}.loyalty-check{background:#f5f6f3;padding:18px;margin:20px 0;border-radius:8px;display:grid;gap:10px;font-size:13px}.loyalty-check label{font-size:12px}.loyalty-check p{font-size:12px;margin:0}.no-photo{font-size:12px;color:var(--ink-3);text-align:center;padding:20px}.product .gal{background:#f5f6f3;border-radius:12px}.product h1{font-weight:500}.product .priceline .price{font-weight:500;font-size:30px}.opt-row{border-radius:0}.opt-row .nm{font-weight:400;font-size:13px}.opt-row .retail{white-space:normal}.totals{border-radius:12px}.page-title{font-weight:500;letter-spacing:-.03em}.stock.in{color:#42734d}footer.site{margin-top:70px;background:#f5f6f3;color:var(--ink-2)}footer.site a,footer.site h4,footer.site .flogo{color:var(--ink)}footer.site .fine{border-color:var(--line);color:var(--ink-2)}.rv{opacity:1!important;transform:none!important}.pcard .cover:focus-visible{outline-offset:2px}
@media(min-width:1400px){.hero .slide{min-height:500px}.hero .pic img{height:370px;max-height:370px}}
@media(max-width:1100px){header.site .wrap{gap:15px}.main{display:none}.hero .slide{padding:40px 50px}.hero h1{font-size:42px}.grid{gap:18px}.service-line{font-size:10px}.pcard .ph{height:190px}}
@media(max-width:760px){.wrap{padding:0 18px}header.site .wrap{min-height:70px;gap:12px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.logo{font-size:25px}.head-actions{margin-left:auto}.head-search{display:flex!important;order:10;flex:0 0 100%;margin:0;height:40px}.topbar .extra{display:none}.topbar{font-size:9px}.topbar .wrap{justify-content:center}.topbar .phones{display:none}.lang-switch{display:flex!important}.lang-switch button{padding:4px;font-size:10px}.hero{margin-top:16px}.hero .slide{min-height:0;padding:30px 26px 44px;display:flex;flex-direction:column;gap:18px;align-items:stretch}.hero h1{font-size:34px;line-height:1.08;margin-bottom:14px}.hero-copy>p{font-size:12px;max-width:30ch;margin-bottom:18px}.hero .btn-lg{padding:12px 16px;font-size:12px}.hero-product{display:none}.hero .pic{min-height:0;height:215px}.hero .pic img{height:215px;max-height:215px;width:100%}.carousel .arr{top:auto;bottom:12px;transform:none;width:30px;height:30px}.carousel .arr:hover{transform:none}.carousel .dots{bottom:23px}.service-line{overflow-x:auto;justify-content:flex-start;font-size:10px;padding:16px 0;gap:24px}.service-line>span,.service-line>a{flex:0 0 210px}.block{margin:38px 0}.sec-head{margin-bottom:16px;align-items:baseline}.sec-head h2{font-size:23px}.sec-head .all{font-size:11px;white-space:nowrap}.cats,.cat-balls{gap:14px;padding:7px 16px 14px}.cats .cat,.cat-balls .cat{width:88px;font-size:10px}.cat .ball,.cat-balls .ball{width:82px;height:82px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.pcard .ph{height:160px}.pcard .nm{font-size:11px;min-height:50px}.pcard .stock{font-size:9px}.pcard .price{font-size:17px}.pcard .buy .btn{padding:10px 5px;font-size:11px;min-height:40px}.pcard{gap:7px}.editorial .slide{padding:28px 26px 45px;grid-template-columns:1fr;gap:15px;min-height:0}.editorial h2{font-size:29px}.editorial .pic,.editorial .pic img{height:170px;max-height:170px}.club-panel{padding:24px}.club-panel h2{font-size:28px}.club-stats{gap:10px}.club-stats b{font-size:25px}.club-stats span,.club-tiers span{font-size:10px}.club-tiers{gap:12px}.club-tiers strong{font-size:21px}.club-note{font-size:11px!important}.collection-links{gap:20px}.collection-links h3{font-size:17px}.collection-links p{font-size:11px}.collection-links svg{display:none}.product{grid-template-columns:1fr;gap:25px}.product .gal{min-height:260px}.product .gal img{max-height:280px}.product h1{font-size:25px}.form-card{padding:20px}.form-card.center{margin:24px auto}.club-panel p{font-size:12px}.form-card .club-panel{padding:18px}.opt-row .retail{font-size:11px}.opt-row .dog{font-size:12px}.btn{min-height:40px}#flow{grid-template-columns:1fr!important}footer.site{margin-top:40px}.head-actions .icon-btn{width:32px}body{overflow-wrap:break-word}.opt-row .qty-wrap{min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.topbar a{color:var(--ink-2)}footer.site a:hover{color:var(--orange)}.hero .pic{order:0}.main a,.head-search input{font-weight:400}@media(max-width:760px){.hero .pic{order:0}.hero .slide{padding-bottom:58px}.hero h1{font-size:32px}.pcard .buy a{display:flex;justify-content:center}.row-arr{width:34px;height:34px;top:34px}}

.ticker .row{animation:none}.btn-orange:hover{box-shadow:none}.cat-balls .cat.on .ball{box-shadow:inset 0 0 0 2px var(--orange)}
.pcard .ph{display:flex;align-items:center;justify-content:center;padding:20px}.pcard .ph img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.pcard:hover .ph img{transform:none}.opt-row .ph,.cart-row .ph{padding:7px}.opt-row .ph img,.cart-row .ph img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.row-arr{display:grid}.row-arr.off{opacity:.3;visibility:visible;pointer-events:none}@media(max-width:760px){.row-arr{display:grid;width:34px;height:34px}.pcard .ph{padding:16px}}

/* Unified product photography: original proportions, measured framing. */
.product-photo{display:block;width:100%;height:100%;overflow:hidden;background:#fff;flex:1;min-width:0}
.pcard .ph,.opt-row .ph,.cart-row .ph,.product .gal,.cat .ball{background:#fff}
.pcard .ph{border:1px solid #eeefec;padding:8px!important}
.pcard .ph .product-photo{border-radius:10px}
.hero .pic .product-photo{height:330px;mix-blend-mode:multiply;background:transparent}
.editorial .pic .product-photo{height:230px;mix-blend-mode:multiply;background:transparent}
.product .gal .product-photo{height:420px}
.cat .ball .product-photo{border-radius:50%}
@media(max-width:760px){.hero .pic .product-photo{height:215px}.editorial .pic .product-photo{height:170px}.product .gal .product-photo{height:280px}}


.cat .ball .product-photo,.cat-balls .ball .product-photo{width:100%;height:100%;max-width:none;max-height:none}
.opt-row .ph .product-photo,.cart-row .ph .product-photo{width:100%;height:100%;max-width:none;max-height:none}

.photo-caption{font-size:11px;color:var(--ink-3);margin:12px 0;text-align:center}

/* Transparent product cutouts retain their original colors on editorial backgrounds. */
.editorial .pic .product-photo{mix-blend-mode:normal;background:transparent}

/* Account sections */
.account{max-width:960px;margin:48px auto 64px}.account-heading{margin-bottom:30px}.account-heading h1{font-size:34px;font-weight:500;letter-spacing:-.035em;margin:0 0 8px}.account-heading p,.account-demo{color:var(--ink-2);font-size:13px}.account-back{display:inline-block;margin-bottom:24px;font-size:13px}.account-menu{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);gap:0 32px}.account-menu>a{display:flex;align-items:center;gap:16px;padding:24px 4px;border-bottom:1px solid var(--line);min-width:0}.account-menu>a:hover{background:#f7f8f5}.account-icon{width:44px;height:44px;background:#f5f6f3;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.account-icon svg{width:22px;height:22px}.account-menu>a>svg{margin-left:auto;width:18px;flex-shrink:0}.account-menu strong{font-size:15px;font-weight:500;display:block}.account-menu small{font-size:12px;color:var(--ink-2);display:block;margin-top:4px}.account-recommendations{margin:42px 0}.account h2{font-size:23px;font-weight:500;letter-spacing:-.025em}.account-demo{border-top:1px solid var(--line);padding-top:20px;margin-top:32px;font-size:11px}.account-form{max-width:560px}.account-form label{display:block}.account-form input,.account-form select{margin-top:8px;width:100%;box-sizing:border-box}.account-form input[readonly]{background:#f5f6f3;color:var(--ink-2)}.account-form #saved{color:var(--green);font-size:13px}.account-orders{display:grid;gap:12px}.account-order{border:1px solid var(--line);border-radius:10px;padding:20px}.account-order summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer}.account-order summary small{display:block;margin-top:5px;color:var(--ink-2)}.account-order li,.account-order p{font-size:13px}.account-order summary strong{font-size:15px;font-weight:500}.account-empty{padding:32px 0}.account-empty p,.account-help p{color:var(--ink-2);font-size:14px}.account-help{max-width:650px}.account-help h2:not(:first-child){margin-top:32px}
@media(max-width:760px){.account{margin:28px auto 40px}.account-heading h1{font-size:28px}.account-menu{grid-template-columns:1fr}.account-menu>a{padding:20px 0}.account-order{padding:16px}.account-order summary{gap:10px}.account-order .btn{white-space:normal}.account-recommendations{margin:32px 0}}

/* Persistent navigation, with space for iPhone home indicator. */
body{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}.bottom-nav{position:fixed;z-index:90;bottom:12px;left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 32px));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 4px 24px #20211f14}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;color:var(--ink-2);font-size:11px;line-height:1.2;min-width:0;text-align:center;border-radius:10px}.bottom-nav a.active{color:var(--orange);background:#fff5ee}.bottom-nav a:hover{background:#f7f8f5}.bottom-icon{position:relative;display:block;width:23px;height:23px}.bottom-icon svg{width:23px;height:23px}.bottom-icon b{position:absolute;right:-12px;top:-6px;border-radius:12px;background:var(--orange);color:#fff;min-width:17px;height:17px;line-height:17px;font-size:9px;padding:0 3px;border:1px solid white}.bottom-icon b[hidden]{display:none}.toast{bottom:calc(102px + env(safe-area-inset-bottom,0px))}.opt-cart{bottom:calc(104px + env(safe-area-inset-bottom,0px))}html{scroll-padding-bottom:110px}
@media(max-width:760px){.bottom-nav{bottom:0;left:0;transform:none;width:100%;border-radius:0;border-left:0;border-right:0;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px))}.bottom-nav a{font-size:10px}.opt-cart{left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 24px)}.toast{bottom:calc(90px + env(safe-area-inset-bottom,0px))}}

/* Header breathing room, including the wrapped tablet layout. */
.topbar .wrap{padding-top:10px;padding-bottom:10px;min-height:42px;flex-wrap:wrap;row-gap:8px}
header.site .wrap{padding-top:18px;padding-bottom:18px;row-gap:16px}
@media(max-width:760px){.topbar .wrap{padding-top:8px;padding-bottom:8px;min-height:32px}header.site .wrap{padding-top:16px;padding-bottom:16px;row-gap:16px}}

/* Product specifications: wrap long model names on narrow screens. */
.spec .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:20px;align-items:start}
.spec .row span{min-width:0;overflow-wrap:anywhere;line-height:1.55}
.spec .row span:last-child{text-align:right}
.spec-note{font-size:12px;color:var(--ink-3);line-height:1.6;margin-top:12px}


/* Compact home banner */
.hero .slide{min-height:310px;padding:28px 56px 40px;gap:24px;grid-template-columns:1.15fr 1fr}
.hero h1{font-size:clamp(28px,3vw,40px);margin-bottom:14px;line-height:1.1}
.hero-copy>p{font-size:14px;margin-bottom:18px}
.hero .btn-lg{padding:12px 18px;font-size:13px}
.hero-product{margin-top:16px}
.hero-product b{font-size:17px;margin-top:3px}
.hero .pic{min-height:0;height:230px}
.hero .pic img,.hero .pic .product-photo{height:230px;max-height:230px}
@media(max-width:760px){
.hero .slide{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);min-height:270px;padding:24px 20px 54px;gap:12px;align-items:center}
.hero h1{font-size:clamp(22px,5vw,30px);margin-bottom:10px}
.hero-copy>p{font-size:12px;line-height:1.5;margin-bottom:14px}
.hero .btn-lg{font-size:11px;padding:10px 12px;gap:6px}
.hero .btn-lg svg{width:16px;flex-shrink:0}
.hero .pic,.hero .pic img,.hero .pic .product-photo{height:155px;max-height:155px;min-height:0}
}

.hero .hero-club{background:#252d26;color:#fff}
.hero-club .hero-copy>p{color:#d2d8cf}
.hero-club-benefits{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-left:1px solid #53604f;padding-left:32px}
.hero-club-benefits strong{display:block;font-size:clamp(28px,3vw,42px);font-weight:500;letter-spacing:-.03em}
.hero-club-benefits span{display:block;font-size:13px;color:#d2d8cf;margin-top:6px}
.hero-club-benefits small{grid-column:1/-1;color:#d2d8cf;font-size:12px;line-height:1.5}
@media(max-width:760px){.hero .hero-club{grid-template-columns:1fr 1fr;gap:16px}.hero-club-benefits{grid-template-columns:1fr;padding-left:16px;gap:12px}.hero-club-benefits strong{font-size:25px}.hero-club-benefits span{font-size:11px;margin-top:2px}.hero-club-benefits small{font-size:10px}.hero-club h1{font-size:30px}}

.hero-club .hero-copy>p{max-width:38ch}
.hero-club-benefits{grid-template-columns:1fr;gap:14px}
.club-simple-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.club-simple-tiers span{margin:0 0 4px;font-size:13px}
.club-stars-example{margin:0;font-size:16px;font-weight:500;line-height:1.4}
@media(max-width:760px){.hero .hero-club{grid-template-columns:1fr;gap:20px}.hero-club .hero-copy{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.hero-club .hero-copy h1{margin:0}.hero-club .hero-copy>p{grid-column:1/-1;grid-row:2;margin:0;max-width:none}.hero-club-benefits{border-left:0;border-top:1px solid #53604f;padding:14px 0 0;gap:12px}.hero-club-benefits small{font-size:12px}.club-simple-tiers span{font-size:12px}.club-stars-example{font-size:14px}}

/* Dealer statement stays centred independently of side labels. */
.topbar .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:20px}
.topbar .dealer-label{color:var(--orange);font-weight:500;text-align:center;justify-self:center}
.topbar .top-delivery{justify-self:end;text-align:right}
@media(max-width:1000px){.topbar .wrap{grid-template-columns:minmax(0,1fr)}.topbar .phones,.topbar .top-delivery{display:none}.topbar .dealer-label{font-size:11px;line-height:1.4}}

/* Compact shopping surfaces */
.hero .slide{min-height:260px;padding:24px 52px 40px;align-content:center}
.hero .hero-club{grid-template-columns:1.5fr .5fr}
.hero-club .hero-copy{display:block}.hero-club .hero-copy>p{margin:8px 0 12px;max-width:36ch}.hero-club .hero-copy>button{margin-top:8px}
.club-mark{font-size:100px;font-weight:500;letter-spacing:-.06em;line-height:1;color:#d2d8cf}.club-mark span{font-size:.5em}
.pcard{gap:5px;align-content:start}.pcard .nm{font-size:15px;line-height:1.4;min-height:0;display:block;overflow:visible}.pcard .stock{margin-top:2px}.pcard .ph{margin-bottom:5px}.product-kind{font-size:13px;line-height:1.35;color:var(--ink-2);font-weight:500}.product>.product-kind{font-size:16px}.pcard .prices{margin-top:5px}.pcard .buy{margin-top:6px}
.subcategories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 20px}.subtile{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:8px;font-size:14px;min-height:48px}.subtile.active{background:#fff2e9;border-color:var(--orange);color:var(--orange)}.subtile small{color:var(--ink-3)}
.product-zoom{display:block;width:100%;border:0;cursor:zoom-in;padding:20px;color:inherit}.shop-dialog{border:0;border-radius:14px;padding:44px 24px 24px;width:min(700px,calc(100% - 24px));max-height:90dvh;overflow:auto;color:var(--ink);background:white}.shop-dialog::backdrop{background:#171c17b3}.dialog-close{position:absolute;right:8px;top:8px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f3ee;display:grid;place-items:center;cursor:pointer}.shop-dialog h2{font-size:20px;margin:0 0 8px}.shop-dialog>p{font-size:14px;margin:0 0 12px}.zoom-stage{overflow:auto;height:min(60vh,500px)}.zoom-stage .product-photo{width:100%;height:100%}.zoom-stage.zoomed .product-photo{width:200%;height:200%;max-width:none}.zoom-toggle{padding:12px 18px;border:1px solid var(--line);border-radius:8px;background:white;margin-top:12px}.club-dialog{padding:44px 14px 14px}.club-dialog .club-panel{padding:22px}.club-dialog .club-note{font-size:14px!important}.block{margin:40px 0}
@media(max-width:760px){.hero .slide{min-height:240px;padding:20px 20px 48px;gap:10px;grid-template-columns:1.25fr .75fr}.hero h1{font-size:23px;line-height:1.12}.hero-copy>p{font-size:12px;margin-bottom:12px}.hero .pic,.hero .pic .product-photo{height:135px;max-height:135px}.hero .hero-club{grid-template-columns:1fr;min-height:240px}.hero-club .hero-copy{display:block}.club-mark{display:none}.hero-club h1{font-size:27px}.hero-club .hero-copy>p{font-size:13px}.hero .btn-lg{padding:10px 12px;min-height:40px}.block{margin:28px 0}.sec-head{margin-bottom:12px}.grid{gap:18px 12px}.pcard .ph{height:140px}.pcard .nm{font-size:14px;line-height:1.4;min-height:0}.product-kind{font-size:12px}.pcard .stock{font-size:10px}.pcard .buy{margin-top:4px}.subtile{font-size:12px;padding:10px;min-height:48px}.editorial .slide{grid-template-columns:1.2fr .8fr;min-height:200px;padding:20px 20px 48px;gap:10px}.editorial h2{font-size:23px;margin-bottom:12px}.editorial .pic,.editorial .pic .product-photo{height:120px;max-height:120px}.product{gap:16px}.product .gal{min-height:220px}.product h1{font-size:23px}.club-stats{margin:20px 0}}

/* Keep header controls circular at every viewport. */
header.site .icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;aspect-ratio:1;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;line-height:1}header.site .icon-btn>svg{width:22px;height:22px;flex:0 0 22px;display:block}

.club-explain{display:grid;gap:18px;margin-top:22px}.club-explain h3{font-size:17px;font-weight:500;line-height:1.3;margin:0 0 7px;letter-spacing:-.015em}.club-explain p{font-size:13px;line-height:1.5;margin:0;max-width:48ch}.club-conversion{display:block;font-size:16px;font-weight:500;margin:10px 0 6px;color:#fff}.club-conditions{margin-top:20px;padding-top:14px;border-top:1px solid #53604f}.club-conditions summary{cursor:pointer;font-size:13px;color:#d2d8cf;padding:6px 0}.club-conditions p{font-size:12px;line-height:1.5;margin:10px 0 0}.club-dialog .club-explain p{font-size:13px}.club-dialog .club-explain h3{font-size:17px}

.subtile{justify-content:flex-start;gap:10px;padding:10px 12px;min-height:72px}.sub-photo{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center}.sub-photo .product-photo{display:block;width:100%;height:100%}.sub-label{min-width:0;line-height:1.3}.sub-label small{display:block;font-size:11px;margin-top:4px;font-weight:400}.subtile .sub-photo .no-photo{padding:0;font-size:10px}@media(max-width:760px){.subtile{padding:9px;gap:8px;font-size:12px;min-height:68px}.sub-photo{width:38px;height:42px;flex-basis:38px}.sub-label small{font-size:10px}}

.club-level-intro{margin:20px 0 16px}.club-level-intro h3{font-size:17px;line-height:1.35;font-weight:500;margin:0 0 8px}.club-level-intro p{font-size:13px;line-height:1.5;margin:0}.club-tiers span{line-height:1.4;margin-top:6px}

/* Align purchase actions within each product row. */
.grid{align-items:stretch;column-gap:28px;row-gap:30px}.grid>.pcard{height:100%;min-width:0}.pcard .ph{flex-shrink:0}.pcard .prices{margin-top:auto;padding-top:8px}.pcard .buy{margin-top:8px}.pcard .buy .btn{min-height:44px;display:flex;align-items:center;justify-content:center}@media(max-width:760px){.grid{column-gap:18px;row-gap:26px}.pcard .prices{margin-top:auto;padding-top:7px}.pcard .buy{margin-top:7px}}

/* Clear product title and stock hierarchy. */
.pcard .stock.in,.product .stock.in{color:#287443;font-weight:500}.pcard .stock.out{color:var(--ink-2);font-weight:400}.pcard .flag.new{color:#287443;background:#edf6ee;font-weight:600}.pcard .product-kind{color:#b7470b;font-weight:500}.pcard .nm{font-weight:500;color:#252923;letter-spacing:-.01em}

.club-tiers .club-amount{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;margin-top:3px}

/* Tighter mobile spacing around header, services and categories. */
.service-line{scrollbar-width:none}.service-line::-webkit-scrollbar{display:none}
@media(max-width:760px){header.site .wrap{padding-top:8px;padding-bottom:8px;row-gap:8px;min-height:0}.head-search{height:38px}.hero{margin-top:12px}.service-line{padding:10px 0;gap:18px}body[data-page="home"] .block{margin:20px 0}body[data-page="home"] .sec-head{margin-bottom:8px}body[data-page="home"] .cats{padding-top:2px;padding-bottom:4px}body[data-page="home"] .cat{gap:6px}body[data-page="home"] .cats-wrap .row-arr{top:26px}body[data-page="home"] .service-line+.block{margin-top:16px}}

.pcard .stock.out,.product .stock.out{color:#b63732;font-weight:500}

.hero-club .club-benefits-label{font-size:14px;font-weight:600;color:#dae2d4;margin:0 0 12px}.hero-club .hero-copy h1{margin-bottom:8px}

header.site .head-actions .icon-btn{width:36px;height:36px;min-width:36px;min-height:36px;flex:0 0 36px}header.site .head-actions .icon-btn>svg{width:18px;height:18px;flex:0 0 18px}

.opt-hero{background:#f5f5f3;color:#252923;border-radius:12px;border-left:3px solid var(--orange);padding:24px 28px;margin:18px 0}.opt-hero h1{font-size:28px;font-weight:600;margin-bottom:6px}.opt-hero p{color:#565b53;font-size:14px;line-height:1.5}@media(max-width:760px){.opt-hero{padding:18px 20px;margin:14px 0}.opt-hero h1{font-size:24px}.opt-hero p{font-size:13px}}

.opt-hero{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:18px 0 12px}.opt-hero h1{font-size:28px;line-height:1.2;font-weight:600;margin:0 0 5px}.opt-hero p{font-size:14px;line-height:1.45;color:#565b53;margin:0}@media(max-width:760px){.opt-hero{padding:0;margin:14px 0 10px}.opt-hero h1{font-size:24px}.opt-hero p{font-size:13px}}

header.site .icon-btn{width:36px;height:36px;min-width:36px;min-height:36px;flex:0 0 36px}header.site .icon-btn>svg{width:18px;height:18px;flex:0 0 18px}

.product-back{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 12px;margin:12px 0 0;border:1px solid #dedfd9;border-radius:8px;background:#fff;color:#252923;font:inherit;font-size:14px;font-weight:500;cursor:pointer}.product-back:hover{background:#f5f5f3}.product-back:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.product-back+.crumbs{margin-top:10px}

.load-more{display:block;margin:20px auto;min-height:44px;padding:10px 24px}

.filters{gap:6px;margin:12px 0 14px}.filters .chip,.filters .sort-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px;font-size:12px;line-height:20px;font-weight:500}.filters .sort-btn{gap:6px}.filters .sort-btn svg{width:12px;height:12px}

footer.site .fine .footer-brands{max-width:680px;line-height:1.8;text-wrap:pretty}@media(max-width:760px){footer.site .fine .footer-brands{font-size:11px;line-height:1.9}}

/* Desktop banners: mobile styles remain unchanged. */
@media (min-width:1024px){
 .hero .slide{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:390px;padding:32px 64px 48px;gap:32px;align-items:center}
 .hero h1{font-size:clamp(38px,3.8vw,58px);line-height:1.06;letter-spacing:-.035em;margin-bottom:18px;max-width:17ch}
 .hero-copy>p{font-size:19px;line-height:1.5;max-width:36ch;margin-bottom:22px}
 .hero .btn-lg{font-size:16px;padding:15px 22px;min-height:50px}
 .hero-product{font-size:14px;line-height:1.45;margin-top:20px;max-width:38ch}
 .hero-product b{font-size:25px;margin-top:5px}
 .hero .pic{height:320px;min-height:0;display:flex;align-items:center;justify-content:center;overflow:visible}
 .hero .pic img,.hero .pic .product-photo{height:360px;max-height:360px;width:100%;transform:scale(1.22);transform-origin:center}
 .hero .hero-club{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
 .hero-club .hero-copy h1{font-size:clamp(44px,4.6vw,68px);margin-bottom:12px}
 .hero-club .club-benefits-label{font-size:21px;margin-bottom:18px}
 .hero-club .hero-copy>p{font-size:19px;line-height:1.5;max-width:38ch;margin:10px 0}
 .hero-club .hero-copy>button{margin-top:16px}
 .hero .club-mark{font-size:clamp(160px,17vw,240px);line-height:1;letter-spacing:-.055em;text-align:center;font-weight:600}
 .hero .club-mark span{font-size:.48em}
 .hero.carousel .arr{width:38px;height:38px}
}

.gallery-photo{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.product-gallery .gal{position:static;top:auto}
.gallery-thumbs{display:flex;justify-content:center;gap:10px;margin:12px 0 0;flex-wrap:wrap}
.gallery-thumb{width:68px;height:68px;padding:5px;border:1px solid #ddd;border-radius:10px;background:#fff;cursor:pointer;flex-shrink:0}
.gallery-thumb[aria-pressed="true"]{border:2px solid #ed5a00;padding:4px}
.gallery-thumb .product-photo{width:100%;height:100%}
.gallery-controls{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.gallery-controls button{min-height:42px;padding:8px 14px;border:1px solid #ddd;background:#fff;border-radius:9px;cursor:pointer}
.gallery-controls button[hidden]{display:none}
.zoom-stage>.gallery-photo{max-height:65vh;object-fit:contain}
.zoom-stage.zoomed>.gallery-photo{transform:scale(2);transform-origin:center}
@media(max-width:600px){.gallery-thumb{width:58px;height:58px}.gallery-thumbs{gap:8px;margin-top:8px}}

/* Mi Express: compact editorial layout and one quiet route animation. */
.express-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff1e6;padding:22px 26px;border-radius:12px;margin:24px 0;color:#252724;text-decoration:none}
.express-banner-copy{display:grid;gap:4px}.express-banner-copy strong{font-size:26px;line-height:1.2;letter-spacing:-.025em}.express-banner-copy>span{font-size:15px;color:#66452e}.express-banner-action{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:14px;font-weight:500;color:#ac3e00}.express-banner:hover{background:#ffe5d2}.express-banner-action svg{transition:transform .24s cubic-bezier(.16,1,.3,1)}.express-banner:hover svg{transform:translateX(3px)}
.express-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(32px,6vw,90px);align-items:start;margin:38px 0 48px}.express-layout[hidden],.express-success[hidden]{display:none}
.express-intro h1{font-size:clamp(38px,4vw,58px);line-height:1.1;letter-spacing:-.035em;font-weight:600;margin:0 0 24px}.express-intro h1 span{color:#dc5000}.express-intro h2{font-size:clamp(24px,2.4vw,34px);line-height:1.25;font-weight:500;letter-spacing:-.025em;max-width:21ch;margin:0 0 18px}.express-intro>p{font-size:17px;line-height:1.6;max-width:43ch;color:#565c53}.express-route{display:flex;align-items:center;gap:0;max-width:310px;margin:30px 0 24px}.express-route span{width:10px;height:10px;border:2px solid #dc5000;border-radius:50%;flex-shrink:0}.express-route span:last-child{background:#dc5000}.express-route i{height:1px;background:#e7c8b3;flex:1;position:relative;overflow:hidden}.express-route i:after{content:'';position:absolute;inset:0;background:#dc5000;transform:scaleX(1);transform-origin:left;animation:express-route .8s cubic-bezier(.16,1,.3,1) both}@keyframes express-route{from{transform:scaleX(.05)}to{transform:scaleX(1)}}
.express-steps{padding-left:24px;margin:0 0 24px;display:grid;gap:14px;font-size:16px}.express-steps li{padding-left:8px}.express-steps li::marker{color:#ad4000;font-weight:500}.express-footnote{font-size:13px!important;color:#62675e!important;line-height:1.6;margin:12px 0}
.express-form{border:1px solid #e3e5df;border-radius:12px;padding:28px;min-width:0}.express-form h2{font-size:24px;line-height:1.2;margin:0 0 8px}.express-form>p:first-of-type{font-size:14px;line-height:1.5;color:#62675e;margin:0 0 20px}.express-form label{display:block;font-size:14px;font-weight:500;margin:14px 0 7px}.express-form input,.express-form textarea,.express-form select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;font:inherit;font-size:15px;padding:12px;border:1px solid #d9ddd4;border-radius:8px;background:#fff;color:#252724}.express-form .phone-line input{border:0;padding:12px 8px}.express-form h3{font-size:18px;margin:26px 0 4px}.express-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.express-upload{padding:12px;background:#f5f6f3;border-radius:8px}.express-upload input{padding:0;border:0;background:transparent;font-size:13px}.express-upload p{font-size:12px;color:#62675e;margin:8px 0 0}#exPreview{margin-top:12px}#exPreview img{display:block;max-width:100%;height:120px;object-fit:contain;margin-bottom:8px}.express-form .btn{min-height:46px}.express-success{max-width:640px;margin:60px auto;text-align:center}.express-success h1{font-size:34px}.express-success p{line-height:1.6}.express-success strong{display:block;font-size:22px;margin:24px 0}.express-success>div{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.guest-club-note{font-size:13px;line-height:1.6;background:#f5f6f3;padding:14px;border-radius:8px}.guest-club-note a{color:#ad4000;text-decoration:underline}.club-signin-note+.btn{margin-bottom:24px}
@media(min-width:1101px){header.site .wrap{gap:18px}nav.main{gap:18px;white-space:nowrap}.head-search{min-width:130px}}
@media(max-width:760px){.express-layout{grid-template-columns:1fr;gap:24px;margin:24px 0}.express-intro h1{font-size:36px;margin-bottom:16px}.express-intro h2{font-size:25px;max-width:25ch}.express-intro>p{font-size:15px}.express-route{margin:20px 0 16px}.express-steps{font-size:14px;gap:8px;margin-bottom:12px}.express-form{padding:20px}.express-fields{grid-template-columns:1fr;gap:0}.express-banner{padding:18px;gap:14px;align-items:flex-start;flex-direction:column;margin:18px 0}.express-banner-copy strong{font-size:24px}.express-banner-copy>span{font-size:14px}.express-banner-action{font-size:13px;align-self:flex-end}.express-success{margin:36px 0}.express-success h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){.express-route i:after{animation:none}.express-banner-action svg{transition:none}}
/* Купить в 1 клик: в карточке — тихая вторая строка под корзиной, на странице товара — тёмная кнопка */
.pcard .buy .quick-buy{display:block;width:100%;margin-top:4px;min-height:36px;padding:8px 4px;border:0;background:none;font:inherit;font-size:12.5px;font-weight:500;color:var(--ink-2);text-decoration:underline;text-decoration-color:#c9ccc4;text-underline-offset:4px;cursor:pointer;border-radius:8px;transition:color .18s,text-decoration-color .18s}
.pcard .buy .quick-buy:hover{color:var(--orange);text-decoration-color:currentColor}
.pcard .buy .quick-buy:focus-visible{outline-offset:1px}
.product .quick-buy-lg{margin:-14px 0 26px;max-width:420px}
.quick-dialog{width:min(440px,calc(100% - 24px));padding:44px 24px 24px}
.quick-dialog h2{font-size:22px;font-weight:500;letter-spacing:-.02em;margin:0 0 16px}
.quick-item{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}
.quick-ph{width:72px;height:72px;display:grid;place-items:center;overflow:hidden;border-radius:8px}
.quick-ph img,.quick-ph .product-photo{width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
.quick-nm{font-size:14px;line-height:1.4;margin:0 0 4px}
.quick-price{font-size:18px;font-weight:500;margin:0;font-variant-numeric:tabular-nums}
.quick-form .f-row{margin-bottom:14px}
.quick-me{font-size:14px;margin:0 0 14px;color:var(--ink-2)}.quick-me b{color:var(--ink);font-variant-numeric:tabular-nums}
.quick-total{font-size:14px;line-height:1.6;margin:4px 0 12px;min-height:1.6em;font-variant-numeric:tabular-nums}.quick-total:empty{margin:0}
.quick-err{color:var(--red);font-size:13px;margin:0 0 10px}.quick-err:empty{display:none}
.quick-note{font-size:12.5px;line-height:1.5;color:var(--ink-2);margin:12px 0 0}
.quick-calls{display:grid;gap:10px;margin-top:14px}.quick-calls .btn{gap:10px}
.quick-done-h{font-size:20px;font-weight:500;margin:0 0 8px;color:var(--green)}.quick-done p{font-size:14px;margin:0 0 8px}.quick-done .btn{margin-top:14px}
@media(max-width:760px){.pcard .buy .quick-buy{font-size:11.5px;min-height:34px;padding:6px 2px}.product .quick-buy-lg{max-width:none}.quick-dialog{padding:44px 18px 20px}}
.opt-mark{font-weight:400;color:var(--ink-3);margin-left:4px}
.product .actions:has(+.quick-buy-lg){max-width:420px}.product .actions:has(+.quick-buy-lg) .btn{flex:1 1 0}@media(max-width:760px){.product .actions:has(+.quick-buy-lg){max-width:none}}
/* Карточка: корзина иконкой + «Купить в 1 клик» надписью в один ряд */
.pcard .buy:has(.cart-ic){display:flex;gap:8px;align-items:stretch}
.pcard .buy .cart-ic{position:relative;flex:0 0 44px;height:40px;border:0;border-radius:8px;background:#f3f4f0;color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:background .18s,color .18s,transform .18s}
.pcard .buy .cart-ic:hover{background:#e8eae4;color:var(--orange)}
.pcard .buy .cart-ic:active{transform:scale(.95)}
.pcard .buy .cart-ic>svg:first-child{width:20px;height:20px}
.pcard .buy .cart-ic .cart-ic-ok{position:absolute;top:-5px;right:-5px;width:18px;height:18px;padding:3px;border-radius:50%;background:var(--orange);color:#fff;box-shadow:0 0 0 2px #fff;opacity:0;transform:scale(.4);transition:opacity .2s,transform .3s cubic-bezier(.2,.9,.3,1.2)}
.pcard .buy .cart-ic.on{background:var(--orange-soft);color:var(--orange)}
.pcard .buy .cart-ic.on .cart-ic-ok{opacity:1;transform:none}
.pcard .buy .quick-buy.quick-main{flex:1 1 auto;min-width:0;width:auto;margin:0;min-height:40px;padding:8px 10px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;text-decoration:none;font-size:12.5px;font-weight:500;background:var(--orange);color:#fff;border-radius:8px}
.pcard .buy .quick-buy.quick-main:hover{background:var(--orange-dark);color:#fff}
@media(max-width:760px){.pcard .buy .cart-ic{flex-basis:40px}.pcard .buy .quick-buy.quick-main{font-size:11.5px;padding:6px 6px;min-height:40px}}
@media(prefers-reduced-motion:reduce){.pcard .buy .cart-ic,.pcard .buy .cart-ic .cart-ic-ok{transition:none}}
/* Каталог на телефоне: категории сеткой 3 в ряд (на главной ряд остаётся горизонтальным) */
@media(max-width:760px){
.balls-grid .cat-balls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 8px;overflow:visible;padding:8px 0 16px;margin:4px 0 8px}
.balls-grid .cat-balls .cat{width:auto;min-width:0;font-size:12px;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.balls-grid .cat-balls .ball{width:min(96px,100%);height:auto;aspect-ratio:1;margin:0 auto 8px}
.balls-grid .row-arr{display:none!important}
}
/* ---------- Меню каталога (шапка и боковое меню) ---------- */
.cm-mega{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 18px 36px -18px rgba(32,33,31,.28);padding:20px 0 24px;max-height:calc(100dvh - 150px);overflow:auto;z-index:99}
.cm-mega[hidden],.cm-drawer[hidden]{display:none}
.cm-two{display:grid;grid-template-columns:minmax(240px,300px) 1fr;gap:28px;align-items:start}
.cm-list{list-style:none;margin:0;padding:0 16px 0 0;border-right:1px solid var(--line);display:grid;gap:2px}
.cm-cat{display:flex;align-items:center;gap:12px;padding:7px 10px;border-radius:10px;color:var(--ink);font-size:14px;font-weight:500;line-height:1.3;transition:background .15s,color .15s}
.cm-cat>svg{width:16px;height:16px;margin-left:auto;flex:none;color:var(--ink-3);transition:transform .15s,color .15s}
.cm-cat:hover,.cm-cat.on{background:#f5f6f3;color:var(--orange)}
.cm-cat.on>svg{color:var(--orange);transform:translateX(2px)}
.cm-ph{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:#fff;overflow:hidden}
.cm-ph .product-photo,.cm-ph img{width:100%;height:100%}
.cm-ph>svg:not(.product-photo){width:26px;height:26px;color:var(--ink-3)}
.cm-right{min-width:0}
.cm-all{display:flex;align-items:baseline;gap:12px;padding:4px 4px 14px;margin-bottom:10px;border-bottom:1px solid var(--line);color:var(--ink)}
.cm-all b{font-size:22px;font-weight:500;letter-spacing:-.02em}
.cm-all span{font-size:13px;color:var(--ink-2)}
.cm-all>svg{width:16px;height:16px;align-self:center;color:var(--ink-3)}
.cm-all:hover span,.cm-all:hover>svg{color:var(--orange)}
.cm-subs{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px}
.cm-sub{display:flex;align-items:center;gap:12px;padding:8px;border-radius:10px;color:var(--ink);transition:background .15s}
.cm-sub:hover{background:#f5f6f3}
.cm-sub .cm-ph{width:60px;height:60px}
.cm-nm{font-size:14px;line-height:1.3;min-width:0}
.cm-nm small{display:block;font-size:12px;color:var(--ink-3);margin-top:3px;font-variant-numeric:tabular-nums}
.cm-sub:hover .cm-nm{color:var(--orange)}
.cm-back{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:8px 6px;margin:0 0 6px -6px;font:inherit;font-size:14px;color:var(--ink-2);cursor:pointer;border-radius:8px}
.cm-back svg{width:16px;height:16px}
.cm-back:hover{color:var(--orange)}
.cm-title{font-size:22px;font-weight:500;letter-spacing:-.02em;margin:4px 0 10px}
/* боковое меню */
.m-drawer .panel a.cm-open{display:flex;align-items:center;justify-content:space-between}
.m-drawer .panel a.cm-open svg{width:16px;height:16px;color:var(--ink-3)}
.m-drawer .panel.cm-on>a{display:none}
.m-drawer .panel.cm-on{overflow:hidden}
.m-drawer .panel.cm-wide{width:min(940px,94vw);max-width:94vw;transition:transform .24s,width .24s}
.cm-drawer{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 -8px;padding:0 8px 16px}
.m-drawer .panel .cm-cat,.m-drawer .panel .cm-sub,.m-drawer .panel .cm-all{font-family:inherit;font-weight:500;border-radius:10px}
.m-drawer .panel .cm-cat{padding:7px 10px}
.m-drawer .panel .cm-sub{padding:8px}
.m-drawer .panel .cm-all{padding:4px 4px 14px;border-radius:0}
.m-drawer .panel:not(.cm-wide) .cm-list{border-right:0;padding:0}
.m-drawer .panel:not(.cm-wide) .cm-subs{grid-template-columns:1fr;gap:2px}
.m-drawer .panel:not(.cm-wide) .cm-sub .cm-ph{width:52px;height:52px}
.m-drawer .panel:not(.cm-wide) .cm-all b{font-size:20px}
@media(prefers-reduced-motion:reduce){.cm-cat,.cm-cat>svg,.cm-sub,.m-drawer .panel.cm-wide{transition:none}}
header.site .cm-mega .wrap.cm-two{display:grid;grid-template-columns:minmax(240px,300px) 1fr;align-items:start;min-height:0;flex-wrap:nowrap;gap:28px;padding-top:0;padding-bottom:0}
.m-drawer .panel:not(.cm-wide) .cm-all{flex-wrap:wrap;row-gap:4px}.m-drawer .panel:not(.cm-wide) .cm-all b{flex:0 0 100%}
