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

.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: contain;
    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%);
    pointer-events: none;
}

.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%);
    pointer-events: none;
}

.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;
}


/* Lightbox */

.gallery__image-modal {
    margin: 20px auto;
    padding: 0;
    box-shadow: 0 0 30px rgb(62,38,57,69%);
    display: none;
    max-width: 940px;
    overflow: visible;
    width: 100%;
}

.gallery__image-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__image-caption,
.custom-caption {
    background: #fff;
    color: var(--c-grey);
    padding: 25px 25px;
}

.gallery__image-caption p,
.gallery__image-caption .custom-caption p {
    padding-bottom: 10px;
}

.gallery__image-caption p:last-child,
.gallery__image-caption .custom-caption p:last-child {
    padding-bottom: 0;
}

.fancybox-slide--html .fancybox-close-small {
    top: -44px;
    opacity: 1;
    padding-right: 0;
}

.fancybox-slide--html .fancybox-close-small svg path {
    fill: var(--c-white);
}

@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;
    }
}