/* v23.20.2 — neutraliza somente contornos amarelos em controles interativos.
   O dourado continua disponível como cor de destaque/fundo; bordas e foco passam
   a usar creme, azul-petróleo ou linhas neutras para evitar halos amarelos. */

/* Foco por teclado: manter indicador acessível, sem contorno dourado. */
html body :is(
  button,
  [role="button"],
  a[href],
  a.button,
  a[class*="-btn"],
  input[type="button"],
  input[type="submit"]
):focus-visible {
  outline: 2px solid #EEE6D3 !important;
  outline-offset: 3px !important;
}

/* Cartões de projetos, navegação das publicações e CTAs do portfólio. */
html body .project-actions .round-arrow,
html body .project-actions .case-study-open,
html body .publication-controls .publication-control,
html body .strip-scroll,
html body .publication-open-icon,
html body#white-text-site #contato .contact-bottom > a.button.button-light {
  border-color: rgba(238, 230, 211, .48) !important;
}
html body .project-actions .round-arrow:hover,
html body .project-actions .round-arrow:focus-visible,
html body .project-actions .case-study-open:hover,
html body .project-actions .case-study-open:focus-visible,
html body .publication-controls .publication-control:hover:not(:disabled),
html body .publication-controls .publication-control:focus-visible:not(:disabled),
html body .strip-scroll:hover,
html body .strip-scroll:focus-visible,
html body#white-text-site #contato .contact-bottom > a.button.button-light:hover,
html body#white-text-site #contato .contact-bottom > a.button.button-light:focus-visible {
  border-color: #EEE6D3 !important;
}

/* Botão de idioma, atalho móvel e controles de carrossel. */
html body .language-toggle:hover,
html body .language-toggle:focus-visible {
  border-color: #EEE6D3 !important;
}
html body .site-header > .mobile-store-shortcut:hover,
html body .site-header > .mobile-store-shortcut:focus-visible {
  border-color: #EEE6D3 !important;
}
html body .portfolio-carousel-arrow:hover:not(:disabled),
html body .portfolio-carousel-arrow:focus-visible,
html body .institutional-carousel-arrow:hover:not(:disabled),
html body .institutional-carousel-arrow:focus-visible {
  border-color: #EEE6D3 !important;
}
html body .portfolio-carousel-arrow:focus-visible,
html body .institutional-carousel-card:focus-visible,
html body .institutional-carousel-arrow:focus-visible,
html body .institutional-carousel-dot:focus-visible,
html body .project-gallery-viewer-close:focus-visible {
  outline: 2px solid #EEE6D3 !important;
  outline-offset: 3px !important;
}
html body .project-gallery-viewer-close:focus-visible {
  border-color: #EEE6D3 !important;
  color: #EEE6D3 !important;
}

/* Consentimento, loja e seleção de mídia/produto. */
html body .privacy-consent-actions button:focus-visible,
html body .privacy-preferences-link:focus-visible {
  outline-color: #EEE6D3 !important;
}
html body .privacy-consent-actions .privacy-consent-accept {
  border-color: rgba(238, 230, 211, .78) !important;
}
html body .store-copy-pix {
  border-color: rgba(238, 230, 211, .52) !important;
}
html body .store-copy-pix:hover,
html body .store-payment-mode:hover,
html body .store-payment-mode[aria-pressed="true"],
html body .product-thumbs button[aria-pressed="true"] {
  border-color: #EEE6D3 !important;
}
html body .language-toggle:hover,
html body .language-toggle:focus-visible {
  outline-color: #EEE6D3 !important;
}

/* Painel principal: neutraliza contornos de abas/botões ativos sem alterar seus fundos. */
html body.admin-shell-ready :is(
  .settings-tab.active,
  .settings-tab:hover,
  .editor-subtab.active,
  .editor-subtab:hover,
  .editor-tab-button.active,
  .admin-nav-item.active,
  .project-workspace-tab.is-active,
  .st-rail-btn.active,
  .st-rail-btn[aria-pressed="true"],
  .studio-nav-item,
  .st-store-link
) {
  border-color: rgba(238, 230, 211, .34) !important;
}
html body.admin-shell-ready .ap-media-breadcrumbs button:hover,
html body.admin-shell-ready .ap-quiet-button:hover,
html body.admin-shell-ready .ap-command-close:hover,
html body.admin-shell-ready .ap-sync-draft-button:hover:not(:disabled),
html body.admin-shell-ready .editor-guides-toolbar button:hover,
html body.admin-shell-ready .editor-guides-toolbar button.is-active,
html body.admin-shell-ready .visual-layer-dock button:hover:not(:disabled),
html body.admin-shell-ready .visual-layer-dock button:focus-visible {
  border-color: rgba(238, 230, 211, .42) !important;
}
html body.admin-shell-ready button.primary,
html body.admin-shell-ready .primary {
  border-color: transparent !important;
}

/* Página independente de gestão da loja, em fundo claro. */
html body .al-main :is(button, [role="button"], a[href], a.button, a[class*="-btn"]):focus-visible {
  outline-color: #0E2D3A !important;
}
html body .al-header-actions .al-public-link,
html body .al-btn.secondary:hover,
html body .al-tab[aria-selected="true"],
html body .ap-mode[aria-selected="true"],
html body .al-products-tab.is-active {
  border-color: rgba(14, 45, 58, .42) !important;
}
html body .al-btn:not(.secondary) {
  border-color: transparent !important;
}
