.checkout-main {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.checkout-main h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}
.ck-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 20px;
  margin-bottom: 16px;
}
.ck-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}
.ck-form { display: flex; flex-direction: column; gap: 14px; }
.ck-campo { display: flex; flex-direction: column; gap: 4px; }
.ck-campo label { font-size: 0.85rem; font-weight: 500; color: #444; }
.ck-campo input {
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
.ck-campo input:focus { border-color: var(--green); }
.ck-campo small { font-size: 0.75rem; margin-top: 2px; }
.cpf-valido { color: var(--green); }
.cpf-invalido { color: var(--red); }

.btn-criar-conta {
  width: 100%;
  margin-top: 14px;
  background: #f0f0f0;
  color: #333;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-criar-conta:hover { background: #e0e0e0; }
.btn-criar-conta.hidden { display: none; }

/* PAGAMENTO */
.ck-pagamento-opcoes {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.ck-pag-opcao {
  flex: 1;
  max-width: 140px;
  border: 2px solid var(--green);
  border-radius: 10px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
}
.ck-pag-opcao i { font-size: 1.5rem; color: var(--green); }
.ck-pag-opcao span { font-size: 0.88rem; font-weight: 600; color: #222; }
.ck-pag-opcao small { font-size: 0.75rem; color: var(--green); font-weight: 600; }

.ck-pag-info {
  background: #f0fdf4;
  border: 1.5px solid #c8e6c9;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #333;
  line-height: 1.5;
}
.ck-pag-info p:first-child { margin-bottom: 4px; }

/* RESUMO */
.ck-resumo-itens {
  margin-bottom: 14px;
}
.ck-resumo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.88rem;
  color: #333;
}
.ck-cupom-row {
  margin-bottom: 14px;
}
.ck-cupom-row label {
  font-size: 0.85rem;
  color: #444;
  display: block;
  margin-bottom: 6px;
}
.ck-cupom-input {
  display: flex;
  gap: 8px;
}
.ck-cupom-input input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  outline: none;
  text-transform: uppercase;
}
.ck-cupom-input input:focus { border-color: var(--green); }
.ck-cupom-input button {
  background: #f0f0f0;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  color: #555;
  font-size: 1rem;
  transition: background 0.2s;
}
.ck-cupom-input button:hover { background: #e0e0e0; }

.ck-resumo-linhas {
  border-top: 1px solid #eee;
  padding-top: 12px;
  margin-bottom: 16px;
}
.ck-linha {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.9rem;
  color: #444;
}
.ck-linha.pix { color: var(--green); }
.ck-linha.frete .ck-valor { color: var(--green); font-weight: 500; }
.ck-linha.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 8px;
}

.btn-confirmar-pedido {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-confirmar-pedido:hover { background: var(--dark-green); }

.ck-seguro {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* TOAST CUPOM */
.cupom-toast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  z-index: 9999;
  background: #0d2e0d;
  color: #4cdf7a;
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  width: calc(100% - 32px);
  max-width: 560px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cupom-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cupom-toast i {
  font-size: 1.3rem;
  color: #4cdf7a;
}
