/* Product-only layout: keep supplier images intact and thumbnail overflow local. */
.zv-product-top > *, .zv-gallery, .zv-product-summary { min-width: 0; }
.zv-product-page .zv-gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 100%; align-self: start; }
.zv-product-page .zv-gallery-main { grid-row: 1; display: block; width: 100%; min-width: 0; aspect-ratio: 1; background: #fff; border: 1px solid var(--zv-border); border-radius: 12px; }
.zv-product-page .zv-gallery-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zv-product-page .zv-gallery-thumbs { grid-row: 2; display: flex; flex-direction: row; gap: 10px; min-width: 0; max-width: 100%; overflow-x: auto; padding: 3px 3px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; overscroll-behavior-x: contain; }
.zv-product-page .zv-gallery-thumbs button { flex: 0 0 72px; width: 72px; height: 72px; padding: 3px; background: #fff; border: 1px solid var(--zv-border); border-radius: 8px; scroll-snap-align: start; cursor: pointer; }
.zv-product-page .zv-gallery-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.zv-product-page .zv-gallery-thumbs button[aria-current="true"] { border: 2px solid var(--zv-dark-plum); box-shadow: 0 0 0 1px var(--zv-dark-plum); }
.zv-product-page .zv-gallery button:focus-visible { outline: 3px solid var(--zv-dark-plum); outline-offset: 3px; }
.zv-product-page .zv-product-story { display: block; background: #fff; border: 1px solid var(--zv-border); border-radius: 12px; margin: 0 0 32px; }
.zv-product-page .zv-product-story > div { max-width: 880px; margin: auto; padding: clamp(24px, 4vw, 52px); overflow-wrap: anywhere; }
.zv-product-story > div > p, .zv-product-story > div > ul, .zv-product-story > div > ol { max-width: 70ch; }
.zv-product-page .zv-product-story p, .zv-product-page .zv-product-story li { font-size: 16px; line-height: 1.8; margin: 0 0 20px; }
.zv-product-page .zv-product-story .zv-kicker { font-size: 12px; margin-bottom: 12px; }
.zv-product-page .zv-product-story h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin: 32px 0 16px; }
.zv-product-page .zv-product-story .zv-kicker + h2 { margin-top: 0; }
.zv-product-story h3 { font-size: 24px; line-height: 1.3; margin: 28px 0 12px; }
.zv-product-story ul, .zv-product-story ol { padding-left: 24px; }
.zv-product-page .zv-product-story img { display: block; width: auto; max-width: 100%; height: auto; max-height: none; object-fit: contain; margin: 0 auto; }
.zv-product-story .commerce-product-detail-images { border-top: 1px solid var(--zv-border); margin-top: 32px; padding-top: 8px; }
.zv-product-page .commerce-product-detail-images p { margin: 0 0 16px; }
.zv-product-story table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 767px) {
  .zv-product-page { padding-left: 16px; padding-right: 16px; }
  .zv-product-page .zv-gallery { position: static; }
  .zv-product-page .zv-gallery-thumbs button { flex-basis: 60px; width: 60px; height: 60px; }
  .zv-product-page .zv-product-summary h1 { font-size: clamp(30px, 8.5vw, 38px); line-height: 1.12; overflow-wrap: anywhere; }
  .zv-product-page .zv-product-story > div { padding: 24px 18px; }
  .zv-product-page .zv-product-story p, .zv-product-page .zv-product-story li { line-height: 1.75; }
  .zv-product-page .zv-product-story h2 { font-size: 29px; }
}
