.otk-featured-gallery {
	width: 100%;
}

.otk-featured-gallery__main {
	align-items: center;
	background: #f7f7f7;
	display: flex;
	height: 520px;
	justify-content: center;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.otk-featured-gallery__main-image {
	display: block;
	height: 100%;
	inset: 0;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	opacity: 0;
	position: absolute;
	transition: opacity 220ms ease;
	width: 100%;
}

.otk-featured-gallery__main-image.active {
	opacity: 1;
}

.otk-featured-gallery__thumbnails {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-top: 12px;
}

.otk-featured-gallery .otk-featured-gallery__thumbnail {
	align-items: center;
	appearance: none;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 1px solid #d7d7d7;
	border-style: solid;
	box-shadow: none !important;
	box-sizing: border-box;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	height: 76px;
	justify-content: center;
	line-height: 0;
	margin: 0;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	padding: 0 !important;
	position: relative;
	text-decoration: none;
	transition:
		border-color 180ms ease,
		transform 180ms ease;
	width: 76px;
}

.otk-featured-gallery .otk-featured-gallery__thumbnail:hover,
.otk-featured-gallery .otk-featured-gallery__thumbnail:focus,
.otk-featured-gallery .otk-featured-gallery__thumbnail:active,
.otk-featured-gallery .otk-featured-gallery__thumbnail.active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

.otk-featured-gallery__thumbnail-media {
	align-items: center;
	background: #ffffff;
	display: flex;
	inset: 0;
	justify-content: center;
	overflow: hidden;
	position: absolute;
}

.otk-featured-gallery__thumbnail-media::after {
	background-color: #111111;
	content: "";
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 180ms ease;
	z-index: 1;
}

.otk-featured-gallery .otk-featured-gallery__thumbnail:hover,
.otk-featured-gallery .otk-featured-gallery__thumbnail:focus-visible {
	transform: translateY(-1px);
}

.otk-featured-gallery__thumbnail:hover .otk-featured-gallery__thumbnail-media::after,
.otk-featured-gallery__thumbnail:focus-visible .otk-featured-gallery__thumbnail-media::after {
	opacity: var(--otk-thumbnail-overlay-opacity, 0.18);
}

.otk-featured-gallery__thumbnail:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.otk-featured-gallery__thumbnail.active {
	border-color: #111111;
	opacity: 1;
}

.otk-featured-gallery__thumbnail-media img {
	border: 0;
	box-shadow: none;
	display: block;
	height: auto !important;
	margin: 0;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	padding: 0;
	pointer-events: none;
	position: relative;
	vertical-align: middle;
	width: auto !important;
	z-index: 0;
}

.otk-featured-gallery__placeholder {
	background: #f6f7f8;
	border: 1px dashed #c3c7cf;
	color: #555f6d;
	font-size: 14px;
	line-height: 1.5;
	padding: 18px;
	text-align: center;
}
