/* ---------------------------------------------------------
   PRODUCT IMAGE
--------------------------------------------------------- */
.carousel-item {
  position: relative;
}
.carousel-item img[data-full-size-image-url] {
  cursor: zoom-in;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
/* ---------------------------------------------------------
   DESKTOP ZOOM PANEL
--------------------------------------------------------- */
.product-zoom-panel {
  position: fixed;
  z-index: 99999;
  display: block;
  visibility: hidden;
  width: 600px;
  height: calc(100vh - 30px);
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.product-zoom-panel.is-visible {
  visibility: visible;
  opacity: 1;
}
/* ---------------------------------------------------------
   DESKTOP HIGH RESOLUTION ZOOM IMAGE
--------------------------------------------------------- */
.product-zoom-panel img {
  position: absolute;
  display: block;
  max-width: none !important;
  max-height: none !important;
  width: auto;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  will-change: left, top, width, height;
}
/* ---------------------------------------------------------
   ZOOM LEVEL INDICATOR
--------------------------------------------------------- */
.product-zoom-level {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font:
    600 12px/1.2 Arial,
    sans-serif;
  pointer-events: none;
}
/* ---------------------------------------------------------
   MOBILE FULLSCREEN VIEWER
--------------------------------------------------------- */
.product-mobile-viewer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  background: rgba(0, 0, 0, 0.96);
  overflow: hidden;
  touch-action: none;
}
.product-mobile-viewer.is-visible {
  display: block;
}
/* ---------------------------------------------------------
   MOBILE MAIN ZOOM IMAGE
--------------------------------------------------------- */
.product-mobile-zoom-image {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: none !important;
  max-height: none !important;
  transform-origin: center center;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  will-change: transform;
}
/* ---------------------------------------------------------
   MOBILE THUMBNAIL SCROLL AREA
--------------------------------------------------------- */
.product-mobile-thumbnails-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0));
  scrollbar-width: none;
}
.product-mobile-thumbnails-scroll::-webkit-scrollbar {
  display: none;
}
/* ---------------------------------------------------------
   MOBILE THUMBNAIL ROW
--------------------------------------------------------- */
.product-mobile-thumbnails {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}
/* ---------------------------------------------------------
   MOBILE THUMBNAIL BUTTON
--------------------------------------------------------- */
.product-mobile-thumbnails .product__thumbnail {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  min-width: 58px;
  margin: 0;
  padding: 2px;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-radius: 9px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  transform: none;
}
/* ---------------------------------------------------------
   MOBILE THUMBNAIL IMAGE
--------------------------------------------------------- */
.product-mobile-thumbnails .product__thumbnail-image {
  position: static !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0;
  padding: 0;
  object-fit: cover;
  transform: none !important;
  transform-origin: center center;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
/* ---------------------------------------------------------
   MOBILE ACTIVE THUMBNAIL
--------------------------------------------------------- */
.product-mobile-thumbnails .product__thumbnail.active {
  border-color: #fff;
}
/*
 * Support the class used by some theme/Bootstrap
 * implementations.
 */
.product-mobile-thumbnails .product__thumbnail.js-thumb-selected {
  border-color: #fff;
}
/* ---------------------------------------------------------
   MOBILE THUMBNAIL FOCUS
--------------------------------------------------------- */
.product-mobile-thumbnails .product__thumbnail:focus {
  outline: none;
}
.product-mobile-thumbnails .product__thumbnail:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* ---------------------------------------------------------
   MOBILE CLOSE BUTTON
--------------------------------------------------------- */
.product-mobile-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 30;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font:
    400 28px/42px Arial,
    sans-serif;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.product-mobile-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
.product-mobile-close:focus {
  outline: none;
}
.product-mobile-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* ---------------------------------------------------------
   MOBILE HINT
--------------------------------------------------------- */
.product-mobile-hint {
  position: absolute;
  left: 50%;
  bottom: 90px;
  z-index: 25;
  transform: translateX(-50%);
  padding: 7px 11px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font:
    400 12px/1.3 Arial,
    sans-serif;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .product-zoom-panel {
    max-width: calc(100vw - 30px);
  }
}
/* ---------------------------------------------------------
   DESKTOP
--------------------------------------------------------- */
@media (min-width: 1200px) {
  /*
   * The JavaScript controls the panel width.
   */
  .product-zoom-panel {
    max-width: calc(100vw - 30px);
  }
}
/* ---------------------------------------------------------
   LARGE DESKTOP
--------------------------------------------------------- */
@media (min-width: 1600px) {
  .product-zoom-panel {
    max-width: calc(100vw - 30px);
  }
}
/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */
@media (max-width: 767px) {
  .carousel-item img[data-full-size-image-url] {
    cursor: zoom-in;
  }
  .product-mobile-viewer .product__thumbnails {
    display: none;
  }
}
/* ---------------------------------------------------------
   SMALL PHONES
--------------------------------------------------------- */
@media (max-width: 380px) {
  .product-mobile-close {
    width: 38px;
    height: 38px;
    font-size: 25px;
    line-height: 38px;
  }
  .product-mobile-hint {
    bottom: 82px;
    font-size: 11px;
  }
  .product-mobile-thumbnails .product__thumbnail {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    min-width: 52px;
  }
}
/* ---------------------------------------------------------
   MOBILE LANDSCAPE
--------------------------------------------------------- */
@media (orientation: landscape) and (max-width: 767px) {
  .product-mobile-hint {
    bottom: 82px;
  }
  .product-mobile-thumbnails .product__thumbnail {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    min-width: 52px;
  }
}
/* ---------------------------------------------------------
   REDUCED MOTION
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .product-zoom-panel {
    transition: none;
  }
  .product-mobile-hint {
    transition: none;
  }
  .product-mobile-close {
    transition: none;
  }
}
