/* صفحه اصلی — انیمیشن و تم */

/* گرادیان یکپارچه — رنگ اصلی سایت: #720ba1 */
body.home-page {
	--brand-deep: #520878;
	--brand-base: #720ba1;
	--brand-light: #8b2db0;
	--brand-gradient: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-deep) 45%, var(--brand-base) 82%, var(--brand-light) 100%);
	--brand-gradient-soft: linear-gradient(180deg, #ede4f5 0%, #f3eaf8 52%, #faf8f5 100%);

	--hero-deep: #1c3671;
	--hero-base: #1a428a;
	--hero-light: #4261a5;
	--hero-gradient: linear-gradient(180deg, var(--hero-deep) 0%, var(--hero-deep) 45%, var(--hero-base) 82%, var(--hero-light) 100%);
}

/* نویز بافتی — لایه مشترک روی بک‌گراند سکشن‌ها */
.home-noise {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.5;
	mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 160px 160px;
}

/* تم دارک — لایه مشکی نرم روی بک‌گراند سکشن‌ها (رنگ اصلی حفظ می‌شود) */
.home-dark-veil {
	display: none;
}

html[data-theme="dark"] .home-dark-veil {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.42);
}

#homeMobileOverlay,
#homeMobileSidebar,
#homeMobileBottomNav {
	display: none;
}

html[data-theme="dark"] body.home-page {
	background: #0f172a;
}

/* هیرو — دقیقاً یک viewport، بدون اسکرول داخلی */
.home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	overflow: hidden;
	overflow-x: clip;
	isolation: isolate;
}

.home-hero__main {
	min-height: 0;
}

.home-hero__title {
	font-size: clamp(1.15rem, 3.8vw + 0.3rem, 1.5rem);
	line-height: 1.45;
	white-space: normal;
	max-width: 100%;
}

@media (min-width: 40rem) {
	.home-hero__title {
		font-size: clamp(1.35rem, 2.5vw + 0.3rem, 1.75rem);
		line-height: 1.42;
	}
}

@media (min-width: 64rem) {
	.home-hero__main {
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
		align-items: center;
	}

	.home-hero__title {
		font-size: clamp(1.55rem, 1.8vw + 0.4rem, 2.1rem);
		line-height: 1.4;
		white-space: normal;
	}

	.home-hero__copy {
		padding-inline-end: 0.5rem;
		min-width: 0;
	}

	.home-hero__finder {
		max-width: 22rem;
		justify-self: end;
	}

	.home-hero__aside {
		justify-self: end;
		width: 100%;
		max-width: 56rem;
	}
}

@media (min-width: 80rem) {
	.home-hero__main {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.05fr);
	}

	.home-hero__title {
		font-size: clamp(1.65rem, 1.6vw + 0.35rem, 2.2rem);
	}

	.home-hero__aside {
		max-width: 56rem;
	}

	.home-hero__finder {
		max-width: 24rem;
	}
}

.home-hero__aside {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	overflow: visible;
}

.home-hero__finder {
	align-self: center;
	width: 100%;
	max-width: 22rem;
	margin-top: -0.75rem;
}

.home-hero__lottie {
	width: min(100%, 52rem);
	margin-inline: auto;
	margin-bottom: -2.5rem;
	line-height: 0;
	filter:
		drop-shadow(0 22px 44px rgba(0, 0, 0, 0.22))
		drop-shadow(0 0 40px rgba(167, 139, 250, 0.18));
}

.home-hero__lottie dotlottie-wc {
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: min(72vh, 52rem);
	transform: scale(1.35);
	transform-origin: center bottom;
}

@media (min-width: 40rem) {
	.home-hero__lottie {
		width: min(100%, 56rem);
		margin-bottom: -3rem;
	}

	.home-hero__lottie dotlottie-wc {
		max-height: min(78vh, 56rem);
		transform: scale(1.45);
	}

	.home-hero__finder {
		margin-top: -1.25rem;
	}
}

@media (min-width: 64rem) {
	.home-hero__lottie dotlottie-wc {
		transform: scale(1.55);
	}

	.home-hero__finder {
		margin-top: -1.5rem;
	}
}

.home-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--brand-gradient);
}

.home-hero__blobs {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.home-hero__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(72px);
	will-change: transform;
}

.home-hero__blob--violet {
	width: min(32rem, 70vw);
	height: min(32rem, 70vw);
	top: -18%;
	right: -12%;
	background: rgba(139, 45, 176, 0.42);
}

.home-hero__blob--blue {
	width: min(28rem, 60vw);
	height: min(28rem, 60vw);
	bottom: -18%;
	left: -12%;
	background: rgba(114, 11, 161, 0.35);
}

/* ——— Hero 3D atmosphere & depth ——— */
.home-hero__atmosphere {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
	perspective: 1200px;
}

.home-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
	will-change: transform;
}

.home-hero__glow--primary {
	width: min(36rem, 55vw);
	height: min(36rem, 55vw);
	top: 8%;
	right: -8%;
	background: radial-gradient(circle, rgba(167, 139, 250, 0.55) 0%, rgba(114, 11, 161, 0) 68%);
}

.home-hero__glow--secondary {
	width: min(28rem, 45vw);
	height: min(28rem, 45vw);
	bottom: 6%;
	left: -6%;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(114, 11, 161, 0) 70%);
}

.home-hero__glow--accent {
	width: min(22rem, 38vw);
	height: min(22rem, 38vw);
	top: 42%;
	left: 38%;
	background: radial-gradient(circle, rgba(244, 114, 182, 0.28) 0%, transparent 72%);
}

.home-hero__grid-3d {
	position: absolute;
	inset: -20% -10%;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	transform: perspective(900px) rotateX(68deg) translateY(-8%);
	transform-origin: center top;
	opacity: 0.35;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 85%);
}

.home-hero__light-beam {
	position: absolute;
	top: -15%;
	right: 18%;
	width: min(28rem, 40vw);
	height: 140%;
	background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.06) 42%, transparent 68%);
	transform: rotate(12deg);
	opacity: 0.5;
}

.home-hero__main--3d {
	position: relative;
	transform-style: preserve-3d;
}

.home-hero__layer {
	position: relative;
	transform-style: preserve-3d;
}

.home-hero__glass-chip {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow:
		0 8px 32px rgba(15, 23, 42, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-hero__title-glow {
	text-shadow:
		0 0 40px rgba(167, 139, 250, 0.25),
		0 12px 32px rgba(15, 23, 42, 0.35);
}

/* برجسته عنوان — تک‌رنگ lime روی Hero بنفش */
.home-hero__title-highlight {
	color: #a3e635;
	text-shadow: 0 0 28px rgba(163, 230, 53, 0.4);
}

.home-hero__stat {
	padding: 0.65rem 0.85rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	cursor: default;
}

.home-hero__stat:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow:
		0 16px 36px rgba(15, 23, 42, 0.22),
		0 0 24px rgba(167, 139, 250, 0.18);
}

.home-hero__lottie-stage {
	position: relative;
	width: 100%;
	transform-style: preserve-3d;
	will-change: transform;
}

.home-hero__lottie-stage::before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 8%;
	width: min(70%, 22rem);
	height: 2.5rem;
	transform: translateX(-50%);
	background: radial-gradient(ellipse, rgba(15, 23, 42, 0.35) 0%, transparent 72%);
	filter: blur(8px);
	pointer-events: none;
	z-index: 0;
}

.home-hero__lottie-stage .home-hero__lottie {
	position: relative;
	z-index: 1;
}

.home-hero__finder-glass {
	position: relative;
	z-index: 2;
	overflow: visible;
}

.home-hero__finder-glass .home-store-glow {
	box-shadow:
		0 18px 48px rgba(15, 23, 42, 0.28),
		0 0 32px rgba(167, 139, 250, 0.15);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-hero__finder-glass .home-store-glow:hover {
	transform: translateY(-2px);
	box-shadow:
		0 22px 56px rgba(15, 23, 42, 0.32),
		0 0 40px rgba(167, 139, 250, 0.22);
}

.home-hero__finder-glass .home-store-inner {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

html[data-theme="dark"] .home-hero__finder-glass .home-store-inner {
	background: rgba(30, 41, 59, 0.92);
}

@media (max-width: 63.99rem) {
	.home-hero__grid-3d,
	.home-hero__light-beam {
		display: none;
	}

	.home-hero__glow {
		filter: blur(56px);
		opacity: 0.4;
	}

	.home-hero__stat {
		padding: 0.5rem 0.7rem;
	}

	.home-hero__stat:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__stat,
	.home-hero__finder-glass .home-store-glow {
		transition: none;
	}

	.home-hero__stat:hover,
	.home-hero__finder-glass .home-store-glow:hover {
		transform: none;
	}
}

.home-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	max-height: 100%;
	box-sizing: border-box;
	padding-bottom: max(7rem, calc(5.5rem + env(safe-area-inset-bottom)));
}

@media (min-width: 64rem) {
	.home-hero__content {
		padding-bottom: 2.5rem;
	}
}

@keyframes home-border-spin {
	to { --home-angle: 360deg; }
}

@keyframes home-border-shift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

@property --home-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

/* نوار چسبان بالای موبایل — صفحه اول (بعد از هیرو) */
.home-mobile-sticky-bar {
	display: none;
}

/* منوی پایین صفحه اول — پایین در هیرو، مخفی بعد از هیرو + نوار فشرده بالا */
@media (max-width: 63.99rem) {
	/* هدر اول هیرو روی موبایل مخفی — منوی اپلیکیشنی پایین کافی است */
	body.home-page #homeTopNav {
		display: none !important;
	}

	body.home-page .mob-bottom-nav--home {
		transition:
			transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
			opacity 0.32s ease;
		will-change: transform, opacity;
	}

	body.home-page .mob-bottom-nav--home.is-docked-bottom {
		top: auto;
		bottom: 0;
		transform: translate3d(0, 0, 0);
		opacity: 1;
		pointer-events: auto;
	}

	body.home-page .mob-bottom-nav--home.is-scroll-hidden {
		top: auto;
		bottom: 0;
		transform: translate3d(0, calc(100% + 1.75rem + env(safe-area-inset-bottom, 0px)), 0);
		opacity: 0;
		pointer-events: none;
	}

	.home-mobile-sticky-bar {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 60;
		padding: max(0.5rem, env(safe-area-inset-top)) 1rem 0.55rem;
		pointer-events: none;
		transform: translate3d(0, -110%, 0);
		opacity: 0;
		transition:
			transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
			opacity 0.32s ease;
	}

	.home-mobile-sticky-bar.is-visible {
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}

	.home-mobile-sticky-bar__shell {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		width: 100%;
		max-width: 100rem;
		margin-inline: auto;
		padding: 0.55rem 0.75rem 0.55rem 0.85rem;
		border-radius: 9999px;
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid rgba(255, 255, 255, 0.72);
		box-shadow: 0 10px 32px rgba(15, 23, 42, 0.14);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
	}

	html[data-theme="dark"] .home-mobile-sticky-bar__shell {
		background: rgba(30, 41, 59, 0.96);
		border-color: rgba(71, 85, 105, 0.75);
		box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
	}

	.home-mobile-sticky-bar__brand {
		display: inline-flex;
		align-items: center;
		min-width: 0;
		text-decoration: none;
		color: inherit;
	}

	.home-mobile-sticky-bar__logo,
	.home-mobile-sticky-bar__logo-fallback {
		display: block;
		height: 1.65rem;
		width: auto;
		max-width: 7.5rem;
		object-fit: contain;
	}

	.home-mobile-sticky-bar__logo.site-brand-logo--dark {
		display: none;
	}

	html[data-theme="dark"] .home-mobile-sticky-bar__logo.site-brand-logo--light {
		display: none !important;
	}

	html[data-theme="dark"] .home-mobile-sticky-bar__logo.site-brand-logo--dark {
		display: block;
	}

	.home-mobile-sticky-bar__logo-fallback {
		font-size: 0.95rem;
		font-weight: 800;
		line-height: 1.65rem;
		color: #0f172a;
	}

	html[data-theme="dark"] .home-mobile-sticky-bar__logo-fallback {
		color: #f8fafc;
	}

	.home-mobile-sticky-bar__dash {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		padding: 0.45rem 0.85rem;
		border-radius: 9999px;
		background: #0f172a;
		color: #fff;
		font-size: 0.72rem;
		font-weight: 700;
		text-decoration: none;
		white-space: nowrap;
		transition: background 0.2s ease, transform 0.15s ease;
	}

	.home-mobile-sticky-bar__dash:active {
		transform: scale(0.96);
	}

	html[data-theme="dark"] .home-mobile-sticky-bar__dash {
		background: #f8fafc;
		color: #0f172a;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home-page .mob-bottom-nav--home,
	.home-mobile-sticky-bar {
		transition: none !important;
	}
}

/* منوی بالای دسکتاپ — صفحه اول، فیکس بعد از اسکرول */
@media (min-width: 64rem) {
	body.home-page .home-top-nav-spacer {
		display: block;
		width: 100%;
		flex-shrink: 0;
	}

	body.home-page #homeTopNav.is-fixed {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 70;
		width: 100%;
		max-width: 100rem;
		margin-inline: auto;
		padding: max(0.75rem, env(safe-area-inset-top)) 3rem 0.75rem;
		box-sizing: border-box;
		animation: home-top-nav-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
	}
}

@media (min-width: 80rem) {
	body.home-page #homeTopNav.is-fixed {
		padding-inline: 4rem;
	}
}

@keyframes home-top-nav-in {
	from {
		opacity: 0;
		transform: translate3d(0, -0.45rem, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home-page #homeTopNav.is-fixed {
		animation: none;
	}
}

/* فقط موبایل — روی دسکتاپ کاملاً مخفی */
@media (min-width: 64rem) {
	.home-mobile-only,
	#homeMobileOverlay,
	#homeMobileSidebar {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
}

/* منوی کشویی موبایل */
@media (max-width: 63.99rem) {
	#homeMobileOverlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 80;
		background: rgba(15, 23, 42, 0.45);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.42s cubic-bezier(0.33, 0.82, 0.35, 1);
	}

	#homeMobileOverlay.is-open {
		opacity: 1;
		pointer-events: auto;
	}

	#homeMobileSidebar {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 90;
		width: min(320px, 88vw);
		height: 100%;
		height: 100dvh;
		background: #fff;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-shadow: -16px 0 48px rgba(15, 23, 42, 0.2);
		will-change: transform;
		transform: translate3d(105%, 0, 0);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition:
			transform 0.52s cubic-bezier(0.32, 0.72, 0, 1),
			opacity 0.36s cubic-bezier(0.33, 0.82, 0.35, 1),
			visibility 0s linear 0.52s;
	}

	#homeMobileSidebar.is-open {
		transform: translate3d(0, 0, 0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition:
			transform 0.52s cubic-bezier(0.32, 0.72, 0, 1),
			opacity 0.36s cubic-bezier(0.33, 0.82, 0.35, 1),
			visibility 0s linear 0s;
	}

	html[data-theme="dark"] #homeMobileSidebar {
		background: #1e293b;
	}

	#homeMobileBottomNav {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	@media (max-width: 63.99rem) {
		#homeMobileOverlay,
		#homeMobileSidebar {
			transition: none !important;
		}
	}
}

/* باکس آدرس فروشگاه — حاشیه گرادینت متحرک */
.home-store-glow {
	position: relative;
	padding: 4px;
	border-radius: 9999px;
	overflow: hidden;
	background: linear-gradient(90deg, #8b2db0, #22d3ee, #f472b6, #818cf8, #8b2db0);
	background-size: 300% 100%;
	animation: home-border-shift 5s ease infinite;
}

@media (min-width: 640px) {
	.home-store-glow {
		padding: 5px;
	}
}

@supports (background: conic-gradient(from 0deg, red, blue)) {
	.home-store-glow {
		background: conic-gradient(from var(--home-angle), #8b2db0, #22d3ee, #f472b6, #fbbf24, #818cf8, #8b2db0);
		background-size: auto;
		animation: home-border-spin 4s linear infinite;
	}
}

.home-store-inner {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	padding: 0.375rem 0.375rem 0.375rem 0.5rem;
	border-radius: 9999px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.home-store-field {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
}

.home-store-input {
	width: 100%;
	border: 0;
	background: transparent;
	background-color: transparent;
	padding: 1.05rem 0.85rem 0.45rem 1rem;
	font-size: 1.0625rem;
	line-height: 1.4;
	color: #0f172a;
	outline: none;
	direction: ltr;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
}

.home-store-input::placeholder {
	color: transparent;
}

.home-store-label {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.0625rem;
	font-weight: 500;
	color: #94a3b8;
	pointer-events: none;
	transition: top 0.22s ease, transform 0.22s ease, font-size 0.22s ease, color 0.22s ease;
	transform-origin: left center;
}

.home-store-field:focus-within .home-store-label,
.home-store-field.is-filled .home-store-label {
	top: 0.45rem;
	transform: translateY(0);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #720ba1;
}

.home-store-btn {
	flex: 0 0 2.85rem;
	align-self: center;
	box-sizing: border-box;
	width: 2.85rem;
	height: 2.85rem;
	min-width: 2.85rem;
	min-height: 2.85rem;
	max-width: 2.85rem;
	max-height: 2.85rem;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #0f172a;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.home-store-btn:hover {
	background: #1e293b;
	transform: translateY(-1px);
}

.home-store-btn:disabled,
.home-store-btn.is-loading {
	opacity: 0.72;
	cursor: wait;
	transform: none;
}

.home-store-hint {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 0.4rem);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	margin-top: 0;
	padding: 0.22rem 0.3rem 0.22rem 0.22rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	backdrop-filter: blur(10px);
	pointer-events: auto;
}

.home-store-hint[hidden] {
	display: none !important;
}

.home-store-hint.is-error {
	background: rgba(254, 242, 242, 0.98);
	border-color: rgba(252, 165, 165, 0.7);
	box-shadow: 0 8px 20px rgba(127, 29, 29, 0.1);
}

.home-store-hint.is-error .home-store-hint__text {
	color: #991b1b;
}

.home-store-hint.is-error .home-store-hint__cta[hidden] {
	display: none !important;
}

.home-store-hint__text {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0f172a;
	text-align: right;
	padding-inline-end: 0.15rem;
}

.home-store-hint__cta {
	flex: 0 0 2.45rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 2.45rem;
	height: 2.45rem;
	min-width: 2.45rem;
	min-height: 2.45rem;
	max-width: 2.45rem;
	max-height: 2.45rem;
	aspect-ratio: 1 / 1;
	padding: 0;
	border-radius: 50%;
	background: #0f172a;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.15s ease;
}

.home-store-hint__cta:hover {
	background: #1e293b;
}

.home-store-hint__cta:active {
	transform: scale(0.96);
}

html[data-theme="dark"] .home-store-hint {
	background: rgba(30, 41, 59, 0.94);
	border-color: rgba(71, 85, 105, 0.65);
}

html[data-theme="dark"] .home-store-hint.is-error {
	background: rgba(69, 10, 10, 0.92);
	border-color: rgba(185, 28, 28, 0.55);
}

html[data-theme="dark"] .home-store-hint__text {
	color: #e2e8f0;
}

html[data-theme="dark"] .home-store-hint.is-error .home-store-hint__text {
	color: #fecaca;
}

html[data-theme="dark"] .home-store-hint__cta {
	background: #f8fafc;
	color: #0f172a;
}

html[data-theme="dark"] .home-store-hint__cta:hover {
	background: #e2e8f0;
}

@media (max-width: 639px) {
	.home-store-input {
		padding: 0.9rem 0.7rem 0.4rem 0.7rem;
		font-size: 0.9375rem;
	}

	.home-store-label {
		left: 0.7rem;
		font-size: 0.9375rem;
	}

	.home-store-field:focus-within .home-store-label,
	.home-store-field.is-filled .home-store-label {
		top: 0.35rem;
		font-size: 0.625rem;
	}

	.home-store-btn {
		flex-basis: 2.55rem;
		width: 2.55rem;
		height: 2.55rem;
		min-width: 2.55rem;
		min-height: 2.55rem;
		max-width: 2.55rem;
		max-height: 2.55rem;
		padding: 0;
		font-size: 0.75rem;
	}

	.home-store-inner {
		padding: 0.22rem 0.22rem 0.22rem 0.3rem;
	}

	.home-store-hint {
		padding: 0.1rem 0.2rem 0.1rem 0.1rem;
		gap: 0.25rem;
		top: calc(100% + 0.3rem);
	}

	.home-store-hint__text {
		font-size: 0.65rem;
		line-height: 1.3;
		padding-inline-end: 0.05rem;
	}

	.home-store-hint__cta {
		flex-basis: 2.05rem;
		width: 2.05rem;
		height: 2.05rem;
		min-width: 2.05rem;
		min-height: 2.05rem;
		max-width: 2.05rem;
		max-height: 2.05rem;
		padding: 0;
		font-size: 0.6rem;
	}
}

/* تم دارک */
html[data-theme="dark"] .home-store-inner {
	background: rgba(15, 23, 42, 0.94);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .site-theme .home-store-input,
html[data-theme="dark"] .home-store-input {
	color: #f1f5f9;
	background: transparent !important;
	background-color: transparent !important;
	border-color: transparent !important;
}

html[data-theme="dark"] .home-store-label {
	color: #64748b;
}

html[data-theme="dark"] .home-store-field:focus-within .home-store-label,
html[data-theme="dark"] .home-store-field.is-filled .home-store-label {
	color: #ead8f0;
}

html[data-theme="dark"] .home-store-btn {
	background: #f8fafc;
	color: #0f172a;
}

html[data-theme="dark"] .home-store-btn:hover {
	background: #e2e8f0;
}

html[data-theme="dark"] .home-nav-shell {
	background: rgba(15, 23, 42, 0.92) !important;
	border-color: rgba(51, 65, 85, 0.75) !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .home-nav-shell .home-nav-brand-text {
	color: #f8fafc;
}

html[data-theme="dark"] .home-nav-link-idle {
	color: #94a3b8 !important;
}

html[data-theme="dark"] .home-nav-link-idle:hover {
	background: rgba(51, 65, 85, 0.6) !important;
	color: #f1f5f9 !important;
}

html[data-theme="dark"] .home-nav-shell .home-nav-link.bg-violet-100 {
	background: rgba(255, 255, 255, 0.95) !important;
	color: #620890 !important;
}

html[data-theme="dark"] .home-nav-cta {
	background: rgba(30, 41, 59, 0.95) !important;
	border: 1px solid rgba(71, 85, 105, 0.65);
}

html[data-theme="dark"] .home-nav-cta:hover {
	background: rgba(51, 65, 85, 0.95) !important;
}

html[data-theme="dark"] .home-hero-badge {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

/* ─── بخش دوم: اسلایدر تبلیغاتی ─── */
.home-showcase {
	position: relative;
	z-index: 5;
	color: #f8fafc;
	overflow-x: clip;
	overflow-y: visible;
	isolation: isolate;
	--showcase-slide-w: min(50rem, 92vw);
	--showcase-slide-h: min(34rem, 72vw);
}

.home-showcase__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--hero-gradient);
}

.home-showcase__blobs {
	display: none;
}

.home-showcase__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(72px);
}

.home-showcase__blob--violet {
	width: min(36rem, 75vw);
	height: min(36rem, 75vw);
	top: -14%;
	right: -10%;
	background: rgba(122, 26, 184, 0.32);
}

.home-showcase__blob--blue {
	width: min(30rem, 65vw);
	height: min(30rem, 65vw);
	bottom: -16%;
	left: -12%;
	background: rgba(82, 0, 128, 0.26);
}

.home-showcase__blob--indigo {
	width: min(22rem, 45vw);
	height: min(22rem, 45vw);
	top: 42%;
	left: 38%;
	background: rgba(45, 0, 71, 0.22);
}

.home-showcase::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 0;
	height: clamp(4rem, 10vh, 7rem);
	background: linear-gradient(to bottom, transparent, rgba(250, 248, 245, 0.22));
	pointer-events: none;
}

.home-showcase__inner {
	position: relative;
	z-index: 3;
}

.home-showcase__title {
	color: #fff;
}

.home-showcase__title-accent {
	color: #ddd6fe;
}

.home-showcase__text {
	color: rgba(255, 255, 255, 0.82);
}

.home-showcase__title-cell {
	container-type: inline-size;
	min-width: 0;
}

.home-showcase__title {
	white-space: nowrap;
	font-size: clamp(1rem, calc(100cqw / 20), 1.95rem) !important;
	line-height: 1.2;
}

.home-showcase__slider-wrap {
	position: relative;
	z-index: 3;
	width: 100%;
	margin-inline: auto;
	padding: 1rem 3rem 2.5rem;
	overflow-x: hidden;
	overflow-y: visible;
}

.home-showcase-prev,
.home-showcase-next {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-top: -1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(10px);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-showcase-prev {
	right: 0.75rem;
}

.home-showcase-next {
	left: 0.75rem;
}

.home-showcase-prev:hover,
.home-showcase-next:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	box-shadow: 0 12px 32px rgba(91, 33, 182, 0.28);
	transform: scale(1.05);
}

.home-showcase-prev.swiper-button-disabled,
.home-showcase-next.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.home-showcase-swiper {
	max-width: 100%;
	overflow: visible !important;
	padding: 1.5rem 0 1.75rem;
}

.home-showcase-swiper .swiper-wrapper {
	align-items: center;
}

.home-showcase-swiper .swiper-slide {
	width: var(--showcase-slide-w);
	height: var(--showcase-slide-h);
	flex-shrink: 0;
	display: flex;
	align-items: stretch;
	justify-content: center;
	overflow: visible;
}

.home-showcase-card {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 1.25rem;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
	transition: filter 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.home-showcase-swiper .swiper-slide:not(.swiper-slide-active) .home-showcase-card {
	filter: blur(3px);
	opacity: 9;
}

.home-showcase-swiper .swiper-slide-active .home-showcase-card {
	filter: blur(0);
	opacity: 1;
	box-shadow:
		0 20px 44px rgba(91, 33, 182, 0.16),
		0 10px 24px rgba(15, 23, 42, 0.12);
}

.home-showcase-swiper.is-dragging .home-showcase-card {
	transition: none;
}

.home-showcase-card__media {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: linear-gradient(145deg, #5b21b6, #312e81 55%, #1e1b4b);
	border-radius: 1.25rem;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.home-showcase-card__media.is-fallback .home-showcase-card__img {
	display: none;
}

.home-showcase-card__media.is-fallback,
.home-showcase-card__fallback {
	background: linear-gradient(145deg, #620890, #4338ca 45%, #1e3a8a);
}

.home-showcase-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.home-showcase-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.12) 50%, transparent 100%);
	pointer-events: none;
}

.home-showcase-card__label {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	margin: 0;
	padding: 1rem 1.25rem;
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent);
}

.home-showcase-swiper .swiper-slide-active .home-showcase-card__label {
	font-size: 1.0625rem;
}

.home-showcase-card__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 3;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	background: rgba(15, 23, 42, 0.88);
	color: #fff;
	display: none;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.home-showcase-swiper .swiper-slide-active .home-showcase-card__badge {
	display: flex;
}

.home-showcase-pagination {
	position: relative !important;
	bottom: auto !important;
	margin-top: 0.25rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.home-showcase-pagination .swiper-pagination-bullet {
	width: 0.5rem;
	height: 0.5rem;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.35);
	opacity: 1;
	transition: width 0.3s ease, background 0.3s ease;
}

.home-showcase-pagination .swiper-pagination-bullet-active {
	width: 1.75rem;
	border-radius: 9999px;
	background: #fff;
}

@media (min-width: 640px) {
	.home-showcase__slider-wrap {
		padding-inline: 4.5rem;
	}
}

@media (min-width: 1024px) {
	.home-showcase {
		--showcase-slide-w: 56rem;
		--showcase-slide-h: 38rem;
	}

	.home-showcase__slider-wrap {
		padding-inline: 5.5rem;
	}

	.home-showcase-prev {
		right: 1.25rem;
	}

	.home-showcase-next {
		left: 1.25rem;
	}
}

/* تم دارک — بخش اسلایدر (متن و کنترل‌ها) */
html[data-theme="dark"] .home-showcase {
	color: #f1f5f9;
}

html[data-theme="dark"] .home-showcase__title {
	color: #f8fafc;
}

html[data-theme="dark"] .home-showcase__title-accent {
	color: #ead8f0;
}

html[data-theme="dark"] .home-showcase__text {
	color: rgba(226, 232, 240, 0.82);
}

html[data-theme="dark"] .home-showcase-pagination .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.28);
}

html[data-theme="dark"] .home-showcase-pagination .swiper-pagination-bullet-active {
	background: #ead8f0;
}

html[data-theme="dark"] .home-showcase-prev,
html[data-theme="dark"] .home-showcase-next {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.18);
	color: #e2e8f0;
}

html[data-theme="dark"] .home-showcase-prev:hover,
html[data-theme="dark"] .home-showcase-next:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}
