/* ==========================================================
   WACHTEL Product Hero Standard v1.2
   Reference implementation: PICCOLO PRO Plus
   Geometry aligned with approved Preview V5
   ========================================================== */

/* ---------- HERO STAGE ---------- */

.piccolo-v6 .wd-product-hero {
    position: relative !important;

    width: 100vw !important;
    max-width: none !important;

    height: 465px !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    /*
     * Product extends below background.
     * Reserve only the required space.
     */
    margin-bottom: 185px !important;

    overflow: visible !important;

    background: #e8e3dc !important;
}

/* ---------- BACKGROUND ---------- */

.piccolo-v6 .wd-product-hero__background {
    position: absolute !important;
    inset: 0 !important;

    z-index: 1 !important;

    overflow: hidden !important;
}

.piccolo-v6 .wd-product-hero__background img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover !important;
    object-position: center center !important;
}

/* ---------- CENTERED INTERNAL GRID ---------- */

.piccolo-v6 .wd-product-hero__inner {
    position: relative !important;

    z-index: 2 !important;

    width: min(1170px, calc(100% - 40px)) !important;
    max-width: 1170px !important;
    height: 465px !important;

    margin: 0 auto !important;
    padding: 0 !important;
}

/* ---------- BLUE PANEL ---------- */

.piccolo-v6 .wd-product-hero__panel {
    position: absolute !important;

    left: 0 !important;
    right: auto !important;

    top: auto !important;
    bottom: 0 !important;

    transform: none !important;

    width: 49% !important;
    max-width: 565px !important;

    padding: 30px 30px 28px !important;

    background: rgba(0,117,173,.92) !important;
    color: #fff !important;

    z-index: 3 !important;

    box-shadow: 0 10px 28px rgba(0,0,0,.12) !important;
}

.piccolo-v6 .wd-product-hero__panel h1 {
    margin: 0 0 18px !important;

    color: #fff !important;

    font-family: Raleway, Helvetica, Arial, sans-serif !important;
    font-size: 34px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
}

.piccolo-v6 .wd-product-hero__lead {
    margin: 0 0 28px !important;

    color: #fff !important;

    font-family: Raleway, Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

/* ---------- BUTTONS ---------- */

.piccolo-v6 .wd-product-hero__buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.piccolo-v6 .wd-product-hero__button {
    display: inline-block !important;

    padding: 11px 18px !important;

    border: 2px solid #fff !important;

    background: transparent !important;
    color: #fff !important;

    text-decoration: none !important;

    font-family: Raleway, Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

.piccolo-v6 .wd-product-hero__button:hover,
.piccolo-v6 .wd-product-hero__button:focus {
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
}

.piccolo-v6 .wd-product-hero__button--secondary {
    background: #fff !important;
    color: #0075ad !important;
}

.piccolo-v6 .wd-product-hero__button--secondary:hover,
.piccolo-v6 .wd-product-hero__button--secondary:focus {
    background: #f2f2f2 !important;
    color: #0075ad !important;
}

/* ---------- PRODUCT ---------- */

.piccolo-v6 .wd-product-hero__product {
    position: absolute !important;

    right: 5% !important;
    left: auto !important;

    top: auto !important;
    bottom: -185px !important;

    width: 38% !important;
    height: 600px !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;

    z-index: 4 !important;

    overflow: visible !important;
}

.piccolo-v6 .wd-product-hero__product img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
}

/* ---------- CONTENT BELOW HERO ---------- */

.piccolo-v6 .wd-product-hero + .wd-container,
.piccolo-v6 .wd-product-hero + .wd-detail-page {
    margin-top: 0 !important;
}

/* ---------- TABLET ---------- */

@media (max-width: 991px) {

    .piccolo-v6 .wd-product-hero {
        height: 390px !important;
        margin-bottom: 110px !important;
    }

    .piccolo-v6 .wd-product-hero__inner {
        height: 390px !important;
    }

    .piccolo-v6 .wd-product-hero__panel {
        left: 20px !important;
        width: 54% !important;
    }

    .piccolo-v6 .wd-product-hero__product {
        right: 20px !important;
        bottom: -105px !important;
        height: 495px !important;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 767px) {

    .piccolo-v6 .wd-product-hero {
        width: 100% !important;

        height: auto !important;
        min-height: 650px !important;

        margin: 0 0 30px !important;

        overflow: hidden !important;
    }

    .piccolo-v6 .wd-product-hero__inner {
        width: calc(100% - 30px) !important;
        height: auto !important;

        padding-top: 26px !important;
    }

    .piccolo-v6 .wd-product-hero__panel {
        position: relative !important;

        left: auto !important;
        bottom: auto !important;

        width: 100% !important;
        max-width: none !important;
    }

    .piccolo-v6 .wd-product-hero__panel h1 {
        font-size: 28px !important;
    }

    .piccolo-v6 .wd-product-hero__product {
        position: relative !important;

        right: auto !important;
        bottom: auto !important;

        width: 100% !important;
        height: 330px !important;

        margin-top: 20px !important;
    }

    .piccolo-v6 .wd-product-hero__product img {
        max-height: 320px !important;
    }
}
