/* ─── CARRINHO ─────────────────────────────────────────────── */

.carrinho-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  min-height: 60vh;
}

.carrinho-titulo {
  font-family: 'Bright Retro', Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  color: #2A1E1C;
}

/* Estado vazio */
.carrinho-vazio {
  text-align: center;
  padding: 80px 20px;
  color: #5A5550;
}
.carrinho-vazio svg { margin: 0 auto 24px; opacity: .2; }
.carrinho-vazio p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 28px;
}

/* Lista de itens */
.itens-carrinho {}

.carrinho-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.item-foto {
  width: 88px; height: 116px;
  object-fit: cover;
  background: #EDE3D4;
  display: block;
}
.item-foto-placeholder {
  width: 88px; height: 116px;
  background: linear-gradient(160deg, #D9C8B0, #C0A88A);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: rgba(0,0,0,.12);
}
.item-body { display: flex; flex-direction: column; gap: 6px; }
.item-nome {
  font-family: 'Bright Retro', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: #2A1E1C;
  line-height: 1.25;
}
.item-tamanho {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A8480;
  font-weight: 400;
}
.item-preco {
  font-size: 15px;
  color: #2A1E1C;
  font-weight: 300;
  margin-top: 4px;
}
.item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #C0B8B0;
  font-size: 14px;
  padding: 4px;
  transition: color .2s;
  line-height: 1;
}
.item-remove:hover { color: #C90F14; }

/* Checkout */
.carrinho-checkout { margin-top: 8px; }

.carrinho-total-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px 0;
  border-top: 2px solid #2A1E1C;
  margin-bottom: 36px;
}
.total-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A8480;
  font-weight: 400;
}
.total-valor {
  font-family: 'Bright Retro', Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #C90F14;
  letter-spacing: 0.01em;
}

/* Formulário de dados do cliente */
.carrinho-form {
  background: #F0E8DC;
  padding: 28px 32px;
  margin-bottom: 24px;
}
.carrinho-form h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 6px;
}
.form-nota {
  font-size: 12px;
  color: #8A8480;
  font-weight: 300;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A8480;
  font-weight: 400;
}
.form-group input {
  padding: 11px 14px;
  border: 1px solid rgba(0,0,0,.12);
  font-family: 'Neue Montreal', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  background: #fff;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus { border-color: #2A1E1C; }

/* Botões */
.carrinho-actions {
  display: flex;
  gap: 12px;
}
.btn-whatsapp--green {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  padding: 16px 24px;
  background: #25D366;
  color: #fff;
  border: none;
  font-family: 'Neue Montreal', 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background .2s;
}
.btn-whatsapp--green:hover { background: #1aab54; }

@media (max-width: 768px) {
  .carrinho-layout { padding: 40px 16px 80px; }
  .carrinho-actions { flex-direction: column; }
  .carrinho-form { padding: 24px 20px; }
}
