/* Meal Plan Styles */
#pros {
    display: none;
}

#vieww.show-cart {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.meal-quantity-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.meal-qty-minus,
.meal-qty-plus {
    background: #DE9987;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meal-qty-minus:hover,
.meal-qty-plus:hover {
    background: black !important;
    color: #718E62;
    transform: scale(1.1);
}

.meal-qty-minus:active,
.meal-qty-plus:active {
    background: black !important;
    color: #718E62 !important;
    transform: scale(0.95);
}

.meal-qty-minus:focus,
.meal-qty-plus:focus {
    background: black !important;
    color: #fff !important;
    outline: none;
}

.meal-quantity-input {
    width: 60px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
    background: white;
    color: #333 !important;
}

.meal-quantity-input::-webkit-inner-spin-button,
.meal-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.active-meal-plan {
    background-color: #000000 !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.meal-counter {
    background: #DE9987;
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease;
}

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

.meal-counter p {
    margin: 5px 0;
    font-size: 18px;
    font-weight: bold;
}

.counter-warning {
    color: #fff;
    animation: pulse 2s infinite;
}

.counter-success {
    color: #4ade80;
    font-size: 20px;
    animation: bounce 1s;
}

.counter-error {
    color: #ff6b6b;
    animation: shake 0.5s;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@media (max-width: 768px) {
    .meal-quantity-wrapper {
        gap: 8px;
        padding: 6px 12px;
    }

    .meal-qty-minus,
    .meal-qty-plus {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .meal-quantity-input {
        width: 50px;
        padding: 6px;
        font-size: 14px;
    }

    .meal-counter p {
        font-size: 16px;
    }

    .meal-counter {
        padding: 15px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .meal-quantity-wrapper {
        gap: 6px;
        padding: 5px 10px;
    }

    .meal-qty-minus,
    .meal-qty-plus {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .meal-quantity-input {
        width: 42px;
        padding: 5px;
        font-size: 13px;
    }

    .meal-counter {
        padding: 12px;
        margin: 10px 0;
        border-radius: 10px;
    }

    .meal-counter p {
        font-size: 14px;
    }

    .active-meal-plan {
        transform: scale(1.02);
    }
}
