/* Individual product details only. Breadcrumbs, tabs, links and related tiles retain their styles. */
#main.product-detail-refined .product-hero{background:#eef4f1;padding-block:clamp(40px,5vw,64px)}
#main.product-detail-refined .product-hero .split{gap:clamp(32px,5vw,72px);align-items:center}
#main.product-detail-refined .product-hero h1{margin:16px 0 24px}
#main.product-detail-refined .product-hero .lead{margin-bottom:24px;max-width:56ch}
#main.product-detail-refined .product-keyfacts{display:grid;grid-template-columns:1fr;gap:20px;margin:28px 0 32px;max-width:58ch}
#main.product-detail-refined .product-keyfacts>div{margin:0;padding-left:16px;border-left:1px solid var(--sage);min-width:0;overflow-wrap:break-word}
#main.product-detail-refined .product-keyfacts>div[data-fact-label]:not([data-fact-label=""]):before{content:attr(data-fact-label);display:block;font-family:var(--font-label);font-size:10px;font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;line-height:1.5}
#main.product-detail-refined .product-keyfacts strong{font-family:var(--font-body);font-size:15px;font-weight:400;line-height:1.65;color:var(--green)}
#main.product-detail-refined .product-hero-image{background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0;padding:20px;align-self:center}
#main.product-detail-refined .product-hero-image img{max-height:420px;max-width:100%;width:auto;height:auto;object-fit:contain}
#main.product-detail-refined>.page-section{padding-block:clamp(48px,5vw,72px)}
#main.product-detail-refined #variants{background:#f4f8f3}
#main.product-detail-refined .variant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px 28px;margin-top:28px}
#main.product-detail-refined .variant-grid>.content-card:not(:has(a,button,input,select)){border:0;border-top:1px solid var(--sage);background:transparent;border-radius:0;box-shadow:none;padding:18px 0 0;cursor:default;transform:none;transition:none}
#main.product-detail-refined .variant-grid>.content-card:not(:has(a,button,input,select)) p{margin:0;font-family:var(--font-label);font-weight:400}
#main.product-detail-refined .spec-list{margin-top:28px}
#main.product-detail-refined .spec-list>div{grid-template-columns:minmax(120px,.7fr) minmax(0,1.8fr);gap:24px;padding-block:22px;align-items:start}
#main.product-detail-refined .spec-list dt{font-family:var(--font-label);font-size:10px;line-height:1.6;letter-spacing:.06em}
#main.product-detail-refined .spec-list dd{font-size:15px;line-height:1.65;min-width:0;overflow-wrap:break-word}
#main.product-detail-refined #documents{background:#e6ece5;border:0;padding:28px;align-self:start}
@media(max-width:700px){
 #main.product-detail-refined .product-hero .split{grid-template-columns:1fr}
 #main.product-detail-refined .product-hero-image{padding:12px;justify-self:center;width:100%;box-sizing:border-box}
 #main.product-detail-refined .product-hero-image img{max-height:320px}
 #main.product-detail-refined .spec-list>div{grid-template-columns:1fr;gap:8px}
 #main.product-detail-refined .variant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
/* Final product composition; original assets and all navigation are retained. */
#main.product-detail-refined .product-hero{padding-block:44px 48px}
#main.product-detail-refined .product-hero .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,4vw,56px)}
#main.product-detail-refined .product-hero h1{margin:14px 0 20px}
#main.product-detail-refined .product-hero .lead{max-width:52ch;line-height:1.65}
#main.product-detail-refined .product-keyfacts{gap:18px;margin:26px 0 28px}
#main.product-detail-refined .product-keyfacts>div{padding-left:14px}
#main.product-detail-refined .product-hero-image{padding:0;width:100%;justify-self:center}
#main.product-detail-refined .product-hero-image img{max-height:480px;max-width:100%;width:auto;height:auto}
#main.product-detail-refined>.page-section{padding-block:56px}
#main.product-detail-refined #overview{background:#fff}
#main.product-detail-refined #overview h2{margin-bottom:18px}
#main.product-detail-refined #overview p:last-child{margin-bottom:0;max-width:76ch}
#main.product-detail-refined #variants{background:#eef4f1}
#main.product-detail-refined #variants h2{margin-bottom:0}
#main.product-detail-refined .spec-list{margin-top:22px;margin-bottom:0}
#main.product-detail-refined .spec-list>div{padding-block:20px}
#main.product-detail-refined #documents{padding:30px;background:#e6ece5}
#main.product-detail-refined #documents h2{margin-bottom:20px}
#main.product-detail-refined .product-card{border:0}
#main.product-detail-refined .product-card .card-body{padding:21px 22px 23px;background:#fbfcf9}
#main.product-detail-refined .product-card h3{font-size:17px;font-weight:500;line-height:1.4;letter-spacing:-.015em;margin:0 0 8px}
#main.product-detail-refined .product-card .card-body p{font-size:13px;line-height:1.6;margin:0}
@media(max-width:700px){
 #main.product-detail-refined .product-hero{padding-block:32px 36px}
 #main.product-detail-refined .product-hero .split{grid-template-columns:1fr;gap:28px}
 #main.product-detail-refined .product-hero-image{padding:0 12px}
 #main.product-detail-refined .product-hero-image img{max-height:360px}
 #main.product-detail-refined>.page-section{padding-block:40px}
 #main.product-detail-refined #documents{padding:24px}
 #main.product-detail-refined .product-card .card-body{padding:18px 16px 20px}
 #main.product-detail-refined .product-card h3{font-size:16px}
 #main.product-detail-refined .product-card .card-body p{font-size:12px}
}

/* Portfolio visual finish — isolated to existing individual product pages. */
#main.product-detail-refined .product-hero{
 --product-stage:linear-gradient(135deg,#e6ece5 0%,#eef4f1 58%,#f2f5f3 100%);
 background:linear-gradient(112deg,#fbfcf9 0%,#fbfcf9 43%,#eef4f1 78%,#e6ece5 100%);
 padding-block:52px;
 overflow:hidden;
}
#main.product-detail-refined .product-hero .split{position:relative;gap:clamp(32px,4.5vw,64px);align-items:center}
#main.product-detail-refined .product-hero .split>div:first-child{position:relative;z-index:1;min-width:0}
#main.product-detail-refined .product-hero .eyebrow{color:#004437;line-height:1.6;max-width:56ch}
#main.product-detail-refined .product-hero h1{
 font-family:var(--font-headline);font-size:clamp(32px,3.4vw,46px);font-weight:400;
 line-height:1.12;letter-spacing:-.03em;color:#004437;max-width:22ch;margin:16px 0 22px;
}
#main.product-detail-refined .product-hero .lead{font-size:16px;line-height:1.7;max-width:48ch;color:var(--muted)}
#main.product-detail-refined .product-keyfacts{gap:18px;margin:28px 0 30px;max-width:54ch}
#main.product-detail-refined .product-keyfacts>div{border-left:0;border-top:1px solid var(--line);padding:12px 0 0}
#main.product-detail-refined .product-keyfacts>div[data-fact-label]:not([data-fact-label=""]):before{
 font-size:10px;letter-spacing:.1em;color:#004437;margin-bottom:7px;
}
#main.product-detail-refined .product-keyfacts strong{font-weight:400;line-height:1.7}
#main.product-detail-refined .product-hero-image{
 position:relative;aspect-ratio:auto;display:flex;align-items:center;
 justify-content:center;padding:24px;min-width:0;background:var(--product-stage);
}
#main.product-detail-refined .product-hero-image img{
 display:block;max-width:100%;max-height:480px;width:auto;height:auto;object-fit:contain;
}
/* Preserve the opaque studio background of the existing HA-PN photograph. */
#main.product-detail-refined .product-hero:has(.product-hero-image img[src$="/elaxen-ha-pn-enlarged.webp"]){
 --product-stage:linear-gradient(135deg,#f2f5f3,#e6ece5);
}
#main.product-detail-refined>.page-section{padding-block:clamp(44px,5vw,68px)}
#main.product-detail-refined>.page-section h2{font-family:var(--font-headline);font-size:clamp(21px,1.9vw,25px);font-weight:400;line-height:1.25;letter-spacing:-.02em;color:#004437}
#main.product-detail-refined #overview{background:#fff}
#main.product-detail-refined #overview .eyebrow,#main.product-detail-refined #specifications .eyebrow{color:#004437}
#main.product-detail-refined #overview .lead{font-size:16px;line-height:1.75;max-width:70ch}
#main.product-detail-refined #variants{background:#fbfcf9}
#main.product-detail-refined .variant-grid{margin-top:26px;gap:22px 32px}
#main.product-detail-refined .variant-grid>.content-card:not(:has(a,button,input,select)){border-top-color:var(--line);padding-top:16px}
#main.product-detail-refined #specifications{background:#f2f5f3}
#main.product-detail-refined .spec-list>div{padding-block:20px;gap:24px;border-bottom-color:var(--line)}
#main.product-detail-refined .spec-list dt{font-size:10px;letter-spacing:.08em;color:#004437}
#main.product-detail-refined .spec-list dd{line-height:1.75;color:var(--ink)}
#main.product-detail-refined #documents{
 background:linear-gradient(135deg,#e6ece5,#fbfcf9);border-top:2px solid #004437;
 padding:30px;min-width:0;
}
#main.product-detail-refined #documents p{line-height:1.7}
@media(max-width:1000px) and (min-width:701px){
 #main.product-detail-refined .product-hero-image{aspect-ratio:1;padding:16px 0}
 #main.product-detail-refined .product-hero h1{font-size:36px}
}
@media(max-width:700px){
 #main.product-detail-refined .product-hero{padding-block:36px 32px;background:linear-gradient(170deg,#fbfcf9 0%,#fbfcf9 54%,#eef4f1 100%)}
 #main.product-detail-refined .product-hero .split{gap:36px}
 #main.product-detail-refined .product-hero h1{font-size:32px;max-width:100%;margin:14px 0 20px}
 #main.product-detail-refined .product-hero .lead{font-size:15px;max-width:100%}
 #main.product-detail-refined .product-keyfacts{margin:24px 0 26px;gap:16px}
 #main.product-detail-refined .product-hero-image{aspect-ratio:auto;min-height:260px;padding:24px 12px}
 #main.product-detail-refined .product-hero-image img{max-height:340px;max-width:100%}
 #main.product-detail-refined .spec-list>div{gap:8px}
 #main.product-detail-refined #documents{padding:24px}
}

/* Final section refinements, restricted to the individual-product template. */
#main.product-detail-refined #overview{background:#fff}
#main.product-detail-refined #overview .eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:16px}
#main.product-detail-refined #overview .eyebrow::before{content:"";width:32px;height:1px;background:#004437;flex:0 0 32px}
#main.product-detail-refined #overview h2{font-weight:500;margin-bottom:20px}
#main.product-detail-refined #variants{background:#fbfcf9}
#main.product-detail-refined .variant-grid{gap:24px 32px}
#main.product-detail-refined .variant-grid>.content-card:not(:has(a,button,input,select)){border-top-color:var(--sage);padding-block:18px 8px}
#main.product-detail-refined .variant-grid>.content-card:not(:has(a,button,input,select)) p{color:#004437;line-height:1.6}
#main.product-detail-refined #specifications{background:#e6ece5}
#main.product-detail-refined #specifications>.split{align-items:start}
#main.product-detail-refined .spec-list>div{border-bottom-color:var(--line)}
#main.product-detail-refined .spec-list dt{font-weight:500;font-size:12px;letter-spacing:0;text-transform:none}
#main.product-detail-refined #documents{background:#fbfcf9}
#main.product-detail-refined>.page-section:has(>.container>.product-grid){background:#fbfcf9;padding-block:48px 44px}
#main.product-detail-refined>.page-section:has(>.container>.product-grid)>.container>h2{margin:0 0 28px}
/* Existing product contact band, not the shared global footer. */
#main.product-detail-refined>.closing-band .cta{background:transparent;color:#fbfcf9;border:0;border-radius:0;box-shadow:none;padding:0 0 6px;min-height:0}
#main.product-detail-refined>.closing-band .cta:hover{background:transparent;color:#fbfcf9;opacity:.75}
#main.product-detail-refined>.closing-band .cta:focus-visible{outline:2px solid #fbfcf9;outline-offset:6px}
@media(min-width:701px){
 #main.product-detail-refined .product-hero{background:linear-gradient(112deg,#fbfcf9 0%,#fbfcf9 40%,#eef4f1 70%,#e6ece5 100%)}
}
@media(max-width:700px){
 #main.product-detail-refined .variant-grid{gap:20px}
 #main.product-detail-refined>.page-section:has(>.container>.product-grid){padding-block:40px 36px}
 #main.product-detail-refined>.page-section:has(>.container>.product-grid)>.container>h2{margin-bottom:24px}
}

/* Composition comes from photography and tonal contrast, without decorative shapes. */
#main.product-detail-refined .product-hero{padding-block:36px;background:#fbfcf9}
#main.product-detail-refined .product-hero h1{margin:14px 0 18px}
#main.product-detail-refined .product-hero .lead{margin-bottom:20px}
#main.product-detail-refined .product-keyfacts{margin:22px 0 24px;gap:16px}
#main.product-detail-refined .product-keyfacts>div{padding-top:10px}
#main.product-detail-refined .product-keyfacts>div[data-fact-label]:not([data-fact-label=""]):before{font-size:11px;letter-spacing:0;text-transform:none}
#main.product-detail-refined .product-hero-image{aspect-ratio:auto;min-height:0;border:0;outline:0;border-radius:0;box-shadow:none;padding:24px;background:var(--product-stage)}
#main.product-detail-refined .product-hero-image img{max-height:400px}
#main.product-detail-refined>.page-section h2{text-transform:none;font-weight:500;letter-spacing:-.02em}
#main.product-detail-refined #documents{background:#fbfcf9;border-top-width:1px}
@media(max-width:1000px) and (min-width:701px){
 #main.product-detail-refined .product-hero-image{padding:20px}
}
@media(max-width:700px){
 #main.product-detail-refined .product-hero{padding-block:28px}
 #main.product-detail-refined .product-hero .split{gap:28px}
 #main.product-detail-refined .product-hero-image{padding:20px;min-height:0}
 #main.product-detail-refined .product-hero-image img{max-height:320px}
}
/* Technical-reference columns align with the product hero above. */
@media(min-width:701px) {
 #main.product-detail-refined #specifications > .split {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(32px,4.5vw,64px);
 }
 #main.product-detail-refined #documents {width:100%;min-width:0;box-sizing:border-box}
}
/* Mobile documentation is a full-bleed band; copy retains the page gutter. */
@media(max-width:700px) {
 #main.product-detail-refined #documents {
  width:calc(100% + 2 * var(--page-gutter));max-width:none;
  margin-inline:calc(-1 * var(--page-gutter));
  padding-inline:var(--page-gutter);box-sizing:border-box;
 }
}
/* Product stages reach the viewport edges on phones; product copy keeps its grid. */
@media(max-width:700px) {
 #main.product-detail-refined .product-hero-image {
  width:calc(100% + 2 * var(--page-gutter));max-width:none;
  margin-inline:calc(-1 * var(--page-gutter));
  justify-self:start;box-sizing:border-box;
 }
}

/* Keep the existing HA-PN hero image frame while containing the approved transparent asset. */
#main.product-detail-refined .product-hero-image img[src$="/elaxen-ha-pn-enlarged.webp"]{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
