/* DENKSY: тема сайта-визитки. Сначала телефон, потом планшет (768px) и десктоп (1100px).
   Блоки названы по БЭМ. Цвета, отступы и скругления лежат в переменных :root.
   Порядок: шрифты, переменные, основа, типографика, кнопки, шапка, главная, площадки,
   карточка артикула, уроки, блоки, подвал, панель и листы, каталог, товар, страницы, состояния. */

/* ---------- шрифты: по одному файлу на семейство (кириллица, латиница, цифры, ₽), лицензия OFL ---------- */
@font-face{font-family:"Onest";src:url("../fonts/onest.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Sofia Sans Extra Condensed";src:url("../fonts/sofia-sans-extra-condensed.woff2") format("woff2");font-weight:700 900;font-style:normal;font-display:swap}

/* ---------- переменные ---------- */
:root{
  --paper:#fafafb; --ink:#12141a; --muted:#4c5160; --tile:#eef0f4; --tile-2:#eceef2; --line:#dfe2e8; --edge:#e4e7ec; --photo:#dcdde0;
  --yellow:#ffd60a; --pink:#ff5fa8; --sky:#3cc0fa; --green:#36d982; --orange:#ff8a2a; --violet:#9b6bff;
  --pad:16px; --gap-section:58px;
  --r-s:14px; --r-m:18px; --r-l:22px; --r-pill:999px;
  --mp-radius:30%; /* форма логотипа площадки: 30% как у иконки приложения, 50% даст круг */
  --dock-h:66px;
  --ease:cubic-bezier(.23,1,.32,1); --ease-sheet:cubic-bezier(.32,.72,0,1);
  --font:"Onest",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --display:"Sofia Sans Extra Condensed","Arial Narrow","Roboto Condensed",Impact,sans-serif;
}
@media (min-width:768px){ :root{ --pad:32px; --gap-section:88px } }
@media (min-width:1100px){ :root{ --pad:48px; --gap-section:120px } }

/* ---------- основа ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scrollbar-gutter:stable}
html.is-locked{overflow:hidden}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.5 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
h1,h2,h3,h4{margin:0;font-size:inherit;font-weight:inherit;line-height:inherit}
p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
img,svg,canvas{display:block}
img{max-width:100%;height:auto}
a{color:inherit;text-underline-offset:3px}
button{font:inherit;color:inherit;cursor:pointer}
[hidden]{display:none !important}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
::selection{background:var(--yellow);color:var(--ink)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.skip{position:absolute;left:8px;top:-80px;z-index:100;padding:12px 18px;border-radius:var(--r-pill);background:var(--ink);color:var(--paper);font-weight:600}
.skip:focus{top:8px}
.ic{flex:none;width:20px;height:20px;fill:currentColor}
.logo{display:block;height:22px;width:auto;fill:currentColor}
.logo--full{width:100%;height:auto}

.page{overflow-x:hidden}
@supports (overflow:clip){ .page{overflow-x:clip} }
.wrap{width:100%;max-width:1440px;margin-inline:auto;padding-inline:var(--pad)}
.section{padding-top:var(--gap-section)}
.section__lead{margin:-4px 0 16px;max-width:36em}
.page-title{margin-top:14px}

/* ---------- типографика ---------- */
.d{font-family:var(--display);font-weight:900;text-transform:uppercase;letter-spacing:0;line-height:.84}
.h-xl{margin-bottom:16px;font-size:clamp(52px,15.4vw,74px);text-wrap:balance}
.h-l{font-size:clamp(46px,13.4vw,64px);line-height:.86;text-wrap:balance}
.h-m{font-size:clamp(38px,11.4vw,54px);line-height:.9;text-wrap:balance}
.h-xl,.h-l,.h-m{overflow-wrap:break-word}
.is-long{font-size:clamp(34px,10.6vw,52px)} /* заголовок с длинным словом: ставится, если слово длиннее 11 букв */
.intro{font-size:16px;line-height:1.45;font-weight:500;text-wrap:pretty}
.cap{font-size:14px;font-weight:600;line-height:1.3}
.note{font-size:12.5px;line-height:1.4;color:var(--muted)}
.muted{color:var(--muted)}
.price{font-size:15px;font-weight:650;line-height:1.2;white-space:nowrap}
.price--l{font-size:17px}
.price--xl{font-size:30px;font-weight:700;line-height:1;letter-spacing:-.01em}
@media (min-width:768px){
  .h-xl{margin-bottom:clamp(20px,2.4vw,36px);font-size:clamp(74px,9.4vw,150px)}
  .h-l{font-size:clamp(64px,7.8vw,128px)}
  .h-m{font-size:clamp(54px,5.6vw,92px)}
  .is-long{font-size:clamp(52px,6.6vw,104px)}
  .intro{font-size:clamp(17px,1.5vw,22px)}
}

/* ---------- кнопки и чипы ---------- */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 24px;border:0;border-radius:var(--r-pill);background:var(--ink);color:var(--paper);font-size:16px;font-weight:600;text-decoration:none;white-space:nowrap;transition:transform 140ms var(--ease)}
.button .ic{width:16px;height:16px}
.button--ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.button--soft{background:var(--tile-2);color:var(--ink)}
.button--paper{background:var(--paper);color:var(--ink)}
.button--block{display:flex;width:100%}
.more{margin-top:28px}
.button.home-cta{display:flex;width:min(100%,280px);margin-inline:auto}
.icon-button{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--tile-2);color:var(--ink);text-decoration:none;transition:transform 140ms var(--ease)}
.button:active,.icon-button:active,.chip:active,.mp__link:active,.shop:active,.shop-row:active,.found:active,.dock__menu:active{transform:scale(.97)}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;margin-inline:calc(var(--pad) * -1);padding-inline:var(--pad)}
.chips::-webkit-scrollbar{display:none}
.chips--wrap{flex-wrap:wrap;overflow:visible;margin-inline:0;padding-inline:0}
.chip{flex:none;display:inline-flex;align-items:center;gap:7px;height:46px;padding:0 18px;border:0;border-radius:var(--r-pill);background:var(--tile-2);color:var(--ink);font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;transition:transform 140ms var(--ease)}
.chip[aria-pressed="true"],.chip[aria-current="page"]{background:var(--ink);color:var(--paper)}
.chip__n{font-weight:500;opacity:.6}
.chip--paper{height:44px;background:var(--paper)}
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.pair .button{padding:0 12px}
@media (min-width:768px){
  .button--block{display:inline-flex;width:auto;min-width:280px}
  .pair{display:flex;flex-wrap:wrap}
  .pair .button{padding:0 24px}
}

/* ---------- шапка ---------- */
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;height:58px;padding-inline:var(--pad)}
.top--inner{display:grid;grid-template-columns:44px 1fr 44px;padding-inline:6px}
.top--inner .top__logo{justify-self:center}
.top--inner .top__tools{justify-self:end}
.top__logo{display:flex;align-items:center;height:44px}
.top__back,.top__menu{background:transparent}
.top__tools{display:flex;align-items:center;gap:8px}
.top__pill{display:flex;align-items:center;gap:6px;height:44px;padding:0 16px 0 13px;border-radius:var(--r-pill);background:var(--tile-2);font-size:14px;font-weight:600;text-decoration:none}
.top__pill .ic{width:12px;height:12px}
.top__nav,.top__search,.top__buy{display:none}
@media (min-width:1100px){
  .top,.top--inner{position:sticky;top:0;z-index:30;display:flex;height:76px;gap:24px;padding-inline:var(--pad);background:rgba(250,250,251,.84);-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%)}
  .top .logo{height:28px}
  .top__back,.top__menu,.top__pill{display:none}
  .top__nav{display:flex;align-items:center;gap:36px;font-size:16px;font-weight:600}
  .top__nav a{display:inline-flex;align-items:center;height:44px;text-decoration:none}
  .top__nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px}
  .top__search{display:flex}
  .top__buy{display:inline-flex;height:48px}
}

/* ---------- первый экран главной: лист, на котором рисуют ---------- */
.hero{position:relative;isolation:isolate;padding:6px var(--pad) 30px}
.hero__pad{position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y;mix-blend-mode:multiply}
.hero__in{position:relative;display:flex;flex-direction:column;pointer-events:none}
.hero__words{position:relative;align-self:flex-start;margin-top:14px}
.hero__words h1{font-size:min(calc((100vw - var(--pad) * 2) / 3.115),210px);line-height:.82;white-space:nowrap}
.hero__words h1 span{display:block}
.hero__stroke{position:absolute;z-index:-1;max-width:none;height:auto;mix-blend-mode:multiply;animation:draw 640ms var(--ease) backwards}
.hero__stroke--1{left:-12.1%;top:-2.6%;width:113.3%}
.hero__stroke--2{left:-9.9%;top:25.6%;width:102.4%;animation-delay:150ms}
.hero__stroke--3{left:17.3%;top:56.3%;width:89.3%;animation-delay:300ms}
@keyframes draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.hero__side{display:flex;flex-direction:column}
.hero__lead{margin-top:18px;max-width:21em}
.tray{position:relative;margin-top:16px;max-width:460px}
.tray__set{display:flex;align-items:flex-end;justify-content:space-between;padding:0 60px 0 8px;pointer-events:auto}
.marker{display:flex;align-items:flex-end;justify-content:center;width:40px;height:88px;padding:0;border:0;background:transparent}
.marker__body{display:flex;flex-direction:column;align-items:center;width:28px;transition:transform 200ms var(--ease)}
.marker__cap{width:28px;height:36px;border-radius:9px 9px 3px 3px;background:var(--c);box-shadow:inset 0 -6px 0 rgba(18,20,26,.16),inset 4px 0 0 rgba(255,255,255,.24)}
.marker__ring{width:22px;height:5px;background:var(--ink)}
.marker__barrel{width:28px;height:44px;border-radius:3px 3px 0 0;background:#1d2029;box-shadow:inset 0 8px 0 var(--c)}
.marker[aria-pressed="true"] .marker__body{transform:translateY(-14px)}
.marker:active .marker__body{transform:translateY(-6px)}
.marker[aria-pressed="true"]:active .marker__body{transform:translateY(-10px)}
.tray__bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;margin-top:-26px;padding:0 5px 0 16px;border-radius:var(--r-m);background:var(--tile-2);pointer-events:auto}
.tray__hint{font-size:13.5px;line-height:1.3;font-weight:500}
@media (max-width:389px){ .tray__set{padding:0 44px 0 4px} } /* на узком экране маркеры не сжимаются */
.tray__erase{border-radius:14px;background:var(--paper)}
.tray__erase .ic{width:22px;height:22px}
.hero__shops{margin-top:18px;pointer-events:auto}
.hero__shops .cap{margin-bottom:10px}
.hero__shops--inline .shops{grid-template-columns:repeat(4,minmax(64px,1fr));max-width:460px}
@media (min-width:1100px){
  .hero{padding:clamp(36px,3.8vw,60px) var(--pad) clamp(40px,4.4vw,68px)}
  .hero__in{flex-direction:row;align-items:stretch;gap:56px}
  .hero__words{flex:none;margin-top:0}
  .hero__words h1{font-size:clamp(88px,17.2vw,300px)}
  .hero__stroke--1{left:-11.6%;top:-2%;width:116%}
  .hero__stroke--2{left:-9.8%;top:31%;width:101%}
  .hero__stroke--3{left:17.4%;top:65%;width:82.6%}
  .hero__side{flex:1 1 0;min-width:0;justify-content:space-between;padding-top:1.2vw}
  .hero__lead{margin-top:0;max-width:24em}
}

/* ---------- площадки ----------
   .mp        ряд логотипов под ценой: каждая ссылка занимает свою долю ширины целиком, без мёртвых зазоров
   .shops     четыре плитки с подписью
   .mp__logo  внутри лежит картинка логотипа; пока она грузится или если не загрузилась, видна подпись из data-tag */
.mp{display:flex;margin:-3px}
.mp__link{flex:1 1 0;min-width:0;max-width:52px;padding:3px;text-decoration:none;transition:transform 140ms var(--ease)}
.mp__logo{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;border-radius:var(--mp-radius);overflow:hidden;background:var(--tile-2);color:var(--ink);font-size:11px;font-weight:700;line-height:1}
.mp__logo::before{content:attr(data-tag)}
.mp__logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mp--fixed .mp__link{flex:none;width:50px}
.mp--on-tile .mp__logo{background:var(--paper)}
.mp__link--off{opacity:.45} /* товара сейчас нет на этой площадке */
.shops{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:520px}
.shop{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 2px 10px;border-radius:var(--r-m);background:var(--tile-2);font-size:11.5px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;transition:transform 140ms var(--ease)}
.shop .mp__logo{width:46px;background:var(--paper)}

/* ---------- линейки каталога ---------- */
.fams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}
.fam{display:flex;flex-direction:column;text-decoration:none}
.fam--big{grid-column:1 / -1}
.fam__pic{position:relative;display:block}
.fam__photo{display:block;aspect-ratio:173 / 148;border-radius:20px;overflow:hidden;background:var(--photo)}
.fam--big .fam__photo{aspect-ratio:358 / 212;border-radius:24px}
.fam__photo img{width:100%;height:100%;object-fit:cover;transition:transform 320ms var(--ease)}
.fam__tag{position:absolute;left:-6px;bottom:-12px;padding:7px 11px 5px}
.fam--big .fam__tag{left:-8px;bottom:-16px;padding:10px 18px 7px}
.fam__tag img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.fam__tag .d{position:relative;display:block;font-size:min(8.6vw,41px);line-height:.84;white-space:nowrap}
.fam--big .fam__tag .d{font-size:min(19vw,91px);line-height:.8}
.fam__cap{margin-top:20px;font-size:13px;font-weight:600;line-height:1.3}
.fam--big .fam__cap{margin-top:26px;font-size:14px}
@media (min-width:768px){
  .fams{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 20px}
  .fam--big{grid-column:span 2;grid-row:span 2}
  .fam--big .fam__pic{flex:1;min-height:0}
  .fam--big .fam__photo{height:100%;aspect-ratio:auto;border-radius:28px}
  .fam__photo{aspect-ratio:4 / 3;border-radius:24px}
  .fam__tag{left:-8px;bottom:-16px;padding:9px 14px 6px}
  .fam--big .fam__tag{left:-10px;bottom:-18px;padding:16px 28px 11px}
  .fam__tag .d{font-size:clamp(28px,3.5vw,60px)}
  .fam--big .fam__tag .d{font-size:clamp(56px,9.2vw,150px)}
  .fam__cap,.fam--big .fam__cap{margin-top:30px;font-size:clamp(14px,1.2vw,18px)}
}

/* ---------- карточка артикула: фото, название, цена «от», ссылки на площадки ---------- */
.grid-sku{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 10px}
.sku{display:flex;flex-direction:column;min-width:0}
.sku__link{display:flex;flex-direction:column;text-decoration:none}
.sku__photo{display:block;aspect-ratio:3 / 4;margin-bottom:10px;border:1px solid var(--edge);border-radius:var(--r-m);overflow:hidden;background:var(--tile)}
.sku__photo img{width:100%;height:100%;object-fit:cover;transition:transform 300ms var(--ease)}
.sku__title{font-size:15px;font-weight:650;line-height:1.25;text-wrap:balance}
.sku__buy{display:flex;flex-direction:column;gap:9px;margin-top:auto;padding-top:8px}
.rail{display:flex;align-items:stretch;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;margin-inline:calc(var(--pad) * -1);padding:0 var(--pad) 4px;scroll-padding-left:var(--pad)}
.rail::-webkit-scrollbar{display:none}
.rail > *{flex:0 0 46vw;max-width:220px;scroll-snap-align:start;scroll-snap-stop:always}
.rail--products{gap:12px}
.rail--products > *{flex-basis:min(72vw,290px);max-width:290px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.section-head .h-xl{min-width:0}
.rail-shell{position:relative;display:block;min-width:0}
.rail-shell__prev,.rail-shell__next{position:absolute;z-index:4;top:50%;transform:translateY(-50%);box-shadow:0 8px 24px rgba(18,20,26,.12)}
.rail-shell__prev{left:4px}
.rail-shell__next{right:4px}
.rail-shell > [data-rail]{min-width:0}
.rail-shell--products{margin-top:2px}
.rail-shell--products .rail-shell__prev,.rail-shell--products .rail-shell__next{top:clamp(180px,15vw,220px)}
.rail-shell .icon-button.is-disabled{opacity:.34}
@media (min-width:768px){ .grid-sku{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 16px} }
@media (min-width:1100px){
  .grid-sku{grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 20px}
  .rail--products{margin-inline:0;padding-inline:0;gap:20px}
  .rail--products > *{flex-basis:calc((100% - 60px) / 4);max-width:none}
  .sku__photo{margin-bottom:14px;border-radius:26px}
  .sku__title,.sku .price{font-size:19px}
  .sku__buy{gap:12px;padding-top:10px}
  .rail-shell__prev{left:-22px}
  .rail-shell__next{right:-22px}
}

/* ---------- подбор набора и карточка товара в строку ---------- */
.pick__cards{margin-top:14px}
.pick__card{display:flex;gap:14px;padding:12px;border-radius:var(--r-l);background:var(--tile)}
.pick__photo{flex:none;align-self:flex-start;width:31%;max-width:240px;aspect-ratio:3 / 4;border-radius:var(--r-s);overflow:hidden;background:var(--paper)}
.pick__photo img{width:100%;height:100%;object-fit:cover}
.pick__body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.pick__title{margin-top:2px;font-size:17px;line-height:1.25;font-weight:650}
.pick__title a{display:block;margin:-8px 0;padding:8px 0;text-decoration:none}
.pick__text{margin-bottom:6px;font-size:14px;line-height:1.4;color:var(--muted)}
.pick__buy{display:flex;flex-direction:column;gap:10px;margin-top:auto}
@media (max-width:359px){ .pick__buy .mp--fixed .mp__link{width:44px} }
@media (min-width:768px){
  .pick__card{max-width:720px;gap:24px;padding:18px;border-radius:30px}
  .pick__photo{border-radius:18px}
  .pick__title{font-size:clamp(20px,1.9vw,28px)}
  .pick__text{font-size:16px}
}
@media (min-width:1100px){
  .pick{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
  .pick__cards{margin-top:0}
  .pick__head .h-xl{margin-bottom:28px}
}

/* ---------- уроки: обложка и кнопка просмотра ---------- */
.cover{position:relative;display:block;aspect-ratio:16 / 9;border-radius:var(--r-l);overflow:hidden;background:#e7e4da}
.cover img{width:100%;height:100%;object-fit:cover}
.cover--s{border-radius:var(--r-s)}
.play{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:60px;height:60px;margin:-30px 0 0 -30px;border-radius:50%;background:var(--ink);color:var(--paper);box-shadow:0 0 0 4px rgba(250,250,251,.7)}
.play .ic{width:24px;height:24px;margin-left:3px}
.cover--s .play{width:34px;height:34px;margin:-17px 0 0 -17px;box-shadow:0 0 0 3px rgba(250,250,251,.7)}
.cover--s .play .ic{width:14px;height:14px;margin-left:2px}
.teaser{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.teaser__item{display:block;text-decoration:none}
.teaser__item:first-child{grid-column:1 / -1}
.teaser__cap{display:none}
.teaser__foot{display:flex;flex-direction:column;gap:16px;margin-top:16px}
@media (min-width:768px){
  .teaser{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .teaser__item:first-child{grid-column:auto}
  .teaser .cover{border-radius:var(--r-l)}
  .teaser .play{width:52px;height:52px;margin:-26px 0 0 -26px;box-shadow:0 0 0 4px rgba(250,250,251,.7)}
  .teaser .play .ic{width:21px;height:21px;margin-left:3px}
  .teaser__cap{display:flex;flex-direction:column;gap:2px;margin-top:12px;font-size:18px;font-weight:650;line-height:1.25}
  .teaser__cap small{font-size:15px;font-weight:400;color:var(--muted)}
  .teaser__foot{flex-direction:row;align-items:center;justify-content:space-between;gap:32px;margin-top:28px}
  .teaser__foot .intro{max-width:34em}
}

/* ---------- цветные плашки-мазки ---------- */
.swatch{position:relative;padding:30px 22px 26px}
.swatch__bg{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.swatch__in{position:relative}
.swatch__lead{margin-top:14px;max-width:30em}
.swatch--bleed{margin-inline:-8px}
.swatch .pair{margin-top:18px}
.review{height:100%}
.quote{font-family:var(--display);font-weight:800;font-size:clamp(40px,11.6vw,56px);line-height:.92;text-wrap:balance}
.review figcaption{margin-top:16px;font-size:14px;font-weight:600;line-height:1.4}
.split{display:flex;flex-direction:column;gap:var(--gap-section)}
.opt{display:flex;flex-direction:column;gap:14px}
.opt__side{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
@media (min-width:768px){
  .swatch{padding:clamp(36px,4vw,68px) clamp(28px,3.6vw,60px)}
  .swatch--bleed{margin-inline:-12px}
  .quote{font-size:clamp(56px,5.2vw,96px)}
}
@media (min-width:1100px){
  .split{flex-direction:row;align-items:stretch;gap:56px}
  .split > :first-child{flex:1.4 1 0;min-width:0}
  .split > :last-child{flex:1 1 0;min-width:0}
  .review .swatch{display:flex;flex-direction:column;justify-content:center;height:100%}
  .opt{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:56px}
  .opt h2{flex:1 1 0;min-width:0}
  .opt__side{flex:0 1 420px;gap:20px}
}

/* ---------- посты ВК ---------- */
.vk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.vk a{position:relative;display:block;aspect-ratio:1;border-radius:var(--r-s);overflow:hidden;background:var(--tile-2)}
.vk img{width:100%;height:100%;object-fit:cover}
.vk__video{position:absolute;right:6px;top:6px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:rgba(18,20,26,.72);color:var(--paper)}
.vk__video .ic{width:11px;height:11px;margin-left:1px}

/* ---------- подвал ---------- */
.foot{padding:56px var(--pad) calc(var(--dock-h) + 44px + env(safe-area-inset-bottom,0px))}
.foot__nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:22px}
.foot__nav a{display:flex;align-items:center;min-height:48px;font-size:16px;font-weight:600;text-decoration:none}
.foot__shops{margin-top:14px;padding-top:20px;border-top:1px solid var(--line)}
.foot__shops .cap{margin-bottom:10px}
.foot__info{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:20px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.5;color:var(--muted)}
.foot__info a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:600}
.foot__legal{display:flex;flex-direction:column;align-items:flex-start;margin-top:10px;font-size:13px;line-height:1.5;color:var(--muted)}
.foot__legal a{display:inline-flex;align-items:center;min-height:44px}
.foot__legal span{margin-top:8px}
@media (min-width:1100px){
  .foot{padding:clamp(64px,7vw,110px) var(--pad) 44px}
  .foot__cols{display:grid;grid-template-columns:1fr 1fr 1.3fr 1.5fr;gap:48px;margin-top:clamp(28px,3vw,48px);padding-top:28px;border-top:1px solid var(--line)}
  .foot__nav{display:flex;flex-direction:column;margin-top:0}
  .foot__nav a{min-height:40px;font-size:17px}
  .foot__shops,.foot__info{margin-top:0;padding-top:0;border-top:0}
  .foot__info{font-size:15px}
  .foot__legal{margin-top:0}
  .foot__legal a{min-height:40px}
}

/* ---------- нижняя панель на телефоне ---------- */
.dock{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:center;gap:6px;max-width:456px;margin-inline:auto;padding:7px;border-radius:var(--r-pill);background:rgba(250,250,251,.76);-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%);box-shadow:0 14px 34px -12px rgba(18,20,26,.34),inset 0 0 0 1px rgba(18,20,26,.09)}
.dock__menu{flex:none;display:flex;align-items:center;gap:8px;height:52px;padding:0 12px 0 16px;border:0;border-radius:var(--r-pill);background:transparent;font-size:16px;font-weight:600;transition:transform 140ms var(--ease)}
.dock__menu .ic,.dock__search .ic{width:22px;height:22px}
.dock__search{width:52px;height:52px;background:transparent}
.dock .button{flex:1}
.dock--buy{justify-content:space-between;gap:10px;padding-left:20px}
.dock__price{display:flex;flex-direction:column;gap:1px;min-width:0;font-size:11.5px;line-height:1.2;font-weight:500;color:var(--muted)}
.dock__price b{font-size:16px;font-weight:650;color:var(--ink);white-space:nowrap}
.dock--buy .mp{margin:0}
.dock--buy .mp__link{flex:none;width:min(52px,13vw);max-width:none}
#site:has(.dock--buy) .dock:not(.dock--buy){display:none} /* на карточке товара вместо общей панели панель покупки */
@media (min-width:1100px){ .dock{display:none} }

/* ---------- листы: «Где купить», меню, поиск. На десктопе лист становится боковой панелью ---------- */
.scrim{position:fixed;inset:0;z-index:50;width:100%;height:100%;padding:0;border:0;border-radius:0;background:rgba(18,20,26,.44);opacity:0;pointer-events:none;cursor:default;touch-action:none;transition:opacity 200ms ease}
.scrim.is-open{opacity:1;pointer-events:auto}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:60;max-width:480px;max-height:90dvh;margin-inline:auto;overflow-y:auto;overscroll-behavior:contain;padding:8px 16px calc(18px + env(safe-area-inset-bottom,0px));border-radius:28px 28px 0 0;background:var(--paper);box-shadow:0 -24px 60px -24px rgba(18,20,26,.4);visibility:hidden;transform:translateY(104%);transition:transform 220ms var(--ease-sheet),visibility 0s linear 220ms}
.sheet.is-open{visibility:visible;transform:translateY(0);transition:transform 340ms var(--ease-sheet),visibility 0s}
.sheet__grab{width:40px;height:5px;margin:0 auto 6px;border-radius:var(--r-pill);background:#c9cdd6}
.sheet__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sheet__logo{display:flex;align-items:center;height:44px}
.sheet__logo .logo{height:20px}
.sheet__title{padding-top:6px;font-size:clamp(44px,13.4vw,60px)}
.sheet__sub{margin-top:5px;font-size:15px;line-height:1.35;font-weight:500;color:var(--muted)}
.rows{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.shop-row{display:flex;align-items:center;gap:12px;min-height:62px;padding:8px 14px 8px 9px;border-radius:20px;background:var(--tile-2);text-decoration:none;transition:transform 140ms var(--ease)}
.shop-row .mp__logo{flex:none;width:46px;background:var(--paper)}
.shop-row__name{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0;font-size:18px;font-weight:650;line-height:1.2}
.shop-row__name small{font-size:13.5px;font-weight:400;line-height:1.3;color:var(--muted)}
.shop-row > .ic{width:18px;height:18px}
.sheet .note{margin:12px 2px 0}
.menu__list{display:flex;flex-direction:column;margin-top:8px;font-size:clamp(52px,15.4vw,72px);line-height:.9}
.menu__list a{display:block;padding:5px 0;text-decoration:none}
.menu__fams{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.menu__fams a{display:inline-flex;align-items:center;height:44px;padding:0 16px;border-radius:var(--r-pill);font-size:15px;font-weight:600;text-decoration:none}
.search{position:fixed;left:0;right:0;top:0;z-index:60;max-width:720px;max-height:92dvh;margin-inline:auto;overflow-y:auto;overscroll-behavior:contain;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 18px;border-radius:0 0 28px 28px;background:var(--paper);box-shadow:0 24px 60px -24px rgba(18,20,26,.4);visibility:hidden;transform:translateY(-104%);transition:transform 200ms var(--ease-sheet),visibility 0s linear 200ms}
.search.is-open{visibility:visible;transform:translateY(0);transition:transform 300ms var(--ease-sheet),visibility 0s}
.search__bar{display:flex;align-items:center;gap:8px}
.search__field{position:relative;flex:1;min-width:0;display:flex;align-items:center}
.search__field .ic{position:absolute;left:17px;pointer-events:none}
.search__input{width:100%;height:52px;padding:0 18px 0 48px;border:0;border-radius:var(--r-pill);background:var(--tile-2);color:var(--ink);font:500 16px var(--font);-webkit-appearance:none;appearance:none}
.search__input::placeholder{color:#5b6070;opacity:1}
.search__input::-webkit-search-cancel-button{-webkit-appearance:none}
.search__quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.search__quick .chip{height:44px;padding:0 16px;font-size:14.5px}
.search__list{display:flex;flex-direction:column;gap:6px;margin-top:14px}
.found{display:flex;align-items:center;gap:12px;min-height:68px;padding:6px 16px 6px 6px;border-radius:var(--r-m);background:var(--tile-2);text-decoration:none;transition:transform 140ms var(--ease)}
.found img{flex:none;width:42px;height:56px;object-fit:cover;border-radius:12px}
.found__name{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0;padding-left:0;font-size:16px;font-weight:650;line-height:1.25}
.found > .found__name:first-child{padding-left:10px}
.found__name small{font-size:13px;font-weight:400;line-height:1.3;color:var(--muted)}
.search__empty{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:14px;padding:0 2px;font-size:15px;line-height:1.45}
@media (min-width:1100px){
  .sheet{left:auto;right:12px;top:12px;bottom:auto;width:460px;max-width:none;max-height:calc(100dvh - 24px);margin:0;padding:22px 22px 24px;border-radius:28px;box-shadow:0 30px 80px -20px rgba(18,20,26,.45);transform:translateX(calc(100% + 24px))}
  .sheet.is-open{transform:translateX(0)}
  .sheet__grab{display:none}
  .sheet__title{font-size:60px}
  .search{top:12px;padding:16px;border-radius:28px}
}

/* ---------- каталог ---------- */
.fam-nav{padding-block:2px 14px}
.cat-head{position:relative}
.cat-head__photo{display:block;aspect-ratio:358 / 168;border-radius:24px;overflow:hidden;background:var(--photo)}
.cat-head__photo img{width:100%;height:100%;object-fit:cover}
.cat-head__tag{position:absolute;left:-8px;bottom:-16px;padding:10px 18px 7px}
.cat-head__tag img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.cat-head__tag h1{position:relative;font-size:min(19vw,150px);line-height:.8;white-space:nowrap}
.cat-head--long .cat-head__tag{max-width:calc(100% + 8px)}
.cat-head--long .cat-head__tag h1{font-size:min(10.6vw,96px);line-height:.86;white-space:normal} /* длинное название категории */
.cat-head__cap{margin-top:26px}
.kinds{margin-top:18px}
.category-rail{margin-top:18px;overflow:hidden}
.category-rail__viewport{min-width:0;overflow:hidden}
.category-rail .kinds{min-width:0;margin:0;padding:0;scroll-behavior:auto}
.catalog-results{margin-top:28px;text-align:center;font-size:14px;color:var(--muted)}
.kinds + .grid-sku{margin-top:20px}
.category-rail ~ .cat-grid{margin-top:20px}
.cat-head + .kinds,.cat-head + .cat-grid,.cat-head + .empty{margin-top:36px}
.kinds + .cat-grid{margin-top:20px}
.cat-head--plain .cat-head__tag{position:relative;left:auto;bottom:auto;display:inline-block;margin-left:-8px} /* у категории нет картинки */
.cat-text{margin-top:var(--gap-section)}
.empty{display:flex;flex-direction:column;gap:14px;margin-top:24px}
.help{display:block;margin-top:var(--gap-section);text-decoration:none}
.help__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;font-size:14px;font-weight:600;line-height:1.3}
.help__row .ic{width:18px;height:18px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px;font-size:13px;line-height:1.4;color:var(--muted)}
.crumbs a{display:inline-flex;align-items:center;min-height:44px}
.crumbs [aria-current]{color:var(--ink);font-weight:600}
.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:40px}
.pagination li > a,.pagination li > span{display:flex;align-items:center;justify-content:center;min-width:46px;height:46px;padding:0 14px;border-radius:var(--r-pill);background:var(--tile-2);font-weight:600;text-decoration:none}
.pagination li > .active{background:var(--ink);color:var(--paper)}
.pagination li > .disabled{opacity:.34}
.pagination__arrow{font-size:22px;line-height:1;transform:translateY(-1px)}
@media (min-width:768px){
  .cat-head__photo{aspect-ratio:1344 / 400;border-radius:32px}
  .cat-head__tag{left:-12px;bottom:-22px;padding:16px 28px 11px}
  .cat-head__cap{margin-top:36px;font-size:16px}
  .kinds{margin-top:24px}
  .kinds + .grid-sku{margin-top:32px}
  .category-rail ~ .cat-grid{margin-top:32px}
  .help__row{justify-content:flex-start;font-size:18px}
}

/* ---------- карточка товара ---------- */
.gallery-shell{position:relative}
.gallery{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-inline:calc(var(--pad) * -1);padding-inline:var(--pad);scroll-padding-left:var(--pad)}
.gallery::-webkit-scrollbar{display:none}
.gallery__item{flex:0 0 80vw;max-width:384px;scroll-snap-align:start;scroll-snap-stop:always;aspect-ratio:3 / 4;border:1px solid var(--edge);border-radius:var(--r-l);overflow:hidden;background:var(--tile)}
.gallery__item img{width:100%;height:100%;object-fit:cover}
.gallery__note{margin-top:10px}
.gallery-controls{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.product__info{display:flex;flex-direction:column}
.product__title{margin-top:24px;font-size:clamp(42px,11vw,62px)}
.product__reviews{margin-top:10px;font-size:14px;line-height:1.4;font-weight:600;color:var(--muted)}
.buy{display:flex;flex-direction:column;margin-top:18px}
.buy .price{margin-bottom:16px}
.buy .cap{margin-bottom:8px}
.buy .note{margin:10px 2px 0}
.product__block{margin-top:28px}
.product__block .cap{margin-bottom:8px}
.series{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:520px}
.series a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:60px;padding:6px 2px;border-radius:16px;background:var(--tile-2);font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;text-decoration:none}
.series a b{font-family:var(--display);font-weight:900;font-size:27px;line-height:.9}
.series a[aria-current="page"]{background:var(--ink);color:var(--paper)}
.product-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:520px}
.product-variant{display:flex;align-items:center;gap:9px;min-width:0;padding:7px;border:1px solid transparent;border-radius:16px;background:var(--tile-2);text-decoration:none}
.product-variant[aria-current="page"]{border-color:var(--ink);background:var(--paper);box-shadow:inset 0 0 0 1px var(--ink)}
.product-variant__image{flex:0 0 52px;width:52px;height:52px;overflow:hidden;border-radius:11px;background:var(--paper)}
.product-variant__image img{width:100%;height:100%;object-fit:contain}
.product-variant>span:last-child{display:flex;min-width:0;flex-direction:column;gap:3px;font-size:11px;line-height:1.15}
.product-variant b{overflow:hidden;font-size:12px;text-overflow:ellipsis}
.product-variant small{font-size:11px;color:var(--muted)}
.product__desc{margin-top:24px;max-width:44em;font-size:16px;line-height:1.5}
.specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.specs li{display:flex;flex-direction:column;gap:6px;padding:16px 16px 14px;border-radius:20px;background:var(--tile);font-size:14px;line-height:1.35;color:var(--muted)}
.specs b{font-family:var(--display);font-weight:900;font-size:44px;line-height:.9;color:var(--ink);text-transform:uppercase}
.specs b.keep{text-transform:none}
.linkcard{display:flex;align-items:center;gap:14px;max-width:720px;padding:10px;border-radius:var(--r-l);background:var(--tile);text-decoration:none}
.linkcard .cover,.linkcard__pic{flex:none;width:36%;max-width:220px}
.linkcard__pic{aspect-ratio:16 / 9;border-radius:var(--r-s);overflow:hidden;background:var(--photo)}
.linkcard__pic img{width:100%;height:100%;object-fit:cover}
.linkcard__text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;font-size:16px;font-weight:650;line-height:1.25}
.linkcard__text small{font-size:13.5px;font-weight:400;line-height:1.35;color:var(--muted)}
.linkcard > .ic{width:18px;height:18px}
@media (min-width:768px){
  .specs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .linkcard{gap:24px;padding:14px 20px 14px 14px}
  .linkcard__text{font-size:20px}
  .linkcard__text small{font-size:15px}
}
@media (min-width:1100px){
  .product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:start}
  .gallery{max-height:80vh;margin-inline:0;padding-inline:0;gap:14px}
  .gallery__item{flex:0 0 90%;border-radius:26px}
  .product__info{position:sticky;top:96px}
  .product__title{margin-top:0;font-size:clamp(56px,5.2vw,84px)}
  .specs{grid-template-columns:repeat(6,minmax(0,1fr))}
}

/* ---------- страница уроков ---------- */
.lhero{position:relative;isolation:isolate;display:inline-block;margin-top:22px}
.lhero h1{font-size:min(calc((100vw - var(--pad) * 2) / 4.1),170px);line-height:.84;white-space:nowrap}
.lhero h1 span{display:block}
.lhero img{position:absolute;z-index:-1;max-width:none;height:auto;mix-blend-mode:multiply;animation:draw 640ms var(--ease) backwards}
.lhero img:nth-of-type(1){left:-11%;top:-9%;width:112%}
.lhero img:nth-of-type(2){left:2%;top:43%;width:104%;animation-delay:150ms}
.lhero__lead{margin-top:18px;max-width:28em}
.stick{position:sticky;top:0;z-index:20;margin-top:12px;padding-block:10px;background:rgba(250,250,251,.86);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%)}
.lesson-top{margin-top:8px;scroll-margin-top:76px}
.player__frame{position:relative;aspect-ratio:16 / 9;border-radius:var(--r-l);overflow:hidden;background:#e7e4da}
.player__frame .cover{height:100%;border-radius:0}
.player__frame .play{width:68px;height:68px;margin:-34px 0 0 -34px;box-shadow:0 0 0 5px rgba(250,250,251,.7)}
.player__frame .play .ic{width:28px;height:28px}
.player__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.player__frame.is-playing .cover{visibility:hidden}
.player__title{margin-top:16px;font-size:22px;line-height:1.2;font-weight:650;text-wrap:balance}
.player__meta{margin-top:4px;font-size:14px;line-height:1.4;color:var(--muted)}
.need__label{margin-top:18px}
.need{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.need__row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:6px 7px 6px 16px;border-radius:var(--r-m);background:var(--tile-2);font-size:15px;font-weight:600;line-height:1.25}
.need__row .mp{flex:none;margin:0}
.need__row .mp__link{width:44px}
.lesson-sec__count{margin:8px 0 16px;font-size:14px}
.lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}
.lesson{display:flex;flex-direction:column;gap:8px;padding:0;border:0;background:transparent;text-align:left;font-size:14.5px;font-weight:600;line-height:1.25}
.lesson small{display:block;margin-top:2px;font-size:12.5px;font-weight:400;line-height:1.3;color:var(--muted)}
.lesson__pic{position:relative;display:block;aspect-ratio:16 / 9;border-radius:var(--r-s);overflow:hidden;background:var(--tile-2);transition:box-shadow 160ms ease}
.lesson__pic img{width:100%;height:100%;object-fit:cover}
.lesson__now{position:absolute;left:6px;bottom:6px;display:none;align-items:center;height:22px;padding:0 8px;border-radius:var(--r-pill);background:var(--ink);color:var(--paper);font-size:11.5px;font-weight:600}
.lesson[aria-pressed="true"] .lesson__pic{box-shadow:0 0 0 3px var(--paper),0 0 0 6px var(--ink)}
.lesson[aria-pressed="true"] .lesson__now{display:flex}
.lesson-sec__with{margin:44px 0 14px}
.articles{max-width:860px;border-bottom:1px solid var(--line)}
.articles a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;padding:10px 0;border-top:1px solid var(--line);font-size:17px;font-weight:600;line-height:1.3;text-decoration:none}
.articles small{display:block;margin-top:2px;font-size:13px;font-weight:400;color:var(--muted)}
.articles .ic{width:16px;height:16px}
@media (min-width:768px){
  .lessons{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 16px}
  .lesson{font-size:17px}
  .lesson small{font-size:14px}
}
@media (min-width:1100px){
  .stick{top:76px}
  .lesson-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:start;margin-top:20px;scroll-margin-top:156px}
  .lessons{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 20px}
  .player__title{margin-top:0;font-size:32px}
  .player__meta{font-size:16px}
}

/* ---------- о бренде, поиск, текстовые страницы ---------- */
.about-top .intro{margin-top:18px;max-width:30em}
.about-photo{aspect-ratio:358 / 214;margin-top:24px;border-radius:24px;overflow:hidden;background:var(--photo)}
.about-photo img{width:100%;height:100%;object-fit:cover}
.stack{display:flex;flex-direction:column;gap:14px}
.about-text{margin-top:28px;max-width:36em}
.about-text .d{margin-top:10px}
.why{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.why li{display:flex;flex-direction:column;gap:6px;padding:16px 16px 15px;border-radius:20px;background:var(--tile);font-size:16px;font-weight:650;line-height:1.25;text-wrap:balance}
.why li:first-child{grid-column:1 / -1;font-size:19px}
.why small{font-size:14px;font-weight:400;line-height:1.4;color:var(--muted)}
.contacts{border-bottom:1px solid var(--line)}
.contacts div{display:flex;flex-direction:column;gap:2px;padding:14px 0;border-top:1px solid var(--line)}
.contacts dt{font-size:13px;line-height:1.3;color:var(--muted)}
.contacts dd{font-size:17px;font-weight:600;line-height:1.35}
.contacts a{display:inline-flex;align-items:center;min-height:44px;margin:-10px 0}
.attrs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:900px}
.attrs + .attrs{margin-top:8px}
.attrs div{display:flex;flex-direction:column;gap:5px;min-height:92px;padding:16px;border-radius:18px;background:var(--tile);font-size:15px;line-height:1.35}
.attrs dt{font-size:12.5px;color:var(--muted)}
.attrs dd{font-weight:650;text-align:left}
.product-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:1100px}
.product-feature{display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:132px;padding:18px;border-radius:22px;background:var(--tile);overflow:hidden}
.product-feature:first-child{background:var(--ink);color:var(--paper)}
.product-feature dt{font-size:13px;line-height:1.3;color:var(--muted)}
.product-feature:first-child dt{color:rgba(255,255,255,.64)}
.product-feature dd{font-family:var(--display);font-size:clamp(26px,7vw,46px);font-weight:900;line-height:.88;text-transform:uppercase;overflow-wrap:anywhere}
.product-feature--wide{grid-column:1 / -1;min-height:118px}
.product-feature--wide dd{font-family:var(--font);font-size:17px;font-weight:650;line-height:1.32;text-transform:none}

/* ---------- оптовикам ---------- */
.wholesale{padding-bottom:24px}
.wholesale-hero{display:grid;gap:28px;padding-top:24px}
.wholesale-hero > *{min-width:0}
.wholesale-hero .cap{margin-bottom:12px}
.wholesale-hero__title{margin-bottom:0;font-size:clamp(50px,17vw,68px);white-space:nowrap}
.wholesale-hero .intro{max-width:31em;margin-top:18px}
.wholesale-hero__actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:22px}
.wholesale-hero__actions .button{width:100%;padding-inline:18px}
.wholesale-hero__art{position:relative;aspect-ratio:4 / 3;min-height:0;border-radius:28px;overflow:hidden;background:var(--yellow)}
.wholesale-hero__art img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;opacity:.82}
.wholesale-hero__art span{position:absolute;left:20px;right:20px;bottom:18px;font-size:clamp(56px,15vw,98px);line-height:.72}
.wholesale-hero__art small{display:block;font:inherit;font-size:.56em;line-height:.8}
.wholesale-section__title{max-width:11em;font-size:clamp(44px,12vw,64px)}
.wholesale-benefits{display:grid;grid-template-columns:1fr;gap:8px}
.wholesale-benefits li{display:flex;flex-direction:column;gap:8px;min-height:0;padding:20px;border-radius:22px;background:var(--tile)}
.wholesale-benefits b{font-size:18px;line-height:1.2}
.wholesale-benefits span{font-size:14px;line-height:1.45;color:var(--muted)}
.wholesale-contact{display:grid;gap:24px;padding-bottom:32px}
.wholesale-contact .cap{margin-bottom:12px}
.wholesale-contact__body{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.wholesale-contact .button{height:auto;min-height:52px;padding-block:12px;white-space:normal;text-align:center}
.form-lead{margin:14px 0 20px}
.form{display:flex;flex-direction:column;gap:12px;max-width:560px}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;line-height:1.3}
.input,.textarea{width:100%;min-height:52px;padding:14px 18px;border:0;border-radius:var(--r-m);background:var(--tile-2);color:var(--ink);font:500 16px/1.4 var(--font);-webkit-appearance:none;appearance:none}
.textarea{min-height:140px;resize:vertical}
.input::placeholder,.textarea::placeholder{color:#5b6070;opacity:1}
.field__error{font-size:13px;font-weight:500;color:#b3261e}
.alert{padding:14px 18px;border-radius:var(--r-m);background:var(--tile-2);font-size:15px;line-height:1.4}
.search-form{max-width:720px;margin-bottom:16px}
.search-form .button{flex:none}
.search-count{margin-bottom:20px;font-size:14px}
.prose{max-width:68ch;font-size:17px;line-height:1.6}
.prose > * + *{margin-top:1em}
.prose h2{margin-top:1.8em;font-size:24px;line-height:1.25;font-weight:650}
.prose h3{margin-top:1.6em;font-size:19px;line-height:1.3;font-weight:650}
.prose ul{padding-left:1.2em;list-style:disc}
.prose ol{padding-left:1.4em;list-style:decimal}
.prose img{border-radius:var(--r-m)}
@media (min-width:768px){
  .why{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  .why li{grid-column:span 2;padding:22px}
  .why li:first-child{grid-column:span 4}
  .contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:40px}
  .attrs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .product-features{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .product-feature{min-height:168px;padding:22px}
  .product-feature--wide{grid-column:span 2}
  .product-feature--wide dd{font-size:19px}
  .wholesale-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .wholesale-benefits li{min-height:176px;padding:24px}
  .wholesale-section__title{font-size:clamp(64px,7vw,96px)}
  .wholesale-hero__actions{flex-direction:row;align-items:center}
  .wholesale-hero__actions .button{width:auto}
}
@media (min-width:1100px){
  .about-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
  .about-photo{aspect-ratio:4 / 3;margin-top:0;border-radius:32px}
  .cols-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
  .about-text{margin-top:0}
  .why{grid-template-columns:repeat(6,minmax(0,1fr))}
  .why li,.why li:first-child{grid-column:span 1}
  .why li:first-child{grid-column:span 2}
  .wholesale-hero{grid-template-columns:minmax(0,.85fr) minmax(520px,1.15fr);gap:clamp(48px,6vw,92px);align-items:start;padding-top:48px}
  .wholesale-hero__copy{padding-top:24px}
  .wholesale-hero__title{font-size:clamp(84px,7.6vw,118px)}
  .wholesale-hero__art{aspect-ratio:16 / 10;border-radius:36px}
  .wholesale-hero__art span{left:28px;right:28px;bottom:26px;font-size:clamp(68px,5.8vw,92px)}
  .wholesale-section__title{max-width:12em;font-size:clamp(72px,6.6vw,104px)}
  .wholesale-benefits{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .wholesale-benefits li{min-height:220px;padding:24px}
  .wholesale-contact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start;padding-bottom:64px}
}

/* ---------- наведение: только там, где есть мышь ---------- */
@media (hover:hover) and (pointer:fine){
  .shop-row:hover,.found:hover{background:#e3e6ec}
  .sku__link:hover .sku__photo img,.fam:hover .fam__photo img{transform:scale(1.03)}
  .mp__link:hover .mp__logo,.shop:hover .mp__logo{box-shadow:0 0 0 2px var(--ink)}
  .button--ghost:hover{background:var(--ink);color:var(--paper)}
  .top__nav a:hover,.pick__title a:hover{text-decoration:underline;text-decoration-thickness:2px}
}

/* ---------- меньше движения, меньше прозрачности ---------- */
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }
@media (prefers-reduced-motion:reduce){
  .hero__stroke,.lhero img{animation:none}
  *,*::before,*::after{transition-duration:1ms !important}
}
@media (prefers-reduced-transparency:reduce){
  .dock,.top,.stick{background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}
}
