/*
 * ============================================================
 * ECOM CORE HEADER FACTORY V2
 * ============================================================
 */

.ec-hf2-active{
    position:relative !important;
    isolation:isolate;
    overflow:hidden !important;

    min-height:
        var(
            --ec-hf2-height-desktop,
            400px
        )
        !important;

    color:
        var(
            --ec-hf2-text,
            #ffffff
        )
        !important;
}


.ec-hf2-active > *:not(.ec-hf2-media):not(.ec-hf2-gradient){
    position:relative;
    z-index:3;
}


.ec-hf2-media{
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
    pointer-events:none;
    background:#0b1420;
}


.ec-hf2-media img,
.ec-hf2-media video,
.ec-hf2-media canvas{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
}


.ec-hf2-media img,
.ec-hf2-media video{
    object-fit:cover;
    object-position:
        var(--ec-hf2-position-x,50%)
        var(--ec-hf2-position-y,50%);
}


.ec-hf2-media video{
    border:0;
}


.ec-hf2-depth-canvas{
    z-index:2;
}


.ec-hf2-depth-fallback{
    z-index:1;
}


.ec-hf2-gradient{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            var(
                --ec-hf2-gradient-left,
                rgba(7,17,31,.9)
            )
            0%,
            var(
                --ec-hf2-gradient-right,
                rgba(7,17,31,.1)
            )
            100%
        );
}


.ec-hf2-fade-image{
    opacity:0;
    transition:
        opacity
        1.1s
        ease;
}


.ec-hf2-fade-image.is-active{
    opacity:1;
}


.ec-hf2-active h1,
.ec-hf2-active h2,
.ec-hf2-active h3,
.ec-hf2-active p,
.ec-hf2-active .ec-home-hero-kicker,
.ec-hf2-active .ec-catalogue-kicker,
.ec-hf2-active .ec-catalogue-description,
.ec-hf2-active .ec-catalogue-description p{
    color:
        var(
            --ec-hf2-text,
            #ffffff
        )
        !important;
}


.ec-hf2-active .ec-home-hero-copy,
.ec-hf2-active .ec-catalogue-hero-copy,
.ec-hf2-product-hero-copy{
    max-width:
        var(
            --ec-hf2-copy-width,
            680px
        )
        !important;
}


.ec-hf2-category-active
.ec-catalogue-hero-image{
    display:none !important;
}


.ec-hf2-home-hide-visual
.ec-home-hero-visual{
    display:none !important;
}


.ec-hf2-home-hide-visual
.ec-home-hero-inner{
    grid-template-columns:
        minmax(0,1fr)
        !important;
}


.ec-hf2-product-hero{
    position:relative;
    isolation:isolate;
    overflow:hidden;

    display:flex;
    align-items:center;

    min-height:
        var(
            --ec-hf2-height-desktop,
            440px
        );

    margin:
        0
        0
        28px;

    padding:
        clamp(
            30px,
            5vw,
            72px
        );

    border-radius:
        24px;

    color:
        var(
            --ec-hf2-text,
            #ffffff
        );
}


.ec-hf2-product-hero-copy{
    position:relative;
    z-index:3;
}


.ec-hf2-product-hero h1{
    margin:
        7px
        0
        14px;

    color:
        inherit
        !important;

    font-size:
        clamp(
            38px,
            5vw,
            68px
        );

    line-height:
        .98;
}


.ec-hf2-product-description{
    max-width:650px;
    color:inherit;
    opacity:.86;
}


.ec-hf2-product-description p{
    color:inherit !important;
}


.ec-hf2-eyebrow{
    display:inline-block;
    font-size:11px;
    font-weight:900;
    letter-spacing:.10em;
    text-transform:uppercase;
    opacity:.82;
}


@media(max-width:1100px){

    .ec-hf2-active,
    .ec-hf2-product-hero{
        min-height:
            var(
                --ec-hf2-height-tablet,
                360px
            )
            !important;
    }
}


@media(max-width:760px){

    .ec-hf2-active,
    .ec-hf2-product-hero{
        min-height:
            var(
                --ec-hf2-height-mobile,
                300px
            )
            !important;
    }


    /*
     * Mobile keeps the image + gradient,
     * but disables the WebGL depth canvas.
     */

    .ec-hf2-depth-canvas{
        display:none !important;
    }


    .ec-hf2-depth-fallback{
        opacity:1 !important;
    }


    .ec-hf2-product-hero{
        padding:26px 22px;
        border-radius:18px;
    }


    .ec-hf2-product-hero h1{
        font-size:
            clamp(
                32px,
                10vw,
                48px
            );
    }
}


@media(prefers-reduced-motion:reduce){

    .ec-hf2-depth-canvas{
        display:none !important;
    }


    .ec-hf2-fade-image{
        transition:none;
    }
}
