/* Animaciones para el modal del carrito */

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Modal del producto agregado - sin animación del fondo */
#product-added-modal .bg-white {
    animation: slideUp 0.3s ease-out;
}

@media (min-width: 640px) {
    #product-added-modal .bg-white {
        animation: fadeIn 0.3s ease-out;
    }
}

/* Estilos específicos para el modal de producto agregado */
#product-added-modal .modal-quantity-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

#product-added-modal .modal-quantity-label {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin: 0 !important;
}

#product-added-modal .modal-quantity-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background-color: #f3f4f6 !important;
    border-radius: 0.5rem !important;
    padding: 0.125rem !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

#product-added-modal .modal-qty-decrease,
#product-added-modal .modal-qty-increase {
    width: 2rem !important;
    height: 2rem !important;
    flex-shrink: 0 !important;
}

#product-added-modal .modal-qty-input {
    width: 3rem !important;
    height: 2rem !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
}
