/* Woocomerce Masthead */

.product-list-masterhead {
    padding-bottom: 0;
}

.product-list-masterhead .masthead--innerpage__content {
    padding-bottom: 50px;
    text-align: center;
}

.product-list-masterhead .masthead--innerpage__content p {
    display: block;
}

.product-list-masterhead .masthead--innerpage__content a.btn {
    display: inline-block;
}

.product-list-masterhead .masthead--innerpage__content h1 {
    font-size: 38px;
}

.product-list-masterhead-image {
    height: 130px;
    position: relative;
}

.product-list-masterhead-content {
    padding: 24px 25px;
    background-color: #fff;
}

img.contain {
    object-fit: contain;
}

/* Center image when contain option is selected */
.image-text.contain .image-text__img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8EBE3;
}

.image-text.contain .image-text__img img {
    max-width: 100%;
    height: auto;
    width: auto;
    top: auto;
    padding: 30px;
}

@media (min-width: 768px){
    .product-list-masterhead-image {
        height: 266px;
    }

    .product-list-masterhead .masthead--innerpage__content h1 {
        padding-bottom: 0;
    }

    .product-list-masterhead-content {
        padding: 44px 52px 65px;
    }
}


@media (min-width: 1200px){
    .product-list-masterhead-image {
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .product-list-masterhead .masthead--innerpage__content h1 {
        padding-bottom: 18px;
    }

    .product-list-masterhead-content {
        display: none;
    }

    .product-list-masterhead {
        padding-top: 0;
    }

    .product-list-masterhead .masthead--innerpage__content {
        margin: 0 0 0 auto;
        max-width: 743px;
        padding: 79px 40px;
        background-color: var(--c-white);
    }

    .product-list-masterhead-wrapper {
        position: relative;
        padding: 97px 0 90px;
        z-index: 1;
        min-height: 500px; /* Ensure enough height for background image */
    }

    .product-list-masterhead .masthead--innerpage__content p {
        display: block;
        line-height: 1.81em;
    }

    .product-list-masterhead .masthead--innerpage__content a.btn {
        display: block;
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
    }

    .product-list-masterhead .masthead--innerpage__content .breadcrumbs {
        padding-bottom: 10px;
    }
}

@media (min-width: 1920px) {
    .product-list-masterhead .masthead--innerpage__content {
        padding: 79px 60px;
        max-width: 860px;
    }

    .product-list-masterhead-wrapper {
        min-height: 596px; /* Match 1920x596 image height */
    }
}

.page-template-wolfproducts-landing .product-list-masterhead + .section-flexible.image-text--slider {
    padding-top: var(--section-margins);
}

.page-template-wolfproducts-landing .featured-block + .custom-product-block.section-padding {
    padding-top: 0;
}

.page-template-wolfproducts-landing .custom-product-block + .product-image-buttons-gallery.section-padding {
    padding-top: 0;
}

.page-template-wolfproducts-landing .block-innerpage-two-third-image-one-third-text + .product-slider-block {
    padding-top: 0;
}

/* Custom slick arrows */

.custom-slick__arrows {
    display: flex;
    align-items: center;
}

.custom-slick__arrows .slick-arrow {
    color: #565A5C;
    font-size: 40px;
    position: static;
    transition: 0.35s opacity ease-in-out;
}

@media (max-width: 1200px) {
    .custom-slick__arrows .slick-arrow {
        color: #565A5C;
        font-size: 20px;
        position: relative;
        top: -7px;
        transition: 0.35s opacity ease-in-out;
    }
}

.custom-slick__arrows .slick-arrow:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .custom-slick__arrows .slick-next-arrow {
        margin-left: 15px;
    }
}

.breadcrumbs.breadcrumbs--below-masthead {
    padding: 10px 0;
}

.wolf-products-landing-logo img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}