#configurations-title {
	scroll-margin-top: 148px;
}
.body-compare {
	min-width: 0;
	border: 1px solid var(--colorBorder);
	border-radius: 12px;
	background: var(--mainBgColor);
	overflow: hidden;
}
.body-compare__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
}
.body-compare__title {
	font-size: 26px;
	line-height: 1.3;
}
.body-compare__caption {
	margin-top: 8px;
	color: var(--textColorSecondary);
	font-size: 14px;
	line-height: 1.5;
}
.body-compare__back {
	flex-shrink: 0;
	gap: 10px;
	min-height: 46px;
}
.body-compare__back span {
	font-size: 22px;
	line-height: 1;
}
.body-compare__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 28px;
	border-top: 1px solid var(--colorBorder);
	background: var(--colorSurfaceSubtle);
}
.body-compare__filter {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	color: var(--colorPrem);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.body-compare__filter input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.body-compare__switch {
	position: relative;
	width: 46px;
	height: 28px;
	flex-shrink: 0;
	border-radius: 99px;
	background: #b8c4d0;
	transition: background-color 0.18s ease;
}
.body-compare__switch::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px #002c5f26;
	transition: transform 0.18s ease;
	content: '';
}
.body-compare__filter input:checked + .body-compare__switch {
	background: var(--colorPrem);
}
.body-compare__filter input:checked + .body-compare__switch::after {
	transform: translateX(18px);
}
.body-compare__filter input:focus-visible + .body-compare__switch {
	outline: 3px solid var(--colorItem);
	outline-offset: 3px;
}
.body-compare__status {
	color: var(--textColorSecondary);
	font-size: 13px;
	line-height: 1.5;
}
.body-compare__hint {
	display: none;
	padding: 12px 20px;
	color: var(--textColorSecondary);
	font-size: 12px;
	line-height: 1.5;
}
.body-compare__scroll {
	max-height: 680px;
	border: 0;
	border-radius: 0;
	overflow: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: #aebfce var(--colorSurfaceSubtle);
}
.body-compare__scroll:focus-visible {
	outline: 2px solid var(--colorItem);
	outline-offset: -2px;
}
.body-compare__table {
	min-width: calc(220px + var(--comparison-columns) * 200px);
	table-layout: fixed;
}
.body-compare__features {
	width: 220px;
}
.body-compare__option {
	width: 200px;
}
.body-compare__table th,
.body-compare__table td {
	min-width: 0;
	padding: 18px 20px;
	border-right: 1px solid var(--colorBorder);
	vertical-align: middle;
}
.body-compare__table th:first-child {
	min-width: 0;
}
.body-compare__table th:last-child,
.body-compare__table td:last-child {
	border-right: 0;
}
.body-compare__table thead th {
	position: sticky;
	top: 0;
	z-index: 3;
	background: var(--colorSurfacePale);
}
.body-compare__table tr > th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	background: var(--mainBgColor);
	box-shadow: 2px 0 4px #002c5f08;
}
.body-compare__table thead tr > th:first-child {
	z-index: 4;
	background: var(--colorSurfacePale);
}
.body-compare__table .body-details-table__group th {
	padding-block: 14px;
	background: var(--colorSurfaceSubtle);
	color: var(--colorPrem);
	font-size: 13px;
	font-weight: 700;
}
.body-compare__table tbody th {
	font-weight: 500;
	line-height: 1.5;
}
.body-compare__table td {
	text-align: center;
}
.body-compare__name {
	display: block;
	font-size: 17px;
	line-height: 1.4;
}
.body-compare__table .body-details-table__price {
	margin-top: 10px;
	color: var(--colorPrem);
	font-size: 15px;
	font-weight: 600;
}
.body-compare__table [data-compare-different='1'] td {
	background: #f5fafc;
}
.body-compare__availability {
	display: inline-grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: var(--colorSurfaceSubtle);
	color: #8c9baa;
	font-size: 20px;
	font-weight: 600;
}
.body-compare__availability--yes {
	background: #e2f4ed;
	color: #267451;
}
.body-compare__empty {
	margin: 0;
	padding: 24px 28px;
	border-top: 1px solid var(--colorBorder);
	background: var(--colorSurfaceSubtle);
}
@media (max-width: 1023px) {
	#configurations-title {
		scroll-margin-top: 80px;
	}
}
@media (max-width: 767px) {
	.body-compare__heading {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 20px 16px;
	}
	.body-compare__title {
		font-size: 22px;
	}
	.body-compare__back {
		width: 100%;
		font-size: 14px;
	}
	.body-compare__toolbar {
		flex-wrap: wrap;
		gap: 4px 16px;
		padding: 12px 16px;
	}
	.body-compare__hint {
		display: block;
	}
	.body-compare__scroll {
		max-height: 60vh;
	}
	.body-compare__table {
		min-width: calc(152px + var(--comparison-columns) * 164px);
		font-size: 12px;
	}
	.body-compare__features {
		width: 152px;
	}
	.body-compare__option {
		width: 164px;
	}
	.body-compare__table th,
	.body-compare__table td {
		padding: 14px 12px;
	}
	.body-compare__name {
		font-size: 14px;
	}
	.body-compare__table .body-details-table__price {
		font-size: 13px;
	}
	.body-compare__empty {
		padding: 20px 16px;
	}
}
