.carrinho {
    padding: 80px 0;
    min-height: 70vh;
}

.carrinho-conteudo {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}


/* ÁREA DOS PRODUTOS */

.lista-carrinho {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* RESUMO */

.resumo-carrinho {
    background: linear-gradient(145deg, #071426, #102b4d);

    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;

    padding: 25px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.resumo-carrinho h2 {
    margin-top: 0;
    margin-bottom: 25px;

    color: #d4af37;

    font-size: 20px;
}


/* LINHAS */

.resumo-linha,
.resumo-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resumo-linha span {
    color: #bfc8d4;
}

.resumo-linha strong {
    color: #ffffff;
}

.resumo-total {
    border-bottom: none;

    padding-top: 20px;
}

.resumo-total span {
    color: #ffffff;

    font-size: 18px;
    font-weight: 600;
}

.resumo-total strong {
    color: #d4af37;

    font-size: 22px;
}


/* BOTÃO FINALIZAR */

.botao-finalizar {
    width: 100%;

    margin-top: 20px;

    padding: 15px 18px;

    background: linear-gradient(
        135deg,
        #d4af37,
        #e8c654
    );

    color: #071426;

    border: none;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow:
        0 4px 12px rgba(212, 175, 55, 0.15);
}

.botao-finalizar:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(212, 175, 55, 0.30);
}

.botao-finalizar:active {
    transform: translateY(0);

    box-shadow:
        0 3px 8px rgba(212, 175, 55, 0.20);
}


/* RESPONSIVO */

@media (max-width: 800px) {

    .carrinho-conteudo {
        grid-template-columns: 1fr;
    }

    .resumo-carrinho {
        width: 100%;
        box-sizing: border-box;
    }

}
/* ==========================================
   ITENS DO CARRINHO
========================================== */

.item-carrinho {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    align-items: center;
    gap: 20px;

    padding: 18px;

    background: linear-gradient(145deg, #071426, #0d223d);

    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;

    transition: all 0.3s ease;
}

.item-carrinho:hover {
    border-color: rgba(212, 175, 55, 0.7);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25);

    transform: translateY(-2px);
}


/* ==========================================
   IMAGEM
========================================== */

.item-carrinho-imagem {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #071426;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 10px;

    overflow: hidden;

    box-sizing: border-box;
}

.item-carrinho-imagem img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 8px;
    box-sizing: border-box;
}


/* ==========================================
   INFORMAÇÕES
========================================== */

.item-carrinho-info {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.item-carrinho-info span {
    color: #d4af37;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;
}

.item-carrinho-info h3 {
    margin: 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 600;
}

.item-carrinho-info strong {
    color: #d4af37;

    font-size: 15px;
}


/* ==========================================
   CONTROLE DE QUANTIDADE
========================================== */

.item-carrinho-quantidade {
    display: flex;
    align-items: center;

    border: 1px solid rgba(212, 175, 55, 0.5);

    border-radius: 8px;

    overflow: hidden;

    background: rgba(0, 0, 0, 0.15);
}

.item-carrinho-quantidade button {
    width: 36px;
    height: 36px;

    border: none;

    background: transparent;

    color: #d4af37;

    font-size: 20px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.2s ease;
}

.item-carrinho-quantidade button:hover {
    background: #d4af37;

    color: #071426;
}

.item-carrinho-quantidade span {
    width: 38px;

    text-align: center;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}


/* ==========================================
   TOTAL DO PRODUTO
========================================== */

.item-carrinho-total {
    min-width: 100px;

    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 8px;
}

.item-carrinho-total strong {
    color: #ffffff;

    font-size: 16px;
}


/* ==========================================
   BOTÃO REMOVER
========================================== */

.remover-carrinho {
    border: none;

    background: transparent;

    color: #8e99a8;

    font-size: 12px;

    cursor: pointer;

    transition: color 0.2s ease;
}

.remover-carrinho:hover {
    color: #d4af37;
}


/* ==========================================
   CARRINHO VAZIO
========================================== */

.carrinho-vazio {
    padding: 60px 30px;

    text-align: center;

    background: linear-gradient(145deg, #071426, #0d223d);

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 12px;
}

.carrinho-vazio h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 22px;
}

.carrinho-vazio p {
    margin: 0 0 25px;

    color: #aeb8c5;

    font-size: 14px;
}

.carrinho-vazio a {
    display: inline-block;

    padding: 12px 24px;

    background: linear-gradient(
        135deg,
        #d4af37,
        #e8c654
    );

    color: #071426;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.carrinho-vazio a:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(212, 175, 55, 0.25);
}


/* ==========================================
   RESPONSIVO
========================================== */

@media (max-width: 800px) {

    .item-carrinho {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .item-carrinho-imagem {
        width: 80px;
        height: 80px;
    }

    .item-carrinho-quantidade {
        grid-column: 2;
        justify-self: start;
    }

    .item-carrinho-total {
        grid-column: 2;
        align-items: flex-start;
    }

}
/* ==========================================
   OPÇÃO DO PRODUTO NO CARRINHO
========================================== */

.item-carrinho-info small {
    display: block;

    margin: 6px 0 8px;

    color: #d4af37;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.3px;
}
/* ==========================================
   BOTÃO VOLTAR AOS PRODUTOS
========================================== */

.botao-voltar-carrinho {
    display: inline-flex;
    align-items: center;

    margin-bottom: 30px;

    color: #d4af37;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.25s ease;
}

.botao-voltar-carrinho:hover {
    color: #ffffff;
    transform: translateX(-4px);
}
/* ==========================================
   DADOS DO CLIENTE
========================================== */

.dados-cliente {
    margin-bottom: 25px;
}

.dados-cliente h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #c9a227;
}

.dados-cliente input,
.dados-cliente select,
.dados-cliente textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;
    margin-bottom: 12px;

    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 8px;

    background: #111827;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: 0.3s;
}

.dados-cliente input::placeholder,
.dados-cliente textarea::placeholder {
    color: #9ca3af;
}

.dados-cliente input:focus,
.dados-cliente select:focus,
.dados-cliente textarea:focus {
    border-color: #c9a227;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.12);
}

.dados-cliente select {
    cursor: pointer;
}

.dados-cliente textarea {
    resize: vertical;
    min-height: 80px;
}
/* ==========================================
   CAMPO DE ENDEREÇO
========================================== */

.campo-endereco {
    display: none;
}

.campo-endereco.ativo {
    display: block;
}
/* ==========================================
   AVISO DE ENTREGA - PREMIUM
========================================== */

.aviso-entrega {
    margin: 2px 0 14px 0;
    padding: 10px 12px;

    font-size: 12px;
    line-height: 1.5;

    color: #d1d5db;

    background: rgba(201, 162, 39, 0.06);

    border-left: 2px solid #c9a227;
    border-radius: 5px;

    letter-spacing: 0.15px;
}