
/* Gymful scoped Swiper base repair (offer) */
.gymful-offer-swiper .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  box-sizing: content-box;
  width: 100%;
  height: 100%;
  transition-property: transform;
}

.gymful-offer-swiper .swiper-slide {
  flex-shrink: 0 !important;
  position: relative;
  transition-property: transform;
}

.gymful-offer-swiper {
  --offer-gap: 8px;
  --offer-nav-gap: 24px;
  --offer-bullet-width: 42px;
  --offer-bullet-height: 3px;
  --offer-bullet-gap: 10px;
  --offer-bullet-radius: 999px;
  --offer-bullet-color: rgba(0,0,0,.42);
  --offer-bullet-active-color: #000;
  position: relative;
  width: 100%;
  overflow: visible;
}

.gymful-offer-swiper.is-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.gymful-offer-swiper .swiper {
  width: 100%;
  overflow: visible;
}

.gymful-offer-swiper .swiper-wrapper {
  align-items: stretch;
}

.gymful-offer-swiper:not(.swiper-initialized) .swiper-wrapper,
.gymful-offer-swiper:not(.is-swiper-enabled) .swiper-wrapper {
  display: flex;
  gap: var(--offer-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gymful-offer-swiper:not(.swiper-initialized) .swiper-wrapper::-webkit-scrollbar,
.gymful-offer-swiper:not(.is-swiper-enabled) .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.gymful-offer-swiper .swiper-slide {
  height: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.gymful-offer-swiper .offer-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  cursor: pointer;
  background: #111;
  transform: translateY(0);
  transition-property: transform, box-shadow, border-color, background-color;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-offer-swiper .offer-card__media,
.gymful-offer-swiper .offer-card__image,
.gymful-offer-swiper .offer-card__video,
.gymful-offer-swiper .offer-card__iframe,
.gymful-offer-swiper .offer-card__video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gymful-offer-swiper .offer-card__media {
  z-index: 0;
  overflow: hidden;
}

.gymful-offer-swiper .offer-card__image,
.gymful-offer-swiper .offer-card__video,
.gymful-offer-swiper .offer-card__iframe {
  object-fit: cover;
  object-position: center;
  border: 0;
  transform: scale(1);
  transition-property: transform, filter, opacity;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-offer-swiper .offer-card__video-layer {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(.22,.61,.36,1);
}

.gymful-offer-swiper .offer-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,.58) 100%);
  opacity: 1;
  transition: opacity 300ms cubic-bezier(.22,.61,.36,1), background 300ms cubic-bezier(.22,.61,.36,1);
}

.gymful-offer-swiper .offer-card__content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  padding-right: 78px;
}

.gymful-offer-swiper .offer-card__title,
.gymful-offer-swiper .offer-card__description {
  margin: 0;
  color: #fff;
}

.gymful-offer-swiper .offer-card__description {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition-property: max-height, opacity, transform;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-offer-swiper .offer-card__button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 0;
  transition-property: transform, opacity, filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-offer-swiper .offer-card__button svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gymful-offer-swiper .offer-card__icon-active {
  display: none;
}

.gymful-offer-swiper .offer-card:hover .offer-card__video-layer,
.gymful-offer-swiper .offer-card.is-active .offer-card__video-layer,
.gymful-offer-swiper .swiper-slide-active .offer-card.is-swiper-active .offer-card__video-layer {
  opacity: 1;
}

.gymful-offer-swiper .offer-card:hover .offer-card__description,
.gymful-offer-swiper .offer-card.is-active .offer-card__description,
.gymful-offer-swiper .swiper-slide-active .offer-card.is-swiper-active .offer-card__description {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.gymful-offer-swiper .offer-card:hover .offer-card__icon-default,
.gymful-offer-swiper .offer-card.is-active .offer-card__icon-default,
.gymful-offer-swiper .swiper-slide-active .offer-card.is-swiper-active .offer-card__icon-default {
  display: none;
}

.gymful-offer-swiper .offer-card:hover .offer-card__icon-active,
.gymful-offer-swiper .offer-card.is-active .offer-card__icon-active,
.gymful-offer-swiper .swiper-slide-active .offer-card.is-swiper-active .offer-card__icon-active {
  display: inline-flex;
}

.gymful-offer-swiper .offer-swiper-nav,
.gymful-offer-swiper .offer-swiper-controls,
.gymful-offer-swiper .offer-navigation {
  width: fit-content !important;
  max-width: max-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--offer-nav-gap, 24px) !important;
  flex-wrap: nowrap !important;
}

.gymful-offer-swiper .offer-swiper-nav {
  margin-top: 28px;
}

.gymful-offer-swiper .offer-swiper-arrow,
.gymful-offer-swiper .offer-swiper-play {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  color: #000;
  flex: 0 0 auto !important;
}

.gymful-offer-swiper .offer-swiper-arrow svg,
.gymful-offer-swiper .offer-swiper-play svg {
  display: block;
}

.gymful-offer-swiper .offer-swiper-pagination {
  position: static !important;
  width: auto !important;
  max-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--offer-bullet-gap) !important;
  flex: 0 0 auto !important;
}

.gymful-offer-swiper .offer-swiper-pagination .swiper-pagination-bullet {
  width: var(--offer-bullet-width) !important;
  height: var(--offer-bullet-height) !important;
  border-radius: var(--offer-bullet-radius) !important;
  background: var(--offer-bullet-color) !important;
  opacity: 1 !important;
  margin: 0 !important;
}

.gymful-offer-swiper .offer-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--offer-bullet-active-color) !important;
}

.gymful-offer-swiper .offer-swiper-play .icon-play { display: inline-flex; }
.gymful-offer-swiper .offer-swiper-play .icon-pause { display: none; }
.gymful-offer-swiper .offer-swiper-play.is-playing .icon-play { display: none; }
.gymful-offer-swiper .offer-swiper-play.is-playing .icon-pause { display: inline-flex; }
