/* Layout refinements 6–12; section order is preserved. */
body[data-page="catalog"] .phero {padding-top:28px;padding-bottom:24px;}
body[data-page="catalog"] .phero h1 {font-size:clamp(32px,4vw,54px);line-height:1.08;margin-top:10px;}
body[data-page="catalog"] .phero__lead {font-size:17px;margin-top:14px;}
body[data-page="catalog"] .phero__crumbs {margin-bottom:14px;}
body[data-page="catalog"] .phero__aside {padding:16px 20px;}
.filters {top:calc(var(--site-header-height,70px) + 8px);background:#09251d;z-index:25;}
header[data-header] {background:#06110e;}
body[data-page="home"] .sec {padding-top:48px;padding-bottom:48px;}
body[data-page="home"] .sec__head {margin-bottom:26px;}
body[data-page="home"] .sec__head h2 {font-size:clamp(28px,3.7vw,52px);}
body[data-page="home"] .route {min-height:220px;}
.catalog-category-mobile {display:none;}
.work-item {min-width:0;}
.work-pair {border-radius:12px;}
.work-item > .work-pair__caption {position:static;display:block;background:none;padding:10px 0 6px;color:#e5e9e2;font-size:14px;line-height:1.45;}
.work-enlarge {background:transparent;border:1px solid #789084;border-radius:8px;color:#eee8d9;min-height:42px;padding:8px 12px;font:inherit;font-size:14px;cursor:pointer;width:100%;}
.work-lightbox {width:min(960px,94vw);max-height:94vh;padding:16px;border:1px solid #748477;border-radius:16px;background:#09251d;color:#f1e9dc;}
.work-lightbox::backdrop {background:rgba(0,0,0,.86);}
.work-lightbox__bar {display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;}
.work-lightbox button {min-height:44px;padding:9px 14px;background:#143f31;border:1px solid #789084;border-radius:8px;color:inherit;font:inherit;cursor:pointer;}
.work-lightbox img {display:block;width:100%;height:min(70vh,760px);object-fit:contain;}
.work-lightbox__controls {display:flex;gap:10px;justify-content:center;margin-top:12px;}
.work-lightbox button[aria-pressed="true"] {background:#c7a568;color:#09251d;}
@media(max-width:760px){
 body[data-page="catalog"] .phero {padding-top:22px;padding-bottom:18px;}
 body[data-page="catalog"] .phero h1 {font-size:30px;}
 body[data-page="catalog"] .phero__aside {padding:12px 16px;}
 body[data-page="catalog"] .phero__grid {gap:16px;}
 body[data-page="catalog"] .phero__lead {font-size:15px;line-height:1.5;}
 .filters.has-mobile-category .filters__row--cats {display:none;}
 .catalog-category-mobile {display:grid;gap:7px;font-size:14px;}
 .catalog-category-mobile select {width:100%;min-height:46px;padding:10px;background:#133d30;border:1px solid #789084;border-radius:8px;color:#f1e9dc;font:inherit;font-size:15px;}
 .catalog-category-mobile output {font-size:14px;color:#c6d2ca;}
 body[data-page="home"] .sec {padding-top:32px;padding-bottom:32px;}
 body[data-page="home"] .sec__head {margin-bottom:20px;}
 .pv__shot {height:340px;}
 .pv__name {font-size:32px;line-height:1.15;}
 .pv__media > .mobile-product-name {margin:0 0 14px;}
 .pv__info > .pv__name.is-mobile-duplicate {display:none;}
 .pv__description {font-size:16px;line-height:1.55;}
 .pv__buy {margin-top:12px;}
 .pv__features .chip {font-size:11px!important;min-height:26px!important;}
 .pcard__tags span,.pcard .chip {font-size:12px;line-height:1.4;}
 .form__agree {font-size:14px;line-height:1.5;}
 .form__agree span {font-size:14px;line-height:1.5;}
 .form__agree input {min-width:20px;min-height:20px;}
 .pv__specs dt,.pv__stock,.badge {font-size:12px;line-height:1.5;}
 .work-pair {aspect-ratio:3/4;}
}
@media(min-width:761px){.mobile-product-name{display:none;}}

/* Products must be visible without waiting for scroll reveal animations. */
[data-catalog], [data-catalog] .pcard {opacity:1!important;visibility:visible!important;clip-path:none!important;}

/* Keep the mobile header in the viewport while body scroll is locked. */
@media(max-width:900px){
 body.menu-open {padding-top:var(--site-header-height,67px);}
 body.menu-open header[data-header] {position:fixed;inset:0 0 auto;transform:none!important;z-index:80;background:#06110e!important;backdrop-filter:none!important;}
 .drawer {top:var(--site-header-height,67px);background:#070d0b;}
 .hv__media picture[data-hero-slide="1"],.hv__media picture[data-hero-slide="2"] {top:0;height:340px;}
 .hv[data-active-slide="1"] .hv__copy,.hv[data-active-slide="2"] .hv__copy {padding-top:346px;}
}

/* Balanced homepage showcase and product purchase guidance. */
@media(min-width:901px){
 body[data-page="home"] [data-showcase] {grid-template-columns:repeat(3,minmax(0,1fr));}
}
body[data-page="product"] [data-objections].feats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
@media(min-width:601px) and (max-width:900px){
 body[data-page="product"] [data-objections].feats {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
 body[data-page="product"] [data-objections].feats {grid-template-columns:minmax(0,1fr);}
}

/* Separate the catalog introduction without changing typography. */
body[data-page="catalog"] .phero__grid {gap:28px;}
body[data-page="catalog"] .phero__lead {margin-top:26px;}
@media(max-width:760px){body[data-page="catalog"] .phero__lead {margin-top:22px;}}

/* Installation photos: clean cards and a two-photo viewer. */
.work-pair__caption,.work-enlarge {display:none!important;}
.work-item {min-width:0;}
.work-pair {cursor:zoom-in;}
.work-lightbox__controls button {padding:4px;border:2px solid transparent;background:transparent;border-radius:10px;}
.work-lightbox__controls button[aria-pressed="true"] {border-color:#c7a568;background:transparent;}
.work-lightbox .work-lightbox__controls img {width:58px;height:74px;object-fit:cover;border-radius:5px;}
.legal-footer>p {line-height:1.7;}


/* Mobile filters stay in normal flow: desktop top offset must not move them over cards. */
@media(max-width:900px){
 body[data-page="catalog"] .filters {position:static;top:auto;margin-bottom:20px;}
}
