.carrinho-container {
    width: 85%;
    max-width: 1200px;
    margin: 90px auto 40px;
    padding: 20px;
}

.carrinho-container h1 {
    font-family: 'Playwrite AU QLD', cursive;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    font-size: 2rem;
    color: #333;
}

.carrinho-conteudo {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.lista-produtos {
    flex: 3;
    min-width: 300px;
}

.carrinho-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
    font-weight: bold;
    color: #555;
    padding-bottom: 10px;
    border-bottom: 2px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.header-produto {
    text-align: left;
}

.item-carrinho {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.produto-info {
    display: flex;
    align-items: center;
    text-align: left;
}

.produto-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.produto-info h4 {
    margin: 0;
    font-size: 1rem;
}

.produto-info p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: #666;
}

.produto-quantidade {
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-quantidade input {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 5px;
    padding: 5px;
}

.produto-quantidade input::-webkit-outer-spin-button,
.produto-quantidade input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-qtd {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qtd:hover {
    background-color: #e0e0e0;
}

.btn-remover {
    border: none;
    background: none;
    color: #e74c3c;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-remover:hover {
    color: #c0392b;
}

.resumo-pedido {
    flex: 1;
    background-color: #f9f9f9;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    height: fit-content;
    min-width: 280px;
}

.resumo-pedido h2 {
    margin-top: 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.resumo-linha,
.resumo-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.resumo-total {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

.btn-comprar {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
}