/* === 35: «Sklep» как отправная точка (29.09) — только body.wd2s-hub === */
body.wd2s-hub .shop-loop-head,body.wd2s-hub .f3s,body.wd2s-hub ul.products,body.wd2s-hub .products.wd-products,body.wd2s-hub .wd-loop-footer,body.wd2s-hub .woocommerce-pagination{display:none!important}
.s2h{font-family:var(--2s-font,"DM Sans",Arial,sans-serif);color:var(--2s-ink,#2B2522);margin:4px 0 8px}
.s2h section{margin:0 0 40px}
.s2h section:last-child{margin-bottom:0}
html body .s2h h2{font:500 clamp(24px,2.2vw,32px)/1.15 var(--2s-font-display,Fraunces,Georgia,serif);margin:0 0 14px;text-transform:none;letter-spacing:0;color:var(--2s-ink,#2B2522)}
.s2h-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;max-width:1100px}
html body .s2h-head a{font-size:16px;color:var(--2s-ink,#2B2522);text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
/* Мозаика: категории крупнее коллекций. m3 — 1 категория; m4 — 2+; m-strip — 3+ (коллекции полосой ниже, ниже ростом). */
.s2h-mosaic{--r:clamp(190px,17vw,250px);display:grid;gap:14px;max-width:1100px}
.s2h-mosaic.m3{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,var(--r))}
.s2h-mosaic.m3 .m-big{grid-column:1/3;grid-row:1/3}
.s2h-mosaic.m4{grid-template-columns:repeat(4,1fr);grid-auto-rows:var(--r);grid-auto-flow:dense}
.s2h-mosaic.m4 .m-big{grid-column:1/3;grid-row:1/3}
.s2h-mosaic.m4 .m-wide{grid-column:span 2}
.s2h-mosaic.m4 .m-full{grid-column:1/-1}
.s2h-mosaic.m-strip{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(var(--rows),var(--r)) clamp(140px,11vw,170px);grid-auto-rows:auto}
.s2h-mosaic.m-strip .m-col{grid-row:calc(var(--rows) + 1);grid-column:span 2}
.s2h-mosaic.m-strip.k1 .m-col{grid-column:1/-1}
html body .s2h-mosaic a{position:relative;display:block;overflow:hidden;border-radius:12px;text-decoration:none;color:#fff;background:var(--2s-surface,#F7F2EE)}
.s2h-mosaic .s2h-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%;transition:transform .5s}
html body .s2h-mosaic a:hover .s2h-img{transform:scale(1.03)}
.s2h-mosaic em{position:absolute;left:0;right:0;bottom:0;padding:40px 18px 16px;font-style:normal;background:linear-gradient(transparent,rgba(30,20,18,.72))}
.s2h-mosaic b{display:block;font:500 22px/1.15 var(--2s-font-display,Fraunces,Georgia,serif);color:#fff}
.s2h-mosaic .m-cat b{font-size:clamp(28px,2.6vw,36px)}
.s2h-mosaic small{display:block;font-size:15px;color:rgba(255,255,255,.92);margin-top:4px}
@media (prefers-reduced-motion:reduce){.s2h-mosaic .s2h-img{transition:none}}
.s2h-brands{display:grid;grid-template-columns:repeat(auto-fill,220px);gap:12px}
html body .s2h-brands a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:120px;padding:12px;border:1px solid var(--2s-line,#E6DDD7);border-radius:12px;background:var(--2s-surface,#F7F2EE);text-decoration:none;color:var(--2s-muted,#5C5450);font-size:16px;text-align:center}
.s2h-brands b{font-weight:500;color:var(--2s-ink,#2B2522)}
.s2h-brands img{max-height:56px;max-width:70%;width:auto;height:auto}
.s2h-colors{display:flex;flex-wrap:wrap;gap:10px 14px}
html body .s2h-colors a{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 16px 0 8px;border:1px solid #8f8682;border-radius:24px;text-decoration:none;color:var(--2s-ink,#2B2522);font-size:16px;background:var(--2s-paper,#fff)}
.s2h-colors i{width:30px;height:30px;border-radius:50%;border:1px solid rgba(0,0,0,.25);flex:0 0 auto}
html body .s2h a:focus-visible{outline:3px solid var(--2s-ink,#2B2522);outline-offset:3px}
html body .s2h-colors a:hover,html body .s2h-brands a:hover{border-color:var(--2s-ink,#2B2522)}
@media (max-width:767px){
  .s2h section{margin-bottom:32px}
  .s2h-head{flex-direction:column;gap:4px;margin-bottom:12px}
  html body .s2h-head h2{margin:0}
  .s2h-mosaic.m3,.s2h-mosaic.m4,.s2h-mosaic.m-strip{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-auto-rows:auto;gap:10px}
  .s2h-mosaic .m-big,.s2h-mosaic .m-wide{grid-column:1/-1!important;grid-row:auto!important}
  .s2h-mosaic .m-big{aspect-ratio:4/3}
  .s2h-mosaic .m-wide{aspect-ratio:2/1}
  .s2h-mosaic .m-col{grid-column:auto!important;grid-row:auto!important;aspect-ratio:4/5}
  .s2h-mosaic b{font-size:18px}
  .s2h-mosaic .m-cat b{font-size:26px}
  .s2h-mosaic em{padding:32px 12px 12px}
  .s2h-mosaic small{font-size:14px}
  .s2h-brands{grid-template-columns:1fr;gap:8px}
  html body .s2h-brands a{flex-direction:row;justify-content:space-between;min-height:64px;padding:0 16px;text-align:right}
  .s2h-brands img{max-height:40px;max-width:110px}
  .s2h-colors{gap:8px}
}
