.hs-advisor {
	--hs-green: #226331;
	--hs-ink: #1c2e22;
	--hs-muted: #5c6b60;
	box-sizing: border-box;
	color: var(--hs-ink);
	container-type: inline-size;
	font-family: Montserrat, Poppins, sans-serif;
	margin: 0 auto 28px;
	max-width: 1080px;
}

.hs-advisor *,
.hs-advisor *::before,
.hs-advisor *::after { box-sizing: border-box; }

.hs-advisor h2 {
	color: #2c2c2c;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 10px;
}

.hs-advisor__lead,
.hs-advisor__hint,
.hs-advisor__legal,
.hs-advisor__days,
.hs-advisor__note {
	color: var(--hs-muted);
	line-height: 1.5;
}

.hs-advisor__lead { margin: 0 0 22px; max-width: 42rem; }

.hs-advisor__questions { display: grid; gap: 22px; }

.hs-advisor__question {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.hs-advisor__question legend,
.hs-advisor__flavor-label {
	color: var(--hs-green);
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
	padding: 0;
}

.hs-advisor__hint { font-size: 0.9rem; margin: 8px 0 0; }

.hs-advisor__choices { display: flex; flex-wrap: wrap; gap: 8px; }

.hs-advisor__choice {
	background: #fff;
	border: 1px solid #c9ddcc;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	line-height: 1.3;
	padding: 10px 14px;
	position: relative;
}

.hs-advisor__choice input {
	cursor: pointer;
	height: 100%;
	inset: 0;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 100%;
}

.hs-advisor__choice:has(input:checked) {
	background: #e7f5ea;
	border-color: var(--hs-green);
	font-weight: 700;
}

.hs-advisor__choice:focus-within { outline: 2px solid var(--hs-green); outline-offset: 2px; }

.hs-advisor__kg-row { align-items: center; display: flex; gap: 8px; }

.hs-advisor__kg-row input,
.hs-advisor select {
	background: #fff;
	border: 1px solid #c9ddcc;
	border-radius: 12px;
	color: inherit;
	font: inherit;
	padding: 10px 12px;
}

.hs-advisor__kg-row input { font-size: 1.35rem; width: 5.5rem; }

.hs-advisor select { max-width: 100%; width: min(100%, 520px); }

.hs-advisor__budget { align-items: center; display: flex; gap: 16px; }

.hs-advisor__budget input[type="range"] { accent-color: var(--hs-green); flex: 1; min-width: 0; }

.hs-advisor__budget strong { font-size: 1.25rem; min-width: 6.5rem; }

.hs-advisor__status { margin: 16px 0 0; min-height: 1.2em; }

.hs-advisor__status.is-error { color: #8a3d12; }

.hs-advisor__placeholder,
.hs-advisor__callout {
	background: #f6f8f6;
	border-radius: 16px;
	margin: 16px 0 0;
	padding: 16px 18px;
}

.hs-advisor__callout { background: #f8f4ea; }

.hs-advisor__summary { font-weight: 600; margin: 18px 0 0; }

.hs-advisor__plans {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 14px;
}

.hs-advisor__plan {
	background: #fff;
	border: 1px solid #d7e6d8;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	padding: 16px 16px 18px;
}

.hs-advisor__plan--optimal {
	border-color: var(--hs-green);
	box-shadow: 0 10px 28px rgba(34, 99, 49, 0.12);
}

.hs-advisor__badge {
	align-self: flex-start;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 5px 10px;
	text-transform: uppercase;
}

.hs-advisor__plan--basic .hs-advisor__badge { background: #e7efe8; color: var(--hs-green); }

.hs-advisor__plan--optimal .hs-advisor__badge { background: #d6f56a; color: #1c2e22; }

.hs-advisor__plan--extended .hs-advisor__badge { background: #f8f4ea; color: #6d5420; }

.hs-advisor__plan h3 {
	color: var(--hs-green);
	font-size: 1.4rem;
	line-height: 1.2;
	margin: 10px 0 0;
}

.hs-advisor__price {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 12px 0 0;
}

.hs-advisor__total { font-size: 1.55rem; font-weight: 700; }

.hs-advisor__total del {
	color: #8a8a8a;
	font-size: 0.72em;
	font-weight: 500;
	margin-right: 6px;
}

.hs-advisor__total ins { text-decoration: none; }

.hs-advisor__daily { color: var(--hs-green); font-size: 1.05rem; font-weight: 700; }

.hs-advisor__daily small { font-weight: 600; }

.hs-advisor__fit { font-size: 0.92rem; font-weight: 700; margin: 6px 0 0; }

.hs-advisor__fit.is-in { color: var(--hs-green); }

.hs-advisor__fit.is-over { color: #8a5a12; }

.hs-advisor__points,
.hs-advisor__lines { list-style: none; margin: 12px 0 0; padding: 0; }

.hs-advisor__points li { margin: 0 0 6px; padding-left: 16px; position: relative; }

.hs-advisor__points li::before {
	background: var(--hs-green);
	border-radius: 50%;
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 0.5em;
	width: 7px;
}

.hs-advisor__lines {
	border-top: 1px solid #e1ebe3;
	margin-top: 12px;
	padding-top: 10px;
}

.hs-advisor__lines li {
	align-items: center;
	display: flex;
	font-size: 0.92rem;
	gap: 10px;
	margin: 0 0 8px;
}

.hs-advisor__lines img {
	background: #fff;
	border-radius: 10px;
	flex: 0 0 auto;
	height: 56px;
	object-fit: contain;
	width: 56px;
}

.hs-advisor__lines a { color: inherit; text-decoration-thickness: 1px; }

.hs-advisor__line-price { color: var(--hs-green); display: block; font-weight: 700; }

.hs-advisor__add {
	background: var(--hs-green);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	margin-top: auto;
	padding: 12px 16px;
	width: 100%;
}

.hs-advisor__add:hover { background: #1b4e28; }

.hs-advisor__add:focus-visible { outline: 2px solid var(--hs-green); outline-offset: 3px; }

.hs-advisor__add:disabled { cursor: wait; opacity: 0.65; }

.hs-advisor__legal { font-size: 0.85rem; margin: 18px 0 0; }

@media (min-width: 860px) {
	.hs-advisor__questions { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
	.hs-advisor__question--wide { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.hs-advisor h2 { font-size: 26px; }
	.hs-advisor__plans { grid-template-columns: 1fr; }
	.hs-advisor__plan--optimal { order: -1; }
}

@container (min-width: 720px) {
	.hs-advisor__questions { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
	.hs-advisor__question--wide { grid-column: 1 / -1; }
}

@container (max-width: 800px) {
	.hs-advisor__plans { grid-template-columns: 1fr; }
	.hs-advisor__plan--optimal { order: -1; }
}

@container (max-width: 719px) {
	.hs-advisor__questions { grid-template-columns: 1fr; }
	.hs-advisor__question--wide { grid-column: auto; }
}
