
/* Flatsome Multi-Image Slider */
.flatsome-multi-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: grab;
}

.slider-track:active {
    cursor: grabbing;
}

.slide-item {
    flex: 0 0 33.333%;
    height: 100%;
    padding: 0 8px;
    position: relative;
    overflow: hidden;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.slide-item:hover .slide-overlay {
    opacity: 1;
}

/* Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #004499);
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .slide-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 548px) {
    .slide-item {
        flex: 0 0 100%;
    }
    
    .flatsome-multi-slider {
        margin-bottom: 20px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
}

/* Flatsome Theme Integration */
.single-product .flatsome-multi-slider,
.single-post .flatsome-multi-slider {
    margin-bottom: 30px;
}

/* Loading State */
.slider-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background: #f8f9fa;
    border-radius: 15px;
}

.no-images {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}
