* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Arial, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: #333;
}
a { color: inherit; text-decoration: none; }

/* Header idêntico ao checkout real da Growth */
header.co-header {
  background: #009edf;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
header.co-header img { height: 34px; }
header.co-header .co-tagline {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  line-height: 1.4;
  display: none;
}
@media (min-width: 860px) {
  header.co-header .co-tagline { display: block; }
}

.co-wrap {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.co-wrap.co-wrap--split {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .co-wrap.co-wrap--split { grid-template-columns: 1fr 1fr 380px; }
  .co-wrap.co-wrap--cart { grid-template-columns: 1fr 320px; }
}

/* "mainBox" = mesmo nome de classe do checkout real */
.mainBox {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
}
.mainBox.boxAtivo { border-color: #009edf; }
.mainBox-titulo {
  background: #f1f1f1;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 16px;
  color: #b0b0b0;
}
.mainBox.boxAtivo .mainBox-titulo { color: #e2002e; }
.mainBox-conteudo { padding: 20px; }

.co-title {
  color: #e2002e;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 18px;
}

.co-field { margin-bottom: 14px; }
.co-field label { display: block; font-size: 13px; color: #555; margin-bottom: 4px; }
.co-field input, .co-field select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
}
.co-row { display: flex; gap: 12px; }
.co-row .co-field { flex: 1; }

.co-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #2ab523;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}
.co-btn:hover { background: #249c1e; }
.co-btn.secundario { background: #fff; color: #009edf; border: 1px solid #009edf; }
.co-btn:disabled { opacity: .5; cursor: not-allowed; }

.co-nota {
  background: #fff8e1;
  border: 1px solid #ffe0a3;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12px;
  color: #7a5c00;
  margin-bottom: 16px;
}

/* Formas de pagamento — mesmas classes do site real */
.checkoutMenuPagamento { display: flex; flex-direction: column; gap: 10px; }
.checkoutMenuPagamentoItem {
  background: #f1f1f1;
  border-radius: 4px;
  padding: 17px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid transparent;
}
.checkoutMenuPagamentoItem.selecionado { border-color: #009edf; background: #fff; }
.checkoutMenuPagamentoItem img,
.checkoutMenuPagamentoItem svg { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.checkoutMenuPagamentoItemLabel { font-size: 15px; font-weight: 600; color: #333; }
.checkoutMenuPagamentoItem small { display: block; color: #2ab523; font-size: 12px; font-weight: 700; }

/* Resumo do pedido — mesmo box cinza do site real */
.box-resumo-pedido {
  background: #f1f1f1;
  border-radius: 4px;
  padding: 20px;
  height: fit-content;
}
.mainBox-resumo-t1 { font-weight: 700; font-size: 15px; margin-bottom: 14px; color: #333; }
.co-resumo-item { display: flex; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #ddd; }
.co-resumo-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; background: #fff; }
.co-resumo-item .nome { font-weight: 700; font-size: 13px; }
.co-resumo-item .opcao { font-size: 12px; color: #777; margin-top: 2px; }
.co-linha { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.co-linha.total { font-size: 20px; font-weight: 700; color: #009edf; border-top: 1px solid #ddd; margin-top: 8px; padding-top: 10px; }
.co-linha.total .valor-desconto { color: #4aae51; }
.co-linha .valor-de { text-decoration: line-through; color: #999; font-weight: 400; font-size: 14px; }
.co-pontos { font-size: 12px; color: #666; margin-top: 10px; }
.co-pontos b { color: #009edf; }

/* Tabela do carrinho */
table.co-tabela { width: 100%; border-collapse: collapse; }
table.co-tabela th { text-align: left; font-size: 13px; color: #777; padding: 10px 0; border-bottom: 2px solid #eee; }
table.co-tabela td { padding: 16px 0; border-bottom: 1px solid #eee; vertical-align: middle; }
.co-produto { display: flex; gap: 12px; align-items: center; }
.co-produto img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: #f1f1f1; }
.co-produto .nome { font-weight: 700; font-size: 14px; }
.co-produto .opcao { font-size: 12px; color: #777; margin-top: 2px; }
.co-qtd { display: flex; align-items: center; gap: 8px; }
.co-qtd button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #ccc; background: #fff; cursor: pointer;
}
.co-remover { color: #e2002e; font-size: 12px; cursor: pointer; background: none; border: none; margin-top: 4px; display: block; }

.co-empty { text-align: center; padding: 60px 0; color: #888; }

.co-steps-mini { display: flex; justify-content: center; gap: 6px; font-size: 12px; color: #999; padding: 14px; }
.co-steps-mini span.ativo { color: #e2002e; font-weight: 700; }
.co-steps-mini span.feito { color: #2ab523; font-weight: 700; }

.co-confirm { text-align: center; padding: 30px 20px; }
.co-confirm .check {
  width: 64px; height: 64px; border-radius: 50%; background: #2ab523; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px;
}
.co-confirm .numero { font-size: 22px; font-weight: 700; color: #e2002e; margin: 10px 0; }

.co-footer {
  text-align: center;
  padding: 24px 16px;
  color: #999;
  font-size: 12px;
}
