.calc-group {
	min-width: 0;
	margin: 0;
	padding: 18px 0;
	border: 0;
	background: linear-gradient(var(--color-gray-200), var(--color-gray-200)) top / 100% 1px no-repeat;
}

.calc-group__title {
	margin: 0 0 18px;
	color: var(--color-gray-900);
	font-family: var(--font-2);
	font-size: 28px;
	line-height: 34px;
	text-transform: uppercase;
}

.calc-group__hint {
	margin: 0 0 18px;
	color: var(--color-gray-500);
	color: color-mix(in srgb, var(--color-gray-500), var(--color-gray-875) 20%);
	font-size: 14px;
	line-height: 20px;
}

.calc-group__options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.calc-group__dots {
	display: none;
}

.calc-group__error {
	margin: 12px 0 0;
	color: var(--color-accent-dark);
	font-size: 14px;
	line-height: 20px;
}

.calc-group__error:empty {
	display: none;
}

@media (max-width: 767.98px) {
	.calc-group__hint {
		display: none;
	}

	.calc-group__options {
		display: flex;
		gap: 12px;
		margin: 0 -16px;
		padding: 0 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 16px;
		scrollbar-width: none;
	}

	.calc-group__options::-webkit-scrollbar {
		display: none;
	}

	.calc-group__options > .calc-tile {
		flex: 0 0 200px;
		scroll-snap-align: start;
	}

	.calc-group__dots {
		display: flex;
		justify-content: center;
		gap: 6px;
		margin-top: 12px;
	}

	.calc-group__dot {
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background-color: var(--color-gray-300);
		transition: background-color .2s;
	}

	.calc-group__dot--active {
		background-color: var(--color-accent);
	}
}
