/* One approved product composition, shared by the complete catalogue. */
body.site-fluid.page-stem-product .product-immersive-hero{position:relative;isolation:isolate;overflow:hidden;background:#faf9f6;color:#f8f7f1;min-height:calc(100svh - var(--site-header-space));display:grid}
.product-hero-picture{display:block;position:absolute;inset:0 0 0 auto;width:83%;height:100%;z-index:-3;mix-blend-mode:multiply}
.product-hero-picture>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.product-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#101918 0%,rgba(16,25,24,.98) 18%,rgba(16,25,24,.88) 32%,rgba(16,25,24,.48) 47%,rgba(16,25,24,.08) 64%,transparent 75%)}
.product-hero-shade::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:url("assets/ui/hero-gradient-noise-v1.svg");background-size:256px 256px;opacity:.12;mix-blend-mode:overlay}
.product-immersive-hero[data-hero-pilot="stem-magic-wind-duct"] .product-hero-picture{mix-blend-mode:normal}
body.site-fluid .product-hero-content{display:flex;flex-direction:column;position:relative;padding-block:24px 32px;min-width:0}
body.site-fluid .product-immersive-hero .breadcrumbs{position:relative;color:#d4d9d0;margin:0 0 24px;font-size:var(--text-small);line-height:1.6;letter-spacing:.01em}
.product-immersive-hero .breadcrumbs a{color:inherit}
.product-hero-copy{width:43%;max-width:700px;margin-block:auto;min-width:0;padding-block:12px 25px}
body.site-fluid .product-hero-copy>.eyebrow{color:#f0eee3;font-weight:600;letter-spacing:.08em;margin-bottom:24px}
body.site-fluid .product-hero-copy>h1{font-size:clamp(52px,min(5.5vw,10svh),108px);font-weight:650;letter-spacing:.02em;font-kerning:none;font-variant-ligatures:none;line-height:1.08;max-width:13ch;margin:0 0 24px;color:#faf9f6;text-wrap:balance;overflow-wrap:anywhere}
body.site-fluid .product-hero-description{font-size:clamp(20px,1.45vw,26px);line-height:1.65;color:#e1e4dc;max-width:38ch;margin:0 0 24px}
.product-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px 30px}
body.site-fluid .product-hero-enquire{background:#f7f6ee;color:#111e17;border:1px solid #f7f6ee;border-radius:0}
body.site-fluid .product-hero-actions>.text-link{color:#faf9f6}
.product-hero-gallery-entry{position:absolute;bottom:40px;right:0;display:grid;gap:14px;width:clamp(280px,22vw,390px);padding:26px 28px;border:1px solid #546058;border-radius:18px;background:#17221ff2;color:#f8f7f1;text-align:left;font:inherit;cursor:pointer}
body.site-fluid .product-hero-gallery-entry>span{font-size:var(--text-small);line-height:1.45}
body.site-fluid .product-hero-gallery-entry>strong{font-size:clamp(24px,1.8vw,34px);font-weight:550;line-height:1.15;display:flex;gap:24px;align-items:center;justify-content:space-between}
body.site-fluid .product-hero-gallery-entry:focus-visible{outline:3px solid #d5bc7b;outline-offset:5px}
dialog.product-hero-gallery{width:calc(100vw - 32px);max-width:1440px;max-height:94svh;padding:24px;background:#f6f4ec;color:#20372a;border:1px solid #a7b19e;border-radius:18px;overflow:auto}
.product-hero-gallery .dialog-toolbar{gap:22px;align-items:center;margin-bottom:20px}
body.site-fluid .product-hero-gallery .dialog-toolbar>h2{font-size:var(--title-sub);line-height:1.4;max-width:none;margin:0 auto 0 0}
.product-hero-gallery .close-dialog{font:inherit;font-size:var(--text-small);line-height:1.2;width:auto;height:auto;min-width:90px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;white-space:nowrap}
body.site-fluid .product-hero-gallery .product-six-gallery{width:100%;max-width:1100px;margin:0 auto}
body.site-fluid .product-hero-gallery .product-six-gallery .stem-detail-stage{position:relative;width:min(100%,calc(48svh * 1.6));height:auto;max-height:none;aspect-ratio:8/5;margin-inline:auto;border-radius:14px;overflow:hidden;background:#faf9f6}
body.site-fluid .product-hero-gallery .stem-detail-stage>a{position:absolute;inset:0;display:block;width:100%;height:100%}
body.site-fluid .product-hero-gallery .stem-detail-stage>a>img{width:100%;height:100%;object-fit:contain;display:block}
body.site-fluid .product-hero-gallery .product-six-gallery figcaption{min-height:0;margin:14px 0;display:flex;justify-content:space-between;gap:20px;font-size:var(--text-small);line-height:1.5}
body.site-fluid .product-hero-gallery .product-image-thumbnails{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
body.site-fluid .product-hero-gallery .product-image-thumbnails img{width:100%;height:auto;max-height:none;aspect-ratio:8/5;object-fit:contain;mix-blend-mode:normal;background:#faf9f6}
body.site-fluid .product-hero-gallery .product-image-thumbnails button{background:#edeee3}
body.site-fluid .product-hero-gallery .product-image-thumbnails span{font-size:var(--text-small)}
.product-hero-noscript{position:relative;display:flex;flex-wrap:wrap;gap:20px;padding-bottom:24px;background:#14251f}
@media(min-width:851px) and (max-width:1600px) and (pointer:fine){
 body.site-fluid.page-stem-product .product-immersive-hero{min-height:calc(100svh / .7 - var(--site-header-space))}
 body.site-fluid .product-hero-copy>h1{font-size:clamp(74px,7.2vw,108px)}
 .product-hero-copy{width:44%;max-width:760px}
 .product-hero-gallery-entry{width:380px}
 body.site-fluid .product-hero-gallery .product-six-gallery .stem-detail-stage{width:min(100%,calc(70svh * 1.6))}
 dialog.product-hero-gallery{max-height:calc(94svh / .7)}
}
@media(max-width:850px){
 body.site-fluid.page-stem-product .product-immersive-hero{display:flex;flex-direction:column;min-height:0;background:#14201d;padding-top:0}
 .product-hero-picture{position:relative;inset:auto;z-index:0;order:0;display:block;width:100%;height:auto;aspect-ratio:8/5;background:#faf9f6;mix-blend-mode:normal}
 .product-hero-picture>img{object-fit:contain}
 .product-hero-shade{display:none}
 body.site-fluid .product-hero-content{order:1;width:calc(100% - 44px);padding:26px 0 30px;display:flex;flex-direction:column}
 body.site-fluid .product-immersive-hero .breadcrumbs{font-size:15px;line-height:1.6;white-space:nowrap;overflow:auto;max-width:100%;margin-bottom:26px;scrollbar-width:none}
 .product-hero-copy{width:100%;max-width:none;padding:0;margin:0}
 body.site-fluid .product-hero-copy>.eyebrow{font-size:17px;line-height:1.5;margin-bottom:18px}
 body.site-fluid .product-hero-copy>h1{font-size:clamp(38px,8.4vw,54px);line-height:1.08;max-width:20ch;margin-bottom:24px}
 body.site-fluid .product-hero-description{font-size:20px;line-height:1.65;max-width:none;margin-bottom:26px}
 body.site-fluid .product-hero-actions>.text-link,body.site-fluid .product-hero-enquire{font-size:18px}
 .product-hero-actions{gap:20px}
 .product-hero-gallery-entry{position:static;width:100%;margin-top:32px;padding:22px;gap:12px;background:#1d2d27;border-color:#637064}
 body.site-fluid .product-hero-gallery-entry>span{font-size:17px}
 body.site-fluid .product-hero-gallery-entry>strong{font-size:26px}
 dialog.product-hero-gallery{width:calc(100vw - 20px);padding:16px;max-height:94svh}
 body.site-fluid .product-hero-gallery .dialog-toolbar>h2{font-size:19px}
 body.site-fluid .product-hero-gallery .product-six-gallery .stem-detail-stage{width:100%;aspect-ratio:8/5}
 body.site-fluid .product-hero-gallery .product-image-thumbnails{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 body.site-fluid .product-hero-gallery .product-image-thumbnails span,body.site-fluid .product-hero-gallery .product-six-gallery figcaption{font-size:17px}
}

/* Bring near-white design canvases to the shared ivory stage without altering geometry. */
.product-immersive-hero:is([data-hero-media-kind="catalogue-render"],[data-hero-media-kind="design-render"]):not([data-hero-pilot="stem-magic-wind-duct"]) .product-hero-picture{filter:brightness(1.04)}

.product-hero-backdrop{position:absolute;inset:0 0 0 auto;width:83%;height:100%;object-fit:cover;filter:blur(24px);transform:scale(1.04);z-index:-4}
.product-immersive-hero[data-hero-photograph="true"] .product-hero-picture{mix-blend-mode:normal}
@media(max-width:850px){.product-hero-backdrop{display:none}}

/* Four long unbroken product terms adapt within their existing text column. */
@media(min-width:851px){.product-immersive-hero[data-long-title-word="true"] .product-hero-copy{container-type:inline-size}body.site-fluid .product-immersive-hero[data-long-title-word="true"] .product-hero-copy>h1{font-size:clamp(48px,10.5cqw,84px);max-width:none;overflow-wrap:normal}}

/* This product includes a separate floor platform: keep the gallery control clear of it. */
@media(min-width:851px){.product-immersive-hero[data-hero-pilot="stem-catalogue-balance-test"] .product-hero-gallery-entry{right:auto;left:0;bottom:32px}}
