/** Shopify CDN: Minification failed

Line 218:0 Unexpected "}"
Line 223:1 Unexpected "/"

**/
/* Product Media Gallery Component Styles */
/* Custom styling for the product page media gallery */

.product-media-gallery {
  position: relative;
  width: 100%;
  height: auto;
  background-color: rgb(var(--color-background));
  border-radius: var(--inputs-radius);
  overflow: hidden;
}

.product-media-gallery__container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* 1:1 aspect ratio by default */
  background-color: rgb(var(--color-background));
}

.product-media-gallery__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.3s ease;
}

.product-media-gallery__media--loading {
  opacity: 0;
}

.product-media-gallery__media--loaded {
  opacity: 1;
}

.product-media-gallery__placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 6rem;
  opacity: 0.3;
  color: rgb(var(--color-foreground));
}

.product-media-gallery__thumbnails {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.product-media-gallery__thumbnail {
  flex-shrink: 0;
  width: 8rem;
  height: 8rem;
  border-radius: var(--inputs-radius);
  overflow: hidden;
  cursor: pointer;
  border: 0.2rem solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.product-media-gallery__thumbnail:hover {
  border-color: rgba(var(--color-foreground), 0.3);
  transform: scale(1.05);
}

.product-media-gallery__thumbnail--active {
  border-color: rgb(var(--color-button));
  box-shadow: 0 0 0 0.2rem rgba(var(--color-button), 0.2);
}

.product-media-gallery__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-media-gallery__badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.product-media-gallery__zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-media-gallery__zoom:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.product-media-gallery__zoom svg {
  width: 2rem;
  height: 2rem;
}

/* Gallery layouts */
.product-media-gallery--stacked {
  /* Default stacked layout - no additional styles needed */
}

.product-media-gallery--columns .product-media-gallery__container {
  padding-bottom: 75%; /* 4:3 aspect ratio */
}

.product-media-gallery--thumbnail .product-media-gallery__thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-media-gallery--thumbnail .product-media-gallery__thumbnail {
  width: 100%;
  height: 6rem;
}

/* Responsive adjustments */
@media screen and (max-width: 749px) {
  .product-media-gallery__container {
    padding-bottom: 100%; /* Square on mobile */
  }
  
  .product-media-gallery__thumbnails {
    gap: 0.5rem;
  }
  
  .product-media-gallery__thumbnail {
    width: 6rem;
    height: 6rem;
  }
}

@media screen and (min-width: 750px) {
  .product-media-gallery--large .product-media-gallery__container {
    padding-bottom: 80%; /* Slightly wider */
  }
  
  .product-media-gallery--small .product-media-gallery__container {
    padding-bottom: 120%; /* Taller */
  }
}

/* Loading states */
.product-media-gallery__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border: 0.3rem solid rgba(var(--color-foreground), 0.3);
  border-top: 0.3rem solid rgb(var(--color-foreground));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Custom styling options - uncomment and modify as needed */

/* Rounded corners */
/*
.product-media-gallery {
  border-radius: 2rem;
}

.product-media-gallery__thumbnail {
  border-radius: 1rem;
}
*/

/* Custom aspect ratios */
/*
.product-media-gallery--wide .product-media-gallery__container {
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.product-media-gallery--tall .product-media-gallery__container {
  padding-bottom: 133.33%; /* 3:4 aspect ratio */
}
*/

/* Custom hover effects */
/*
.product-media-gallery__thumbnail:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
  transform: translateY(-0.2rem);
}
*/

/* Custom zoom button */
/*
.product-media-gallery__zoom {
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
}
*/
