.product-detail > * { min-width: 0; }
.breadcrumbs { flex-wrap: wrap; overflow-wrap: anywhere; }
.product-gallery { min-width: 0; align-self: start; }
.product-gallery [hidden] { display: none !important; }
.product-gallery__main { width: 100%; border: 1px solid #e7e7e7; border-radius: 3px; background: #fff; }
.product-gallery__main .swiper-slide { display: flex; align-items: center; justify-content: center; height: clamp(260px, 36vw, 460px); padding: 20px; box-sizing: border-box; }
.product-gallery__main img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.product-gallery__main:not(.swiper-initialized) .swiper-wrapper { display: grid; gap: 16px; }
.product-gallery__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 12px; }
.product-gallery__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ddd; border-radius: 3px; background: #fff; color: #ffa101; }
.product-gallery__arrow:disabled { opacity: .35; cursor: default; }
.product-gallery__arrow:disabled:hover { background: #fff; color: #ffa101; }
.product-gallery__counter { position: static; width: auto; min-width: 64px; text-align: center; unicode-bidi: isolate; }
.product-gallery__thumbs { width: 100%; margin-top: 16px; padding-block: 2px; }
.product-gallery__thumbs .product-gallery__thumbnail { flex-shrink: 0; width: 76px; height: 76px; padding: 6px; border: 1px solid #ddd; border-radius: 3px; background: #fff; box-sizing: border-box; opacity: .65; }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.product-gallery__thumbnail.swiper-slide-thumb-active { border-color: #ffa101; box-shadow: inset 0 0 0 1px #ffa101; opacity: 1; }
.product-gallery__thumbnail:focus-visible { outline-offset: -3px; }
.product-gallery--empty { display: grid; min-height: 260px; place-items: center; border: 1px solid #e7e7e7; color: #777; }
@media (max-width: 700px) {
    .product-gallery__main .swiper-slide { height: clamp(260px, 75vw, 420px); padding: 16px; }
}
