/* Popup Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--trendyol-orange);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-number {
    background: white;
    color: var(--trendyol-orange);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 18px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.modal-price {
    font-size: 36px;
    color: var(--trendyol-orange);
    font-weight: bold;
    margin-bottom: 20px;
    text-align: right;
    background: var(--primary-light);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--trendyol-orange);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section-content {
    background: var(--light-orange);
    padding: 15px;
    border-radius: 10px;
    line-height: 1.6;
    color: var(--text-dark);
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 96, 0, 0.1);
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.ingredients-list li:before {
    content: "✓";
    color: var(--trendyol-orange);
    font-weight: bold;
    margin-right: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        margin: 10px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-price {
        font-size: 28px;
        text-align: center;
    }
}