/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.product-modal__content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f0922e 0%, #ff9f40 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 146, 46, 0.4);
    z-index: 10;
}

.product-modal__close:hover {
    background: linear-gradient(135deg, #d67d1f 0%, #f0922e 100%);
    transform: rotate(90deg) scale(1.1);
}

.product-modal__title {
    color: #033e73;
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 2rem;
    font-weight: 700;
    padding-right: 60px;
}

.product-modal__body {
    background: transparent !important;
    padding: 0 !important;
}

.product-modal .loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #64748b;
}

.product-modal .no-products,
.product-modal .error-message {
    text-align: center;
    padding: 3rem;
    font-size: 1.1rem;
    color: #64748b;
}

.product-modal .error-message {
    color: #ef4444;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .product-modal__content {
        padding: 1.5rem;
        max-height: 95vh;
    }

    .product-modal__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-modal__close {
        width: 40px;
        height: 40px;
        font-size: 1.75rem;
    }
}