.eme-product-gallery {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.eme-product-gallery__breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	color: #7a827e;
	font-size: 13px;
	line-height: 1.4;
}

.eme-product-gallery__breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.eme-product-gallery__breadcrumb .breadcrumb_last {
	color: #202522;
	font-weight: 600;
}

.eme-product-gallery__breadcrumb-delimiter {
	display: inline-block;
	margin: 0 9px;
	color: #a7ada9;
}

.eme-product-gallery__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 620px;
	background: radial-gradient(circle at 50% 45%, #fff 0, #f5f6f3 58%, #eceeeb 100%);
	border-radius: 16px;
	overflow: hidden;
}

.eme-product-gallery__main-image {
	display: block;
	width: 88%;
	height: 88%;
	object-fit: contain;
	transition: opacity .16s ease;
}

.eme-product-gallery__main-image.is-changing { opacity: .25; }

.eme-product-gallery__arrow {
	position: absolute;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111513;
	box-shadow: 0 7px 24px rgba(15, 20, 18, .1);
}

.eme-product-gallery__arrow--previous { left: 16px; }
.eme-product-gallery__arrow--next { right: 16px; }
.eme-product-gallery__arrow svg { width: 16px; height: 16px; }

.eme-product-gallery__thumbs {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
}

.eme-product-gallery__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	padding: 8px;
	border: 1px solid #e2e5e2;
	border-radius: 10px;
	background: #f6f7f4;
	overflow: hidden;
}

.eme-product-gallery__thumb.is-active {
	border: 3px solid #ffd000;
}

.eme-product-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.eme-product-gallery__stage { height: 520px; }
}

@media (max-width: 767px) {
	.eme-product-gallery__stage { height: 390px; }
	.eme-product-gallery__thumb { flex-basis: 76px; width: 76px; height: 76px; }
	.eme-product-gallery__arrow { width: 40px; height: 40px; }
	.eme-product-gallery__arrow--previous { left: 10px; }
	.eme-product-gallery__arrow--next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.eme-product-gallery__main-image { transition: none; }
}
