/* V042: shared product overview and editorial media geometry. Original assets stay intact. */
.product-layout-v042 main img{max-width:100%;height:auto}
.product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.product-overview-v042){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,56px);min-height:0;padding-block:32px}
.product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.product-overview-v042)>*{min-width:0}
.product-layout-v042 :is(.mmc-hero,.bu-product)>img{display:block;width:100%;height:auto!important;aspect-ratio:4/3;max-height:clamp(280px,52svh,480px);object-fit:contain;object-position:center;background:#fff}
.product-layout-v042 .mmc-hero>img{object-fit:cover}
.product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.umc-intro-v022) h1{font-size:clamp(30px,3.3vw,48px)!important;line-height:1.12!important;margin:14px 0 18px;text-wrap:balance;overflow-wrap:break-word}
.product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.umc-intro-v022) p{font-size:16px;line-height:1.65;margin-block:12px;max-width:62ch}
.product-layout-v042 .mmc-actions{margin-top:20px;gap:12px 24px}
.product-layout-v042 .mmc-actions .mmc-link{margin:0}
.product-layout-v042 .bu-specs{padding-block:12px;gap:12px 24px;margin-block:16px}
.product-layout-v042 .bu-specs dd{margin-top:4px}
.product-layout-v042 .grade-hero>div{position:static!important;align-self:start!important;padding-top:32px}
.product-layout-v042 .has-product-gallery>.product-gallery{order:0}
.product-layout-v042 .grade-hero .product-gallery-stage img{height:auto;aspect-ratio:4/3;max-height:clamp(240px,43svh,390px);object-fit:contain}
.product-layout-v042 .product-gallery-stage figcaption{min-height:0;padding-top:12px}
.product-layout-v042 .product-gallery-toolbar{margin-block:8px}
.product-layout-v042 .product-gallery-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.product-layout-v042 .product-gallery-thumbnails img{max-height:90px;object-fit:contain}
.product-layout-v042 .product-gallery-thumb>[data-item-title]{font-size:12px}
.product-layout-v042 .product-gallery-toolbar button{min-height:44px}
.product-layout-v042 .product-colour-references-v042{padding-top:12px;border-top:1px solid #d8e2e1;margin-top:16px}
.product-layout-v042 .product-colour-references-v042 .spec-note{font-size:13px;line-height:1.5}
.product-layout-v042 .grade-page{padding-top:12px}
.product-layout-v042 .grade-page>.crumb{margin-block:10px}
.product-layout-v042 .premium-product-rail{position:static;margin-bottom:8px;padding-block:10px}
.product-layout-v042 .bu-breadcrumb{padding-block:10px}
.product-overview-v042{width:90%;max-width:1280px;margin-inline:auto}
.product-overview-v042 .umc-intro-v022,.product-overview-v042 .umc-forms{width:100%;padding:0;margin:0}
.product-overview-v042 .umc-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.product-overview-v042 .umc-form-grid img{height:auto!important;aspect-ratio:1;max-height:240px;object-fit:contain}
.product-overview-v042 .umc-forms h2{font-size:22px;margin:0 0 12px}
.product-overview-v042 .umc-forms p{font-size:14px;line-height:1.6}
.product-overview-v042 .umc-form-grid figcaption{padding-block:8px}
/* Related application, packing and production media use bounded landscape frames. */
.product-layout-v042 :is(.mmc-two article>img,.mmc-two figure>img,.mmc-factory-preview img,.bu-card>img,.product-application-card img){height:auto!important;aspect-ratio:3/2;max-height:360px;object-fit:cover}
.product-layout-v042 .mmc-two{align-items:start;gap:28px}
.product-layout-v042 .mmc-two article>h3{margin-block:16px 10px}
.product-layout-v042 :is(.mmc-section,.bu-section){padding-block:40px}
.product-layout-v042 .mmc-two figcaption{padding-block:10px;line-height:1.5}
.product-layout-v042 .mmc-two video{max-height:360px;object-fit:contain}
@media(max-width:900px){
 .product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.product-overview-v042){gap:24px}
 .product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.umc-intro-v022) h1{font-size:32px!important}
}
@media(max-width:700px){
 .product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.product-overview-v042){grid-template-columns:1fr;gap:20px;padding-block:20px}
 .product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.umc-intro-v022) h1{font-size:28px!important;margin-block:10px 14px;line-height:1.15!important}
 .product-layout-v042 :is(.mmc-hero,.bu-product,.grade-hero,.umc-intro-v022) p{font-size:16px;line-height:1.55;margin-block:10px}
 .product-layout-v042 :is(.mmc-hero,.bu-product)>img{aspect-ratio:16/10;max-height:240px}
 .product-layout-v042 .grade-hero .product-gallery-stage img{aspect-ratio:16/10;max-height:220px}
 .product-layout-v042 .grade-hero>div{padding-top:0}
 .product-layout-v042 .mmc-actions{margin-top:14px;gap:8px 16px}
 .product-layout-v042 .mmc-actions a{min-height:44px;font-size:14px}
 .product-layout-v042 .bu-specs{margin-block:4px;padding-block:6px}
 .product-layout-v042 .bu-product{padding-block:16px;gap:12px}
 .product-layout-v042 .bu-breadcrumb{padding-block:6px;gap:16px}
 .product-layout-v042 .grade-page>.crumb{margin-block:8px}
 .product-layout-v042 .premium-product-rail{margin-bottom:0;padding-block:8px}
 .product-layout-v042 .premium-product-tags{margin-block:8px}
 .product-overview-v042 .umc-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-overview-v042 .umc-form-grid img{max-height:180px}
 .product-layout-v042 :is(.mmc-two article>img,.mmc-two figure>img,.mmc-factory-preview img,.bu-card>img){max-height:260px}
 .product-layout-v042 :is(.mmc-section,.bu-section){padding-block:32px}
}
/* The global path already names the product; remove the duplicated legacy breadcrumb. */
.product-layout-v042 .grade-page>.crumb{display:none}
.product-overview-v042>.umc-jumps-v022{grid-column:1/-1;margin:0}
@media(max-width:700px){
 .product-overview-v042 .umc-intro-v022>.mmc-link{font-size:13px;min-height:32px;padding-block:4px;margin:0}
 .product-layout-v042 .grade-hero .premium-technical-link{margin-top:8px}
}

/* V058: keep long-language mobile heroes compact without shrinking controls. */
@media(max-width:700px){.product-layout-v042 .grade-hero>div:has(.premium-product-tags)>.eyebrow{display:none}.product-layout-v042 .grade-hero{gap:12px}}

@media(max-width:700px){.product-layout-v042 :is(.grade-hero,.bu-product,.mmc-hero,.umc-intro-v022) .eyebrow,.product-layout-v042 .grade-hero .premium-product-tags{display:none}}

@media(max-width:700px){.product-layout-v042 .bu-product{padding-top:0}}
