.product-gallery { margin: clamp(32px, 5vw, 64px) 0; overflow: hidden; }
.product-gallery__title { margin: 0 0 20px; }
.product-gallery .product-gallery__slider { width: 100%; overflow: visible; }
.product-gallery .swiper-slide { height: auto; }
.product-gallery__link { position: relative; display: block; width: 100%; color: inherit; cursor: zoom-in; }
.product-gallery__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: transparent; }
.product-gallery__magnify { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #090; border-radius: 50%; background: #090; color: #fff; font-size: 24px; line-height: 1; }
.product-gallery__controls, .product-gallery__position, .product-gallery__arrows { display: flex; align-items: center; gap: 20px; }
.product-gallery__controls { position: relative; z-index: 1; justify-content: flex-end; margin-top: 24px; padding-bottom: 8px; }
.product-gallery__position { min-width: 0; gap: 14px; color: #143b27; font-size: 14px; }
.product-gallery__position > span { white-space: nowrap; }
.product-gallery__arrows { gap: 18px; flex-shrink: 0; }
.product-gallery__arrow { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: #090; cursor: pointer; transition: transform .2s, opacity .2s; }
.product-gallery__arrow svg { width: 42px; height: 42px; fill: currentColor; }
.product-gallery__arrow:hover { transform: scale(1.1); }
.product-gallery__arrow:active { transform: scale(.9); }
.product-gallery__arrow:disabled, .product-gallery__arrow.swiper-button-disabled { opacity: .35; cursor: default; }
.product-gallery button:focus-visible, .product-gallery__link:focus-visible, .product-gallery-lightbox button:focus-visible { outline: 3px solid #090; outline-offset: 4px; }
.product-gallery .product-gallery__pagination { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 6px; width: auto; }
.product-gallery .swiper-pagination-bullet { background: #143b27; }
.product-gallery .swiper-pagination-bullet-active { background: #090; }
.product-gallery__slider:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; }
.product-gallery__slider:not(.swiper-initialized) .swiper-slide { flex: 0 0 100%; scroll-snap-align: start; }
.product-gallery-lightbox { box-sizing: border-box; width: min(96vw, 1800px); max-width: 96vw; height: 94vh; height: 94dvh; max-height: 94dvh; margin: auto; padding: 16px; border: 0; background: #101813; color: #fff; overflow: hidden; }
.product-gallery-lightbox[open] { display: flex; flex-direction: column; }
.product-gallery-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.product-gallery-lightbox__toolbar { display: flex; align-items: center; gap: 16px; min-height: 44px; padding-bottom: 12px; }
.product-gallery-lightbox__toolbar > span { margin-right: auto; }
.product-gallery-lightbox__toolbar button { min-height: 44px; padding: 8px 16px; border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; cursor: pointer; }
.product-gallery-lightbox__viewport { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.product-gallery-lightbox__viewport img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; }
.product-gallery-lightbox.is-zoomed .product-gallery-lightbox__viewport { cursor: grab; }
.product-gallery-lightbox.is-zoomed .product-gallery-lightbox__viewport:active { cursor: grabbing; }
.product-gallery-lightbox.is-zoomed img { max-width: none; max-height: none; margin: 0; }
.product-gallery-lightbox__navigation { display: flex; justify-content: center; gap: 24px; padding-top: 10px; }
@media (min-width: 768px) { .product-gallery__slider:not(.swiper-initialized) .swiper-slide { flex-basis: 50%; } }
@media (min-width: 1200px) { .product-gallery__slider:not(.swiper-initialized) .swiper-slide { flex-basis: 33.3333%; } }
@media (max-width: 767px) {
    .product-gallery__controls { gap: 14px; }
    .product-gallery__arrows { gap: 8px; }
    .product-gallery-lightbox { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { .product-gallery__arrow { transition: none; } }
