/* SSV Banner Carousel Styles - COMPLETE VERSION */
.ssv-banner-carousel {
    width: 100%;
    max-width: 2592px;
    height: auto;
    min-height: 250px;
    position: relative;
    margin: auto;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Slide Animation */
.ssv-banner-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    opacity: 0;
    animation: slideIn 0.7s ease forwards;
    cursor: pointer;
    transition: all 0.7s ease-in-out; /* Add this */
    transform: translateX(100%); /* Start off-screen right */
}

/*@keyframes slideIn {*/
/*    from { */
/*        transform: translateX(100%); */
/*        opacity: 0; */
/*    }*/
/*    to { */
/*        transform: translateX(0); */
/*        opacity: 1; */
/*    }*/
/*}*/

.ssv-banner-slide.active {
    left: 0;
    opacity: 1;
    animation: none;
    transform: translateX(0); /* Slide in */
    z-index: 1; /* Image behind buttons/dots */
}

.ssv-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Video Click Area - ENTIRE image for video */
/*.ssv-video-click-area {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    cursor: pointer;*/
/*    z-index: 2;*/
/*}*/

/* Buy Now Button - Positioned over image */
.ssv-product-click-area {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: auto;
    height: auto;
    z-index: 100 !important;
    pointer-events: auto;
}

.ssv-product-click-label {
    background: #a90000;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s;
    display: inline-block;
}

.ssv-product-click-label:hover {
    background: #c20000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Navigation Dots - ON IMAGE */
.ssv-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0px;
    z-index: 10;
}

.ssv-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(0,0,0,0.2);
}

.ssv-dot.active {
    background: #a90000;
    transform: scale(1.2);
    border-color: white;
}

.ssv-dot:hover {
    background: rgba(169, 0, 0, 0.7);
}

/* Navigation Arrows */
.ssv-carousel-nav {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.ssv-prev-btn, .ssv-next-btn {
    background: rgba(169, 0, 0, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ssv-prev-btn:hover, .ssv-next-btn:hover {
    background: #a90000;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Video Lightbox */
/* Video Lightbox - SIMPLIFIED */
.ssv-video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    display: none; /* Start hidden */
    align-items: center;
    justify-content: center;
}

.ssv-video-lightbox.active {
    display: flex !important; /* Show when active */
}

.ssv-lightbox-content {
    position: relative;
    width: 360px;
    height: 640px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/*.ssv-video-lightbox.active .ssv-lightbox-content {*/
/*    transform: scale(1);*/
/*}*/

.ssv-product-video {
    width: 100%;
    height: 100%;
    display: block;
}

.ssv-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: #a90000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
}

.ssv-close-btn:hover {
    background: #c20000;
}

.ssv-video-actions {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.ssv-product-redirect-btn {
    background: #a90000;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.ssv-product-redirect-btn:hover {
    background: #c20000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.ssv-product-redirect-btn.redirecting {
    background: #fcc03d;
    animation: pulse 1s infinite;
    color: black;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1400px) {
    .ssv-banner-carousel {
        min-height: 250px;
    }
}

@media (max-width: 992px) {
    .ssv-banner-carousel {
        min-height: 130px;
    }
    
    .ssv-product-click-area {
        bottom: 25px;
        right: 25px;
    }
    
    .ssv-product-click-label {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .ssv-banner-carousel {
        min-height: 130px;
    }
    
    .ssv-product-click-area {
        bottom: 20px;
        right: 20px;
    }
    
    .ssv-product-click-label {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .ssv-lightbox-content {
        width: 90%;
        height: auto;
        max-height: 80vh;
    }
    
    .ssv-prev-btn, .ssv-next-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .ssv-carousel-nav {
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .ssv-banner-carousel {
        min-height: 80px;
    }
    
    .ssv-product-click-area {
        bottom: 15px;
        right: 15px;
    }
    
    .ssv-product-click-label {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .ssv-prev-btn, .ssv-next-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .ssv-carousel-nav {
        left: 5px;
        right: 5px;
    }
    
    .ssv-carousel-dots {
        bottom: 15px;
    }
    
    .ssv-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 400px) {
    .ssv-banner-carousel {
        min-height: 100px;
    }
    
    .ssv-product-click-label {
        padding: 5px 10px;
        font-size: 12px;
    }
}


@media (max-width: 380px) {
    .ssv-banner-carousel {
        min-height: 60px;
    }
    
    .ssv-product-click-label {
        padding: 5px 10px;
        font-size: 12px;
    }
}






/* QUICK FIXES */
.ssv-banner-carousel {
    position: relative !important;
    overflow: hidden !important;
}

.ssv-product-click-area {
    z-index: 9999 !important;
    pointer-events: all !important;
}

.ssv-carousel-dots {
    bottom: 15px !important;
    z-index: 9998 !important;
}

.ssv-banner-slide {
    transition: transform 0.7s ease !important;
}

.ssv-banner-slide.active {
    transform: translateX(0) !important;
}




.ssv-product-click-area,
.ssv-carousel-dots,
.ssv-carousel-nav {
    position: absolute;
    z-index: 10; /* Above image */
}


