/* Main container */
.custom-product-gallery {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Main slider */
.custom-product-slider {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.custom-product-slider img {
    width: 100%;
    display: block;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.custom-product-slider img:hover {
    transform: scale(1.03);
}

/* Navigation arrows */
.custom-product-slider .swiper-button-prev,
.custom-product-slider .swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #111;
    font-size: 18px;
}

.custom-product-slider .swiper-button-prev::after,
.custom-product-slider .swiper-button-next::after {
    font-size: 18px;
}

/* Thumbnails */
.custom-product-thumbs {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-product-thumbs .swiper-slide {
    opacity: 0.6;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
}

.custom-product-thumbs img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .custom-product-slider .swiper-button-prev,
    .custom-product-slider .swiper-button-next {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .custom-product-thumbs {
        gap: 6px;
        margin-top: 10px;
    }

    .custom-product-thumbs .swiper-slide {
        width: 150px !important;
        border-radius: 8px;
    }
}
