/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.product-image-gallery {
    display: flex;
    height: 100%;
    width: 100%;
    /* min-height: 600px; */
    flex-direction: column;
}

.product-image-gallery .swiper {
    width: 100%;
    height: 100%;
}

.product-image-gallery .swiper.thumb-swiper {
    width: 25%;
    height: 500px;
    max-width: 100px;
    order: 2;
    height: auto;
    /* max-height: 100px; */
    width: 90%;
    max-width: none;
}

.product-image-gallery .swiper.thumb-swiper .swiper-slide {
    /* height: 25%; */
    opacity: 0.4;
    cursor: pointer;
}

.product-image-gallery .swiper.thumb-swiper .swiper-slide-thumb-active,
.slick-slide.slick-current.slick-active .swiper-slide {
    opacity: 1;
}

.thumb-swiper-slides .slick-slide {
    padding: 10px;
}

.product-image-gallery .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-image-gallery .thumb-swiper-slides .swiper-slide img{
	max-width: 150px;
    max-height: 150px;
}

/* .product-image-gallery .main-swiper .swiper-slide img {
    padding: 60px;
} */

.product-grids {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 20px;

}

.product-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-title-link {
    &:hover,
    &:focus {
        opacity: 0.87;
    }
}

.product-link a {
    display: inline-block;
}

@media only screen and (max-width: 992px){
    .product-grids {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 690px) {
    .product-image-gallery {
        flex-direction: column;
    }

    .product-image-gallery .swiper.thumb-swiper {
        order: 2;
        height: auto;
        max-height: 100px;
        width: 90%;
        max-width: none;
    }

    .product-grids {
        grid-template-columns: repeat(1, 1fr);
    }
}