.ecommerce-guide-page {
	--commerce-blue: #176fd6;
	--commerce-deep: #14243b;
	--commerce-green: #14956d;
	--commerce-gold: #d89b24;
}

.ecommerce-guide-page section,
.ecommerce-guide-page nav {
	scroll-margin-top: 92px;
}

.ecommerce-guide-hero {
	align-items: center;
	background:
		radial-gradient(circle at 86% 16%, rgba(48, 155, 214, .12), transparent 35%),
		linear-gradient(145deg, #fff 0%, #f7fbff 70%, #f1fbf7 100%);
}

.ecommerce-guide-plan {
	align-items: center;
	color: #176b51;
	display: flex;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	margin-top: 17px;
}

.ecommerce-guide-plan i {
	color: #e1a324;
}

.ecommerce-guide-dashboard {
	background: linear-gradient(145deg, #14243b, #1d3553);
	border: 1px solid #314c6f;
	border-radius: 17px;
	box-shadow: 0 24px 50px rgba(20, 36, 59, .24);
	color: #edf5ff;
	direction: ltr;
	min-width: 0;
	overflow: hidden;
	padding: 22px;
	text-align: left;
	unicode-bidi: isolate;
}

.ecommerce-guide-dashboard-head {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 17px;
}

.ecommerce-guide-dashboard-head span {
	font-size: 15px;
	font-weight: 900;
}

.ecommerce-guide-dashboard-head strong {
	background: rgba(76, 201, 155, .14);
	border: 1px solid rgba(107, 222, 181, .32);
	border-radius: 999px;
	color: #8fe2c4;
	font-size: 10px;
	padding: 6px 9px;
}

.ecommerce-guide-metrics {
	display: grid;
	gap: 9px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecommerce-guide-metrics > div {
	background: rgba(255, 255, 255, .055);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 10px;
	display: grid;
	min-width: 0;
	padding: 12px;
}

.ecommerce-guide-metrics small {
	color: #a9bdd6;
	font-size: 9px;
	font-weight: 800;
	min-height: 26px;
}

.ecommerce-guide-metrics strong {
	font-size: 18px;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ecommerce-guide-metrics span {
	color: #7ee0bd;
	font-size: 9px;
	font-weight: 800;
}

.ecommerce-guide-flow {
	align-items: end;
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	display: flex;
	gap: 6px;
	height: 86px;
	margin-top: 18px;
}

.ecommerce-guide-flow i {
	background: linear-gradient(180deg, #5baeff, #2877ca);
	border-radius: 4px 4px 0 0;
	flex: 1;
	height: 38%;
}

.ecommerce-guide-flow i:nth-child(2),
.ecommerce-guide-flow i:nth-child(7),
.ecommerce-guide-flow i:nth-child(10) { height: 63%; }
.ecommerce-guide-flow i:nth-child(3),
.ecommerce-guide-flow i:nth-child(8) { height: 45%; }
.ecommerce-guide-flow i:nth-child(4),
.ecommerce-guide-flow i:nth-child(11) { height: 78%; }
.ecommerce-guide-flow i:nth-child(5) { height: 57%; }
.ecommerce-guide-flow i:nth-child(6) { height: 89%; }
.ecommerce-guide-flow i:nth-child(9) { height: 70%; }
.ecommerce-guide-flow i:nth-child(12) {
	background: linear-gradient(180deg, #65ddb5, #15946c);
	height: 100%;
}

.ecommerce-guide-dashboard > p {
	color: #a9bdd6;
	font-size: 11px;
	line-height: 1.55;
	margin: 14px 0 0;
}

.ecommerce-guide-nav {
	align-items: center;
	background: rgba(255, 255, 255, .97);
	border: 1px solid #dce6f2;
	border-radius: 11px;
	box-shadow: 0 11px 30px rgba(23, 36, 54, .08);
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 22px;
	padding: 9px;
	position: sticky;
	top: 10px;
	z-index: 20;
}

.ecommerce-guide-nav a {
	border-radius: 7px;
	color: #35506f;
	font-size: 12px;
	font-weight: 800;
	padding: 9px 11px;
	text-decoration: none;
}

.ecommerce-guide-nav a:hover,
.ecommerce-guide-nav a:focus {
	background: #eaf3ff;
	color: #176fd6;
	text-decoration: none;
}

.ecommerce-guide-nav a:focus-visible,
.ecommerce-guide-platform a:focus-visible,
.ecommerce-guide-page .btn:focus-visible,
.ecommerce-guide-page summary:focus-visible {
	outline: 3px solid rgba(23, 111, 214, .3);
	outline-offset: 3px;
}

.ecommerce-guide-lanes {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecommerce-guide-lane {
	background: #f8fbff;
	border: 1px solid #dbe7f3;
	border-radius: 13px;
	min-width: 0;
	padding: 24px;
}

.ecommerce-guide-lane.is-provider {
	background: #f6fbf8;
	border-color: #d4e9df;
}

.ecommerce-guide-lane-title {
	align-items: center;
	display: flex;
	gap: 13px;
	margin-bottom: 16px;
}

.ecommerce-guide-lane-title > i {
	align-items: center;
	background: #e3f1ff;
	border-radius: 11px;
	color: #176fd6;
	display: inline-flex;
	font-size: 19px;
	height: 46px;
	justify-content: center;
	min-width: 46px;
}

.ecommerce-guide-lane.is-provider .ecommerce-guide-lane-title > i {
	background: #def4e9;
	color: #13845f;
}

.ecommerce-guide-lane-title small {
	color: #718398;
	display: block;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .06em;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.ecommerce-guide-lane h3,
.ecommerce-guide-lane h4,
.ecommerce-guide-platform h3,
.ecommerce-guide-audit h3 {
	color: #21344a;
	font-weight: 800;
	margin: 0;
}

.ecommerce-guide-lane h3 { font-size: 20px; }
.ecommerce-guide-lane h4 { font-size: 13px; margin-top: 18px; }

.ecommerce-guide-lane > p,
.ecommerce-guide-platform p,
.ecommerce-guide-audit p,
.ecommerce-guide-server-copy > p,
.ecommerce-guide-forward p {
	color: #5d7086;
	font-size: 14px;
	line-height: 1.7;
	margin: 8px 0 0;
}

.ecommerce-guide-boundary {
	background: #fff;
	border: 1px solid #dce6f2;
	border-radius: 9px;
	display: grid;
	gap: 5px;
	margin-top: 18px;
	padding: 14px;
}

.ecommerce-guide-boundary strong {
	color: #253b56;
	font-size: 12px;
}

.ecommerce-guide-boundary span {
	color: #63758a;
	font-size: 13px;
	line-height: 1.6;
}

.ecommerce-guide-report-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ecommerce-guide-report-grid .seo-card {
	min-width: 0;
	padding: 19px;
}

.ecommerce-guide-report-grid .seo-card h3 { font-size: 16px; }
.ecommerce-guide-report-grid .seo-card p { font-size: 13px; }

.ecommerce-guide-audit {
	align-items: flex-start;
	background: linear-gradient(135deg, #172436, #243c5c);
	border-radius: 11px;
	color: #fff;
	display: grid;
	gap: 15px;
	grid-template-columns: 45px minmax(0, 1fr);
	margin-top: 16px;
	padding: 20px;
}

.ecommerce-guide-audit > i {
	align-items: center;
	background: rgba(255, 255, 255, .1);
	border-radius: 10px;
	display: flex;
	font-size: 18px;
	height: 45px;
	justify-content: center;
	width: 45px;
}

.ecommerce-guide-audit h3 { color: #fff; font-size: 17px; }
.ecommerce-guide-audit p { color: #c4d3e4; }

.ecommerce-guide-setup-steps {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecommerce-guide-platforms {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 22px;
}

.ecommerce-guide-platform {
	background: #f9fbfe;
	border: 1px solid #dce6f2;
	border-radius: 11px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
}

.ecommerce-guide-platform-head {
	align-items: center;
	display: flex;
	gap: 11px;
	margin-bottom: 6px;
}

.ecommerce-guide-platform-mark {
	align-items: center;
	background: #e9f3ff;
	border-radius: 10px;
	color: #176fd6;
	display: inline-flex;
	font-size: 17px;
	font-weight: 900;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.ecommerce-guide-platform-mark.is-shopify { background: #e9f6e4; color: #548b35; }
.ecommerce-guide-platform-mark.is-woo { background: #eee8fc; color: #7250a8; }

.ecommerce-guide-platform-links {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: auto;
	padding-top: 16px;
}

.ecommerce-guide-platform-links a {
	color: #176fd6;
	font-size: 12px;
	font-weight: 800;
}

.ecommerce-guide-code-layout,
.ecommerce-guide-server-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
}

.ecommerce-guide-code {
	background: #101b2c;
	border: 1px solid #2d425f;
	border-radius: 12px;
	color: #dbe9fa;
	direction: ltr;
	font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	margin: 0;
	max-width: 100%;
	overflow-x: auto;
	padding: 20px;
	text-align: left;
	unicode-bidi: isolate;
	white-space: pre;
}

.ecommerce-guide-code-notes {
	display: grid;
	gap: 10px;
}

.ecommerce-guide-code-notes > div {
	background: #f8fbff;
	border: 1px solid #dde8f3;
	border-radius: 10px;
	display: grid;
	gap: 6px 11px;
	grid-template-columns: 30px minmax(0, 1fr);
	padding: 13px;
}

.ecommerce-guide-code-notes i {
	color: #176fd6;
	font-size: 16px;
	grid-row: 1 / span 2;
	margin-top: 3px;
	text-align: center;
}

.ecommerce-guide-code-notes p,
.ecommerce-guide-code-notes span {
	color: #4f647c;
	font-size: 12px;
	line-height: 1.55;
	margin: 0;
}

.ecommerce-guide-code-notes span { color: #73859a; }

.ecommerce-guide-enable-note {
	align-items: flex-start;
	background: #eaf4ff;
	border: 1px solid #c8dff5;
	border-radius: 9px;
	color: #294a6d;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 11px;
	line-height: 1.65;
	margin-top: 17px;
	padding: 14px 16px;
}

.ecommerce-guide-enable-note > i { color: #176fd6; margin-top: 3px; }
.ecommerce-guide-enable-note.is-warning { background: #fff8e8; border-color: #ead8a8; color: #6c5520; }
.ecommerce-guide-enable-note.is-warning > i { color: #c68d18; }

.ecommerce-guide-server-copy {
	background: #f8fbff;
	border: 1px solid #dde8f3;
	border-radius: 11px;
	padding: 21px;
}

.ecommerce-guide-server-copy .btn { margin-top: 18px; }

.ecommerce-guide-request {
	align-items: center;
	background: #101b2c;
	border: 1px solid #2d425f;
	border-radius: 11px;
	direction: ltr;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
	max-width: 100%;
	min-height: 250px;
	overflow-x: auto;
	padding: 18px;
	text-align: left;
	unicode-bidi: isolate;
}

.ecommerce-guide-request code {
	background: rgba(255, 255, 255, .055);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 6px;
	color: #94e6c9;
	display: block;
	font-size: 12px;
	max-width: 100%;
	padding: 10px 12px;
	text-align: center;
	white-space: nowrap;
	width: 100%;
}

.ecommerce-guide-request > i {
	color: #69aef3;
	font-size: 17px;
	transform: rotate(90deg);
}

.ecommerce-guide-status-flow {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
}

.ecommerce-guide-status-flow > span {
	align-items: center;
	background: #f7fbff;
	border: 1px solid #d9e7f4;
	border-radius: 10px;
	color: #304b69;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	min-height: 72px;
	padding: 12px;
	text-align: center;
}

.ecommerce-guide-status-flow > span i { color: #15946c; font-size: 16px; }
.ecommerce-guide-status-flow > i { color: #7e91a7; }

.ecommerce-guide-forward {
	background: #eef8f4;
	border: 1px solid #cce7dc;
	border-radius: 10px;
	margin-top: 17px;
	padding: 18px 20px;
}

.ecommerce-guide-forward strong { color: #17684f; }

.ecommerce-guide-privacy {
	background: linear-gradient(135deg, #13243b, #18413f);
}

.ecommerce-guide-erasure-options {
	display: grid;
	gap: 9px;
}

.ecommerce-guide-erasure-options strong {
	align-items: center;
	display: flex;
	gap: 8px;
}

.ecommerce-guide-erasure-options strong:before {
	color: #73ddb8;
	content: "\f00c";
	font-family: FontAwesome;
}

.ecommerce-guide-erasure-options span {
	color: #c9d6e5;
	font-size: 12px;
	font-weight: 500;
}

.ecommerce-guide-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

[dir="rtl"] .ecommerce-guide-page .seo-step {
	padding-left: 20px;
	padding-right: 76px;
}

[dir="rtl"] .ecommerce-guide-page .seo-step:before {
	left: auto;
	right: 20px;
}

[dir="rtl"] .ecommerce-guide-status-flow > i {
	transform: scaleX(-1);
}

@media (max-width: 991px) {
	.ecommerce-guide-lanes,
	.ecommerce-guide-code-layout,
	.ecommerce-guide-server-grid {
		grid-template-columns: 1fr;
	}

	.ecommerce-guide-report-grid,
	.ecommerce-guide-platforms {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ecommerce-guide-status-flow {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ecommerce-guide-status-flow > i { display: none; }

	.ecommerce-guide-nav {
		overflow-x: auto;
		position: static;
		flex-wrap: nowrap;
	}

	.ecommerce-guide-nav a { white-space: nowrap; }
}

@media (max-width: 767px) {
	.ecommerce-guide-dashboard,
	.ecommerce-guide-lane,
	.ecommerce-guide-platform,
	.ecommerce-guide-server-copy {
		padding: 16px;
	}

	.ecommerce-guide-metrics,
	.ecommerce-guide-report-grid,
	.ecommerce-guide-platforms,
	.ecommerce-guide-setup-steps,
	.ecommerce-guide-status-flow {
		grid-template-columns: 1fr;
	}

	.ecommerce-guide-metrics small { min-height: 0; }
	.ecommerce-guide-flow { height: 62px; }
	.ecommerce-guide-code { font-size: 10px; padding: 15px; }
	.ecommerce-guide-audit { grid-template-columns: 1fr; }
	.ecommerce-guide-status-flow > span { justify-content: flex-start; min-height: 0; text-align: start; }
	.ecommerce-guide-cta-actions { justify-content: stretch; width: 100%; }
	.ecommerce-guide-cta-actions .btn { flex: 1 1 100%; }

	[dir="rtl"] .ecommerce-guide-page .seo-step {
		padding: 68px 18px 18px;
	}

	[dir="rtl"] .ecommerce-guide-page .seo-step:before {
		right: 18px;
		top: 16px;
	}
}
