.gh-gallery-container {
	width: 100%;
	--gh-img-pos: center center;
}

.gh-main-viewer {
	position: relative;
	width: var(--gh-main-w, 100%);
	height: var(--gh-main-h, 450px);
	overflow: hidden;
	background-color: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gh-main-viewer img,
.gh-main-viewer > img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: var(--gh-main-fit, cover);
	object-position: center center !important;
	margin: 0 auto !important;
	display: block;
}

.gh-thumbs-wrapper {
	margin-top: 10px;
	width: 100%;
	overflow: hidden;
}

.gh-thumbs-scroll {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	scroll-behavior: smooth;
}

.gh-thumb-item {
	width: var(--gh-thumb-w, 120px);
	height: var(--gh-thumb-h, 80px);
	flex: 0 0 auto;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.72;
	transition: opacity 0.2s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gh-thumb-item.is-active,
.gh-thumb-item:hover {
	opacity: 1;
}

.gh-thumb-item img,
.gh-thumb-item > img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: var(--gh-main-fit, cover);
	object-position: center center !important;
	margin: 0 auto !important;
	display: block;
}

@media (max-width: 1024px) {
	.gh-main-viewer {
		width: var(--gh-main-w-tablet, 100%);
		height: var(--gh-main-h-tablet, 380px);
	}
}

@media (max-width: 767px) {
	.gh-main-viewer {
		width: var(--gh-main-w-mobile, 100%);
		height: var(--gh-main-h-mobile, 260px);
	}
}
