.price-multi-range {
	position: relative;
	display: flex;
	flex-flow: column;
	gap: 20px;
	max-width: 36rem;
	width: 100%;

	input[type='range']::-webkit-slider-thumb {
		pointer-events: all;
		width: 24px;
		height: 24px;
		-webkit-appearance: none;
	}
}

.price-multi-range__group {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.price-multi-range__input-wrapper {
	position: relative;

	input {
		width: 100%;
		padding-right: 16px;
		padding-left: calc(16px + 18px + 12px);
		height: 54px;
		font-size: 16px;
		border-radius: 12px;
		background-color: $color-white;
		box-sizing: border-box;
	}

	&::before {
		content: attr(data-input-placeholder);
		position: absolute;
		left: 16px;
		top: calc((54px - 16px) / 2);
		font-size: 14px;
		line-height: 16px;
		color: $color-gray-md;
		pointer-events: none;
	}
}

.price-multi-range__input-hidden {
	position: absolute;
	pointer-events: none;
	appearance: none;
	z-index: 20;
	height: 8px; /* h-2 */
	width: 100%;
	opacity: 0;
	cursor: pointer;
}

.price-multi-range__slide {
	position: relative;
	height: 3px;
	z-index: 10;
}

.price-multi-range__slide__bg {
	position: absolute;
	inset: 0;
	border-radius: calc(3px / 2);
	background-color: $color-border;
	z-index: 10;
}

.price-multi-range__slide__bg-active {
	position: absolute;
	top: 0;
	bottom: 0;
	border-radius: calc(3px / 2);
	background-color: $color-green;
	z-index: 20;
}

.price-multi-range__dot-left {
	position: absolute;
	top: 0;
	left: 0;
	width: 16px;
	height: 16px;
	margin-top: calc((-16px + 3px) / 2);
	margin-left: calc(-16px / 2);
	border-radius: 50%;
	background-color: $color-green;
	z-index: 30;
}

.price-multi-range__dot-right {
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 16px;
	margin-top: calc((-16px + 3px) / 2);
	margin-right: calc(-16px / 2);
	border-radius: 50%;
	background-color: $color-green;
	z-index: 30;
}
