.quickview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.quickview-content {
    background: #fff;
    width: 95%;
    max-width: 1100px;
    height: 90vh;
    max-height: 720px;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.quickview-left,
.quickview-right {
    flex: 1;
    padding: 30px;
}

.quickview-left {
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quickview-right {
    overflow-y: auto;
}

.qv-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#qvCarouselInner img,
#qvCarouselInner video {
    height: 250px;
    max-width: 450px !important;
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: none;
}

#qvCarouselInner>*:first-child {
    display: block;
}

.qv-carousel-prev,
.qv-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
}

.qv-carousel-prev {
    left: 15px;
}

.qv-carousel-next {
    right: 55px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 100;
}

.variant-btn {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
}

.variant-btn.active {
    background: #3c72e7;
    color: #fff;
    border-color: #3c72e7;
}

.badge-primary {
    background-color: #3c72e7;
    color: white;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
}

.badge-primary:hover {
    background-color: #2a5bd7;
    color: white;
}

.product-label {
    position: absolute;
    top: 0;
    z-index: 10;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    color: #fff;
}

.label-discount {
    background: #3c72e7;
    left: 0px;
}

.label-out {
    background: #3c72e7;
    left: 0;
}

.hover-text-primary:hover {
    color: #3c72e7 !important;
}

.main {
    background-color: #eff0f2;
}


.range-card {
    padding: 5px;
}

.range-card h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.price-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price-box input {
    width: 45%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.slider {
    position: relative;
    height: 40px;
}

.slider-track {
    height: 6px;
    background: #e0e0e0;
    border-radius: 6px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.slider-range {
    height: 6px;
    background: linear-gradient(#817f7f);
    border-radius: 6px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider input {
    position: absolute;
    width: 100%;
    height: 40px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.slider input::-webkit-slider-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000000;
    /* border:3px solid #fff; */
    box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
    cursor: pointer;
    -webkit-appearance: none;
}

.slider input::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007bff;
    border: none;
    cursor: pointer;
}


@media (max-width: 768px) {
    .quickview-content {
        flex-direction: column;
        height: 92vh;
        max-height: none;
        border-radius: 12px;
    }

    .quickview-left,
    .quickview-right {
        flex: none;
        padding: 20px;
    }

    .quickview-left {
        flex: 0 0 45%;
        /* image section thoda chhota */
        max-height: 45%;
    }

    .quickview-right {
        flex: 1;
        overflow-y: auto;
    }

    .qv-carousel {
        max-width: 100%;
    }

    #qvCarouselInner img,
    #qvCarouselInner video {
        height: 250px;
        width: 100%;
        object-fit: contain;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .product-name {
        font-size: 1.4rem;
    }

    .product-price {
        font-size: 1.5rem;
    }
}