/* Modal background */
.modal {
    display: none;
    /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Modal content box */
.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    padding: 20px;
    display: flex;
    gap: 20px;
    animation: fadeIn 0.3s ease;
}

/* Image on left */
.modal-content img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Right content */
.modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title + description */
.modal-details h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #e65100;
}

.modal-details small {
    display: block;
    margin-bottom: 15px;
    font-style: italic;
    color: #555;
}

/* Price list */
.modal-prices {
    flex: 1;
}

.modal-prices .overlay-content {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    color: #333;
}

/* Close button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.modal-content {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.modal-title {
    /* margin-bottom: 20px; */
    text-align: center;
}

.modal-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.modal-image img {
    max-width: 300px;
    border-radius: 8px;
}

.modal-details {
    flex: 1;
}


/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}