.bariatr-health-calculator-page .health-result-value {
	gap: 8px;
	min-width: 190px;
}

.bariatr-health-calculator-page .health-result-unit {
	font-size: 18px;
	font-weight: 800;
}

.bariatr-health-calculator-page .about-text + .about-title {
	margin-top: 28px;
}

.bariatr-health-calculator-page .health-controls {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.bariatr-health-calculator-page .health-controls--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bariatr-health-calculator-page .health-controls--body-fat {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bariatr-health-calculator-page .health-controls--body-fat .health-control-title,
.bariatr-health-calculator-page .health-controls--body-fat .wheel-title {
	font-size: 18px;
}

.bariatr-health-calculator-page .health-controls--body-fat .wheel-control .screen-reader-text {
	font-size: 27px;
}

.bariatr-health-calculator-page .health-controls--body-fat .health-choice-group {
	gap: 8px;
	margin-top: 10px;
}

.bariatr-health-calculator-page .health-controls--body-fat .health-choice span {
	min-height: 44px;
	padding-inline: 8px;
}

.bariatr-health-calculator-page .health-controls .control {
	min-width: 0;
}

.bariatr-health-calculator-page .health-control--full {
	grid-column: 1 / -1;
}

.bariatr-health-calculator-page .health-choice-control,
.bariatr-health-calculator-page .health-select-control {
	display: grid;
	grid-template-columns: 1fr;
	align-content: start;
}

.bariatr-health-calculator-page .health-control-title {
	color: #4c86b8;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.bariatr-health-calculator-page .health-choice-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.bariatr-health-calculator-page .health-choice {
	position: relative;
}

.bariatr-health-calculator-page .health-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bariatr-health-calculator-page .health-choice span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1px solid rgba(0, 173, 255, 0.22);
	border-radius: 14px;
	background: #f8fcff;
	color: #406b89;
	cursor: pointer;
	font-size: 15px;
	font-weight: 800;
	transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.bariatr-health-calculator-page .health-choice input:checked + span {
	border-color: rgba(0, 173, 255, 0.62);
	background: #e8f8ff;
	box-shadow: 0 0 0 3px rgba(0, 173, 255, 0.12);
	color: #176c9e;
}

.bariatr-health-calculator-page .health-choice input:focus-visible + span {
	outline: 3px solid rgba(0, 173, 255, 0.28);
	outline-offset: 2px;
}

.bariatr-health-calculator-page .health-select-control select {
	width: 100%;
	min-height: 50px;
	margin-top: 14px;
	border: 1px solid rgba(0, 173, 255, 0.22);
	border-radius: 14px;
	background: #f8fcff;
	color: #365265;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	padding: 12px 42px 12px 14px;
}

.bariatr-health-calculator-page .health-select-control select:focus {
	border-color: rgba(0, 173, 255, 0.55);
	box-shadow: 0 0 0 4px rgba(0, 173, 255, 0.14);
	outline: none;
}

.bariatr-health-calculator-page .health-disclaimer {
	margin: 16px 0 0;
	border-left: 4px solid var(--yellow);
	border-radius: 8px;
	background: #fffde9;
	color: #566068;
	font-size: 14px;
	line-height: 1.55;
	padding: 12px 14px;
}

.bariatr-health-calculator-page .health-formula {
	font-size: 25px !important;
	word-break: break-word;
}

.bariatr-health-calculator-page .body-fat-consultation-card {
	grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1.58fr);
}

.bariatr-health-calculator-page .body-fat-consultation-card .price-photo img {
	height: 480px;
}

.bariatr-health-calculator-page .body-fat-consultation-content {
	display: flex;
	align-items: center;
}

.bariatr-health-calculator-page .body-fat-consultation-intro {
	max-width: 760px;
}

.bariatr-health-calculator-page .body-fat-consultation-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: #3f4245;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bariatr-health-calculator-page .body-fat-consultation-kicker::before {
	content: "";
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--yellow);
	box-shadow: 0 0 0 7px rgba(245, 226, 58, 0.2);
	flex: 0 0 auto;
}

.bariatr-health-calculator-page .body-fat-consultation-intro h3 {
	margin: 0 0 14px;
	color: #273f4f;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.08;
}

.bariatr-health-calculator-page .body-fat-consultation-intro > p:not(.body-fat-consultation-kicker) {
	margin: 0 0 16px;
	color: #4f5d67;
	font-size: 15px;
	line-height: 1.6;
}

.bariatr-health-calculator-page .body-fat-consultation-intro > a {
	color: #273f4f;
	font-size: 19px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.bariatr-health-calculator-page .body-fat-consultation-button {
	display: flex;
	margin-top: 20px;
	max-width: 300px;
}

.bariatr-health-calculator-page .body-fat-consultation-intro > a:hover,
.bariatr-health-calculator-page .body-fat-consultation-intro > a:focus,
.bariatr-health-calculator-page .body-fat-result-phone:hover,
.bariatr-health-calculator-page .body-fat-result-phone:focus {
	color: #007fc0;
	text-decoration: underline;
}

.bariatr-health-calculator-page .body-fat-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 22px;
}

.bariatr-health-calculator-page .body-fat-social-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	padding: 5px 12px 5px 6px;
	border: 1px solid rgba(39, 63, 79, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: #344b5a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.bariatr-health-calculator-page .body-fat-social-link:hover,
.bariatr-health-calculator-page .body-fat-social-link:focus {
	border-color: rgba(0, 173, 255, 0.4);
	box-shadow: 0 8px 18px rgba(33, 103, 156, 0.14);
	color: #344b5a;
	transform: translateY(-1px);
}

.bariatr-health-calculator-page .body-fat-social-link > span {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--social-color, var(--blue));
	color: #ffffff;
	flex: 0 0 auto;
}

.bariatr-health-calculator-page .body-fat-social-link svg {
	display: block;
	width: 17px;
	height: 17px;
}

.bariatr-health-calculator-page .body-fat-social-link--youtube {
	--social-color: #ff0033;
}

.bariatr-health-calculator-page .body-fat-social-link--instagram {
	--social-color: #d62976;
}

.bariatr-health-calculator-page .body-fat-social-link--facebook {
	--social-color: #1877f2;
}

.bariatr-health-calculator-page .body-fat-social-link--tiktok {
	--social-color: #111111;
}

.bariatr-health-calculator-page .body-fat-social-link--telegram {
	--social-color: #229ed9;
}

.bariatr-health-calculator-page .body-fat-social-link--viber {
	--social-color: #7360f2;
}

.bariatr-health-calculator-page .body-fat-result-copy {
	min-width: 0;
	padding-left: 14px;
}

.bariatr-health-calculator-page .body-fat-result-copy > p {
	padding-left: 0;
}

.bariatr-health-calculator-page .body-fat-result-phone {
	display: inline-flex;
	margin-top: 9px;
	color: #273f4f;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.bariatr-health-calculator-page .body-fat-social-links--compact {
	gap: 6px;
	margin-top: 11px;
}

.bariatr-health-calculator-page .body-fat-social-links--compact .body-fat-social-link {
	min-height: 0;
	padding: 2px;
	border: 0;
	background: transparent;
}

.bariatr-health-calculator-page .body-fat-social-links--compact .body-fat-social-link > span {
	width: 34px;
	height: 34px;
}

.bariatr-health-calculator-page .health-result-table {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bariatr-health-calculator-page .health-result-table .adv-card:nth-child(n) {
	--category-line: linear-gradient(90deg, var(--blue), var(--blue-soft));
}

.bariatr-health-calculator-page .health-result-table .adv-card:nth-child(1),
.bariatr-health-calculator-page .health-result-table .adv-card:nth-child(5) {
	--category-line: linear-gradient(90deg, #f5e23a, #e28c31);
}

.bariatr-health-calculator-page .health-result-table .adv-card:nth-child(2),
.bariatr-health-calculator-page .health-result-table .adv-card:nth-child(3),
.bariatr-health-calculator-page .health-result-table .adv-card:nth-child(4) {
	--category-line: linear-gradient(90deg, #35b96f, #8bd36f);
}

.bariatr-health-calculator-page .health-result-table .adv-card:nth-child(6) {
	--category-line: linear-gradient(90deg, #c62d27, #7f1712);
}

@media (max-width: 1100px) {
	.bariatr-health-calculator-page .body-fat-consultation-card {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		min-width: 0;
		overflow: hidden;
	}

	.bariatr-health-calculator-page .body-fat-consultation-card .price-photo,
	.bariatr-health-calculator-page .body-fat-consultation-content,
	.bariatr-health-calculator-page .body-fat-consultation-intro {
		width: 100%;
		min-width: 0;
	}

	.bariatr-health-calculator-page .body-fat-consultation-content {
		display: block;
		text-align: left;
	}
}

@media (max-width: 900px) {
	.bariatr-health-calculator-page .health-controls--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.bariatr-health-calculator-page .health-controls,
	.bariatr-health-calculator-page .health-controls--three,
	.bariatr-health-calculator-page .health-controls--body-fat {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.bariatr-health-calculator-page .health-choice-control,
	.bariatr-health-calculator-page .health-select-control {
		padding: 14px;
	}

	.bariatr-health-calculator-page .health-control-title {
		font-size: 20px;
		text-align: center;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .bmi-card {
		padding: 16px 12px;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .header {
		margin-bottom: 10px;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .header h1 {
		font-size: 22px;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .result-meter {
		height: 96px;
		margin-bottom: 12px;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .status {
		font-size: 11px;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .meter-window {
		height: 46px;
		top: 27px;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .meter-pointer {
		height: 64px;
		top: 18px;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .bmi-value {
		font-size: 36px;
		min-width: 138px;
		padding: 6px 14px;
		top: 50px;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile {
		gap: 12px;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .control {
		border-radius: 17px;
		gap: 7px 6px;
		padding: 12px 8px;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .wheel-control {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .health-control-title,
	.bariatr-health-calculator-page .health-controls--horizontal-mobile .wheel-title {
		font-size: 12px;
		line-height: 1.25;
		text-align: left;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .wheel-title {
		min-width: 0;
		font-size: 11px;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .health-choice-group {
		gap: 6px;
		margin-top: 8px;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .health-choice span {
		min-height: 40px;
		border-radius: 10px;
		font-size: 11px;
		padding-inline: 4px;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .wheel-control .screen-reader-text {
		position: static !important;
		display: block;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		clip: auto !important;
		clip-path: none !important;
		white-space: nowrap !important;
		opacity: 1;
		pointer-events: auto;
		font-size: 16px;
		line-height: 1;
		justify-self: end;
		text-align: right;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .bmi-native-input[type="range"] {
		position: static !important;
		width: 100% !important;
		height: 24px !important;
		margin: 6px 0 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		clip: auto !important;
		white-space: normal !important;
		opacity: 1;
		pointer-events: auto;
	}

	.bariatr-health-calculator-page .health-controls--horizontal-mobile .wheel-window {
		display: none;
	}

	.bariatr-health-calculator-page [data-calculator-type="body-fat"] .advice {
		margin-top: 16px;
		padding: 16px;
	}

	.bariatr-health-calculator-page .body-fat-consultation-card .price-photo img {
		height: 280px;
	}

	.bariatr-health-calculator-page .body-fat-consultation-content {
		text-align: left;
	}

	.bariatr-health-calculator-page .body-fat-consultation-intro h3 {
		font-size: 27px;
	}

	.bariatr-health-calculator-page .body-fat-consultation-button {
		max-width: none;
	}

	.bariatr-health-calculator-page .body-fat-consultation-intro > a {
		font-size: 17px;
	}

	.bariatr-health-calculator-page .body-fat-social-links:not(.body-fat-social-links--compact) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bariatr-health-calculator-page .body-fat-social-links:not(.body-fat-social-links--compact) .body-fat-social-link {
		width: 100%;
		min-width: 0;
	}

	.bariatr-health-calculator-page .body-fat-result-copy {
		order: 2;
		padding-left: 0;
	}

	.bariatr-health-calculator-page .body-fat-result-phone {
		font-size: 13px;
		letter-spacing: -0.01em;
	}

	.bariatr-health-calculator-page .body-fat-result-action .price-btn {
		order: 1;
	}

	.bariatr-health-calculator-page .body-fat-social-links--compact {
		justify-content: center;
	}

	.bariatr-health-calculator-page .health-result-table {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.bariatr-health-calculator-page .health-controls:not(.health-controls--horizontal-mobile) {
		grid-template-columns: 1fr;
	}

	.bariatr-health-calculator-page .health-result-table {
		grid-template-columns: 1fr;
	}

	.bariatr-health-calculator-page .health-result-value {
		font-size: 38px;
		min-width: 165px;
	}
}
