/* Use contrasting blue fills for the site-wide hover effect. */
body :is(.home-header .button.small, .button, button:not(.comparison-hotspots button), .nav-extras, .service-quote, summary, .comparison-hotspots button[aria-pressed] > span) {
  background-image: linear-gradient(var(--button-hover-fill, #adcfff), var(--button-hover-fill, #adcfff));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size .32s ease-out;
}

body :is(.button, .comparison-rooms button[aria-pressed="true"], .comparison-hotspots button[aria-pressed="true"] > span) {
  --button-hover-fill: #214d7a;
}

body :is(.home-header .button.small, .button, button:not(.comparison-hotspots button), .nav-extras, .service-quote, summary):not(:disabled):is(:hover, :focus-visible),
body .comparison-hotspots button[aria-pressed]:is(:hover, :focus-visible) > span {
  background-image: linear-gradient(var(--button-hover-fill, #adcfff), var(--button-hover-fill, #adcfff));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
  body :is(.home-header .button.small, .button, button:not(.comparison-hotspots button), .nav-extras, .service-quote, summary, .comparison-hotspots button[aria-pressed] > span) {
    transition: none;
  }
}

/* Extras use a solid blue hover without the sliding fill. */
body :is(.nav-extras, #cleaning-extras button, #cleaning-extras .button, #quote-extras button) {
  background-image: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
body :is(.nav-extras, #cleaning-extras button, #cleaning-extras .button, #quote-extras button):not(:disabled):is(:hover, :focus-visible) {
  background-image: none;
  background-color: #c3ddff;
  color: #102746;
  border-color: #608dc4;
}
@media (prefers-reduced-motion: reduce) {
  body :is(.nav-extras, #cleaning-extras button, #cleaning-extras .button, #quote-extras button) { transition: none; }
}
