/* Checkout — Real Capa e Tapetes
   Usa os tokens do :root de assets/styles.css (--gold, --card, --border, --radius, --shadow-card,
   --font-display, --font-body, --whatsapp, --surface, --muted-foreground...). Classes próprias com prefixo co-. */

:root {
  --co-green: var(--color-emerald-600, #059669);
  --co-max: 64rem;
  --co-gold-soft: rgba(201, 43, 48, .06);
  --co-gold-ring: rgba(201, 43, 48, .18);
}

.co-body {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.co-body svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-body a:focus-visible,
.co-body button:focus-visible,
.co-body summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.co-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- header (mesmo visual da loja; a barra superior usa a marcação e as classes Tailwind originais) ---------- */
.co-header { background: var(--card); border-bottom: 1px solid var(--border); }
.co-header__in {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  max-width: var(--co-max); min-height: 64px;
  margin: 0 auto; padding: 8px 16px;
}
.co-logo {
  display: flex; align-items: center; justify-content: center;
  width: calc(100% - 9rem); max-width: 260px; height: 60px;
}
.co-logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.co-back {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 9999px;
  color: var(--foreground);
  transition: background-color .15s;
}
.co-back:hover { background: var(--muted); }
.co-back svg { width: 20px; height: 20px; }
.co-secure {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 6px;
  color: var(--co-green);
  font-size: 10px; font-weight: 700; line-height: 1.15;
  letter-spacing: .05em; text-transform: uppercase;
}
.co-secure svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (min-width: 768px) {
  .co-header__in { min-height: 80px; padding: 12px 24px; }
  .co-logo { height: 64px; max-width: 300px; }
  .co-back { left: 20px; }
  .co-secure { right: 24px; font-size: 11px; }
}

/* ---------- layout ---------- */
.co-main { max-width: var(--co-max); margin: 0 auto; padding: 14px 16px 40px; }
@media (min-width: 768px) { .co-main { padding: 24px 24px 56px; } }

.co-demo {
  margin-bottom: 12px; padding: 10px 12px;
  border: 1px dashed var(--review); border-radius: 8px;
  background: #fdf7e3; color: var(--foreground);
  font-size: 13px; line-height: 1.45;
}
.co-demo code { font-family: var(--font-mono); font-size: 12px; }
.co-alert {
  margin: 0 0 12px; padding: 12px 14px;
  border: 1px solid rgba(220, 38, 38, .3); border-radius: 8px;
  background: #fff4f4; color: var(--destructive);
  font-size: 14px; font-weight: 600; line-height: 1.45;
}
.co-form .co-alert { margin: 0; }

/* ---------- etapas (mesmo estilo do seletor Marca/Modelo/Ano/Cor da loja) ----------
   Original: pt-4 pb-1, linha top-10 left-5 right-5 h-0.5, item w-14 gap-1.5, círculo h-12 w-12 border shadow-sm,
   ícone h-6 w-6 (traço 1.8), pendente com ring-4 da cor do fundo onde está (lá, o card; aqui, a página),
   concluído bg-gold + shadow-gold/20, rótulo text-foreground só quando concluído. */
.co-steps {
  position: relative;
  display: flex; align-items: flex-start; justify-content: space-between;
  max-width: 21rem; margin: 0 auto 12px; padding: 16px 0 4px;
  list-style: none;
}
.co-steps::before {
  content: ""; position: absolute; top: 40px; left: 20px; right: 20px;
  height: 2px; background: var(--border);
}
.co-steps__item {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 56px;
}
.co-steps__dot {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 9999px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--muted-foreground);
  box-shadow: 0 0 0 4px var(--background), 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.co-steps__dot svg { width: 24px; height: 24px; stroke-width: 1.8; }
.co-steps__dot .co-i-done { display: none; stroke-width: 2; }
.co-steps__label {
  font-size: 10px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.co-steps__item.is-active .co-steps__dot { border-color: var(--gold); color: var(--gold); }
.co-steps__item.is-done .co-steps__dot {
  background: var(--gold); border-color: var(--gold); color: var(--gold-foreground);
  box-shadow: 0 1px 3px 0 rgba(201, 43, 48, .2), 0 1px 2px -1px rgba(201, 43, 48, .2);
}
.co-steps__item.is-done .co-steps__label { color: var(--foreground); }
.co-steps__item.is-done .co-i-step { display: none; }
.co-steps__item.is-done .co-i-done { display: block; }

.co-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1024px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .co-form { grid-column: 1; grid-row: 1; }
  .co-summary { grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
}

/* ---------- resumo do pedido ---------- */
.co-summary {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.co-summary__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 12px 16px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--foreground);
  cursor: pointer; text-align: left;
}
.co-summary__toggle-l { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.co-summary__toggle-l svg { width: 18px; height: 18px; flex-shrink: 0; }
.co-chev { transition: transform .2s; }
.co-summary.is-open .co-chev { transform: rotate(180deg); }
.co-summary__toggle-total { font-family: var(--font-display); font-size: 18px; font-weight: 800; white-space: nowrap; }
.co-summary__title { display: none; }

.co-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.co-item__img {
  position: relative; flex-shrink: 0;
  width: 76px; height: 76px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface);
}
.co-item__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.co-item__qty {
  position: absolute; top: -7px; right: -7px;
  display: flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 9999px;
  background: var(--gold); color: var(--gold-foreground);
  font-size: 11px; font-weight: 700;
}
.co-item__info { flex: 1; min-width: 0; }
.co-item__name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.co-item__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px;
  margin-top: 3px; font-size: 13px; color: var(--muted-foreground);
}
.co-item__meta b { color: var(--foreground); font-weight: 600; }
.co-swatch {
  display: inline-block; width: 14px; height: 14px; border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, .12); background: var(--surface);
}
.co-item__edit {
  display: inline-block; margin-top: 6px;
  font-size: 12px; font-weight: 600; color: var(--gold);
  text-decoration: underline; text-underline-offset: 2px;
}
.co-item--gift { padding-top: 12px; border-top: 1px dashed var(--border); }
.co-item--gift .co-item__img img { object-fit: contain; background: #fff; }
.co-gift-tag {
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 3px;
  padding: 2px 8px 2px 6px; border-radius: 9999px;
  background: var(--gold); color: var(--gold-foreground);
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.co-gift-tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.co-item__price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.co-item__price s { font-size: 12px; color: var(--muted-foreground); }
.co-item__price b { font-size: 15px; font-weight: 700; }

.co-lines { display: none; padding: 2px 16px 14px; border-top: 1px solid var(--border); }
.co-lines__row { display: flex; justify-content: space-between; gap: 12px; padding-top: 9px; font-size: 14px; color: var(--muted-foreground); }
.co-lines__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--border);
  font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--foreground);
}
.co-green { color: var(--co-green) !important; font-weight: 600; }
.co-save {
  margin-top: 10px; padding: 8px 10px; border-radius: 8px;
  background: rgba(5, 150, 105, .08); color: var(--co-green);
  font-size: 13px; font-weight: 700; text-align: center;
}
.co-perks {
  display: none; list-style: none;
  padding: 12px 16px 14px; border-top: 1px solid var(--border);
  background: var(--co-gold-soft);
}
.co-perks li { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; font-size: 13px; line-height: 1.35; }
.co-perks svg { width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; color: var(--gold); stroke-width: 2.6; }
.co-summary.is-open .co-lines,
.co-summary.is-open .co-perks { display: block; }

@media (min-width: 1024px) {
  .co-summary__toggle { display: none; }
  .co-summary__title { display: block; padding: 18px 20px 0; font-size: 18px; font-weight: 800; }
  .co-item { padding: 14px 20px; }
  .co-lines, .co-perks { display: block; padding-left: 20px; padding-right: 20px; }
}

/* ---------- formulário ---------- */
.co-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.co-card {
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 16px;
}
@media (min-width: 768px) { .co-card { padding: 22px 24px; } }
.co-card__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.2;
}
.co-num {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 9999px;
  background: var(--gold); color: var(--gold-foreground);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
}
.co-card__sub { margin: 4px 0 2px 38px; font-size: 13px; color: var(--muted-foreground); }

.co-field { min-width: 0; margin-top: 12px; }
.co-field label {
  display: block; margin-bottom: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.co-field label em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; }
/* mesmo controle do seletor da loja (dr): h-12, px-3.5, border-2 border-gold, cantos retos, focus:ring-2 ring-gold/30 */
.co-field input,
.co-field select {
  display: block; width: 100%; height: 48px; padding: 0 14px;
  border: 2px solid var(--gold); border-radius: 0;
  background: var(--card); color: var(--foreground);
  font-size: 16px; /* intencional (original text-sm): evita zoom automático no iOS */
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.co-field select {
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
.co-field input::placeholder { color: #a19d94; opacity: 1; }
.co-field input:focus,
.co-field select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 43, 48, .3); }
.co-field.is-bad input,
.co-field.is-bad select { border-color: var(--destructive); background-color: #fffafa; box-shadow: 0 0 0 2px rgba(220, 38, 38, .2); }
.co-err { display: none; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--destructive); }
.co-field.is-bad .co-err { display: block; }
.co-hint { margin-top: 5px; font-size: 11px; color: var(--muted-foreground); }
.co-field.is-bad .co-hint { display: none; }
.co-warn { margin-top: 5px; font-size: 12px; font-weight: 600; line-height: 1.4; color: #92400e; }
.co-warn[hidden], .co-field.is-bad .co-warn { display: none; }
.co-inputwrap { position: relative; }
.co-inputwrap .co-spin--in { position: absolute; top: 50%; right: 14px; margin-top: -9px; }
.co-link-sm {
  display: inline-block; margin-top: 8px;
  font-size: 12px; font-weight: 600; color: var(--muted-foreground);
  text-decoration: underline; text-underline-offset: 2px;
}
.co-suggest {
  display: block; margin-top: 6px; padding: 0;
  font-size: 13px; font-weight: 600; color: var(--gold);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}

.co-row { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 12px; }
@media (min-width: 480px) { .co-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.co-row.co-row--num { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
.co-row.co-row--city { grid-template-columns: minmax(0, 1fr) 96px; }

/* frete */
.co-ships__title { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-foreground); }
.co-ships { display: grid; gap: 10px; margin-top: 8px; }
.co-ship {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; cursor: pointer;
  border: 2px solid var(--border); border-radius: 10px;
  background: var(--card);
  transition: border-color .15s, background-color .15s;
}
.co-ship:hover { border-color: var(--muted-foreground); }
.co-ship input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.co-ship__radio {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 9999px;
  border: 2px solid var(--border); background: #fff;
}
.co-ship.is-on { border-color: var(--gold); background: var(--co-gold-soft); }
.co-ship.is-on .co-ship__radio { border: 6px solid var(--gold); }
.co-ship input:focus-visible ~ .co-ship__radio { box-shadow: 0 0 0 3px var(--co-gold-ring); }
.co-ship__price.co-ship__price--paid { color: var(--foreground); }
.co-ship__icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold); }
.co-ship__txt { display: flex; flex: 1; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.3; }
.co-ship__txt b { font-weight: 700; }
.co-ship__txt small { margin-top: 2px; font-size: 12px; color: var(--muted-foreground); }
.co-ship__price { font-size: 14px; font-weight: 800; color: var(--co-green); }

/* pagamento */
.co-pays { display: grid; gap: 10px; margin-top: 12px; }
.co-pay {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px;
  border: 2px solid var(--border); border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.co-pay:hover { border-color: var(--muted-foreground); }
.co-pay input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.co-pay__radio {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 9999px;
  border: 2px solid var(--border); background: #fff;
  transition: border .15s;
}
.co-pay.is-on { border-color: var(--gold); background: var(--co-gold-soft); }
.co-pay.is-on .co-pay__radio { border: 6px solid var(--gold); }
.co-pay input:focus-visible ~ .co-pay__radio { box-shadow: 0 0 0 3px var(--co-gold-ring); }
.co-pay__icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--surface);
}
.co-pay__icon svg { width: 22px; height: 22px; }
.co-body .co-ico-pix,
.co-body .co-state__icon--pix svg { fill: #32bcad; stroke: none; }
.co-pay__txt { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.co-pay__txt b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.co-pay__txt small { margin-top: 1px; font-size: 12px; color: var(--muted-foreground); }
.co-badge {
  padding: 2px 8px; border-radius: 9999px;
  background: var(--gold); color: var(--gold-foreground);
  font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.co-pay__price {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: 15px; font-weight: 800; white-space: nowrap;
}
.co-pay__price s { font-size: 11px; font-weight: 500; color: var(--muted-foreground); }
.co-payinfo {
  margin-top: 10px; padding: 10px 12px; border-radius: 8px;
  background: var(--surface); color: var(--muted-foreground);
  font-size: 13px; line-height: 1.5;
}
.co-payinfo b { color: var(--foreground); }

/* botão principal: mesmo verde "Comprar agora" da loja */
.co-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 8px 16px;
  border-radius: var(--radius); /* rounded-lg da loja */
  background: var(--whatsapp); color: var(--whatsapp-foreground);
  box-shadow: 0 6px 20px rgba(22, 163, 74, .25);
  font-size: 16px; font-weight: 700; letter-spacing: .025em; line-height: 1.2;
  text-align: center; text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}
.co-cta:hover { filter: brightness(1.1); }
.co-cta:active { transform: scale(.99); }
.co-cta svg { flex-shrink: 0; width: 20px; height: 20px; }
.co-cta:disabled { cursor: progress; opacity: .8; }
.co-cta.is-busy svg { display: none; }
.co-cta.is-busy::before {
  content: ""; width: 18px; height: 18px; border-radius: 9999px;
  border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: co-rot .8s linear infinite;
}
.co-cta.is-done { filter: brightness(.92); }
.co-cta-note { margin-top: -6px; font-size: 12px; text-align: center; color: var(--muted-foreground); }

/* selos */
.co-seals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.co-seal {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--card);
  font-size: 11px; font-weight: 600; line-height: 1.3; text-align: center;
}
.co-seal svg { width: 22px; height: 22px; color: var(--gold); }
.co-privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; line-height: 1.4; text-align: center; color: var(--muted-foreground);
}
.co-privacy svg { flex-shrink: 0; width: 14px; height: 14px; }
.co-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.co-privacy a:hover { color: var(--foreground); }

/* depoimentos: mesmo carrossel lr() da loja
   relative w-full min-w-0 overflow-hidden > flex transition-transform duration-700 ease-in-out (translateX) >
   w-full flex-shrink-0 px-1 > border border-border bg-card p-3 text-xs ; pontinhos mt-2 gap-1, h-1.5, ativo w-4 bg-review */
.co-rv { position: relative; width: 100%; min-width: 0; overflow: hidden; }
.co-rv__track {
  display: flex;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}
.co-rv__slide { width: 100%; flex-shrink: 0; padding: 0 4px; }
.co-rv__card {
  padding: 12px;
  border: 1px solid var(--border); background: var(--card);
  font-size: 12px; line-height: 1.3333;
}
.co-rv__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.co-rv__stars { display: flex; gap: 2px; color: var(--review); }
.co-body .co-rv__stars svg { width: 12px; height: 12px; fill: currentColor; }
.co-rv__name { font-weight: 700; }
.co-rv__ok { color: var(--muted-foreground); }
.co-rv__text { line-height: 1.375; }
.co-rv__dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.co-rv__dot {
  width: 6px; height: 6px;
  background: rgba(125, 123, 116, .3);
  background: color-mix(in oklab, var(--muted-foreground) 30%, transparent);
  transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.co-rv__dot.is-on { width: 16px; background: var(--review); }

/* spinner */
.co-spin {
  display: inline-block; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 9999px;
  border: 2.5px solid rgba(0, 0, 0, .12); border-top-color: var(--gold);
  animation: co-rot .8s linear infinite;
}
.co-spin--lg { display: block; width: 44px; height: 44px; margin: 4px auto 16px; border-width: 4px; }
@keyframes co-rot { to { transform: rotate(360deg); } }

/* ---------- telas Pix / aguardando / obrigado ---------- */
.co-state { max-width: 32rem; margin: 6px auto 0; }
.co-state .co-card { padding: 24px 18px; text-align: center; }
@media (min-width: 768px) { .co-state .co-card { padding: 30px 28px; } }
.co-state__icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 9999px;
}
.co-state__icon svg { width: 28px; height: 28px; }
.co-state__icon--pix { background: rgba(50, 188, 173, .12); }
.co-state__icon--ok { background: var(--co-green); color: #fff; }
.co-state__icon--ok svg { stroke-width: 3; }
.co-state__title { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1.2; }
.co-state__sub { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }

.co-pix__amount {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 12px 14px; border-radius: 10px;
  background: var(--surface); font-size: 14px; color: var(--muted-foreground);
}
.co-pix__amount b { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--foreground); }
.co-pix__timer {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 10px; padding: 8px; border-radius: 8px;
  border: 1px solid rgba(201, 43, 48, .25); background: rgba(201, 43, 48, .07);
  font-size: 13px; font-weight: 600; color: var(--gold);
}
.co-pix__timer svg { width: 16px; height: 16px; }
.co-pix__timer b { font-variant-numeric: tabular-nums; font-weight: 800; }
.co-pix__steps { display: grid; gap: 10px; margin: 18px 0 16px; list-style: none; text-align: left; }
.co-pix__steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; }
.co-pix__steps li > span {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 9999px;
  background: var(--gold); color: var(--gold-foreground);
  font-size: 12px; font-weight: 700;
}
.co-pix__code {
  display: block; width: 100%; margin-bottom: 12px; padding: 10px 12px;
  border: 2px dashed var(--border); border-radius: 8px;
  background: var(--surface); color: var(--foreground);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.45;
  word-break: break-all; resize: none; outline: none;
}
.co-pix__code:focus { border-color: var(--gold); }
.co-pix__qr { margin-top: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; text-align: center; }
.co-pix__qr summary {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  font-size: 13px; color: var(--muted-foreground);
  list-style: none; cursor: pointer;
}
.co-pix__qr summary::-webkit-details-marker { display: none; }
.co-pix__qr summary span { font-weight: 700; color: var(--gold); text-decoration: underline; }
.co-pix__qr[open] summary span { display: none; }
.co-pix__qr img { width: 220px; height: 220px; margin: 12px auto 8px; }
.co-pix__qr p { font-size: 12px; color: var(--muted-foreground); }
.co-pix__status {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 14px; padding: 10px; border-radius: 8px;
  background: var(--surface);
  font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted-foreground);
}
.co-pix__status.is-bad { background: #fff4f4; color: var(--destructive); }
.co-pix__status.is-bad .co-spin { display: none; }
.co-btn-outline {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; margin-top: 10px; padding: 8px 12px;
  border: 2px solid var(--border); border-radius: 8px;
  background: var(--card); color: var(--foreground);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: border-color .15s;
}
.co-btn-outline:hover { border-color: var(--muted-foreground); }
.co-pix__order {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  text-align: left;
}
.co-pix__order img {
  flex-shrink: 0; width: 56px; height: 56px;
  border: 1px solid var(--border); border-radius: 8px; object-fit: cover;
}

.co-done__order {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 14px; padding: 8px 14px; border-radius: 9999px;
  background: var(--surface); font-size: 13px; color: var(--muted-foreground);
}
.co-done__order b { font-weight: 700; color: var(--foreground); }
.co-timeline { display: grid; margin: 20px 0 18px; list-style: none; text-align: left; }
.co-timeline li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.co-timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px;
  width: 2px; background: var(--border);
}
.co-timeline__dot {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 9999px;
  border: 1px solid var(--border); background: var(--card); color: var(--muted-foreground);
}
.co-timeline__dot svg { width: 16px; height: 16px; }
.co-timeline li.is-done .co-timeline__dot { background: var(--co-green); border-color: var(--co-green); color: #fff; }
.co-timeline b { display: block; font-size: 14px; }
.co-timeline small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--muted-foreground); }
/* canais de atendimento na confirmação (company.email / company.whatsapp do config) */
.co-done__help { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted-foreground); }
.co-done__help a { font-weight: 600; color: var(--foreground); text-decoration: underline; text-underline-offset: 2px; }
.co-link-back {
  display: block; margin-top: 14px;
  font-size: 14px; font-weight: 600; color: var(--muted-foreground);
  text-decoration: underline; text-underline-offset: 2px;
}

/* ---------- rodapé resumido ---------- */
.co-footer { background: var(--muted); color: var(--muted-foreground); font-size: 12px; }
.co-footer__in {
  display: grid; justify-items: center; gap: 14px;
  max-width: var(--co-max); margin: 0 auto; padding: 28px 16px 18px;
  text-align: center;
}
.co-footer__brand img { width: 192px; height: 56px; margin: 0 auto 6px; object-fit: contain; }
.co-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.co-footer__nav a:hover { color: var(--foreground); }
.co-footer__company { font-size: 11px; line-height: 20px; }
.co-footer__contact a { text-decoration: underline; text-underline-offset: 2px; }
.co-footer__copy { padding: 16px; border-top: 1px solid var(--border); font-size: 11px; text-align: center; }

/* ---------- barra fixa (celular) ---------- */
.co-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  border-top: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
  opacity: 0; pointer-events: none;
  transform: translateY(100%);
  transition: transform .3s, opacity .3s;
}
.co-sticky.is-on { opacity: 1; pointer-events: auto; transform: none; }
.co-sticky__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 48rem; margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.co-sticky__price { display: flex; flex-direction: column; line-height: 1.15; }
.co-sticky__price s { font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
.co-sticky__price em { margin-right: 4px; font-size: 12px; font-style: normal; font-weight: 800; color: var(--gold); }
.co-sticky__price b { font-size: 22px; font-weight: 800; }
.co-sticky__price small { font-size: 11px; color: var(--muted-foreground); }
.co-sticky__btn {
  flex: 1; max-width: 220px; height: 44px; padding: 0 24px; /* h-11 px-6 */
  border-radius: var(--radius); /* rounded-lg */
  background: var(--whatsapp); color: var(--whatsapp-foreground);
  font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; transition: transform .15s, filter .15s;
}
.co-sticky__btn:hover { filter: brightness(1.1); }
.co-sticky__btn:active { transform: scale(.95); }
@media (min-width: 1024px) { .co-sticky { display: none; } }

.co-noscript { max-width: 32rem; margin: 24px auto; padding: 16px; text-align: center; font-size: 14px; }

/* celulares estreitos (até 374px) */
@media (max-width: 374px) {
  .co-pay__icon { display: none; }
  .co-item__img { width: 64px; height: 64px; }
  .co-secure span { display: none; }
  .co-seal { font-size: 10px; }
  .co-sticky__btn { padding: 0 12px; letter-spacing: .05em; }
}

@media (prefers-reduced-motion: reduce) {
  .co-rv__track, .co-rv__dot, .co-sticky, .co-cta { animation: none; transition: none; }
}
