/* ---- Product Gallery Carousel ---- */
.product-gallery-section {
    overflow: hidden;
}

.product-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;

    user-select: none;
}


.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;

}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 35, 50, 0.9);
    color: var(--color-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
    background: var(--color-orange);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-button--left {
    left: 0;
}

.carousel-button--right {
    right: 0;
}

.carousel-button i {
    font-size: 1.2rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-silver);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    padding: 0;
}

.carousel-dot:hover {
    background: var(--color-steel-blue);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--color-orange);
    width: 32px;
    border-radius: 6px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .product-carousel {
        padding: 0 40px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }

    .carousel-button i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-carousel {
        padding: 0 32px;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
    }

    .carousel-button i {
        font-size: 0.9rem;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 16px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dot.active {
        width: 24px;
    }
}