.has-bike-gallery .product-modal-panel { width: min(1440px, 100%); grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); }
.has-bike-gallery .product-modal-media { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 0; padding: 14px; background: #f5f5f5; }
.bike-gallery-stage { position: relative; width: 100%; }
.bike-gallery-open { border: 0; padding: 0; width: 100%; background: transparent; cursor: zoom-in; }
.has-bike-gallery .bike-gallery-open img { display: block; width: 100%; height: min(62vh, 650px); max-height: none; padding: 0; object-fit: contain; }
.bike-gallery-prev, .bike-gallery-next, .bike-zoom-close { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ccc; border-radius: 50%; background: #fff; color: #111; font-size: 30px; cursor: pointer; z-index: 2; }
.bike-gallery-prev { left: 8px; top: calc(50% - 22px); }
.bike-gallery-next { right: 8px; top: calc(50% - 22px); }
.bike-gallery-prev[hidden], .bike-gallery-next[hidden] { display: none; }
.bike-gallery-thumbs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 10px 0; }
.bike-gallery-thumbs button { flex: 0 0 68px; width: 68px; height: 68px; padding: 2px; background: white; border: 2px solid transparent; cursor: pointer; }
.bike-gallery-thumbs button[aria-pressed="true"] { border-color: #b66520; }
.has-bike-gallery .bike-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.bike-gallery-count { font-size: 14px; color: #555; }
.bike-gallery-zoom { box-sizing: border-box; width: 96vw; height: 94dvh; max-width: none; max-height: none; padding: 50px 12px 35px; border: 0; background: #f5f5f5; overflow: hidden; }
.bike-gallery-zoom::backdrop { background: #000c; }
.bike-gallery-zoom > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bike-zoom-close { top: 8px; right: 8px; }
.bike-gallery-zoom output { position: absolute; bottom: 10px; left: 0; width: 100%; text-align: center; }
@media (max-width: 760px) {
  .has-bike-gallery .product-modal-panel { grid-template-columns: 1fr; }
  .has-bike-gallery .bike-gallery-open img { height: 40dvh; }
  .has-bike-gallery .product-modal-media { padding-top: 50px; }
  .bike-gallery-thumbs button { flex-basis: 58px; width: 58px; height: 58px; }
}
