/* Aplicado apenas depois do handshake; nunca altera o body da loja. */
html.openswim-parent-scroll {
  overflow: hidden !important;
  scroll-behavior: auto !important;
  scrollbar-width: none;
}
html.openswim-parent-scroll::-webkit-scrollbar { display: none; }
html.openswim-parent-scroll body {
  overflow: visible !important;
  scroll-behavior: auto !important;
}
/* O player e seu botão precisam caber na janela útil, inclusive em paisagem. */
html.openswim-parent-scroll .section-exit-pop-video-yt {
  box-sizing: border-box;
  padding: 64px 16px 16px;
  transition: opacity 0.15s linear;
}
html.openswim-parent-scroll .section-exit-pop-video-yt .content {
  width: min(800px, calc((100vh - 96px) * 1.777777));
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
}
html.openswim-parent-scroll .section-exit-pop-video-yt #player {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
html.openswim-parent-scroll .section-exit-pop-video-yt .content .close-exit-pop {
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161616;
  border: 1px solid #fff;
  border-radius: 50%;
}
html.openswim-parent-scroll .section-exit-pop-video-yt .close-exit-pop svg {
  width: 24px;
  height: 24px;
}
html.openswim-parent-scroll .section-exit-pop-video-yt .close-exit-pop path {
  fill: #fff !important;
}
html.openswim-parent-scroll .section-exit-pop-video-yt .close-exit-pop:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Normal flow removes the original sticky pauses and hidden scroll stories. */
.openswim-performance { margin:0; }
@font-face { font-family:'Shokz Sans Text'; src:url('fonts/ShokzSansText-Regular.woff2') format('woff2'); font-display:swap; }
@font-face { font-family:'Shokz Sans Display'; src:url('fonts/Shokz_Sans_Display-Medium.woff2') format('woff2'); font-display:swap; }
.openswim-performance { font-family:'Shokz Sans Text',Arial,sans-serif; }
.openswim-performance [data-deferred-background] { background-image:none !important; }
.openswim-performance img { height:auto; }
.openswim-performance picture { display:contents; }
.openswim-performance .section-animation,
.openswim-performance .fadein-0,
.openswim-performance .fadein-05 { opacity:1 !important; transform:none !important; }
.openswim-performance #shopify-section-openswim-pro-video-sticky { position:relative; top:auto; margin-bottom:0; }
.openswim-performance .section-openswim-pro-dual-modes .text-wrapper { position:relative; top:auto; }
.openswim-performance .section-openswim-pro-josn-img-2 .text-wrapper-2 { flex-direction:column; align-items:stretch; gap:48px; }
.openswim-performance .section-openswim-pro-josn-img-2 .text-inner-hidden { position:static; opacity:1; }
.openswim-performance .openswim-app { position:relative; }
.openswim-performance .openswim-app .text-wrapper-hidden,
.openswim-performance .openswim-app .phone { opacity:1; }
.openswim-performance .openswim-app .openswim-pro-bg { visibility:hidden; }
.openswim-performance #lottie1 img,.openswim-performance #lottie2 img { width:100%; display:block; }
.openswim-performance .right-swiper .swiper-slide[hidden] { display:none !important; }
.openswim-performance .change-title .swiper-wrapper { display:flex; gap:16px; }
.openswim-performance .change-title { overflow-x:auto; scrollbar-width:thin; }
.openswim-performance .change-title .swiper-slide { flex-shrink:0; }
.openswim-performance #player iframe { display:block; width:100%; height:100%; border:0; }
.openswim-performance #index-video-openfit { min-height:180px; aspect-ratio:16/9; object-fit:cover; background:#18202c; }
.openswim-performance .ip68waterproof-rating { background:#18202c; }
.openswim-performance [role=button] { cursor:pointer; }
.openswim-performance [role=button]:focus-visible { outline:2px solid #ff7a3d; outline-offset:4px; }
@media(max-width:650px) {
  .openswim-performance .openswim-app .text-wrapper { position:relative; top:auto; padding:40px 16px 0; }
  .openswim-performance .openswim-app .background-wrapper > div { height:75vw; background-size:cover; background-position:center; }
}
