/* Search loading state. The results page button uses the theme's btn-loading
   spinner; the header and mobile menu boxes swap their magnifier for the same
   ring (theme `spin` keyframes, --sp-accent). */
.search-area.ss-searching::before {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  top: 8px;
  left: 10px;
  background: none;
  border: 2px solid var(--sp-accent);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@media only screen and (max-width: 991px) {
  .search-area.ss-searching::before {
    width: 20px;
    height: 20px;
    top: 10px;
    left: 12px;
  }
}
/* Keep the button's normal saffron fill while loading (focus/hover would turn
   it white and hide the theme's white spinner). */
.ss-search .cta-primary.btn-loading,
.ss-search .cta-primary.btn-loading:hover,
.ss-search .cta-primary.btn-loading:focus {
  background-color: var(--sp-accent);
  border-color: var(--sp-accent);
}
.ss-results-area { transition: opacity 0.2s ease; }
.ss-results-area.is-loading { opacity: 0.45; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .search-area.ss-searching::before { animation-duration: 1.5s; }
  .ss-results-area { transition: none; }
}
