/* Amazon-style Product Slider */
.amazon-product-slider {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slider-main-container {
    position: relative;
    background: #f8f9fa;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-main-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: zoom-in;
}

.slider-main-image:hover {
    transform: scale(1.02);
}

.slider-navigation {
    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;
    z-index: 10;
}

.slider-navigation:hover {
    background: rgba(255,255,255,1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

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

.slider-nav-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-thumbnails {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.thumbnails-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f1f5f9;
}

.thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.thumbnail-item.active {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item.active img {
    transform: scale(1.05);
}

.slider-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.zoom-indicator {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-image-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    z-index: 5;
}

.no-images-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    color: #6c757d;
}

.no-images-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Lightbox Modal Styles */
.modal-backdrop.show {
    opacity: 0.9;
}

.modal-content.bg-transparent {
    background: transparent !important;
}

.modal-content.bg-transparent .modal-header {
    background: transparent;
}

.modal-content.bg-transparent .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-content.bg-transparent .modal-body {
    background: transparent;
}

#lightboxImage {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-main-container {
        min-height: 300px;
    }
    
    .slider-main-image {
        max-height: 300px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .slider-navigation {
        width: 35px;
        height: 35px;
    }
    
    .slider-counter {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .zoom-indicator {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .featured-image-badge {
        font-size: 8px;
        padding: 3px 6px;
    }
}

@media (max-width: 576px) {
    .slider-main-container {
        min-height: 250px;
    }
    
    .slider-main-image {
        max-height: 250px;
    }
    
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
    
    .slider-thumbnails {
        padding: 15px;
    }
    
    .thumbnails-container {
        gap: 8px;
    }
} 