/* Shared interaction styles for the original page layouts. */
[hidden], #spp-promo-overlay:not([open]) { display: none !important; }
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid #1c79d7 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px white;
}
:root { scroll-padding-top: 8rem; }
html, body { max-width: 100%; }
body { overflow-x: clip; }
main { min-width: 0; }
header.elementor-location-header { position: sticky; top: 0; z-index: 20; }
header nav li.menu-item-has-children { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
header nav .menu-item-has-children > a.elementor-item { padding-right: 4px; }
header .submenu-toggle, header .submenu-toggle:hover, header .submenu-toggle:focus {
  margin: 0; padding: 0 9px 0 2px; border: 0; background: transparent; color: white;
  font-size: .84rem; line-height: 2.5;
}
header .elementor-nav-menu--main .sub-menu:not([hidden]) {
  display: block; position: absolute; top: 100%; left: 0; z-index: 1; min-width: 12rem;
}
header .elementor-menu-toggle { border: 0; }
header.elementor-location-header button.elementor-menu-toggle { color: white; background: transparent; }
header #mobile-menu { transform: none; opacity: 1; max-height: calc(100dvh - 7.5rem); overflow-y: auto; }
header #mobile-menu li.menu-item-has-children { justify-content: center; }
header #mobile-menu .submenu-toggle { color: #222; }
header #mobile-menu .sub-menu:not([hidden]) { display: block; width: 100%; position: static; }
header #mobile-menu a { justify-content: center; }
#spp-promo-overlay[open] {
  inset: 0; margin: 0; border: 0; padding: 1.4rem; max-width: none; max-height: none;
  width: 100%; height: 100dvh; overflow: auto; display: flex;
}
#spp-promo-overlay::backdrop { background: transparent; }
#spp-promo-modal { margin: auto; }
.form-availability { margin: .7rem 0 0; font: 400 .875rem/1.5 Archivo, Arial, sans-serif; color: inherit; }
.form-availability a { color: inherit; text-decoration: underline; }
.form-availability:empty { display: none; }
/* Forms sit on dark photos and on the orange footer, so the result line carries its own background. */
.form-availability[data-state] { padding: .6rem .8rem; border-left: 4px solid #6b6b6b; border-radius: 4px; background: #fff; color: #1a1a1a; text-align: left; }
.form-availability[data-state="sent"] { border-left-color: #1a7f37; }
.form-availability[data-state="error"] { border-left-color: #b00020; font-weight: 700; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.elementor-form [disabled] { cursor: default; }
.elementor-accordion button.elementor-tab-title {
  width: 100%; border: 0; border-radius: 0; text-align: left; white-space: normal;
  font-family: inherit; line-height: inherit;
}
.elementor-tabs .elementor-tab-content:not([hidden]), .elementor-accordion .elementor-tab-content:not([hidden]) { display: block; }
[data-carousel] { position: relative; }
[data-carousel] .swiper-wrapper { flex-wrap: nowrap; transform: none; height: auto; }
[data-carousel] .swiper-wrapper > :is(.swiper-slide, .jet-listing-grid__item):not([hidden]) {
  flex: 0 0 calc(100% / var(--visible-slides, 1)); width: calc(100% / var(--visible-slides, 1)); min-width: 0;
}
[data-carousel] button.elementor-swiper-button, .carousel-arrow {
  background: transparent; border: 0; color: inherit; border-radius: 0; padding: 0;
}
.carousel-arrow { position: absolute; top: 50%; z-index: 2; font: 2.5rem/1 Arial; transform: translateY(-50%); }
.carousel-prev { left: -1.2rem; }
.carousel-next { right: -1.2rem; }
.rotation-control:not(:focus-visible) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }
.rotation-control { position: absolute; z-index: 3; top: 2px; left: 2px; }
.video-poster, .video-player { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; background: #000; }
.video-poster { position: relative; overflow: hidden; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%);
  border-radius: .6rem; color: #fff; background: #e00000; padding: .35rem 1rem; line-height: 1.3; }
.epyt-video-wrapper { width: 100%; }
.elementor-custom-embed-image-overlay { cursor: pointer; }
.elementor-widget-video .video-player { position: absolute; inset: 0; height: 100%; }
.elementor-widget-lottie .scroll-chevron { display: inline-block; width: 1.2rem; height: 1.2rem; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.elementor-widget-lottie .e-lottie__container__link { display: inline-block; padding: .6rem; }
@media(max-width: 767px) {
  header #mobile-menu:not([hidden]) { display: block; width: 100vw; position: absolute; top: calc(100% + .6rem); right: 0; }
  #floatingButton { right: auto !important; left: 50%; bottom: max(.75rem, env(safe-area-inset-bottom)) !important; transform: translateX(-50%); white-space: nowrap; }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
  #spp-promo-modal { width: min(90%, 400px); max-width: 100%; }
}
@media(max-height: 570px) {
  #spp-promo-modal { padding: 1rem; }
  #spp-promo-modal p { font-size: min(5vh, 1.6rem); margin: .15rem; line-height: 1.1; }
  #spp-promo-modal .spp-code-box { font-size: 2rem; margin-bottom: .5rem; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
