.cart {
    max-width: 980px;
    margin: 2.5rem auto;
    padding: 2rem 1.5rem;
}

.cart h2 {
    font-size: 2.1rem;
    font-weight: 600;
    margin-bottom: 2.2rem;
    text-align: center;
}

#cart-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cart__item {
    cursor: pointer;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.3rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
}

.cart__item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: #f7f7f7;
}

.cart__info {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.cart__info strong {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.cart__info span {
    font-size: .95rem;
    color: #666;
}

.cart__info span:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

.cart__total {
    display: flex;
    justify-content: flex-end;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}

.cart__total span {
    margin-left: .4rem;
}

.btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1.1rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.btn-whatsapp:hover {
    opacity: .8;
}

.cart-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.cart-empty img {
    width: 170px;
    max-width: 100%;
    opacity: .95;
}

.cart-empty p {
    font-size: 1.45rem;
    font-weight: 500;
    color: #555;
}

@media (max-width: 768px) {
    .cart {
        padding: 1.8rem 1rem;
    }

    .cart h2 {
        font-size: 1.9rem;
    }

    .cart__item {
        grid-template-columns: 70px 1fr;
        gap: 1rem;
    }

    .cart__item img {
        width: 70px;
        height: 70px;
    }

    .cart__total {
        justify-content: center;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .cart__item {
        padding: 1rem;
        border-radius: 14px;
    }

    .cart__info strong {
        font-size: .98rem;
    }

    .cart__info span {
        font-size: .9rem;
    }

    .btn-whatsapp {
        font-size: 1rem;
        padding: 1rem;
    }
}
.cart__remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: .4rem;
    border-radius: 8px;
    color: #c0392b;
    font-size: 1.3rem;
    transition: background .15s ease, transform .15s ease;
}

.cart__remove:hover {
    background: rgba(192, 57, 43, .1);
}


.cart__back {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    transition: .3s ease;
}

.cart__back:hover {
    opacity: .6;
}