/** Shopify CDN: Minification failed

Line 7:5 Unexpected "="
Line 344:0 Unexpected "<"

**/
<!-- =========================================================
     PRAMOGH PRODUCT GALLERY
     Optimized:
     - Single gallery CSS
     - CLS-safe geometry
     - Deferred Swiper/Fancybox
     - First image eager + high priority
     - Other images lazy
     - Video does not preload/autoplay on initial page load
========================================================= -->

<style>
/* =========================================================
   1. CRITICAL GALLERY STRUCTURE / CLS
========================================================= */

.sp-product-gallery-wrapper,
.sp-product-gallery-wrapper * {
  box-sizing: border-box;
}

.sp-product-gallery-wrapper {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

/* ---------- Thumbnail Slider ---------- */

.sp-thumb-slider {
  width: 90px !important;
  flex: 0 0 90px !important;
  height: 550px;
  min-height: 550px;
  margin: 0 !important;
  padding: 4px !important;
  overflow: hidden;
}

.sp-thumb-slider .swiper-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.sp-thumb-slide {
  width: 80px !important;
  height: 80px !important;
  flex: 0 0 80px !important;

  border-radius: 8px;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  transition: opacity .3s ease, border-color .3s ease, box-shadow .3s ease;
  cursor: pointer;
  opacity: .5;

  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sp-thumb-slide.swiper-slide-thumb-active,
.sp-thumb-slide:hover {
  opacity: 1;
  border-color: #000;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.sp-thumb-slide img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* ---------- Main Slider ---------- */

.sp-main-slider {
  position: relative !important;
  flex: 1 1 auto;
  width: calc(100% - 105px) !important;
  min-width: 0;

  aspect-ratio: 1 / 1;
  height: auto !important;
  max-height: 550px;

  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid #eee;
}

.sp-main-slider .swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.sp-main-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100%;
  height: 100% !important;
  min-height: 0;

  display: flex !important;
  align-items: center;
  justify-content: center;

  background: #fff;
}

.sp-main-slide img.sp-main-img,
.sp-main-slide .sp-lightbox-link {
  width: 100%;
  height: 100%;
}

.sp-main-slide img.sp-main-img {
  display: block;
  object-fit: contain !important;
}

/* =========================================================
   2. MEDIA BADGE
========================================================= */

.sp-media-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: rgba(0,0,0,.7);
  color: #fff;

  font-size: 10px;
  padding: 4px 6px;
  border-radius: 12px;

  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.sp-media-badge svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

/* =========================================================
   3. LIGHTBOX
========================================================= */

.sp-lightbox-link {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  text-decoration: none;
}

/* =========================================================
   4. VIDEO / 3D
========================================================= */

.sp-video-wrapper,
.sp-model-wrapper {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000;
  overflow: hidden;
}

.sp-video-wrapper iframe,
.sp-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border: none;
}

/* External video facade */

.sp-video-facade {
  position: relative;
  cursor: pointer;
}

.sp-video-facade .sp-facade-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-video-facade .sp-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 62px;
  height: 62px;
  border-radius: 50%;

  background: rgba(255,255,255,.94);
  box-shadow: 0 2px 12px rgba(0,0,0,.28);

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
}

.sp-video-facade .sp-facade-play svg {
  width: 22px;
  height: 22px;
  fill: #a62327;
  margin-left: 4px;
}

/* =========================================================
   5. NAVIGATION ARROWS
========================================================= */

.sp-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;

  background-color: rgba(255,255,255,.95);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 10;

  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.sp-nav-btn:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transform: translateY(-50%) scale(1.05);
}

.sp-nav-btn svg {
  width: 18px;
  height: 18px;

  stroke: #222;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;

  fill: none !important;
}

.sp-nav-prev {
  left: 15px;
}

.sp-nav-next {
  right: 15px;
}

.swiper-button-disabled {
  opacity: .35 !important;
  cursor: auto !important;
  transform: translateY(-50%) scale(1) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.1) !important;
}

/* =========================================================
   6. MOBILE
========================================================= */

@media (max-width: 767px) {

  .sp-product-gallery-wrapper {
    flex-direction: column-reverse;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .sp-main-slider {
    width: 100% !important;
    min-width: 0;
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .sp-thumb-slider {
    width: 100% !important;
    flex: 0 0 85px !important;
    height: 85px !important;
    min-height: 85px;
  }

  .sp-thumb-slider .swiper-wrapper {
    flex-direction: row;
  }

  .sp-thumb-slide {
    flex: 0 0 80px !important;
  }
}
</style>