/* Carrito - Estilos */

.carrito-items-card,
.resumen-card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.carrito-items-card .card-header,
.resumen-card .card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    font-weight: 600;
}

.carrito-item {
    transition: background-color 0.2s;
}

.carrito-item:hover {
    background-color: #f8f9fa;
}

.item-imagen {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: #f0f0f0;
}

.item-nombre {
    font-weight: 600;
    font-size: 0.95rem;
}

.item-precio {
    font-size: 0.85rem;
}

.item-cantidad .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cantidad-valor {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.item-subtotal {
    color: var(--color-primario);
    min-width: 80px;
    text-align: right;
}

/* Resumen */
.resumen-card .card-body {
    padding: 1.5rem;
}

.entrega-opciones .form-check {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.entrega-opciones .form-check:hover {
    background: #f0f0f0;
}

.costo-envio {
    color: #6c757d;
    font-size: 0.85rem;
}

.btn-tienda.btn-lg {
    padding: 0.875rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

/* Carrito vacío */
#carritoVacio {
    padding: 60px 20px;
}

#carritoVacio i {
    color: #dee2e6;
}

/* Animaciones */
.carrito-item.removing {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .carrito-item {
        flex-wrap: wrap;
    }

    .item-imagen {
        width: 60px;
        height: 60px;
    }

    .item-info {
        order: 1;
        width: calc(100% - 80px);
    }

    .item-cantidad,
    .item-subtotal,
    .btn-eliminar {
        order: 2;
        margin-top: 10px;
    }
}