.embla {
	max-width: 48rem;
	margin: auto;

	--slide-height: 19rem;
	--slide-spacing: 1rem;
	--slide-size: 100%;
}

.embla__viewport {
	overflow: hidden;
}

.embla__container {
	display: flex;
	touch-action: pan-y pinch-zoom;
	margin-left: calc(var(--slide-spacing) * -1);
}

.embla__slide {
	transform: translate3d(0, 0, 0);
	flex: 0 0 var(--slide-size);
	min-width: 0;
	padding-left: var(--slide-spacing);
	display: flex;
	justify-content: center;
	align-items: center;
}

.embla__slide__number {
	box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
	border-radius: 1.8rem;
	font-size: 4rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;

	img {
		max-height: 470px;
	}

	.new {
		position: absolute;
		top: 10px;
		left: 10px;
		display: inline-block;
		width: 80px;
		height: 30px;
		padding: 5px 10px;
		font-weight: 500;
		font-size: 14px;
		line-height: 130%;
		text-align: center;
		background: #4ad6d6;
		color: #fff;
	}
}

.embla-thumbs {
	--thumbs-slide-spacing: 0.8rem;
	--thumbs-slide-height: 6rem;

	margin-top: var(--thumbs-slide-spacing);
	max-width: 470px;
}

.embla-thumbs__viewport {
	overflow: hidden;
}

.embla-thumbs__container {
	display: flex;
	justify-content: center;
	flex-direction: row;
	margin-left: calc(var(--thumbs-slide-spacing) * -1);
}

.embla-thumbs__slide {
	flex: 0 0 22%;
	min-width: 0;
	padding-left: var(--thumbs-slide-spacing);
}

@media (min-width: 576px) {
	.embla-thumbs__slide {
		flex: 0 0 15%;
	}
}

.embla-thumbs__slide__number {
	-webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
	-webkit-appearance: none;
	appearance: none;
	background-color: transparent;
	touch-action: manipulation;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	padding: 0;
	margin: 0;
	box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--detail-high-contrast);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.embla-thumbs__slide--selected .embla-thumbs__slide__number {
	border: 1px solid #beb083;
	color: var(--text-body);
}
