:root {
	--er-ink: #102039;
	--er-muted: #607087;
	--er-surface: #ffffff;
	--er-soft: #f5f8fc;
	--er-line: #dbe5f0;
	--er-primary: #1565d8;
	--er-primary-dark: #0b4ead;
	--er-accent: #21c89a;
	--er-radius: 22px;
	--er-shadow: 0 24px 64px rgba(16, 32, 57, 0.13);
	--er-font: var(--wp--preset--font-family--inter, "Inter"), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.extrareseller-optimized,
body.extrareseller-product-optimized {
	overflow-x: hidden;
	font-family: var(--er-font) !important;
	color: var(--er-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.extrareseller-optimized :where(.wp-block-site-title, .wp-block-navigation, .wp-block-button__link, footer),
body.extrareseller-product-optimized :where(.wp-block-site-title, .wp-block-navigation, .wp-block-button__link, footer) {
	font-family: var(--er-font) !important;
}

body.extrareseller-optimized .wp-block-post-title {
	display: none;
}

.er-optimizer,
.er-product-assurance,
.er-product-description {
	color: var(--er-ink);
	font-family: var(--er-font) !important;
	font-size: 1rem;
	line-height: 1.65;
	letter-spacing: -0.006em;
}

.er-optimizer {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: none !important;
	margin-right: -50vw !important;
	margin-left: -50vw !important;
	isolation: isolate;
}

.er-optimizer :where(h1, h2, h3, h4),
.er-product-assurance :where(h1, h2, h3, h4),
.er-product-description :where(h1, h2, h3, h4),
body.extrareseller-product-optimized .product :where(.product_title, .woocommerce-tabs h2, .related > h2) {
	font-family: var(--er-font) !important;
	font-style: normal;
	font-weight: 780;
	letter-spacing: -0.035em;
	text-transform: none;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
	text-wrap: balance;
}

.er-optimizer :where(p, li, a, span, strong, summary, input, textarea, select, button),
.er-product-assurance :where(p, li, a, span, strong),
.er-product-description :where(p, li, a, span, strong) {
	font-family: var(--er-font) !important;
}

.er-optimizer *,
.er-product-assurance *,
.er-product-description * {
	box-sizing: border-box;
}

.er-optimizer a:hover,
.er-optimizer a:focus {
	text-decoration-style: solid;
}

.er-shell {
	width: min(1200px, calc(100% - 56px));
	margin-inline: auto;
}

.er-hero {
	padding: clamp(72px, 9vw, 132px) 0;
	background:
		radial-gradient(circle at 85% 15%, rgba(34, 199, 154, 0.24), transparent 32%),
		linear-gradient(135deg, #07182d 0%, #103a6b 100%);
	color: #fff;
}

.er-hero-grid,
.er-split,
.er-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}

.er-eyebrow {
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--er-primary);
}

.er-hero .er-eyebrow {
	color: #72e7c5;
}

.er-hero h1,
.er-page-hero h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(2.7rem, 5.8vw, 5rem);
	line-height: 1.02;
	letter-spacing: -0.055em;
}

.er-page-hero h1 {
	font-size: clamp(2.35rem, 5vw, 4.5rem);
}

.er-lead {
	max-width: 760px;
	margin: 24px 0 0;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	line-height: 1.68;
	color: inherit;
	opacity: 0.88;
}

.er-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.er-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-weight: 720;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(11, 78, 173, 0.14);
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.er-button:hover {
	box-shadow: 0 12px 28px rgba(11, 78, 173, 0.2);
	transform: translateY(-2px);
}

.er-button:focus-visible,
.er-text-link:focus-visible,
.er-faq-list summary:focus-visible {
	outline: 3px solid #ffca3a;
	outline-offset: 3px;
}

.er-button-primary {
	background: var(--er-primary);
	color: #fff !important;
}

.er-button-primary:hover {
	background: var(--er-primary-dark);
}

.er-button-secondary {
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
}

.er-page-hero .er-button-secondary {
	border-color: var(--er-line);
	background: #fff;
	color: var(--er-ink) !important;
}

.er-hero-card {
	display: grid;
	gap: 12px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: calc(var(--er-radius) + 8px);
	background: rgba(255, 255, 255, 0.09);
	box-shadow: var(--er-shadow);
	backdrop-filter: blur(16px);
}

.er-hero-card div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 18px;
	border-radius: var(--er-radius);
	background: rgba(255, 255, 255, 0.08);
}

.er-hero-card strong {
	font-size: 1.7rem;
}

.er-hero-card span {
	font-size: 0.9rem;
	opacity: 0.8;
}

.er-page-hero {
	padding: clamp(64px, 8vw, 110px) 0;
	background:
		radial-gradient(circle at 80% 10%, rgba(33, 200, 154, 0.12), transparent 30%),
		linear-gradient(180deg, #edf5ff 0%, #ffffff 100%);
}

.er-section {
	padding: clamp(64px, 8vw, 112px) 0;
}

.er-section-muted {
	background: var(--er-soft);
}

.er-section h2 {
	max-width: 850px;
	margin: 0 0 34px;
	font-size: clamp(2rem, 3.8vw, 3.35rem);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.er-provider-grid,
.er-catalog-grid,
.er-feature-grid,
.er-step-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.er-catalog-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.er-catalog-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.er-feature-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.er-provider-card,
.er-catalog-card,
.er-feature-grid article,
.er-step-grid li,
.er-callout,
.er-values article,
.er-form-shell {
	border: 1px solid var(--er-line);
	border-radius: var(--er-radius);
	background: var(--er-surface);
	box-shadow: 0 10px 34px rgba(16, 32, 57, 0.065);
}

.er-provider-card,
.er-catalog-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 100%;
	padding: 30px;
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.er-provider-card:hover,
.er-catalog-card:hover,
.er-provider-card:focus-within,
.er-catalog-card:focus-within {
	border-color: #b8cce6;
	box-shadow: 0 20px 54px rgba(16, 32, 57, 0.12);
	transform: translateY(-4px);
}

.er-provider-card h3,
.er-catalog-card h3,
.er-feature-grid h2,
.er-step-grid h3,
.er-callout h2,
.er-callout h3 {
	margin: 0 0 12px;
	font-size: clamp(1.3rem, 1.8vw, 1.55rem);
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.er-provider-card p,
.er-catalog-card p,
.er-feature-grid p,
.er-step-grid p,
.er-callout p,
.er-values p {
	color: var(--er-muted);
}

.er-card-kicker {
	margin: 0 !important;
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--er-primary) !important;
}

.er-provider-card .er-card-kicker {
	margin-bottom: 10px !important;
}

.er-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.er-plan-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border: 1px solid #d3e2f5;
	border-radius: 999px;
	background: #f2f7ff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #31567f;
}

.er-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--er-line);
}

.er-card-footer strong,
.er-price {
	font-size: clamp(1.6rem, 2.2vw, 1.9rem);
	font-weight: 800;
	color: var(--er-ink);
}

.er-card-footer a,
.er-text-link {
	font-weight: 800;
	color: var(--er-primary);
}

.er-package {
	display: inline-flex;
	align-self: flex-start;
	min-height: 32px;
	margin: 4px 0 24px !important;
	padding: 5px 11px;
	border-radius: 9px;
	background: #eaf2fe;
	font-size: 0.85rem;
	font-weight: 720;
	color: #234c7d !important;
}

.er-price-wrap {
	margin-bottom: 22px;
}

.er-price-label {
	display: block;
	margin-bottom: 3px;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--er-muted);
}

.er-price :where(del, ins) {
	text-decoration: none;
}

.er-price :where(.woocommerce-Price-amount, .woocommerce-Price-currencySymbol) {
	font: inherit !important;
	color: inherit;
}

.er-catalog-card .er-card-features,
.er-callout ul,
.er-product-assurance ul,
.er-product-description ul {
	margin: 22px 0;
	padding-left: 1.2em;
}

.er-catalog-card .er-card-features {
	display: grid;
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.er-catalog-card .er-card-features li {
	position: relative;
	margin: 0;
	padding-left: 28px;
	font-size: 0.94rem;
	line-height: 1.48;
	color: #42546b;
}

.er-catalog-card .er-card-features li::before {
	position: absolute;
	top: 0.18em;
	left: 0;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #e7f8f2;
	content: "✓";
	font-size: 0.68rem;
	font-weight: 900;
	color: #07825f;
}

.er-callout li,
.er-product-assurance li,
.er-product-description li {
	margin: 9px 0;
}

.er-catalog-card .er-button {
	width: 100%;
	margin-top: auto;
}

.er-step-grid {
	margin: 0;
	padding: 0;
	list-style: none;
}

.er-step-grid li,
.er-feature-grid article {
	padding: 30px;
}

.er-step-grid span,
.er-feature-grid article > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 24px;
	border-radius: 50%;
	background: #e6f1ff;
	font-weight: 900;
	color: var(--er-primary);
}

.er-callout,
.er-form-shell {
	padding: clamp(26px, 4vw, 40px);
}

.er-callout {
	background: #0e2c50;
	color: #fff;
}

.er-callout p,
.er-callout li {
	color: rgba(255, 255, 255, 0.82);
}

.er-callout .er-text-link {
	display: block;
	margin-top: 12px;
	color: #72e7c5;
}

.er-values {
	display: grid;
	gap: 16px;
}

.er-values article {
	padding: 22px 24px;
}

.er-values h3 {
	margin: 0 0 7px;
}

.er-compliance-note,
.er-delivery-note {
	padding: 20px 22px;
	border-left: 4px solid #d19a00;
	border-radius: 8px;
	background: #fff7da;
	color: #4d3b00;
}

.er-faq-list {
	display: grid;
	gap: 14px;
	max-width: 920px;
}

.er-faq-list details {
	border: 1px solid var(--er-line);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.er-faq-list summary {
	cursor: pointer;
	padding: 22px 56px 22px 24px;
	font-size: 1.06rem;
	font-weight: 720;
}

.er-faq-list details p {
	margin: 0;
	padding: 0 24px 24px;
	color: var(--er-muted);
}

.er-contact-grid {
	align-items: start;
}

.er-form-shell input,
.er-form-shell textarea,
.er-form-shell select {
	width: 100%;
	border: 1px solid #b9c6d6;
	border-radius: 10px;
	background: #fff;
}

.er-form-shell button,
.er-form-shell input[type="submit"] {
	border: 0;
	border-radius: 12px;
	background: var(--er-primary);
	color: #fff;
	font-weight: 720;
}

.er-small {
	font-size: 0.86rem;
}

.er-product-assurance {
	margin: 26px 0;
	padding: 24px;
	border: 1px solid var(--er-line);
	border-radius: var(--er-radius);
	background: var(--er-soft);
}

.er-product-assurance h2,
.er-product-description h2 {
	margin: 0 0 14px;
	font-size: 1.35rem;
}

.er-current-price {
	font-family: var(--er-font) !important;
	font-weight: 800;
	color: var(--er-ink);
}

body.extrareseller-product-optimized .product .product_title {
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.08;
}

body.extrareseller-product-optimized .product .price {
	font-family: var(--er-font) !important;
}

@media (max-width: 1120px) {
	.er-catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.er-catalog-grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.er-shell {
		width: min(100% - 32px, 1200px);
	}

	.er-hero-grid,
	.er-split,
	.er-contact-grid,
	.er-provider-grid,
	.er-catalog-grid,
	.er-catalog-grid-3,
	.er-feature-grid,
	.er-step-grid {
		grid-template-columns: 1fr;
	}

	.er-hero-card {
		margin-top: 12px;
	}

	.er-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.er-button {
		width: 100%;
	}

	.er-card-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.er-provider-card,
	.er-catalog-card {
		padding: 24px;
	}

	.er-hero h1,
	.er-page-hero h1 {
		font-size: clamp(2.35rem, 12vw, 3.35rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.er-button {
		transition: none;
	}

	.er-button:hover {
		transform: none;
	}
}
