/* Quick View Modal */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

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

.quick-view-container {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

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

.quick-view-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.2s;
}

.quick-view-close:hover {
    background: #f3f4f6;
    transform: rotate(90deg);
}

.quick-view-content {
    display: flex;
    flex-direction: column;
}

.quick-view-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f9fafb;
}

.quick-view-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    box-sizing: border-box;
}

.quick-view-details {
    padding: 2rem;
}

.quick-view-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.quick-view-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.quick-view-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quick-view-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 1.5rem;
}

.quick-view-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-view-actions .btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .quick-view-content {
        flex-direction: row;
    }
    
    .quick-view-image-container {
        flex: 1;
        height: 500px;
    }
    
    .quick-view-details {
        flex: 1;
        padding: 3rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Loading State */
.quick-view-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.quick-view-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top-color: #b91c1c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
