/* Ajustes finais do checkout: seleção de endereço e formulário de cartão. */

/* Endereço no checkout: controle circular discreto, sem botão roxo textual. */
html body #overlay .checkout-address-card .checkout-address-select {
  position: relative !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 2px 0 10px !important;
  padding: 0 !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
html body #overlay .checkout-address-card .checkout-address-select::after {
  content: "" !important;
  position: absolute !important;
  inset: 4px !important;
  border-radius: 50% !important;
  background: transparent !important;
  transform: scale(0) !important;
  transition: transform .16s ease, background-color .16s ease !important;
}
html body #overlay .checkout-address-card .checkout-address-select:hover,
html body #overlay .checkout-address-card .checkout-address-select:focus-visible {
  border-color: #64748b !important;
  box-shadow: 0 0 0 3px rgba(100,116,139,.12) !important;
}
html body #overlay .checkout-address-card .checkout-address-select:active {
  transform: scale(.92) !important;
}
html body #overlay .checkout-address-card.selected .checkout-address-select {
  border-color: #111827 !important;
  background: #111827 !important;
}
html body #overlay .checkout-address-card.selected .checkout-address-select::after {
  background: #fff !important;
  transform: scale(1) !important;
}
html body #overlay .checkout-address-card .checkout-address-copy {
  cursor: pointer !important;
}

/* O seletor de parcelas do Card Payment Brick não deve ficar espremido. */
html body #overlay #cardPaymentBrick_container select[name*="install" i],
html body #overlay #cardPaymentBrick_container select[id*="install" i],
html body #overlay #cardPaymentBrick_container select[class*="install" i],
html body #overlay #cardPaymentBrick_container select[aria-label*="parcela" i],
html body #overlay #cardPaymentBrick_container select[title*="parcela" i] {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
}
/* Fallback para versões do Brick que não expõem o nome no select. */
html body #overlay #cardPaymentBrick_container select {
  min-height: 42px !important;
  box-sizing: border-box !important;
}

