.pswp {
  --pswp-bg: rgb(var(--color-background));
  --pswp-placeholder-bg: rgb(var(--color-image-background));
  --pswp-root-z-index: 100000;
  --pswp-preloader-color: rgb(var(--color-text));
  --pswp-preloader-color-secondary: rgb(var(--color-text));
  --pswp-icon-color: rgb(var(--color-text));
  --pswp-icon-color-secondary: rgb(var(--color-text));
  --pswp-icon-stroke-color: rgb(var(--color-text));
  --pswp-icon-stroke-width: 2px;
  --pswp-error-text-color: var(--pswp-icon-color);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  contain: layout style size;
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0.003;
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  touch-action: none;
  z-index: var(--pswp-root-z-index);
}

.pswp,
.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
  display: block;
}

.pswp,
.pswp__bg {
  transform: translateZ(0);
}

.pswp__bg {
  background: var(--pswp-bg);
  opacity: .005;
}

.pswp__bg:empty {
  display: block;
}

.pswp,
.pswp__scroll-wrap {
  overflow: hidden;
}

.pswp__bg,
.pswp__container,
.pswp__content,
.pswp__img,
.pswp__item,
.pswp__scroll-wrap,
.pswp__zoom-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.pswp__img,
.pswp__zoom-wrap {
  height: auto;
  width: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
  cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
  cursor: move;
  cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: grabbing;
}

.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
  cursor: zoom-out;
}

.pswp__button,
.pswp__container,
.pswp__counter,
.pswp__img {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pswp__item {
  overflow: hidden;
  z-index: 1;
}

.pswp__hidden {
  display: none !important;
}

.pswp__content {
  pointer-events: none;
}

.pswp__content>* {
  pointer-events: auto;
}

.pswp__error-msg-container {
  display: grid;
}

.pswp__error-msg {
  color: var(--pswp-error-text-color);
  font-size: 1em;
  line-height: 1;
  margin: auto;
}

.pswp .pswp__hide-on-close {
  opacity: .005;
  pointer-events: none;
  transition: opacity var(--pswp-transition-duration) cubic-bezier(.4, 0, .22, 1);
  z-index: 10;
}

.pswp--ui-visible .pswp__hide-on-close {
  opacity: 1;
  pointer-events: auto;
}

.pswp__button {
  cursor: pointer;
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  opacity: 1;
  padding: 0;
  border: none;
  overflow: hidden;
  position: relative;
  background: none;
  color: rgb(var(--color-text));
}

@media (min-width: 960px) {
  .pswp__button {
    height: 55px;
    width: 55px;
  }
}

button.pswp__button {
  -webkit-touch-callout: none;
  -webkit-appearance: none;
  appearance: none;
}

.pswp__button:disabled {
  cursor: auto;
  opacity: .3;
}

.pswp__button .pswp__icn,
.pswp__button--zoom .pswp__icn {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

@media (min-width: 960px) {
  .pswp__button .pswp__icn,
  .pswp__button--zoom .pswp__icn {
    width: 24px;
    height: 24px;
  }
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
  outline: 0;
}

.pswp__img--with-bg,
div.pswp__img--placeholder {
  background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 40px;
  justify-content: flex-end;
  position: absolute;
  padding-inline: 20px;
  inset-block-start: 20px;
  inset-inline-start: 0;
  z-index: 10;;
}

@media (min-width: 960px) {
  .pswp__top-bar {
    height: 55px;
  }
}

.pswp__top-bar {
  pointer-events: none !important;
}

.pswp__top-bar>* {
  pointer-events: auto;
}

.pswp__button--close {
  background-color: rgb(var(--color-background));
  box-shadow: 0px 0px 40px 0px rgb(var(--color-text)/ 0.08);
  border-radius: 50%;
  margin-inline-start: 10px;
}

@media (min-width: 960px) {
  @media (pointer: fine) {
    .pswp__button--close::before {
      content: '';
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background-color: rgb(var(--color-text));
      transform: scale(0);
      transition: transform 0.5s cubic-bezier(.19, 1, .22, 1);
    }

    .pswp__button--close .icon {
      position: relative;
      transition: 0.5s cubic-bezier(.19, 1, .22, 1);
      transition-property: transform, color;
    }

    .pswp__button--close:hover::before {
      transform: scale(1);
    }

    .pswp__button--close:hover .icon {
      transform: scale(0.8);
      color: rgb(var(--color-background));
    }
  }
}

.pswp__button--arrow {
  width: 40px;
  height: 40px;
  position: absolute;
  inset-block-start: auto;
  inset-block-end: 20px;
}

@media (min-width: 960px) {
  .pswp__button--arrow {
    width: 55px;
    height: 55px;
    inset-block-start: 50%;
    transform: translateY(-50%);
  }

  @media (pointer: fine) {
    .pswp--ui-visible .pswp__button--arrow {
      opacity: 0.3;
      transition: opacity 0.3s ease;
    }

    .pswp--ui-visible .pswp__button--arrow:hover {
      opacity: 1;
    }
  }
}

.pswp__button--arrow:disabled {
  cursor: default;
  display: none;
}

.pswp__button--arrow .pswp__icn {
  width: 100%;
  height: 100%;
  stroke-width: 1;
  fill: transparent;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow .pswp__icn {
  transform: scaleX(calc(var(--tw-scale-x) * var(--transform-logical))) scaleY(var(--tw-scale-y));
}

.pswp__button--arrow--prev {
  inset-inline-start: 24px;
  inset-inline-end: auto;
}

.pswp__button--arrow--next {
  inset-inline-end: 24px;
}

.pswp__button--arrow--next .pswp__icn {
  --tw-scale-x: -1;
}

.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}

.pswp__preloader {
  width: 50px;
  height: 60px;
  margin-inline-end: auto;
  overflow: hidden;
  position: relative;
}

.pswp__preloader .pswp__icn {
  animation: pswp-clockwise .6s linear infinite;
  opacity: 0;
  transition: opacity .2s linear;
}

.pswp__preloader--active .pswp__icn {
  opacity: .85;
}

@keyframes pswp-clockwise {
  0% {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(1turn);
  }
}

.pswp__counter {
  background-color: rgb(var(--color-background));
  border: 1px solid rgb(var(--color-border));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  line-height: 1;
  font-weight: calc(var(--sort-body-weight) + 100);
  margin: 0;
  opacity: 1;
  padding-block: 0;
  padding-inline: 14px;
  position: relative;
}

@media (min-width: 960px) {
  .pswp__counter {
    height: 55px;
    padding-inline: 24px;
  }
}

.pswp--one-slide .pswp__counter {
  display: none;
}

.pswp__video-container {
  background-color: var(--pswp-placeholder-bg);
}

.pswp__video-container> :is(video, iframe) {
  width: 100%;
  height: 100%;
}

.pswp__video-container> :is(model-viewer) {
  display: block;
  width: 800px;
  height: 800px;
  max-width: 100%;
  max-height: 100%;
}

.pswp__video-container .deferred-media :is(.shopify-model-viewer-ui, model-viewer),
.pswp__video-container .deferred-media :is(.shopify-model-viewer-ui, model-viewer)~.play-button {
  display: none;
}

.pswp__video-container .play-button {
  width: 40px;
  height: 40px;
  inset-inline-end: 16px;
  inset-block-start: 16px;
  background-color: rgb(var(--color-background));
}

.pswp__video-container .play-button .icon {
  width: 16px;
  height: 16px;
}

@media (min-width: 960px) {
  .pswp__video-container .play-button {
    width: 55px;
    height: 55px;
  }

  .pswp__video-container .play-button .icon {
    width: 20px;
    height: 20px;
  }
}

.pswp__video-container .video-media {
  height: 100%;
}

.pswp__video-container .video-media img {
  width: 100%;
  height: 100%;
}