/* Thumbnail Styles */
.thumbnail-slide img {
  border: 4px solid transparent;
  transition: border-color 0.2s ease;
}

.thumbnail-slide.embla-thumbs__slide--selected img {
  border-color: black;
}

/* Ensure proper overflow handling */
@media (min-width: 48rem) {
  .product-media__main {
    max-width: 100%;
    overflow: hidden;
  }
  
  .product-media__main .embla {
    max-width: 100%;
  }
  
  .product-media__main .embla__viewport {
    overflow: hidden;
  }
}