/* روند ساخت فروشگاه — Scroll-driven Product Demo */

.home-build-journey {
	--hbj-deep: #1a0f2e;
	--hbj-base: #2a1548;
	--hbj-mid: #3d1f6b;
	--hbj-accent: #c084fc;
	--hbj-accent-2: #22d3ee;
	--hbj-surface: rgba(255, 255, 255, 0.96);
	--hbj-ink: #0f172a;
	--hbj-muted: #64748b;
	--hbj-border: rgba(148, 163, 184, 0.28);
	position: relative;
	/* بالاتر از showcase/features تا موقع pin، کارت‌های بعدی روی این سکشن نیایند */
	z-index: 6;
	isolation: isolate;
	overflow-x: clip;
	overflow-y: clip;
	color: #f8fafc;
	background:
		radial-gradient(ellipse 70% 50% at 85% 18%, rgba(114, 11, 161, 0.22), transparent 58%),
		radial-gradient(ellipse 55% 40% at 12% 78%, rgba(34, 211, 238, 0.1), transparent 52%),
		linear-gradient(180deg, var(--hbj-deep) 0%, var(--hbj-base) 48%, var(--hbj-mid) 100%);
	padding-block: clamp(3rem, 8vh, 5.5rem);
}

/* حالت روشن — بک‌گراند کمی روشن‌تر */
html:not([data-theme="dark"]) .home-build-journey {
	--hbj-deep: #2a1840;
	--hbj-base: #3b2260;
	--hbj-mid: #4f2d80;
}

.home-build-journey__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.45;
}

.home-build-journey__glow--a {
	width: min(22rem, 55vw);
	height: min(22rem, 55vw);
	top: 12%;
	left: 4%;
	background: rgba(114, 11, 161, 0.28);
}

.home-build-journey__glow--b {
	width: min(22rem, 55vw);
	height: min(22rem, 55vw);
	bottom: 5%;
	right: -4%;
	background: rgba(34, 211, 238, 0.18);
}

.home-build-journey__pin {
	position: relative;
	z-index: 3;
}

.home-build-journey__inner {
	position: relative;
	z-index: 3;
}

.home-build-journey__header {
	max-width: 40rem;
	margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}

.home-build-journey__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #ede9fe;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(8px);
}

.home-build-journey__title {
	font-size: clamp(1.45rem, 3.6vw, 2.35rem);
	line-height: 1.25;
	margin-bottom: 0.75rem;
	color: #fff;
}

.home-build-journey__title-accent {
	color: #e9d5ff;
	background: linear-gradient(120deg, #e9d5ff, #67e8f9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.home-build-journey__lead {
	font-size: clamp(0.9rem, 1.6vw, 1.05rem);
	line-height: 1.8;
	color: rgba(248, 250, 252, 0.72);
	max-width: 34rem;
}

.home-build-journey__lead--mobile {
	display: none;
}

@media (min-width: 1024px) {
	.home-build-journey__lead--desktop {
		display: block;
	}
}

/* Desktop: mockup RIGHT, copy LEFT (RTL grid start = right) */
.home-build-journey__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 2.75rem);
	align-items: center;
}

@media (min-width: 1024px) {
	.home-build-journey__layout {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
		gap: clamp(2rem, 4vw, 3.5rem);
		min-height: min(70vh, 36rem);
	}
}

/* ── Stage / Device mockup ── */
.home-build-journey__stage {
	perspective: 1400px;
}

.home-build-journey__device {
	position: relative;
	border-radius: 1.35rem;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.05) inset;
	overflow: hidden;
	transform-style: preserve-3d;
	transform: rotateY(-4deg) rotateX(3deg);
	will-change: transform;
}

@media (min-width: 1024px) {
	.home-build-journey__device {
		transform: rotateY(-6deg) rotateX(4deg) translateZ(0);
	}
}

.home-build-journey__chrome {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 0.9rem;
	background: rgba(15, 23, 42, 0.55);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-build-journey__chrome--phone {
	display: none;
}

.home-build-journey__dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
}

.home-build-journey__dot--r { background: #fb7185; }
.home-build-journey__dot--y { background: #fbbf24; }
.home-build-journey__dot--g { background: #34d399; }

.home-build-journey__url {
	margin-inline-start: 0.65rem;
	flex: 1;
	min-width: 0;
	padding: 0.28rem 0.65rem;
	border-radius: 0.5rem;
	font-size: 0.72rem;
	color: rgba(226, 232, 240, 0.75);
	background: rgba(0, 0, 0, 0.25);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-build-journey__viewport {
	position: relative;
	height: clamp(19rem, 52vw, 24rem);
	background:
		linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
	overflow: hidden;
}

@media (min-width: 640px) {
	.home-build-journey__viewport {
		height: clamp(22rem, 42vh, 26rem);
	}
}

.home-build-journey__panel {
	position: absolute;
	inset: 0;
	padding: clamp(1rem, 3vw, 1.5rem);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(28px) scale(0.96) rotateX(8deg);
	transform-origin: center top;
	will-change: transform, opacity;
}

.home-build-journey__panel.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

/* ── Step copy ── */
.home-build-journey__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.home-build-journey__step-btn {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	text-align: right;
	padding: 0.95rem 1rem;
	border-radius: 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: inherit;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-build-journey__step-btn:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.14);
}

.home-build-journey__step.is-active .home-build-journey__step-btn {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(192, 132, 252, 0.45);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.home-build-journey__step.is-done .home-build-journey__step-btn {
	opacity: 0.72;
}

.home-build-journey__step-index {
	position: relative;
	width: 2.35rem;
	height: 2.35rem;
	flex-shrink: 0;
	border-radius: 0.8rem;
	display: grid;
	place-items: center;
	font-size: 0.78rem;
	font-weight: 800;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(248, 250, 252, 0.7);
}

.home-build-journey__step.is-active .home-build-journey__step-index {
	background: linear-gradient(145deg, #a855f7, #7c3aed);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 22px rgba(124, 58, 237, 0.4);
}

.home-build-journey__step.is-done .home-build-journey__step-index {
	background: rgba(52, 211, 153, 0.18);
	border-color: rgba(52, 211, 153, 0.4);
	color: #6ee7b7;
}

.home-build-journey__step-check {
	display: none;
	width: 1rem;
	height: 1rem;
}

.home-build-journey__step.is-done .home-build-journey__step-num {
	display: none;
}

.home-build-journey__step.is-done .home-build-journey__step-check {
	display: block;
}

.home-build-journey__step-body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.home-build-journey__step-hint {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(226, 232, 240, 0.45);
	text-transform: uppercase;
}

.home-build-journey__step.is-active .home-build-journey__step-hint {
	color: #c4b5fd;
}

.home-build-journey__step-title {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 800;
	color: #fff;
}

.home-build-journey__step-desc {
	font-size: 0.86rem;
	line-height: 1.7;
	color: rgba(226, 232, 240, 0.55);
	display: none;
}

.home-build-journey__step.is-active .home-build-journey__step-desc {
	display: block;
}

.home-build-journey__progress {
	margin-top: 1.15rem;
	height: 0.28rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.home-build-journey__progress-bar {
	height: 100%;
	width: 25%;
	border-radius: inherit;
	background: linear-gradient(90deg, #a855f7, #22d3ee);
	transform-origin: right center;
	will-change: width;
}

/* ── Mock UI: Create ── */
.hbj-create {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.85rem;
	color: var(--hbj-ink);
}

.hbj-create__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	align-self: flex-start;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #6d28d9;
	background: rgba(167, 139, 250, 0.16);
}

.hbj-create__title {
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	font-weight: 900;
}

.hbj-create__desc {
	font-size: 0.88rem;
	color: var(--hbj-muted);
	line-height: 1.7;
}

.hbj-create__form {
	display: grid;
	gap: 0.65rem;
	margin-top: 0.35rem;
}

.hbj-create__cta {
	margin-top: 0.35rem;
	align-self: flex-start;
	padding: 0.75rem 1.2rem;
	border-radius: 0.9rem;
	border: none;
	font-weight: 700;
	font-size: 0.9rem;
	color: #fff;
	cursor: pointer;
	background: linear-gradient(135deg, #7c3aed, #a855f7);
	box-shadow: 0 12px 28px rgba(124, 58, 237, 0.3);
}

/* Shared fields */
.hbj-field {
	display: block;
	position: relative;
}

.hbj-field__label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #475569;
}

.hbj-field__input {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.65rem 0.9rem;
	border-radius: 0.85rem;
	border: 1px solid var(--hbj-border);
	background: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--hbj-ink);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hbj-field__input--ghost {
	color: #94a3b8;
	font-weight: 500;
}

.hbj-field__input--ltr {
	direction: ltr;
	justify-content: flex-start;
}

.hbj-field__caret {
	position: absolute;
	left: 1rem;
	bottom: 0.85rem;
	width: 2px;
	height: 1.1rem;
	background: #7c3aed;
	opacity: 0;
	animation: hbj-caret 1s steps(1) infinite;
}

.hbj-field.is-typing .hbj-field__caret {
	opacity: 1;
}

@keyframes hbj-caret {
	50% { opacity: 0; }
}

/* ── Mock UI: Name ── */
.hbj-name {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.9rem;
	color: var(--hbj-ink);
}

.hbj-name__heading {
	font-size: 1.05rem;
	font-weight: 800;
}

.hbj-name__prefix {
	color: #94a3b8;
	font-weight: 500;
}

.hbj-name__ok {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	align-self: flex-start;
	padding: 0.4rem 0.75rem;
	border-radius: 0.7rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: #047857;
	background: rgba(16, 185, 129, 0.12);
	opacity: 0;
	transform: translateY(6px);
}

.hbj-name__ok.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ── Mock UI: Categories ── */
.hbj-cats {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	color: var(--hbj-ink);
}

.hbj-cats__heading {
	font-size: 1.05rem;
	font-weight: 800;
}

.hbj-cats__sub {
	font-size: 0.82rem;
	color: var(--hbj-muted);
	margin-top: -0.35rem;
}

.hbj-cats__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-top: 0.25rem;
}

.hbj-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 5.25rem;
	padding: 0.85rem 0.5rem;
	border-radius: 1rem;
	border: 1px solid var(--hbj-border);
	background: #fff;
	color: #334155;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hbj-cat__icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.75rem;
	display: grid;
	place-items: center;
	background: #f1f5f9;
	color: #64748b;
}

.hbj-cat__icon svg,
.hbj-cat__svg {
	width: 1.35rem;
	height: 1.35rem;
	display: block;
}

.hbj-icon {
	width: 1.125rem;
	height: 1.125rem;
	display: block;
	flex-shrink: 0;
}

.hbj-icon--xs {
	width: 0.875rem;
	height: 0.875rem;
}

.hbj-create__badge .hbj-icon {
	width: 1.125rem;
	height: 1.125rem;
}

.hbj-name__ok .hbj-icon,
.hbj-ready__badge .hbj-icon {
	width: 1rem;
	height: 1rem;
}

.hbj-cat__label {
	font-size: 0.8rem;
	font-weight: 700;
}

.hbj-cat.is-selected {
	border-color: rgba(124, 58, 237, 0.55);
	background: linear-gradient(180deg, #faf5ff, #fff);
	box-shadow: 0 10px 24px rgba(124, 58, 237, 0.15);
	transform: translateY(-2px);
}

.hbj-cat.is-selected .hbj-cat__icon {
	background: linear-gradient(145deg, #a855f7, #7c3aed);
	color: #fff;
}

/* ── Mock UI: Themes ── */
.hbj-themes {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.35rem 0.15rem;
	color: #0f172a;
}

.hbj-themes__heading {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
}

.hbj-themes__sub {
	margin: 0;
	font-size: 0.8rem;
	color: #64748b;
}

.hbj-themes__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.hbj-theme {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 0.45rem;
	border-radius: 0.95rem;
	border: 1.5px solid #e2e8f0;
	background: #fff;
	text-align: right;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hbj-theme__preview {
	position: relative;
	display: block;
	height: 4.25rem;
	border-radius: 0.7rem;
	overflow: hidden;
	background:
		linear-gradient(145deg, var(--hbj-swatch-c) 0%, #fff 55%),
		var(--hbj-swatch-c);
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.hbj-theme__bar {
	position: absolute;
	top: 0;
	inset-inline: 0;
	height: 0.55rem;
	background: linear-gradient(90deg, var(--hbj-swatch-a), var(--hbj-swatch-b));
}

.hbj-theme__card {
	position: absolute;
	top: 1.05rem;
	inset-inline-start: 0.45rem;
	width: 42%;
	height: 2.4rem;
	border-radius: 0.4rem;
	background: #fff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	border-top: 2px solid var(--hbj-swatch-a);
}

.hbj-theme__card--sm {
	inset-inline-start: auto;
	inset-inline-end: 0.45rem;
	width: 36%;
	height: 1.85rem;
	top: 1.35rem;
	opacity: 0.92;
	border-top-color: var(--hbj-swatch-b);
}

.hbj-theme__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	min-height: 1.15rem;
	padding: 0 0.15rem 0.1rem;
}

.hbj-theme__name {
	font-size: 0.78rem;
	font-weight: 800;
	color: #0f172a;
}

.hbj-theme__badge {
	display: none;
	align-items: center;
	gap: 0.2rem;
	font-size: 0.62rem;
	font-weight: 700;
	color: #1C584C;
	background: rgba(28, 88, 76, 0.1);
	border-radius: 9999px;
	padding: 0.15rem 0.4rem;
}

.hbj-theme.is-selected {
	border-color: rgba(28, 88, 76, 0.55);
	background: linear-gradient(180deg, #f3faf7, #fff);
	box-shadow: 0 10px 24px rgba(28, 88, 76, 0.14);
	transform: translateY(-2px);
}

.hbj-theme.is-selected .hbj-theme__badge {
	display: inline-flex;
}

.hbj-theme.is-selected .hbj-theme__preview {
	box-shadow: inset 0 0 0 1.5px rgba(28, 88, 76, 0.35);
}

/* ── Mock UI: Ready ── */
.hbj-ready {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	color: var(--hbj-ink);
}

.hbj-ready__store {
	position: relative;
	border-radius: 1.15rem;
	overflow: hidden;
	border: 1px solid var(--hbj-border);
	background: #fff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.hbj-ready__cover {
	height: 4.5rem;
	background:
		linear-gradient(120deg, rgba(124, 58, 237, 0.85), rgba(14, 165, 233, 0.75)),
		radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.35), transparent 45%);
}

.hbj-ready__logo {
	position: absolute;
	top: 3.1rem;
	right: 1rem;
	width: 3rem;
	height: 3rem;
	border-radius: 0.9rem;
	display: grid;
	place-items: center;
	font-weight: 900;
	font-size: 1.1rem;
	color: #fff;
	background: linear-gradient(145deg, #7c3aed, #4c1d95);
	border: 3px solid #fff;
	box-shadow: 0 8px 18px rgba(76, 29, 149, 0.3);
}

.hbj-ready__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 1.65rem 1rem 1rem;
}

.hbj-ready__meta strong {
	font-size: 1rem;
}

.hbj-ready__meta span {
	font-size: 0.78rem;
	color: var(--hbj-muted);
}

.hbj-ready__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #047857;
	background: rgba(255, 255, 255, 0.92);
}

.hbj-ready__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.hbj-ready__list li {
	position: relative;
	padding-inline-start: 1.35rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: #334155;
}

.hbj-ready__list li::before {
	content: '';
	position: absolute;
	right: 0;
	top: 0.35rem;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.hbj-ready__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.15rem;
	border-radius: 0.9rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(135deg, #0f766e, #14b8a6);
	box-shadow: 0 12px 28px rgba(20, 184, 166, 0.28);
}

/* Mobile: مراحل با کلیک (بدون pin / اسکرول scrub) */
@media (max-width: 1023px) {
	.home-build-journey {
		padding-block: 0;
		--hbj-bottom-nav: 5.25rem;
		--hbj-sticky-top: 4.75rem;
	}

	.home-build-journey__pin,
	.home-build-journey.is-mobile-static .home-build-journey__pin {
		min-height: 0;
		height: auto;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		box-sizing: border-box;
		padding-top: 0.25rem;
		padding-bottom: calc(var(--hbj-bottom-nav) + 0.75rem);
	}

	.home-build-journey__inner {
		flex: 1;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.home-build-journey__header {
		margin-bottom: 0.85rem;
		flex-shrink: 0;
	}

	.home-build-journey__eyebrow {
		margin-bottom: 0.4rem;
		font-size: 0.7rem;
		padding: 0.28rem 0.7rem;
	}

	.home-build-journey__title {
		font-size: 1.2rem;
		margin-bottom: 0;
	}

	.home-build-journey__lead--desktop {
		display: none;
	}

	.home-build-journey__lead--mobile {
		display: block;
		margin-top: 0.45rem;
		font-size: 0.8rem;
		line-height: 1.55;
		color: rgba(226, 232, 240, 0.72);
	}

	.home-build-journey__layout {
		display: flex;
		flex-direction: column;
		gap: 0.9rem;
		align-items: stretch;
		flex: 1;
		min-height: 0;
	}

	.home-build-journey__stage {
		position: relative;
		z-index: 1;
		order: 1;
		perspective: none;
		display: flex;
		justify-content: center;
		padding: 0;
		background: none;
		flex-shrink: 0;
	}

	.home-build-journey__copy {
		order: 2;
		position: relative;
		z-index: 2;
		flex-shrink: 0;
		display: flex;
		flex-direction: column;
		gap: 0.55rem;
	}

	/* صفحه ۹:۱۶ — بزرگ‌تر برای پر کردن فضای خالی */
	.home-build-journey__device {
		width: min(84vw, 22rem);
		max-width: calc(min(56vh, 32rem) * 9 / 16);
		aspect-ratio: 9 / 16;
		height: auto;
		max-height: min(56vh, 32rem);
		margin-inline: auto;
		border-radius: 1.15rem;
		border: 1px solid rgba(255, 255, 255, 0.16);
		background: transparent;
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
		transform: none;
		overflow: hidden;
	}

	.home-build-journey__device::before,
	.home-build-journey__device::after {
		display: none;
		content: none;
	}

	.home-build-journey__chrome--browser,
	.home-build-journey__chrome--phone {
		display: none !important;
	}

	.home-build-journey__viewport {
		position: absolute;
		inset: 0;
		height: auto;
		border-radius: inherit;
		background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
		overflow: hidden;
	}

	.home-build-journey__panel {
		padding: 0.95rem 0.85rem 0.85rem;
	}

	/* مراحل موبایل: لیست عمودی قابل لمس */
	.home-build-journey__steps-stack {
		position: relative;
		height: auto;
		overflow: visible;
		border-radius: 1rem;
	}

	.home-build-journey__steps {
		display: flex;
		flex-direction: column;
		gap: 0.55rem;
		height: auto;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.home-build-journey__step {
		position: relative;
		inset: auto;
		margin: 0;
		height: auto;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		pointer-events: auto !important;
		will-change: auto;
	}

	.home-build-journey__step:not(.is-active) .home-build-journey__step-desc {
		display: none !important;
	}

	.home-build-journey__step-hint {
		display: none !important;
	}

	.home-build-journey__step-desc,
	.home-build-journey__step.is-active .home-build-journey__step-desc {
		display: -webkit-box !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		font-size: 0.78rem;
		line-height: 1.55;
		color: rgba(226, 232, 240, 0.72);
		margin-top: 0.2rem;
	}

	.home-build-journey__step-btn {
		align-items: flex-start;
		height: auto;
		min-height: 0;
		padding: 0.75rem 0.85rem;
		gap: 0.7rem;
		border-radius: 1rem;
		background: rgba(255, 255, 255, 0.1);
		border-color: rgba(255, 255, 255, 0.14);
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.home-build-journey__step.is-active .home-build-journey__step-btn {
		background: rgba(255, 255, 255, 0.14);
		border-color: rgba(192, 132, 252, 0.5);
	}

	.home-build-journey__step-index {
		width: 2rem;
		height: 2rem;
		border-radius: 0.65rem;
		font-size: 0.7rem;
		margin-top: 0.1rem;
	}

	.home-build-journey__step-title {
		font-size: 0.95rem;
	}

	.home-build-journey__progress {
		margin-top: 0;
	}

	.hbj-cats__grid {
		gap: 0.45rem;
	}

	.hbj-cat {
		min-height: 4.35rem;
		padding: 0.55rem 0.35rem;
		border-radius: 0.85rem;
	}

	.hbj-cat__icon {
		width: 2.15rem;
		height: 2.15rem;
		border-radius: 0.6rem;
	}

	.hbj-cat__icon svg,
	.hbj-cat__svg {
		width: 16px;
		height: 16px;
	}

	.hbj-cat__label {
		font-size: 0.68rem;
		text-align: center;
		line-height: 1.3;
	}

	.hbj-create,
	.hbj-name,
	.hbj-cats,
	.hbj-themes,
	.hbj-ready {
		gap: 0.55rem;
	}

	.hbj-create__title,
	.hbj-name__heading,
	.hbj-cats__heading,
	.hbj-themes__heading {
		font-size: 0.95rem;
	}

	.hbj-create__desc,
	.hbj-cats__sub,
	.hbj-themes__sub {
		font-size: 0.75rem;
		line-height: 1.5;
	}

	.hbj-themes__grid {
		gap: 0.4rem;
	}

	.hbj-theme__preview {
		height: 3.35rem;
	}

	.hbj-theme__name {
		font-size: 0.68rem;
	}

	.hbj-theme__badge {
		font-size: 0.58rem;
		padding: 0.1rem 0.3rem;
	}

	.hbj-create__badge {
		font-size: 0.72rem;
		padding: 0.3rem 0.6rem;
	}

	.hbj-field__label {
		font-size: 0.72rem;
		margin-bottom: 0.28rem;
	}

	.hbj-field__input {
		min-height: 2.35rem;
		padding: 0.5rem 0.7rem;
		font-size: 0.82rem;
		border-radius: 0.7rem;
	}

	.hbj-create__cta,
	.hbj-ready__cta {
		min-height: 2.35rem;
		padding: 0.55rem 0.9rem;
		font-size: 0.8rem;
		border-radius: 0.75rem;
	}

	.hbj-ready__cover {
		height: 3.5rem;
	}

	.hbj-ready__logo {
		width: 2.5rem;
		height: 2.5rem;
		top: 2.35rem;
		font-size: 0.95rem;
	}

	.hbj-ready__meta {
		padding: 1.35rem 0.75rem 0.75rem;
	}

	.hbj-ready__meta strong {
		font-size: 0.9rem;
	}

	.hbj-ready__list {
		gap: 0.3rem;
	}

	.hbj-ready__list li {
		font-size: 0.78rem;
		padding-inline-start: 1.15rem;
	}
}

/* موبایل landscape / افقی: mockup شبیه تبلت + چیدمان دو ستونه */
@media (max-width: 1023px) and (orientation: landscape),
	(max-width: 1023px) and (max-height: 520px) {
	.home-build-journey {
		--hbj-bottom-nav: 4.25rem;
		--hbj-sticky-top: 3.85rem;
	}

	.home-build-journey__pin,
	.home-build-journey.is-mobile-static .home-build-journey__pin {
		min-height: 0;
		padding-top: 0.2rem;
		padding-bottom: calc(var(--hbj-bottom-nav) + 0.5rem);
	}

	.home-build-journey__header {
		margin-bottom: 0.45rem;
	}

	.home-build-journey__title {
		font-size: 1.05rem;
	}

	.home-build-journey__eyebrow {
		display: none;
	}

	.home-build-journey__layout {
		flex-direction: row;
		align-items: stretch;
		gap: 0.85rem;
		flex: 1;
		min-height: 0;
	}

	.home-build-journey__stage {
		order: 1;
		flex: 1 1 58%;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	.home-build-journey__copy {
		order: 2;
		flex: 1 1 42%;
		min-width: 11rem;
		max-width: 22rem;
		justify-content: center;
		gap: 0.45rem;
	}

	/* نسبت تبلت (۴:۳) — عرض بیشتر، بدون قفل ارتفاع خیلی کوچک */
	.home-build-journey__device {
		width: min(52vw, 28rem);
		max-width: min(52vw, 28rem);
		aspect-ratio: 4 / 3;
		height: auto;
		max-height: min(78dvh, 22rem);
		margin-inline: 0;
		border-radius: 1rem;
		box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
	}

	.home-build-journey__steps-stack {
		height: auto;
	}

	.home-build-journey__step {
		height: auto;
	}

	.home-build-journey__step-btn {
		padding: 0.65rem 0.75rem;
	}

	.home-build-journey__step-title {
		font-size: 0.88rem;
	}

	.home-build-journey__step-desc,
	.home-build-journey__step.is-active .home-build-journey__step-desc {
		-webkit-line-clamp: 2;
		font-size: 0.72rem;
	}

	.home-build-journey__panel {
		padding: 0.7rem 0.75rem 0.7rem;
	}
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
	.home-build-journey__step-desc,
	.home-build-journey__step.is-active .home-build-journey__step-desc {
		-webkit-line-clamp: unset;
	}
}

html[data-theme="dark"] .home-build-journey__viewport {
	background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

html[data-theme="dark"] .hbj-create,
html[data-theme="dark"] .hbj-name,
html[data-theme="dark"] .hbj-cats,
html[data-theme="dark"] .hbj-themes,
html[data-theme="dark"] .hbj-ready {
	color: #e2e8f0;
}

html[data-theme="dark"] .hbj-field__label {
	color: #94a3b8;
}

html[data-theme="dark"] .hbj-field__input,
html[data-theme="dark"] .hbj-cat,
html[data-theme="dark"] .hbj-theme,
html[data-theme="dark"] .hbj-ready__store {
	background: #0f172a;
	border-color: rgba(148, 163, 184, 0.2);
	color: #e2e8f0;
}

html[data-theme="dark"] .hbj-cat__icon {
	background: #1e293b;
	color: #94a3b8;
}

html[data-theme="dark"] .hbj-theme__name {
	color: #f1f5f9;
}

html[data-theme="dark"] .hbj-theme.is-selected {
	border-color: rgba(45, 212, 191, 0.45);
	background: linear-gradient(180deg, rgba(28, 88, 76, 0.28), rgba(15, 23, 42, 0.9));
	box-shadow: 0 10px 24px rgba(28, 88, 76, 0.2);
}

html[data-theme="dark"] .hbj-theme__badge {
	color: #5eead4;
	background: rgba(28, 88, 76, 0.28);
}

html[data-theme="dark"] .hbj-create__desc,
html[data-theme="dark"] .hbj-cats__sub,
html[data-theme="dark"] .hbj-themes__sub,
html[data-theme="dark"] .hbj-ready__meta span {
	color: #94a3b8;
}

html[data-theme="dark"] .hbj-ready__list li {
	color: #cbd5e1;
}

@media (prefers-reduced-motion: reduce) {
	.home-build-journey__device,
	.home-build-journey__panel,
	.hbj-cat,
	.hbj-theme,
	.hbj-name__ok {
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}
}
