.awp-hp,
.awp-hp *,
.awp-hp *::before,
.awp-hp *::after {
	box-sizing: border-box;
}

.awp-hp {
	--hp-ink: #1c2430;
	--hp-muted: #5d6b7a;
	--hp-line: #e1e6ec;
	--hp-paper: #ffffff;
	--hp-sea: #0e6b67;
	--hp-sea-dark: #0b534f;
	--hp-sand: #f6f3ee;
	--hp-ok: #157a45;
	--hp-ok-bg: #eef8f2;
	--hp-muted-bg: #f4f5f6;
	--hp-wait-bg: #fff8ee;
	color: var(--hp-ink);
	font-family: inherit;
	line-height: 1.7;
	max-width: 1080px;
}

.awp-hp .screen-reader-text,
.awp-hp-trap {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.awp-hp-search__title,
.awp-hp-plans__title {
	margin: 0 0 8px;
	color: var(--hp-ink);
	font-size: 1.7rem;
	line-height: 1.35;
}

.awp-hp-search__text,
.awp-hp-plans__text,
.awp-hp-search__note,
.awp-hp-note {
	margin: 0 0 14px;
	color: var(--hp-muted);
}

.awp-hp-search__bar {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 8px;
	background: var(--hp-paper);
	border: 1px solid #d5ddd8;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(20, 40, 30, 0.06);
}

.awp-hp-search__bar input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	margin: 0;
	padding: 12px 14px;
	color: var(--hp-ink);
	background: transparent;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	direction: ltr;
	text-align: left;
	font: inherit;
	font-size: 1.05rem;
}

.awp-hp button.awp-hp-search__button,
.awp-hp a.awp-hp-result__action,
.awp-hp a.awp-hp-plan__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px 22px;
	color: #fff;
	background: var(--hp-sea);
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.awp-hp button.awp-hp-search__button:hover,
.awp-hp a.awp-hp-result__action:hover,
.awp-hp a.awp-hp-plan__button:hover {
	color: #fff;
	background: var(--hp-sea-dark);
}

.awp-hp-search.is-loading button.awp-hp-search__button {
	opacity: 0.65;
	pointer-events: none;
}

.awp-hp-search__status {
	min-height: 1.4em;
	margin: 12px 0 0;
	color: var(--hp-sea-dark);
	font-weight: 700;
}

.awp-hp-results,
.awp-hp-plan__features,
.awp-hp-plan__specs {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.awp-hp-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 12px 16px;
	align-items: center;
	margin: 0 0 8px;
	padding: 14px 16px;
	background: var(--hp-paper);
	border: 1px solid var(--hp-line);
	border-radius: 14px;
}

.awp-hp-result.is-available {
	background: var(--hp-ok-bg);
	border-color: #b7e0c8;
}

.awp-hp-result.is-taken {
	background: var(--hp-muted-bg);
}

.awp-hp-result.is-unknown {
	background: var(--hp-wait-bg);
}

.awp-hp-result.is-exact {
	border-inline-start: 3px solid var(--hp-sea);
}

.awp-hp-result__main {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	min-width: 0;
}

.awp-hp-result__name {
	direction: ltr;
	unicode-bidi: isolate;
	font-size: 1.05rem;
}

.awp-hp-result__badge,
.awp-hp-plan__badge {
	display: inline-block;
	padding: 2px 8px;
	color: var(--hp-sea-dark);
	background: #e7f3f2;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
}

.awp-hp-result__state {
	color: var(--hp-muted);
}

.awp-hp-result.is-available .awp-hp-result__state {
	color: var(--hp-ok);
	font-weight: 700;
}

.awp-hp-result__price {
	display: flex;
	flex-direction: column;
	color: var(--hp-ink);
	text-align: end;
}

.awp-hp-result__price span {
	color: var(--hp-muted);
	font-size: 0.82rem;
}

.awp-hp-plans-wrap {
	margin-top: 28px;
}

.awp-hp-cycle {
	display: inline-flex;
	gap: 4px;
	margin: 0 0 16px;
	padding: 4px;
	background: #eef2f1;
	border-radius: 999px;
}

.awp-hp .awp-hp-cycle button {
	margin: 0;
	padding: 8px 16px;
	color: var(--hp-ink);
	background: transparent;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	font: inherit;
	cursor: pointer;
}

.awp-hp .awp-hp-cycle button.is-active {
	color: var(--hp-sea-dark);
	background: #fff;
	box-shadow: 0 1px 4px rgba(20, 32, 48, 0.12);
}

.awp-hp-plans {
	display: grid;
	grid-template-columns: repeat(var(--awp-hp-cols, 3), minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.awp-hp-plan {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 22px 20px;
	background: var(--hp-paper);
	border: 1px solid var(--hp-line);
	border-radius: 18px;
}

.awp-hp-plan.is-featured {
	background: linear-gradient(180deg, #f3faf8 0%, #fff 42%);
	border-color: #9dcec8;
	box-shadow: 0 16px 36px rgba(14, 107, 103, 0.08);
}

.awp-hp-plan__name {
	margin: 10px 0 4px;
	font-size: 1.35rem;
}

.awp-hp-plan__tagline {
	min-height: 1.6em;
	margin: 0 0 12px;
	color: var(--hp-muted);
}

.awp-hp-plan__price {
	margin: 0 0 14px;
}

.awp-hp-plan__price strong {
	display: block;
	font-size: 1.45rem;
	line-height: 1.3;
}

.awp-hp-plan__price span,
.awp-hp-plan__note {
	color: var(--hp-muted);
}

.awp-hp-plan__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.awp-hp-plan__specs li {
	padding: 4px 8px;
	background: var(--hp-sand);
	border-radius: 999px;
	font-size: 0.86rem;
}

.awp-hp-plan__features {
	margin-bottom: 18px;
}

.awp-hp-plan__features li {
	margin: 0 0 6px;
}

.awp-hp-plan__features li::before {
	content: "✓";
	margin-inline-end: 8px;
	color: var(--hp-sea);
	font-weight: 700;
}

.awp-hp a.awp-hp-plan__button {
	margin-top: auto;
}

.awp-hp a:focus-visible,
.awp-hp button:focus-visible,
.awp-hp input:focus-visible {
	outline: 2px solid var(--hp-sea);
	outline-offset: 2px;
}

@media (max-width: 800px) {
	.awp-hp-search__bar,
	.awp-hp-result,
	.awp-hp-plans {
		grid-template-columns: 1fr;
	}

	.awp-hp-search__bar {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.awp-hp button.awp-hp-search__button,
	.awp-hp a.awp-hp-result__action {
		width: 100%;
	}

	.awp-hp-result__price {
		text-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.awp-hp button,
	.awp-hp a {
		transition: none;
	}
}
