.product-comparison-section {
	display: flex;
	flex-flow: column;
	margin: 16px 16px 0;

	@include desktop {
		align-self: center;
		margin: 20px 0 0;
		width: calc(100% - 32px);
		max-width: $width-desktop;
	}
}

.product-comparison-section__title {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.03em;

	@include desktop {
		font-size: 48px;
	}
}

.product-comparison-section__control {
	display: flex;
	flex-flow: column;
	gap: 16px;
	margin-top: 16px;

	@include mobile {
		.input-tumbler {
			gap: 6px;
		}
	}

	@include desktop {
		flex-flow: row nowrap;
		align-items: center;
		gap: 20px;
		margin-top: 20px;
	}
}

.product-comparison-section__clear-btn {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 16px;
	color: $color-gray-md;

	@include desktop {
		gap: 10px;
		font-size: 16px;
		line-height: 18px;
	}

	svg {
		width: 24px;
		height: 24px;
		color: $color-gray-low;
	}
}

.product-comparison-section__slider {
	position: relative;
	margin-top: 20px;

	@include mobile {
		.swiper-slider {
			margin: 0 -16px;
			padding: 0 16px;
			overflow: hidden;
		}
	}

	@include desktop {
		margin-top: 32px;

		.swiper-slider {
			overflow: hidden;
		}

		.slider-nav-btn--next,
		.slider-nav-btn--prev {
			top: 85px;
		}
	}
}

.product-comparison-section__slide {
	display: flex !important;
	flex-flow: column;

	.product-comparison-section__clear-btn {
		align-self: center;
		margin-top: 8px;

		@include desktop {
			margin-top: 16px;
		}
	}

	&:not(:last-child) {
		.product-comparison-section__slide__list {
			margin-right: -8px;

			@include desktop {
				margin-right: -20px;
			}
		}
	}

	&:not(:first-child) {
		.product-comparison-section__slide__list {
			li {
				span:nth-child(1) {
					opacity: 0;
					pointer-events: none;
				}
			}
		}
	}
}

.product-comparison-section__slide__list {
	display: flex;
	flex-flow: column;
	margin-top: 20px;

	@include desktop {
		margin-top: 32px;
	}

	li {
		display: flex;
		flex-flow: column;
		gap: 6px;
		font-size: 14px;
		line-height: 16px;

		@include desktop {
			font-size: 16px;
			line-height: 18px;
		}

		&:not(:last-child) {
			padding-bottom: 10px;
			margin-bottom: 10px;
			border-bottom: 1px solid $color-border;

			@include desktop {
				padding-bottom: 12px;
				margin-bottom: 12px;
			}
		}

		span:nth-child(1) {
			color: $color-gray-md;
		}
	}
}

.product-comparison-section__empty {
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 20px;
	margin-top: 20px;
	border-radius: 28px;
	border: 1px solid $color-border;
	box-sizing: border-box;

	@include desktop {
		padding: 50px;
		margin-top: 32px;
		border-radius: 32px;
	}
}

.product-comparison-section__empty__icon {
	width: 42px;
	height: 42px;
	color: $color-green;
}

.product-comparison-section__empty__title {
	margin-top: 14px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-align: center;

	@include desktop {
		margin-top: 16px;
		font-size: 32px;
	}
}

.product-comparison-section__empty__desc {
	margin-top: 4px;
	font-size: 14px;
	line-height: 150%;
	text-align: center;

	@include mobile {
		max-width: 288px;
	}

	@include desktop {
		margin-top: 6px;
		font-size: 16px;
	}
}

.product-comparison-section__empty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	min-height: 54px;
	padding: 0px 18px;
	border-radius: 14px;
	background-color: $color-green;
	font-weight: 500;
	font-size: 16px;
	line-height: 18px;
	color: $color-white;
	box-sizing: border-box;

	@include desktop {
		margin-top: 16px;
		min-height: 64px;
		padding: 0px 24px;
		border-radius: 16px;
		font-size: 18px;
		line-height: 21px;

		&:hover {
			background-color: $color-green-hover;
		}
	}
}
