.zoom_swiper {
    height: 600px;
    margin-bottom: 20px;
}

.zoom_swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.zoom_swiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper-container {
    position: relative;
}

/* Thumbnail Slider */
.thumbnail-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: auto;
}

.thumbnail_swiper {
    width: 80%;
    height: 115px;
    box-sizing: border-box;
    padding: 10px 0;
}

.thumbnail_swiper .swiper-slide {
    width: 120px;
    height: 105px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumbnail_swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 3px solid #C51230;
}

.thumbnail_swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-button-prev,
.thumb-button-next {
    width: 60px;
    height: 60px;
    background: #e6e6e6;
    color: white;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 999999;
    transition: background 0.3s ease-in-out;
}

.thumb-button-prev {
    left: 0;
}

.thumb-button-next {
    right: 0;
}

.thumb-button-prev:hover,
.thumb-button-next:hover {
    background: #C51230;
}

.thumb-button-prev:hover::after,
.thumb-button-next:hover::after {
    color: #ffffff;
}

.thumb-button-prev:after,
.thumb-button-next:after {
    font-size: 20px;
    color: #C51230;
}

.swiper-zoom-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    max-width: 760px;
    text-align: left;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    transition: transform .5s ease-in-out, opacity .5s ease-in-out, visibility .5s ease-in-out;
}

.swiper-slide:not(.swiper-slide-active) .swiper-zoom-content {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.swiper-zoom-content h5 {
    font-size: 26px;
    margin: 5px 0;
}

.swiper-zoom-content p {
    margin: 0;
}

.zoom-button {
    position: absolute;
    width: 41px;
    height: 41px;
    top: 30px;
    right: 30px;
    background: #C51230;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
}


@media (max-width: 1200px) {
    .zoom_swiper .swiper-slide img {
        height: 100%;
    }
}

@media (max-width: 860px) {
    .zoom_swiper {
        height: auto
    }

    .zoom-button {
        top: 20px;
        right: 20px;
    }

    .swiper-zoom-content {
        padding: 12px;
    }

    .zoom_swiper .swiper-slide img {
        min-height: 300px;
    }

    .thumb-button-prev,
    .thumb-button-next {
        width: 40px;
        height: 40px;
    }

    .thumbnail_swiper {
        width: 100%;
        height: auto;
    }

    .thumb-button-prev:after,
    .thumb-button-next:after {
        font-size: 13px;
    }

    .thumbnail_swiper .swiper-slide {
        height: 70px;
    }

    .thumbnail_swiper .swiper-slide-thumb-active {
        border: 2px solid #C51230;
    }

    .swiper-zoom-content h5 {
        font-size: 20px;
    }

    .swiper-zoom-content {
        bottom: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}