/* PVN 1.3.45.73 - Independent DESKTOP/MOBILE photo masks.
 * Previous single overlay-off class affected both breakpoints and mixed text
 * color with the other device. Media-specific selectors prevent crossovers.
 * Every selector is scoped to the PVN Hero widget. */

/* Photo fit (existing Elementor settings retained). */
.pvn-hero .pvn-hero__background--fit-contain,
.pvn-hero .pvn-hero__background--fit-contain .pvn-hero__media {
    background:#F7F7F7;
}
.pvn-hero .pvn-hero__background--fit-contain .pvn-hero__image,
.pvn-hero .pvn-hero__background--fit-contain .pvn-hero__background-photo {
    object-fit:contain!important;
    object-position:right center!important;
    transform:none!important;
}
.pvn-hero .pvn-hero__background--fit-contain.is-active .pvn-hero__image {
    transform:none!important;
}
.pvn-hero.pvn-hero--showcase .pvn-hero__background--fit-contain .pvn-hero__background-picture {
    background:#F7F7F7;
}

@media (min-width:750px) {
    .pvn-hero:not(.pvn-hero--showcase).pvn-hero--overlay-off::before,
    .pvn-hero:not(.pvn-hero--showcase).pvn-hero--overlay-off::after {
        content:none!important;display:none!important;opacity:0!important;
    }
    .pvn-hero .pvn-hero__background--overlay-off::before,
    .pvn-hero .pvn-hero__background--overlay-off::after,
    .pvn-hero .pvn-hero__background--overlay-off .pvn-hero__overlay {
        content:none!important;display:none!important;opacity:0!important;visibility:hidden!important;
    }
    .pvn-hero.pvn-hero--overlay-off {--text:#1A1A1A;--muted:#3D3D3D;--cyan:var(--pvn-v84-primary,#005B2B);}
    .pvn-hero.pvn-hero--overlay-off .pvn-hero__panel.is-active :is(
        .pvn-hero__eyebrow,.pvn-hero__eyebrow strong,.pvn-hero__title,
        .pvn-hero__description,.pvn-hero__quote,.pvn-hero__feature-text
    ) {color:#1A1A1A!important;text-shadow:none!important;}
    .pvn-hero.pvn-hero--overlay-off .pvn-hero__eyebrow>span {background:var(--pvn-v84-primary,#005B2B)!important;}
    .pvn-hero.pvn-hero--overlay-off .pvn-hero__dot>span {border-color:#B6B3AF!important;background:#F6F3EF!important;}
    .pvn-hero.pvn-hero--overlay-off .pvn-hero__dot.is-active>span {border-color:var(--pvn-v84-primary,#005B2B)!important;}
    .pvn-hero.pvn-hero--overlay-off .pvn-hero__dot i {background:var(--pvn-v84-primary,#005B2B)!important;}
}

@media (max-width:749px) {
    /* PHOTO - preserved independently of the desktop choice. */
    .pvn-hero .pvn-hero__background--fit-contain .pvn-hero__image,
    .pvn-hero .pvn-hero__background--fit-contain .pvn-hero__background-photo {
        object-position:center bottom!important;
    }
    /* Hide ALL mask layers only when the mobile switch is OFF. */
    .pvn-hero.pvn-hero--overlay-mobile-off::before,
    .pvn-hero.pvn-hero--overlay-mobile-off::after {
        content:none!important;display:none!important;opacity:0!important;
    }
    .pvn-hero .pvn-hero__background--overlay-mobile-off::before,
    .pvn-hero .pvn-hero__background--overlay-mobile-off::after,
    .pvn-hero .pvn-hero__background--overlay-mobile-off .pvn-hero__overlay,
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__background.is-active::before,
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__background.is-active::after,
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__background.is-active .pvn-hero__overlay {
        content:none!important;display:none!important;opacity:0!important;visibility:hidden!important;
    }
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__background.is-active .pvn-hero__image,
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__background.is-active .pvn-hero__background-photo {
        filter:none!important;
    }
    .pvn-hero.pvn-hero--overlay-mobile-off {--text:#1A1A1A;--muted:#3D3D3D;--cyan:var(--pvn-v84-primary,#005B2B);}
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__panel.is-active :is(
        .pvn-hero__eyebrow,.pvn-hero__eyebrow strong,.pvn-hero__title,
        .pvn-hero__description,.pvn-hero__quote,.pvn-hero__feature-text
    ) {color:#1A1A1A!important;text-shadow:none!important;}
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__eyebrow>span {background:var(--pvn-v84-primary,#005B2B)!important;}
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__dot>span {border-color:#B6B3AF!important;background:#F6F3EF!important;}
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__dot.is-active>span {border-color:var(--pvn-v84-primary,#005B2B)!important;}
    .pvn-hero.pvn-hero--overlay-mobile-off .pvn-hero__dot i {background:var(--pvn-v84-primary,#005B2B)!important;}

    /* Optional compact white copy panel makes bright technical catalog banners
       readable while still showing the undarkened lamp/background above. */
    .pvn-hero.pvn-hero--overlay-mobile-off.pvn-hero--mobile-caption-panel:not(.pvn-hero--showcase) .pvn-hero__panel.is-active {
        background:rgba(255,255,255,.92);
        border:1px solid rgba(255,255,255,.76);
        border-radius:18px;
        padding:15px 16px 11px;
        box-shadow:0 12px 30px rgba(18,26,35,.09);
        -webkit-backdrop-filter:blur(9px);
        backdrop-filter:blur(9px);
    }
    /* When the mobile dark mask IS on, reinforce contrast around the lower
       headline against labels that are baked into a catalog background image. */
    /* Avoid stacking three full-strength masks into an almost black image.
       The mobile darkness sliders remain active; the lower gradient does the
       legibility work while the product remains visible higher in the frame. */
    .pvn-hero:not(.pvn-hero--showcase):not(.pvn-hero--overlay-mobile-off)::before {
        opacity:calc(var(--hero-overlay-black-mobile, .48) * .48);
    }
    .pvn-hero:not(.pvn-hero--showcase):not(.pvn-hero--overlay-mobile-off) .pvn-hero__background.is-active .pvn-hero__overlay--dark {
        background:linear-gradient(180deg,
            rgba(0,0,0,.10) 0%,
            rgba(0,0,0,.16) 35%,
            rgba(0,0,0,calc(var(--dark-mobile, .76) * .73)) 61%,
            rgba(0,0,0,calc(var(--dark-mobile, .76) * .88)) 100%);
    }
    .pvn-hero:not(.pvn-hero--showcase):not(.pvn-hero--overlay-mobile-off) .pvn-hero__background.is-active .pvn-hero__overlay--vignette {
        opacity:.35;
    }
}


/* v1.3.45.155.75 — Desktop overlay is controlled by each slide's own state.
   The root class is retained for text-color behavior only; it must never hide
   the active background's overlay. This fixes slide 1 PC while preserving
   per-slide OFF behavior and independent mobile controls. */
@media (min-width:750px) {
  .pvn-hero.pvn-hero--showcase .pvn-hero__background--overlay-off::after {
    content:none !important;
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
  }
  .pvn-hero.pvn-hero--showcase .pvn-hero__background:not(.pvn-hero__background--overlay-off)::after {
    content:"" !important;
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
  }
}


/* v1.3.45.155.77 — homepage Showcase slide 1 PC overlay.
   The root overlay-off class is retained for text contrast only. The actual
   photo mask is controlled exclusively by the active slide background class. */
@media (min-width:750px) {
  .pvn-hero.pvn-hero--showcase.pvn-hero--overlay-off::before,
  .pvn-hero.pvn-hero--showcase.pvn-hero--overlay-off::after {
    content:none !important;
    display:none !important;
  }
  .pvn-hero.pvn-hero--showcase .pvn-hero__background:not(.pvn-hero__background--overlay-off)::after {
    content:"" !important;
    display:block !important;
    visibility:visible !important;
  }
  .pvn-hero.pvn-hero--showcase .pvn-hero__background.pvn-hero__background--overlay-off::after {
    content:none !important;
    display:none !important;
  }
}


/* v1.3.45.155.79 — explicit desktop overlay layer state. */
@media (min-width:750px) {
  .pvn-hero.pvn-hero--showcase .pvn-hero__background--overlay-off .pvn-hero__desktop-overlay {
    display:none !important;
  }
  .pvn-hero.pvn-hero--showcase .pvn-hero__background:not(.pvn-hero__background--overlay-off) .pvn-hero__desktop-overlay {
    display:block !important;
  }
}
@media (max-width:749px) {
  .pvn-hero.pvn-hero--showcase .pvn-hero__desktop-overlay { display:none !important; }
}
