/* ================= CARRITO LATERAL CSS ================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

    .cart-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background: rgba(10, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 0, 0, 0.25);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.9);
}

    .cart-sidebar.open {
        right: 0;
    }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 0, 0, 0.25);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

    .cart-header h2 {
        font-family: 'Orbitron', sans-serif;
        font-size: 20px;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .cart-header h2 i {
            color: #ff0000;
        }

.close-cart {
    background: none;
    border: none;
    color: #a3a3a3;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

    .close-cart:hover {
        color: #ff0000;
    }

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
    color: #fff;
}

.cart-item-info p {
    font-size: 13px;
    color: #ff0000;
    font-weight: 700;
}

.btn-remove-item {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .btn-remove-item:hover {
        background: #ff0000;
    }

.cart-footer {
    border-top: 1px solid rgba(255, 0, 0, 0.25);
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

    .cart-total span:last-child {
        color: #ff0000;
    }
