/* Клиентская витрина: утверждённый макет 03.10.2026. */
body{background:var(--surface)}
.wrap,.top.hv .top-in{max-width:1440px;padding-left:24px;padding-right:24px}
.wrap{padding-top:24px}
.sf-intro{display:grid;grid-template-columns:minmax(0,3fr) minmax(230px,1fr);gap:16px;margin-bottom:20px}
.sf-hero{position:relative;overflow:hidden;border-radius:20px;background:#eaf2ff;min-height:330px;display:flex;align-items:center}
.sf-hero-copy{position:relative;z-index:1;width:64%;padding:32px}
.sf-hero h1{font-size:clamp(28px,3.1vw,44px);line-height:1.12;letter-spacing:-.04em;color:#111633;margin:0 0 16px;font-weight:800}
.sf-hero p{color:#475779;line-height:1.5;margin:0 0 24px;font-size:14px;max-width:360px}
.sf-hero-art{position:absolute;width:55%;height:100%;right:0;bottom:0;object-fit:cover;object-position:center;mix-blend-mode:multiply;mask-image:linear-gradient(90deg,transparent,#000 28%)}

.sf-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:14px 24px;border-radius:14px;background:var(--blue);color:#fff;font-weight:700;min-height:48px}
.sf-pickup{position:relative;overflow:hidden;border-radius:20px;background:#fff8ee;padding:28px 24px;display:flex;flex-direction:column;align-items:flex-start;color:#111633}
.sf-pickup h2{margin:0 0 8px;font-size:28px;line-height:1.15;letter-spacing:-.03em}
.sf-pickup p{margin:0;font-size:14px}
.sf-pickup img{height:145px;width:100%;object-fit:contain;margin:8px 0}
.sf-pickup button{margin-top:auto;display:flex;align-items:center;gap:12px;color:var(--blue);font-weight:700;min-height:44px;text-align:left}
.sf-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 28px;padding:0;list-style:none}
.sf-categories li{min-width:0}
.sf-categories .yoyo-category{height:100%;border-radius:14px}
.sf-categories .yoyo-category img{height:100%;object-fit:cover}
.sf-all-categories{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--sky);color:var(--blue);width:100%;height:100%;min-height:100px;border-radius:14px;font-weight:700}
.sf-all-categories svg{width:32px;height:32px}
.sf-products-title{display:flex;align-items:center;gap:24px;margin:24px 0 12px;flex-wrap:wrap}
.sf-products-title h2{font-size:28px;letter-spacing:-.03em;margin:0}
.sf-product-tabs{display:flex;gap:16px}
.sf-product-tabs button{min-height:44px;border-bottom:2px solid transparent;color:var(--muted);font-weight:600}
.sf-product-tabs button.on{border-color:var(--blue);color:var(--blue)}
.grid:not(.feed):not(.cols3){grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-left:0;margin-right:0;width:100%}
.prod-body{padding:12px;gap:8px}
.prod-name{font-size:14px;line-height:1.45;min-height:2.9em}
/* Без отзывов/продаж не оставляем пустую строку между названием и доставкой. */
.prod-rate:empty{display:none}
.prod-price{order:-1;margin-top:0}
.prod-price b{font-size:22px}
.prod-foot{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:auto}
.prod-foot .inf{min-height:24px}
.prod-eta{background:transparent;color:#16804a;padding:0;white-space:normal;font-size:12px}
.prod-fab-wrap{width:100%}
.prod-fab{width:100%;border-radius:10px;gap:8px;background:var(--sky);color:var(--blue);box-shadow:none}
.prod-fab svg{color:var(--blue);width:18px;height:18px}
.prod-fab .sf-add-label{font-size:13px;font-weight:700}
.fab-stepper{width:100%;height:44px;justify-content:space-between}
.fab-stepper button{min-width:44px;min-height:44px}
.grid .prod{border:1px solid var(--line);box-shadow:none}
.rail .prod{flex-basis:220px}
.toolbar select{min-height:44px}
@media(min-width:720px){.cols3 .sf-add-label{display:none}}
@media(max-width:1100px){.sf-hero-copy{padding:24px;width:66%}.grid:not(.feed):not(.cols3){grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sf-hero h1{font-size:32px}.sf-pickup{padding:24px 20px}}
@media(max-width:719px){
 .wrap,.top.hv .top-in{padding-left:16px;padding-right:16px}.wrap{padding-top:16px}
 .sf-intro{display:block;margin-bottom:16px}.sf-hero{min-height:250px;border-radius:16px;align-items:flex-start}.sf-hero-copy{width:80%;padding:20px}.sf-hero h1{font-size:26px;line-height:1.12;margin-bottom:12px}.sf-hero p{font-size:12px;max-width:200px;margin-bottom:16px}.sf-hero-art{width:65%;height:100%;right:-12%;bottom:0;object-fit:cover}.sf-cta{padding:12px 16px;font-size:13px;min-height:44px}
 .sf-pickup{margin-top:12px;padding:12px 16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;border-radius:14px}.sf-pickup h2{font-size:17px;line-height:1.3}.sf-pickup h2 br{display:none}.sf-pickup p{font-size:12px;grid-column:1}.sf-pickup img{display:none}.sf-pickup button{grid-column:2;grid-row:1/3;font-size:12px;max-width:100px;margin:0}
 .sf-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.sf-categories .yoyo-category{border-radius:10px}.sf-all-categories{min-height:58px;border-radius:10px;gap:4px;font-size:11px}.sf-all-categories svg{width:20px;height:20px}
 .sf-products-title{gap:16px;margin-top:20px;margin-bottom:4px}.sf-products-title h2{font-size:22px}.sf-product-tabs{gap:12px;font-size:12px}
 /* Две колонки: по 3px между карточками, рядами и краями экрана. */
 .grid:not(.feed):not(.cols3){grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin-inline:-13px;width:calc(100% + 26px)}.prod-body{padding:10px;gap:6px}.prod-price b{font-size:19px}.prod-eta{font-size:11px}.rail .prod{flex-basis:170px}.cols3 .sf-add-label{display:none}.cols3 .prod-fab-wrap{width:auto}.cols3 .prod-fab{min-width:40px;min-height:40px}.cols3 .prod-price b{font-size:15px}
}
@media(prefers-color-scheme:dark){.sf-hero,.sf-pickup{filter:brightness(.87)}.sf-all-categories{color:#8fb2ff}.prod-fab{color:#8fb2ff}.prod-fab svg{color:inherit}.prod-eta{color:#43d9a3}}
@media(prefers-reduced-motion:no-preference){.sf-cta,.sf-catalog,.sf-all-categories{transition:transform .15s}.sf-cta:active,.sf-catalog:active,.sf-all-categories:active{transform:scale(.97)}}

@media(min-width:1101px){.sf-recommendations .prod{flex-basis:calc((100% - 40px) / 5)}}
