/* Product-only rules. Desktop gallery dimensions remain controlled by existing settings. */
.productdetails-view .gmt-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.productdetails-view .gmt-table-scroll:focus-visible {
  outline: 2px solid #006e7d;
  outline-offset: 2px;
}
.productdetails-view .product-description iframe {
  max-width: 100%;
}
@media (max-width: 767.98px) {
  .productdetails-view .main-image {
    min-height: 0 !important;
    height: clamp(240px, 75vw, 360px) !important;
    max-width: 100%;
  }
  .productdetails-view .main-image > a,
  .productdetails-view .main-image img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
  }
  .productdetails-view .additional-images img {
    height: 72px;
    object-fit: contain;
  }
  .productdetails-view .product-description div[style*="width"] {
    max-width: 100% !important;
  }
  .productdetails-view .vm-page-title {
    overflow-wrap: anywhere;
  }
}
