/*
  Checkout com visual parecido com companhias aéreas / OTAs:
  - Fundo claro
  - Cards brancos
  - Texto escuro (alta legibilidade)
*/
:root{
  --co-border: rgba(17, 24, 39, 0.12);
  --co-bg: #ffffff;
  --co-page: #f3f4f6;
  --co-text: rgba(17, 24, 39, 0.92);
  --co-muted: rgba(17, 24, 39, 0.70);
  --co-subtle: rgba(17, 24, 39, 0.55);
  /* Airline-ish blue (Azul/GOL/LATAM-friendly) */
  --co-primary: #076fe5;
  --co-primary-2: #0550ed;
}

body{
  background: var(--co-page) !important;
  color: var(--co-text) !important;
}

/* Garantia de contraste mesmo se alguma página herdar classes globais */
.co-hero, .co-hero *{ color: var(--co-text); }
.co-card, .co-card *{ color: var(--co-text); }
.co-sub, .co-muted, .co-opt small, .co-footnote{ color: var(--co-muted) !important; }
.co-card-head h1, .co-card-head h2, .co-card-head h3{ color: var(--co-text) !important; }

.co-hero{ padding: 22px 0 44px; }

.co-stepper{
  position: relative;
  display:flex;
  gap: 6px;
  align-items:center;
  margin: 8px 0 16px;
  flex-wrap:wrap;
  padding: 6px;
  border: 1px solid var(--co-border);
  background: var(--co-bg);
  border-radius: 16px;
}
.co-step{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  color: var(--co-text);
  flex: 1 1 160px;
  min-width: 180px;
  cursor: pointer;
}
.co-step:hover{ background: rgba(17, 24, 39, 0.03); }
.co-step.is-active:hover{ background: rgba(0,87,255,0.08); }
.co-step-dot{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid var(--co-border);
  background: rgba(17, 24, 39, 0.04);
  font-weight: 700;
}
.co-step-label{ font-weight: 700; }
.co-step:not(.is-active) .co-step-label{ color: var(--co-muted); }
.co-step.is-active{
  border-color: rgba(0,87,255,0.35);
  background: rgba(0,87,255,0.06);
  box-shadow: 0 0 0 3px rgba(0,87,255,0.10);
}
.co-step.is-active .co-step-dot{
  border-color: rgba(0,87,255,0.60);
  background: rgba(0,87,255,0.10);
}

.co-layout{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items:start;
}

.co-main{ min-width: 0; }
.co-aside{ position: sticky; top: 84px; }

.co-card{
  border: 1px solid var(--co-border);
  background: var(--co-bg);
  border-radius: 18px;
  padding: 14px;
}
.co-card + .co-card{ margin-top: 14px; }

.co-card-head h2{ margin: 0 0 4px; font-size: 18px; }
.co-sub{ margin: 0; color: var(--co-muted); font-size: 13px; }

.co-status{ color: var(--co-muted); padding: 12px 6px; }

.co-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.co-options{ display:grid; gap: 10px; margin-top: 12px; }
.co-opt{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border: 1px solid var(--co-border);
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.03);
}
.co-opt-row{ align-items:center; }
.co-opt-left{ display:flex; flex-direction:column; gap:2px; min-width: 0; }
.co-opt-right{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.co-select{
  width: 180px;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--co-border);
  background: #fff;
  color: var(--co-text);
}
.co-opt-price{ font-weight: 750; }

/* Inputs com cara de checkout (sem depender de home.css) */
.co-card .field label{
  color: var(--co-subtle);
  font-weight: 600;
}
.co-card .field input,
.co-card .field textarea,
.co-card .field select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--co-border);
  background: #fff;
  color: var(--co-text);
}
.co-card .field textarea{ padding: 12px 12px; }
.co-card .field input::placeholder,
.co-card .field textarea::placeholder{ color: rgba(17, 24, 39, 0.45); }
.co-card .field input:focus,
.co-card .field textarea:focus,
.co-card .field select:focus{
  border-color: rgba(59,130,246,0.55);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
  outline: none;
}
.co-opt input{ margin-top: 3px; }
.co-opt small{ display:block; color: var(--co-muted); margin-top: 2px; }

/* Informações adicionais (mais bonito / menos "form cru") */
.co-notes{
  border: 1px dashed rgba(148,163,184,0.65);
  background: rgba(248,250,252,0.85);
  border-radius: 18px;
  padding: 14px;
}
.co-notes label{
  display:block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: .2px;
}
.co-notes textarea{
  min-height: 92px;
  background: #fff;
}

.co-actions{ display:flex; gap: 10px; justify-content:flex-end; margin-top: 14px; }
.co-actions .btn{ white-space:nowrap; }

/* Botões do checkout: seguir o padrão Trajet (menos "azul chapado") */
.co-hero .btn.btn-primary,
.co-hero .btn-primary{
  background: linear-gradient(180deg,
    rgba(200,232,255,0.95) 0%,
    rgba(122,184,229,0.98) 28%,
    rgba(7,111,229,0.92) 100%
  ) !important;
  border: 1px solid rgba(7,111,229,0.22) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(15,23,42,.10) !important;
}
.co-hero .btn.btn-primary:hover,
.co-hero .btn-primary:hover{
  filter: brightness(0.995) !important;
  box-shadow: 0 10px 20px rgba(15,23,42,.14) !important;
}
.co-hero .btn.btn-outline,
.co-hero .btn-outline{
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(7,111,229,0.20) !important;
  color: rgba(11,59,102,0.98) !important;
}
.co-hero .btn.btn-outline:hover,
.co-hero .btn-outline:hover{
  background: rgba(7,111,229,0.08) !important;
}

.co-summary .co-sum-title{ font-weight: 750; margin-bottom: 8px; }
.co-sum-route{ font-weight: 700; line-height: 1.25; }
.co-sum-times{ margin-top: 8px; color: var(--co-muted); font-size: 13px; }
.co-sum-meta{ margin-top: 10px; display:flex; gap:8px; flex-wrap:wrap; }
.co-chip{ font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--co-border); background: rgba(17, 24, 39, 0.03); color: var(--co-text); }
.co-sum-segs{ margin-top: 12px; display:grid; gap: 10px; }
.co-seg{ border: 1px solid var(--co-border); background: rgba(17, 24, 39, 0.02); border-radius: 14px; padding: 10px 12px; }
.co-seg-top{ display:flex; justify-content:space-between; gap: 10px; align-items:flex-start; flex-wrap:wrap; }
.co-seg-air{ display:flex; align-items:center; gap: 8px; min-width:0; }
.co-seg-air img{ width: 18px; height: 18px; object-fit: contain; }
.co-seg-air strong{ font-size: 13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width: 100%; }
.co-seg-time{ font-size: 12px; color: var(--co-muted); white-space:nowrap; margin-left:auto; }
.co-seg-route{ margin-top: 6px; font-size: 12px; color: var(--co-muted); }
.co-sum-row{ display:flex; justify-content:space-between; align-items:center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--co-border); }
.co-sum-row span{ font-size: 13px; color: var(--co-muted); }
.co-sum-row strong{ font-size: 18px; letter-spacing: -0.01em; }

/* Hierarquia: Provedor / Trajet / Total geral */
.co-sum-row.co-sum-row-sub{ margin-top: 10px; padding-top: 10px; }
.co-sum-row.co-sum-row-sub strong{ font-size: 16px; }
.co-sum-row.co-sum-row-total{ border-top-style: solid; }
.co-sum-row.co-sum-row-total span{ color: var(--co-text); font-weight: 700; }
.co-sum-row.co-sum-row-total strong{ font-size: 20px; }
.co-sum-badges{ margin-top: 10px; display:flex; gap:8px; flex-wrap:wrap; }
.co-badge{ font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--co-border); color: var(--co-text); background: rgba(17, 24, 39, 0.03); }

.co-review{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.co-review h3{ margin: 0 0 8px; font-size: 14px; }
.co-kv{ color: var(--co-text); font-size: 13px; line-height: 1.35; }
.co-footnote{ margin-top: 10px; font-size: 12px; color: var(--co-muted); }

/* Resumo: tipografia um pouco maior para "adicionais" */
/* Linhas de horário mais legíveis */
.co-sum-times{ display:grid; gap: 6px; }
.co-time-row{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.co-time-tag{ font-size: 11px; font-weight: 750; letter-spacing: .02em; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--co-border); background: rgba(17, 24, 39, 0.03); }
.co-time-val{ font-size: 13px; color: var(--co-muted); white-space:nowrap; }

@media (max-width: 760px){
  .co-layout{ grid-template-columns: 1fr; }
  .co-aside{ position: static; }
  .co-grid{ grid-template-columns: 1fr; }
  .co-review{ grid-template-columns: 1fr; }
}


.co-opt-check{ align-items:center; }
.co-opt-price-mini{ margin-left:auto; font-weight: 750; color: var(--co-text); white-space:nowrap; }

/* Resumo: nunca deixar "vazar" */
.co-summary{ overflow: hidden; }
.co-summary *{ box-sizing: border-box; overflow-wrap: anywhere; }

/* === Checkout polish (Resumo + Revisão) === */
.co-sum-segs{ max-width: 100%; overflow: hidden; }
.co-seg{ max-width: 100%; box-sizing: border-box; }
.co-seg-air strong{ white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.co-sum-row-main span{ font-weight: 700; color: var(--co-text); }
.co-sum-row-main strong{ font-size: 22px; }

/* Breakdown / opções mais legíveis */
.co-kv{ font-size: 14px; line-height: 1.5; }

/* Revisão: lista de adicionais */
.rv-list{ display: grid; gap: 10px; }
.rv-item{ display:flex; align-items:flex-start; justify-content:space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--co-border); border-radius: 14px; background: rgba(17,24,39,.02); }
.rv-left{ min-width: 0; }
.rv-title{ font-weight: 700; color: var(--co-text); }
.rv-sub{ margin-top: 2px; color: var(--co-muted); font-size: 13px; }
.rv-price{ font-weight: 750; white-space: nowrap; }
.rv-empty{ color: var(--co-muted); font-size: 14px; }


/* === Visual upgrade: premium, clean, airline-grade === */
body{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(0,87,255,0.10), rgba(255,255,255,0) 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(0,87,255,0.06), rgba(255,255,255,0) 55%),
              var(--co-page) !important;
}

.co-card{
  border: 1px solid rgba(17, 24, 39, 0.10);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.co-stepper{
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.co-step.is-active{
  box-shadow: 0 10px 24px rgba(0,87,255,0.14);
}

.co-summary{
  border-radius: 18px;
}

.co-sum-row-main span{ font-weight: 750; color: var(--co-text); }
.co-sum-row-main strong{ letter-spacing: -0.02em; }

/* Review add-ons: icons + tags */
.rv-item{ position: relative; }
.rv-ico{
  width: 34px; height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(0,87,255,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 34px;
}
.rv-item[data-type="bag"] .rv-ico::before{ content:"🧳"; }
.rv-item[data-type="seat"] .rv-ico::before{ content:"💺"; }
.rv-item[data-type="ins"] .rv-ico::before{ content:"🛡️"; }
.rv-item[data-type="flex"] .rv-ico::before{ content:"🔁"; }
.rv-item[data-type="note"] .rv-ico::before{ content:"📝"; }

.rv-tag{
  display:inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(17,24,39,0.03);
  color: var(--co-text);
  vertical-align: middle;
}

/* Action bar polish */
.co-actions .btn-primary{
  box-shadow: 0 10px 22px rgba(15,23,42,.14);
}
.co-actions .btn-primary:hover{
  transform: translateY(-1px);
}
.co-actions .btn{
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}


/* === Trajet polish v2 === */

/* Fundo com profundidade (sem perder identidade airline) */
body{
  background: radial-gradient(1100px 600px at 15% -10%, rgba(7,111,229,0.10), transparent 60%),
              radial-gradient(900px 500px at 100% 0%, rgba(122,184,229,0.12), transparent 55%),
              var(--co-page) !important;
}

/* Cards mais premium */
.co-card{
  border: 1px solid rgba(17,24,39,0.10) !important;
  box-shadow: 0 10px 28px rgba(17,24,39,0.08);
}
.co-card:hover{ box-shadow: 0 14px 36px rgba(17,24,39,0.10); }

/* Stepper com sensação de progresso */
.co-stepper{
  box-shadow: 0 10px 22px rgba(17,24,39,0.06);
}
.co-step{
  transition: background .18s ease, transform .18s ease;
}
.co-step:active{ transform: scale(0.99); }
.co-step.is-active{
  box-shadow: inset 0 0 0 1px rgba(0,87,255,0.20);
}

/* Resumo: hierarquia mais forte */
.co-sum-row-main span{ color: var(--co-text); font-weight: 750; }
.co-sum-row-main strong{ letter-spacing: -0.02em; }

/* Revisão: itens com ícone */
.rv-item{ position: relative; }
.rv-ico{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(17,24,39,0.03);
  flex: 0 0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top: 2px;
}
.rv-item[data-type="bag"] .rv-ico:before{ content: "🧳"; }
.rv-item[data-type="seat"] .rv-ico:before{ content: "💺"; }
.rv-item[data-type="ins"]  .rv-ico:before{ content: "🛡️"; }
.rv-item[data-type="flex"] .rv-ico:before{ content: "⏳"; }
.rv-item[data-type="note"] .rv-ico:before{ content: "📝"; }

.rv-tag{
  display:inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.14);
  background: rgba(17,24,39,0.03);
  color: var(--co-text);
  vertical-align: middle;
}

/* CTA mais "purchase-ready" */
.btn.btn-primary.btn-lg{
  box-shadow: 0 14px 30px rgba(0,87,255,0.22) !important;
}
.btn.btn-primary.btn-lg:hover{
  box-shadow: 0 16px 34px rgba(0,87,255,0.28) !important;
}

/* ============================
   Auth gate (email -> login/cadastro) - v67
   ============================ */
.co-auth{
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.92));
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.co-auth-row{
  display:flex;
  align-items:flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.co-auth .field label{ font-weight: 750; letter-spacing: .02em; }
.co-auth .field input{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.98);
}
.co-auth .field input:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.co-auth-box{
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
}
.co-auth-title{
  font-weight: 750;
  letter-spacing: -.02em;
  display:flex;
  align-items:center;
  gap: 8px;
}
.co-auth-title:before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

/* Signup form visual (inspirado no layout enviado) */
.co-auth-signup{
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(2,6,23,.08);
}
.co-auth-signup .co-auth-title{
  font-size: 16px;
  color: #1f2937;
  font-weight: 650;
  letter-spacing: -1px;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 22px;
  gap: 10px;
}

/* Texto auxiliar do cadastro (mais compacto) */
.co-auth-signup .co-muted{
  font-size: 0.92rem;
  line-height: 1.35;
}

/* Grupo PF/PJ mais discreto */
.co-auth-signup .co-auth-type{
  margin-top: 8px !important;
  gap: 10px !important;
}
.co-auth-signup .co-auth-title:before,
.co-auth-signup .co-auth-title:after{
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2563eb;
}
.co-auth-signup .co-auth-title:before{ width: 18px; height: 18px; opacity: .9; }
.co-auth-signup .co-auth-title:after{ width: 18px; height: 18px; animation: coPulse 1s linear infinite; }

.co-signup-form{
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
}

@keyframes coPulse{
  from{ transform: translateY(-50%) scale(.9); opacity: 1; }
  to{ transform: translateY(-50%) scale(1.8); opacity: 0; }
}

/* Checkboxes (sem “caixa” ao redor, alinhados e limpos) */
.co-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding: 2px 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.co-check input{
  accent-color: #2563eb;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}
.co-check span{ line-height: 1.25; }

/* Checkbox estilizado (inspirado no exemplo enviado) */
.co-auth-signup .co-check2{ padding: 0; border: 0; background: transparent; }
.co-auth-signup .cntr{
  display:flex;
  align-items:flex-start;
  gap:10px;
  user-select:none;
}
.co-auth-signup .hidden-xs-up{ display:none !important; }
.co-auth-signup .cbx{
  position: relative;
  top: 1px;
  width: 22px;
  height: 22px;
  border: 1px solid #c8ccd4;
  border-radius: 3px;
  vertical-align: middle;
  transition: background 0.1s ease;
  cursor: pointer;
  display: block;
  flex: 0 0 auto;
}
.co-auth-signup .cbx:after{
  content: '';
  position: absolute;
  top: 1px;
  left: 6px;
  width: 6px;
  height: 12px;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transition: all 0.3s ease;
  transition-delay: 0.15s;
}
.co-auth-signup .lbl{
  margin-left: 0;
  vertical-align: middle;
  cursor: pointer;
  line-height: 1.25;
}
.co-auth-signup input.hidden-xs-up:checked + .cbx{
  border-color: transparent;
  background: #6871f1;
  animation: jelly 0.6s ease;
}
.co-auth-signup input.hidden-xs-up:checked + .cbx:after{
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
@keyframes jelly{
  from{ transform: scale(1, 1); }
  30%{ transform: scale(1.25, 0.75); }
  40%{ transform: scale(0.75, 1.25); }
  50%{ transform: scale(1.15, 0.85); }
  65%{ transform: scale(0.95, 1.05); }
  75%{ transform: scale(1.05, 0.95); }
  to{ transform: scale(1, 1); }
}

/* Observações / Informações adicionais */
.co-notes textarea{
  min-height: 110px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.96);
  padding: 12px 12px;
  line-height: 1.4;
  font-weight: 650;
}
.co-notes textarea:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

/* Coolinput style (Cadastro + Viajantes) — sem fundo roxo e com label flutuante */
.co-coolinputs .coolinput{
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  /* não limitar largura; o grid controla */
  max-width: none;
  padding-top: 6px;
}
.co-coolinputs label.text{
  font-size: 0.78rem;
  color: rgba(100,116,139,.92);
  font-weight: 750;
  position: absolute;
  left: 12px;
  top: 14px;
  margin: 0;
  padding: 0 4px;
  /* fundo para não “cortar” visualmente quando fica sobre o campo */
  background: rgba(255,255,255,.96);
  width: fit-content;
  pointer-events: none;
  transition: .18s ease;
}
.co-coolinputs input.input,
.co-coolinputs select.input{
  width: 100%;
  /* padding-top maior evita sobreposição do texto com a label */
  padding: 18px 12px 10px 12px;
  font-size: 0.9rem;
  border: 1px solid rgba(105,105,105,.30);
  border-radius: 12px;
  background: transparent; /* sem fundo roxo */
  transition: .18s ease;
}

/* Selects precisam de altura/linha para não “cortar” o texto */
.co-coolinputs select.input{
  /* Mantém o mesmo padding do input para alinhar com a label flutuante */
  line-height: 1.2;
  height: 48px !important;
}

/* Evita sobreposição do placeholder com label flutuante */
.co-coolinputs input.input::placeholder{
  color: transparent;
}
/* Mantém placeholder oculto mesmo no foco (evita conflito visual com a label) */
.co-coolinputs input.input:focus::placeholder{ color: transparent; }
.co-coolinputs input.input:focus,
.co-coolinputs select.input:focus{
  outline: none;
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

/* Label flutuante: sobe no foco ou quando tem valor */
.co-coolinputs .coolinput:focus-within label.text,
.co-coolinputs .coolinput.is-filled label.text{
  top: 6px;
  font-size: 0.72rem;
  font-weight: 750;
  color: #2563eb;
}

/* Selects: quando ainda está vazio ("Selecione"), manter a cor do label neutra */
.co-coolinputs .coolinput.is-select:not(.is-has-value):not(:focus-within) label.text{
  color: rgba(100,116,139,.92);
}
.co-coolinputs .coolinput.is-valid label.text{
  /* Não “pinta de verde” o label (fica estranho, especialmente em select) */
  color: #2563eb;
}

@media (max-width: 640px){
  .co-coolinputs{ grid-template-columns: 1fr; }
  .co-coolinputs .coolinput{ max-width: 100%; }
}


/* Cadastro PF/PJ radios */
.co-radio{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid rgba(148,163,184,.55);
  border-radius:12px;
  background: rgba(255,255,255,.6);
  cursor:pointer;
}
.co-radio input{
  accent-color:#818CF8;
}
.co-radio span{ font-size: 0.95rem; }


/* === Add-on switches (Opções) === */
.co-opt-check{ align-items:center; cursor:pointer; user-select:none; }
.co-opt-check:focus-visible{ outline: 3px solid rgba(37,99,235,.25); outline-offset: 2px; }
.co-opt-check .co-opt-left{ gap: 3px; }
.co-opt-title{ font-weight: 650; color: var(--co-text); }
.co-opt-price-mini{ font-weight: 700; }

/* Apple-like toggle (scoped to checkout add-ons) */
#stepAddons .checkbox-apple{
  position: relative;
  width: 50px;
  height: 25px;
  flex: 0 0 auto;
  margin-right: 6px;
}
#stepAddons .checkbox-apple input[type="checkbox"]{ display:none; }
#stepAddons .checkbox-apple label{
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 25px;
  border-radius: 50px;
  background: linear-gradient(to bottom, #b3b3b3, #e6e6e6);
  cursor: pointer;
  transition: all 0.3s ease;
}
#stepAddons .checkbox-apple label:after{
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
#stepAddons .checkbox-apple input[type="checkbox"]:checked + label{
  background: linear-gradient(to bottom, #4cd964, #5de24e);
}
#stepAddons .checkbox-apple input[type="checkbox"]:checked + label:after{
  transform: translateX(25px);
}
#stepAddons .checkbox-apple input[type="checkbox"]:active + label:after{ width: 28px; }
#stepAddons .checkbox-apple input[type="checkbox"]:checked:active + label:after{ transform: translateX(21px); }

#stepAddons .yep{
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 25px;
}

/* Bagagem: separação melhor entre incluído x adicional */
.co-bag-head{ display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; margin-bottom: 10px; }
.co-bag-kicker{ font-weight: 700; color: var(--co-text); }
.co-bag-sub{ font-size: 13px; color: var(--co-subtle); line-height: 1.35; }


/* === Revisão (cards) === */
.co-review{ gap: 12px; }
.co-review-card{
  border: 1px solid var(--co-border);
  background: rgba(248,250,252,0.75);
  border-radius: 16px;
  padding: 12px;
}

/* Cards clicáveis (voltar para editar) */
.co-review-card.co-review-clickable{
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.co-review-card.co-review-clickable:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 20px -14px rgba(0,0,0,.25);
  border-color: rgba(0,73,144,.35);
}
.co-review-card.co-review-clickable:focus-visible{
  outline: 3px solid rgba(0,112,214,.25);
  outline-offset: 2px;
}
.co-review-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.co-review-head h3{
  margin: 0;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--co-subtle);
}
.co-review-pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--co-border);
  background: #fff;
  color: var(--co-text);
  white-space: nowrap;
}


/* === Revisão: ícones dos itens === */
.rv-item{ align-items:center; }
.rv-ico{
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(0,87,255,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.rv-ico::before{ content:"✓"; font-size: 16px; }
.rv-item[data-type="bag"] .rv-ico::before{ content:"🧳"; }
.rv-item[data-type="seat"] .rv-ico::before{ content:"💺"; }
.rv-item[data-type="ins"] .rv-ico::before{ content:"🛡️"; }
.rv-item[data-type="flex"] .rv-ico::before{ content:"🔁"; }
.rv-item[data-type="note"] .rv-ico::before{ content:"📝"; }

/* === KV polish === */
.co-kv > div{ margin: 6px 0; }
.co-kv > div strong{ font-weight: 750; }

/* === Bagagem: seletor de quantidade (select bonito) === */
#stepAddons .co-bag-extra{ margin-bottom: 10px; }
#stepAddons .co-bag-select{
  position: relative;
  margin-top: 10px;
}
#stepAddons .co-bag-select .co-select{
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--co-border);
  border-radius: 14px;
  background: #fff;
  padding: 12px 44px 12px 14px;
  font-size: 14px;
  font-weight: 650;
  color: var(--co-text);
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#stepAddons .co-bag-select .co-select:hover{
  border-color: rgba(0,87,255,0.28);
}
#stepAddons .co-bag-select .co-select:focus{
  outline: none;
  border-color: rgba(0,87,255,0.55);
  box-shadow: 0 0 0 4px rgba(0,87,255,0.12), 0 12px 28px rgba(15,23,42,0.08);
}
#stepAddons .co-bag-select .co-select:disabled{
  opacity: .65;
  background: rgba(248,250,252,0.9);
  box-shadow: none;
}
#stepAddons .co-bag-select .co-select-chevron{
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(15,23,42,0.55);
  font-size: 14px;
}
#stepAddons .co-bag-hint{
  margin-top: 6px;
  font-size: 13px;
  color: var(--co-muted);
}
#stepAddons .co-bag-hold{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--co-border);
  background: rgba(248,250,252,0.75);
  font-size: 13px;
  color: var(--co-text);
}
#stepAddons .co-bag-col .co-opt-price-mini{ white-space: nowrap; }
#stepAddons .co-bag-col{ min-width: 0; }

/* Bagagem extra (escopo addons) */
#stepAddons .co-bag-extra{flex-wrap:wrap;}
#stepAddons .co-bag-extra .co-bag-extra-body{width:100%; padding-left:54px; padding-top:10px;}
#stepAddons .co-bag-extra input#bagQtySelect, #stepAddons .co-bag-extra select#bagQtySelect{max-width:320px;}
#stepAddons .co-bag-extra .co-bag-hint{margin-top:8px;}
#stepAddons .co-bag-extra .co-bag-hold{margin-top:10px;}
#stepAddons .co-bag-extra .co-bag-extra-body.is-disabled{opacity:.65; pointer-events:none;}

/* Forma de pagamento (review) */
.co-paymethod{display:flex; flex-direction:column; gap:10px;}
.co-payopt{display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid var(--co-border); border-radius:14px; background: rgba(248,250,252,0.65); cursor:pointer;}
.co-payopt input{margin-top:3px;}
.co-payopt strong{display:block; font-size:14px; color:var(--co-text);}
.co-payopt small{display:block; margin-top:2px; font-size:12.5px; color:var(--co-muted); line-height:1.25;}
.co-payinst{margin-top:6px; padding:12px 12px; border-radius:16px; border:1px dashed var(--co-border); background: rgba(255,255,255,0.7);}
.co-payinst-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:10px;}
.co-payinst-title{font-weight: 700; font-size:14px; color:var(--co-text);}
.co-payinst-summary{font-size:13px; color:var(--co-muted); white-space:nowrap;}
.co-inst-line{font-weight: 750;color:var(--co-text);}
.co-inst-money{font-weight: 750;color:var(--co-primary);}
.co-inst-tax{font-size:12px;color:var(--co-muted);font-weight: 700;}

/* Resumo lateral: destaque para valor por parcela */
.co-inst-n{font-weight: 750;color:var(--co-text);}
.co-inst-val{font-weight: 750;color:var(--co-primary);}
.co-payinst-buttons{display:flex; flex-wrap:wrap; gap:8px;}
.co-pill{appearance:none; border:1px solid var(--co-border); background:#fff; border-radius:999px; padding:8px 12px; font-weight: 700; font-size:13px; cursor:pointer; line-height:1;}
.co-pill:hover{background:rgba(0,0,0,0.03);}
.co-pill.is-active{border-color:var(--co-primary); box-shadow:0 0 0 3px rgba(122,184,229,0.35);}
