/* Reduce repaints during scrolling while retaining the existing dark navigation. */
header { backdrop-filter: none !important; background-color: #111827; }
.motion-paused, .motion-paused::before, .motion-paused::after,
.page-paused *, .page-paused *::before, .page-paused *::after { animation-play-state: paused !important; }
@media (max-width: 640px) {
    .animate-fire { filter: none !important; }
    .home-background-slide { transition: opacity .45s ease !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* WCAG AA: white labels need a darker fill than the decorative orange accent. */
.bg-orange-brand { background-color: #c2410c !important; }
.bg-orange-600.text-white, .bg-\[\#FF6B00\].text-white { color: #18181b; }
:focus-visible { outline: 3px solid #60a5fa; outline-offset: 4px; }

@media (max-width: 640px) {
  .animate-fire, .motivation-orb, .speed-line, .orbit-dot { animation: none !important; }
}

/* Isolate section layout without hiding content or changing scroll geometry. */
#shop, #reviews, #contact { contain: layout style; }
.fa-solid, .fa-brands, .fas, .fab { display: inline-block; min-width: 1em; }
@media (max-width: 640px) {
  .athlete-card, .quick-coupon-ticket, .order-submit-cta { animation: none !important; }
  .home-background-slide { filter: none !important; }
}

/* A slide that cannot be seen or focused need not lay out its decorative contents. */
.home-slide[aria-hidden="true"] { content-visibility: hidden; contain-intrinsic-size: 0 100vh; }

@media (max-width: 640px) {
  #home-slider { will-change: auto; }
  #home [class*="backdrop-blur"] { backdrop-filter: none !important; }
}

/* iOS zooms focused controls below 16px, leaving the checkout viewport pannable. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
  textarea,
  select {
    font-size: max(16px, 1em) !important;
  }
  .raptor-order-form {
    min-width: 0;
    max-width: 100%;
  }
  .raptor-order-form input,
  .raptor-order-form textarea,
  .raptor-order-form select {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
}
