/* Identidade única de ações em todas as páginas públicas. */
:root {
  --quote-budget-bg: var(--public-brand, #dc2626);
  --quote-budget-hover: var(--public-brand-dark, #b91c1c);
  --quote-budget-text: #fff;
  --whatsapp-action-bg: var(--public-brand, #dc2626);
  --whatsapp-action-hover: var(--public-brand-dark, #b91c1c);
  --whatsapp-action-text: #fff;
}
.public-action-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  vertical-align: middle;
}

/* A paleta fica no corpo para não depender das variáveis locais de cada botão. */
body:has(.site-header-fixed) {
  --public-action-soft-bg: color-mix(in srgb, var(--brand) 6%, var(--surface));
  --public-action-soft-text: var(--accent-dark);
  --public-action-soft-hover: var(--brand);
  --public-action-soft-hover-text: var(--surface);
  --public-action-soft-border: color-mix(in srgb, var(--brand) 24%, var(--surface));
}

html
  body:has(.site-header-fixed)
  :is(
    button,
    input[type="submit"],
    a.button,
    a.btn,
    a.primary-button,
    a.open-product,
    a[id="agWhatsapp"],
    a.quote-budget-button,
    a.public-whatsapp-button,
    a.quote-option,
    .blog-paginacao a
  ):not(
    :where(
      .site-header-fixed *,
      .contact-float,
      .contact-float *,
      .al-chat-abrir,
      .al-chat *,
      .uh-list-scroll *,
      .mobile-filter,
      .mobile-quote,
      .analytics-consent *,
      .analytics-consent-settings,
      .product-image,
      .modal-thumbnail,
      .gallery-main-image,
      .gallery-arrow,
      .preview-arrow,
      .modal-close,
      .color-swatch,
      .pet-color-swatch,
      .ag-slot,
      .ag-more,
      .ag-contact-edit,
      .site-tool-simulador-fontes .opt,
      .quote-integrated #app *,
      .art-app *,
      .public-action-solid,
      .quote-choice *,
      .atendimento-escolha *,
      .cut-supply-dialog *,
      .campo-olho,
      .public-text-action,
      button.text-link,
      .support-copy,
      .show-more-colors,
      #clear-filters,
      [data-clear-categories],
      .filter-chip button
    )
  ) {
  --public-action-border: var(--public-action-soft-border);
  --site-principal: var(--public-action-soft-bg);
  --site-texto_principal: var(--public-action-soft-text);
  --site-botao_secundario: var(--public-action-soft-bg);
  --site-texto_botao_secundario: var(--public-action-soft-text);
  --site-interacao: var(--public-action-soft-hover);
  --site-texto_interacao: var(--public-action-soft-hover-text);
  --quote-budget-bg: var(--public-action-soft-bg);
  --quote-budget-hover: var(--public-action-soft-hover);
  --quote-budget-text: var(--public-action-soft-text);
  --whatsapp-action-bg: var(--public-action-soft-bg);
  --whatsapp-action-hover: var(--public-action-soft-hover);
  --whatsapp-action-text: var(--public-action-soft-text);
  background: var(--public-action-soft-bg) !important;
  color: var(--public-action-soft-text) !important;
  border: 1px solid var(--public-action-soft-border) !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    background-color 0.16s,
    border-color 0.16s,
    color 0.16s;
}

html
  body:has(.site-header-fixed)
  :is(
    button,
    input[type="submit"],
    a.button,
    a.btn,
    a.primary-button,
    a.open-product,
    a[id="agWhatsapp"],
    a.quote-budget-button,
    a.public-whatsapp-button,
    a.quote-option,
    .blog-paginacao a
  ):not(
    :where(
      .site-header-fixed *,
      .contact-float,
      .contact-float *,
      .al-chat-abrir,
      .al-chat *,
      .uh-list-scroll *,
      .mobile-filter,
      .mobile-quote,
      .analytics-consent *,
      .analytics-consent-settings,
      .product-image,
      .modal-thumbnail,
      .gallery-main-image,
      .gallery-arrow,
      .preview-arrow,
      .modal-close,
      .color-swatch,
      .pet-color-swatch,
      .ag-slot,
      .ag-more,
      .ag-contact-edit,
      .site-tool-simulador-fontes .opt,
      .quote-integrated #app *,
      .art-app *,
      .public-action-solid,
      .quote-choice *,
      .atendimento-escolha *,
      .cut-supply-dialog *,
      .campo-olho,
      .public-text-action,
      button.text-link,
      .support-copy,
      .show-more-colors,
      #clear-filters,
      [data-clear-categories],
      .filter-chip button
    )
  ):is(:hover, :active, :focus-visible, .selected, .is-selected, .is-current, [aria-pressed="true"]):not(:disabled):not(
    [aria-disabled="true"]
  ) {
  --site-principal: var(--public-action-soft-hover);
  --site-texto_principal: var(--public-action-soft-hover-text);
  --site-texto_botao_secundario: var(--public-action-soft-hover-text);
  --quote-budget-bg: var(--public-action-soft-hover);
  --quote-budget-text: var(--public-action-soft-hover-text);
  --whatsapp-action-bg: var(--public-action-soft-hover);
  --whatsapp-action-text: var(--public-action-soft-hover-text);
  background: var(--public-action-soft-hover) !important;
  border-color: var(--public-action-soft-hover) !important;
  color: var(--public-action-soft-hover-text) !important;
}

html
  body:has(.site-header-fixed)
  :is(
    button,
    input[type="submit"],
    a.button,
    a.btn,
    a.primary-button,
    a.open-product,
    a[id="agWhatsapp"],
    a.quote-budget-button,
    a.public-whatsapp-button,
    a.quote-option,
    .blog-paginacao a
  ):not(
    :where(
      .site-header-fixed *,
      .contact-float,
      .contact-float *,
      .al-chat-abrir,
      .al-chat *,
      .uh-list-scroll *,
      .mobile-filter,
      .mobile-quote,
      .analytics-consent *,
      .analytics-consent-settings,
      .product-image,
      .modal-thumbnail,
      .gallery-main-image,
      .gallery-arrow,
      .preview-arrow,
      .modal-close,
      .color-swatch,
      .pet-color-swatch,
      .ag-slot,
      .ag-more,
      .ag-contact-edit,
      .site-tool-simulador-fontes .opt,
      .quote-integrated #app *,
      .art-app *,
      .public-action-solid,
      .quote-choice *,
      .atendimento-escolha *,
      .cut-supply-dialog *,
      .campo-olho,
      .public-text-action,
      button.text-link,
      .support-copy,
      .show-more-colors,
      #clear-filters,
      [data-clear-categories],
      .filter-chip button
    )
  ):focus-visible {
  outline: 2px solid var(--public-action-soft-hover);
  outline-offset: 3px;
}

html body:has(.site-header-fixed) .button:not(:where(.site-header-fixed *, .contact-float *)) {
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--public-action-soft-border);
  border-radius: var(--radius, 10px);
  font-size: 14px;
  line-height: 1.4;
}
html body :is(a, button):is(.quote-budget-button, .button:has(svg[data-action-icon="orcamento"])) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--quote-budget-bg) !important;
  color: var(--quote-budget-text) !important;
  border-color: var(--public-action-border, var(--quote-budget-bg)) !important;
}
html body :is(a, button):is(.quote-budget-button, .button:has(svg[data-action-icon="orcamento"])):hover {
  background: var(--quote-budget-hover) !important;
  border-color: var(--quote-budget-hover) !important;
}
html body :is(a, button):is(.public-whatsapp-button, .button:has(svg[data-action-icon="whatsapp"])) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp-action-bg) !important;
  color: var(--whatsapp-action-text) !important;
  border-color: var(--public-action-border, var(--whatsapp-action-bg)) !important;
}
html body :is(a, button):is(.public-whatsapp-button, .button:has(svg[data-action-icon="whatsapp"])):hover {
  background: var(--whatsapp-action-hover) !important;
  border-color: var(--whatsapp-action-hover) !important;
}
html body .whatsapp-float .public-action-icon {
  width: 32px;
  height: 32px;
}
html body :is(.quote-budget-button, .public-whatsapp-button):focus-visible {
  outline: 3px solid var(--public-brand);
  outline-offset: 3px;
}

html body .site-header-fixed .site-nav > .mobile-budget {
  display: none !important;
}
@media (max-width: 1100px) {
  html body .site-header-fixed .site-nav > .mobile-budget {
    display: flex !important;
  }
}
html body .contact-way-icon.is-whats {
  background: var(--whatsapp-action-bg);
  color: var(--whatsapp-action-text);
}
html body .contact-way:has(.is-whats) em {
  color: var(--whatsapp-action-bg);
}

html body svg[data-action-icon="whatsapp"] {
  fill: currentColor;
  stroke: none !important;
}

html body .site-header-fixed .site-header-actions .header-budget {
  display: inline-flex !important;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  box-sizing: border-box;
}
html body .whatsapp-float {
  bottom: max(20px, env(safe-area-inset-bottom)) !important;
}

/* Detalhes de alinhamento (28/10/2026):
   - chat (esquerda) e WhatsApp (direita) com o mesmo tamanho, mesma altura e mesma distância da borda;
   - Meus dados e Orçamento lado a lado, a 8 px um do outro, em qualquer largura de tela. */
/* Base do menu de atendimento, também carregada pelos catálogos. */
.contact-float {
  position: fixed;
  z-index: 45;
}
.contact-float-esquerda {
  left: max(20px, env(safe-area-inset-left));
}
html body .contact-float > .whatsapp-float {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.contact-options {
  position: absolute;
  bottom: 0;
  right: calc(100% + 12px);
  width: min(264px, calc(100vw - 106px));
  padding: 8px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line, #ddd);
  border-radius: 14px;
  background: var(--paper, #fff);
  box-shadow: 0 12px 32px #0003;
}
.contact-options[hidden] {
  display: none;
}
.contact-float-esquerda .contact-options {
  right: auto;
  left: calc(100% + 12px);
}
.contact-options a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 900px) {
  .quote-open .contact-float {
    display: none;
  }
}
html body .contact-float {
  width: 56px;
  height: 56px;
  bottom: max(20px, env(safe-area-inset-bottom));
}
html body .contact-float-direita {
  right: max(20px, env(safe-area-inset-right));
}
html body .contact-float > .whatsapp-float {
  bottom: auto !important;
  width: 56px;
  min-width: 56px;
  height: 56px;
}
html body .al-chat-abrir.al-chat-abrir:not(.al-chat-aberto) {
  left: max(20px, env(safe-area-inset-left)) !important;
  right: auto !important;
  bottom: max(20px, env(safe-area-inset-bottom));
}
html body .site-header-fixed .site-header-actions {
  gap: 8px;
}
@media (max-width: 600px) {
  html body .contact-float-direita {
    right: max(16px, env(safe-area-inset-right));
  }
  html body .al-chat-abrir.al-chat-abrir:not(.al-chat-aberto) {
    left: max(16px, env(safe-area-inset-left)) !important;
  }
}
html body .contact-float.is-avoiding-control {
  visibility: hidden;
  pointer-events: none;
}

/* Atendimento flutuante na cor do sistema (28/10/2026):
   - botão do WhatsApp vermelho, piscando em vermelho;
   - "Solicitar orçamento" preenchido (ação principal) e "WhatsApp" contornado,
     para os dois não parecerem o mesmo botão; sem sublinhado. */
html body .contact-float > .whatsapp-float {
  --whatsapp-visible: color-mix(in srgb, var(--site-whatsapp, #dc2626) 88%, #fff);
  background: var(--whatsapp-visible) !important;
  color: #fff !important;
}
html body .contact-float > .whatsapp-float:hover {
  background: color-mix(in srgb, var(--whatsapp-visible) 88%, #000) !important;
}
html body .contact-float .whatsapp-float-piscar {
  animation: contact-pulse-marca 2.4s ease-out infinite;
}
@keyframes contact-pulse-marca {
  0% {
    box-shadow:
      0 4px 14px #0003,
      0 0 0 0 color-mix(in srgb, var(--whatsapp-visible) 45%, transparent);
  }
  80%,
  100% {
    box-shadow:
      0 4px 14px #0003,
      0 0 0 22px color-mix(in srgb, var(--whatsapp-visible) 0%, transparent);
  }
}
html body .contact-options a,
html body .contact-options a:hover {
  text-decoration: none !important;
  border: 2px solid var(--public-brand, #dc2626) !important;
  transition:
    background-color 0.15s,
    color 0.15s;
}
html body .contact-options .contact-quote {
  background: #fff !important;
  color: var(--public-brand, #b42318) !important;
}
html body .contact-options .contact-quote:hover {
  background: color-mix(in srgb, var(--public-brand, #b42318) 7%, white) !important;
}
@media (prefers-reduced-motion: no-preference) {
  html body .contact-options:not([hidden]) .contact-quote {
    animation: contact-quote-glow 4s ease-in-out 2;
  }
}
@keyframes contact-quote-glow {
  0%,
  100% {
    box-shadow: none;
  }
  35%,
  55% {
    box-shadow:
      inset 0 0 16px color-mix(in srgb, var(--public-brand, #b42318) 14%, transparent),
      0 0 14px color-mix(in srgb, var(--public-brand, #b42318) 42%, transparent);
  }
}
html body .contact-options .contact-whatsapp {
  background: var(--paper, #fff) !important;
  color: var(--public-brand, #dc2626) !important;
}
html body .contact-options .contact-whatsapp:hover {
  background: color-mix(in srgb, var(--public-brand, #dc2626) 10%, var(--paper, #fff)) !important;
}
html body .contact-options a:focus-visible {
  outline-color: var(--public-brand, #dc2626);
}
@media (prefers-reduced-motion: reduce) {
  html body .contact-float .whatsapp-float-piscar {
    animation: none;
  }
}
/* O botão do WhatsApp fica sempre visível, como o do chat (antes sumia ao passar sobre textos e cards). */
html body .contact-float.is-avoiding-control,
html body .contact-float.is-avoiding-control > .whatsapp-float {
  visibility: visible !important;
  pointer-events: auto !important;
}
/* Orçamento em destaque ao abrir as opções (sem exageros):
   maior, com sombra suave e uma única entrada leve; WhatsApp menor, como alternativa. */
html body .contact-options .contact-quote {
  min-height: 52px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: none;
}
html body .contact-options .contact-whatsapp {
  min-height: 40px;
  padding-block: 8px;
  font-size: 13px;
  font-weight: 600;
  border-width: 1px !important;
}
@media (prefers-reduced-motion: reduce) {
  html body .contact-options:not([hidden]) .contact-quote {
    animation: none;
  }
}
/* Páginas com botão próprio do WhatsApp (ex.: catálogo de brindes): mesma cor, mesmo piscar e sempre visível. */
html body .whatsapp-float {
  --whatsapp-visible: color-mix(in srgb, var(--site-whatsapp, #dc2626) 88%, #fff);
  background: var(--whatsapp-visible) !important;
  color: #fff !important;
}
html body .whatsapp-float:hover {
  background: color-mix(in srgb, var(--whatsapp-visible) 88%, #000) !important;
}
html body .whatsapp-float.whatsapp-float-piscar {
  animation: contact-pulse-marca 2.4s ease-out infinite;
}
html body .whatsapp-float.is-avoiding-control {
  visibility: visible !important;
  pointer-events: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html body .whatsapp-float.whatsapp-float-piscar {
    animation: none;
  }
}
/* O catálogo de brindes anima o botão com um halo verde próprio: troca só o desenho da animação pelo vermelho. */
html body .whatsapp-float {
  animation-name: contact-pulse-marca !important;
}

/* Perguntas frequentes: seta gira junto com a abertura suave (acoes-publicas.js). */
html body .faq-item summary .chev {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s;
}
html body .faq-item summary {
  transition: color 0.2s;
}

/* Paginação do catálogo no celular: uma linha só, setas no lugar de "Primeira/Anterior/Próxima/Última". */
@media (max-width: 600px) {
  html body .pagination-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
  }
  html body .pagination-nav .pagination-button {
    min-width: 40px;
    width: auto;
    height: 40px;
    padding: 0 10px;
    flex: 0 0 auto;
  }
  html body .pagination-nav .pagination-button[aria-label="Primeira página"],
  html body .pagination-nav .pagination-button[aria-label="Página anterior"],
  html body .pagination-nav .pagination-button[aria-label="Próxima página"],
  html body .pagination-nav .pagination-button[aria-label="Última página"] {
    width: 40px;
    padding: 0;
    font-size: 0;
  }
  html body .pagination-nav .pagination-button[aria-label="Primeira página"]::before {
    content: "«";
    font-size: 18px;
  }
  html body .pagination-nav .pagination-button[aria-label="Página anterior"]::before {
    content: "‹";
    font-size: 20px;
  }
  html body .pagination-nav .pagination-button[aria-label="Próxima página"]::before {
    content: "›";
    font-size: 20px;
  }
  html body .pagination-nav .pagination-button[aria-label="Última página"]::before {
    content: "»";
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  html body .pagination-nav {
    gap: 4px;
  }
  html body .pagination-nav .pagination-button {
    min-width: 34px;
    height: 38px;
    padding: 0 6px;
    font-size: 14px;
  }
  html body .pagination-nav .pagination-button[aria-label="Primeira página"],
  html body .pagination-nav .pagination-button[aria-label="Página anterior"],
  html body .pagination-nav .pagination-button[aria-label="Próxima página"],
  html body .pagination-nav .pagination-button[aria-label="Última página"] {
    width: 34px;
  }
}
/* Botão do WhatsApp com o mesmo tamanho do robô em todas as páginas (o catálogo usava 54 px). */
html body .whatsapp-float {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  min-height: 56px;
}

/* O menu móvel cobre os atalhos flutuantes, sem mudar a janela do chat. */
@media (max-width: 1100px) {
  html body.public-menu-open .al-chat-abrir {
    z-index: 45;
  }
}
@media (max-width: 600px) {
  html body .contact-options {
    width: min(240px, calc(100vw - 176px));
    box-sizing: border-box;
  }
  html body .contact-options a {
    padding-inline: 8px;
    gap: 6px;
    font-size: 13px;
  }
  html body .contact-options .public-action-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  html body .contact-options .contact-quote,
  html body .contact-options .contact-whatsapp {
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  html body .contact-options {
    bottom: calc(100% + 12px);
    right: 0;
    width: min(240px, calc(100vw - 104px));
  }
}

/* Ações textuais não recebem o preenchimento dos botões comerciais. */
html
  body:has(.site-header-fixed)
  :is(
    button.public-text-action,
    button.text-link,
    .support-copy,
    .show-more-colors,
    #clear-filters,
    [data-clear-categories]
  ) {
  min-height: 32px;
  padding: 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--accent-dark, var(--public-brand-dark)) !important;
  text-decoration: none !important;
  cursor: pointer;
}

html
  body:has(.site-header-fixed)
  :is(
    button.public-text-action,
    button.text-link,
    .support-copy,
    .show-more-colors,
    #clear-filters,
    [data-clear-categories]
  ):is(:hover, :active) {
  color: var(--brand, var(--public-brand)) !important;
}

html
  body:has(.site-header-fixed)
  :is(
    button.public-text-action,
    button.text-link,
    .support-copy,
    .show-more-colors,
    #clear-filters,
    [data-clear-categories],
    .filter-chip button
  ):focus-visible {
  outline: 2px solid var(--accent-dark, var(--public-brand-dark));
  outline-offset: 3px;
}

html body:has(.site-header-fixed) .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

html body:has(.site-header-fixed) .filter-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

html body:has(.site-header-fixed) .filter-chip button:is(:hover, :active) {
  color: var(--accent-dark, var(--public-brand-dark)) !important;
}

html body:has(.site-header-fixed) .category-breadcrumb [data-clear-categories] {
  font-size: 13px;
  font-weight: 600;
}

/* Ações públicas marcadas compartilham cor e estados sem afetar seletores. */
html body:has(.site-header-fixed) .public-action-solid.public-action-solid {
  background: var(--site-principal, var(--public-brand, var(--brand))) !important;
  color: var(--site-texto_principal, #fff) !important;
  border-color: var(--site-principal, var(--public-brand, var(--brand))) !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    background-color 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
html body:has(.site-header-fixed) .public-action-solid.public-action-solid:hover:not(:disabled) {
  background: var(--site-interacao, color-mix(in srgb, var(--public-brand, var(--brand)) 70%, #000)) !important;
  color: var(--site-texto_interacao, #fff) !important;
  border-color: var(--site-interacao, var(--public-brand-dark, var(--accent-dark))) !important;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--public-brand, var(--brand)) 24%, transparent) !important;
}
html body:has(.site-header-fixed) .public-action-solid.public-action-solid:active:not(:disabled) {
  background: var(--site-interacao, color-mix(in srgb, var(--public-brand, var(--brand)) 55%, #000)) !important;
  color: var(--site-texto_interacao, #fff) !important;
  border-color: var(--site-interacao, var(--public-brand-dark, var(--accent-dark))) !important;
  box-shadow: inset 0 2px 4px color-mix(in srgb, var(--ink) 30%, transparent) !important;
}
html body:has(.site-header-fixed) .public-action-solid.public-action-solid:focus-visible {
  outline: 2px solid var(--site-foco, var(--public-brand, var(--brand)));
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html body:has(.site-header-fixed) .public-action-solid.public-action-solid {
    transition: none;
  }
}

html body .support-page .support-body .support-related > ul:has(> li:nth-child(4)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px 24px;
  width: min(100%, 760px);
  margin-inline: auto;
}
html body .support-page .support-body .support-related > ul:has(> li:nth-child(4)) > li {
  min-width: 0;
  margin: 0;
}
html body .support-page .support-body .support-related > ul:has(> li:nth-child(4)) a {
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
html body:has(.site-header-fixed) :is(.pagination-button, .blog-paginacao a) {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
html body:has(.site-header-fixed) :is(.pagination-button, .blog-paginacao a):hover:not(:disabled) {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--ink) !important;
}
html body:has(.site-header-fixed) :is(.pagination-button.is-current, .blog-paginacao a[aria-current="page"]) {
  background: var(--ink) !important;
  color: var(--surface) !important;
  border-color: var(--ink) !important;
}
html body:has(.site-header-fixed) .pagination-button:disabled {
  background: var(--surface) !important;
  color: var(--muted) !important;
  border-color: var(--line) !important;
}
html body:has(.site-header-fixed) :is(.pagination-button, .blog-paginacao a):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
html body.event-page .editorial-hero .event-actions {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 12px;
  width: min(100%, 372px);
}
html body.event-page .editorial-hero .event-actions > .button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding-inline: 16px;
}
html body.event-page .editorial-hero .event-actions .quote-budget-button :is(svg, i) {
  display: none !important;
}
html body.contact-page:has(.contact-cta) .site-footer.site-footer-shared {
  border-top: 1px solid var(--footer-line);
}
@media (max-width: 600px) {
  html body .support-page .support-body .support-related > ul:has(> li:nth-child(4)) {
    gap: 8px 16px;
  }
}

html body #quote-page .quote-item-actions button {
  min-width: 76px;
  min-height: 32px;
  padding: 4px 8px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--public-brand, var(--brand)) !important;
  font: inherit;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}
html body #quote-page .quote-item-actions button:hover {
  color: var(--public-brand-dark, var(--accent-dark)) !important;
}
html body #quote-page .quote-item-actions button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
html body #quote-page .quote-catalog-link,
html body #quote-page .quote-catalog-link:is(:hover, :focus-visible),
html body .site-footer-shared a:is(:link, :visited, :hover, :focus-visible),
html body .analytics-consent-settings:is(button, :hover, :focus-visible) {
  text-decoration: none !important;
}
html body .color-select-list li:is([aria-selected="true"], :hover, :focus-visible) {
  background: var(--paper) !important;
  color: var(--ink) !important;
}
html body .color-select-list li:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
html
  body:has(.site-header-fixed)
  :is(#btnSimular, .site-tool-simulador-fontes :is(.footerBtn, .downloadOption), .about-contact-actions a.button) {
  background: var(--public-brand, var(--brand)) !important;
  color: var(--surface) !important;
  border-color: var(--public-brand, var(--brand)) !important;
}
html
  body:has(.site-header-fixed)
  :is(
    #btnSimular,
    .site-tool-simulador-fontes :is(.footerBtn, .downloadOption),
    .about-contact-actions a.button
  ):hover:not(:disabled) {
  background: var(--public-brand-dark, var(--accent-dark)) !important;
  color: var(--surface) !important;
}
html
  body:has(.site-header-fixed)
  :is(
    #btnSimular,
    .site-tool-simulador-fontes :is(.footerBtn, .downloadOption),
    .about-contact-actions a.button
  ):focus-visible {
  outline: 2px solid var(--public-brand, var(--brand));
  outline-offset: 3px;
}

/* No celular, os atalhos não interrompem formulários nem janelas abertas. */
@media (max-width: 767px) {
  html
    body:is(.quote-site, .quote-integrated, .quote-open, .atendimento-pagina, .site-tool-agendar)
    :is(.contact-float, .whatsapp-float, [data-chat-launcher]),
  html
    body:has(dialog[open], .quote-main, [data-lightbox]:not([hidden]))
    :is(.contact-float, .whatsapp-float, [data-chat-launcher]) {
    display: none !important;
  }
}

/* A seta acompanha a cor de contraste do botão em todos os estados. */
html body .lightbox-nav::before {
  border-color: currentColor;
}
