.euc-gift-photo-gallery .euc-gift-photo-slide img:not(.zoomImg) {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(68vh, 620px);
	margin-inline: auto;
	object-fit: contain;
}

.euc-gift-photo-gallery .flex-control-nav.flex-control-thumbs {
	display: flex;
	gap: .5rem;
	overflow-x: auto;
	padding: .25rem 0 .5rem;
	margin: .5rem 0 0;
	scroll-snap-type: x proximity;
}

.euc-gift-photo-gallery .flex-control-thumbs li {
	float: none;
	flex: 0 0 62px;
	width: 62px;
	margin: 0;
	scroll-snap-align: start;
}

.euc-gift-photo-gallery .flex-control-thumbs img {
	display: block;
	width: 62px;
	height: 62px;
	object-fit: contain;
	border-radius: 4px;
}

.euc-gift-photo-gallery .flex-control-thumbs img:focus-visible {
	outline: 2px solid #246349;
	outline-offset: -2px;
}

.euc-gift-angle-gallery {
	--euc-gift-photo-nav-height: 5.75rem;
}

.euc-gift-angle-gallery .euc-gift-photo-navigation {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
	column-gap: .375rem;
	height: var(--euc-gift-photo-nav-height);
	align-items: start;
}

.euc-gift-angle-gallery .euc-gift-photo-navigation .flex-control-thumbs {
	margin: 0;
	padding: .125rem .125rem .25rem;
	scrollbar-width: thin;
	overscroll-behavior-inline: contain;
}

.euc-gift-angle-gallery .euc-gift-photo-navigation .flex-control-thumbs li {
	min-height: 4.7rem;
}

.euc-gift-angle-gallery .euc-gift-photo-navigation .flex-control-thumbs img {
	border: 1px solid #d8e0da;
	background: #fff;
	cursor: pointer;
}

.euc-gift-angle-gallery .euc-gift-photo-navigation .flex-control-thumbs .flex-active {
	border: 2px solid #246349;
}

.euc-gift-angle-gallery .euc-gift-photo-caption {
	display: block;
	color: #22382d;
	font-size: .65rem;
	line-height: 1.25;
	margin-top: .15rem;
	text-align: center;
	cursor: pointer;
}

.euc-gift-angle-gallery .euc-gift-photo-arrow {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-top: .875rem;
	padding: 0;
	border: 1px solid #bdcec2;
	border-radius: 5px;
	background: #fff;
	color: #246349;
	font-size: 1.5rem;
	line-height: 1;
}

.euc-gift-angle-gallery .euc-gift-photo-arrow:disabled {
	opacity: .4;
	cursor: default;
}

.euc-gift-angle-gallery.euc-gift-photo-navigation-ready .woocommerce-product-gallery__trigger {
	margin-top: var(--euc-gift-photo-nav-height);
}
