/* ========================================================
   CALENDÁRIO 2027 - ASSOCIAÇÃO CULTURAL NOSSA SENHORA DE FÁTIMA
   ESTILO EXCLUSIVO MOBILE (MOBILE-FIRST / MOBILE-ONLY)
   ======================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #eef2f6; /* Fundo suave neutro ao redor em desktop */
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #333333;
  line-height: 1.55;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #eef2f6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================================
   CONTAINER DO APLICATIVO MOBILE
   ======================================================== */
.mobile-wrapper {
  width: 100%;
  max-width: 480px; /* Largura padrão ideal para visualização mobile */
  margin: 0 auto;
  min-height: 100vh;
  background-color: #ffffff;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  html, body {
    background-color: #ffffff;
  }
  .mobile-wrapper {
    max-width: 100%;
    box-shadow: none;
  }
}

/* ========================================================
   1. CABEÇALHO & LOGO ULTRA NÍTIDO
   ======================================================== */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.header-container {
  width: 100%;
  padding: 16px 14px 12px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-link {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:active {
  opacity: 0.85;
}

/* Logo Oficial com Alta Resolução / Nitidez Retina */
.logo-image {
  max-width: 330px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Barra de Navegação Azul Marinho Mobile */
.main-navbar {
  background-color: #003366; /* Azul oficial da associação */
  width: 100%;
  position: relative;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 46px;
  position: relative;
}

.nav-brand-title {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Botão Hamburger */
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  outline: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Menu Gaveta Dropdown Mobile */
.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  background-color: #002244;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu.open {
  display: flex;
  animation: slideDownMenu 0.25s ease-out;
}

@keyframes slideDownMenu {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-item {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-link:active {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
  list-style: none;
  background-color: rgba(0, 0, 0, 0.25);
  display: none;
  padding: 4px 0;
}

.nav-item.has-dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px 10px 32px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12.5px;
}

/* ========================================================
   2. CONTEÚDO PRINCIPAL (CARD DO FORMULÁRIO MOBILE)
   ======================================================== */
.main-content {
  flex: 1;
  padding: 20px 14px 34px 14px;
  background-color: #f7f9fc;
}

.content-container {
  width: 100%;
}

/* Card Branco Estilo Mobile */
.form-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 26px 18px;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  color: #164e87; /* Azul Nobre Oficial */
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card-subtitle {
  color: #555555;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto;
}

/* Tracinho Azul Divisor Central */
.accent-bar {
  width: 44px;
  height: 3.5px;
  background-color: #2a6496;
  border-radius: 3px;
  margin: 16px auto 22px auto;
}

/* Formulário Mobile */
.step-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.form-label .req {
  color: #dc2626;
}

/* Inputs de Texto Otimizados para Mobile (16px evita zoom automático no iOS) */
.form-control {
  width: 100%;
  height: 50px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 16px; /* Essencial para UX mobile */
  color: #1f2937;
  background-color: #ffffff;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-control::placeholder {
  color: #9ca3af;
  font-weight: 400;
  font-size: 15px;
}

.form-control:focus {
  border-color: #164e87;
  box-shadow: 0 0 0 3px rgba(22, 78, 135, 0.12);
}

/* Estado de Erro Fiel à Referência */
.form-group.has-error .form-control {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.08) !important;
}

.helper-text {
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.3;
}

.helper-text.error-text {
  color: #b91c1c;
  display: none;
}

.form-group.has-error .helper-text.error-text {
  display: block;
  animation: fadeInError 0.2s ease-in-out;
}

@keyframes fadeInError {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Botão Continuar */
.btn-submit {
  width: 100%;
  height: 52px;
  background-color: #164e87;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(22, 78, 135, 0.28);
  -webkit-tap-highlight-color: transparent;
}

.btn-submit:active {
  transform: scale(0.98);
  background-color: #0f3e6e;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ========================================================
   3. RODAPÉ INSTITUCIONAL MOBILE
   ======================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 30px 16px 24px 16px;
  width: 100%;
}

.footer-top-section {
  text-align: center;
  margin-bottom: 24px;
}

.footer-logo-wrapper {
  margin-bottom: 16px;
}

.footer-logo-image {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: inline-block;
  object-fit: contain;
}

/* Links Centrais do Footer */
.footer-subnav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.footer-subnav a {
  color: #64748b;
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.footer-subnav a:hover,
.footer-subnav a:active {
  color: #164e87;
}

/* Seções Compactas do Rodapé em Mobile */
.footer-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0 16px 0;
  border-top: 1px solid #f1f5f9;
}

.footer-block-about {
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e2e8f0;
}

.about-text {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 6px;
}

.address-box {
  font-style: normal;
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.4;
}

.address-box a {
  color: #164e87;
  text-decoration: none;
  font-weight: 500;
}

/* Grid 2 Colunas Compacto para Links do Rodapé */
.footer-grid-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.col-title {
  font-family: 'Montserrat', sans-serif;
  color: #b8903c; /* Dourado Nobre */
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.col-title.extra-top {
  margin-top: 8px;
}

.col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.col-links li a {
  color: #64748b;
  text-decoration: none;
  font-size: 10.5px;
  line-height: 1.35;
  display: inline-block;
  transition: color 0.15s ease;
}

.col-links li a:active {
  color: #164e87;
}

/* ========================================================
   4. SELOS DE SEGURANÇA E TRANSPARÊNCIA (MOBILE)
   ======================================================== */
.footer-trust-section {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

/* Cartões ReclameAQUI e Google Safe Browsing */
.trust-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.trust-badge:active {
  transform: scale(0.99);
}

/* ReclameAQUI */
.badge-reclameaqui {
  background-color: #154231;
  color: #ffffff;
  border: 1px solid #133c2d;
}

.badge-reclameaqui .badge-subtitle {
  color: #86efac;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: block;
}

.badge-reclameaqui .badge-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

.badge-reclameaqui .brand-green {
  color: #22c55e;
}

.badge-reclameaqui .badge-link {
  color: #d1d5db;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

/* Google Safe Browsing */
.badge-google {
  background-color: #faf5eb;
  border: 1.5px solid #d4c29d;
  color: #262626;
}

.badge-google .badge-subtitle {
  color: #927238;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: block;
}

.badge-google .badge-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1f2937;
  display: block;
  line-height: 1.2;
}

.badge-google .sub-google {
  font-weight: 500;
  font-size: 15px;
  color: #4b5563;
}

.badge-google .badge-link {
  color: #4b5563;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.arrow-diag {
  font-size: 11px;
}

/* Linha HTTPS */
.https-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  background-color: #faf8f5;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #efe8db;
}

.https-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.4px;
}

.https-desc {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.4;
}

/* Redes Sociais */
.social-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
}

.social-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #18181b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.social-btn:active {
  transform: scale(0.92);
  background-color: #003366;
}

/* Linha Divisória */
.footer-divider {
  border: none;
  border-top: 1px solid #927238;
  opacity: 0.35;
  margin: 16px 0;
}

/* Copyright Mobile */
.footer-copyright-box {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  padding: 0 4px;
}

.copyright-main {
  margin-bottom: 4px;
}

.copyright-sub {
  color: #94a3b8;
}

/* Botão Flutuante Voltar ao Topo */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background-color: #002b49;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top:active {
  transform: scale(0.92);
  background-color: #00192e;
}

/* ========================================================
   5. ESTILOS EXCLUSIVOS DA PÁGINA 2 (ENDEREÇO)
   ======================================================== */
.text-uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

/* Linha 1: CEP, Nº casa e Sem número */
.form-row-cep-numero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.15fr;
  gap: 8px;
  align-items: flex-start;
}

.group-sem-numero {
  display: flex;
  flex-direction: column;
}

.label-spacer {
  visibility: hidden;
  user-select: none;
}

/* Card Checkbox Sem Número */
.checkbox-card {
  height: 50px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  box-sizing: border-box;
}

.checkbox-card:hover {
  border-color: #9ca3af;
}

.checkbox-card.checked {
  border-color: #164e87;
  background-color: #f0f7ff;
}

.custom-checkbox {
  width: 17px;
  height: 17px;
  accent-color: #164e87;
  cursor: pointer;
}

.checkbox-label {
  font-size: 13px;
  font-weight: 600;
  color: #262626;
  cursor: pointer;
  white-space: nowrap;
}

/* Informativo Institucional Azul: Prazo de Entrega (7 dias úteis) */
.delivery-notice-blue,
.delivery-notice-red {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f0f7ff;
  border: 1.5px solid #164e87;
  border-radius: 8px;
  padding: 11px 14px;
  color: #164e87;
  font-family: 'Montserrat', sans-serif;
  margin-top: 4px;
  margin-bottom: 2px;
  box-shadow: 0 2px 6px rgba(22, 78, 135, 0.08);
  animation: fadeInNoticeBlue 0.3s ease-out;
}

@keyframes fadeInNoticeBlue {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delivery-notice-blue .notice-truck-icon,
.delivery-notice-red .notice-truck-icon {
  flex-shrink: 0;
  color: #164e87;
}

.delivery-notice-blue .notice-text,
.delivery-notice-red .notice-text {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #164e87;
}

/* Linha 4: Bairro e Cidade (compatibilidade) */
.form-row-bairro-cidade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Linha 5: Cidade e UF */
.form-row-cidade-uf {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 10px;
}

/* Linha 5 antiga: UF, Gênero e Data de Nascimento (compatibilidade) */
.form-row-uf-genero-nasc {
  display: grid;
  grid-template-columns: 56px 1.15fr 1.35fr;
  gap: 8px;
  align-items: flex-start;
}

.group-nascimento .form-label {
  font-size: 12px;
  letter-spacing: -0.2px;
}

/* Campos Preenchidos Automaticamente */
.form-control-autofilled {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #1e293b;
  font-weight: 500;
}

.form-control-autofilled:focus {
  background-color: #ffffff;
  border-color: #164e87;
}

/* Select de Gênero Customizado */
.select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  width: 100%;
  height: 50px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0 24px 0 10px;
  font-size: 14.5px;
  color: #1f2937;
  background-color: #ffffff;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus {
  border-color: #164e87;
  box-shadow: 0 0 0 3px rgba(22, 78, 135, 0.12);
}

.select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 11px;
  color: #164e87;
  font-weight: 700;
}

/* Responsividade Fina para Telas Estreitas (<380px) */
@media (max-width: 380px) {
  .form-row-cep-numero {
    grid-template-columns: 1fr 1.25fr;
  }
  .form-row-cep-numero .group-cep {
    grid-column: 1 / -1;
  }
  .form-row-uf-genero-nasc {
    grid-template-columns: 60px 1fr;
  }
  .form-row-uf-genero-nasc .group-nascimento {
    grid-column: 1 / -1;
  }
}

/* ========================================================
   6. ESTILOS DA PÁGINA 3 (PRODUTO PRINCIPAL, LOGÍSTICA & UPSELLS)
   ======================================================== */

/* Card do Produto Principal (Calendário 2027) */
.main-item-card {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 6px;
  margin-bottom: 16px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.main-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.main-item-info {
  display: flex;
  flex-direction: column;
}

.main-item-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: #e0f2fe;
  color: #0369a1;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
  letter-spacing: 0.4px;
}

.main-item-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

.main-item-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.main-item-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.price-strikethrough {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-free {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #16a34a; /* Verde sucesso */
  letter-spacing: -0.2px;
}

/* Linha de Custo de Envio */
.main-item-shipping {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 6px 0;
  margin-top: 10px;
  border-top: 1px dashed #cbd5e1;
}

.shipping-label {
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
}

.shipping-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #164e87;
}

/* Mensagem Institucional Obrigatória */
.shipping-disclaimer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 9px 11px;
  margin-top: 8px;
}

.disclaimer-icon {
  flex-shrink: 0;
  color: #164e87;
  margin-top: 1px;
}

.shipping-disclaimer p {
  margin: 0;
  font-size: 11.5px;
  color: #1e40af;
  line-height: 1.45;
  font-weight: 500;
}

/* Seção de Ofertas Complementares (Upsells / Order Bumps) */
.upsell-section {
  margin-bottom: 14px;
  text-align: left;
}

.upsell-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.upsell-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-sizing: border-box;
}

.upsell-card:hover {
  border-color: #94a3b8;
}

.upsell-card.active {
  border-color: #164e87;
  background-color: #f0f7ff;
  box-shadow: 0 0 0 1px #164e87;
}

.upsell-checkbox-wrapper {
  position: relative;
  margin-top: 2px;
}

.upsell-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upsell-check-box {
  width: 20px;
  height: 20px;
  border: 1.5px solid #9ca3af;
  border-radius: 5px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.upsell-card.active .upsell-check-box {
  background-color: #164e87;
  border-color: #164e87;
}

.upsell-card.active .upsell-check-box::after {
  content: '';
  width: 4px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.upsell-content {
  flex: 1;
}

.upsell-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.upsell-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}

.upsell-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #164e87;
  white-space: nowrap;
}

.upsell-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Box Resumo do Total Dinâmico */
.order-total-box {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.total-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #164e87;
  letter-spacing: -0.3px;
}

.total-note {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

/* Lista de Itens na Tela Pix */
.pix-summary-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.pix-items-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #bfdbfe;
  width: 100%;
}

.pix-item-tag {
  font-size: 11.5px;
  color: #1e40af;
  font-weight: 600;
  text-align: left;
}

/* ========================================================
   6. ESTILOS EXCLUSIVOS DA SEÇÃO PIX (QR CODE & COPIA E COLA)
   ======================================================== */
.pix-card {
  animation: fadeInPix 0.35s ease-out forwards;
}

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

/* Resumo da Doação */
.pix-summary-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0f7ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.pix-summary-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.pix-summary-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #164e87;
  letter-spacing: -0.3px;
}

/* Status em Tempo Real (Bolinha Azul Institucional Pulsante) */
.pix-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #f0f7ff;
  border: 1px solid #bfdbfe;
  color: #164e87;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.pulsing-dot {
  width: 9px;
  height: 9px;
  background-color: #164e87;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22, 78, 135, 0.7);
  animation: pulseBlue 1.6s infinite ease-out;
}

@keyframes pulseBlue {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 78, 135, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(22, 78, 135, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 78, 135, 0);
  }
}

/* Container do QR Code */
.qrcode-wrapper {
  background-color: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 16px 12px 14px 12px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.qrcode-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}

.pix-qrcode-img {
  width: 220px;
  height: 220px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}

.qrcode-caption {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
  font-weight: 500;
}

/* Seção Copia e Cola */
.pix-copia-cola-section {
  margin-bottom: 14px;
  text-align: left;
}

.pix-copia-cola-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #374151;
  display: block;
  margin-bottom: 6px;
}

.pix-code-container {
  width: 100%;
}

.pix-copia-cola-input {
  width: 100%;
  background-color: #f8fafc;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11.5px;
  color: #334155;
  line-height: 1.4;
  resize: none;
  outline: none;
  box-sizing: border-box;
  word-break: break-all;
  user-select: all;
  transition: border-color 0.2s ease;
}

.pix-copia-cola-input:focus {
  border-color: #164e87;
  background-color: #ffffff;
}

/* Botão Copiar Pix - Mesmo Padrão Oficial do Site */
.btn-copy-pix {
  width: 100%;
  height: 52px;
  background-color: #164e87;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(22, 78, 135, 0.28);
  -webkit-tap-highlight-color: transparent;
}

.btn-copy-pix:hover {
  background-color: #123e6b;
}

.btn-copy-pix:active {
  transform: scale(0.98);
  background-color: #0f345a;
}

.btn-copy-pix.copied {
  background-color: #0f345a;
  box-shadow: 0 4px 14px rgba(15, 52, 90, 0.35);
}

.copy-svg-icon {
  flex-shrink: 0;
}

/* Toast de Feedback */
.copy-toast {
  display: none;
  background-color: #164e87;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 6px;
  animation: fadeInToast 0.2s ease-out forwards;
}

@keyframes fadeInToast {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contador Regressivo */
.pix-timer-box {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pix-timer-box strong {
  font-weight: 700;
  color: #b45309;
}

/* Instruções Passo a Passo */
.pix-instructions-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: left;
}

.instructions-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.instructions-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.instructions-steps li {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

.step-num {
  font-weight: 700;
  color: #164e87;
  margin-right: 3px;
}

.beneficiary-info {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}

/* Botão Alterar Valor */
.btn-change-value {
  width: 100%;
  height: 44px;
  background: transparent;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-change-value:hover {
  border-color: #94a3b8;
  color: #334155;
  background-color: #f1f5f9;
}

.btn-change-value:active {
  transform: scale(0.99);
}



