/* ПРОПЕЧЬ — яркая современная айдентика российского производителя. */
:root{--bg:#FFFDF8;--bg-2:#F3F3F0;--warm:#FFF0D4;--card:#fff;--ink:#182322;--ink-2:#59635F;--olive:#DF3025;--olive-dark:#BE241A;--olive-soft:#FFE5DE;--kraft:#FFD341;--kraft-dark:#AA773B;--line:#E2E5E0;--line-2:#D1D6D0;--font-h:'Golos Text',Arial,sans-serif;--font:'Golos Text',Arial,sans-serif;--container:1280px;--hdr:86px;--r-lg:30px;--r:24px;--r-sm:14px;--blue:#2352E8}
body{background:var(--bg)} h2{font-weight:800;letter-spacing:-.03em;line-height:1.05;font-size:clamp(2.3rem,4.1vw,3.7rem)} .accent{color:var(--olive)} .section{padding-block:clamp(66px,7vw,104px)} .eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.1em} .sec-head{margin-bottom:38px}.sec-sub{font-size:1rem;line-height:1.65}.btn{border-radius:14px;font-weight:600;font-size:.9rem}.btn--lg{height:58px;padding-inline:28px}.btn--primary:hover{box-shadow:0 10px 30px -20px #BE241A}.btn--ghost{background:transparent}.brand-strip{background:var(--blue);color:white;font-size:.7rem;font-weight:500}.brand-strip .container{display:flex;justify-content:space-between;gap:15px;padding-block:10px}.brand-strip a{display:flex;gap:16px}.hdr,.hdr.is-scrolled{background:rgba(255,253,248,.97);border-bottom:1px solid var(--line)}.hdr__in{gap:25px}.logo{display:flex;align-items:center;gap:11px;color:var(--olive)}.logo__mark{width:43px;height:43px;flex:none}.logo__type{display:grid;gap:4px}.logo__name{font-size:1.5rem;font-weight:800;letter-spacing:-.025em}.logo__sub{font-size:.59rem;color:var(--ink-2);letter-spacing:.02em}.nav{gap:0}.nav a{font-size:.81rem;padding-inline:12px}.hdr__phone{font-weight:600;font-size:.83rem;white-space:nowrap}.hdr__order{height:44px;margin-left:8px}.hdr__msg{display:none}
.hero{background:#DF3025;color:#fff;padding-block:58px 42px;overflow:hidden}.hero::before,.hero::after{display:none}.hero__grid{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:18px}.hero__eyebrow{display:flex;align-items:center;gap:10px;color:white;margin-bottom:28px}.ru-flag{display:inline-block;width:25px;height:18px;border-radius:3px;background:linear-gradient(to bottom,#fff 0 33.33%,#2454E5 33.33% 66.66%,#EF4035 66.66%);box-shadow:0 0 0 1px #0001;flex:none}.hero__title{font-size:clamp(3.6rem,6.3vw,5.7rem);font-weight:800;line-height:.96;letter-spacing:-.035em}.hero__title span{display:inline;color:#FFE37C}.hero__lead{max-width:430px;margin-top:27px;color:#FFF2EB;font-size:1rem;line-height:1.65}.hero__actions{margin-top:30px;gap:23px;align-items:center}.hero__actions .btn--primary{background:white;color:#B91E16;border-color:white}.hero__actions .btn--primary:hover{background:#FFEABF}.hero__secondary{display:flex;align-items:center;gap:9px;font-size:.82rem;font-weight:500}.hero__secondary:hover{color:#FFE37C}.hero__perks{margin-top:30px;gap:10px 22px}.hero__perks li{color:#FFE5DE;font-size:.72rem}.hero__perks .ico{background:transparent;color:white;width:19px;height:19px;padding:2px}.hero__media{position:relative;min-width:0}.hero__media::before{content:'';position:absolute;inset:7% -8% 7% 8%;border-radius:50%;background:#FF7245;transform:rotate(-15deg)}.hero__media::after{content:'';position:absolute;inset:1% -14% 0 0;border:1px solid #FF9771;border-radius:50%;transform:rotate(-15deg);pointer-events:none}.hero__photo{position:relative;z-index:1;aspect-ratio:1.04;background:transparent;border-radius:0;box-shadow:none;overflow:visible}.hero__photo img{object-fit:contain;width:117%;height:100%;max-width:none;position:relative;left:-8%;filter:drop-shadow(0 25px 23px #671C1224);transform:rotate(-5deg)}.hero__seal{position:absolute;right:-8px;top:-8px;z-index:3;width:102px;height:102px;background:#FFFDF8;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;outline:4px solid #fff5;border:1px solid #FFFDF8;border-radius:50%;font-size:.77rem;text-align:center;font-weight:700;line-height:1.2;transform:rotate(10deg)}.hero__sticker{position:absolute;left:4%;bottom:36px;z-index:3;background:#FFD341;color:#312200;transform:rotate(-9deg);border-radius:15px;padding:17px 21px;font-size:.87rem;font-weight:700;line-height:1.3;box-shadow:0 8px 0 #D59B1730}.hero__caption{position:relative;z-index:3;display:flex;justify-content:space-between;gap:15px;margin-top:13px;font-size:.63rem;letter-spacing:.025em;color:#FFE5DE}.hero__caption span:last-child{font-size:.6rem;letter-spacing:.1em}.product-ribbon{background:var(--ink);color:white}.product-ribbon .container{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:23px;font-weight:500;font-size:.96rem}.ribbon-star{font-size:1.8rem;color:#FFD341;font-weight:400}
#catalog{background:var(--bg)}#catalog .sec-head--split{align-items:center}.catalog{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.catalog-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:27px}.catalog-filter{border:1px solid var(--line-2);border-radius:999px;padding:11px 21px;background:transparent;font:500 .82rem var(--font);color:var(--ink);cursor:pointer}.catalog-filter[aria-pressed='true']{background:var(--ink);color:white;border-color:var(--ink)}.catalog-filter:hover{border-color:var(--ink)}.pcard{border:0;background:var(--bg-2);border-radius:23px;box-shadow:none;overflow:hidden}.pcard:hover{box-shadow:0 18px 40px -30px #18232255;transform:translateY(-4px)}.pcard__media{aspect-ratio:1.02;background:#E7EEFF;overflow:hidden}.pcard__media img{object-fit:contain;object-position:center;padding:15px;width:100%;height:100%;transition:transform .6s}.pcard:hover .pcard__media img{transform:scale(1.05)}.pcard__body{padding:21px 19px}.pcard__title{font-size:1.14rem;letter-spacing:-.02em;line-height:1.18}.pcard__short{font-size:.78rem;line-height:1.55;margin-top:10px}.pcard__meta{display:flex;flex-wrap:wrap;gap:9px;margin-block:18px;padding:0}.pcard__meta li{padding:6px 8px;border-radius:7px;background:#fff;font-size:.65rem}.pcard__badge{background:var(--ink);color:white;font-size:.6rem;border-radius:7px;padding:7px 9px;left:12px;top:12px}.pcard__count{background:#ffffffc7;color:var(--ink);border-radius:7px;font-size:.6rem}.pcard__foot{flex-direction:column;align-items:stretch;gap:11px;border-top:1px solid var(--line);padding-top:16px}.price--ask{font-size:.7rem;color:var(--ink-2)}.pcard__actions{display:grid;grid-template-columns:1fr;gap:8px}.pcard__actions .btn{width:100%;font-size:.73rem;height:40px}.sku{font-size:.65rem}.catalog-note{margin-top:26px;font-size:.77rem;color:var(--ink-2)}
#presentation{background:var(--bg-2)}.split__media{border-radius:28px}.split__body h2 span{color:var(--olive)}.split__body .lead{font-size:.94rem;line-height:1.75}.ticks li{font-size:.86rem}.ticks .ico{background:#FFE5DE;border-radius:50%;padding:3px}#benefits{background:var(--bg);padding-block:64px}.benefits{gap:18px}.benefit{padding:25px;background:#F3F3F0;border:0;border-radius:20px}.benefit:nth-child(2),.benefit:nth-child(5){background:#E7EEFF}.benefit:nth-child(3),.benefit:nth-child(6){background:#FFF0D4}.benefit__icon{background:transparent;color:var(--olive);width:45px;height:45px;padding:0}.benefit h3{font-size:1.08rem;letter-spacing:-.03em}.benefit p{font-size:.83rem;line-height:1.65}#how{background:#FFF0D4}.step__media{background:#FFF8E7;border-radius:20px}.step__num{background:var(--olive);color:white}.ph__tag{display:none}.step h3{letter-spacing:-.03em}
#production{background:var(--blue);color:white;position:relative;overflow:hidden}#production::after{content:'РФ';position:absolute;right:-30px;top:-40px;font-size:370px;font-weight:900;line-height:1;opacity:.05;pointer-events:none}#production .container{position:relative;z-index:1}#production .eyebrow{color:#FFD341}#production .sec-sub{max-width:750px;color:#DFE7FF;font-size:1rem;line-height:1.7}.journal{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:18px}.jitem{grid-column:auto;grid-row:auto;aspect-ratio:1.25;border-radius:22px;background:#f4f4f1}.jitem .media{background:transparent}.jitem .media img{object-fit:contain;padding:13px}.jitem__cap{background:linear-gradient(transparent,#10268D99);font-size:.8rem;padding:50px 17px 17px}.journal__note{color:#D4DFFF;font-size:.73rem}.journal__note .ico{color:#FFD341}#production .stage{border-color:#7C9BFF}#production .stage__num{color:#FFD341}#production .stage h3{font-size:1.05rem;color:white}#production .stage p{font-size:.86rem;color:#DFE7FF}#production .btn--ghost{color:white;border-color:#9BB2FF}#production .btn--ghost:hover{background:#315CED}
#gallery{background:var(--bg)}.gitem{border-radius:20px}.gitem__cap{border-radius:9px;font-size:.75rem}.rcard{border:0;border-radius:22px;background:#F3F3F0;box-shadow:none}.rcard__body{padding:23px}.rcard__body h3{font-size:1.15rem;letter-spacing:-.02em}.rcard__body>p{font-size:.84rem}.rcard__cat{border-radius:7px;font-size:.69rem}.chip{border-radius:10px;font-size:.82rem}.chip.is-active{background:var(--ink);border-color:var(--ink)}#wholesale{background:#FFD341}.wholesale__media{border-radius:28px;background:#FFF2B6}.wholesale__media img{object-fit:contain;padding:20px}.wholesale__caption{position:absolute;left:0;right:0;bottom:0;padding:25px;background:linear-gradient(transparent,#FFF2B6);font-size:1.8rem;font-weight:800;letter-spacing:-.025em;color:var(--ink)}.wholesale__caption span{display:block;margin-top:6px;font-size:.8rem;font-weight:500;letter-spacing:0}.partners li{font-size:.85rem}.card-form{border-radius:22px;box-shadow:none;background:var(--bg);border:0}.field input,.field select,.field textarea{border-radius:11px}.qa summary{font-size:1rem}.qa summary i{border-radius:9px}.phone-note{font-size:.7rem;display:block;margin-top:5px;font-weight:400;color:var(--ink-2)}.contact-list .ci{border-radius:14px}.ftr{background:var(--ink);color:#DEE4DA}.ftr .logo,.ftr .logo__name{color:white}.ftr__brand p,.ftr__nav a,.ftr__list,.ftr__bottom{color:#B7C2B1}.ftr__nav a:hover,.ftr a:hover{color:#FFD341}.ftr__bottom{border-color:#3C4940;font-size:.74rem}.ftr__image-note{font-size:.65rem}.fab__btn{background:var(--olive);box-shadow:0 6px 20px #18232222}.mbar{background:rgba(255,253,248,.97);justify-content:space-around}.cm__preview p{white-space:pre-wrap}.size-guide{padding:25px}.size-guide h2{font-size:1.9rem;margin-bottom:20px}.size-guide p{font-size:.9rem;color:var(--ink-2)}.size-guide ul{display:grid;gap:10px;margin:20px 0}.size-guide li{padding:14px;background:var(--bg-2);border-radius:12px;font-size:.85rem}.size-guide small{display:block;color:var(--ink-2);margin-top:5px}
@media(max-width:1200px){.hdr__phone{display:none}.hero__grid{gap:24px}.hero__title{font-size:clamp(3.4rem,6.4vw,5.5rem)}.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.pcard__actions{grid-template-columns:1fr 1fr}.pcard__media{aspect-ratio:1.25}}
@media(max-width:1100px){.hdr__phone{display:inline}.hdr__order{font-size:.78rem}}
@media(max-width:900px){.hero{padding-block:42px 35px}.hero__grid{grid-template-columns:1fr;gap:40px}.hero__title{font-size:clamp(3.7rem,10.3vw,5.8rem)}.hero__lead{max-width:600px}.hero__media{max-width:680px;width:100%;margin:auto}.hero__photo{aspect-ratio:1.5}.hero__seal{right:15px;top:5px}.hero__sticker{bottom:25px;left:10px}.product-ribbon .container{justify-content:center;flex-wrap:wrap;gap:15px 25px;font-size:.82rem}.product-ribbon .ribbon-star:last-of-type,.product-ribbon .container>span:last-child{display:none}.journal{grid-template-columns:repeat(3,minmax(0,1fr))}.jitem__cap{font-size:.65rem;padding-inline:10px}.jitem__cap>span{display:none}}
@media(max-width:640px){:root{--hdr:72px}.brand-strip .container{justify-content:center;padding-block:8px;font-size:.62rem}.brand-strip a{display:none}.logo{gap:9px}.logo__mark{width:35px;height:35px}.logo__name{font-size:1.35rem}.logo__sub{font-size:.53rem}.hdr__phone,.hdr__contact{display:none}.hero{padding-block:31px 28px}.hero__eyebrow{font-size:.58rem;letter-spacing:.08em;margin-bottom:24px}.hero__title{font-size:clamp(3.1rem,12.5vw,4.6rem);line-height:.98}.hero__lead{font-size:.88rem;margin-top:24px;max-width:430px}.hero__actions{flex-wrap:wrap;gap:15px 18px;margin-top:23px}.hero__actions .btn{flex:none;height:50px;padding-inline:20px;font-size:.81rem}.hero__secondary{font-size:.72rem}.hero__perks{margin-top:22px;gap:8px 14px}.hero__perks li{font-size:.65rem}.hero__grid{gap:32px}.hero__photo{aspect-ratio:1.15}.hero__seal{width:76px;height:76px;right:0;top:0;font-size:.62rem;outline-width:3px;gap:5px}.hero__seal .ru-flag{width:22px;height:15px}.hero__sticker{font-size:.68rem;padding:12px 14px;border-radius:10px;bottom:20px}.hero__caption{font-size:.54rem;margin-top:13px}.hero__caption span:last-child{font-size:.49rem}.product-ribbon .container{gap:13px;font-size:.66rem;padding-block:18px}.ribbon-star{font-size:1.2rem}h2{font-size:clamp(2.1rem,8.4vw,2.7rem)}.sec-head{margin-bottom:28px}.sec-sub{font-size:.88rem}.catalog{grid-template-columns:1fr;gap:20px}.catalog-filter{font-size:.73rem;padding:10px 16px}.catalog-filters{gap:7px}.pcard__body{padding:22px}.pcard__title{font-size:1.3rem}.pcard__short{font-size:.83rem}.pcard__media{aspect-ratio:1.2}.pcard__meta li{font-size:.75rem;padding:8px 10px}.pcard__actions .btn{font-size:.8rem}.pcard__foot{flex-direction:column;gap:12px}.price--ask{font-size:.75rem}.benefits{gap:13px}.benefit{padding:20px}.benefit p{font-size:.78rem}.benefit h3{font-size:.95rem}.journal{grid-template-columns:1fr}.jitem{aspect-ratio:1.4}.jitem__cap{font-size:.82rem;padding:45px 18px 18px}.jitem__cap>span{display:inline}.journal__note{font-size:.67rem}.stages{gap:22px}.qa summary{font-size:.91rem}.ftr__bottom{gap:16px}.wholesale__caption{font-size:1.5rem}.wholesale__media{aspect-ratio:1.1}}
@media(prefers-reduced-motion:reduce){.pcard:hover{transform:none}.pcard:hover .pcard__media img{transform:none}}

.btn--wb{background:#7B24D2;color:#fff;border-color:#7B24D2}.btn--wb:hover{background:#6319B1;border-color:#6319B1;color:#fff}.pcard[hidden]{display:none!important}.catalog-filter[aria-pressed="true"]{background:var(--ink);color:white;border-color:var(--ink)}.pcard__actions{gap:8px}.pcard__actions .btn{padding-inline:12px}.pcard__short{min-height:4.7em}.price--ask{font-size:.78rem}.pm__main{background:#F2F3EE}.pm__main img{object-fit:contain}.pm__order>.btn{margin-bottom:20px}


/* Читаемая типографика и одинаковые размеры элементов управления. */
body { font-synthesis: none; font-kerning: normal; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 750; line-height: 1.12; }
h3 { font-weight: 650; letter-spacing: -.02em; }
.hero__title { font-weight: 750; line-height: 1.02; }
.hero__lead { color: #fff; font-size: 1.0625rem; line-height: 1.65; }
.hero__perks li { color: #fff; font-size: .8125rem; }
.hero__caption { color: #fff; font-size: .75rem; letter-spacing: 0; }
.hero__caption span:last-child { font-size: .6875rem; letter-spacing: .06em; }
.hero__secondary { font-size: .875rem; }
.hero__eyebrow { font-size: .75rem; letter-spacing: .08em; }
.logo__sub { font-size: .6875rem; }
.nav a { font-size: .875rem; }
.brand-strip { font-size: .75rem; }
.pcard__title { font-size: 1.1875rem; line-height: 1.3; }
.pcard__short { font-size: .875rem; line-height: 1.6; min-height: 4.8em; }
.pcard__meta { gap: 8px; }
.pcard__meta li { font-size: .75rem; padding: 6px 9px; }
.pcard__count { font-size: .6875rem; }
.pcard__actions .btn { min-height: 44px; font-size: .8125rem; }
.sku { font-size: .75rem; min-height: 32px; align-self: flex-start; text-align: left; }
.price--ask { font-size: .8125rem; line-height: 1.5; }
.catalog-filter { min-height: 44px; font-size: .875rem; }
.chip { min-height: 44px; font-size: .875rem; }
.chip span { font-variant-numeric: tabular-nums; }
.benefit p, .step p, #production .stage p { font-size: .9375rem; line-height: 1.65; }
.benefit h3 { font-size: 1.125rem; }
.jitem__cap { padding-top: 18px; font-size: .8125rem; }
.journal__note { font-size: .8125rem; line-height: 1.6; }
.rcard__body h3 { font-size: 1.25rem; line-height: 1.3; }
.rcard__body > p { font-size: .9375rem; line-height: 1.65; }
.rcard__cat, .gitem__cap { font-size: .75rem; }
.rcard .link-btn { min-height: 44px; }
.partners li, .field > span, .form-note { font-size: .875rem; }
.field input, .field select, .field textarea { font-size: 1rem; }
.field input::placeholder, .field textarea::placeholder { color: #747A76; }
.pm__h { font-size: .8125rem; letter-spacing: .08em; }
.pm__info { min-width: 0; }
.specs dt, .specs dd { overflow-wrap: anywhere; }
.cm h2, .om h2, .pm h2, .rm h2, .size-guide h2 { font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.phone-note, .ftr__image-note { font-size: .75rem; }
.hero :focus-visible, #production :focus-visible { outline-color: #FFE37C; }
.gallery .media { background: #EEF0E9; }
@media (min-width: 641px) and (max-width: 900px) {
  .journal { grid-template-columns: 1fr 1fr; }
  .journal .jitem:last-child { grid-column: 1 / -1; aspect-ratio: 2.3; }
}
@media (max-width: 640px) {
  h2 { font-size: clamp(1.875rem, 8vw, 2.625rem); line-height: 1.14; }
  .hero__title { font-size: clamp(2.5rem, 11.6vw, 4.5rem); letter-spacing: -.035em; }
  .hero__eyebrow { font-size: .6875rem; letter-spacing: .06em; }
  .hero__lead { font-size: 1rem; margin-top: 22px; }
  .hero__perks li { font-size: .75rem; }
  .hero__secondary { font-size: .8125rem; }
  .hero__caption { font-size: .6875rem; gap: 12px; }
  .hero__caption span:last-child { font-size: .625rem; }
  .brand-strip .container { font-size: .6875rem; }
  .logo__name { font-size: 1.375rem; }
  .logo__sub { font-size: .625rem; }
  .pcard__title { font-size: 1.375rem; }
  .pcard__short { font-size: .9375rem; min-height: 0; }
  .pcard__meta li { font-size: .8125rem; }
  .pcard__actions .btn { font-size: .875rem; }
  .catalog-filter { font-size: .8125rem; padding-inline: 16px; }
  .benefit p { font-size: .875rem; }
  .benefit h3 { font-size: 1rem; }
  .jitem__cap, .journal__note { font-size: .75rem; }
  .specs div { gap: 14px; font-size: .875rem; }
  .size-guide { padding: 28px 20px; }
  .size-guide h2 { padding-right: 32px; font-size: 1.75rem; }
  .mbar a, .mbar button { min-height: 48px; font-size: .75rem; }
}
@media (max-width: 360px) {
  .hero__perks { flex-direction: column; gap: 8px; }
  .hero__caption { flex-direction: column; gap: 4px; }
  .pcard__actions { grid-template-columns: 1fr; }
}

/* Прозрачные формы в галерее не обрезаются. */
#gallery .media { background: #EEF0E9; }
.gitem img[src*="/products/"] { object-fit: contain; padding: 18px; }
@media (hover: none) { .gitem__cap { opacity: 1; transform: none; } }

/* Предметная серия: единый свет, крупный товар, ясная иерархия. */
:root { --bg: #FFFEFB; --bg-2: #F5F4F0; --ink: #232521; --line: #E5E4DE; }
.hero { padding-block: 56px; }
.hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero__eyebrow { margin-bottom: 26px; font-size: .75rem; letter-spacing: .07em; }
.hero__title { font-size: clamp(3.5rem, 6.1vw, 5.5rem); line-height: 1.015; letter-spacing: -.045em; font-weight: 750; }
.hero__title span { color: #FFE0A4; }
.hero__lead { max-width: 425px; margin-top: 26px; font-size: 1.0625rem; line-height: 1.65; }
.hero__actions { gap: 24px; margin-top: 28px; }
.hero__perks { margin-top: 26px; gap: 12px 22px; }
.hero__perks li { font-size: .8125rem; }
.hero__media::before, .hero__media::after { display: none; }
.hero__media { background: #FFFEFB; border-radius: 20px; box-shadow: 0 18px 45px -30px #791B1590; }
.hero__photo { aspect-ratio: 1.26; border-radius: 20px 20px 0 0; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; left: auto; max-width: 100%; object-fit: cover; object-position: 54% 50%; filter: none; transform: none; }
.hero__caption { margin: 0; padding: 20px 23px; color: var(--ink); font-size: .8125rem; letter-spacing: 0; align-items: center; }
.hero__caption span:last-child { font-size: .625rem; letter-spacing: .1em; color: var(--ink-2); white-space: nowrap; }
.product-ribbon { background: #FFFEFB; color: var(--ink); border-bottom: 1px solid var(--line); }
.product-ribbon .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; padding-block: 28px; }
.product-ribbon .container > div { display: flex; align-items: center; gap: 20px; justify-content: center; }
.product-ribbon .container > div + div { border-left: 1px solid var(--line); }
.product-ribbon .container > div > span:last-child { font-size: .8125rem; line-height: 1.7; color: var(--ink-2); font-weight: 400; }
.product-ribbon b { color: var(--ink); font-size: .9375rem; font-weight: 550; }
.format-symbol { font-family: Arial, sans-serif; color: var(--olive); font-size: 2rem; letter-spacing: -.1em; white-space: nowrap; }
.paper-symbol { width: 31px; height: 39px; border: 1px solid #C8AE88; border-radius: 3px; background: #E7C99E; box-shadow: -9px -6px 0 -1px #FFF, -9px -6px 0 0 #D7D6CF; transform: rotate(8deg); }
.product-ribbon strong { color: var(--olive); font-size: 1.625rem; font-weight: 650; letter-spacing: -.04em; white-space: nowrap; }
#catalog { padding-top: 86px; }
#catalog h2 { font-size: clamp(2.25rem, 3.75vw, 3.25rem); line-height: 1.12; }
#catalog .eyebrow { color: var(--olive); }
#catalog .sec-sub { max-width: 640px; }
#catalog .sec-head { margin-bottom: 32px; }
.catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.catalog-filters { margin-bottom: 32px; gap: 10px; }
.catalog-filter { padding: 12px 24px; background: #FFF; font-size: .875rem; border-color: var(--line); }
.pcard { border: 1px solid var(--line); background: #FFF; border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.pcard:hover { transform: none; border-color: #C8C8BF; box-shadow: 0 12px 36px -28px #23252160; }
.pcard .pcard__media { aspect-ratio: 1.5; background: #E8E5DE; }
.pcard .pcard__media img { padding: 0; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.025); }
.pcard__series { position: absolute; left: 20px; top: 20px; padding: 8px 12px; border: 1px solid #FFFFFF70; border-radius: 7px; background: #FFFFFFE8; color: #373C36; font-size: .75rem; font-weight: 550; backdrop-filter: blur(8px); }
.pcard[data-series='kraft'] .pcard__series { color: #725023; }
.pcard__zoom { position: absolute; right: 20px; bottom: 20px; width: 37px; height: 37px; display: grid; place-items: center; background: #FFFFFFE8; border-radius: 50%; color: var(--ink); }
.pcard__zoom .ico { width: 17px; height: 17px; }
.pcard__body { padding: 28px 30px 30px; }
.pcard__title { font-size: 1.625rem; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.pcard__short { margin-top: 11px; min-height: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.pcard__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 24px; padding-block: 22px; border-block: 1px solid var(--line); }
.pcard__meta li { display: grid; gap: 8px; background: transparent; padding: 0; border-radius: 0; font-size: .75rem; color: var(--ink-2); }
.pcard__meta li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.pcard__meta b { font-size: 1.625rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); }
.pcard__meta small { font-size: 1rem; font-weight: 450; }
.pcard__purchase-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pcard .sku { font-size: .75rem; }
.pcard .price--ask { font-size: .75rem; text-align: right; }
.pcard__foot { display: block; border-top: 0; padding-top: 0; }
.pcard__actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.pcard__actions .btn { min-height: 50px; height: auto; padding: 12px 15px; font-size: .875rem; border-radius: 10px; gap: 10px; }
.pcard .btn--wb { background: var(--ink); color: #FFF; border-color: var(--ink); }
.pcard .btn--wb:hover { background: #DF3025; border-color: #DF3025; }
.pcard .btn--ghost { color: var(--ink); border-color: var(--line); background: #FFF; }
.pcard .btn--ghost:hover { border-color: #AAAFA3; background: #F5F4F0; }
.wb-monogram { font-size: .625rem; padding: 5px 4px; border-radius: 5px; line-height: 1; background: #C92D92; color: #FFF; font-weight: 700; letter-spacing: -.05em; }
.pcard__actions .ico { width: 17px; height: 17px; flex: none; }
#production::after { display: none; }
.jitem { border-radius: 16px; aspect-ratio: 1.5; }
.jitem .media img { object-fit: cover; padding: 0; }
.jitem__cap { background: linear-gradient(transparent, #232521BB); font-size: .875rem; }
#gallery .gitem img[src*='/products/'] { padding: 0; object-fit: cover; }
.wholesale__media { background: #E8E5DE; border-radius: 20px; }
.wholesale__media img { object-fit: cover; padding: 0; }
.wholesale__caption { background: linear-gradient(transparent, #FFFEFBEF 65%); }
.pm__main img[src*='-studio'] { object-fit: contain; padding: 0; }
@media (max-width: 1200px) {
  .hero__grid { gap: 36px; }
  .hero__title { font-size: clamp(3.5rem, 6.5vw, 5rem); }
  .hero__actions { gap: 18px; flex-wrap: wrap; }
  .pcard__body { padding: 25px; }
  .pcard__actions { grid-template-columns: 1.5fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding-block: 42px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__title { font-size: clamp(3.5rem, 8.5vw, 5.25rem); }
  .hero__lead { max-width: 540px; }
  .hero__media { max-width: none; }
  .hero__photo { aspect-ratio: 1.5; }
  .product-ribbon .container { gap: 20px; padding-block: 24px; }
  .product-ribbon .container > div { gap: 12px; }
  .format-symbol { font-size: 1.5rem; }
  .product-ribbon .container > div > span:last-child { font-size: .75rem; }
  .product-ribbon b { font-size: .8125rem; }
  .product-ribbon strong { font-size: 1.25rem; }
  .catalog { gap: 20px; }
  .pcard__body { padding: 22px; }
  .pcard__title { font-size: 1.375rem; }
  .pcard__short { min-height: 4.5em; font-size: .875rem; }
  .pcard__meta { gap: 12px; }
  .pcard__meta li + li { padding-left: 15px; }
  .pcard__meta b { font-size: 1.375rem; }
  .pcard__purchase-note { align-items: start; flex-direction: column; gap: 8px; }
  .pcard__actions { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-block: 32px; }
  .hero__grid { gap: 30px; }
  .hero__title { font-size: clamp(2.875rem, 12vw, 4.5rem); }
  .hero__eyebrow { font-size: .6875rem; margin-bottom: 22px; }
  .hero__lead { font-size: 1rem; margin-top: 22px; }
  .hero__actions { margin-top: 24px; gap: 18px; }
  .hero__perks { margin-top: 24px; gap: 10px; flex-direction: column; }
  .hero__perks li { font-size: .8125rem; }
  .hero__media { border-radius: 14px; }
  .hero__photo { border-radius: 14px 14px 0 0; aspect-ratio: 1.35; }
  .hero__caption { padding: 16px 18px; flex-direction: column; align-items: start; gap: 7px; font-size: .75rem; }
  .hero__caption span:last-child { font-size: .625rem; }
  .product-ribbon .container { grid-template-columns: 1fr; gap: 18px; }
  .product-ribbon .container > div { justify-content: start; gap: 20px; }
  .product-ribbon .container > div + div { border-left: 0; padding-top: 18px; border-top: 1px solid var(--line); }
  .product-ribbon .container > div > :first-child { width: 100px; text-align: center; flex: none; }
  .product-ribbon .container > div > span:last-child { font-size: .75rem; }
  .product-ribbon .paper-symbol { width: 31px !important; margin-inline: 34px 35px; }
  #catalog { padding-top: 60px; }
  #catalog h2 { font-size: clamp(2rem, 8.6vw, 2.625rem); }
  .catalog { grid-template-columns: 1fr; gap: 22px; }
  .catalog-filters { gap: 8px; margin-bottom: 24px; }
  .catalog-filter { padding: 10px 16px; font-size: .8125rem; }
  .pcard__series { left: 14px; top: 14px; font-size: .6875rem; padding: 7px 10px; }
  .pcard__zoom { width: 32px; height: 32px; bottom: 14px; right: 14px; }
  .pcard__body { padding: 22px; }
  .pcard__short { min-height: 0; font-size: .9375rem; }
  .pcard__meta { margin-block: 20px; padding-block: 18px; }
  .pcard__meta li { font-size: .6875rem; }
  .pcard__meta b { font-size: 1.375rem; }
  .pcard__meta small { font-size: .875rem; }
  .pcard__actions { grid-template-columns: 1fr; }
  .pcard__purchase-note { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

/* ---------- Подбор формы под корзину ---------- */
.finder-teaser { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 22px 26px; border: 1px dashed #E7A79F; border-radius: 18px; background: #FFF6F3; }
.finder-teaser p { flex: 1; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.finder-teaser b { color: var(--ink); font-weight: 650; }
.finder-teaser__shapes { display: flex; gap: 6px; flex: none; color: var(--olive); }
.finder-teaser__shapes svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.finder-teaser .btn { flex: none; }

.finder { padding: 34px clamp(22px, 4vw, 36px) 30px; }
.finder h2 { padding-right: 40px; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.finder__lead { margin-top: 10px; font-size: .9375rem; color: var(--ink-2); }
.finder__form { display: grid; gap: 18px; margin-top: 22px; }
.finder__shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; }
.finder__shapes legend { margin-bottom: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.finder__shape { position: relative; cursor: pointer; }
.finder__shape input { position: absolute; opacity: 0; }
.finder__shape span { display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; border: 1px solid var(--line-2); border-radius: 14px; font-size: .8125rem; font-weight: 550; transition: border-color .2s, background-color .2s, color .2s; }
.finder__shape .ico { width: 26px; height: 26px; color: var(--ink-2); }
.finder__shape input:checked + span { border-color: var(--olive); background: var(--olive-soft); color: var(--olive-dark); }
.finder__shape input:checked + span .ico { color: var(--olive); }
.finder__shape input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.finder__dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.finder__dims .field:only-child, .finder__dims .field[data-dim="a"], .finder__dims .field[data-dim="d"] { grid-column: 1 / -1; }
.finder__result { margin-top: 22px; }
.finder__hint { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); font-size: .875rem; color: var(--ink-2); }
.finder__list { display: grid; gap: 10px; }
.finder__item { display: grid; grid-template-columns: 64px 1fr; gap: 12px 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.finder__item.is-best { border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-soft); }
.finder__thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #E8E5DE; }
.finder__thumb img { width: 100%; height: 100%; object-fit: cover; }
.finder__info { display: grid; gap: 3px; min-width: 0; }
.finder__info b { font-size: .9375rem; font-weight: 650; }
.finder__info small { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; }
.finder__badge { justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--olive); color: #fff; font-size: .6875rem; font-weight: 600; }
.finder__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.finder__actions .btn { min-height: 42px; font-size: .8125rem; }
.finder__empty { display: grid; gap: 10px; justify-items: start; padding: 18px; border-radius: 14px; background: #FFF6F3; font-size: .9375rem; }
.finder__empty p { color: var(--ink-2); }
.finder__miss { margin-top: 14px; font-size: .8125rem; line-height: 1.55; color: var(--ink-2); }
.finder__note { margin-top: 18px; font-size: .75rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Живой первый экран ---------- */
.hero__title span { position: relative; white-space: nowrap; }
.hero__scribble { position: absolute; left: -1%; bottom: -.14em; width: 102%; height: .3em; overflow: visible; pointer-events: none; }
.hero__scribble path { fill: none; stroke: #FFE0A4; stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__media { transition: translate .7s var(--ease); }
.hero__photo { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__content > * { animation: hero-up .9s var(--ease) both; }
  .js .hero__content > :nth-child(2) { animation-delay: .08s; }
  .js .hero__content > :nth-child(3) { animation-delay: .18s; }
  .js .hero__content > :nth-child(4) { animation-delay: .28s; }
  .js .hero__content > :nth-child(5) { animation-delay: .36s; }
  .js .hero__media { animation: hero-media 1.1s var(--ease) .12s both; }
  .js .hero__photo img { animation: hero-zoom 9s cubic-bezier(.2, .6, .2, 1) both; }
  .js .hero__scribble path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: hero-draw 1s var(--ease) .85s forwards; }
}
@keyframes hero-up { from { opacity: 0; transform: translateY(22px); } }
@keyframes hero-media { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-draw { to { stroke-dashoffset: 0; } }

/* ---------- Карточки: реальное фото с WB при наведении, анимация фильтра ---------- */
.pcard__alt { position: absolute; inset: 0; z-index: 1; opacity: 0; background: #F5F4F0; transition: opacity .45s var(--ease); pointer-events: none; }
.pcard__alt img { width: 100%; height: 100%; object-fit: contain; padding: 0 !important; }
.pcard__alt-tag { position: absolute; left: 20px; bottom: 20px; padding: 6px 10px; border-radius: 7px; background: #FFFFFFE8; font-size: .75rem; font-weight: 550; color: var(--ink); }
@media (hover: hover) { .pcard:hover .pcard__alt { opacity: 1; } }
.pcard__series, .pcard__zoom { z-index: 2; }
.pcard.is-enter { animation: card-in .55s var(--ease) both; }

/* ---------- Подбор формы: раздел со схемой ---------- */
.fit { background: #FFF6F3; }
.fit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fit h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.fit .sec-sub { max-width: 520px; }
.fit__controls { display: grid; gap: 22px; margin-top: 30px; }
.fit__shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fit__shape { display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; border: 1px solid #EBCFC9; border-radius: 14px; background: #FFF; font: 550 .8125rem var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .2s; }
.fit__shape .ico { width: 26px; height: 26px; color: var(--ink-2); }
.fit__shape:hover { border-color: var(--olive); }
.fit__shape[aria-pressed="true"] { border-color: var(--olive); background: var(--olive); color: #FFF; }
.fit__shape[aria-pressed="true"] .ico { color: #FFF; }
.fit__shape:active { transform: scale(.97); }
.fit__sliders { display: grid; gap: 16px; }
.fit__slider { display: grid; gap: 10px; }
.fit__slider-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .875rem; font-weight: 550; color: var(--ink-2); }
.fit__slider output { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fit__slider input[type="range"] { --p: 50%; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.fit__slider input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--olive) var(--p), #EBDDD9 var(--p)); }
.fit__slider input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--olive) var(--p), #EBDDD9 var(--p)); }
.fit__slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border: 4px solid #FFF; border-radius: 50%; background: var(--olive); box-shadow: 0 2px 8px #DF302566; transition: transform .15s; }
.fit__slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid #FFF; border-radius: 50%; background: var(--olive); box-shadow: 0 2px 8px #DF302566; }
.fit__slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.fit__slider input[type="range"]:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; border-radius: 6px; }

.fit__result { margin-top: 26px; }
.fit__best { display: grid; grid-template-columns: 76px 1fr; gap: 14px 16px; align-items: center; padding: 16px; border: 1px solid #F0C7BF; border-radius: 18px; background: #FFF; box-shadow: 0 14px 34px -26px #DF302588; animation: card-in .4s var(--ease) both; }
.fit__thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #E8E5DE; }
.fit__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fit__info { display: grid; gap: 4px; min-width: 0; }
.fit__info b { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; }
.fit__info small { font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }
.fit__tag { justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--olive); color: #FFF; font-size: .6875rem; font-weight: 600; }
.fit__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.fit__actions .btn { min-height: 46px; font-size: .875rem; }
.fit__also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .8125rem; color: var(--ink-2); }
.fit__chip { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #FFF; font: 500 .8125rem var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s; }
.fit__chip:hover { border-color: var(--olive); }
.fit__none { display: grid; gap: 10px; justify-items: start; padding: 18px; border: 1px dashed #E7A79F; border-radius: 18px; background: #FFF; font-size: .9375rem; animation: card-in .4s var(--ease) both; }
.fit__none p { color: var(--ink-2); line-height: 1.55; }

.fit__viz { margin: 0; padding: 18px; border-radius: 26px; background: #FFF; box-shadow: 0 30px 60px -45px #79201A88; }
.fit__stage { aspect-ratio: 440 / 320; border-radius: 18px; background: #F5F4F0; }
.fit__svg { display: block; width: 100%; height: 100%; }
.fit__svg-dim { font: 600 13px var(--font); fill: var(--ink-2); }
.fit__svg-size { font: 700 15px var(--font); fill: var(--ink); }
.fit__svg-size.is-bad { fill: var(--olive); }
.fit__viz figcaption { margin-top: 12px; font-size: .75rem; color: var(--ink-2); text-align: center; }

/* ---------- Бегущая лента рецептов ---------- */
.dish-marquee { overflow: hidden; padding: 20px 0; background: var(--olive); color: #FFF; }
.dish-marquee__track { display: flex; width: max-content; animation: dish-marquee 48s linear infinite; }
.dish-marquee:hover .dish-marquee__track, .dish-marquee:focus-within .dish-marquee__track { animation-play-state: paused; }
.dish-marquee__group { display: flex; }
.dish { display: inline-flex; align-items: center; gap: 30px; padding: 0 30px 0 0; border: 0; background: none; color: #FFF; font: 700 clamp(1.15rem, 2vw, 1.6rem) var(--font); letter-spacing: -.02em; white-space: nowrap; cursor: pointer; transition: color .2s; }
.dish::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FFE0A4; }
.dish:hover, .dish:focus-visible { color: #FFE0A4; }
.dish:focus-visible { outline: 2px solid #FFE0A4; outline-offset: 4px; }
@keyframes dish-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .dish-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .dish-marquee__group[aria-hidden="true"] { display: none; }
}

@media (max-width: 900px) {
  /* На узком экране: заголовок → ползунки → схема → результат */
  .fit__grid { grid-template-columns: 1fr; gap: 0; }
  .fit__panel { display: contents; }
  .fit__viz { order: 1; margin-top: 24px; }
  .fit__result { order: 2; margin-top: 20px; }
}
@media (max-width: 640px) {
  .fit__viz { padding: 12px; border-radius: 20px; }
  .fit__actions { grid-template-columns: 1fr; }
  .fit__slider output { font-size: 1.25rem; }
  .hero__title span { white-space: normal; }
}

/* Нижняя панель: столько колонок, сколько видимых кнопок */
.mbar .wb-monogram { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; font-size: .625rem; }
@media (max-width: 760px) {
  .mbar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
}
@media (max-width: 640px) {
  .finder-teaser { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .finder-teaser .btn { width: 100%; }
}

/* ==========================================================================
   Движение: шапка, заголовки, фото, витрина, шаги, мелочи
   ========================================================================== */

/* Шапка сжимается, полоска прогресса чтения */
.hdr__in { transition: height .35s var(--ease); }
.hdr.is-scrolled .hdr__in { height: 70px; }
.hdr__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--olive); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Шаги: номер — плашка, между шагами прорисовывается пунктир */
.step { position: relative; container-type: inline-size; }
.step__num { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-top: 24px; border-radius: 18px; background: var(--olive); color: #FFF; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; box-shadow: 0 10px 24px -14px #DF3025; }
.step .step__num::after { display: none !important; }
@supports (width: 1cqw) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 74px;
    right: -22px;
    top: calc(75cqw + 24px + 28px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--olive) 0 8px, transparent 8px 15px);
    transform-origin: left;
  }
}
@media (max-width: 900px) { .step:not(:last-child)::after { display: none; } }

/* Иконки преимуществ и стрелки в кнопках оживают при наведении */
.benefit__icon .ico { transition: transform .5s var(--ease); }
.benefit:hover .benefit__icon .ico { transform: translateY(-3px) rotate(-8deg) scale(1.12); }
.btn .ico:has(use[href="#i-arrow"]) { transition: transform .3s var(--ease); }
.btn:hover .ico:has(use[href="#i-arrow"]) { transform: translateX(4px); }

/* Витрина на первом экране */
.hero__photo { position: relative; }
.hero__photo img.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.hero__photo img.hero__slide.is-active { opacity: 1; }
.hero__dots { position: absolute; left: 18px; bottom: 16px; z-index: 3; display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: #FFFFFFD9; backdrop-filter: blur(6px); }
.hero__dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero__dots i { display: block; width: 16px; height: 4px; border-radius: 4px; background: #23252133; overflow: hidden; position: relative; }
.hero__dots button[aria-current] i { width: 28px; }
.hero__dots button[aria-current] i::after { content: ""; position: absolute; inset: 0; background: var(--olive); transform-origin: left; animation: dot-fill 5.2s linear forwards; }
.hero__photo.is-paused .hero__dots button[aria-current] i::after { animation-play-state: paused; }
.hero__dots button:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; border-radius: 6px; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Подбор: ползунок зовёт потянуть, форма мягко меняется */
.fit__liner { transform-box: fill-box; transform-origin: center; }
.fit__liner.is-pop { animation: liner-pop .55s var(--ease) both; }
@keyframes liner-pop { from { opacity: 0; transform: scale(1.14); } }
@keyframes thumb-call { 0%, 100% { box-shadow: 0 2px 8px #DF302566, 0 0 0 0 #DF302555; } 50% { box-shadow: 0 2px 8px #DF302566, 0 0 0 12px #DF302500; } }
.fit__controls.is-idle .fit__slider:not([hidden]) input[type="range"]::-webkit-slider-thumb { animation: thumb-call 1.6s ease-in-out infinite; }
.fit__controls.is-idle .fit__slider:not([hidden]) input[type="range"]::-moz-range-thumb { animation: thumb-call 1.6s ease-in-out infinite; }

@media (prefers-reduced-motion: no-preference) {
  /* Заголовки разделов выезжают по словам */
  .js .split-words .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .js .split-words .sw > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .08s); }
  .js [data-reveal].is-in .split-words .sw > span { transform: none; }

  /* Фото раскрываются при прокрутке */
  .js .split__media[data-reveal], .js .wholesale__media[data-reveal], .js .gitem[data-reveal], .js .jitem[data-reveal] {
    clip-path: inset(9% 7% 9% 7% round var(--rr, 20px));
    transition: opacity .8s ease, translate .9s var(--ease), clip-path 1.3s var(--ease);
  }
  .js .split__media[data-reveal].is-in, .js .wholesale__media[data-reveal].is-in, .js .gitem[data-reveal].is-in, .js .jitem[data-reveal].is-in {
    clip-path: inset(0 round var(--rr, 20px));
  }
  .split__media { --rr: 28px; }
  .jitem { --rr: 16px; }
  .js .split__media[data-reveal] img, .js .wholesale__media[data-reveal] img { scale: 1.22; transition: scale 1.7s var(--ease); }
  .js .split__media[data-reveal].is-in img { scale: 1.1; }
  .js .wholesale__media[data-reveal].is-in img { scale: 1; }

  /* Пунктир между шагами прорисовывается */
  .js .step[data-reveal]:not(:last-child)::after { transform: scaleX(0); transition: transform 1.1s var(--ease) .45s; }
  .js .step[data-reveal].is-in:not(:last-child)::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__dots { display: none; }
}
