/* Button hover: one gold for every action button on the site.
   The gold matches the "Meet Sidney" label on the homepage (#A08860, --warm-d).

   Pages carry many older hover rules, some with !important and long
   selectors. The :not(#sj-btn-hover) part never matches anything to
   exclude; it only lifts these rules above all of them so the hover
   stays the same everywhere. Disabled buttons keep their own look. */
:root{--btn-hover-bg:#A08860;--btn-hover-text:#FFFFFF}

:is(
  .btn-green,.btn-dark,.btn-out,.btn-warm,.btn-white,.btn-ghost,
  .nav-book,.drawer-book-btn,.pick-btn,.pc-btn,.pc-btn-atc,.prod-atc-btn,
  .qv-atc,.btn-checkout,.checker-btn,.sb-show,.sf-btn
){transition:background-color .25s ease,border-color .25s ease,color .25s ease}

html :is(
  .btn-green,.btn-dark,.btn-warm,.btn-white,
  .nav-book,.drawer-book-btn,.pick-btn,.pc-btn,.pc-btn-atc,.prod-atc-btn,
  .qv-atc,.btn-checkout,.checker-btn:not(.checker-btn-secondary),.sb-show,.sf-btn
):is(:hover,:focus-visible):not(:disabled,[aria-disabled="true"]):not(#sj-btn-hover),
html :is(.pg,.picks-grid) .pc-link:hover .pc-btn-atc:hover:not(#sj-btn-hover){
  background:var(--btn-hover-bg)!important;
  border-color:var(--btn-hover-bg)!important;
  color:var(--btn-hover-text)!important;
}
/* Filled buttons: text and icons inside follow the new text colour */
html :is(
  .btn-green,.btn-dark,.btn-warm,.btn-white,
  .nav-book,.drawer-book-btn,.pick-btn,.pc-btn,.pc-btn-atc,.prod-atc-btn,
  .qv-atc,.btn-checkout,.checker-btn:not(.checker-btn-secondary),.sb-show,.sf-btn
):is(:hover,:focus-visible):not(:disabled,[aria-disabled="true"]):not(#sj-btn-hover) *{
  color:inherit!important;
}

/* Outlined buttons get a lighter hover so they never look like the filled
   button beside them: gold border and text, a faint gold tint behind. */
html :is(.btn-out,.checker-btn-secondary):is(:hover,:focus-visible):not(:disabled,[aria-disabled="true"]):not(#sj-btn-hover){
  background:rgba(160,136,96,.08)!important;
  border-color:var(--btn-hover-bg)!important;
  color:var(--btn-hover-bg)!important;
}
/* Ghost buttons sit on dark photos: gold border, text stays white */
html .btn-ghost:is(:hover,:focus-visible):not(#sj-btn-hover){
  background:rgba(160,136,96,.2)!important;
  border-color:var(--btn-hover-bg)!important;
  color:#fff!important;
}
html :is(.btn-out,.btn-ghost,.checker-btn-secondary):is(:hover,:focus-visible):not(#sj-btn-hover) *{
  color:inherit!important;
}
