/**
 * Swiper presentation for the Categories template.
 */

.emza-hero-swiper {
  position: relative;
  display: block;
  padding: 0;
  background-image: none !important;
}

.emza-hero-swiper > .swiper-wrapper,
.emza-hero-swiper .emza-hero-slide {
  height: 100%;
}

.emza-hero-slide {
  position: relative;
  overflow: hidden;
  background-color: #354652;
  background-position: 50% 24%;
  background-repeat: no-repeat;
  background-size: cover;
}

.emza-hero-slide--women {
  background-position: 50% 24%;
}

.emza-hero-slide--men {
  background-position: 50% 23%;
}

.emza-hero-control {
  position: absolute;
  top: 50%;
  z-index: 12;
  display: grid;
  width: clamp(64px, 7vw, 116px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 50%;
  background: rgb(0 0 0 / 66%);
  color: var(--white);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.emza-hero-control:hover {
  border-color: var(--white);
  background: rgb(0 0 0 / 84%);
  transform: translateY(-50%) scale(1.035);
}

.emza-hero-control--prev {
  left: clamp(18px, 3.3vw, 64px);
}

.emza-hero-control--next {
  right: clamp(18px, 3.3vw, 64px);
}

.emza-hero-control svg {
  width: 35%;
  height: 35%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.emza-hero-control.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.emza-hero-pagination {
  position: absolute;
  right: var(--emza-container-gutter, 16px) !important;
  bottom: 18px !important;
  left: var(--emza-container-gutter, 16px) !important;
  z-index: 12;
  display: flex;
  width: auto !important;
  align-items: center;
  gap: 18px;
}

.emza-hero-bullet {
  position: relative;
  flex: 1 1 0;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
}

.emza-hero-bullet span {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  background: rgb(255 255 255 / 34%);
  overflow: hidden;
}

.emza-hero-bullet span::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease;
}

.emza-hero-bullet.is-active span::after {
  transform: scaleX(1);
}

.emza-product-swiper.product-track {
  display: block;
  overflow: hidden;
}

.emza-product-swiper > .swiper-wrapper {
  align-items: stretch;
}

.emza-product-swiper .swiper-slide {
  display: flex;
  height: auto;
}

.emza-product-swiper .product-card {
  width: 100%;
}

.emza-product-swiper.is-ready .product-card {
  height: auto;
}

.pager.is-navigation-hidden {
  grid-template-columns: 1fr;
}

.pager.is-navigation-hidden .pager-prev,
.pager.is-navigation-hidden .pager-next {
  display: none;
}

.pager.is-pagination-hidden span {
  visibility: hidden;
}

.pager.is-navigation-hidden.is-pagination-hidden {
  display: none;
}

.emza-swiper-disabled > .swiper-wrapper,
.emza-swiper-unavailable .emza-product-swiper > .swiper-wrapper,
.emza-product-swiper.is-static > .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  transform: none !important;
}

.emza-hero-swiper.emza-swiper-disabled > .swiper-wrapper,
.emza-swiper-unavailable .emza-hero-swiper > .swiper-wrapper,
.emza-hero-swiper.is-static > .swiper-wrapper {
  display: block;
  transform: none !important;
}

.emza-hero-swiper.emza-swiper-disabled .emza-hero-slide:not(:first-child),
.emza-swiper-unavailable .emza-hero-swiper .emza-hero-slide:not(:first-child),
.emza-hero-swiper.is-static .emza-hero-slide:not(:first-child) {
  display: none;
}

@media (max-width: 1024px) {
  .emza-swiper-disabled > .swiper-wrapper,
  .emza-swiper-unavailable .emza-product-swiper > .swiper-wrapper,
  .emza-product-swiper.is-static > .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emza-hero-control {
    width: 72px;
  }
}

@media (max-width: 700px) {
  .emza-hero-control {
    top: auto;
    bottom: 38px;
    width: 54px;
    transform: none;
  }

  .emza-hero-control:hover {
    transform: scale(1.035);
  }

  .emza-hero-control--prev {
    left: var(--emza-container-gutter, 16px);
  }

  .emza-hero-control--next {
    right: var(--emza-container-gutter, 16px);
  }

  .emza-hero-pagination {
    bottom: 10px !important;
    gap: 8px;
  }

  .emza-hero-bullet span {
    height: 2px;
  }

  .emza-swiper-disabled > .swiper-wrapper,
  .emza-swiper-unavailable .emza-product-swiper > .swiper-wrapper,
  .emza-product-swiper.is-static > .swiper-wrapper {
    grid-template-columns: 1fr;
  }
}
