.video-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.video-popup.active {
    display: flex;
}
.popup-content {
    position: relative;
    max-width: 90%;
    width: 100%;
    background: #111;
    padding: 20px;
    border-radius: 10px;
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}
.popup-slider video {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: #f5f5f5;
            padding: 20px;
        }

        /* Main slider styles */
        .main-slider-container {
            max-width: 1456px;
            margin: 0 auto;
            position: relative;
        }

        .main-slider {
            height: 100%;
            padding: 12px 0;
        }

        .main-slider .swiper-slide {
            height: 100%;
            width: 154.44px;
        }

        .product-tile {
            width: 200px;
            margin: 0 auto;
            cursor: pointer;
        }

        .video-container {
            width: 200px;
            height: 340px;
            border-radius: 5px;
            box-shadow: 0 0 5px 0 rgba(176, 176, 176, 1);
            overflow: hidden;
            background-color: white;
        }

        .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-info {
            padding: 12px 4px;
            cursor: pointer;
        }

        .product-title {
            color: #000 !important;
            font-size: 8px !important;
            line-height: 120% !important;
            font-family: Poppins !important;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .price-container {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 5px;
        }

        .current-price {
            font-weight: bold;
            color: #000 !important;
            font-size: 8px !important;
            white-space: nowrap;
        }

        .original-price {
            text-decoration: line-through;
            color: #808191 !important;
            font-size: 8px !important;
            white-space: nowrap;
        }

        .discount-badge {
            display: flex;
            background-color: green;
            align-items: center;
            border-radius: 4px;
            padding: 3px 6px;
            margin-top: 5px;
            width: fit-content;
        }

        .discount-text {
            color: white !important;
            font-size: 6.87px !important;
        }

        /* Modal styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            z-index: 1000;
        }

        .modal-content {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 30px;
            cursor: pointer;
            z-index: 1001;
            background: rgba(0, 0, 0, 0.5);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Fullscreen slider styles */
        .fullscreen-slider {
            width: 100%;
            height: 100%;
        }

        .fullscreen-slider .swiper-slide {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: #000;
            padding: 20px;
        }

        .fullscreen-video-container {
            width: 100%;
            max-width: 375px;
            height: 667px;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }

        .fullscreen-video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .fullscreen-product-info {
            margin-top: 20px;
            max-width: 375px;
            width: 100%;
            color: white;
            padding: 0 10px;
        }

        .fullscreen-product-title {
            font-size: 16px;
            line-height: 1.3;
            margin-bottom: 8px;
        }

        .fullscreen-price-container {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .fullscreen-current-price {
            font-weight: bold;
            font-size: 18px;
        }

        .fullscreen-original-price {
            text-decoration: line-through;
            color: #aaa;
            font-size: 14px;
        }

        .fullscreen-discount-badge {
            background-color: green;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            margin-top: 8px;
            display: inline-block;
        }

        /* Navigation arrows */
        .main-slider-container .swiper-button-next,
        .main-slider-container .swiper-button-prev {
            color: #000;
            background: rgba(255, 255, 255, 0.7);
            width: 30px;
            height: 60px;
            border-radius: 4px;
            top: 50%;
            transform: translateY(-50%);
        }

        .main-slider-container .swiper-button-next {
            right: 0;
        }

        .main-slider-container .swiper-button-prev {
            left: 0;
        }

        .fullscreen-slider .swiper-button-next,
        .fullscreen-slider .swiper-button-prev {
            color: white;
            background: rgba(0, 0, 0, 0.5);
            width: 40px;
            height: 80px;
            border-radius: 4px;
        }

        .fullscreen-slider .swiper-button-next {
            right: 20px;
        }

        .fullscreen-slider .swiper-button-prev {
            left: 20px;
        }