.related-products,
.related-products *,
.related-products *::before,
.related-products *::after {
	box-sizing: border-box;
}

#related .related-products__track .product,
#related .related-products__track .product-card {
	float: none;
	border: 0;
}

#related .related-products__track .product::before {
	display: none;
}

#catalogElement #related .productList {
	border-left: 0;
}

#related .heading {
	display: none;
}

#related #catalogSection {
	border: 0;
}

.related-products {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	isolation: isolate;
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
	padding: 0;
}

.related-products__header {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	width: 100%;
}

.related-products__title {
	margin: 0;
	font-weight: 500;
	font-size: 20px;
	line-height: 32px;
	color: #1c2126;
	text-transform: none;
	letter-spacing: 0;
	border: 0;
	padding: 0;
}

.related-products__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 20px;
	color: #888;
	text-decoration: none;
	padding: 4px 0;
	white-space: nowrap;
}

.related-products__all:hover {
	color: #ff5a00;
}

.related-products__slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.related-products__viewport {
	overflow: hidden;
	scroll-behavior: auto;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.related-products__track {
	display: flex;
	gap: 24px;
	flex-wrap: nowrap;
	border: 0;
	align-items: flex-start;
	width: max-content;
	max-width: none;
}

#catalogElement #related {
	overflow: visible;
	position: relative;
	z-index: 10;
	min-width: 0;
	max-width: 100%;
}

#catalogElement #related .related-products {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
}

#catalogElement #related .related-products__slider {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
}

#catalogElement #related .related-products__track {
	overflow: visible;
	width: max-content;
}

#catalogElement.product-detail-v2 #elementContainer {
	position: relative;
	z-index: 1;
}

#catalogElement.product-detail-v2 #related {
	min-width: 0;
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	overflow: visible;
	position: relative;
	z-index: 10;
}

#catalogElement.product-detail-v2 #related::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	margin: 0;
	background: #fff;
}

#related .related-products__track .product-card {
	flex: 0 0 227px;
	width: 227px;
	min-width: 227px;
	max-width: 227px;
	height: 354px;
	min-height: 354px;
}

#catalogElement #related .related-products__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0 0 232px;
	margin: 0 0 -232px;
	pointer-events: none;
	scrollbar-width: none;
}

#catalogElement #related .related-products__slider {
	min-height: 374px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	scrollbar-width: none;
}

#catalogElement #related .related-products__track {
	pointer-events: auto;
	transition: none;
	transform: none !important;
}

#catalogElement #related .related-products__slider::-webkit-scrollbar,
#catalogElement #related .related-products__viewport::-webkit-scrollbar {
	display: none;
}

#catalogElement #related .related-products__nav,
#related .related-products__nav {
	display: none !important;
}

#catalogElement #related .product-card__hover {
	display: none;
	flex-direction: column;
	gap: 18px;
}

#catalogElement #related .product-card__fast-view {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

@media all and (min-width: 768px) {
	#catalogElement #related .related-products__viewport {
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 232px;
		margin-bottom: -232px;
	}

	#catalogElement #related .related-products__slider {
		min-height: 374px;
		overflow: visible;
	}

	#catalogElement #related .product-card {
		pointer-events: auto;
	}

	#catalogElement #related .product-card:hover .product-card__inner {
		z-index: 101;
		overflow: visible;
		background: #fff;
		padding-bottom: 24px;
		box-shadow: 0 4px 42px rgba(0, 0, 0, 0.08);
	}

	#catalogElement #related .product-card:hover .product-card__hover {
		display: flex;
	}

	#catalogElement #related .product-card:hover .product-card__fast-view {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}

	#catalogElement #related .product-card__inner {
		position: absolute;
		left: 0;
		width: 227px;
		transform: none;
	}

	#catalogElement #related .product-card:hover .product-card__inner {
		left: 50%;
		transform: translateX(-50%);
	}
}

#catalogElement #related .product-card {
	height: 354px;
	min-height: 354px;
	max-height: none;
	overflow: visible;
	border-radius: 16px;
	background: transparent;
}

#catalogElement #related .product-card:hover {
	z-index: 100;
}

#catalogElement #related .product-card__spec {
	display: none !important;
}

#catalogElement #related .product-card__media {
	position: relative;
	height: 230px;
	border-radius: 16px 16px 0 0;
	background: #fff;
	overflow: hidden;
}

#catalogElement #related .product-card__picture,
#catalogElement #related .product-card__picture.picture {
	position: relative;
	display: block;
	width: 100%;
	height: 100% !important;
	max-width: 100%;
	line-height: normal !important;
	overflow: hidden;
}

#catalogElement #related .product-card__picture img,
#catalogElement #related .product-card__picture.picture img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover;
	object-position: center center;
	transform: none;
}

#catalogElement #related .product-card__markers,
#catalogElement #related .product-card__timer,
#catalogElement #related .product-card__sku {
	display: none !important;
}

#catalogElement #related .product-card__body {
	gap: 18px;
	padding: 0 12px;
}

#catalogElement #related .product-card__main {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#catalogElement #related .product-card:hover .product-card__main {
	gap: 10px;
}

#catalogElement #related .product-card__price-row {
	order: 0;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 16px;
}

#catalogElement #related .product-card__price,
#catalogElement #related .product-card .price,
#catalogElement #related .product-card .product-card__price.price {
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: #111827;
	white-space: nowrap;
}

#catalogElement #related .product-card__old-price,
#catalogElement #related .product-card__old-price.discount {
	padding: 4px 0;
	font-family: Onest, Roboto, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 18px;
	color: #999;
	text-decoration: line-through;
}

#catalogElement #related .product-card__name,
#catalogElement #related .product-card .name,
#catalogElement #related .product-card .product-card__name.name {
	order: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #1c2126;
	text-decoration: none;
}

#catalogElement #related .product-card__availability {
	order: 1;
	margin-top: 0;
}

#catalogElement #related .product-card__name:hover {
	color: #ff5a00;
}

#catalogElement #related .product-card__availability-text {
	font-size: 14px;
	line-height: 20px;
	color: #73b24e;
}

#catalogElement #related .product-card .price .measure,
#catalogElement #related .product-card__price .measure {
	font-weight: 600;
}

@media all and (max-width: 1200px) {
	#catalogElement.product-detail-v2 #related {
		overflow-x: visible;
		overflow-y: visible;
	}

	#catalogElement #related .related-products__viewport {
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	#catalogElement #related .related-products__viewport::-webkit-scrollbar {
		display: none;
	}

	#catalogElement #related .related-products__track {
		pointer-events: auto;
		transform: none !important;
	}

	#catalogElement #related .related-products__slider {
		overflow: visible;
	}

	.related-products__track {
		width: max-content;
	}
}

@media all and (max-width: 767px) {
	#catalogElement.product-detail-v2 #related {
		padding-top: 0;
		padding-bottom: 0;
		overflow: visible;
	}

	#catalogElement.product-detail-v2 #related .related-products {
		gap: 24px;
		padding: 32px 0;
		max-width: none;
		width: 100%;
	}

	#catalogElement.product-detail-v2 #related .related-products__header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 24px;
		width: 100%;
		padding-left: 0;
		padding-right: 16px;
		box-sizing: border-box;
	}

	#catalogElement.product-detail-v2 #related .related-products__slider {
		position: relative;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		overflow: hidden;
		min-height: 0;
	}

	#catalogElement.product-detail-v2 #related .related-products__viewport {
		overflow-x: auto !important;
		overflow-y: hidden;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0;
		padding: 0;
		margin: 0;
		pointer-events: auto !important;
		touch-action: pan-x;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	#catalogElement.product-detail-v2 #related .related-products__viewport::-webkit-scrollbar {
		display: none;
	}

	#catalogElement.product-detail-v2 #related .related-products__track {
		gap: 16px;
		padding-right: 16px;
	}

	#catalogElement.product-detail-v2 #related .related-products__track .product-card,
	#catalogElement.product-detail-v2 #related .product-card {
		flex: 0 0 226px;
		width: 226px;
		min-width: 226px;
		max-width: 226px;
		height: auto;
		min-height: 0;
	}

	#catalogElement.product-detail-v2 #related .product-card__inner,
	#catalogElement.product-detail-v2 #related .product-card:hover .product-card__inner {
		position: relative;
		left: 0;
		width: 226px;
		transform: none;
		padding-bottom: 0;
		box-shadow: none;
		background: transparent;
	}

	#catalogElement.product-detail-v2 #related .product-card__media {
		height: 230px;
		border-radius: 16px 16px 0 0;
	}

	#catalogElement.product-detail-v2 #related .product-card__picture img {
		object-fit: cover;
	}

	#catalogElement.product-detail-v2 #related .product-card__fast-view,
	#catalogElement.product-detail-v2 #related .product-card__hover,
	#catalogElement.product-detail-v2 #related .product-card__sku {
		display: none !important;
	}

	#catalogElement.product-detail-v2 #related .product-card__body {
		gap: 0;
		padding: 0 12px;
	}

	#catalogElement.product-detail-v2 #related .product-card__main {
		gap: 8px;
	}

	#catalogElement.product-detail-v2 #related .product-card__price,
	#catalogElement.product-detail-v2 #related .product-card .price,
	#catalogElement.product-detail-v2 #related .product-card .product-card__price.price {
		font-weight: 600;
		font-size: 24px;
		line-height: 32px;
		color: #111827;
	}

	#catalogElement.product-detail-v2 #related .product-card__old-price,
	#catalogElement.product-detail-v2 #related .product-card__old-price.discount {
		padding: 4px 0;
		font-size: 16px;
		line-height: 18px;
		color: #999;
	}

	#catalogElement.product-detail-v2 #related .product-card__name,
	#catalogElement.product-detail-v2 #related .product-card .name,
	#catalogElement.product-detail-v2 #related .product-card .product-card__name.name {
		order: 2;
		-webkit-line-clamp: 5;
		line-clamp: 5;
		font-size: 14px;
		line-height: 20px;
		color: #1c2126;
	}

	#catalogElement.product-detail-v2 #related .product-card__availability {
		order: 1;
	}

	#catalogElement.product-detail-v2 #related .product-card__availability-text {
		font-size: 14px;
		line-height: 20px;
		color: #73b24e;
	}
}

@media all and (max-width: 600px) {
	.related-products {
		gap: 24px;
	}

	.related-products__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	#catalogElement.product-detail-v2 #related .related-products__header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 24px;
	}

	#related .related-products__track .product-card {
		flex: 0 0 226px;
		width: 226px;
		min-width: 226px;
		max-width: 226px;
	}

	#catalogElement #related .product-card {
		height: auto;
		min-height: 0;
	}

	#catalogElement.product-detail-v2 #related .product-card__inner,
	#catalogElement.product-detail-v2 #related .product-card:hover .product-card__inner {
		width: 226px;
	}
}
