/* Product Variants Carousel Styles */
.variant-carousel-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.variant-carousel-header {
    text-align: center;
    margin-bottom: 20px;
}

.variant-carousel-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.variant-carousel-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.variant-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #ddd;
}

.variant-slides-wrapper {
    overflow: hidden;
    width: 100%;
}

.variant-slides {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
}

.variant-slide {
    min-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.variant-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.variant-slide h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.variant-slide .variant-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 8px;
}

.variant-slide .variant-old-price {
    font-size: 1rem;
    color: #95a5a6;
    text-decoration: line-through;
    margin-right: 10px;
}

.variant-slide .variant-discount {
    background: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 5px;
}

.variant-slide .variant-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.variant-slide .variant-dimensions {
    color: #7f8c8d;
    font-size: 0.85rem;
    font-style: italic;
}

/* Navigation Arrows */
.variant-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.variant-nav:hover {
    background: rgba(52, 152, 219, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.variant-nav.prev {
    left: 10px;
}

.variant-nav.next {
    right: 10px;
}

.variant-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.variant-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    color: inherit;
    transform: translateY(-50%);
}

/* Dots Indicator */
.variant-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
}

.variant-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-dot.active {
    background: #3498db;
    transform: scale(1.2);
}

.variant-dot:hover {
    background: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .variant-carousel-wrapper {
        padding: 15px;
        margin: 15px 0;
    }
    
    .variant-slide {
        padding: 10px;
    }
    
    .variant-nav {
        width: 35px;
        height: 35px;
    }
    
    .variant-nav.prev {
        left: 5px;
    }
    
    .variant-nav.next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .variant-carousel-title {
        font-size: 1.1rem;
    }
    
    .variant-slide h4 {
        font-size: 1rem;
    }
    
    .variant-slide .variant-price {
        font-size: 1.1rem;
    }
}