/* SeoNami commerce bands: hosting plans + domain search placement. */

.sn-commerce {
	--sn-commerce-teal: #087f78;
	--sn-commerce-teal-d: #05645f;
	--sn-commerce-ink: #0a3d3a;
	--sn-commerce-accent: #f59e42;
	--sn-commerce-muted: #647084;
	--sn-commerce-line: #e2e7eb;

	position: relative;
	clear: both;
	width: 100%;
	max-width: 100%;
	margin: clamp(1.5rem, 3.5vw, 2.75rem) 0;
	padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
	overflow-x: clip;
	box-sizing: border-box;
}

/* Keep commerce bands from stretching Gutenberg tables/columns. */
.entry-content .sn-commerce,
.entry-content .sn-commerce-funnel {
	max-width: none;
}

.entry-content .sn-commerce table,
.entry-content .sn-commerce-funnel table {
	width: 100%;
	max-width: 100%;
}

.sn-commerce * {
	box-sizing: border-box;
}

.sn-commerce--plans {
	background:
		radial-gradient(120% 120% at 85% 0%, rgba(8, 127, 120, 0.09) 0%, rgba(8, 127, 120, 0) 58%),
		linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%);
	border-block: 1px solid rgba(8, 127, 120, 0.12);
}

.sn-commerce--domain {
	background:
		radial-gradient(100% 140% at 12% 0%, rgba(245, 158, 66, 0.12) 0%, rgba(245, 158, 66, 0) 55%),
		linear-gradient(180deg, #0a3d3a 0%, #0b4a45 100%);
	color: #eaf6f4;
	border-radius: 18px;
}

.entry-content > .sn-commerce--domain,
.entry-content .sn-commerce--domain {
	margin-inline: 0;
}

.sn-commerce__inner {
	width: min(100% - 2.5rem, 1180px);
	margin-inline: auto;
}

.sn-commerce__inner--narrow {
	width: min(100% - 2.5rem, 900px);
}

.sn-commerce__head {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
	text-align: center;
}

.sn-commerce__eyebrow {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.35em 1em;
	border-radius: 999px;
	background: rgba(8, 127, 120, 0.1);
	color: var(--sn-commerce-teal-d);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.sn-commerce--domain .sn-commerce__eyebrow {
	background: rgba(245, 158, 66, 0.18);
	color: #ffd7a8;
}

.sn-commerce__title {
	margin: 0 0 0.55rem;
	color: var(--sn-commerce-ink);
	font-size: clamp(1.25rem, 2.6vw, 1.7rem);
	font-weight: 900;
	line-height: 1.45;
}

/* Avoid stacked giant titles: section title + group title. */
.sn-commerce--plans .seonami-pricing-panel {
	padding: 0;
}

.sn-commerce--plans .seonami-pricing-panel__title {
	margin-bottom: 0.85rem;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 800;
	color: #05645f;
}

.sn-commerce--domain .sn-commerce__title {
	color: #ffffff;
}

.sn-commerce__lead {
	max-width: 58ch;
	margin: 0 auto;
	color: var(--sn-commerce-muted);
	font-size: clamp(0.9rem, 1.5vw, 1rem);
	line-height: 1.9;
}

.sn-commerce--domain .sn-commerce__lead {
	color: rgba(234, 246, 244, 0.86);
}

/* Reassurance chips under the plans. */
.sn-commerce__assurances {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 0.9rem;
	justify-content: center;
	margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
	padding: 0;
	list-style: none;
}

.sn-commerce__assurances li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5em 1em;
	border: 1px solid var(--sn-commerce-line);
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(10, 61, 58, 0.06);
	color: #22303f;
	font-size: 0.88rem;
	font-weight: 700;
}

.sn-commerce__assurances li::before {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--sn-commerce-teal);
}

.sn-commerce__footnote {
	margin: 1.25rem 0 0;
	color: var(--sn-commerce-muted);
	font-size: 0.86rem;
	text-align: center;
}

.sn-commerce--domain .sn-commerce__footnote {
	color: rgba(234, 246, 244, 0.7);
}

/* Popular TLD chips. */
.sn-domain-tlds {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	justify-content: center;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.sn-domain-tlds li {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	padding: 0.45em 0.95em;
	border: 1px solid rgba(234, 246, 244, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 0.86rem;
	font-weight: 700;
}

.sn-domain-tlds b {
	color: #ffd7a8;
	direction: ltr;
	font-weight: 900;
}

/* Domain search skin inside the dark band. */
.sn-commerce--domain .seonami-domain-search__input {
	box-shadow: 0 14px 34px rgba(4, 30, 28, 0.35);
}

.sn-commerce--domain .seonami-domain-search__message {
	color: #eaf6f4;
}

.sn-commerce--domain .seonami-domain-search__message strong {
	color: #ffd7a8;
}

/* Keep the brand teal on hover instead of the retired purple. */
.seonami-domain-search__submit:hover,
.seonami-domain-search__submit:focus,
.seonami-domain-search__add:hover,
.seonami-domain-search__add:focus {
	background: #05645f;
}

/* Domain modal. */
.sn-domain-modal[hidden] {
	display: none;
}

.sn-domain-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.sn-domain-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 33, 31, 0.66);
	backdrop-filter: blur(3px);
}

.sn-domain-modal__dialog {
	position: relative;
	width: min(100%, 720px);
	max-height: min(86vh, 720px);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	overflow-y: auto;
	border-radius: 22px;
	background:
		radial-gradient(100% 140% at 12% 0%, rgba(245, 158, 66, 0.14) 0%, rgba(245, 158, 66, 0) 55%),
		linear-gradient(180deg, #0a3d3a 0%, #0b4a45 100%);
	box-shadow: 0 30px 80px rgba(4, 30, 28, 0.45);
	color: #eaf6f4;
	text-align: center;
}

.sn-domain-modal__title {
	margin: 0 0 0.6rem;
	color: #ffffff;
	font-size: clamp(1.25rem, 3vw, 1.7rem);
	font-weight: 900;
}

.sn-domain-modal__lead {
	margin: 0;
	color: rgba(234, 246, 244, 0.84);
	font-size: 0.98rem;
	line-height: 2;
}

.sn-domain-modal__close {
	position: absolute;
	inset-block-start: 0.85rem;
	inset-inline-end: 0.85rem;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid rgba(234, 246, 244, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #eaf6f4;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.sn-domain-modal__close:hover,
.sn-domain-modal__close:focus {
	background: rgba(255, 255, 255, 0.18);
}

.sn-domain-modal__dialog .seonami-domain-search__message {
	color: #eaf6f4;
}

.sn-domain-modal__dialog .seonami-domain-search__message strong {
	color: #ffd7a8;
}

body.sn-domain-modal-open {
	overflow: hidden;
}

/* Funnel CTA between hero tease and pricing. */
.sn-commerce-funnel {
	position: relative;
	clear: both;
	margin: 0;
	padding: clamp(1.75rem, 4vw, 2.75rem) 0;
	background:
		radial-gradient(90% 140% at 100% 0%, rgba(245, 158, 66, 0.14) 0%, rgba(245, 158, 66, 0) 55%),
		linear-gradient(135deg, #0a3d3a 0%, #087f78 55%, #0b4a45 100%);
	color: #eaf6f4;
	overflow: hidden;
}

.sn-commerce-funnel::before {
	content: "";
	position: absolute;
	inset-inline-start: -10%;
	inset-block-end: -40%;
	width: 50%;
	height: 90%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	pointer-events: none;
}

.sn-commerce-funnel__inner {
	position: relative;
	width: min(100% - 2.5rem, 920px);
	margin-inline: auto;
	text-align: center;
}

.sn-commerce-funnel__eyebrow {
	display: inline-block;
	margin-bottom: 0.7rem;
	padding: 0.35em 0.95em;
	border-radius: 999px;
	background: rgba(245, 158, 66, 0.2);
	color: #ffd7a8;
	font-size: 0.8rem;
	font-weight: 800;
}

.sn-commerce-funnel__title {
	margin: 0 0 0.55rem;
	color: #fff;
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	font-weight: 900;
	line-height: 1.4;
}

.sn-commerce-funnel__lead {
	max-width: 48ch;
	margin: 0 auto 1.35rem;
	color: rgba(234, 246, 244, 0.86);
	font-size: 0.98rem;
	line-height: 2;
}

.sn-commerce-funnel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.sn-commerce-funnel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.4rem;
	border-radius: 999px;
	font-size: 0.98rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sn-commerce-funnel__btn:hover,
.sn-commerce-funnel__btn:focus {
	transform: translateY(-2px);
}

.sn-commerce-funnel__btn--primary {
	background: #f59e42;
	box-shadow: 0 12px 28px rgba(245, 158, 66, 0.35);
	color: #1a140c;
}

.sn-commerce-funnel__btn--primary:hover,
.sn-commerce-funnel__btn--primary:focus {
	background: #ffb35f;
	color: #1a140c;
}

.sn-commerce-funnel__btn--ghost {
	border: 1px solid rgba(234, 246, 244, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.sn-commerce-funnel__btn--ghost:hover,
.sn-commerce-funnel__btn--ghost:focus {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

/* Keep the buy button loud; collapse long feature lists. */
.sn-commerce--plans a.seonami-pricing-card__button,
.sn-commerce--plans .seonami-pricing-card__button {
	position: relative;
	z-index: 2;
	color: #fff !important;
}

.sn-commerce--plans .seonami-pricing-card.is-featured a.seonami-pricing-card__button,
.sn-commerce--plans .seonami-pricing-card.is-featured .seonami-pricing-card__button {
	color: #1a140c !important;
}

.seonami-pricing-card__features {
	position: relative;
}

.seonami-pricing-card__features.is-collapsed {
	max-height: 6.75rem;
	overflow: hidden;
}

.seonami-pricing-card__features.is-collapsed::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	height: 2.75rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 88%);
	pointer-events: none;
}

.seonami-pricing-card.is-featured .seonami-pricing-card__features.is-collapsed::after {
	background: linear-gradient(180deg, rgba(247, 251, 250, 0), #f7fbfa 88%);
}

.seonami-pricing-card__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 0.85rem;
	padding: 0.65rem 0.9rem;
	border: 1px dashed rgba(8, 127, 120, 0.35);
	border-radius: 999px;
	background: rgba(8, 127, 120, 0.06);
	color: #05645f;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease;
}

.seonami-pricing-card__toggle:hover,
.seonami-pricing-card__toggle:focus {
	background: rgba(8, 127, 120, 0.12);
	border-color: rgba(8, 127, 120, 0.55);
	outline: none;
}

.seonami-pricing-card.is-open .seonami-pricing-card__toggle {
	border-style: solid;
}

@media (max-width: 782px) {
	.sn-commerce,
	.sn-commerce-funnel {
		margin-inline: 0;
		border-radius: 0;
	}

	.sn-commerce--domain {
		border-radius: 14px;
	}

	.sn-commerce__inner,
	.sn-commerce__inner--narrow,
	.sn-commerce-funnel__inner {
		width: min(100% - 1.5rem, 1180px);
	}

	.sn-commerce__title,
	.sn-commerce-funnel__title {
		font-size: 1.25rem;
	}

	.sn-commerce__lead,
	.sn-commerce-funnel__lead {
		font-size: 0.9rem;
		line-height: 1.85;
	}

	.sn-commerce__assurances {
		gap: 0.45rem;
	}

	.sn-commerce__assurances li {
		font-size: 0.78rem;
		padding: 0.4em 0.8em;
	}

	.sn-domain-tlds li {
		font-size: 0.78rem;
	}

	.seonami-domain-search {
		width: 100%;
		padding-inline: 0;
	}

	.seonami-domain-search__form {
		flex-direction: column;
		gap: 0.65rem;
		margin-top: 1rem;
	}

	.seonami-domain-search__input {
		padding: 0.75rem 1rem;
		text-align: center;
		font-size: 0.95rem;
		box-shadow: 0 8px 20px rgba(4, 30, 28, 0.22);
	}

	.seonami-domain-search__submit {
		position: static;
		width: 100%;
		min-height: 3rem;
		font-size: 0.95rem;
	}

	.sn-commerce-funnel {
		padding: 1.35rem 0;
	}

	.sn-commerce-funnel__actions {
		flex-direction: column;
	}

	.sn-commerce-funnel__btn {
		width: 100%;
		min-height: 2.85rem;
		font-size: 0.92rem;
	}

	.seonami-pricing-card__features.is-collapsed {
		max-height: 6.25rem;
	}
}

/* Soften page tables on commerce pages if theme styles fight them. */
.page-id-1349 .entry-content table,
.page-id-545 .entry-content table,
.home .entry-content table,
.page-template-default .entry-content table {
	display: table;
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	line-height: 1.7;
	overflow-x: auto;
}

.page-id-1349 .entry-content .wp-block-table,
.page-id-545 .entry-content .wp-block-table,
.home .entry-content .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}
