.product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-gallary__tags {
    position: absolute;
    top: 0;
    left: 0;
    gap: .5rem;
    z-index: 2;
}

.product-galary__tag {
    border: .0625rem solid var(--color__fill-2);
    height: 2rem;
    border-radius: .25rem;
    color: var(--color__fill-2);
    font-weight: 700;
}

.product-gallary__icons {
    position: absolute;
    right: 2.5rem;
    top: 0;
    cursor: pointer;
    z-index: 2;
}

.product-gallary__zoom {
    display: block;
}

.product-gallary__swiper {
    justify-content: center;
    display: flex;
}

.product-gallary__swiper .swiper-container {
    width: 100%;
    overflow: hidden;
    height: max-content;
}

.product-gallary__swiper .swiper-wrapper {
    height: max-content;
}

.product-gallary__swiper .swiper-slide.--video {
    padding-top: 15%;
}

.product-gallary__picture {
    aspect-ratio: 589 / 577;
    background-color: transparent;
}

.product-gallary__picture img {
    object-fit: scale-down;
}

.product-gallary__thumbs {
    filter: drop-shadow(0px 8px 28px rgba(0, 0, 0, 0.08));
}

.product-gallary__thumbs .swiper-container {
    width: 100%;
    overflow: hidden;
}

.product-gallary__thumbs .swiper-slide {
    cursor: pointer;
    background-color: var(--color__white);
    border-radius: .5rem;
    overflow: hidden;
    position: relative;
    transition: all ease .24s;
}

.product-gallary__thumbs .swiper-slide::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 2;
    border-radius: .5rem;
    transition: all ease .24s;
}

.product-gallary__thumbs .swiper-slide.--active::after {
    box-shadow: inset 0rem 0rem 0rem 0.1875rem var(--color__fill-2);

}

.product-gallary__thumb {
    width: 100%;
    aspect-ratio: 1;
    background-color: transparent;
}

.product-gallary__thumb img {
    object-fit: contain;
}

.product-gallary__thumb.--video img {
    object-fit: cover;
}

.product-gallary__thumb-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000047;
    z-index: 2;
}

.product-gallary__arrow.swiper-button-prev,
.product-gallary__arrow.swiper-button-next {
    height: 2rem;
    width: 1rem;
    margin-top: calc(0px - (var(--swiper-navigation-size) / 4));
}

.product-gallary__arrow::after {
    content: "";
}

@media screen and (max-width: 1199px) {
    .product-gallery {
        padding-right: 1.5rem !important;
    }

    .product-gallary__icons {
        right: 1.5rem;
    }
}

@media screen and (max-width: 991px) {
    .product-gallery {
        margin-top: 0 !important;
        padding-right: 0 !important;
        padding: 1.23rem !important;
        background-color: var(--color__white);
        filter: drop-shadow(0px .615rem 2.15rem rgba(0, 0, 0, 0.08));
        overflow: hidden;
        border-radius: .92rem;
        /* max-width: 100% !important; */
    }

    .product-gallary__tags {
        top: 1.23rem;
        left: 1.23rem;
        gap: .3rem;
    }

    .product-galary__tag {
        font-size: 0.84615rem;
        line-height: 1.23077rem;
        height: 1.7rem;
        padding: 0 1rem !important;
    }

    .product-gallary__icons {
        top: 1.23rem;
        right: 1.23rem;
    }

    .product-gallary__favorite {
        width: 2.23rem;
        height: 2.23rem;
        cursor: pointer;
        transition: all ease .28s;
    }

    .product-gallary__swiper .swiper-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 3rem !important;
        padding-top: 2.77rem !important;
        padding-right: 3rem !important;
    }

    .product-gallary__swiper .swiper-slide {}

    .product-gallary__arrow {
        filter: grayscale(1);
        height: 1.23rem;
        width: .615rem;
        opacity: .32;
    }

    .product-video__wrap {
        display: block;
        width: 100%;
        height: 100%;
    }

    .product-video__picture {
        height: 100%;
        aspect-ratio: none;
    }

    .product-video__picture img {
        object-fit: cover;
    }

    .product-gallary__thumbs {
        padding: 0 !important;
        margin-top: 2.3rem !important;
        filter: none;
    }

    .product-gallary__thumbs .swiper-container {
        overflow: inherit;
    }

    .product-gallary__thumbs .swiper-slide {
        border-radius: .615rem;
        height: max-content;
    }

    .product-gallary__thumbs .swiper-slide::after {
        border-radius: .615rem;
        box-shadow: inset 0rem 0rem 0rem 2px var(--color__fill-4);
    }
}