/* Woocommerce overrides */

.woocommerce .product-list-masterhead-image img, 
.woocommerce-page .product-list-masterhead-image img,
.woocommerce-page .image-text__img img,
.woocommerce-page .video-text__img img,
.woocommerce-page .widget-cta-image img,
.woocommerce-page .section-flexible.half-and-half img {
    height: 100%;
}


/* 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;
}

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

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

/* Woocomerce Masthead */

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

.product-list-masterhead .masthead--innerpage__content p,
.product-list-masterhead .masthead--innerpage__content a.btn {
    display: none;
}

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

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

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

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

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

    .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;
        background-color: #FFFFFF;
    }

    .product-list-masterhead-wrapper {
        position: relative;
        padding: 97px 0 90px;
        z-index: 1;
    }

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

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

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


/* Flexible Content Section */

.section-flexible.bg-white + .section-flexible.bg-white {
    padding-top: 0;
}

.section-flexible.bg-white + .section-flexible.bg-white {
    margin-top: 0;
}

.section-flexible.bg-white + .section-flexible.bg-white.inner-spotlight {
    padding-top: 40px;
}

.section-flexible.bg-white.half-and-half + .section-flexible.bg-white.tab-accordion  {
    padding-top: var(--section-margins);
}

.section-flexible .section-subheading {
    font-family: var(--font-gothambook);
}

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

.section-flexible.half-and-half + .section-flexible.image-text--slider {
    padding-top: var(--section-margins);
}

@media (min-width: 1200px) {
    .product-list-masterhead + .section-flexible.half-and-half {
        margin-top: var(--section-margins);
    }    
}

/*
** Category Image Buttons
*/

.product-image-card-slider .product-heading {
    font-size: 22px;
    padding-bottom: 0;
}

.product-image-card-slider .section-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.product-image-card-slider .section-intro.justify-content-center {
    justify-content: center;
}

.product-image-card-item {
    width: 100%;
    text-decoration: none;
    background-color: #fff;
    display: inline-block;
    margin-bottom: 15px;
    z-index: 1;
}

.product-image-card__image {
    width: 100%;
    height: 283px;
    position: relative;
}

.product-image-card__image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 103%;
    height: 104%;
    border: 2px solid #3D3E3F;
    transform: translate(-50% , -50%);
    opacity: 0;
    transition: .35s opacity ease-in-out;
}

.product-image-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s opacity ease-in-out;
}

.product-image-card__info {
    padding: 20px 0 0;
}

.product-image-card__info h6 {
    font-size: 20px;
    color: #3D3E3F;
    font-family: var(--font-gothambook);
}

.product-image-card-slider .product-image-card-heading h2 span {
    display: none;
}

.product-image-card-slider .product-image-card-heading h2 {
    font-size: 22px;
    padding-bottom: 22px;
}

.js-product-image-card-slider .slick-arrow {
    bottom: -9px;
    top: unset;
}

.js-product-image-card-slider .slick-arrow:before {
    font-size: 24px;
}

.js-product-image-card-slider .slick-next {
    right: -11px;
}

.js-product-image-card-slider .slick-prev {
    right: 20px;
}

.js-product-image-card-slider .product-image-card__image {
    height: 217px;
}

.js-product-image-card-slider .product-image-card__info h6 {
    font-weight: 600;
}

.js-product-image-card-slider .product-image-card__column {
    margin: 0 !important;
}

.product-image-card-slider {
    padding: 20px 0 90px;
}


@media (min-width: 768px) {
    .js-product-image-card-slider .product-image-card__info h6 {
        font-weight: 400;
        font-size: 22px;
    }

    .js-product-image-card-slider .slick-slide {
        margin: 6px 16px 0;
    }

    .product-image-card-slider .product-image-card-heading h2 {
        padding-bottom: 10px;
    }

    .js-product-image-card-slider:after {
        content: "";
        position: absolute;
        right: 0;
        width: 134px;
        top: 0;
        height: 100%;
        background: rgb(255,255,255);
        background: linear-gradient(270deg, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 100%);
    }

    .product-image-card-slider .product-image-card-heading h2 span {
        display: inline-block;
    }

    .product-image-card-slider {
        padding: 0 0 60px;
    }
}

@media (min-width: 1200px) {

    .product-image-card__image {
        height: 281px;
    }

    .product-image-card__info h6 {
        font-size: 27px;
    }

    .product-image-card-item:hover {
        background: transparent;
    }

    .product-image-card-item:hover .product-image-card__image img {
        opacity: 0.40;
    }

    .product-image-card-item:hover .product-image-card__image::before {
        opacity: 1;
    }

    .product-image-card-item:hover .product-image-card__info h6 { 
        font-family: var(--font-gothammedium);
    }

    .js-product-image-card-slider .slick-arrow {
        bottom: unset;
        top: -38px;
    }   

    .js-product-image-card-slider .slick-next {
        right: -7px;
    }

    .js-product-image-card-slider .slick-arrow:before {
        font-size: 40px;
    }

    .js-product-image-card-slider .slick-prev {
        right: 44px;
    }

    .js-product-image-card-slider .product-image-card__image {
        height: 222px;
    }

    .product-image-card-slider {
        padding: 130px 0;
    }
}

/*
** Image Buttons Gallery Slider
*/

.product-image-buttons-gallery {
    position: relative;
}

.product-image-buttons-gallery .slick-slide {
    width: 133px;
    margin: 0 16px;
}

.product-image-buttons-gallery .js-product-image-buttons-item {
    height: 87px;
}

.product-image-buttons-gallery .js-product-image-buttons-item a {
    position: relative;
}

.product-image-buttons-gallery .js-product-image-buttons-item a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 103%;
    height: 104%;
    border: 2px solid #3D3E3F;
    transform: translate(-50% , -50%);
    opacity: 0;
    transition: .35s opacity ease-in-out;
}

.js-product-image-buttons-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s opacity ease-in-out;
}

.js-product-image-buttons-item figcaption {
    display: none;
}

.product-image-buttons-gallery::after {
    content: "";
    position: absolute;
    right: 0;
    width: 126px;
    top: 0;
    height: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(270deg, rgba(255,255,255,1) 1%, rgba(255,255,255,0) 69%);
}

.js-product-image-buttons-gallery::before {
    content: "";
    position: absolute;
    left: 0;
    width: 126px;
    z-index: 1;
    top: 0;
    height: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(270deg, rgba(255,255,255,0) 1%, rgba(255,255,255,1) 69%);
}

.js-product-image-buttons-gallery .slick-arrow::before {
    font-size: 18px;
    font-weight: 700;
}

.js-product-image-buttons-gallery .slick-list {
    padding-top: 10px;
}

.product-image-buttons-gallery .slick-next {
    right: 0;
}

.product-image-buttons-gallery .slick-prev {
    left: 0;
    right: unset;
}

.product-image-buttons-gallery .slick-arrow {
    top: 50%;
    margin-top: -13px;
}

.product-image-buttons-slider {
    padding: 65px 0;
}

.product-image-buttons-slider .btn {
    margin: 26px auto 0;
    display: table;
}


@media (min-width: 1200px) {
    .product-image-buttons-gallery .slick-slide {
        width: 338px;
    }

    .product-image-buttons-gallery .slick-next {
        right: 43px;
    }    

    .product-image-buttons-gallery .slick-prev {
        left: 43px;
    }    

    .product-image-buttons-gallery .js-product-image-buttons-item {
        height: 222px;
    }

    .product-image-buttons-gallery .js-product-image-buttons-item a:hover img {
        opacity: 0.40;
    }

    .product-image-buttons-gallery .js-product-image-buttons-item a:hover::before {
        opacity: 1;
    }

    .js-product-image-buttons-gallery::before {
        width: 206px;
    }

    .js-product-image-buttons-gallery::after {
        width: 206px;
    }

    .product-image-buttons-gallery .slick-arrow::before {
        font-size: 38px;
        font-weight: normal;
    }

    .product-image-buttons-slider .btn {
        margin: 38px auto 0;
    }

    .inspiration-heading {
        margin: 0 auto 34px;
    }
}