/* ============================================
   QUICK VIEW MODAL STYLES
   ============================================ */

.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.quick-view-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.quick-view-modal__container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    overflow: auto;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-view-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.quick-view-modal__close:hover {
    background: #f5f5f5;
}

.quick-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
}

.quick-view__image img {
    width: 100%;
    border-radius: 8px;
}

.quick-view__brand {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.quick-view__price {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
    margin: 15px 0;
}

.quick-view__link {
    display: inline-block;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .quick-view {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

.quick-view__loading,
.quick-view__error {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #666;
}

.quick-view__loading i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #d4af37;
}

.quick-view__error {
    color: #c53030;
}

.quick-view__error i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.quick-view__error p {
    margin: 15px 0;
    font-size: 14px;
}

.quick-view__error button {
    margin-top: 20px;
}
