/*
 * لایه اپ‌گونه چکیدا — نسخه ۲٫۱ (بازطراحی کامل بر اساس پروتوتایپ مرجع)
 *
 * قرارداد پیاده‌سازی (IMPLEMENTATION CONTRACT):
 * • بریک‌پوینت‌ها: موبایل <768 | تبلت 768–1023 | دسکتاپ ≥1024
 *   (دسکتاپ: پوسته اپ حذف و هدر دولایه ۹۰+۷۰px می‌آید؛ تبلت: پوسته اپ حفظ می‌شود)
 * • تصاویر محصول: همیشه ۱:۱ (aspect-ratio:1/1 + object-fit:cover) با شعاع ۸ تا ۱۸px
 * • ناوبر موبایل: sticky ۵۶px با grid 44/1fr/44 و دو حالت شفاف/جامد
 * • تب‌بار پایین: ۶۴px + env(safe-area-inset-bottom) با پس‌زمینه #011825 و ۵ برگه
 * • باتم‌شیت: روکش rgba(1,24,37,.45) در ۲۸۰ms + شیت translateY(100%)→0 در ۳۲۰ms
 *   با cubic-bezier(0.32,0.72,0,1) و شعاع بالای ۲۴px — در دسکتاپ مرکز صفحه
 * • کارت محصول روی هیرو: z-index 2 + margin-top -22px + شعاع ۲۴px
 * • همه رنگ‌ها از توکن‌های --ck-* در style.css خوانده می‌شوند
 * • هدف لمسی ≥44px، aria-label آیکون‌ها، بدون اسکرول افقی صفحه در 375px
 */

/* ═══════════ ۰) پایه اپ ═══════════ */
body {
	background: var(--ck-bg);
	color: var(--ck-mid);
	font-size: 14px;
	line-height: 1.7;
}

.ck-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--ck-border);
	border-radius: 8px;
}

/* ═══════════ ۱) پوسته اپ موبایل/تبلت (≤1023.9px) ═══════════ */
.ck-tabbar {
	display: none;
}

@media (max-width: 1023.9px) {

	/* ناوبر بالایی ۵۶px — sticky با grid 44/1fr/44 */
	.mdf-topbar {
		position: sticky;
		top: 0;
		z-index: 100;
		height: var(--ck-head-h);
		background: var(--ck-bg);
		border-bottom: 1px solid var(--ck-border);
		box-shadow: none;
		transition: box-shadow 0.25s ease;
	}

	body.admin-bar .mdf-topbar {
		top: 46px;
	}

	.mdf-topbar.is-scrolled {
		box-shadow: 0 2px 12px rgba(1, 24, 37, 0.08);
	}

	.mdf-topbar__inner {
		display: grid;
		grid-template-columns: 44px 1fr 44px;
		align-items: center;
		gap: 4px;
		padding: 0 12px;
		max-width: none;
		height: 100%;
	}

	.mdf-topbar__inner > * {
		min-width: 0;
	}

	.mdf-nav-toggle,
	.mdf-search-toggle {
		width: 44px;
		height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		background: none;
		border-radius: 50%;
		color: var(--ck-dark);
		transition: transform 0.15s;
		padding: 0;
	}

	.mdf-nav-toggle:active,
	.mdf-search-toggle:active {
		transform: scale(0.92);
	}

	.mdf-nav-toggle {
		justify-self: start;
	}

	/* مرکز ناوبر: نام برند + زیرنویس (در تک‌محصول: عنوان محصول) */
	.ck-nav-title {
		display: block;
		text-align: center;
		font-weight: 800;
		font-size: 16px;
		color: var(--ck-dark);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		line-height: 1.3;
	}

	.ck-nav-title small {
		display: block;
		font-weight: 600;
		font-size: 10px;
		color: var(--ck-muted);
		line-height: 1.2;
	}

	/* در موبایل: فقط همبرگری + عنوان + جست‌وجو */
	.ck-topbar-brand,
	.mdf-nav,
	.ck-topsearch,
	.mdf-topbar__links a {
		display: none !important;
	}

	.mdf-topbar__links {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 0;
	}

	.mdf-search-toggle {
		justify-self: end;
	}

	/* تب‌بار پایین — ۶۴px + safe-area، پس‌زمینه روشن، ۵ برگه */
	.ck-tabbar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 100;
		height: calc(var(--ck-tab-h) + env(safe-area-inset-bottom, 0px));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: #fff;
		border-top: 1px solid var(--ck-border);
		box-shadow: 0 -2px 12px rgba(1, 24, 37, 0.06);
		display: grid;
		grid-template-columns: repeat(5, 1fr);
	}

	.ck-tab {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		color: var(--ck-muted);
		font-size: 11px;
		font-weight: 600;
		text-decoration: none;
		position: relative;
		min-height: 44px;
		transition: color 0.2s, transform 0.15s;
	}

	.ck-tab svg {
		width: 23px;
		height: 23px;
	}

	.ck-tab:active {
		transform: scale(0.94);
	}

	/* برگه فعال: سبز با نشانگر سبز ۱۸×۳ */
	.ck-tab.is-active {
		color: var(--ck-green);
	}

	.ck-tab.is-active::after {
		content: "";
		position: absolute;
		bottom: 7px;
		right: 50%;
		transform: translateX(50%);
		width: 18px;
		height: 3px;
		border-radius: 2px;
		background: var(--ck-green);
	}

	/* محتوای صفحه از پایین به اندازه تب‌بار + فاصله */
	.mdf-main {
		padding-bottom: calc(var(--ck-tab-h) + 84px);
	}

	body.single-product_item .mdf-main {
		padding-bottom: calc(var(--ck-tab-h) + 84px);
	}

	.mdf-fab,
	.mdf-to-top {
		display: none !important;
	}
}

/* حالت فعال تب بر اساس body class (بدون جاوااسکریپت) */
body.ck-tab--home .ck-tab:nth-child(1),
body.ck-tab--cats .ck-tab:nth-child(2),
body.ck-tab--shop .ck-tab:nth-child(3),
body.ck-tab--inquiry .ck-tab:nth-child(4),
body.ck-tab--profile .ck-tab:nth-child(5) {
	color: var(--ck-green);
}

body.ck-tab--home .ck-tab:nth-child(1)::after,
body.ck-tab--cats .ck-tab:nth-child(2)::after,
body.ck-tab--shop .ck-tab:nth-child(3)::after,
body.ck-tab--inquiry .ck-tab:nth-child(4)::after,
body.ck-tab--profile .ck-tab:nth-child(5)::after {
	content: "";
	position: absolute;
	bottom: 7px;
	right: 50%;
	transform: translateX(50%);
	width: 18px;
	height: 3px;
	border-radius: 2px;
	background: var(--ck-green);
}

/* ═══════════ ۲) بنر کمپین تیره تمام‌عرض (غیر از خانه و استعلام) ═══════════ */
.ck-campaign {
	background: var(--ck-dark);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.ck-campaign__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.ck-campaign__icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
}

.ck-campaign__title {
	font-weight: 800;
	font-size: 15px;
	line-height: 1.5;
	color: #fff;
	margin: 0;
}

.ck-campaign__sub {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

.ck-campaign__cta {
	flex-shrink: 0;
	background: var(--ck-green);
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	padding: 9px 18px;
	border-radius: 12px;
	text-decoration: none;
	transition: transform 0.15s;
	white-space: nowrap;
}

.ck-campaign__cta:active {
	transform: scale(0.96);
}

/* ═══════════ ۳) درِاور موبایل — فقط دسته‌بندی‌ها با آیکون ═══════════ */
.mdf-mobile-nav {
	background: var(--ck-bg);
}

.mdf-mobile-nav__cats-title {
	display: block;
	padding: 16px 20px 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--ck-muted);
}

.mdf-mobile-cats__icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--ck-border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
	color: var(--ck-mid);
}

.mdf-mobile-cats__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mdf-mobile-cats__icon svg {
	width: 18px;
	height: 18px;
}

.mdf-menu-backdrop {
	background: rgba(1, 24, 37, 0.45);
}

/* ═══════════ ۴) دسکتاپ ≥1024 — هدر دولایه و کانتینر ۱۴۴۰ ═══════════ */
@media (min-width: 1024px) {

	.ck-tabbar,
	.ck-nav-title,
	.mdf-nav-toggle {
		display: none !important;
	}

	.mdf-fab,
	.mdf-to-top {
		display: none !important;
	}

	.mdf-main {
		padding-bottom: 0;
	}

	/* — هدر تک‌لایه ۹۰px چسبان: برند + منو + جست‌وجو + اقدامات — */
	.mdf-header {
		display: none !important;
	}

	.mdf-topbar {
		position: sticky;
		top: 0;
		z-index: 100;
		background: #fff;
		border-bottom: 1px solid var(--ck-border);
		transition: box-shadow 0.25s ease;
	}

	body.admin-bar .mdf-topbar {
		top: 32px;
	}

	.mdf-topbar.is-scrolled {
		box-shadow: var(--ck-shadow);
	}

	.mdf-topbar__inner {
		max-width: 1440px;
		margin: 0 auto;
		padding: 0 80px;
		height: auto;
		min-height: var(--ck-desk-top);
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		row-gap: 4px;
		gap: 24px;
	}

	.mdf-topbar__inner > * {
		min-width: 0;
	}

	.ck-topbar-brand {
		display: flex;
		align-items: center;
		gap: 11px;
		flex-shrink: 0;
	}

	.ck-topbar-brand__name {
		font-size: 19px;
		font-weight: 800;
		color: var(--ck-dark);
		text-decoration: none;
		white-space: nowrap;
		line-height: 1.3;
		display: block;
	}

	.ck-topbar-brand small {
		display: block;
		font-size: 10.5px;
		font-weight: 600;
		color: var(--ck-muted);
	}

	.ck-topbar-brand .custom-logo {
		max-height: 56px;
		width: auto;
	}

	.ck-brand-tagline {
		display: block;
		font-size: 10.5px;
		font-weight: 600;
		color: var(--ck-muted);
		line-height: 1.2;
	}

	/* منوی اصلی درون هدر تک‌لایه؛ در عرض‌های میانی به ردیف دوم می‌رود */
	.mdf-nav {
		flex: 1;
		min-width: 0;
	}

	@media (max-width: 1249.9px) {
		.mdf-topbar__inner {
			padding-bottom: 10px;
		}

		.mdf-nav {
			order: 10;
			flex-basis: 100%;
		}

		.mdf-nav .mdf-menu {
			flex-wrap: wrap;
		}
	}

	.mdf-nav .mdf-menu {
		display: flex;
		align-items: center;
		gap: 2px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.mdf-nav .mdf-menu > li {
		position: relative;
	}

	.mdf-nav .mdf-menu > li > a {
		display: block;
		padding: 9px 13px;
		font-size: 13.5px;
		font-weight: 600;
		color: var(--ck-dark);
		text-decoration: none;
		border-radius: 10px;
		white-space: nowrap;
		transition: color 0.2s, background 0.2s;
	}

	.mdf-nav .mdf-menu > li > a:hover {
		color: var(--ck-green);
		background: var(--ck-bar);
	}

	.mdf-nav .mdf-menu .sub-menu {
		position: absolute;
		top: calc(100% + 6px);
		right: 0;
		min-width: 190px;
		background: #fff;
		border: 1px solid var(--ck-border);
		border-radius: 14px;
		box-shadow: var(--ck-shadow-float);
		padding: 8px;
		margin: 0;
		list-style: none;
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: all 0.2s var(--ck-ease);
		z-index: 60;
	}

	.mdf-nav .mdf-menu .menu-item-has-children:hover > .sub-menu,
	.mdf-nav .mdf-menu .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.mdf-nav .mdf-menu .sub-menu a {
		display: block;
		padding: 8px 12px;
		font-size: 12.5px;
		font-weight: 600;
		color: var(--ck-mid);
		text-decoration: none;
		border-radius: 9px;
		white-space: nowrap;
	}

	.mdf-nav .mdf-menu .sub-menu a:hover {
		background: var(--ck-bar);
		color: var(--ck-green);
	}

	/* جست‌وجوی بزرگ با دراپ نتایج زنده */
	.ck-topsearch {
		flex: 0 1 420px;
		position: relative;
	}

	.ck-topsearch__input {
		width: 100%;
		height: 46px;
		border: 1px solid var(--ck-border);
		border-radius: 14px;
		background: var(--ck-bg);
		font-family: inherit;
		font-size: 13.5px;
		padding: 0 44px 0 16px;
		color: var(--ck-dark);
		transition: all 0.2s;
		appearance: none;
	}

	.ck-topsearch__input::placeholder {
		color: var(--ck-muted);
	}

	.ck-topsearch__input:focus {
		outline: none;
		border-color: var(--ck-green);
		background: #fff;
		box-shadow: var(--ck-shadow-card);
	}

	.ck-topsearch > .mdf-icon {
		position: absolute;
		top: 13px;
		right: 14px;
		width: 20px;
		height: 20px;
		color: var(--ck-muted);
		pointer-events: none;
	}

	.ck-topdrop {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		left: 0;
		background: #fff;
		border: 1px solid var(--ck-border);
		border-radius: 16px;
		box-shadow: var(--ck-shadow-float);
		padding: 10px;
		display: none;
		z-index: 60;
		max-height: 60vh;
		overflow-y: auto;
	}

	.ck-topdrop.on {
		display: block;
	}

	.ck-topdrop b {
		display: block;
		font-size: 11px;
		font-weight: 700;
		color: var(--ck-muted);
		padding: 5px 8px 3px;
	}

	.ck-topdrop a {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 7px 8px;
		border-radius: 10px;
		font-size: 13px;
		font-weight: 600;
		color: var(--ck-dark);
		text-decoration: none;
	}

	.ck-topdrop a:hover {
		background: var(--ck-bg);
	}

	.ck-topdrop img {
		width: 36px;
		height: 36px;
		border-radius: 8px;
		object-fit: cover;
		background: var(--ck-border);
		flex-shrink: 0;
	}

	.ck-topdrop .ck-topdrop__all {
		color: var(--ck-green);
		font-weight: 800;
		justify-content: center;
		margin-top: 4px;
	}

	/* اقدامات هدر: جست‌وجوی موبایل مخفی + تلفن + استعلام */
	.mdf-topbar__links {
		display: flex;
		align-items: center;
		gap: 12px;
		flex-shrink: 0;
	}

	.mdf-topbar__links .mdf-search-toggle {
		display: none;
	}

	.mdf-topbar__links a {
		height: 42px;
		padding: 0 18px;
		display: inline-flex;
		align-items: center;
		gap: 7px;
		border-radius: 12px;
		font-size: 13px;
		font-weight: 700;
		text-decoration: none;
		transition: all 0.2s;
		white-space: nowrap;
	}

	.mdf-topbar__links a:first-of-type {
		border: 1.5px solid var(--ck-border);
		color: var(--ck-dark);
	}

	.mdf-topbar__links a:first-of-type:hover {
		border-color: var(--ck-green);
		color: var(--ck-green);
	}

	.mdf-topbar__links a:last-of-type {
		background: var(--ck-dark);
		color: #fff;
	}

	.mdf-topbar__links a:last-of-type:hover {
		background: var(--ck-green);
		color: #fff;
	}

	/* بدنه و کانتینر دسکتاپ */
	.mdf-container {
		max-width: 1440px;
		padding: 0 80px;
	}

	.ck-body {
		max-width: 1440px;
		margin: 0 auto;
		padding: 0 80px;
	}

	/* نوارهای متناوب سکشن‌ها */
	.band-white {
		background: #fafcfc;
	}

	.band-alt {
		background: #fafcfc;
	}

	/* محو کردن محتوا هنگام جست‌وجوی فعال */
	body.ck-search-open .mdf-main,
	body.ck-search-open .mdf-footer,
	body.ck-search-open .mdf-prefooter,
	body.ck-search-open .ck-campaign,
	body.ck-search-open .ck-footer {
		filter: blur(4px);
		pointer-events: none;
		user-select: none;
		transition: filter 0.3s ease;
	}

	/* باتم‌شیت در دسکتاپ: مرکز صفحه به‌جای پایین */
	.ck-overlay {
		align-items: center;
		justify-content: center;
	}

	.ck-sheet {
		width: 520px;
		max-width: 92vw;
		border-radius: 22px;
		max-height: 86vh;
		transform: translateY(24px);
		opacity: 0;
		transition: transform 0.32s var(--ck-ease), opacity 0.32s var(--ck-ease);
	}

	.ck-overlay.is-open .ck-sheet {
		transform: none;
		opacity: 1;
	}

	.ck-toast {
		bottom: 30px;
	}

	/* درِاور موبایل در دسکتاپ بی‌معناست */
	.mdf-mobile-nav,
	.mdf-menu-backdrop {
		display: none !important;
	}
}

/* ═══════════ ۵) سکشن‌های عمومی صفحه اصلی ═══════════ */
.ck-sec {
	margin-top: 30px;
	padding: 0;
}

.ck-sec__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	margin-bottom: 14px;
}

.ck-sec__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 800;
	color: var(--ck-dark);
	margin: 0;
}

.ck-sec__title .mdf-icon {
	width: 20px;
	height: 20px;
	color: var(--ck-green);
}

.ck-sec__all {
	font-size: 12px;
	font-weight: 700;
	color: var(--ck-muted);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-height: 44px;
	transition: color 0.2s;
}

.ck-sec__all .mdf-icon {
	width: 14px;
	height: 14px;
}

.ck-sec__all:hover,
.ck-sec__all:active {
	color: var(--ck-green);
}

@media (min-width: 1024px) {
	.ck-sec {
		margin-top: 46px;
		padding: 0;
	}

	.ck-sec__head {
		padding: 0;
		margin-bottom: 18px;
	}

	.ck-sec__title {
		font-size: 18px;
	}

	.ck-sec__title .mdf-icon {
		width: 22px;
		height: 22px;
	}
}

/* ═══════════ ۶) هیرو صفحه اصلی — کارت تیره با تصویر مربع ═══════════ */
.ck-hero {
	margin: 14px 16px 0;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	background: var(--ck-dark);
	color: #fff;
}

.ck-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 78% 28%, rgba(6, 186, 99, 0.38), transparent 55%),
		radial-gradient(ellipse at 15% 85%, rgba(39, 80, 102, 0.85), transparent 60%);
}

.ck-hero__inner {
	position: relative;
	min-height: 220px;
	display: flex;
	align-items: flex-end;
	padding: 18px;
}

.ck-hero__media {
	position: absolute;
	left: 14px;
	top: 12px;
	width: 170px;
	height: 170px;
	border-radius: 14px;
	object-fit: cover;
	box-shadow: var(--ck-shadow-cover);
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
}

.ck-hero__text {
	position: relative;
	z-index: 2;
	max-width: 56%;
}

.ck-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 20px;
	padding: 3px 11px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	backdrop-filter: blur(4px);
}

.ck-hero__title {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.45;
	margin: 8px 0 4px;
	color: #fff;
}

.ck-hero__desc {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}

.ck-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.ck-hero__btn {
	height: 44px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border-radius: 13px;
	font-weight: 800;
	font-size: 13px;
	text-decoration: none;
	transition: transform 0.15s;
}

.ck-hero__btn:active {
	transform: scale(0.97);
}

.ck-hero__btn--green {
	background: var(--ck-green);
	color: #fff;
}

.ck-hero__btn--green:hover {
	background: var(--ck-green-h);
	color: #fff;
}

.ck-hero__btn--ghost {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
}

.ck-hero__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* ═══════════ ۷) اسکرول افقی عمومی ═══════════ */
.ck-hscroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	padding: 2px 20px 12px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ck-hscroll::-webkit-scrollbar {
	display: none;
}

.ck-hscroll > * {
	scroll-snap-align: start;
	flex-shrink: 0;
}

/* ═══════════ ۸) چیپ دسته‌بندی — ۷۶px عمودی با آیکون ۵۴px ═══════════ */
.ck-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 76px;
	text-decoration: none;
	min-height: 44px;
}

.ck-chip__icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--ck-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ck-mid);
	overflow: hidden;
	box-shadow: var(--ck-shadow-card);
	transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

.ck-chip__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ck-chip__icon svg {
	width: 24px;
	height: 24px;
}

.ck-chip:hover .ck-chip__icon {
	border-color: var(--ck-green);
	color: var(--ck-green);
}

.ck-chip:active .ck-chip__icon {
	transform: scale(0.94);
	border-color: var(--ck-green);
	color: var(--ck-green);
}

.ck-chip__name {
	font-size: 11px;
	font-weight: 600;
	color: var(--ck-mid);
	text-align: center;
	line-height: 1.5;
}

.ck-chip.is-active .ck-chip__icon {
	border-color: var(--ck-green);
	color: var(--ck-green);
	box-shadow: 0 0 0 2px var(--ck-green-soft);
}

.ck-chip.is-active .ck-chip__name {
	color: var(--ck-green);
	font-weight: 800;
}

/* ═══════════ ۹) کارت محصول اپ — تصویر مربع ۱:۱ + ردیف قیمت/استعلام ═══════════ */
.ck-pcard {
	width: 148px;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 12px;
	padding: 9px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
	min-width: 0;
}

.ck-pcard:hover {
	box-shadow: var(--ck-shadow-hover);
}

.ck-pcard:active {
	transform: scale(0.98);
}

.ck-pcard__main {
	display: block;
	text-decoration: none;
	color: inherit;
}

.ck-pcard__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	background: var(--ck-border);
	display: block;
}

.ck-pcard__img--empty {
	display: block;
	background:
		linear-gradient(135deg, var(--ck-bar) 0%, var(--ck-card-line) 100%);
	position: relative;
}

.ck-pcard__img--empty::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 50% 45%, rgba(39, 80, 102, 0.12) 0 18%, transparent 19%),
		radial-gradient(circle at 50% 70%, rgba(39, 80, 102, 0.10) 0 12%, transparent 13%);
}

.ck-pcard__off {
	align-self: flex-start;
	background: var(--ck-green-soft);
	color: var(--ck-green-text);
	font-size: 10px;
	font-weight: 800;
	border-radius: 8px;
	padding: 1px 7px;
}

.ck-pcard__name {
	font-size: 13px;
	font-weight: 600;
	color: var(--ck-dark);
	line-height: 1.5;
	height: 40px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-top: 6px;
}

.ck-pcard__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.ck-pcard__price {
	font-size: 13px;
	font-weight: 800;
	color: var(--ck-dark);
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ck-pcard__price small {
	font-size: 10px;
	font-weight: 600;
	color: var(--ck-muted);
}

.ck-pcard__meta {
	font-size: 11px;
	color: var(--ck-muted);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ck-pcard__add {
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 9px;
	background: var(--ck-dark);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-family: inherit;
	cursor: pointer;
	padding: 0;
	transition: transform 0.15s, background 0.2s;
}

.ck-pcard__add .mdf-icon {
	width: 16px;
	height: 16px;
}

.ck-pcard__add:hover {
	background: var(--ck-green);
	color: #fff;
}

.ck-pcard__add:active {
	transform: scale(0.9);
}

/* ═══════════ ۱۰) گرید جدیدترین‌ها — ۲/۳/۴ ستونه ═══════════ */
.ck-grid2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0 20px;
}

.ck-grid2 .ck-pcard {
	width: auto;
}

@media (min-width: 768px) {
	.ck-grid2 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 0 24px;
	}
}

@media (min-width: 1024px) {
	.ck-grid2 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
		padding: 0;
	}

	.ck-pcard {
		width: 200px;
		padding: 12px;
	}

	.ck-pcard__name {
		font-size: 13.5px;
		height: 42px;
	}

	.ck-pcard__add {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}

	.ck-hscroll {
		gap: 16px;
	}

	.ck-body .ck-hscroll {
		padding-right: 0;
		padding-left: 0;
	}
}

/* ═══════════ ۱۱) دو کارت بزرگ منتخب (ارسال سفارش / مشاوره) ═══════════ */
.ck-duo {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	padding: 0 20px;
}

.ck-duo__card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: var(--ck-dark);
	color: #fff;
	min-height: 190px;
	display: flex;
	align-items: flex-end;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.ck-duo__card:active {
	transform: scale(0.98);
}

.ck-duo__card:hover {
	box-shadow: var(--ck-shadow-float);
}

.ck-duo__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.ck-duo__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(1, 24, 37, 0.88) 8%, rgba(1, 24, 37, 0.15) 55%);
}

.ck-duo__card--contact::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 80% 25%, rgba(6, 186, 99, 0.3), transparent 55%),
		radial-gradient(ellipse at 15% 85%, rgba(39, 80, 102, 0.8), transparent 60%);
	z-index: 1;
}

.ck-duo__body {
	position: relative;
	z-index: 2;
	padding: 14px;
}

.ck-duo__icon {
	display: none;
}

.ck-duo__tag {
	display: inline-block;
	background: var(--ck-green);
	font-size: 10px;
	font-weight: 800;
	border-radius: 8px;
	padding: 2px 8px;
	color: #fff;
}

.ck-duo__title {
	font-size: 14px;
	font-weight: 800;
	margin: 6px 0 0;
	color: #fff;
	line-height: 1.5;
}

.ck-duo__text {
	display: none;
}

.ck-duo__cta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.85);
}

.ck-duo__cta .mdf-icon {
	width: 14px;
	height: 14px;
}

@media (min-width: 768px) {
	.ck-duo {
		padding: 0 24px;
	}
}

@media (min-width: 1024px) {
	.ck-duo {
		padding: 0;
		gap: 16px;
		grid-template-columns: 1fr 1fr;
	}

	.ck-duo__card {
		min-height: 240px;
	}

	.ck-duo__title {
		font-size: 16px;
	}

	.ck-duo__text {
		display: block;
		font-size: 12.5px;
		color: rgba(255, 255, 255, 0.8);
		margin: 4px 0 0;
		line-height: 1.8;
		max-width: 420px;
	}
}

/* ═══════════ ۱۲) بنر درباره کارگاه + آمار ═══════════ */
.ck-banner {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: var(--ck-dark);
	color: #fff;
	margin: 0 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	min-height: 130px;
}

.ck-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 85% 25%, rgba(6, 186, 99, 0.28) 0%, transparent 60%),
		radial-gradient(ellipse at 10% 90%, rgba(39, 80, 102, 0.75), transparent 60%);
}

.ck-banner__body {
	position: relative;
	flex: 1;
	min-width: 0;
}

.ck-banner__title {
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 6px;
	color: #fff;
}

.ck-banner__text {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
	line-height: 1.9;
}

.ck-banner__actions {
	margin-top: 10px;
}

.ck-banner__media {
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: 14px;
	object-fit: cover;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: var(--ck-shadow-cover);
}

@media (min-width: 1024px) {
	.ck-banner {
		margin: 0;
		min-height: 170px;
		padding: 24px 28px;
	}

	.ck-banner__title {
		font-size: 18px;
	}

	.ck-banner__text {
		font-size: 13.5px;
		max-width: 640px;
	}

	.ck-banner__media {
		width: 160px;
		height: 160px;
	}
}

.ck-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 20px 0;
}

.ck-stat {
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 12px 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	text-align: center;
}

.ck-stat b {
	font-size: 17px;
	font-weight: 800;
	color: var(--ck-green);
}

.ck-stat span {
	font-size: 11px;
	color: var(--ck-muted);
}

@media (min-width: 1024px) {
	.ck-stats {
		margin: 16px 0 0;
		gap: 16px;
	}

	.ck-stat b {
		font-size: 21px;
	}

	.ck-stat span {
		font-size: 12px;
	}
}

/* ═══════════ ۱۳) کارت مجله — ۱۶:۱۰ با برچسب سبز ═══════════ */
.ck-mag-card {
	width: 230px;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	display: block;
	transition: transform 0.2s;
}

.ck-mag-card:active {
	transform: scale(0.98);
}

.ck-mag-card__img {
	aspect-ratio: 16 / 10;
	width: 100%;
	object-fit: cover;
	background: var(--ck-border);
	display: block;
}

.ck-mag-card__body {
	padding: 12px 14px 14px;
}

.ck-mag-card__cat {
	font-size: 10px;
	font-weight: 700;
	color: var(--ck-green);
}

.ck-mag-card__title {
	font-size: 13px;
	font-weight: 700;
	color: var(--ck-dark);
	line-height: 1.6;
	margin-top: 3px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ck-mag-card__meta {
	font-size: 11px;
	color: var(--ck-muted);
	margin-top: 7px;
}

@media (min-width: 1024px) {
	.ck-mag-card {
		width: 300px;
	}
}

/* ═══════════ ۱۴) تصاویر محصولات ارسالی مشتریان — گرید مربع ۱:۱ ═══════════ */
.mdf-customer-photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 0 16px;
	overflow: visible;
}

/* سرتیتر بخش با فاصله‌خوانی مناسب در موبایل */
#mdf-customer-photos .ck-sec__head {
	margin-bottom: 16px;
}

#mdf-customer-photos .ck-sec__all {
	line-height: 1.9;
	white-space: normal;
	text-align: left;
}

.mdf-customer-photo {
	margin: 0;
	cursor: pointer;
	position: relative;
	transition: transform 0.2s;
	width: 100%;
	min-width: 0;
	flex: 0 0 auto;
}

.mdf-customer-photo:active {
	transform: scale(0.96);
}

.mdf-customer-photo .mdf-card,
.mdf-customer-photo img {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--ck-border);
	display: block;
}

@media (min-width: 768px) {
	.mdf-customer-photos {
		grid-template-columns: repeat(4, 1fr);
		padding: 0 24px;
		gap: 10px;
	}
}

@media (min-width: 1024px) {
	.mdf-customer-photos {
		grid-template-columns: repeat(6, 1fr);
		gap: 14px;
		padding: 0;
	}
}

/* ═══════════ ۱۵) کارت نظر مشتری — review-card چکیدا ═══════════ */
.mdf-review {
	width: 260px;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mdf-review__head {
	display: flex;
	align-items: center;
	gap: 9px;
}

.mdf-review__head img,
.mdf-review__head .avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--ck-dark);
	flex-shrink: 0;
}

.mdf-review__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mdf-review__author {
	font-size: 13px;
	font-weight: 700;
	color: var(--ck-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mdf-review__date {
	font-size: 10.5px;
	color: var(--ck-muted);
}

.mdf-review__stars {
	margin-right: auto;
	flex-shrink: 0;
}

.mdf-review__stars .mdf-stars {
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--ck-star);
}

.mdf-review__text {
	font-size: 12.5px;
	color: var(--ck-mid);
	line-height: 1.9;
	margin: 9px 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mdf-review__product {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--ck-green);
	text-decoration: none;
	margin-top: 9px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px;
}

.mdf-review__product:hover {
	color: var(--ck-green-h);
}

@media (min-width: 1024px) {
	.mdf-review {
		width: 300px;
	}
}

/* ═══════════ ۱۶) جعبه سئو ═══════════ */
.ck-seobox {
	margin: 34px 20px 0;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 16px;
}

.ck-seobox__title {
	font-size: 14px;
	font-weight: 800;
	color: var(--ck-dark);
	margin: 0 0 8px;
}

.ck-seobox__text {
	font-size: 12.5px;
	color: var(--ck-muted);
	line-height: 2;
	max-height: 96px;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.ck-seobox__text.is-open {
	max-height: 800px;
}

.ck-seobox__more {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 800;
	color: var(--ck-green);
	background: none;
	border: none;
	font-family: inherit;
	padding: 6px 0;
	cursor: pointer;
	min-height: 44px;
}

@media (min-width: 768px) {
	.ck-seobox {
		margin: 34px 24px 0;
	}
}

@media (min-width: 1024px) {
	.ck-seobox {
		margin: 46px 0 0;
		padding: 22px 26px;
	}

	.ck-seobox__title {
		font-size: 16px;
	}

	.ck-seobox__text {
		font-size: 13.5px;
		max-height: 120px;
	}
}

/* ═══════════ ۱۷) بایگانی و دسته‌بندی ═══════════ */
.ck-cathead {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 20px 0;
}

.ck-cathead__icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--ck-border);
	box-shadow: var(--ck-shadow-card);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ck-green);
	overflow: hidden;
	flex-shrink: 0;
}

.ck-cathead__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ck-cathead__icon svg {
	width: 30px;
	height: 30px;
}

.ck-cathead__title {
	font-size: 17px;
	font-weight: 800;
	margin: 0;
	color: var(--ck-dark);
	line-height: 1.4;
}

.ck-cathead__count {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--ck-muted);
	margin-top: 2px;
}

/* پنل معرفی دسته — جمع‌شونده */
.ck-intro {
	margin: 14px 20px 0;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 14px 16px;
	font-size: 12.5px;
	color: var(--ck-muted);
	line-height: 2;
}

.ck-intro > * {
	max-height: 78px;
	overflow: hidden;
	transition: max-height 0.35s ease;
	margin: 0;
}

.ck-intro > *.is-open {
	max-height: 600px;
}

.ck-intro .ck-seobox__more {
	margin-top: 4px;
}

/* لیست کارت افقی محصول — cat-book-card چکیدا */
.ck-hcard-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 16px 0;
}

/* موبایل باریک: کاور کوچک‌تر و عنوان دوم خط تا ستون متن بازتر شود */
@media (max-width: 480px) {
	.ck-hcard {
		gap: 10px;
		padding: 9px;
	}

	.ck-hcard .ck-hcard__cover {
		width: 64px;
		height: 64px;
	}

	.ck-hcard__title {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		line-height: 1.45;
	}

	.ck-hcard__add {
		height: 32px;
		padding: 0 11px;
		font-size: 11.5px;
	}
}

.ck-hcard {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--ck-card-line);
	border-radius: 12px;
	padding: 10px;
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.2s;
	min-width: 0;
}

.ck-hcard:hover {
	box-shadow: var(--ck-shadow-hover);
}

.ck-hcard:active {
	transform: scale(0.98);
}

.ck-hcard__main {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.ck-hcard__cover {
	width: 88px;
	height: 88px;
	border-radius: 8px;
	object-fit: cover;
	background: var(--ck-border);
	flex-shrink: 0;
	display: block;
}

.ck-hcard__cover--empty {
	background: linear-gradient(135deg, var(--ck-bar) 0%, var(--ck-card-line) 100%);
	position: relative;
}

.ck-hcard__cover--empty::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 50% 45%, rgba(39, 80, 102, 0.12) 0 18%, transparent 19%),
		radial-gradient(circle at 50% 70%, rgba(39, 80, 102, 0.10) 0 12%, transparent 13%);
}

.ck-hcard__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ck-hcard__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--ck-dark);
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ck-hcard__brand {
	font-size: 12px;
	color: var(--ck-muted);
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ck-hcard__meta {
	font-size: 11px;
	color: var(--ck-muted);
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ck-hcard__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}

.ck-hcard__price {
	font-size: 14px;
	font-weight: 800;
	color: var(--ck-dark);
	white-space: nowrap;
}

.ck-hcard__price small {
	font-size: 10px;
	color: var(--ck-muted);
	font-weight: 600;
}

.ck-hcard__price del {
	display: block;
	font-size: 10.5px;
	color: var(--ck-muted);
	font-weight: 500;
}

.ck-hcard__add {
	height: 34px;
	padding: 0 14px;
	border: none;
	border-radius: 10px;
	background: var(--ck-dark);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 5px;
	text-decoration: none;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.15s, background 0.2s;
	white-space: nowrap;
}

.ck-hcard__add .mdf-icon {
	width: 15px;
	height: 15px;
}

.ck-hcard__add:hover {
	background: var(--ck-green);
	color: #fff;
}

.ck-hcard__add:active {
	transform: scale(0.93);
}

/* لودر اسکرول بی‌نهایت — سه نقطه سبز */
.ck-infinite-sentinel {
	height: 10px;
}

.ck-loader {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 16px 0 6px;
}

.ck-loader span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ck-green);
	animation: ck-blink 1s infinite;
}

.ck-loader span:nth-child(2) {
	animation-delay: 0.18s;
}

.ck-loader span:nth-child(3) {
	animation-delay: 0.36s;
}

@keyframes ck-blink {

	0%,
	80%,
	100% {
		opacity: 0.25;
		transform: scale(0.85);
	}

	40% {
		opacity: 1;
		transform: scale(1.1);
	}
}

/* چیدمان آرشیو با سایدبار آیکونی دسکتاپ */
.ck-archive-layout {
	display: flex;
	gap: 26px;
	align-items: flex-start;
	padding: 0 20px;
}

.ck-archive-layout__main {
	flex: 1;
	min-width: 0;
}


@media (min-width: 768px) {

	.ck-cathead,
	.ck-intro {
		padding-left: 24px;
		padding-right: 24px;
		margin-left: 24px;
		margin-right: 24px;
	}

	.ck-cathead {
		margin-left: 0;
		margin-right: 0;
	}

	.ck-intro {
		margin: 14px 24px 0;
	}

	.ck-hcard-list {
		padding: 20px 24px 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ck-hcard .ck-hcard__cover {
		width: 76px;
		height: 76px;
	}

	.ck-archive-layout {
		padding: 0 24px;
	}
}

@media (min-width: 1024px) {

	.ck-cathead,
	.ck-intro {
		padding: 0;
		margin: 0;
	}

	.ck-cathead {
		padding-top: 30px;
	}

	.ck-intro {
		margin-top: 16px;
	}

	.ck-hcard-list {
		padding: 22px 0 0;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.ck-hcard .ck-hcard__cover {
		width: 104px;
		height: 104px;
	}

	.ck-archive-layout {
		padding: 0;
		padding-top: 30px;
		gap: 26px;
	}

}

/* ═══════════ ۱۸) تک‌محصول — هیروی چسبان و کارت لغزنده ═══════════ */
.mdf-papp-hero {
	position: sticky;
	top: var(--ck-head-h);
	z-index: 1;
	height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--ck-hero-g2);
}

.mdf-papp-hero--g1 {
	background: var(--ck-hero-g1);
}

.mdf-papp-hero--g2 {
	background: var(--ck-hero-g2);
}

.mdf-papp-hero--g3 {
	background: var(--ck-hero-g3);
}

.mdf-papp-hero--g4 {
	background: var(--ck-hero-g4);
}

body.admin-bar .mdf-papp-hero {
	top: calc(46px + var(--ck-head-h));
}

.mdf-papp-hero__media {
	width: 196px;
	max-width: 70vw;
}

.mdf-papp-hero__media .mdf-gallery__img {
	width: 100%;
	height: auto;
	max-height: 232px;
	border-radius: 18px;
	object-fit: contain;
	box-shadow: var(--ck-shadow-cover);
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.1);
	margin-top: -14px;
	display: block;
}

.mdf-papp-chip {
	position: absolute;
	top: 14px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(4px);
	color: #fff;
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	z-index: 3;
}

.mdf-badge {
	position: absolute;
	top: 14px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(6, 186, 99, 0.22);
	border: 1px solid rgba(6, 186, 99, 0.5);
	backdrop-filter: blur(4px);
	color: #7CF0B4;
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 700;
	z-index: 3;
}

.mdf-badge--out {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.85);
}

.mdf-badge--soon {
	background: rgba(185, 130, 27, 0.25);
	border-color: rgba(185, 130, 27, 0.5);
	color: #FFD98A;
}

/* بندانگشتی‌های گالری داخل هیرو */
.mdf-papp-hero__media .mdf-gallery__thumbs {
	position: absolute;
	bottom: 12px;
	right: 50%;
	transform: translateX(50%);
	display: flex;
	gap: 8px;
	z-index: 3;
	max-width: 92%;
	overflow-x: auto;
	scrollbar-width: none;
	margin: 0;
	padding: 0;
}

.mdf-papp-hero__media .mdf-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.mdf-papp-hero__media .mdf-gallery__thumbs .mdf-gallery__thumb {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
	padding: 0;
	background: none;
	cursor: pointer;
	flex-shrink: 0;
	opacity: 0.75;
	transition: opacity 0.2s, border-color 0.2s;
}

.mdf-papp-hero__media .mdf-gallery__thumbs .mdf-gallery__thumb.is-active {
	border-color: var(--ck-green);
	opacity: 1;
}

.mdf-papp-hero__media .mdf-gallery__thumbs .mdf-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.mdf-papp-hero__thumbs {
	position: absolute;
	bottom: 12px;
	right: 50%;
	transform: translateX(50%);
	display: flex;
	gap: 8px;
	z-index: 3;
	max-width: 90%;
	overflow-x: auto;
	scrollbar-width: none;
}

.mdf-papp-hero__thumbs::-webkit-scrollbar {
	display: none;
}

.mdf-papp-hero__thumbs .mdf-gallery__thumb {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
	padding: 0;
	background: none;
	cursor: pointer;
	flex-shrink: 0;
	opacity: 0.75;
	transition: opacity 0.2s, border-color 0.2s;
}

.mdf-papp-hero__thumbs .mdf-gallery__thumb.is-active {
	border-color: var(--ck-green);
	opacity: 1;
}

.mdf-papp-hero__thumbs .mdf-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* کارت محتوایی که روی هیرو می‌لغزد */
.mdf-papp-content {
	position: relative;
	z-index: 2;
	margin-top: -22px;
	background: var(--ck-bg);
	border-radius: var(--ck-sheet-r) var(--ck-sheet-r) 0 0;
	padding: 20px 20px 28px;
}

.mdf-papp-sentinel,
#mdf-papp-sentinel {
	position: absolute;
	top: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.mdf-papp-title {
	font-size: 19px;
	font-weight: 800;
	color: var(--ck-dark);
	line-height: 1.55;
	margin: 0;
}

.mdf-papp-brand {
	font-size: 12px;
	color: var(--ck-muted);
	margin-top: 3px;
}

.mdf-papp-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 13px 15px;
}

.mdf-papp-price__value {
	font-size: 20px;
	font-weight: 800;
	color: var(--ck-dark);
}

.mdf-papp-price__value small {
	font-size: 11px;
	font-weight: 600;
	color: var(--ck-muted);
}

.mdf-papp-price__value--inquiry {
	font-size: 15px;
	color: var(--ck-green);
}

.mdf-papp-price__note {
	font-size: 12px;
	color: var(--ck-muted);
}

.mdf-papp-excerpt {
	font-size: 12.5px;
	color: var(--ck-muted);
	margin: 10px 0 0;
}

/* ردیف امتیاز و نظرات */
.mdf-papp-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 13px 15px;
	margin-top: 14px;
	width: 100%;
	text-align: right;
	transition: transform 0.2s;
}

.mdf-papp-rating:active {
	transform: scale(0.98);
}

.mdf-papp-rating__score {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.mdf-papp-rating__score b {
	font-size: 22px;
	font-weight: 800;
	color: var(--ck-dark);
}

.mdf-papp-rating__count {
	font-size: 12px;
	color: var(--ck-muted);
	display: block;
}

.mdf-papp-rating .mdf-stars {
	color: var(--ck-star);
	font-size: 14px;
	letter-spacing: 1px;
}

.mdf-papp-rating__link {
	margin-right: auto;
	background: var(--ck-green-soft);
	color: var(--ck-green);
	font-size: 12px;
	font-weight: 800;
	border-radius: 10px;
	padding: 8px 13px;
	text-decoration: none;
	flex-shrink: 0;
}

/* بخش‌های محتوایی محصول */
.mdf-papp-section {
	margin-top: 20px;
}

/* موبایل: حاشیه یکسان کنار برای همه بخش‌های صفحه محصول */
@media (max-width: 767.9px) {
	.mdf-papp-section {
		margin-left: 14px;
		margin-right: 14px;
	}

	.mdf-papp-section .mdf-hscroll {
		padding: 0 2px 12px;
	}
}

.mdf-papp-section__title {
	font-size: 15px;
	font-weight: 800;
	color: var(--ck-dark);
	margin: 0 0 8px;
}

.mdf-clamp {
	max-height: 96px;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.mdf-clamp.is-open {
	max-height: 900px;
}

.mdf-clamp__toggle,
.mdf-comment__more {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 800;
	color: var(--ck-green);
	background: none;
	border: none;
	font-family: inherit;
	padding: 6px 0;
	cursor: pointer;
	min-height: 44px;
}

/* انتخابگر رنگ/ویژگی */
.mdf-papp-opt {
	margin-top: 14px;
}

.mdf-papp-opt__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--ck-muted);
	margin-bottom: 8px;
}

.mdf-papp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mdf-papp-chipbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--ck-border);
	background: #fff;
	border-radius: 12px;
	padding: 7px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ck-dark);
}

.mdf-papp-chipbtn.is-active {
	border-color: var(--ck-green);
	box-shadow: 0 0 0 1px var(--ck-green);
	color: var(--ck-green);
}

.mdf-swatch {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #fff;
	outline: 1px solid var(--ck-border);
	display: inline-block;
}

/* جدول مشخصات داخل ظرف اسکرول افقی */
.mdf-specs {
	margin-top: 0;
	overflow-x: auto;
	scrollbar-width: none;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	background: #fff;
}

.mdf-specs::-webkit-scrollbar {
	display: none;
}

.mdf-specs__table {
	width: 100%;
	border-collapse: collapse;
	min-width: 420px;
}

.mdf-specs__table th,
.mdf-specs__table td {
	padding: 11px 15px;
	font-size: 12.5px;
	border-bottom: 1px solid var(--ck-border);
	white-space: nowrap;
	text-align: right;
}

.mdf-specs__table tr:last-child th,
.mdf-specs__table tr:last-child td {
	border-bottom: none;
}

.mdf-specs__table th {
	color: var(--ck-muted);
	font-weight: 600;
}

.mdf-specs__table td {
	color: var(--ck-dark);
	font-weight: 700;
}

/* دیدگاه‌های محصول — review-card */
.mdf-comments__title,
.mdf-comments .mdf-comments__col-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--ck-dark);
	margin: 0 0 12px;
	display: block;
}

.mdf-comment-card {
	margin-bottom: 10px;
}

.mdf-comment {
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 14px;
}

.mdf-comment__head {
	display: flex;
	align-items: center;
	gap: 9px;
}

.mdf-comment__head img,
.mdf-comment__head .avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--ck-dark);
	flex-shrink: 0;
}

.mdf-comment__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mdf-comment__author {
	font-size: 13px;
	font-weight: 700;
	color: var(--ck-dark);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.mdf-comment__date {
	font-size: 10.5px;
	color: var(--ck-muted);
}

.mdf-comment__badge {
	background: var(--ck-green-soft);
	color: var(--ck-green-text);
	font-size: 10px;
	font-weight: 800;
	border-radius: 8px;
	padding: 1px 7px;
}

.mdf-comment__badge--reply {
	background: var(--ck-bar);
	color: var(--ck-muted);
}

.mdf-comment__stars {
	margin-right: auto;
	flex-shrink: 0;
}

.mdf-comment__stars .mdf-stars {
	color: var(--ck-star);
	font-size: 13px;
	letter-spacing: 1px;
}

.mdf-comment__body {
	font-size: 12.5px;
	color: var(--ck-mid);
	line-height: 1.9;
	margin-top: 9px;
}

.mdf-comment__body p {
	margin: 0 0 6px;
}

.mdf-comment__body p:last-child {
	margin-bottom: 0;
}

.mdf-comment__body--clamped {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mdf-comment--reply {
	background: var(--ck-bar);
	border-color: var(--ck-border);
}

.mdf-comment__replies {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-right: 14px;
}

.mdf-comments__empty,
.mdf-comments__closed,
.mdf-comments__login,
.mdf-comments__note {
	font-size: 12.5px;
	color: var(--ck-muted);
	background: #fff;
	border: 1px dashed var(--ck-border);
	border-radius: 12px;
	padding: 12px 14px;
}

.mdf-comments__login a {
	color: var(--ck-green);
	font-weight: 800;
}

.mdf-comments__more {
	margin: 4px auto 0;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--ck-green);
	border: 1px solid var(--ck-border);
	border-radius: 12px;
	padding: 10px 18px;
	background: #fff;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.15s;
}

.mdf-comments__more:active {
	transform: scale(0.96);
}

.mdf-comments__grid {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mdf-rating-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	padding: 13px 15px;
	margin-bottom: 12px;
}

.mdf-rating-summary__avg {
	font-size: 22px;
	font-weight: 800;
	color: var(--ck-dark);
}

.mdf-rating-summary .mdf-stars {
	color: var(--ck-star);
	font-size: 14px;
	letter-spacing: 1px;
}

.mdf-rating-summary__cnt {
	font-size: 12px;
	color: var(--ck-muted);
}

/* انتخابگر ستاره فرم دیدگاه */
.mdf-star-field {
	margin: 8px 0;
}

.mdf-star-field__label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ck-dark);
	margin-bottom: 7px;
}

.mdf-star-picker {
	display: flex;
	gap: 6px;
}

.mdf-star-picker__btn {
	width: 40px;
	height: 40px;
	border: none;
	background: none;
	font-size: 26px;
	color: var(--ck-border);
	cursor: pointer;
	transition: transform 0.15s, color 0.15s;
	padding: 0;
	line-height: 1;
}

.mdf-star-picker__btn.on {
	color: var(--ck-star);
}

.mdf-star-picker__btn:active {
	transform: scale(0.85);
}

/* نوار اقدام ثابت بالای تب‌بار (فقط موبایل/تبلت) */
.mdf-papp-actionbar {
	position: fixed;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 99;
	display: none;
	gap: 10px;
	padding: 10px 16px;
	background: var(--ck-bg);
	border-top: 1px solid var(--ck-border);
}

@media (max-width: 1023.9px) {
	.mdf-papp-actionbar {
		display: flex;
		bottom: calc(var(--ck-tab-h) + env(safe-area-inset-bottom, 0px));
	}

	.mdf-papp-toast {
		bottom: calc(var(--ck-tab-h) + 76px + env(safe-area-inset-bottom, 0px));
	}
}

.mdf-papp-btn {
	flex: 1;
	height: 48px;
	border-radius: 16px;
	font-size: 14px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	text-decoration: none;
	border: none;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.15s;
}

.mdf-papp-btn:active {
	transform: scale(0.97);
}

.mdf-papp-btn--primary {
	background: var(--ck-dark);
	color: #fff;
}

.mdf-papp-btn--primary:hover {
	background: var(--ck-green);
	color: #fff;
}

.mdf-papp-btn--ghost {
	background: #fff;
	color: var(--ck-dark);
	border: 1.5px solid var(--ck-border);
}

.mdf-papp-btn--ghost .mdf-icon {
	color: var(--ck-green);
}

/* محصولات مرتبط در قاب سفید دسکتاپ */
.mdf-papp-related {
	margin-top: 30px;
}

@media (min-width: 1024px) {
	.mdf-papp-related {
		background: #fff;
		border: 1px solid var(--ck-border);
		border-radius: 18px;
		padding: 22px;
	}
}

/* ═══════════ ۱۹) باتم‌شیت عمومی ═══════════ */
.ck-overlay {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(1, 24, 37, 0);
	transition: background 0.28s ease;
	pointer-events: none;
}

.ck-overlay.is-open {
	background: rgba(1, 24, 37, 0.45);
	pointer-events: auto;
}

.ck-sheet {
	width: 100%;
	max-width: 560px;
	max-height: 92dvh;
	overflow-y: auto;
	background: #fff;
	border-radius: 24px 24px 0 0;
	padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
	transform: translateY(100%);
	transition: transform 0.32s var(--ck-ease);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ck-overlay.is-open .ck-sheet {
	transform: translateY(0);
}

.ck-sheet-handle {
	width: 36px;
	height: 4px;
	border-radius: 2px;
	background: var(--ck-border);
	margin: 0 auto 2px;
	flex-shrink: 0;
}

.ck-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ck-sheet__title {
	font-size: 15px;
	font-weight: 800;
	margin: 0;
	color: var(--ck-dark);
}

.ck-sheet__close {
	width: 44px;
	height: 44px;
	border: none;
	background: var(--ck-bg);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ck-muted);
	cursor: pointer;
	flex-shrink: 0;
	transition: transform 0.15s;
}

.ck-sheet__close:active {
	transform: scale(0.9);
}

.ck-sheet__close:hover {
	background: var(--ck-bar);
	color: var(--ck-dark);
}

.ck-sheet__body {
	flex: 1;
	overflow-y: auto;
}

.ck-sheet[hidden],
.ck-overlay[hidden] {
	display: none !important;
}

/* دکمه‌های درون شیت */
.ck-sheet-btn {
	flex-shrink: 0;
	width: 100%;
	height: 48px;
	border: none;
	border-radius: 14px;
	font-weight: 800;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: transform 0.15s;
}

.ck-sheet-btn:active {
	transform: scale(0.97);
}

.ck-sheet-btn--green {
	background: var(--ck-green);
	color: #fff;
}

.ck-sheet-btn--green:hover {
	background: var(--ck-green-h);
	color: #fff;
}

.ck-sheet-btn--soft {
	background: var(--ck-bar);
	color: var(--ck-mid);
}

/* فیلدهای فرم */
.f-field {
	margin-bottom: 4px;
}

.f-field label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ck-dark);
	margin-bottom: 7px;
}

.f-field input,
.f-field textarea,
.f-field select {
	width: 100%;
	border: 1px solid var(--ck-border);
	border-radius: 12px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 13.5px;
	color: var(--ck-dark);
	background: var(--ck-bg);
	transition: border-color 0.2s;
}

.f-field textarea {
	resize: vertical;
	min-height: 88px;
}

.f-field input:focus,
.f-field textarea:focus,
.f-field select:focus {
	outline: none;
	border-color: var(--ck-green);
}

.f-field .err,
.f-field input.err,
.f-field textarea.err {
	border-color: #e5484d !important;
}

/* فرم ثبت سفارش تک‌محصول (هم‌خوان با فیلدها) */
.ck-order-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ck-order-form__row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ck-order-form__label {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ck-dark);
}

.ck-order-form :is(input, textarea) {
	width: 100%;
	border: 1px solid var(--ck-border);
	border-radius: 12px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 13.5px;
	color: var(--ck-dark);
	background: var(--ck-bg);
	transition: border-color 0.2s;
}

.ck-order-form textarea {
	min-height: 88px;
	resize: vertical;
}

.ck-order-form :is(input, textarea):focus {
	outline: none;
	border-color: var(--ck-green);
}

.ck-order-form__alert {
	font-size: 12.5px;
	color: var(--ck-danger);
	background: var(--ck-danger-bg);
	border-radius: 10px;
	padding: 10px 14px;
}

.ck-order-form__alert[hidden] {
	display: none;
}

.ck-order-form__hint {
	margin: 0;
	font-size: 12px;
	color: var(--ck-muted);
	line-height: 1.9;
	text-align: center;
}

/* ═══════════ ۲۰-الف) شبکه‌های اجتماعی در شیت‌ها ═══════════ */
.ck-contact-sheet__desc {
	font-size: 12.5px;
	color: var(--ck-muted);
	line-height: 2;
	margin: 0;
}

/* شبکه‌های اجتماعی — ردیف افقی ۴ ستونه (شیت‌ها و فوتر) */
.ck-social {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.ck-social__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	padding: 12px 4px 10px;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	text-decoration: none;
	text-align: center;
	transition: border-color 0.2s, background 0.2s;
	min-width: 0;
}

.ck-social__item:hover {
	border-color: var(--ck-green);
	background: var(--ck-bg);
}

.ck-social__icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ck-green-soft);
	color: var(--ck-green-text);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.ck-social__icon svg {
	width: 22px;
	height: 22px;
}

.ck-social__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.ck-social__name {
	font-size: 12px;
	font-weight: 800;
	color: var(--ck-dark);
	line-height: 1.3;
}

.ck-social__meta {
	font-size: 10px;
	color: var(--ck-muted);
	line-height: 1.4;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* دو دکمه تماس کنار هم در شیت استعلام */
.ck-sheet-callrow {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ck-call-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 12px 8px;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	background: var(--ck-green-soft);
	text-decoration: none;
	transition: border-color 0.2s, background 0.2s;
	min-width: 0;
}

.ck-call-tile:hover {
	border-color: var(--ck-green);
}

.ck-call-tile__icon {
	color: var(--ck-green-text);
}

.ck-call-tile__name {
	font-size: 12px;
	font-weight: 800;
	color: var(--ck-dark);
}

.ck-call-tile__num {
	font-size: 11px;
	font-weight: 700;
	color: var(--ck-green-text);
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ck-order-sheet__body {
	display: grid;
	gap: 12px;
}

.ck-order-sheet__desc {
	font-size: 12.5px;
	color: var(--ck-muted);
	line-height: 2;
	margin: 0;
}

/* ═══════════ ۲۰) توست ═══════════ */
.ck-toast {
	position: fixed;
	bottom: calc(var(--ck-tab-h) + 14px + env(safe-area-inset-bottom, 0px));
	right: 50%;
	transform: translateX(50%) translateY(8px);
	z-index: 10005;
	background: var(--ck-dark);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	padding: 11px 18px;
	border-radius: 12px;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
	max-width: 88vw;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ck-toast.is-show {
	opacity: 1;
	transform: translateX(50%) translateY(0);
}

/* ═══════════ ۲۱) شیت جست‌وجو و نتایج زنده ═══════════ */
.ck-search-sheet__label {
	font-size: 11px;
	font-weight: 700;
	color: var(--ck-muted);
	padding: 4px 2px 0;
}

.ck-search-sheet__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ck-search-sheet__term {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ck-dark);
	background: var(--ck-bg);
	border: 1px solid var(--ck-border);
	border-radius: 12px;
	padding: 8px 14px;
	text-decoration: none;
}

.ck-search-sheet__term:hover {
	border-color: var(--ck-green);
	color: var(--ck-green);
}
.ck-search-sheet .mdf-searchform-wrap {
	position: static;
}

.mdf-search-live {
	font-size: 13px;
}

.mdf-search-live__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mdf-search-live__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ck-dark);
	text-decoration: none;
}

.mdf-search-live__list a:hover {
	background: var(--ck-bg);
}

.mdf-search-live__thumb {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: cover;
	background: var(--ck-border);
	flex-shrink: 0;
}

.mdf-search-live__badge {
	background: var(--ck-green-soft);
	color: var(--ck-green-text);
	font-size: 10px;
	font-weight: 800;
	border-radius: 8px;
	padding: 1px 7px;
	flex-shrink: 0;
}

.mdf-search-live__title {
	font-weight: 600;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mdf-search-live__meta {
	font-size: 11px;
	color: var(--ck-muted);
	flex-shrink: 0;
}

.mdf-search-live__empty,
.mdf-search-live__all {
	display: block;
	padding: 8px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ck-muted);
	text-decoration: none;
}

.mdf-search-live__all {
	color: var(--ck-green);
	text-align: center;
}

/* ═══════════ ۲۲) فوتر ═══════════ */
.ck-footer {
	margin-top: 36px;
	background: #fff;
	border-top: 1px solid var(--ck-border);
	position: relative;
}

.ck-footer__cols {
	display: none;
}

.ck-fcard__phone,
.ck-fcard__cta {
	display: none;
}

.ck-footer__support {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--ck-border);
}

.ck-footer__support-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ck-green);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ck-footer__support b {
	font-size: 14px;
	color: var(--ck-dark);
	display: block;
}

.ck-footer__support span {
	font-size: 12px;
	color: var(--ck-muted);
}

.ck-footer__acc {
	border-bottom: 1px solid var(--ck-border);
}

.ck-footer__acc-item {
	border-bottom: 1px solid var(--ck-border);
}

.ck-footer__acc-item:last-child {
	border-bottom: none;
}

.ck-footer__acc-head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ck-dark);
	background: none;
	border: none;
	font-family: inherit;
	cursor: pointer;
}

.ck-footer__acc-head .mdf-icon {
	width: 16px;
	height: 16px;
	color: var(--ck-muted);
	transition: transform 0.3s;
}

.ck-footer__acc-item.open .ck-footer__acc-head .mdf-icon {
	transform: rotate(180deg);
}

.ck-footer__acc-body {
	display: none;
	padding: 0 20px 16px;
}

.ck-footer__acc-item.open .ck-footer__acc-body {
	display: block;
}

.ck-footer__acc-body a {
	display: block;
	font-size: 12.5px;
	color: var(--ck-muted);
	padding: 5px 0;
	text-decoration: none;
}

.ck-footer__acc-body a:hover {
	color: var(--ck-green);
}

.ck-footer__acc-body p {
	font-size: 12.5px;
	color: var(--ck-muted);
	line-height: 2;
	margin: 0;
}

.ck-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ck-footer__contact a,
.ck-footer__contact li {
	font-size: 12.5px;
	color: var(--ck-muted);
	padding: 4px 0;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 7px;
}

.ck-footer__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 18px;
}

.ck-footer__social a {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ck-bg);
	border: 1px solid var(--ck-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ck-mid);
	transition: all 0.2s;
}

.ck-footer__social a:active {
	transform: scale(0.9);
	color: var(--ck-green);
}

.ck-footer__social a:hover {
	color: var(--ck-green);
	border-color: var(--ck-green);
}

.ck-footer__bottom {
	padding: 0 20px 20px;
	font-size: 11px;
	color: var(--ck-muted);
	text-align: center;
	line-height: 1.9;
}

/* — فوتر دسکتاپ: کارت پشتیبانی شناور روی خط فوتر + چهار ستون — */
@media (min-width: 1024px) {
	.ck-footer {
		background: var(--ck-bg);
		margin-top: 56px;
	}

	.ck-footer__topcard {
		max-width: 1440px;
		margin: 0 auto;
		padding: 0 80px;
		position: relative;
	}

	.ck-fcard {
		position: absolute;
		right: 80px;
		left: 80px;
		top: 0;
		transform: translateY(-50%);
		background: #fff;
		border-radius: 20px;
		box-shadow: var(--ck-shadow-float);
		display: flex;
		align-items: center;
		gap: 18px;
		padding: 0 28px;
		height: 100px;
		z-index: 5;
	}

	.ck-fcard__icon {
		width: 60px;
		height: 60px;
		border-radius: 15px;
		background: var(--ck-green);
		color: #fff;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
	}

	.ck-fcard b {
		font-size: 16px;
		color: var(--ck-dark);
		display: block;
	}

	.ck-fcard span {
		font-size: 13px;
		color: var(--ck-muted);
	}

	.ck-fcard__phone {
		margin-right: auto;
		text-align: left;
	}

	.ck-fcard__phone b {
		font-size: 20px;
		color: var(--ck-green);
		direction: ltr;
	}

	.ck-footer__cols {
		max-width: 1440px;
		margin: 0 auto;
		padding: 86px 80px 0;
		display: grid;
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
		gap: 36px;
	}

	.ck-footer__cols h4,
	.ck-footer__cols .ck-footer__title {
		font-size: 14.5px;
		font-weight: 800;
		color: var(--ck-dark);
		margin: 0 0 14px;
		display: block;
	}

	.ck-footer__cols a {
		display: block;
		font-size: 13px;
		color: var(--ck-muted);
		padding: 5px 0;
		text-decoration: none;
		transition: color 0.2s;
	}

	.ck-footer__cols a:hover {
		color: var(--ck-green);
	}

	.ck-footer__about p {
		font-size: 12.5px;
		color: var(--ck-muted);
		line-height: 2;
		margin: 0;
	}

	.ck-footer__social-row {
		display: flex;
		gap: 10px;
		margin-top: 16px;
	}

	.ck-footer__social-row a {
		width: 38px;
		height: 38px;
		border-radius: 50%;
		background: #fff;
		border: 1px solid var(--ck-border);
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--ck-mid);
		text-decoration: none;
	}

	.ck-footer__social-row a:hover {
		color: var(--ck-green);
		border-color: var(--ck-green);
	}

	/* نسخه موبایل فوتر در دسکتاپ مخفی می‌شود؛ کارت شناور نمایان می‌ماند */
	.ck-footer__acc,
	.ck-footer__social {
		display: none;
	}

	.ck-fcard__phone,
	.ck-fcard__cta {
		display: flex;
	}

	.ck-fcard__cta {
		align-items: center;
		height: 46px;
		padding: 0 22px;
		background: var(--ck-green);
		color: #fff;
		border-radius: 13px;
		font-weight: 800;
		font-size: 13.5px;
		text-decoration: none;
		flex-shrink: 0;
	}

	.ck-fcard__cta:hover {
		background: var(--ck-green-h);
		color: #fff;
	}

	.ck-footer__bottom {
		max-width: 1440px;
		margin: 0 auto;
		padding: 24px 80px 20px;
		text-align: center;
	}
}

/* ═══════════ ۲۳) صفحات عمومی — سرصفحه روشن ═══════════ */
.mdf-page-hero {
	background: transparent !important;
	color: var(--ck-mid);
	padding: 20px 0 0;
}

.mdf-page-hero .mdf-page-hero__title {
	color: var(--ck-dark);
	font-size: 19px;
	font-weight: 800;
	margin: 6px 0 0;
}

.mdf-page-hero .mdf-page-hero__desc {
	color: var(--ck-muted);
	font-size: 13px;
	margin: 6px 0 0;
}

.mdf-page-hero .mdf-breadcrumbs a,
.mdf-page-hero .mdf-breadcrumbs span {
	color: var(--ck-muted);
	font-size: 12px;
}

.mdf-page-hero .mdf-breadcrumbs a:hover {
	color: var(--ck-green);
}

.mdf-breadcrumb {
	font-size: 12px;
	color: var(--ck-muted);
}

.mdf-breadcrumb a {
	color: var(--ck-muted);
	text-decoration: none;
}

.mdf-breadcrumb a:hover {
	color: var(--ck-green);
}

.mdf-breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}

.mdf-breadcrumb li::after {
	content: "‹";
	margin-right: 6px;
	color: var(--ck-border);
}

.mdf-breadcrumb li:last-child::after {
	content: none;
}

/* کارت مقاله وبلاگ — سبک کارت مجله */
.mdf-card--post {
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, box-shadow 0.2s;
}

.mdf-card--post:hover {
	box-shadow: var(--ck-shadow-hover);
}

.mdf-card--post .mdf-card__media img {
	aspect-ratio: 16 / 10;
	width: 100%;
	object-fit: cover;
	display: block;
}

.mdf-card--post .mdf-card__title {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ck-dark);
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mdf-card--post .mdf-card__title a {
	color: inherit;
	text-decoration: none;
}

.mdf-grid--posts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	padding: 20px 20px 0;
}

@media (min-width: 768px) {
	.mdf-grid--posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 24px 24px 0;
	}
}

@media (min-width: 1024px) {
	.mdf-grid--posts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		padding: 0;
	}
}

/* مقاله تکی و برگه */
.mdf-single {
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 16px;
	padding: 20px;
	margin-top: 16px;
}

.mdf-single__thumb img {
	border-radius: 12px;
	width: 100%;
	object-fit: cover;
	display: block;
}

.mdf-content,
.mdf-prose {
	font-size: 14px;
	line-height: 2.1;
	color: var(--ck-mid);
}

.mdf-content img,
.mdf-prose img {
	border-radius: 12px;
	max-width: 100%;
	height: auto;
}

.mdf-single__meta {
	display: flex;
	gap: 12px;
	font-size: 12px;
	color: var(--ck-muted);
	margin-top: 6px;
}

.mdf-single__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--ck-border);
	border-radius: 12px;
	color: var(--ck-dark);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	background: #fff;
}

.mdf-single__back:hover {
	border-color: var(--ck-green);
	color: var(--ck-green);
}

.mdf-page-content {
	margin-top: 14px;
}

.mdf-page-content .mdf-prose {
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 16px;
	padding: 20px;
}

/* صفحه‌بندی */
.mdf-pagination {
	margin: 22px 0;
	display: flex;
	justify-content: center;
}

.mdf-pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.mdf-pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ck-border);
	border-radius: 12px;
	background: #fff;
	color: var(--ck-mid);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	padding: 0 10px;
}

.mdf-pagination .page-numbers.current {
	background: var(--ck-dark);
	border-color: var(--ck-dark);
	color: #fff;
}

.mdf-pagination a.page-numbers:hover {
	border-color: var(--ck-green);
	color: var(--ck-green);
}

/* خالی/۴۰۴ */
.mdf-empty {
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 16px;
	padding: 34px 20px;
	text-align: center;
	color: var(--ck-muted);
	font-size: 13.5px;
	margin: 22px 20px 0;
}

.mdf-empty .mdf-icon {
	color: var(--ck-border);
	width: 40px;
	height: 40px;
	margin-bottom: 8px;
}

.mdf-error__box {
	background: #fff;
	border: 1px solid var(--ck-border);
	border-radius: 18px;
	padding: 40px 24px;
	text-align: center;
	margin-top: 30px;
}

.mdf-error__code {
	font-size: 48px;
	font-weight: 800;
	color: var(--ck-green);
	display: block;
	line-height: 1.2;
}

.mdf-error__box h1 {
	font-size: 18px;
	color: var(--ck-dark);
	margin: 10px 0;
}

.mdf-error__box p {
	font-size: 13px;
	color: var(--ck-muted);
}

.mdf-error__actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 16px 0;
}

.mdf-error__actions a {
	height: 44px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	border-radius: 12px;
	font-weight: 800;
	font-size: 13px;
	text-decoration: none;
}

.mdf-error__actions a:first-child {
	background: var(--ck-green);
	color: #fff;
}

.mdf-error__actions a:last-child {
	border: 1.5px solid var(--ck-border);
	color: var(--ck-dark);
	background: #fff;
}

/* جست‌وجوی درون‌صفحه */
.mdf-search-inline {
	max-width: 520px;
	margin-top: 14px;
}

.mdf-searchform {
	position: relative;
	display: flex;
}

.mdf-searchform__input {
	width: 100%;
	height: 46px;
	border: 1px solid var(--ck-border);
	border-radius: 14px;
	background: #fff;
	font-family: inherit;
	font-size: 13.5px;
	padding: 0 46px 0 16px;
	color: var(--ck-dark);
	appearance: none;
}

.mdf-searchform__input:focus {
	outline: none;
	border-color: var(--ck-green);
}

.mdf-searchform__btn {
	position: absolute;
	left: 6px;
	top: 6px;
	width: 34px;
	height: 34px;
	border: none;
	background: var(--ck-dark);
	border-radius: 10px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mdf-searchform__btn:hover {
	background: var(--ck-green);
}

/* ═══════════ ۲۴) لایت‌باکس تصاویر ═══════════ */
.mdf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10100;
	background: rgba(1, 24, 37, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.mdf-lightbox[hidden] {
	display: none !important;
}

.mdf-lightbox__img {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: 14px;
	object-fit: contain;
	background: #fff;
}

.mdf-lightbox__close {
	position: absolute;
	top: 18px;
	left: 18px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mdf-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mdf-lightbox__nav--prev {
	right: 14px;
}

.mdf-lightbox__nav--next {
	left: 14px;
}

/* ═══════════ ۲۵) پیش از فوتر (صفحات غیر از خانه) ═══════════ */
.mdf-prefooter {
	margin-top: 40px;
}

.mdf-prefooter .ck-sec {
	margin-top: 0;
	padding: 22px 0;
}

.mdf-prefooter .mdf-customer-photos {
	display: flex;
	overflow-x: auto;
	padding: 2px 20px 12px;
}

.mdf-prefooter .mdf-customer-photo {
	flex-shrink: 0;
	width: 150px;
}

@media (min-width: 1024px) {
	.mdf-prefooter .mdf-customer-photos {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		overflow: visible;
		padding: 0;
	}

	.mdf-prefooter .mdf-customer-photo {
		width: auto;
	}
}

/* ═══════════ ۲۶) کیفیت ═══════════ */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
