/*
 * Hipopy performance layer
 * Loaded last so expensive decorative effects cannot be re-enabled by a theme.
 */

#site-header,
#site-header.scrolled {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(12, 20, 16, 0.97) !important;
}

[data-theme="light"] #site-header,
[data-theme="light"] #site-header.scrolled {
  background: rgba(248, 247, 242, 0.98) !important;
}

#site-header .main-nav,
#mobile-nav[data-smart-menu] {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

#mobile-nav[data-smart-menu] {
  background: rgba(6, 12, 9, 0.98) !important;
}

[data-theme="light"] #mobile-nav[data-smart-menu] {
  background: rgba(248, 247, 242, 0.99) !important;
}

.knowledge-header:not(#site-header),
.search-section,
.hero-glass {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.knowledge-header:not(#site-header) {
  background: rgba(251, 253, 251, 0.98) !important;
}

/* Keep the visual identity while removing perpetual compositor work. */
:where(
  .svch-aura,
  .svch-ring,
  .svch-crest-ring,
  .svch-spark,
  .svch-shine-text,
  .svch-stat,
  .svch-scroll span::after,
  .royal-divider-gem,
  .eyebrow-royal-icon,
  .team-flip-card,
  .phone-contact-blob,
  .phone-mock--big,
  .phone-status-avatar .ps-online,
  .mini-hours-badge i,
  .contact-live-dot,
  .about-video-badge,
  .contact-hub-3d__ring,
  .store-map-atmosphere > i,
  .urgency-beacon::before,
  .urgency-beacon > span,
  .emergency-fee-notice i,
  .ht-hero-art__scan,
  .ht-identity-status i,
  .ht-premium-chart .ht-eyebrow i,
  .ht-radar-live i,
  .ht-anatomy-status i,
  .ht-care-toolbar > span i,
  .ht-start-card__head > b i,
  .typed-cursor
) {
  animation: none !important;
}

.store-map-3d-frame {
  background:
    radial-gradient(circle at 48% 42%, rgba(69, 199, 135, 0.16), transparent 34%),
    linear-gradient(145deg, #17251e, #0c1511) !important;
}

.store-map-3d-frame iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}

body.is-scrolling :where(.hero-content, .hero-media, [data-contact-tilt], .store-map-3d-card) {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none !important;
  }
  .home-page .hero-media {
    background: url("../img/hotel/droneview.png") center / cover no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
