/* Shared full-screen opening for product details. */
.q-active-immersive-page main[data-product-detail]:empty{min-height:100svh;background:#3f372f}
.q-active-immersive-page .q-active-immersive-hero{position:relative;isolation:isolate;width:100%;height:100svh;min-height:640px;margin:0 0 64px;overflow:hidden;background:#3f372f}
.q-active-immersive-page .q-active-immersive-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.52),rgba(0,0,0,.16) 48%,transparent 76%)}
.q-active-immersive-page .q-active-immersive-hero .q-active-hero{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;background:transparent}
.q-active-immersive-page .q-active-immersive-hero .q-active-hero img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.q-active-immersive-page .q-active-immersive-hero .product-detail-title{position:absolute;top:clamp(110px,14vh,155px);left:50%;transform:translateX(-50%);z-index:2;margin:0;padding:0;text-align:center;color:#fff}
.q-active-immersive-page .q-active-immersive-hero h1{color:#fff;font-size:clamp(64px,8.5vw,120px);letter-spacing:-4px;text-shadow:0 2px 24px #0003;margin-bottom:22px}
.q-active-immersive-page .q-active-immersive-hero .product-detail-meta{color:#fff}
.q-active-immersive-page .q-active-immersive-hero .product-detail-meta :is(span,a){color:#fff;background:#ffffff1f;border:1px solid #ffffff40;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.q-active-immersive-page #main>.product-detail-back-slot{height:0}
@media(max-width:760px){
 .q-active-immersive-page .q-active-immersive-hero{height:100svh;min-height:540px;margin-bottom:40px}
 .q-active-immersive-page .q-active-immersive-hero .product-detail-title{top:125px}
 .q-active-immersive-page .q-active-immersive-hero h1{font-size:clamp(52px,12vw,76px);letter-spacing:-2.5px}
 .q-active-immersive-page .q-active-immersive-hero .product-detail-meta{gap:8px}
 .q-active-immersive-page .q-active-immersive-hero .q-active-hero img{object-position:54% center}
}

/* Overlay navigation so the photograph starts at the top of the viewport. */
body.q-active-immersive-page>header{position:fixed;top:0;left:0;right:0;z-index:10}

/* Dark liquid-glass navigation, scoped to the Q-ACTIVE experiment. */
body.q-active-immersive-page.q-active-dark-nav>header{
 --glass-nav-tint:rgba(16,16,19,.68);
 --glass-nav-sheen:rgba(255,255,255,.045);
 --floating-nav-bg:rgba(18,18,22,.68);
 --floating-nav-border:rgba(255,255,255,.15);
 --floating-nav-shadow:rgba(0,0,0,.2);
 color:#f5f5f7;border-bottom-color:#ffffff1a;
}
.q-active-immersive-page.q-active-dark-nav>header .nav>.brand,
.q-active-immersive-page.q-active-dark-nav>header .nav>.links,
.q-active-immersive-page.q-active-dark-nav>header .nav>.language-switch,
.q-active-immersive-page.q-active-dark-nav>header .nav>.search-toggle{box-shadow:inset 0 1px 0 #ffffff14,0 8px 28px #0003;color:#f5f5f7}
@media(min-width:761px){
 .q-active-immersive-page.q-active-dark-nav>header .nav-utilities>:is(.language-switch,.search-toggle){box-shadow:inset 0 1px 0 #ffffff14,0 8px 28px #0003;color:#f5f5f7}
}
.q-active-immersive-page.q-active-dark-nav>header .nav-logo-c,.q-active-immersive-page.q-active-dark-nav>header .nav-logo-dots{filter:brightness(0) invert(1)}
.q-active-immersive-page.q-active-dark-nav>header .menu,.q-active-immersive-page.q-active-dark-nav>header .search-toggle{color:#f5f5f7}
.q-active-immersive-page.q-active-dark-nav>header .language-switch button{color:#a1a1a6}
.q-active-immersive-page.q-active-dark-nav>header .language-switch button[aria-pressed="true"]{color:#f5f5f7}
.q-active-immersive-page.q-active-dark-nav>header .language-switch span{color:#626267}
.q-active-immersive-page.q-active-dark-nav>header .links a:hover,.q-active-immersive-page.q-active-dark-nav>header .products-trigger:hover,.q-active-immersive-page.q-active-dark-nav>header .products-trigger[aria-expanded="true"]{color:#2997ff}
.q-active-immersive-page.q-active-dark-nav>header .products-panel{background:#161617;color:#f5f5f7;box-shadow:0 28px 38px -30px #0009}
.q-active-immersive-page.q-active-dark-nav>header .products-caption{color:#a1a1a6}
.q-active-immersive-page.q-active-dark-nav>.product-subnav{background:rgba(18,18,22,.75);color:#f5f5f7;border-color:#ffffff26;box-shadow:inset 0 1px 0 #ffffff14,0 8px 28px #0003}
.q-active-immersive-page.q-active-dark-nav .product-subnav-list a:hover,.q-active-immersive-page.q-active-dark-nav .product-subnav-list a[aria-current="page"]{color:#2997ff}
.q-active-immersive-page.q-active-dark-nav .product-subnav-list span[aria-disabled]{color:#a1a1a6}
@media(max-width:760px){.q-active-immersive-page.q-active-dark-nav>header .links{background:#161617;color:#f5f5f7}}
@media(prefers-reduced-transparency:reduce){body.q-active-immersive-page.q-active-dark-nav>header{--glass-nav-tint:#161617;--floating-nav-bg:#161617}.q-active-immersive-page.q-active-dark-nav>.product-subnav{background:#161617}}

/* Keep both language options and the separator readable on dark glass. */
.q-active-immersive-page.q-active-dark-nav>header .language-switch button{color:#d2d2d7;opacity:1}
.q-active-immersive-page.q-active-dark-nav>header .language-switch button[aria-pressed="true"]{color:#fff}
.q-active-immersive-page.q-active-dark-nav>header .language-switch span{color:#a1a1a6;opacity:1}
.q-active-immersive-page.q-active-dark-nav>header .language-switch button:hover{color:#fff}
.q-active-immersive-page.q-active-dark-nav .product-detail-top-back{background:rgba(18,18,22,.68);color:#f5f5f7;border-color:#ffffff26;box-shadow:inset 0 1px 0 #ffffff14,0 8px 28px #0003}
.q-active-immersive-page.q-active-dark-nav .product-detail-top-back:hover{background:rgba(30,30,34,.85);color:#fff;border-color:#ffffff40}
@media(prefers-reduced-transparency:reduce){.q-active-immersive-page.q-active-dark-nav .product-detail-top-back{background:#161617}}

/* Let the dark/light change visibly blend instead of switching in one frame. */
.q-active-immersive-page>header .nav>.brand,
.q-active-immersive-page>header .nav>.links,
.q-active-immersive-page>header :is(.nav,.nav-utilities)>.language-switch,
.q-active-immersive-page>header :is(.nav,.nav-utilities)>.search-toggle{
 transition:background-color 1s ease-in-out,border-color 1s ease-in-out,color 1s ease-in-out,box-shadow 1s ease-in-out;
}
.q-active-immersive-page>header .language-switch button,
.q-active-immersive-page>header .language-switch span,
.q-active-immersive-page>header .menu,
.q-active-immersive-page>header .search-toggle{transition:color 1s ease-in-out}
.q-active-immersive-page>header .nav-logo-c,
.q-active-immersive-page>header .nav-logo-dots{transition:filter 1s ease-in-out}
.q-active-immersive-page>.product-subnav{transition:opacity .35s,transform .5s cubic-bezier(.22,.61,.36,1),visibility .35s,background-color 1s ease-in-out,color 1s ease-in-out,border-color 1s ease-in-out,box-shadow 1s ease-in-out}
.q-active-immersive-page .product-detail-top-back{transition:opacity .35s,background-color 1s ease-in-out,color 1s ease-in-out,border-color 1s ease-in-out,box-shadow 1s ease-in-out}
.q-active-immersive-page:where(.is-contact-approaching) .product-detail-top-back{transition:opacity .35s,visibility .35s,background-color 1s ease-in-out,color 1s ease-in-out,border-color 1s ease-in-out,box-shadow 1s ease-in-out}
@media(max-width:760px){body.q-active-immersive-page>header{transition:background-color 1s ease-in-out,color 1s ease-in-out,border-color 1s ease-in-out,width .6s,transform .6s,border-radius .6s}}
@media(prefers-reduced-motion:reduce){.q-active-immersive-page>header :is(.nav,.nav-utilities)>*,.q-active-immersive-page>header .language-switch button,.q-active-immersive-page>header .language-switch span,.q-active-immersive-page>header .nav-logo-c,.q-active-immersive-page>header .nav-logo-dots,.q-active-immersive-page>.product-subnav,.q-active-immersive-page .product-detail-top-back{transition:none}}

.q-active-immersive-page .q-active-immersive-hero::after{background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.06) 38%,rgba(0,0,0,.65))}

/* Smaller product name, with category pills directly underneath. */
.q-active-immersive-page .q-active-immersive-hero h1{font-size:clamp(41.6px,5.525vw,78px);letter-spacing:-2.6px;margin-bottom:22px}
.q-active-immersive-page .q-active-immersive-hero .product-detail-title .product-detail-meta{position:static;justify-content:flex-start;max-width:none;gap:8px}
@media(max-width:760px){
 .q-active-immersive-page .q-active-immersive-hero h1{font-size:clamp(33.8px,7.8vw,49.4px);letter-spacing:-1.625px}
 .q-active-immersive-page .q-active-immersive-hero .product-detail-title{bottom:48px}
}

/* One shared capsule, following the reference pricing-and-button treatment. */
.q-active-immersive-page .q-active-immersive-hero .product-detail-title .product-detail-meta{
 display:inline-flex;flex-wrap:nowrap;width:fit-content;max-width:100%;gap:20px;
 padding:10px 24px 10px 10px;border-radius:999px;
 background:rgba(245,245,247,.66);color:#fff;
 backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
}
.q-active-immersive-page .q-active-immersive-hero .product-detail-meta :is(span,a){
 padding:0;border:0;border-radius:0;background:transparent;color:#fff;
 font-size:17px;font-weight:400;line-height:1.25;
 backdrop-filter:none;-webkit-backdrop-filter:none;
}
.q-active-immersive-page .q-active-immersive-hero .product-detail-meta :is(span,a).is-active{color:#fff;}
@media(max-width:760px){
 .q-active-immersive-page .q-active-immersive-hero .product-detail-title .product-detail-meta{gap:14px;padding:8px 19px 8px 8px}
 .q-active-immersive-page .q-active-immersive-hero .product-detail-meta :is(span,a){font-size:14px}
 .q-active-immersive-page .q-active-immersive-hero .product-detail-meta :is(span,a).is-active{color:#fff}
}

/* Center the Q-ACTIVE signature in the photograph. */
.q-active-immersive-page .q-active-immersive-hero .product-detail-title{
 top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);
 padding:0;text-align:center;
}
.q-active-immersive-page .q-active-immersive-hero h1{
 font-size:clamp(49.92px,6.63vw,93.6px);letter-spacing:-3.12px;
}
@media(max-width:760px){
 .q-active-immersive-page .q-active-immersive-hero h1{font-size:clamp(40.56px,9.36vw,59.28px);letter-spacing:-1.95px}
}

/* Q-ACTIVE only: a calm, vertical product story below the immersive hero. */
.q-active-immersive-page .q-active-immersive-hero{margin-bottom:0}
.q-active-immersive-page .product-detail-description{
 display:flex;flex-direction:column;align-items:center;gap:30px;
 padding:128px 0 112px;text-align:center;
}
.q-active-immersive-page .product-detail-description>h2{
 align-self:center;text-align:center;margin-inline:auto;max-width:850px;font-size:clamp(40px,5.6vw,72px);line-height:1.06;letter-spacing:-2.8px;
}
.q-active-immersive-page .product-detail-description .product-detail-copy{max-width:710px}
.q-active-immersive-page .product-detail-description .product-detail-copy p{
 font-size:clamp(19px,2vw,23px);line-height:1.55;letter-spacing:-.35px;
}
.q-active-immersive-page .q-active-story{gap:120px;padding-bottom:120px}
.q-active-immersive-page .q-active-feature{
 display:flex;flex-direction:column;align-items:center;gap:46px;
}
.q-active-immersive-page .q-active-feature .q-active-feature-copy{
 display:block;width:100%;max-width:740px;text-align:center;
}
.q-active-immersive-page .q-active-feature-copy .eyebrow,
.q-active-immersive-page .q-active-gallery-heading .eyebrow{
 color:#737378;font-size:12px;line-height:1.5;letter-spacing:1.8px;
 font-weight:500;text-transform:uppercase;margin:0 0 18px;
}
.q-active-immersive-page .q-active-feature h2,
.q-active-immersive-page .q-active-gallery-heading h2{
 font-size:clamp(36px,4.8vw,64px);font-weight:600;line-height:1.08;
 letter-spacing:-2px;margin:0 0 26px;
}
.q-active-immersive-page .q-active-feature-text{font-size:20px;line-height:1.6;letter-spacing:-.25px}
.q-active-immersive-page .q-active-feature-image{
 width:100%;margin:0;padding:0;box-sizing:border-box;
 border-radius:30px;background:transparent;
}
.q-active-immersive-page .q-active-feature-image img{
 display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:inherit;mix-blend-mode:normal;
}
.q-active-immersive-page .q-active-story .product-detail-gallery{
 flex:none;width:100vw;max-width:none;align-self:center;margin:0;
}
.q-active-immersive-page .q-active-gallery-heading{text-align:center;margin-bottom:46px}
.q-active-immersive-page .q-active-gallery-heading h2{margin-bottom:0}
.q-active-immersive-page .product-detail-materials{padding-top:72px;border-top:1px solid #e8e8ed}
@media(max-width:760px){
 .q-active-immersive-page .product-detail-description{padding:72px 0 64px;gap:24px}
 .q-active-immersive-page .product-detail-description>h2{font-size:40px;letter-spacing:-1.6px}
 .q-active-immersive-page .product-detail-description .product-detail-copy p{font-size:19px}
 .q-active-immersive-page .q-active-story{gap:76px;padding-bottom:76px}
 .q-active-immersive-page .q-active-feature{gap:30px}
 .q-active-immersive-page .q-active-feature h2,
 .q-active-immersive-page .q-active-gallery-heading h2{font-size:36px;letter-spacing:-1.4px;margin-bottom:20px}
 .q-active-immersive-page .q-active-feature-text{font-size:18px;line-height:1.6}
 .q-active-immersive-page .q-active-feature-image{border-radius:22px;padding:0}
 .q-active-immersive-page .q-active-gallery-heading{margin-bottom:30px}
 .q-active-immersive-page .product-detail-materials{padding-top:48px}
}

/* Nym photographs use their own proportions instead of a widescreen frame. */
:is(.nym-soft-page,.laja-2-page,.pedrali-editorial-page,.maki-page) .product-detail-gallery{
 --product-slide-height:calc(var(--slide-width) / var(--product-max-ratio,1.5));
}
:is(.nym-soft-page,.laja-2-page,.pedrali-editorial-page,.maki-page) .product-detail-gallery .product-detail-slide{background:#f5f5f7}
:is(.nym-soft-page,.laja-2-page,.pedrali-editorial-page,.maki-page) .product-detail-gallery .product-detail-slide img{object-fit:contain;object-position:center}

/* Keep longer Narbutas category labels inside their capsule on narrow screens. */
.narbutas-editorial-page.q-active-immersive-page .q-active-immersive-hero .product-detail-meta :is(span,a):first-child{flex:0 0 auto}
.narbutas-editorial-page.q-active-immersive-page .q-active-immersive-hero .product-detail-meta :is(span,a):last-child{min-width:0;overflow-wrap:anywhere}

/* Maki: each slide follows its photograph's actual proportions. */
:is(.maki-page,.offecct-editorial-page,.profim-editorial-page,.hag-editorial-page) .product-detail-gallery{
 --product-slide-height:min(72svh,calc(var(--slide-width) / var(--product-max-ratio,1.5)));
}
:is(.maki-page,.offecct-editorial-page,.profim-editorial-page,.hag-editorial-page) .product-detail-gallery .product-detail-slide{
 width:calc(var(--product-slide-height) * var(--product-image-ratio,1.5));
 height:var(--product-slide-height);background:transparent;
}
:is(.maki-page,.offecct-editorial-page,.profim-editorial-page,.hag-editorial-page) .product-detail-gallery .product-detail-slide img{
 position:static;display:block;width:100%;height:100%;object-fit:contain;object-position:center;
}

.product-detail-meta a{color:inherit;text-decoration:none}
.product-detail-meta a:hover,.product-detail-meta a:focus,.product-detail-meta a:active{text-decoration:none}
.product-detail-meta a:focus-visible{outline:2px solid #0071e3;outline-offset:4px}

/* Keep the title and category switch centred while the photograph covers the lower edge. */
@media(max-width:760px) and (orientation:portrait) and (pointer:coarse){
 /* Continue the actual picture on the page canvas while Safari moves its bars. */
 html.product-photo-canvas>body.q-active-immersive-page{
  background-color:var(--product-page-surface);
  background-image:
   linear-gradient(transparent var(--product-cover-end),var(--product-page-surface) var(--product-cover-end)),
   linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.06) 38%,rgba(0,0,0,.65)),
   var(--product-photo-image,none);
  background-size:100% 100%,100% var(--product-cover-end),var(--product-photo-size,cover);
  background-position:0 0,0 0,var(--product-photo-position,center top);
  background-repeat:no-repeat;
 }
 html.product-photo-canvas.product-photo-at-edge,
 html.product-photo-canvas.product-photo-at-edge>body.q-active-immersive-page{
  background-color:var(--product-photo-edge,#3f372f);
 }
 html.product-photo-at-edge.product-photo-dark-edge{color-scheme:dark}
 html body.q-active-immersive-page #main .q-active-immersive-hero{
  height:calc(var(--product-screen-height,100dvh) + var(--product-photo-bleed,0px));
 }
 .q-active-immersive-page #main .q-active-immersive-hero .product-detail-title{
  top:calc((100% - var(--product-photo-bleed,0px)) / 2);
 }
}
.product-opening-cue{
 position:absolute;top:calc(100% + 16px);left:50%;translate:-50% 0;
 display:grid;place-items:center;width:46px;height:46px;padding:0;
 border:0;border-radius:50%;background:none;color:inherit;cursor:pointer;touch-action:manipulation;
}
.product-opening-cue::before{
 content:"";width:17px;height:17px;border:solid currentColor;border-width:0 1.5px 1.5px 0;
 rotate:45deg;filter:drop-shadow(0 1px 2px #0008);
}
.product-opening-cue:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(prefers-reduced-motion:no-preference){
 .product-opening-cue::before{animation:product-opening-pulse 1.65s ease-in-out infinite}
}
@keyframes product-opening-pulse{
 0%,100%{translate:0 -3px;opacity:.6}
 50%{translate:0 9px;opacity:1}
}

/* Safari can extend a wide fixed bar into the status area. Keep only its
   anchor narrow; both visible bars still follow the same page gutters. */
@media (max-width:760px) and (orientation:portrait) {
 body.q-active-immersive-page {
  --product-phone-bar-width:calc(100vw - 2 * var(--site-content-gutter));
 }
 html body.q-active-immersive-page > header:has(> .nav) {
  width:80vw;
  inset-inline:0;
  margin-inline:auto;
 }
 body.q-active-immersive-page > header > .nav,
 body.q-active-immersive-page > .product-subnav > .product-subnav-list {
  position:relative;
  left:50%;
  translate:-50% 0;
  width:var(--product-phone-bar-width);
  margin-inline:0;
 }
 html body.q-active-immersive-page > header > .nav > .links.open {
  inset-inline:0;
 }
 html body.q-active-immersive-page > .product-subnav {
  width:80vw;
  overflow:visible;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
 }
 body.q-active-immersive-page > .product-subnav > .product-subnav-list {
  background:rgb(var(--liquid-rgb) / calc(var(--liquid-alpha) + var(--liquid-opacity-boost)));
  border:1px solid var(--liquid-rim);
  box-shadow:var(--liquid-sheen),var(--liquid-shadow);
  -webkit-backdrop-filter:var(--liquid-blur);
  backdrop-filter:var(--liquid-blur);
 }
}
