/* Estilos personalizados */

body {
    padding-top: 76px;
}

.carousel-item {
    height: 400px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: #0000005c;
}

.producto-card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.producto-card:hover {
    transform: translateY(-5px);
}


/* Carrito lateral */

.carrito-lateral {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 1050;
    padding: 20px;
}

.carrito-lateral.abierto {
    right: 0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.overlay.mostrar {
    display: block;
}


/* Responsive productos */

@media (max-width: 768px) {
    .col-producto {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-producto {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Estilos para notificaciones Toast */

.toast-container {
    z-index: 9999;
}

.toast {
    backdrop-filter: blur(10px);
}


/* Mejoras para el modal de cantidad */

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

.coloresx {
    color: white;
}