/* Desktop product opening: two full-height planes, independent inner compositions. */
@media(min-width:801px) {
    .body--product #product-page-top {
        --pdp-continuous-surface:color-mix(in srgb,#171717,var(--vernissage-dark-surface,#151515) calc(var(--pdp-opening-progress,0) * 100%));
        padding-top:0;
    }
    .body--product #product-page-top > .productView {
        --pdp-diptych-dark:#171717;
        background:var(--pdp-continuous-surface) !important;
        column-gap:0;
        grid-template-columns:repeat(2,minmax(0,1fr));
        isolation:isolate;
        margin-left:calc(50% - 50vw);
        margin-right:calc(50% - 50vw);
        max-width:none;
        padding-bottom:0;
        padding-top:0;
        width:100vw;
    }
    /* Only the image stage sticks; moving its parent would pull it behind the header. */
    .body--product #product-page-top > .productView.is-pdp-overlap-ready {
        position:relative;
        top:auto;
    }
    .body--product #product-page-top > .productView::before { display:none; }
    .body--product #product-page-top .productView-pdpImageChrome::before {
        content:"";
        display:block;
        position:absolute;
        inset:0;
        --pdp-atelier-light:calc(1 - var(--pdp-plane-color-progress,0));
        background:
            radial-gradient(ellipse 34% 24% at 43% 18%,rgb(255 255 255 / calc(.92 * var(--pdp-atelier-light))) 0%,rgb(255 255 255 / calc(.48 * var(--pdp-atelier-light))) 40%,transparent 100%),
            radial-gradient(ellipse 27% 38% at 85% 49%,rgb(255 255 255 / calc(.8 * var(--pdp-atelier-light))) 0%,rgb(255 255 255 / calc(.32 * var(--pdp-atelier-light))) 45%,transparent 100%),
            linear-gradient(180deg,transparent 43%,rgb(42 42 42 / calc(.04 * var(--pdp-atelier-light))) 73%,rgb(42 42 42 / calc(.14 * var(--pdp-atelier-light))) 100%),
            linear-gradient(124deg,rgb(48 48 48 / calc(.11 * var(--pdp-atelier-light))) 0%,rgb(48 48 48 / calc(.045 * var(--pdp-atelier-light))) 17%,rgb(255 255 255 / calc(.88 * var(--pdp-atelier-light))) 34%,rgb(255 255 255 / calc(.68 * var(--pdp-atelier-light))) 45%,transparent 64%,rgb(48 48 48 / calc(.14 * var(--pdp-atelier-light))) 100%),
            linear-gradient(rgb(64 64 64 / calc(.08 * var(--pdp-atelier-light))),rgb(64 64 64 / calc(.08 * var(--pdp-atelier-light)))),
            var(--pdp-product-plane-surface,var(--vernissage-light-surface,#f5f5f5));
        box-shadow:none;
        pointer-events:none;
        z-index:0;
    }
    .body--product #product-page-top .productView-pdpImageChrome {
        --pdp-image-sticky-top:calc(var(--pdp-sticky-top,76px) - 10px);
        --pdp-image-viewport-height:calc(100dvh - var(--pdp-image-sticky-top));
        --pdp-image-stage-padding:max(24px,calc((var(--pdp-image-viewport-height) - 775px) / 2));
        box-sizing:border-box;
        isolation:isolate;
        margin-top:0;
        padding:var(--pdp-image-stage-padding) 32px;
        top:var(--pdp-image-sticky-top);
    }
    .body--product #product-page-top .productView-pdpImageChrome .productView-images { position:relative; z-index:2; }
    .body--product #product-page-top .productView-pdpImageChrome .productView-image {
        margin-inline:0;
    }
    .body--product #product-page-top .productView-pdpImageChrome .productView-img-container {
        left:0;
        scale:1.06;
        transform-origin:center;
    }
    .body--product #product-page-top .productView-details.product-data {
        --pdp-ink:#f5f5f2;
        --pdp-canvas-ink-muted:#b9b9b5;
        --pdp-canvas-surface:#242424;
        --pdp-canvas-wash:#242424;
        box-sizing:border-box;
        color:var(--pdp-ink);
        padding:42px 44px calc(48px + var(--pdp-overlap-reading-space,160px));
        position:relative;
        z-index:1;
    }
    .body--product .productView-details .productView-buyColumn {
        margin-inline:auto;
        max-width:500px;
    }
    .body--product .productView-details :is(.productView-series,.productView-priceCaption,.productView-priceSelection,.productView-foundIn-eyebrow,.productView-foundIn-note,.productView-pdpSensory-label,.productView-sensory-bar-label,.form-label,.productView-pdpAccordion-meta-label) {
        color:#b9b9b5;
    }
    .body--product .productView-details :is(.productView-title,.productView-price,.productView-foundIn-link,.productView-foundIn-name,.productView-pdpAccordion-trigger,.productView-pdpAccordion-title,.productView-pdpAccordion-copy,.productView-pdpAccordion-meta-value,.productView-sensory-tag,.productView-pdpFitList-item) {
        color:#f5f5f2;
    }
    .body--product .productView-details :is(.productView-priceBundle,.productView-foundIn--desktopPrice,.productView-pdpFeinstrich,.productView-pdpAccordion,.productView-pdpAccordion-item,.productView-pdpSensory) {
        border-color:#ffffff26;
    }
    .body--product .productView-details .productView-foundIn-icon { color:#f5f5f2; border-color:#ffffff26; }
    .body--product .productView-details :is(.productView-pdpSizeToggle,.form-option,.form-increment) {
        background:transparent;
        border-color:#777;
        color:#f5f5f2;
    }
    .body--product .productView-details :is(.productView-pdpSizeToggle.is-selected,input.form-radio:checked + .form-option) {
        background:#f5f5f2;
        border-color:#f5f5f2;
        color:#171717;
    }
    .body--product .productView-details :is(.form-option-variant,.productView-pdpSizeToggle-label,.productView-pdpSizeToggle-price) { color:inherit; }
    .body--product .productView-details :is(.form-increment .button,.form-input--incrementTotal) { background:transparent; color:#f5f5f2; }
    .body--product .productView-details :is(.productView-pdpSizeToggle,.form-option):hover { border-color:#fff; }
    .body--product .productView-details .form-select { background-color:#242424; color:#f5f5f2; border-color:#777; }
    .body--product .productView-details .productView-pdpAccordion-panel { background:#242424; color:#f5f5f2; }
    .body--product .productView-details .productView-pdpProfilAccordion .productView-pdpAccordion-panel { background:transparent; }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpAccordion-panel.is-open {
        background:#202020;
        border:0;
        border-left:1px solid #ffffff29;
        border-radius:0;
        margin-bottom:14px;
        padding:18px 20px;
        color:#ededeb;
    }
    .body--product #product-page-top .productView-pdpAccordions :is(.productView-pdpAccordion-copy,.productView-pdpFitList-item) {
        color:#ededeb;
        font-size:14px;
        line-height:1.65;
    }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpAccordion-copy + .productView-pdpAccordion-copy { margin-top:12px; }
    .body--product #product-page-top .productView-pdpAccordions :is(.productView-pdpBrew-param,.productView-pdpDetailsList-row) {
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
        gap:16px;
        border-color:#ffffff1f;
        padding-block:12px;
    }
    .body--product #product-page-top .productView-pdpAccordions :is(.productView-pdpBrew-param,.productView-pdpDetailsList-row) dt { color:#b9b9b5; line-height:1.5; }
    .body--product #product-page-top .productView-pdpAccordions :is(.productView-pdpBrew-param,.productView-pdpDetailsList-row) dd { color:#f5f5f2; line-height:1.5; overflow-wrap:anywhere; }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpBrew-tab {
        background:transparent;
        border:1px solid #777;
        border-radius:0;
        color:#ededeb;
        min-height:40px;
    }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpBrew-tab:is(:hover,:focus-visible) { background:#303030; border-color:#f5f5f2; }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpBrew-tab.is-active { background:#f5f5f2; border-color:#f5f5f2; color:#171717; }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpBrew-tab:focus-visible { outline:1px solid #f5f5f2; outline-offset:3px; }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpFitList-item + .productView-pdpFitList-item { margin-top:12px; }
    .body--product #product-page-top .productView-pdpAccordions .productView-pdpFitList-marker { color:#b9b9b5; }
    .body--product .productView-details :focus-visible { outline-color:#f5f5f2; }
    .body--product #product-page-top .productView-details :is(.productView-series-link,.productView-foundIn-fieldValue,.form-field--increments > .form-label,.productView-shippingHint) { color:#b9b9b5; }
    .body--product #product-page-top .productView-details .productView-pdpOptionToggle {
        background:transparent;
        border-color:#777;
        color:#f5f5f2;
    }
    .body--product #product-page-top .productView-details :is(.productView-pdpOptionToggle.is-selected,input.form-radio:checked + .productView-pdpOptionToggle) {
        background:#f5f5f2;
        border-color:#f5f5f2;
        color:#171717;
    }
    .body--product #product-page-top .productView-details .productView-pdpOptionToggle:hover { border-color:#fff; }
    .body--product #product-page-top .productView-details .form-increment { border-color:#777; }
    .body--product #product-page-top .productView-details .productView-pdpWishlist-trigger:not(.is-saved) { color:#b9b9b5; }
    .body--product #product-page-top .productView-details .productView-pdpShippingNote { color:#b9b9b5; }
    .body--product #product-page-top .productView-originGlobe,
    .body--product #product-page-top .productView-originGlobe::before {
        background:var(--pdp-continuous-surface);
    }
    .body--product #product-page-top .productView-originGlobe {
        border-top:0;
    }
    .body--product #product-page-top .productView-originGlobe::before {
        box-shadow:0 0 0 100vmax var(--pdp-continuous-surface);
    }
    .body--product #product-page-top .productView-originGlobe::after { display:none; }
    .body--product #product-page-top .productView-details .productView-sensory-bar-track { background:#737373; }
    .body--product #product-page-top .productView-details .productView-sensory-bar:hover .productView-sensory-bar-track { background:#8b8b8b; }
    .body--product #product-page-top .productView-details .productView-sensory-bar-fill { background:#f5f5f2; }
    .body--product #product-page-top #form-action-addToCart:not([disabled]):not(.is-pdp-cart-pending) {
        background:linear-gradient(135deg,#104b7b 0%,#ee2229 34%,#ac8844 67%,#f1b418 100%) border-box !important;
        border:2px solid transparent !important;
        color:#fff !important;
    }
    .body--product #product-page-top #form-action-addToCart:not([disabled]):not(.is-pdp-cart-pending):is(:hover,:focus-visible,:active) {
        background:linear-gradient(#000,#000) padding-box,linear-gradient(135deg,#104b7b 0%,#ee2229 34%,#ac8844 67%,#f1b418 100%) border-box !important;
        border:2px solid transparent !important;
    }
    .body--product #product-page-top .form-action:has(#form-action-addToCart:not([disabled]))::before { filter:brightness(0) invert(1); }
    .body--product #product-page-top .form-action:has(#form-action-addToCart:not([disabled]):not(.is-pdp-cart-pending):is(:hover,:focus-visible,:active))::before { filter:none; }
    @media(max-width:1100px) {
        .body--product #product-page-top .productView-details.product-data { padding:32px 28px calc(40px + var(--pdp-overlap-reading-space,160px)); }
        .body--product #product-page-top .productView-pdpImageChrome { padding:var(--pdp-image-stage-padding) 20px; }
    }
    @media(max-width:950px) {
        .body--product #product-page-top .productView-pdpSensory-block {
            grid-template-columns:minmax(0,1fr);
            row-gap:8px;
        }
        .body--product #product-page-top .productView-pdpSensory .productView-sensory-tags { flex-wrap:wrap; row-gap:8px; }
    }
    @media(prefers-reduced-motion:no-preference) {
        .body--product #product-page-top .productView-pdpImageChrome::before {
            --pdp-plane-color-progress:clamp(0,calc((var(--pdp-left-exit,0) - 0.35) * 1.538461538),1);
            --pdp-plane-edge-softness:calc(160px * clamp(0,calc(var(--pdp-left-exit,0) * 2.5),1));
            --pdp-product-plane-surface:color-mix(in srgb,var(--vernissage-light-surface,#f5f5f5),var(--pdp-continuous-surface) calc(var(--pdp-plane-color-progress) * 100%));
            transform:none;
            opacity:1;
            -webkit-mask-image:linear-gradient(to right,#000 calc(100% - var(--pdp-plane-edge-softness)),transparent 100%),linear-gradient(to bottom,#000 calc(100% - var(--pdp-plane-edge-softness)),transparent 100%);
            mask-image:linear-gradient(to right,#000 calc(100% - var(--pdp-plane-edge-softness)),transparent 100%),linear-gradient(to bottom,#000 calc(100% - var(--pdp-plane-edge-softness)),transparent 100%);
            -webkit-mask-composite:source-in;
            mask-composite:intersect;
        }
        .body--product #product-page-top .productView-pdpImageChrome:is(.is-pdp-motion-visible,:not(.pdpMotion)) {
            transform:none;
            opacity:1;
            filter:none;
            transition:none;
        }
        .body--product #product-page-top .productView-pdpImageChrome .productView-images {
            transform:translate3d(0,var(--pdp-product-pin-y,0px),0);
            opacity:calc(1 - var(--pdp-product-exit,0));
            filter:none;
            transform-origin:center center;
            transition:none;
        }
    }
}
