/**
 * Carregar depois do centralcart_style no layout — o tema costuma resetar
 * ::-webkit-scrollbar e deixar trilho branco / setas no Windows.
 */
html {
  color-scheme: dark !important;
  scrollbar-width: thin !important;
  scrollbar-color: #38bdf8 #0a0f18 !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #0a0f18 0%, #0f172a 100%) !important;
  border-radius: 999px !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 50%, #2563eb 100%) !important;
  border-radius: 999px !important;
  border: 2px solid rgba(10, 15, 24, 0.9) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 16px rgba(56, 189, 248, 0.22) !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 55%, #0ea5e9 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 20px rgba(56, 189, 248, 0.38) !important;
}

/* Remove faixas brancas das setas (scrollbar clássica do Windows / Chrome) */
html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: #0a0f18 !important;
}

/* Lista de resultados do assistente */
#pf-results-mount {
  color-scheme: dark !important;
  scrollbar-width: thin !important;
  scrollbar-color: #38bdf8 rgba(8, 14, 26, 0.95) !important;
}

#pf-results-mount::-webkit-scrollbar {
  width: 9px !important;
  height: 9px !important;
}

#pf-results-mount::-webkit-scrollbar-track {
  background: rgba(8, 14, 26, 0.95) !important;
  border-radius: 999px !important;
  margin: 4px 0 !important;
}

#pf-results-mount::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%) !important;
  border-radius: 999px !important;
  border: 2px solid rgba(8, 14, 26, 0.95) !important;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.35) !important;
}

#pf-results-mount::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.45) !important;
}

#pf-results-mount::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#pf-results-mount::-webkit-scrollbar-corner {
  background: rgba(8, 14, 26, 0.95) !important;
}
