/* =============================================
   COTAÇÃO GENTE SEGURADORA — STYLES v1.0.3
   ============================================= */


/* ── Sobrescreve margin-top do tema ────────────── */
.institutional-content__body .cotacao-multistep * + *,
.cotacao-multistep * + * {
  margin-top: 0 !important;
}

.cotacao-multistep {
  font-family: 'Ubuntu', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.cotacao-multistep .step-content[data-step="2"],
.cotacao-multistep .step-content[data-step="3"] {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Step Indicator ─────────────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.step-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d1d5db;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-check { display: none; }

.step-item.active .step-circle,
.step-item.done  .step-circle {
  background: #0ea5e9;
  color: #fff;
  box-shadow: none;
}

.step-item.done .step-number { display: none; }
.step-item.done .step-check  { display: block; }

.step-label {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
}

.step-item.active .step-label,
.step-item.done   .step-label {
  color: #0ea5e9;
  font-weight: 600;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #d1d5db;
  margin: 0 16px;
  max-width: 80px;
  transition: background 0.3s ease;
}

.step-line.done { background: #0ea5e9; }

/* ── Step Content ───────────────────────────── */
.step-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-content.active {
  display: block;
  animation: cotacao-fadein 0.3s ease forwards;
}

@keyframes cotacao-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Step Header ────────────────────────────── */
.step-header {
  text-align: center;
  margin-bottom: 36px;
}

.step-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.step-header p {
  color: #64748b;
  font-size: 15px;
}

/* ── Produtos Grid ──────────────────────────── */
.produtos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.produtos-grid .produto-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 180px;
}

.produto-card {
  position: relative;
  cursor: pointer;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: all 0.2s ease;
  overflow: visible;
}

.produto-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Oculta o item gerado pelo CF7 — usamos card-name manual */
.produto-card .wpcf7-list-item {
  display: none !important;
}

.produto-card .card-inner {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  box-sizing: border-box;
}

.produto-card .card-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.produto-card .card-icon img {
  filter: brightness(0) saturate(100%) invert(37%) sepia(100%) saturate(744%) hue-rotate(172deg) brightness(101%);
}

.produto-card .card-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.produto-card .card-name {
  font-size: 24px;
  font-weight: 700;
  color: #2A4581;
  line-height: 1.2;
  margin-bottom: 8px;
  text-align: left;
}

.produto-card .card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #181452;
  line-height: 1.4;
}

.produto-card .card-check {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0ea5e9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 10;
}

.produto-card:hover {
  border-color: #7dd3fc;
  box-shadow: 0 4px 16px rgba(14,165,233,.12);
}

.produto-card.selected {
  border-color: #0ea5e9;
  border-width: 2px;
  box-shadow: 0 0 0 1px #0ea5e9;
}

.produto-card.selected .card-check { display: flex; }

/* ── Form Card ──────────────────────────────── */
.form-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8edf2;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* ── Form Layout ────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full { grid-column: 1 / -1; }

.form-group label,
.label-preferencia {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  display: block;
}

.label-sub {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 14px;
  font-weight: 400;
}

.required { color: #ef4444; }

.cotacao-multistep input[type="text"],
.cotacao-multistep input[type="email"],
.cotacao-multistep input[type="tel"],
.cotacao-multistep textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Ubuntu', sans-serif;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color .2s;
  box-sizing: border-box;
}

.cotacao-multistep input[type="text"]::placeholder,
.cotacao-multistep input[type="email"]::placeholder,
.cotacao-multistep input[type="tel"]::placeholder,
.cotacao-multistep textarea::placeholder {
  color: #b0bec5;
}

.cotacao-multistep input:focus,
.cotacao-multistep textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  background: #fff;
}

/* ── Match Inteligente ──────────────────────── */


.match-inteligente {
  background: #C8F1FF;
  border-left: 4px solid #0ea5e9;
  padding: 14px 18px;
  border-radius: 0;
  font-size: 15px;
  color: #2A4581;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}

.cotacao-multistep .match-inteligente strong,
.institutional-content__body .cotacao-multistep .match-inteligente strong {
  color: #2A4581 !important;
}

/* ── CEP Feedback ───────────────────────────── */
.cep-loading {
  background: #f0f9ff;
  border-left: 4px solid #7dd3fc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #0369a1;
  margin-bottom: 20px;
}

.cep-error {
  background: #fff5f5;
  border-left: 4px solid #f87171;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #b91c1c;
  margin-bottom: 20px;
}

.cep-success {
  background: #f0fdf4;
  border-left: 4px solid #4ade80;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #166534;
  margin-bottom: 20px;
}

/* Debug — Cod. Pessoa (remover após validação) */
.cep-debug-corretor {
  display: inline-block;
  margin-top: 4px;
  background: #fefce8;
  border: 1px dashed #ca8a04;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  color: #854d0e;
}

.cep-debug-sem-corretor {
  background: #fff5f5;
  border-color: #f87171;
  color: #b91c1c;
}

/* ── Checkboxes ─────────────────────────────── */
.label-sub {
  font-size: 13px !important;
  color: #94a3b8 !important;
  margin: 2px 0 14px !important;
  font-weight: 400 !important;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkbox-group .wpcf7-form-control-wrap,
.checkbox-group .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.checkbox-group .wpcf7-list-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  line-height: 1.5;
}

.checkbox-group .wpcf7-list-item-label {
  font-size: 15px;
  color: #1e293b;
  font-weight: 500;
  cursor: pointer;
}

/* Checkbox customizado */
.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
  position: relative;
  transition: all 0.15s ease;
}

.checkbox-group input[type="checkbox"]:hover {
  border-color: #0ea5e9;
}

.checkbox-group input[type="checkbox"]:checked {
  background: #0ea5e9;
  border-color: #0ea5e9;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ── Resumo ─────────────────────────────────── */
.resumo-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.resumo-card h3 .resumo-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  color: #38bdf8;
  font-size: 13px;
  flex-shrink: 0;
  background: transparent;
}

.resumo-produto { margin-bottom: 20px; }

.resumo-produto > strong {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a5f;
  display: block;
  margin-bottom: 12px;
}

.resumo-produto-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #eff6ff;
  border-radius: 0 !important;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  max-width: 360px;
}

.resumo-produto-item img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(37%) sepia(100%) saturate(744%) hue-rotate(172deg) brightness(101%);
}

.resumo-card hr {
  border: none;
  border-top: 1px solid #e8edf2;
  margin: 20px 0;
}

.resumo-info > strong {
  font-size: 14px;
  font-weight: 700;
  color: #1e3a5f;
  display: block;
  margin-bottom: 16px;
}

.resumo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}

.resumo-grid small {
  font-size: 12px;
  color: #64748b;
  display: block;
  margin-bottom: 3px;
  font-weight: 400;
}

.resumo-grid p {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0;
}

.resumo-grid p.resumo-destaque {
  color: #0ea5e9;
  font-weight: 600;
}

/* Ícone pin no CEP */
.resumo-cep-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.resumo-cep-wrapper img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(37%) sepia(100%) saturate(744%) hue-rotate(172deg) brightness(101%);
}

/* ── Actions ────────────────────────────────── */
.step-actions        { display: flex; margin-top: 28px; }
.step-actions--right { justify-content: flex-end; }
.step-actions--split { justify-content: space-between; }

/* ── Buttons ────────────────────────────────── */
.btn-primary,
.cotacao-multistep input[type="submit"].btn-primary,
.cotacao-multistep button.btn-primary,
.cotacao-multistep .wpcf7-submit {
  background: #0ea5e9 !important;
  color: #fff !important;
  border: none !important;
  padding: 13px 32px !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background .2s;
  min-width: 180px;
}

.btn-primary:hover,
.cotacao-multistep .wpcf7-submit:hover {
  background: #0284c7 !important;
}

.btn-back {
  background: #fff;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.btn-back:hover { border-color: #94a3b8; color: #374151; }

/* ── Validation ─────────────────────────────── */
.cotacao-multistep .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

.cotacao-multistep .wpcf7-not-valid {
  border-color: #ef4444 !important;
}

/* ── Pop-up de confirmação ──────────────────── */
#cotacao-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

#cotacao-popup {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.15);
  font-family: 'Ubuntu', sans-serif;
}

#cotacao-popup .popup-icon { font-size: 48px; margin-bottom: 16px; }

#cotacao-popup h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

#cotacao-popup ul {
  list-style: none;
  padding: 14px 18px;
  margin: 0 0 18px;
  text-align: left;
  background: #f0f9ff;
  border-radius: 10px;
}

#cotacao-popup ul li { font-size: 14px; color: #1e293b; padding: 5px 0; }

#cotacao-popup p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
  line-height: 1.6;
}

#cotacao-popup .popup-obrigado {
  font-weight: 600;
  color: #0ea5e9;
  margin-bottom: 24px;
}

#cotacao-popup-ok { width: 100%; justify-content: center; }

/* ── Responsive ─────────────────────────────── */

/* Tablet: 2 colunas nos cards */
@media (max-width: 900px) {
  .produtos-grid .produto-card {
    flex: 0 0 calc(50% - 8px);
  }
}

/* Mobile */
@media (max-width: 600px) {

  /* Container geral */
  .cotacao-multistep {
    padding: 20px 16px;
  }

  .cotacao-multistep .step-content[data-step="2"],
  .cotacao-multistep .step-content[data-step="3"] {
    max-width: 100%;
  }

  /* Step indicator: só círculo + número, sem labels */
  .step-indicator {
    margin-bottom: 32px;
  }

  .step-label {
    display: none;
  }

  .step-line {
    max-width: 48px;
    margin: 0 8px;
  }

  /* Step header */
  .step-header {
    margin-bottom: 24px;
  }

  .step-header h2 {
    font-size: 22px;
  }

  .step-header p {
    font-size: 14px;
  }

  /* Cards: 1 coluna */
  .produtos-grid {
    gap: 12px;
  }
  .produtos-grid .produto-card {
    flex: 0 0 100%;
  }

  /* Card vertical no mobile — ícone, título e texto em linhas separadas */
  .produto-card .card-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px 20px;
    gap: 0;
    align-items: center;
  }

  .produto-card .card-icon {
    margin-bottom: 12px;
    flex-shrink: 0;
  }

  .produto-card .card-icon img {
    width: 52px;
    height: 52px;
  }

  .produto-card .card-name {
    font-size: 18px;
    margin-bottom: 6px;
    text-align: center;
  }

  .produto-card .card-desc {
    font-size: 14px;
    text-align: center;
  }

  /* Form card */
  .form-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  /* Form row: 1 coluna */
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Resumo grid: 1 coluna */
  .resumo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Produto item no resumo: largura total */
  .resumo-produto-item {
    max-width: 100%;
  }

  /* Resumo card título */
  .resumo-card h3 {
    font-size: 18px;
  }

  /* Botões de navegação mobile */
  .step-actions {
    flex-direction: row;
    gap: 10px;
  }

  .step-actions--split {
    flex-direction: row;
  }

  /* Zera min-width de todos os botões no mobile */
  .cotacao-multistep .btn-pill,
  .cotacao-multistep .btn-pill-outline,
  .cotacao-multistep .btn-primary,
  .cotacao-multistep .btn-back,
  .cotacao-multistep .wpcf7-submit {
    min-width: 0 !important;
    width: auto !important;
  }

  /* Passos 2 e 3: Voltar e Continuar/Enviar com mesma largura */
  .step-actions--split {
    display: flex;
    gap: 10px;
  }

  .step-actions--split > * {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    text-align: center;
    justify-content: center;
    padding: 13px 8px !important;
    font-size: 14px !important;
    box-sizing: border-box;
  }

  /* Passo 1: botão Continuar com metade da largura */
  .step-actions--right {
    justify-content: flex-end;
  }

  .step-actions--right > * {
    flex: 0 0 calc(50% - 5px) !important;
    min-width: 0 !important;
    text-align: center;
    justify-content: center;
    padding: 13px 8px !important;
    font-size: 14px !important;
  }
}

/* ── Pin no label do CEP (formulário) ────────── */
.campo-cep-wrapper {
  position: relative;
}

.campo-cep-label-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.campo-cep-label-icon img {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(37%) sepia(100%) saturate(744%) hue-rotate(172deg) brightness(101%);
}

/* ── Sobrescreve regras do tema no resumo ─────── */
.resumo-card .resumo-grid small,
.resumo-card .resumo-grid p,
.resumo-card .resumo-grid div {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

.resumo-card .resumo-grid small {
  font-size: 1rem !important;
  color: #64748b !important;
  font-weight: 400 !important;
  display: block !important;
  margin-bottom: 3px !important;
}

.resumo-card .resumo-grid p {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1e3a5f !important;
  margin: 0 !important;
}

.resumo-card .resumo-grid p.resumo-destaque {
  color: #1e3a5f !important;
  font-weight: 600 !important;
}

/* ── Submit alinhado à direita no step 3 ─────── */
.step-actions--split .wpcf7-submit,
.step-actions--split input[type="submit"] {
  margin-left: auto;
}



/* ── Botão pill (arredondado) ─────────────────── */
.btn-pill,
.btn-pill-outline {
  min-width: 180px;
  text-align: center;
  justify-content: center;
}

.btn-pill {
  border-radius: 50px !important;
  padding: 13px 32px !important;
  font-size: 14px !important;
  letter-spacing: 0.5px;
  font-weight: 700 !important;
  background: #0ea5e9 !important;
  min-width: 180px;
}
.btn-pill:hover {
  background: #0284c7 !important;
}

.btn-pill-outline {
  border-radius: 50px !important;
  padding: 13px 32px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  background: #fff !important;
  color: #374151 !important;
  border: none !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.btn-pill-outline:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: #1e293b !important;
}

/* ── Modal de sucesso ─────────────────────────── */
.cotacao-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cotacao-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

.cotacao-modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 440px;
  width: calc(100% - 40px);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  z-index: 1;
}

.cotacao-modal-box .cotacao-modal-titulo {
  font-size: 24px;
  font-weight: 700;
  color: #2A4581;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cotacao-modal-box .cotacao-modal-desc {
  font-size: 18px;
  font-weight: 400;
  color: #6B6B6B;
  line-height: 1.6;
  margin-bottom: 14px;
}

.cotacao-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 13px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cotacao-modal-fechar {
  margin-top: 8px;
  width: 100%;
}

/* ── CEP encontrado ───────────────────────────── */
.cep-found {
  margin-top: 8px;
  padding: 12px 16px;
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.cep-found-corretor {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  border: 1px dashed #f59e0b;
  border-radius: 4px;
  padding: 3px 10px;
}

/* ── Campos do formulário — padrão do site ────── */
.cotacao-multistep .wpcf7-form-control.wpcf7-text,
.cotacao-multistep .wpcf7-form-control.wpcf7-email,
.cotacao-multistep .wpcf7-form-control.wpcf7-tel,
.cotacao-multistep .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid #E3E3E3 !important;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text, #73737E);
  background: var(--white, #FFF);
  border-radius: 0;
  box-sizing: border-box;
}

.cotacao-multistep .wpcf7-form-control.wpcf7-text:focus,
.cotacao-multistep .wpcf7-form-control.wpcf7-email:focus,
.cotacao-multistep .wpcf7-form-control.wpcf7-tel:focus,
.cotacao-multistep .wpcf7-form-control.wpcf7-textarea:focus {
  border-color: #0ea5e9 !important;
  outline: none;
}

/* ── Espaçamento campos step 2 (sem form-card) ── */
.cotacao-multistep .step-content[data-step="2"] .form-group,
.cotacao-multistep .step-content[data-step="2"] .form-row {
  margin-bottom: 20px;
}





/* ── Oculta spinner do CF7 ───────────────────── */
.cotacao-multistep .wpcf7-spinner {
  display: none !important;
}

/* ── Textarea observações — sem fundo branco, altura menor ── */
.cotacao-multistep .wpcf7-form-control.wpcf7-textarea {
  background: transparent !important;
  height: 100px !important;
  min-height: 100px !important;
  resize: vertical;
}

/* ── Produto selecionado no step 2 — fundo branco ── */
.step2-produto-preview .resumo-produto-item,
.cotacao-multistep .step2-produto-preview .resumo-produto-item {
  background: #fff !important;
  border-radius: 0 !important;
}

/* ── Loading overlay ao enviar ───────────────── */
.cotacao-sending-overlay {
  position: fixed;
  inset: 0;
  background: rgba(240, 248, 255, 0.88);
  backdrop-filter: blur(3px);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: inherit;
}

.cotacao-sending-overlay p {
  font-size: 15px;
  font-weight: 600;
  color: #2A4581;
  margin: 0;
}

.cotacao-sending-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #bfdbfe;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: cotacao-spin 0.8s linear infinite;
}

@keyframes cotacao-spin {
  to { transform: rotate(360deg); }
}

/* ── Oculta mensagem de sucesso padrão do CF7 ── */
.cotacao-multistep .wpcf7-response-output {
  display: none !important;
}

/* ── Remove padding-bottom do tema nos cards de produto ── */
.cotacao-multistep .produto-card .card-name,
.cotacao-multistep .produto-card .card-desc {
  padding-bottom: 0 !important;
}

/* ── Checkboxes no mobile ─────────────────────── */
@media (max-width: 600px) {
  .checkbox-group .wpcf7-list-item {
    align-items: flex-start;
  }

  .checkbox-group input[type="checkbox"] {
    margin-top: 2px;
  }

  .checkbox-group .wpcf7-list-item-label {
    font-size: 14px !important;
    line-height: 1.4;
  }
}
