/* أنماط العرض السريع */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.quick-view-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .quick-view-content {
        flex-direction: row;
    }
}

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

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-product-image {
    flex: 1;
    max-width: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .modal-product-image {
        max-width: 50%;
    }
}

.modal-product-info {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.modal-product-info h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-product-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background-color: var(--primary-dark);
}

/* أنماط سلايدر Swiper */
.quickViewSwiper {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
}

.quickViewThumbs {
    width: 100%;
    height: 70px;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .quickViewSwiper {
        height: 250px;
    }
    
    .quickViewThumbs {
        height: 60px;
    }
}

.quickViewSwiper .swiper-slide,
.quickViewThumbs .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.quickViewSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.quickViewThumbs .swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
}

.quickViewThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-color);
}

.quickViewSwiper .swiper-button-next,
.quickViewSwiper .swiper-button-prev {
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quickViewSwiper .swiper-button-next:hover,
.quickViewSwiper .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.quickViewSwiper .swiper-button-next:after,
.quickViewSwiper .swiper-button-prev:after {
    font-size: 16px;
}

.quickViewSwiper .swiper-pagination-bullet {
    background-color: white;
    opacity: 0.7;
}

.quickViewSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}
