/** Shopify CDN: Minification failed

Line 316:22 Invalid escape

**/
.product-media-gallery__wrapper {
  --thumbnail-spacing: 0.5rem;
  --thumbnail-swiper-height: calc(var(--thumbnail-size) + var(--thumbnail-spacing) * 2);

  aspect-ratio: var(--product-image-aspect-ratio);
  position: relative;
  width: 100%;
}

.featured-product--rounded-corners .product-media-gallery__wrapper,
.main-product--rounded-corners .product-media-gallery__wrapper,
.featured-product--rounded-corners .product-media-gallery__placeholder--first-media,
.main-product--rounded-corners .product-media-gallery__placeholder--first-media {
  padding-left: var(--space-viewport-sides);
  padding-right: var(--space-viewport-sides);
}

.main-product:not(.main-product--rounded-corners) .product-media-gallery__thumbnails,
.featured-product:not(.featured-product--rounded-corners) .product-media-gallery__thumbnails {
  padding-left: 10px;
}

@media screen and (min-width: 768px) {
  .featured-product__hero--media-left .product-media-gallery__wrapper,
  .main-product__hero .product-media-gallery__wrapper,
  .featured-product__hero--media-left .product-media-gallery__placeholder--first-media,
  .main-product__hero .product-media-gallery__placeholder--first-media {
    padding-right: 0;
  }

  .featured-product__hero--media-right .product-media-gallery__wrapper,
  .featured-product__hero--media-right .product-media-gallery__placeholder--first-media {
    padding-left: 0;
  }

  .featured-product:not(.featured-product--rounded-corners) .product-media-gallery__thumbnails--on-top {
    padding-left: 0;
  }
}

@media screen and (min-width: 1240px) {
  .main-product--rounded-corners .product-media-gallery__wrapper,
  .main-product--rounded-corners .product-media-gallery__placeholder--first-media {
    padding-left: 0;
    padding-right: 0;
  }

  .main-product--with-media .product-media-gallery__swiper {
    padding-left: 0;
    padding-right: 0;
  }

  .main-product:not(.main-product--rounded-corners) .product-media-gallery__thumbnails {
    padding-left: 0;
  }
}

@media screen and (min-width: 1600px) {
  .featured-product:not(.featured-product--rounded-corners) .product-media-gallery__thumbnails {
    padding-left: 0;
  }
}

.product-media-gallery {
  height: max-content;
  position: relative;
}

.product-media-gallery__placeholder--first-media {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.product-media-gallery.swiper-loaded + .product-media-gallery__placeholder--first-media {
  opacity: 0;
  transition-delay: 0.5s;
  transition-duration: 200ms;
  transition-property: visibility, opacity;
  transition-timing-function: ease-out;
  visibility: hidden;
}

/* Slideshow gallery styles */
.product-media-gallery__swiper-container {
  grid-area: swiper-slides;
  overflow: hidden;
  transition: opacity var(--transition-duration) var(--transition-timing-function);
  width: 100%;
}

.product-media-gallery__swiper-container swiper-slide {
  height: auto;
}

.product-media-gallery__thumbnails {
  grid-area: swiper-thumbnails;
  margin: var(--thumbnail-spacing) 0;
}

.product-media-gallery .product-media-gallery__thumbnail {
  aspect-ratio: var(--thumbnail-image-aspect-ratio);
  border-radius: var(--thumbnail-border-radius);
  cursor: pointer;
  display: block;
  height: auto;
  margin-right: var(--thumbnail-spacing);
  width: var(--thumbnail-size);
}

.product-media-gallery .product-media-gallery__thumbnail img {
  aspect-ratio: var(--thumbnail-image-aspect-ratio);
  border-radius: var(--thumbnail-border-radius);
  border: 2px solid var(--color-foreground--10);
  height: 100%;
  width: var(--thumbnail-size);
}

.product-media-gallery__thumbnail.swiper-slide-thumb-active img {
  border-color: var(--color-foreground);
}

@media (width > 999px) {
  .product-media-gallery__thumbnails--on-top {
    height: calc(100% - var(--space-small));
    left: var(--space-small);
    position: absolute;
    top: 0;
    width: var(--thumbnail-size);
  }

  .featured-product__hero--media-right .product-media-gallery__thumbnails--on-top {
    height: calc(100% - var(--pointer-element-min-height) - var(--space-small));
    left: unset;
    right: var(--space-small);
  }
}

.product-media-gallery__arrows .swiper-custom-button {
  background-color: var(--color-background--50);
  transition: background-color var(--transition-duration) var(--transition-timing-function);
}

.product-media-gallery__arrows .swiper-custom-button:hover {
  background-color: var(--color-background);
}

.product-media-gallery__arrows .swiper-custom-button--prev,
.product-media-gallery__arrows .swiper-custom-button--next {
  position: absolute;
  transform: translateY(-50%);
}

@media (width < 768px) {
  .product-media-gallery__swiper--hide-thumbnails--mobile .product-media-gallery__arrows .swiper-custom-button--prev,
  .product-media-gallery__swiper--hide-thumbnails--mobile .product-media-gallery__arrows .swiper-custom-button--next {
    top: 50%;
  }

  .product-media-gallery__swiper--show-thumbnails--mobile .product-media-gallery__arrows .swiper-custom-button--prev,
  .product-media-gallery__swiper--show-thumbnails--mobile .product-media-gallery__arrows .swiper-custom-button--next {
    top: calc(50% - var(--thumbnail-swiper-height) / 2);
  }

  .product-media-gallery__arrows--show-arrows--mobile {
    display: block;
  }

  .product-media-gallery__arrows--hide-arrows--mobile,
  .product-media-gallery__thumbnails--hide-thumbnails--mobile {
    display: none;
  }

  .product-media-gallery__placeholder--show-thumbnails--mobile {
    padding-bottom: var(--thumbnail-swiper-height);
  }
}

@media (width >= 768px) {
  .product-media-gallery__swiper--hide-thumbnails--desktop .product-media-gallery__arrows .swiper-custom-button--prev,
  .product-media-gallery__swiper--hide-thumbnails--desktop .product-media-gallery__arrows .swiper-custom-button--next {
    top: 50%;
  }

  .product-media-gallery__swiper--show-thumbnails--desktop .product-media-gallery__arrows .swiper-custom-button--prev,
  .product-media-gallery__swiper--show-thumbnails--desktop .product-media-gallery__arrows .swiper-custom-button--next {
    top: calc(50% - var(--thumbnail-swiper-height) / 2);
  }

  .product-media-gallery__arrows--show-arrows--desktop {
    display: block;
  }

  .product-media-gallery__placeholder--show-thumbnails--desktop {
    padding-bottom: var(--thumbnail-swiper-height);
  }

  .product-media-gallery__thumbnails--none--desktop,
  .product-media-gallery__arrows--hide-arrows--desktop,
  .product-media-gallery__thumbnails--hide-thumbnails--desktop {
    display: none;
  }
}

.product-media-gallery__arrows .swiper-custom-button--prev {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  left: 0;
}

.product-media-gallery__arrows .swiper-custom-button--next {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  right: 0;
}

.product-media-gallery__button-icon {
  border-radius: var(--border-radius-square);
  background-color: var(--color-background--50);
  fill: var(--color-foreground);
  z-index: var(--z-index-slideshow-interaction);
}

/* Lightbox */
.product-media-gallery__lightbox-video {
  display: none;
}

.product-media-gallery__lightbox-video {
  max-height: 100%;
  height: auto !important;
  max-width: 100% !important;
  width: 100vw !important;
}

.product-media-gallery__lightbox-video.loaded-in-lightbox {
  display: block;
}

.product-media-gallery__button--zoom {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  bottom: 0;
  position: absolute;
  right: 0;
  transition: background-color var(--transition-duration) var(--transition-timing-function);
}

.product-media-gallery__button--zoom:hover {
  background-color: var(--color-background);
}

.product-media-gallery__vertical-stack {
  display: none;
}

@media screen and (min-width: 768px) {
  .product-media-gallery__wrapper--vertical-stack {
    aspect-ratio: auto;
  }

  .product-media-gallery__wrapper--vertical-stack
    .product-media-gallery__vertical-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-media-gallery__wrapper--vertical-stack
    > .product-media-gallery,
  .product-media-gallery__wrapper--vertical-stack
    > .product-media-gallery--first-media {
    display: none;
  }

  .product-media-gallery__vertical-stack-item--featured {
    grid-column: 1 / -1;
  }

  .product-media-gallery__vertical-stack-item:not(
      .product-media-gallery__vertical-stack-item--featured
    ) {
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }

  .product-media-gallery__vertical-stack-item:last-child:nth-child(even) {
    grid-column: 1 / -1;
  }

  .product-media-gallery__vertical-stack-item:not(
      .product-media-gallery__vertical-stack-item--featured
    )
    .media-gallery__preview-image,
  .product-media-gallery__vertical-stack-item:not(
      .product-media-gallery__vertical-stack-item--featured
    )
    .product-media-gallery__image-container {
    width: 100%;
    height: 100%;
  }

  .product-media-gallery__vertical-stack-item:not(
      .product-media-gallery__vertical-stack-item--featured
    )
    img {
    width: 100%;
    height: 100%;
    object-fit: cover;\
    object-position: var(--media-focal-point, center);
  }
}
