.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    padding: 40px 5%;
    align-items: start;
}

.cart-items-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cart-items-container h1 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* Tabela de Produtos */
.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    padding: 15px 0;
    border-bottom: 2px solid #f4f4f4;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.item-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-product img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 8px;
}

.item-info h3 { font-size: 1rem; margin-bottom: 5px; }
.item-info p { font-size: 0.85rem; color: #777; }

.item-quantity {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 5px;
    width: fit-content;
}

.item-quantity button {
    border: none;
    background: none;
    padding: 5px 12px;
    cursor: pointer;
    font-weight: bold;
}

.item-quantity input {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-weight: bold;
}

.btn-remove {
    border: none;
    background: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-remove:hover { transform: scale(1.2); }

/* Resumo Lateral */
.cart-summary {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #555;
}

.summary-line.total {
    font-size: 1.3rem;
    font-weight: 800;
    color: #000;
    margin-top: 20px;
}

.shipping-calc {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.shipping-calc input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.shipping-calc button {
    padding: 8px 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-checkout {
    width: 100%;
    padding: 18px;
    background: #00c853; /* Verde NutrirVida */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    cursor: pointer;
}

.btn-continue {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    color: #005eff;
    font-weight: 600;
}

/* Responsividade Mobile */
@media (max-width: 950px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-header { display: none; }
    
    .cart-item {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .item-product { grid-column: span 2; }
    .item-total { text-align: right; font-weight: 800; }
}

.container cart-layout, h1 {
    color: #2e2e2e;
}

.item-price,
.item-total {
    color: #2e2e2e;
}

.item-info {
    color: #2e2e2e;
}