/* Behaviour the original plugin scripts applied at runtime. */
#cookie-law-info-bar { display: none; }
html.pum-open.pum-open-overlay, html.hustle-no-scroll { overflow: hidden; }
.wpcf7-response-output { display: none; }
.wpcf7-response-output[style*="block"] { display: block; }
.hustle-ui.hustle-popup.hustle-show { opacity: 1 !important; }

/* Mobile header must always stay pinned to the top (the toolbar is fixed just below it),
   even if the sticky script initialised while the header was hidden (e.g. after resizing). */
@media (max-width: 1199px) {
  .tm-header-mobile { position: fixed !important; top: 0 !important; left: 0; right: 0; width: 100% !important; z-index: 980; }
  .tm-header-mobile + .uk-sticky-placeholder { display: none !important; }
  .tm-page { padding-top: 100px; }
}

/* Page-load spinner: covers the page until the theme scripts have arranged the layout. */
#abr-loader { position: fixed; inset: 0; z-index: 99999; background: #fff; display: flex; align-items: center; justify-content: center; transition: opacity .35s ease, visibility .35s; }
#abr-loader.abr-loader-done { opacity: 0; visibility: hidden; pointer-events: none; }
.abr-spinner { width: 22px; height: 22px; border: 2px solid rgba(99,179,69,.25); border-top-color: #63b345; border-radius: 50%; animation: abr-spin .8s linear infinite; }
@keyframes abr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .abr-spinner { animation-duration: 2s; } }
