/* Section-owned composition; existing site circles, arrows and fonts are retained. */
.fragrance-detail-page:has(.fragrance-discovery-v2) main.fragrance-page,
.fragrance-detail-page:has(#formats[data-explorer="v1"]):has(.fragrance-discovery-v2) main.fragrance-page{margin-inline:auto}
.fragrance-discovery.fragrance-discovery-v2{--discovery-gutter:max(4%,calc((100vw - 2000px)/2 + 80px));grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:30px;width:100%;max-width:none;padding:22px var(--discovery-gutter);margin:0;border-bottom:1px solid #e4e4e1;color:#777}
.fragrance-discovery.fragrance-discovery-v2 .discovery-step{grid-column:1;grid-row:1;gap:14px;max-width:100%;min-width:0;text-align:left;justify-self:start}
.fragrance-discovery.fragrance-discovery-v2 .discovery-step-next{grid-column:3;justify-self:end;text-align:right}
.fragrance-discovery.fragrance-discovery-v2 .discovery-step-copy{display:block;min-width:0}
.fragrance-discovery.fragrance-discovery-v2 .discovery-step small{font-size:9px;letter-spacing:.09em;line-height:1.6;text-transform:uppercase;color:#888}
.fragrance-discovery.fragrance-discovery-v2 .discovery-name{display:block;font:400 23px/1.2 Cormorant,Georgia,serif;color:#333;margin-top:3px;overflow-wrap:anywhere}
.fragrance-discovery.fragrance-discovery-v2 .discovery-browse{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;gap:26px;padding:0 30px;border-inline:1px solid #e4e4e1}
.fragrance-discovery.fragrance-discovery-v2 .discovery-browse a{font:400 12px/1.4 Manrope,Arial,sans-serif;gap:11px;text-align:left;justify-self:auto;white-space:nowrap}
.fragrance-discovery.fragrance-discovery-v2 a:hover .discovery-name{color:#000}
.fragrance-discovery.fragrance-discovery-v2 a:hover .link-arrow{border-color:#999;color:#111}
@media(max-width:1100px){.fragrance-discovery.fragrance-discovery-v2{gap:18px}.fragrance-discovery.fragrance-discovery-v2 .discovery-browse{gap:18px;padding:0 20px}.fragrance-discovery.fragrance-discovery-v2 .discovery-browse a{font-size:11px}.fragrance-discovery.fragrance-discovery-v2 .discovery-name{font-size:21px}}
@media(max-width:900px){
 .fragrance-discovery.fragrance-discovery-v2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 20px;padding:16px var(--discovery-gutter) 18px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-browse{grid-row:1;grid-column:1/-1;justify-content:center;gap:20px;padding:0 0 15px;border:0;border-bottom:1px solid #e9e9e6}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-browse a{font-size:11px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-step{grid-row:2;grid-column:1;gap:10px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-step-next{grid-column:2;justify-self:end}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-name{font-size:21px}
}
@media(max-width:400px){
 .fragrance-discovery.fragrance-discovery-v2{gap:13px 12px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-browse{gap:12px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-browse a{gap:8px;font-size:10px;white-space:normal}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-step{gap:8px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-step small{font-size:8px;letter-spacing:.02em;text-transform:none}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-name{font-size:19px;line-height:1.1}
 .fragrance-discovery.fragrance-discovery-v2 .link-arrow{width:40px;height:40px}
}

/* Full-width colour only; the centred content still follows the product axis. */
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"]{background:#111;color:#ededed;border-bottom-color:transparent;margin-top:0}
@media(min-width:1800px){.fragrance-detail-page:has(.fragrance-discovery-v2) .fragrance-product-hero#formats[data-explorer="v1"]{min-height:min(900px,calc(100svh - var(--explorer-header-height,88px) - var(--discovery-height,88px)))}}
@media(max-width:700px){.fragrance-discovery.fragrance-discovery-v2{--discovery-gutter:6%}}
@media(max-width:380px){.fragrance-discovery.fragrance-discovery-v2{--discovery-gutter:16px}}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] .discovery-name{color:#f5f5f5}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] .discovery-step small{color:#aaa}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] .discovery-browse{border-color:#3b3b3b}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] .link-arrow{border-color:#555;color:#e8e8e8}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] a:hover{color:#fff}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] a:hover .discovery-name{color:#fff}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] a:hover .link-arrow{border-color:#bbb;color:#fff}
.fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"] a:focus-visible{outline-color:#fff}

/* Keep format choice centred on the entire scene, independent of the 3D action. */
.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-viewbar{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:0;padding-bottom:18px}
.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-display>.explorer-mode-group{display:flex;justify-content:center;margin:16px 0 0}
.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-modes{justify-content:center}
.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-formats{width:min(100%,360px);align-self:center}
.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .product-hero-tab{gap:7px}
.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .format-silhouette{display:inline-flex;flex:none;width:22px;height:26px;align-items:center;transform:none}
@media(max-width:400px){.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .product-hero-tab{gap:4px}}

/* The name uses its own modest measure; the scene receives the remaining width. */
@media(min-width:761px){
 .fragrance-detail-page:has(.fragrance-discovery-v2) .fragrance-product-hero#formats[data-explorer="v1"]{grid-template-columns:clamp(240px,24%,340px) minmax(0,1fr);gap:clamp(24px,3vw,48px)}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-heading{container-type:inline-size}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] h1{font-size:clamp(50px,23cqw,94px)}
}
/* Match the entire 2160×1280 film, rather than cropping or zooming its shadows. */
.fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="film"] .product-hero-stage{height:auto!important;aspect-ratio:27/16;min-height:0}

/* Desktop is one viewport: the complete frame fits the remaining scene height. */
@media(min-width:1024px) and (min-height:460px){
 .fragrance-detail-page:has(.fragrance-discovery-v2) .fragrance-product-hero#formats[data-explorer="v1"]{height:calc(100svh - var(--explorer-header-height,88px) - var(--discovery-height,88px))!important;min-height:0;max-height:none;padding-block:16px;grid-template-rows:minmax(0,1fr)!important}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-display{display:flex;flex-direction:column;align-self:stretch;height:100%;min-height:0}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-viewbar,
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-mode-group,
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-tools{flex:none}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode] .product-hero-stage{flex:1 1 0;height:auto!important;min-height:0;aspect-ratio:auto}
}
@media(min-width:1024px) and (min-height:460px) and (max-height:650px){
 .fragrance-discovery.fragrance-discovery-v2[data-discovery-theme="dark"]{padding-block:8px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-name{font-size:clamp(18px,1.55vw,20px);line-height:1.15;margin-top:2px}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-step small{font-size:9px;line-height:1.35;letter-spacing:.025em;text-transform:none}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-browse a{font-size:11px;line-height:1.4}
 .fragrance-detail-page:has(.fragrance-discovery-v2) .fragrance-product-hero#formats[data-explorer="v1"]{padding-block:8px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-display{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px) auto minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;column-gap:12px;row-gap:8px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode] .product-hero-stage{grid-row:1;grid-column:1/-1;align-self:stretch}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-viewbar{grid-row:2;grid-column:2;padding:0;align-self:center}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-display>.explorer-mode-group{grid-row:2;grid-column:3;margin:0;align-self:center}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-tools{grid-row:3;grid-column:1/-1}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] h1{font-size:clamp(42px,17cqw,64px);margin-bottom:16px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .product-hero-introduction .eyebrow{margin-bottom:12px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .product-hero-family{font-size:20px!important;margin-bottom:12px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"] .explorer-page-nav{margin-top:12px}
}

@media(max-width:400px){
 .fragrance-discovery.fragrance-discovery-v2 .discovery-step small{font-size:9px;line-height:1.35}
 .fragrance-discovery.fragrance-discovery-v2 .discovery-browse a{font-size:11px;line-height:1.4}
}

/* Inspection mode: the model owns the stage; controls sit outside its centre. */
@media(min-width:1024px) and (min-height:460px){
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] .explorer-heading{position:absolute;top:28px;left:0;z-index:3;width:240px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] h1{font-size:clamp(38px,3.4vw,56px);margin-bottom:16px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] .product-hero-family{font-size:20px!important;margin-bottom:12px}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] .explorer-display{position:absolute;inset:8px 0;display:block;width:100%;height:auto}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] .product-hero-stage{position:absolute;inset:0;width:100%;height:100%!important;aspect-ratio:auto}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] .explorer-viewbar{position:absolute;z-index:4;bottom:0;left:0;width:300px;padding:0;background:transparent}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] .explorer-display>.explorer-mode-group{position:absolute;z-index:4;top:8px;right:0;margin:0}
 .fragrance-detail-page:has(.fragrance-discovery-v2) #formats[data-explorer="v1"][data-explorer-mode="3d"] .explorer-tools{position:absolute;z-index:4;bottom:0;right:0;width:auto;gap:24px;min-height:44px;padding:0;border:0}
}

