/* V3 — public only; colours and grid counts remain CMS-controlled. */
body:not(.is-admin-page) .wrap{max-width:1440px}
body:not(.is-admin-page) .section{padding-block:clamp(34px,5vw,70px)}
body:not(.is-admin-page) .page-head{padding-top:120px;padding-bottom:28px}
.hero-slider{min-height:clamp(480px,66vh,680px);background:#202b30}
.hero-slider .hero-overlay{background:linear-gradient(90deg,rgba(16,26,32,.88),rgba(16,26,32,.45) 58%,rgba(16,26,32,.12))}
.hero-slider .hero-content{padding:100px 32px 76px;max-width:1440px;margin:auto;align-self:flex-end}
.hero-slider h1{font-family:Inter,system-ui,sans-serif;text-transform:none;font-size:clamp(2.25rem,5vw,4.4rem);font-weight:800;letter-spacing:-.045em;max-width:850px;color:white;line-height:1.05}
.hero-slider .hero-kicker,.hero-slider .hero-sub,.hero-slider .hero-slogan{color:#f2f4f5}
.hero-slider .hero-cta{margin-top:6px}
body:not(.is-admin-page) .site-header{background:var(--surf);border-bottom:1px solid var(--line);box-shadow:0 4px 18px #00000009}
body:not(.is-admin-page) .site-header .wrap{height:76px}
.section-title{font-family:Inter,system-ui,sans-serif;text-transform:none;letter-spacing:-.035em;font-size:clamp(1.5rem,2.7vw,2.25rem);font-weight:750;margin-bottom:24px}
.v3-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}.v3-section-head a{color:var(--red);font-weight:650}
.v3-home-search{max-width:100%;margin:0 0 28px;padding:12px;background:var(--surf);border:1px solid var(--line);border-radius:12px}.v3-home-search input{min-width:0}
.families-grid,.products-grid{gap:clamp(12px,1.6vw,24px)}
.family-card,.product-card{border-radius:12px;box-shadow:0 3px 12px #00000008;min-width:0}
.family-card img{aspect-ratio:16/10;object-fit:cover;display:block}
.family-card-body{gap:10px;min-height:70px;padding:14px 16px}.family-card h3{overflow-wrap:anywhere;line-height:1.3}
.product-card{display:flex;flex-direction:column;height:100%;background:var(--surf)}
.product-img{background:#fff;aspect-ratio:4/3;padding:12px}.product-img img{object-fit:contain;display:block;width:100%;height:100%}
.product-body{display:flex;flex:1;flex-direction:column;gap:8px;padding:16px}.product-body h3{font-size:clamp(.88rem,1.15vw,1.05rem);line-height:1.35;overflow-wrap:anywhere;margin:0}.product-body .price{margin-top:auto;font-weight:750;font-size:1rem}.v3-card-link{display:flex;justify-content:space-between;gap:6px;border-top:1px solid var(--line);padding-top:10px;font-size:.8rem;color:var(--txt);font-weight:600}
.v3-catalogue-head h1{font-family:Inter,system-ui,sans-serif;font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.04em}.v3-catalogue-head .search-form{max-width:760px}.search-form input{min-width:0}.v3-catalogue-list{padding-top:12px!important}.catalogue-filters{gap:8px;display:flex;flex-wrap:wrap}.catalogue-filter{border-radius:8px!important}.count{margin:18px 0}
.product-main-img{object-fit:contain;background:#fff;padding:18px}.product-info h1{font-family:Inter,system-ui,sans-serif;letter-spacing:-.04em;line-height:1.15}.product-layout{gap:clamp(24px,4vw,60px);padding-top:60px}.product-gallery{min-width:0}.product-info{min-width:0}.product-specs{overflow-wrap:anywhere}
@media(max-width:1150px){.products-grid{grid-template-columns:repeat(min(var(--cols-products,4),3),minmax(0,1fr))}.families-grid{grid-template-columns:repeat(min(var(--cols-categories,4),3),minmax(0,1fr))}}
@media(max-width:760px){.products-grid{grid-template-columns:repeat(min(var(--cols-products,4),2),minmax(0,1fr))}.families-grid{grid-template-columns:repeat(min(var(--cols-categories,4),2),minmax(0,1fr))}.hero-slider .hero-content{padding:80px 22px 55px}.hero-slider{min-height:500px}.product-body{padding:12px}.product-img{padding:7px}.family-card-body{padding:12px;min-height:60px}.catalogue-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.catalogue-filter{flex:none}.search-form .cta{padding-inline:12px}.product-layout{padding-top:45px}.contact-grid{grid-template-columns:1fr}}
@media(max-width:350px){.products-grid,.families-grid{grid-template-columns:1fr}.v3-home-search{flex-direction:column}.hero-slider .hero-content{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.product-card,.family-card{transition:none!important}}

/* V3.1 — permanent category tree on desktop; collapsible on narrow screens. */
.catalogue-layout{display:grid;grid-template-columns:minmax(220px,265px) minmax(0,1fr);gap:clamp(20px,3vw,44px);align-items:start}
.catalogue-sidebar{position:sticky;top:100px;max-height:calc(100vh - 120px);overflow:auto;min-width:0;background:var(--surf);border:1px solid var(--line);border-radius:12px;padding:18px;scrollbar-width:thin}
.catalogue-sidebar summary{font-weight:750;font-size:1rem;cursor:pointer;margin-bottom:14px;list-style-position:inside}
.catalogue-tree{display:flex;flex-direction:column;gap:4px}.catalogue-tree a{display:block;color:var(--txt);text-decoration:none;padding:9px 10px;border-radius:6px;line-height:1.35;overflow-wrap:anywhere}.catalogue-tree-family>a,.catalogue-tree-all{font-weight:650}.catalogue-tree-family{border-top:1px solid var(--line);padding-top:4px}.catalogue-tree-children{padding-left:12px;border-left:1px solid var(--line);margin:2px 0 8px 10px;font-size:.86rem}.catalogue-tree a:hover{background:#8881}.catalogue-tree a.is-active{background:var(--red);color:white}.catalogue-tree-family.is-branch>a:not(.is-active){color:var(--red)}
.catalogue-results{min-width:0;container-type:inline-size}.catalogue-results .count{margin:0 0 16px}.catalogue-results .products-grid{grid-template-columns:repeat(min(var(--cols-products,4),4),minmax(0,1fr))}
@container (max-width:1000px){.catalogue-results .products-grid{grid-template-columns:repeat(min(var(--cols-products,4),3),minmax(0,1fr))}}
@container (max-width:710px){.catalogue-results .products-grid{grid-template-columns:repeat(min(var(--cols-products,4),2),minmax(0,1fr))}}
@container (max-width:340px){.catalogue-results .products-grid{grid-template-columns:1fr}}
@media(max-width:850px){.catalogue-layout{grid-template-columns:1fr;gap:20px}.catalogue-sidebar{position:static;max-height:none;padding:12px 16px}.catalogue-sidebar summary{margin-bottom:0}.catalogue-sidebar details[open] summary{margin-bottom:12px}.catalogue-tree{max-height:42vh;overflow:auto}.catalogue-results .products-grid{grid-template-columns:repeat(min(var(--cols-products,4),2),minmax(0,1fr))}}
@media(max-width:350px){.catalogue-results .products-grid{grid-template-columns:1fr}}
