.slider-container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.main-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (max-width:767.98px) {

    .main-image img {
        object-fit: contain;
    }
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-wrapper {
    width: 120px;
    padding: 10px;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
}

.thumbnail {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
    margin-bottom: 10px;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border: 2px solid #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.swiper-container {
    height: 400px;
    /* Match main image height */
}

@media (max-width:992px) {
    .swiper-container {
        height: 300px;
    }

    .thumbnail-wrapper {
        width: 59px;
    }

    .slider-container {
        margin: 0;
    }
}