/** Shopify CDN: Minification failed

Line 20:19 Expected identifier but found whitespace
Line 20:21 Unexpected "{"
Line 20:30 Expected ":"

**/


/* CSS from section stylesheet tags */
/* Layout */
.pdp-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 0;
  align-items: flex-start;
  background-color: {{ product.metafields.custom.product_bg_color | default: '#ffe6e6' }};
}

/* Media Columns */
.pdp-media { flex: 1 1 50%; max-width: 50%; text-align: center; }
.pdp-info { flex: 1 1 50%; max-width: 50%; }

.product-main-media {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 15px;
  overflow: hidden;

  /* Maintain a square aspect ratio for consistency */
  aspect-ratio: 1 / 1;
}

/* Main Media */
.product-main-media img,
.product-main-media video,
.product-main-media iframe {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keeps proportions */
  border-radius: 8px;
}

/* Fade Effects */
.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Thumbnails */
.thumbnail-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.product-thumbnail-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  max-width: 80%;
  padding: 5px 0;
}
.product-thumbnail-slider::-webkit-scrollbar { display: none; }

.thumbnail-wrapper {
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90px;
}
.thumbnail-wrapper img,
.thumbnail-wrapper video,
.thumbnail-wrapper iframe { 
  max-width: 100%; 
  max-height: 90px; 
  object-fit: contain; 
  display: block; 
}
.thumbnail-wrapper.active,
.thumbnail-wrapper:hover { border-color: #d63b3b; }

/* Video Play Icon */
.video-thumb { position: relative; }
.play-icon {
 position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px; /* Smaller icon size */
  color: #fff;
  background: #d23731; /* Brand primary color */
  border-radius: 50%;
  padding: 4px 7px;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-thumb:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: #b92f29; /* Darker hover tone for brand color */
}

  /* Mobile Adjustments */
@media (max-width: 768px) {
  .play-icon {
    font-size: 12px; /* Smaller for mobile */
    padding: 3px 6px; /* Tighter circle */
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  }
}

/* Arrows */
.thumb-arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: #d63b3b;
}
.thumb-arrow:hover { color: #000; }

/* Mobile */
@media (max-width: 768px) {
  .pdp-wrapper { flex-direction: column; }
  .pdp-media, .pdp-info { max-width: 100%; flex: 1 1 100%; }
  .product-thumbnail-slider { max-width: 100%; }
  .thumb-arrow { display: none; }
  .thumbnail-wrapper { max-width: 70px; }
  .thumbnail-wrapper img, .thumbnail-wrapper video { max-height: 70px; }
}