body.single-product .woocommerce-product-gallery {
	margin: 0 auto;
	max-width: 640px;
}

body.single-product .zla-gallery-thumb-strip {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 34px minmax(0, 1fr) 34px;
	margin-top: 16px;
	width: 100%;
}

body.single-product .zla-gallery-thumb-strip--no-nav {
	grid-template-columns: minmax(0, 1fr);
}

body.single-product .zla-gallery-thumb-strip--no-nav .zla-gallery-thumb-button {
	display: none;
}

body.single-product .flex-control-thumbs {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 10px;
	margin: 0;
	overflow: hidden !important;
	padding: 0;
}

body.single-product .flex-control-thumbs li {
	float: none !important;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	width: calc((100% - 50px) / 6) !important;
}

body.single-product .flex-control-thumbs.zla-thumbs-ready li {
	display: none !important;
}

body.single-product .flex-control-thumbs.zla-thumbs-ready li.zla-thumb-visible {
	display: block !important;
}

body.single-product .flex-control-thumbs li.zla-thumb-current img {
	border-color: #111111;
	opacity: 1;
}

body.single-product .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	background: #f7f7f5;
	border: 1px solid #ddd8cf;
	cursor: pointer;
	object-fit: contain !important;
	opacity: 0.7;
	width: 100% !important;
}

body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs img:hover {
	border-color: #111111;
	opacity: 1;
}

body.single-product .zla-gallery-thumb-button {
	align-items: center;
	appearance: none;
	background: #f7f7f5;
	border: 1px solid #d8d1c5;
	border-radius: 0;
	color: #111111;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 22px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 2px;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
	height: auto;
    min-height: 100%;
    width: 34px;
}

body.single-product .zla-gallery-thumb-button:hover,
body.single-product .zla-gallery-thumb-button:focus-visible {
	background: #111111;
	border-color: #111111;
	color: #ffffff;
	outline: 0;
}

body.single-product .zla-gallery-thumb-button:disabled {
	cursor: not-allowed;
	opacity: 0.3;
}

body.single-product .zla-gallery-thumb-button:disabled:hover {
	background: #f7f7f5;
	border-color: #d8d1c5;
	color: #111111;
}

@media (max-width: 600px) {
	body.single-product .zla-gallery-thumb-strip {
		gap: 8px;
		grid-template-columns: 30px minmax(0, 1fr) 30px;
	}

	body.single-product .zla-gallery-thumb-button {
		font-size: 20px;
		height: 30px;
		width: 30px;
	}

	body.single-product .flex-control-thumbs {
		gap: 8px;
	}

	body.single-product .flex-control-thumbs li {
		width: calc((100% - 40px) / 6) !important;
	}
}
