.f3d-alternatives {
	clear: both;
	scroll-margin-top: 34vh;
	margin: 22px 0 24px;
	padding-top: 18px;
	border-top: 1px solid var(--theme-border-color, #e8e8e8);
}

.f3d-alternatives__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.f3d-alternatives__heading > span {
	color: var(--theme-heading-color, #17212b);
	font-size: 16px;
	font-weight: 700;
}

.f3d-alternatives__heading small {
	color: var(--theme-text-color, #68727d);
	font-size: 12px;
}

.f3d-alternatives__carousel {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) 36px;
	align-items: center;
	gap: 8px;
}

.f3d-alternatives__grid {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 3px 2px 11px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.f3d-alternatives__grid::-webkit-scrollbar {
	display: none;
}

.f3d-alternative {
	position: relative;
	display: flex;
	min-width: 0;
	flex: 0 0 96px;
	padding: 6px 6px 8px;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	color: var(--theme-text-color, #4f5964);
	background: #fff;
	border: 1px solid var(--theme-border-color, #dfe3e7);
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(21, 31, 41, .04);
	text-align: center;
	text-decoration: none;
	scroll-snap-align: start;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.f3d-alternative:hover,
.f3d-alternative:focus-visible {
	color: var(--theme-link-hover-color, #176b87);
	border-color: var(--theme-palette-color-1, #176b87);
	box-shadow: 0 5px 18px rgba(23, 107, 135, .14);
	transform: translateY(-2px);
}

.f3d-alternative.is-current {
	border: 2px solid var(--theme-palette-color-1, #176b87);
	box-shadow: 0 0 0 2px rgba(23, 107, 135, .12);
}

.f3d-alternative__image {
	display: grid;
	width: 100%;
	aspect-ratio: 1;
	place-items: center;
	overflow: hidden;
	border-radius: 6px;
	background: #fff;
}

.f3d-alternative__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.f3d-alternative.status-exhausted .f3d-alternative__image {
	opacity: .55;
	filter: grayscale(.25) brightness(.92);
	transition: opacity .18s ease, filter .18s ease;
}

.f3d-alternative__label {
	display: block;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
}

.f3d-alternative__status {
	position: absolute;
	top: 4px;
	left: 4px;
	padding: 2px 5px;
	color: #263238;
	background: rgba(250, 250, 247, .96);
	border: 1px solid rgba(38, 50, 56, .12);
	border-radius: 999px;
	box-shadow: 0 2px 7px rgba(21, 31, 41, .12);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.1;
}

.f3d-alternative.status-new .f3d-alternative__status {
	color: #287a32;
	border-color: rgba(40, 122, 50, .35);
}

.f3d-alternatives__nav {
	display: grid;
	width: 34px;
	height: 34px;
	padding: 0;
	place-items: center;
	color: var(--theme-palette-color-1, #176b87);
	background: #fff;
	border: 1px solid var(--theme-border-color, #dfe3e7);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(21, 31, 41, .1);
	cursor: pointer;
	transition: color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.f3d-alternatives__nav span {
	margin-top: -2px;
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
}

.f3d-alternatives__nav:hover,
.f3d-alternatives__nav:focus-visible {
	color: #fff;
	background: var(--theme-palette-color-1, #176b87);
	border-color: var(--theme-palette-color-1, #176b87);
}

.f3d-alternatives__nav:disabled {
	opacity: .28;
	cursor: default;
	box-shadow: none;
}

@media (max-width: 689px) {
	.f3d-alternatives__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.f3d-alternatives__carousel {
		display: block;
	}

	.f3d-alternative {
		flex-basis: clamp(82px, 26vw, 94px);
	}

	.f3d-alternatives__nav {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.f3d-alternative {
		transition: none;
	}
}
