/**
 * باترید — استایل‌های اصلی (راست‌چین)
 */

/* --------------------------------------------------
   ۱) متغیرها و پایه
-------------------------------------------------- */
:root {
	--ts-bg: #f4f6fb;
	--ts-surface: #ffffff;
	--ts-text: #1a2438;
	--ts-muted: #5c6b84;
	--ts-on-dark-muted: #b7c3d6; /* متن ثانویه روی پس‌زمینهٔ تیره — کنتراست ~۹:۱ (۱.۶.۴۹) */
	--ts-line: #e3e8f2;
	--ts-primary: #0e9f6e;
	--ts-primary-dark: #0b7f58;
	--ts-primary-soft: #e4f5ee;
	--ts-accent: #f59e0b;
	--ts-dark: #0a1220;
	--ts-dark-2: #0f1c33;
	--ts-radius: 16px;
	--ts-radius-sm: 10px;
	--ts-shadow: 0 14px 34px rgba(10, 18, 32, 0.1);
	--ts-shadow-sm: 0 5px 16px rgba(10, 18, 32, 0.07);
	--ts-font: 'Vazirmatn', 'Vazir', 'IRANSans', 'Segoe UI', Tahoma, sans-serif;
	--ts-container: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.ts {
	margin: 0;
	font-family: var(--ts-font);
	font-size: 16px;
	line-height: 1.9;
	background: var(--ts-bg);
	color: var(--ts-text);
	-webkit-font-smoothing: antialiased;
}

body.ts img {
	max-width: 100%;
	height: auto;
}

body.ts a {
	color: var(--ts-primary-dark);
	text-decoration: none;
	transition: color 0.18s;
}

body.ts a:hover {
	color: var(--ts-primary);
}

body.ts h1,
body.ts h2,
body.ts h3,
body.ts h4,
body.ts h5,
body.ts h6 {
	line-height: 1.5;
	margin: 0 0 0.6em;
	font-weight: 700;
	color: var(--ts-text);
}

body.ts p {
	margin: 0 0 1em;
}

::selection {
	background: rgba(14, 159, 110, 0.25);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* --------------------------------------------------
   ۲) ابزارها (Utilities)
-------------------------------------------------- */
.ts-container {
	max-width: var(--ts-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.ts-section {
	padding-block: 76px;
}

.ts-section-alt {
	background: var(--ts-surface);
}

.ts-section-head {
	max-width: 660px;
	margin: 0 auto 44px;
	text-align: center;
}

.ts-section-head h2 {
	font-size: clamp(24px, 3.4vw, 34px);
	margin-bottom: 10px;
}

.ts-section-head p {
	color: var(--ts-muted);
	margin: 0;
	font-size: 16.5px;
}

.ts-section-more {
	display: flex;
	justify-content: center;
	margin-top: 38px;
}

.ts-kicker {
	display: inline-block;
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 99px;
	margin-bottom: 16px;
}

.ts-kicker-dark {
	background: rgba(52, 211, 153, 0.14);
	color: #6ee7b7;
}

/* دکمه‌ها */
.ts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	border-radius: 12px;
	padding: 12px 24px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s;
}

.ts-btn svg {
	flex: none;
}

.ts-btn-primary {
	background: var(--ts-primary);
	color: #fff;
	box-shadow: 0 8px 20px rgba(14, 159, 110, 0.25);
}

.ts-btn-primary:hover {
	background: var(--ts-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.ts-btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.ts-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.ts-btn-outline {
	border-color: var(--ts-line);
	color: var(--ts-text);
	background: var(--ts-surface);
}

.ts-btn-outline:hover {
	border-color: var(--ts-primary);
	color: var(--ts-primary-dark);
}

.ts-btn-lg {
	padding: 15px 30px;
	font-size: 16px;
	border-radius: 14px;
}

.ts-notice-box {
	background: var(--ts-surface);
	border: 1px dashed #c9d4e5;
	border-radius: var(--ts-radius);
	padding: 44px 36px;
	text-align: center;
	max-width: 660px;
	margin: 0 auto;
}

.ts-notice-box h2,
.ts-notice-box h3 {
	margin-bottom: 8px;
}

.ts-notice-box p {
	color: var(--ts-muted);
	margin-bottom: 0;
}

.ts-notice-box a {
	font-weight: 600;
	text-decoration: underline;
}

/* --------------------------------------------------
   ۳) نوار بالا (Topbar)
-------------------------------------------------- */
.ts-topbar {
	background: var(--ts-dark);
	color: #cbd5e1;
	font-size: 13px;
}

.ts-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
}

body.ts .ts-topbar-note {
	margin: 0;  /* ردّ قانون کلی body.ts p */
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: 0.92;
	padding-top: 3px; /* تراز بصری با مخاطبین */
}

.ts-topbar-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #34d399;
	flex: none;
	animation: tsPulse 1.6s infinite; /* چشمک مثل نقطهٔ زنده هیرو */
}

.ts-topbar-contacts {
	display: flex;
	gap: 18px;
	flex: none;
}

.ts-topbar-contact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #cbd5e1;
}

.ts-topbar-contact svg {
	width: 14px;
	height: 14px;
	color: #34d399;
}

.ts-topbar-contact:hover {
	color: #fff;
}

@media (max-width: 640px) {
	.ts-topbar {
		font-size: 12px;
	}
	.ts-topbar-inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		padding-block: 8px;
		min-height: 0;
	}
	body.ts .ts-topbar-note {
		padding-top: 0;
		justify-content: center;
		text-align: center;
		line-height: 1.6;
		font-size: 12px;
	}
	.ts-topbar-contacts {
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px;
	}
}

/* --------------------------------------------------
   ۴) هدر و منو
-------------------------------------------------- */
.ts-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ts-line);
	transition: box-shadow 0.2s;
}

.ts-header.ts-stuck {
	box-shadow: 0 6px 24px rgba(10, 18, 32, 0.08);
}

.ts-header-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 74px;
}

.ts-brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.ts-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--ts-text);
	font-weight: 800;
	font-size: 20px;
}

.ts-brand-text {
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ts-brand-link:hover {
	color: var(--ts-text);
}

.ts-brand-mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(180deg, #0e9f6e, #0b7f58);
	color: #fff;
	display: grid;
	place-items: center;
	flex: none;
	box-shadow: 0 6px 14px rgba(14, 159, 110, 0.3);
}

.ts-brand-mark svg {
	width: 24px;
	height: 24px;
}

.custom-logo-container .custom-logo {
	max-height: 54px;
	width: auto;
	margin: 0;
}

/* منوی اصلی */
.ts-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.ts-menu {
	list-style: none;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.ts-menu li {
	position: relative;
}

.ts-menu > li > a {
	display: block;
	padding: 9px 15px;
	border-radius: 10px;
	color: var(--ts-text);
	font-weight: 500;
	font-size: 15px;
}

.ts-menu a:hover {
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
}

.ts-menu .current-menu-item > a,
.ts-menu .current_page_item > a {
	color: var(--ts-primary-dark);
	background: var(--ts-primary-soft);
	font-weight: 600;
}

.ts-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 6px;
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: 13px;
	box-shadow: var(--ts-shadow);
	min-width: 200px;
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	display: none;
	z-index: 120;
}

.ts-menu li:hover > .sub-menu,
.ts-menu li:focus-within > .sub-menu {
	display: block;
}

.ts-menu .sub-menu a {
	padding: 9px 14px;
	font-size: 14px;
}

/* دکمه‌های سمت چپ هدر */
.ts-header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
}

/* دکمه‌های آیکونی هدر: زمینهٔ رنگی + حاشیهٔ مشخص (کاملاً قابل تشخیص از پس‌زمینه) */
.ts-icon-btn {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	border: 1px solid #c9e9dc;
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
	box-shadow: 0 2px 6px rgba(10, 18, 32, 0.06);
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
	flex: none;
}

.ts-icon-btn:hover,
.ts-icon-btn:focus-visible {
	background: var(--ts-primary);
	border-color: var(--ts-primary);
	color: #fff;
	box-shadow: 0 8px 18px rgba(14, 159, 110, 0.28);
}

.ts-icon-btn svg {
	width: 21px;
	height: 21px;
	stroke-width: 2;
}

.ts-cart-count {
	position: absolute;
	top: 3px;
	inset-inline-end: 3px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 99px;
	background: var(--ts-dark);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: grid;
	place-items: center;
	line-height: 1;
	border: 2px solid #fff;
}

/* دکمهٔ همبرگری (همان ظاهرِ دکمه‌های آیکونی) */
.ts-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid #c9e9dc;
	background: var(--ts-primary-soft);
	cursor: pointer;
	color: var(--ts-primary-dark);
	border-radius: 12px;
	padding: 6px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	flex: none;
}

.ts-nav-toggle:hover {
	background: var(--ts-primary);
	color: #fff;
}

.ts-nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.25s, opacity 0.2s;
}

/* پنل جستجو */
.ts-search-panel {
	max-height: 0;
	overflow: hidden;
	background: var(--ts-surface);
	border-top: 0 solid var(--ts-line);
	transition: max-height 0.3s ease;
}

.ts-search-panel.ts-open {
	max-height: 220px;
	border-top-width: 1px;
}

.ts-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block: 18px;
}

.ts-search-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--ts-line);
	border-radius: 12px;
	font-family: inherit;
	font-size: 15px;
	background: var(--ts-bg);
	color: var(--ts-text);
}

.ts-search-input:focus {
	outline: 2px solid var(--ts-primary);
	border-color: transparent;
	background: #fff;
}

/* فرم جستجو در سایدبار: ورودی و دکمه زیرِ هم تا هرگز از باکس بیرون نزنند */
.ts-sidebar .ts-search-form,
.ts-widget .ts-search-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	padding-block: 0;
	width: 100%;
	max-width: 100%;
}

.ts-sidebar .ts-search-input,
.ts-widget .ts-search-input {
	width: 100%;
	min-width: 0;
	flex: none;
}

.ts-sidebar .ts-search-form .ts-btn,
.ts-widget .ts-search-form .ts-btn {
	width: 100%;
	min-width: 0;
	flex: none;
}

/* سایدبار: هیچ فرزندی از چارچوب باکس بیرون نمی‌زند */
.ts-sidebar .ts-widget > * {
	max-width: 100%;
}

.ts-sidebar .ts-widget form,
.ts-sidebar .ts-widget input,
.ts-sidebar .ts-widget button,
.ts-sidebar .ts-widget select {
	max-width: 100%;
}

/* --------------------------------------------------
   نوارِ چیپسیِ دسته‌بندی‌ها (بالای محصولاتِ فروشگاه)
-------------------------------------------------- */
.ts-catbar {
	position: sticky;
	top: 75px;
	z-index: 90;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ts-line);
}

.ts-catbar-static {
	position: static;
}

.ts-catbar-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block: 12px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ts-catbar-inner::-webkit-scrollbar {
	display: none;
}

.ts-chip {
	flex: none;
	scroll-snap-align: start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 16px;
	border-radius: 99px;
	border: 1px solid var(--ts-line);
	background: var(--ts-bg);
	color: var(--ts-text);
	font-size: 14.5px;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ts-chip svg {
	width: 19px;
	height: 19px;
	flex: none;
}

.ts-chip:hover {
	transform: translateY(-2px);
	box-shadow: var(--ts-shadow-sm);
}

.ts-chip-count {
	font-size: 12px;
	font-weight: 700;
	color: currentColor;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 99px;
	padding: 3px 9px;
	line-height: 1;
}

/* رنگِ هر دسته */
.ts-chip-all {
	background: #eef2f8;
	border-color: #dbe3ef;
	color: var(--ts-dark);
}

.ts-chip-all:hover {
	background: #e2eaf5;
}

.ts-chip-green {
	background: var(--ts-primary-soft);
	border-color: #c9e9dc;
	color: var(--ts-primary-dark);
}

.ts-chip-green:hover {
	background: #d3efe4;
}

.ts-chip-amber {
	background: #fff5e0;
	border-color: #f6e3b8;
	color: #b45309;
}

.ts-chip-amber:hover {
	background: #ffedcb;
}

.ts-chip-violet {
	background: #eef0ff;
	border-color: #d8dbfb;
	color: #4338ca;
}

.ts-chip-violet:hover {
	background: #e3e6ff;
}

.ts-chip-cyan {
	background: #e0f7fb;
	border-color: #bde9f3;
	color: #0e7490;
}

.ts-chip-cyan:hover {
	background: #cdf1f8;
}

.ts-chip-rose {
	background: #ffeef1;
	border-color: #fbd3da;
	color: #be123c;
}

.ts-chip-rose:hover {
	background: #ffe3e9;
}

/* دستهٔ جاری */
.ts-chip.is-active,
.ts-chip.is-active:hover {
	background: var(--ts-dark);
	border-color: var(--ts-dark);
	color: #fff;
	box-shadow: 0 8px 18px rgba(10, 18, 32, 0.22);
}

.ts-chip.is-active .ts-chip-count {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

@media (max-width: 860px) {
	.ts-catbar {
		top: 75px;
	}

	.ts-catbar-inner {
		-webkit-mask-image: linear-gradient(to left, transparent, #000 22px, #000 92%, transparent);
		mask-image: linear-gradient(to left, transparent, #000 22px, #000 92%, transparent);
	}

	.ts-chip {
		height: 42px;
		padding: 0 14px;
		font-size: 14px;
	}
}

/* --------------------------------------------------
   ۵) بخش قهرمان (Hero)
-------------------------------------------------- */
.ts-hero {
	position: relative;
	background:
		radial-gradient(1100px 480px at 85% -10%, rgba(14, 159, 110, 0.3), transparent 60%),
		radial-gradient(900px 420px at 5% 115%, rgba(6, 182, 212, 0.16), transparent 55%),
		linear-gradient(160deg, #0a1220 0%, #0d1830 55%, #0a1626 100%);
	color: #e2e8f0;
	overflow: hidden;
}

.ts-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	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: 44px 44px;
	-webkit-mask-image: radial-gradient(720px 420px at 70% 30%, #000 0%, transparent 75%);
	mask-image: radial-gradient(720px 420px at 70% 30%, #000 0%, transparent 75%);
	pointer-events: none;
}

.ts-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	gap: 48px;
	align-items: center;
	padding-block: 84px;
}

.ts-hero-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(14, 159, 110, 0.14);
	border: 1px solid rgba(14, 159, 110, 0.42);
	color: #6ee7b7;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 15px;
	border-radius: 99px;
	margin-bottom: 20px;
}

.ts-hero-chip svg {
	width: 14px;
	height: 14px;
}

.ts-hero-title {
	font-size: clamp(30px, 4.6vw, 50px);
	font-weight: 800;
	color: #fff;
	line-height: 1.4;
	margin-bottom: 16px;
}

.ts-hero-sub {
	font-size: 17px;
	color: var(--ts-on-dark-muted);
	max-width: 560px;
	margin: 0 0 30px;
}

.ts-hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.ts-hero-stats {
	display: flex;
	gap: 34px;
	flex-wrap: wrap;
}

.ts-hero-stat b {
	display: block;
	font-size: 23px;
	color: #fff;
	font-weight: 800;
	line-height: 1.4;
}

.ts-hero-stat span {
	font-size: 13px;
	color: var(--ts-on-dark-muted);
}

/* کارت نمودار */
.ts-hero-art {
	position: relative;
}

.ts-hero-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 22px;
	box-shadow: 0 30px 60px rgba(2, 8, 20, 0.45);
}

.ts-hero-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
}

.ts-hero-card-head b {
	color: #fff;
	font-size: 15px;
}

.ts-hero-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	color: #6ee7b7;
}

.ts-hero-live i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34d399;
	animation: tsPulse 1.6s infinite;
}

@keyframes tsPulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}

.ts-hero-chart {
	width: 100%;
	height: auto;
	display: block;
}

.ts-hero-card-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 16px;
}

.ts-hero-mini {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 10px 12px;
}

.ts-hero-mini b {
	display: block;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
}

.ts-hero-mini span {
	font-size: 11.5px;
	color: var(--ts-on-dark-muted);
}

/* برچسب‌های شناور روی نمودار */
.ts-hero-float {
	position: absolute;
	background: rgba(10, 20, 35, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	padding: 10px 14px;
	display: flex;
	gap: 10px;
	align-items: center;
	box-shadow: 0 18px 40px rgba(2, 8, 20, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.ts-hero-float svg {
	width: 20px;
	height: 20px;
	color: #34d399;
	flex: none;
}

.ts-hero-float b {
	display: block;
	color: #fff;
	font-size: 13.5px;
	line-height: 1.5;
}

.ts-hero-float span {
	font-size: 11.5px;
	color: var(--ts-on-dark-muted);
}

.ts-hero-float.f1 {
	top: -18px;
	inset-inline-start: -14px;
}

.ts-hero-float.f2 {
	bottom: -16px;
	inset-inline-end: -10px;
}

/* --------------------------------------------------
   ۶) نوار اعتماد (Features)
-------------------------------------------------- */
.ts-features {
	background: var(--ts-surface);
	border-bottom: 1px solid var(--ts-line);
	padding-block: 34px;
}

.ts-features-grid {
	display: grid;
	grid-template-columns: repeat(var(--ts-cols, 4), minmax(0, 1fr));
	gap: 16px;
}

.ts-feature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px;
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	background: #fbfcfe;
	transition: all 0.2s;
}

.ts-feature:hover {
	transform: translateY(-3px);
	box-shadow: var(--ts-shadow-sm);
	border-color: #cfe0d8;
}

.ts-feature-icon {
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 13px;
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
	display: grid;
	place-items: center;
}

.ts-feature-icon svg {
	width: 23px;
	height: 23px;
}

.ts-feature h3 {
	font-size: 15px;
	margin: 0 0 4px;
}

.ts-feature p {
	margin: 0;
	font-size: 13.5px;
	color: var(--ts-muted);
	line-height: 1.75;
}

/* --------------------------------------------------
   ۷) دسته‌بندی‌ها
-------------------------------------------------- */
.ts-cats-grid {
	display: grid;
	grid-template-columns: repeat(var(--ts-cols, 3), minmax(0, 1fr));
	gap: 20px;
}

.ts-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 28px 24px;
	transition: all 0.25s;
	color: var(--ts-text);
}

.ts-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ts-shadow);
	border-color: transparent;
	color: var(--ts-text);
}

.ts-cat-icon {
	width: 54px;
	height: 54px;
	border-radius: 15px;
	display: grid;
	place-items: center;
	margin-bottom: 8px;
}

.ts-cat-icon svg {
	width: 27px;
	height: 27px;
}

.ts-cat-a {
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
}

.ts-cat-b {
	background: #fff5e0;
	color: #b45309;
}

.ts-cat-c {
	background: #eef0ff;
	color: #4338ca;
}

.ts-cat-card h3 {
	margin: 0;
	font-size: 18px;
}

.ts-cat-card p {
	margin: 0;
	color: var(--ts-muted);
	font-size: 14px;
	flex: 1;
}

.ts-cat-count {
	font-size: 12.5px;
	color: var(--ts-primary-dark);
	background: var(--ts-primary-soft);
	padding: 5px 12px;
	border-radius: 99px;
	font-weight: 600;
}

/* --------------------------------------------------
   ۸) کارت محصول (مشترک با فروشگاه)
-------------------------------------------------- */
.ts-grid-products {
	display: grid;
	grid-template-columns: repeat(var(--ts-cols, 4), minmax(0, 1fr));
	gap: 20px;
}

.ts-product-card {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.25s;
	position: relative;
	height: 100%;
}

.ts-product-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--ts-shadow);
	border-color: transparent;
}

.ts-pc-media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eef1f7;
}

.ts-pc-img {
	display: block;
	position: absolute;
	inset: 0;
}

.ts-pc-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.ts-product-card:hover .ts-pc-img img {
	transform: scale(1.05);
}

.ts-pc-media img.woocommerce-placeholder-image {
	object-fit: contain;
	padding: 12%;
}

.ts-badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 13px;
	border-radius: 99px;
	line-height: 1.5;
	box-shadow: 0 4px 10px rgba(10, 18, 32, 0.15);
}

.ts-badge-sale {
	background: #ef4444;
	color: #fff;
}

.ts-badge-featured {
	background: var(--ts-accent);
	color: #1f2937;
}

.ts-badge-new {
	background: #2563eb;
	color: #fff;
	top: auto;
	bottom: 12px;
	inset-inline-start: auto;
	inset-inline-end: 12px;
}

.ts-pc-body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ts-pc-title {
	font-size: 15.5px;
	font-weight: 600;
	margin: 0;
	line-height: 1.7;
}

.ts-pc-title a {
	color: var(--ts-text);
}

.ts-pc-title a:hover {
	color: var(--ts-primary-dark);
}

.ts-pc-rating {
	min-height: 18px;
}

.ts-pc-desc {
	font-size: 13px;
	color: var(--ts-muted);
	margin: 0;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ts-pc-price {
	font-weight: 700;
	font-size: 16.5px;
	margin-top: 2px;
}

.ts-pc-price .price {
	color: var(--ts-text);
	font-weight: 800;
}

.ts-pc-price .price del {
	color: var(--ts-muted);
	font-weight: 400;
	font-size: 13.5px;
	margin-inline-end: 6px;
}

.ts-pc-price .price ins {
	text-decoration: none;
	color: var(--ts-primary-dark);
}

.ts-pc-action {
	margin-top: 6px;
}

.ts-pc-action .button,
.ts-pc-action a.button {
	width: 100%;
	justify-content: center;
	padding: 11px 16px;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 600;
	background: var(--ts-dark);
	color: #fff;
	border: 0;
	white-space: nowrap;
	transition: background 0.2s;
}

.ts-pc-action .button:hover,
.ts-pc-action a.button:hover {
	background: var(--ts-primary);
	color: #fff;
}

.ts-pc-action .button.disabled {
	background: #9aa7bd;
	cursor: not-allowed;
}

/* --------------------------------------------------
   ۹) مراحل خرید
-------------------------------------------------- */
.ts-steps-grid {
	display: grid;
	grid-template-columns: repeat(var(--ts-cols, 3), minmax(0, 1fr));
	gap: 20px;
}

.ts-step {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 30px 26px;
}

.ts-step-num {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--ts-dark);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 19px;
	margin-bottom: 16px;
}

.ts-step h3 {
	font-size: 17px;
	margin-bottom: 8px;
}

.ts-step p {
	color: var(--ts-muted);
	font-size: 14.5px;
	margin: 0;
}

/* --------------------------------------------------
   ۱۰) نظرات مشتریان
-------------------------------------------------- */
.ts-testi-grid {
	display: grid;
	grid-template-columns: repeat(var(--ts-cols, 3), minmax(0, 1fr));
	gap: 20px;
}

.ts-testi {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

.ts-testi-stars {
	color: var(--ts-accent);
	font-size: 15px;
	letter-spacing: 2px;
}

.ts-testi blockquote {
	margin: 0;
	font-size: 14.5px;
	color: var(--ts-text);
	flex: 1;
	line-height: 1.95;
}

.ts-testi-person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ts-testi-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
	display: grid;
	place-items: center;
	font-weight: 700;
	flex: none;
}

.ts-testi-person-text b {
	display: block;
	font-size: 14.5px;
	line-height: 1.5;
}

.ts-testi-person-text small {
	font-size: 12.5px;
	color: var(--ts-muted);
}

/* --------------------------------------------------
   ۱۱) بنر CTA
-------------------------------------------------- */
.ts-cta {
	position: relative;
	background: linear-gradient(120deg, #0a1220 0%, #0d2b22 55%, #0a1220 100%);
	color: #fff;
	border-radius: 24px;
	padding: 52px 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	overflow: hidden;
}

.ts-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	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: 40px 40px;
	pointer-events: none;
}

.ts-cta > * {
	position: relative;
}

.ts-cta h2 {
	color: #fff;
	font-size: clamp(22px, 3vw, 30px);
	margin-bottom: 8px;
}

.ts-cta p {
	color: var(--ts-on-dark-muted);
	margin: 0;
	max-width: 520px;
}

.ts-cta-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	flex: none;
}

/* --------------------------------------------------
   ۱۲) بک‌رانت (مسیر صفحه)
-------------------------------------------------- */
.ts-breadcrumb-wrap {
	margin-top: 14px;
}

.ts-breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.ts-breadcrumb a {
	color: var(--ts-muted);
	transition: color 0.18s;
}

.ts-breadcrumb a:hover {
	color: var(--ts-primary-dark);
}

.ts-breadcrumb [aria-current='page'] {
	color: var(--ts-text);
	font-weight: 600;
}

.ts-breadcrumb li + li::before {
	content: '›';
	color: var(--ts-muted);
	opacity: 0.55;
	margin-inline-end: 8px;
}

/* نسخه روشن (بر روی پس‌زمینهٔ روشن فروشگاه) */
.ts-breadcrumb--light {
	margin-bottom: 20px;
}

/* نسخه تیره (داخل hero صفحات) */
.ts-page-hero .ts-breadcrumb {
	justify-content: center;
}

.ts-breadcrumb--dark a {
	color: #8fa3bd;
}

.ts-breadcrumb--dark a:hover {
	color: #fff;
}

.ts-breadcrumb--dark [aria-current='page'] {
	color: #fff;
}

.ts-breadcrumb--dark li + li::before {
	color: #8fa3bd;
}

/* --------------------------------------------------
   ۱۳) ناحیهٔ محتوای بیلدر (المنتور / ویژوال‌کامپوزر)
-------------------------------------------------- */
.ts-builder,
.ts-canvas {
	width: 100%;
}

/* بدون هیچ محدودیت عرض — بیلدر خودش چیدمان را مدیریت می‌کند */
.ts-builder .wp-block-columns,
.ts-canvas .wp-block-columns {
	max-width: 100%;
}

/* --------------------------------------------------
   ۱۴) فوتر
-------------------------------------------------- */
.ts-footer {
	background: var(--ts-dark);
	color: var(--ts-on-dark-muted);
	padding-top: 64px;
	font-size: 14.5px;
	margin-top: 0;
}

.ts-footer a {
	color: var(--ts-on-dark-muted);
}

.ts-footer a:hover {
	color: #fff;
}

.ts-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 36px;
	padding-bottom: 44px;
}

.ts-footer-title {
	color: #fff;
	font-size: 16px;
	margin: 0 0 18px;
}

.ts-footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-weight: 800;
	font-size: 19px;
	margin-bottom: 14px;
}

.ts-footer-about p {
	line-height: 1.95;
	margin-bottom: 0;
}

.ts-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ts-footer-more {
	font-weight: 600;
	color: #6ee7b7 !important;
}

.ts-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 13px;
}

.ts-footer-contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ts-footer-contact svg {
	width: 17px;
	height: 17px;
	flex: none;
	margin-top: 5px;
	color: #34d399;
}

.ts-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.ts-footer-social a {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.06);
	display: grid;
	place-items: center;
	transition: all 0.2s;
}

.ts-footer-social a:hover {
	background: var(--ts-primary);
	color: #fff;
}

.ts-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-block: 20px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 13px;
}

.ts-footer-bottom p {
	margin: 0;
}

/* --------------------------------------------------
   ۱۳) صفحات و بلاگ
-------------------------------------------------- */
.ts-page-hero {
	background:
		radial-gradient(700px 300px at 80% -30%, rgba(14, 159, 110, 0.25), transparent 60%),
		linear-gradient(140deg, #0a1220, #12233f);
	color: #fff;
	padding-block: 58px;
	text-align: center;
}

body.ts .ts-page-hero h1 {
	color: #fff;
	font-size: clamp(26px, 4vw, 38px);
	margin-bottom: 8px;
}

.ts-page-hero p {
	color: var(--ts-on-dark-muted);
	margin: 0;
}

/* هات‌فیکس ۱.۶.۳۲: هدر صفحهٔ بلاگ — بَج + تیتر گرادیانی خوانا + زیرتیتر */
.ts-blog-hero {
	padding-block: 72px;
}

.ts-hero-eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 7px 18px;
	border-radius: 999px;
	background: rgba(14, 159, 110, 0.16);
	border: 1px solid rgba(14, 159, 110, 0.35);
	color: #34d399;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
}

.ts-blog-hero h1 {
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 16px;
	background: linear-gradient(90deg, #ffffff 0%, #a7f3d0 55%, #34d399 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #a7f3d0; /* جایگزین برای مرورگرهای بدون پشتیبانی از background-clip */
}

.ts-blog-hero .ts-hero-lead {
	max-width: 640px;
	margin: 0 auto;
	color: #cbd5e1;
	font-size: clamp(15px, 2vw, 17px);
	line-height: 2;
}

.ts-page-hero-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 14px;
}

.ts-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 28px;
	align-items: start;
}

/* محتوای نوشتاری */
.ts-prose {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 38px;
}

.ts-prose p {
	margin: 0 0 1.1em;
}

.ts-prose h2 {
	font-size: 22px;
	margin-top: 1.5em;
}

.ts-prose h3 {
	font-size: 18px;
	margin-top: 1.3em;
}

.ts-prose ul,
.ts-prose ol {
	padding-inline-start: 24px;
	margin: 0 0 1.1em;
}

.ts-prose li {
	margin-bottom: 0.4em;
}

.ts-prose a {
	color: var(--ts-primary-dark);
	text-decoration: underline;
}

.ts-prose img {
	border-radius: 12px;
}

.ts-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.2em;
}

.ts-prose th,
.ts-prose td {
	border: 1px solid var(--ts-line);
	padding: 10px 14px;
	text-align: start;
	font-size: 14.5px;
}

.ts-prose th {
	background: var(--ts-bg);
}

.ts-prose blockquote {
	border-inline-start: 4px solid var(--ts-primary);
	background: var(--ts-primary-soft);
	margin: 0 0 1.2em;
	padding: 16px 20px;
	border-radius: 0 12px 12px 0;
}

.ts-post-feature {
	margin-bottom: 24px;
}

.ts-post-feature img {
	width: 100%;
	border-radius: 14px;
}

.ts-post-tags {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--ts-line);
}

.ts-post-tags a {
	display: inline-block;
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
	font-size: 12.5px;
	padding: 5px 13px;
	border-radius: 99px;
	margin-inline-end: 6px;
	font-weight: 600;
	text-decoration: none;
}

.ts-post-tags a:hover {
	background: var(--ts-primary);
	color: #fff;
}

/* چیپ دسته‌بندی نوشته در هرو تیره */
.ts-post-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 14px 0 0;
}

.ts-post-cats a {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 99px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	color: #e6fffb;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(4px);
	transition: background 0.2s ease, color 0.2s ease;
}

.ts-post-cats a:hover {
	background: var(--ts-primary);
	border-color: var(--ts-primary);
	color: #fff;
}

/* کارت پست */
.ts-grid-posts {
	display: grid;
	grid-template-columns: repeat(var(--ts-cols, 4), minmax(0, 1fr));
	gap: 20px;
}

.ts-post-card {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.25s;
}

.ts-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ts-shadow);
}

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

/* هات‌فیکس ۱.۶.۳۳: جانگهدارِ تصویر کارت بلاگ وقتی تصویر شاخص وجود ندارد */
.ts-post-thumb-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(420px 200px at 75% -20%, rgba(14, 159, 110, 0.28), transparent 60%),
		linear-gradient(140deg, #0a1220, #12233f);
	color: rgba(167, 243, 208, 0.55);
	border-bottom: 1px solid var(--ts-line);
}

.ts-post-thumb-empty svg {
	width: 40px;
	height: 40px;
	opacity: 0.9;
}

.ts-post-body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ts-post-meta {
	font-size: 12.5px;
	color: var(--ts-muted);
}

.ts-post-title {
	font-size: 16.5px;
	margin: 0;
	line-height: 1.8;
}

.ts-post-title a {
	color: var(--ts-text);
}

.ts-post-title a:hover {
	color: var(--ts-primary-dark);
}

.ts-post-excerpt {
	margin: 0;
	font-size: 14px;
	color: var(--ts-muted);
	flex: 1;
}

.ts-post-more {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ts-primary-dark);
}

/* سایدبار */
.ts-sidebar .ts-widget {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 22px;
	margin-bottom: 20px;
}

.ts-widget-title {
	font-size: 16px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ts-line);
}

.ts-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.ts-sidebar ul li a {
	font-size: 14.5px;
}

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

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

.ts-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 13px;
	border-radius: 11px;
	border: 1px solid var(--ts-line);
	background: var(--ts-surface);
	font-weight: 600;
	color: var(--ts-text);
	font-size: 14.5px;
}

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

.ts-pagination .page-numbers:hover {
	border-color: var(--ts-primary);
	color: var(--ts-primary-dark);
}

/* دکمه‌های «صفحهٔ قبلی / بعدی» (بلاگ و فروشگاه) */
.ts-pagination .page-numbers.prev,
.ts-pagination .page-numbers.next,
.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers,
.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0 16px;
	border-color: var(--ts-primary);
	color: var(--ts-primary-dark);
	background: var(--ts-surface);
	font-weight: 700;
}

.ts-pagination .page-numbers.prev:hover,
.ts-pagination .page-numbers.next:hover,
.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers:hover {
	background: var(--ts-primary);
	border-color: var(--ts-primary);
	color: #fff;
}

.ts-pg-label {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1;
}

/* در راست‌چین، «قبلی» به سمت راست اشاره می‌کند */
.ts-pagination .page-numbers.prev svg,
.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers svg {
	transform: rotate(180deg);
}

.ts-pagination .page-numbers svg,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers svg {
	width: 17px;
	height: 17px;
	flex: none;
}

@media (max-width: 560px) {
	.ts-pg-label {
		display: none;
	}

	.ts-pagination .page-numbers.prev,
	.ts-pagination .page-numbers.next,
	.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers,
	.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers {
		padding: 0;
		width: 44px;
		min-width: 44px;
		justify-content: center;
	}
}

/* ۴۰۴ */
.ts-404 {
	text-align: center;
	padding-block: 60px;
}

.ts-404-num {
	font-size: clamp(70px, 12vw, 110px);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--ts-primary), #06b6d4);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 10px;
}

.ts-404 p {
	color: var(--ts-muted);
	max-width: 460px;
	margin: 0 auto 30px;
}

.ts-404-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* --------------------------------------------------
   ۱۶) نظرات
-------------------------------------------------- */
.ts-comments {
	margin-top: 40px;
}

.ts-comments-title {
	font-size: 20px;
	margin-bottom: 20px;
}

.ts-comments-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.ts-comments-list .comment {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: 14px;
	padding: 20px;
}

.ts-comments-list .children {
	list-style: none;
	margin: 14px 0 0;
	padding: 0 0 0 20px;
	border-inline-start: 2px solid var(--ts-line);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.comment-author .avatar {
	border-radius: 50%;
	flex: none;
}

.comment-author .fn {
	font-weight: 700;
	font-size: 14.5px;
}

.comment-metadata {
	font-size: 12.5px;
	color: var(--ts-muted);
	margin-bottom: 8px;
}

.comment-metadata a {
	color: var(--ts-muted);
}

.comment-content {
	font-size: 14.5px;
}

.reply {
	font-size: 12.5px;
}

.reply a {
	color: var(--ts-primary-dark);
	font-weight: 600;
}

.ts-comments-closed {
	background: var(--ts-surface);
	border: 1px dashed var(--ts-line);
	border-radius: 12px;
	padding: 16px;
	text-align: center;
	color: var(--ts-muted);
}

.comment-form {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: 14px;
	padding: 24px;
}

.comment-form label {
	display: block;
	font-size: 14px;
	margin-bottom: 6px;
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--ts-line);
	border-radius: 10px;
	font-family: inherit;
	font-size: 14.5px;
	background: var(--ts-bg);
	color: var(--ts-text);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--ts-primary);
	border-color: transparent;
	background: #fff;
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form .form-submit {
	margin: 0;
}

.comment-form .form-submit input {
	background: var(--ts-primary);
	color: #fff;
	border: 0;
	padding: 12px 28px;
	border-radius: 12px;
	font-weight: 700;
	font-family: inherit;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s;
}

.comment-form .form-submit input:hover {
	background: var(--ts-primary-dark);
}

.form-allowed-tags {
	font-size: 11.5px !important;
	color: var(--ts-muted) !important;
	background: var(--ts-bg);
	border-radius: 10px;
	padding: 10px 14px;
}

.comments-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

/* --------------------------------------------------
   ۱۷) دکمهٔ بازگشت به بالا و دسترسی
-------------------------------------------------- */
.ts-skip-link {
	position: absolute;
	top: -70px;
	inset-inline-start: 16px;
	background: var(--ts-dark);
	color: #fff;
	padding: 10px 18px;
	border-radius: 10px;
	z-index: 300;
	transition: top 0.2s;
}

.ts-skip-link:focus {
	top: 12px;
	color: #fff;
}

#tsBackTop {
	position: fixed;
	bottom: 22px;
	inset-inline-start: 22px;
	z-index: 90;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	border: 0;
	background: var(--ts-dark);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: all 0.25s;
	display: grid;
	place-items: center;
	box-shadow: var(--ts-shadow);
}

#tsBackTop.ts-visible {
	opacity: 1;
	pointer-events: auto;
}

#tsBackTop:hover {
	background: var(--ts-primary);
}

#tsBackTop svg {
	width: 19px;
	height: 19px;
}

.ts-main {
	display: block;
}

/* --------------------------------------------------
   ۱۸) واکنش‌گرایی
-------------------------------------------------- */
@media (max-width: 1024px) {
	.ts-hero-inner {
		grid-template-columns: 1fr;
		padding-block: 64px;
	}

	.ts-hero-art {
		max-width: 560px;
		margin-inline: auto;
		width: 100%;
	}

	.ts-grid-products {
		--ts-cols: 3;
	}

	.ts-features-grid {
		--ts-cols: 2;
	}

	.ts-testi-grid {
		--ts-cols: 2;
	}

	.ts-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ts-layout {
		grid-template-columns: 1fr;
	}

	.ts-grid-posts {
		--ts-cols: 3;
	}
}

@media (max-width: 860px) {
	.ts-nav-toggle {
		display: flex;
	}

	.ts-nav {
		position: fixed;
		inset: 0;
		z-index: 99;
		background: var(--ts-surface);
		transform: translateY(-103%);
		transition: transform 0.32s ease;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		padding: 140px 26px 40px;
		overflow-y: auto;
		flex: none;
	}

	body.ts-nav-open .ts-nav {
		transform: none;
	}

	body.ts-nav-open {
		overflow: hidden;
	}

	body.ts-nav-open .ts-nav-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	body.ts-nav-open .ts-nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	body.ts-nav-open .ts-nav-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.ts-menu {
		flex-direction: column;
		gap: 2px;
		width: 100%;
	}

	.ts-menu > li > a {
		padding: 13px 14px;
		font-size: 16px;
	}

	.ts-menu .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding: 0 0 0 14px;
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.ts-section {
		padding-block: 56px;
	}

	.ts-grid-products {
		--ts-cols: 2;
		gap: 12px;
	}

	.ts-pc-body {
		padding: 12px 13px 15px;
	}

	.ts-pc-title {
		font-size: 14px;
	}

	.ts-cats-grid,
	.ts-steps-grid,
	.ts-testi-grid {
		--ts-cols: 1;
	}

	.ts-cta {
		flex-direction: column;
		text-align: center;
		padding: 40px 24px;
	}

	.ts-cta-actions {
		justify-content: center;
	}

	.ts-hero-float {
		display: none;
	}

	.ts-hero-stats {
		gap: 22px;
	}

	.ts-prose {
		padding: 24px 20px;
	}

	.ts-footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.ts-grid-posts {
		--ts-cols: 2;
	}
}

@media (max-width: 520px) {
	.ts-grid-posts {
		--ts-cols: 1;
	}
}

@media (max-width: 420px) {
	.ts-topbar-contacts {
		gap: 10px;
	}

	.ts-header-inner {
		height: 64px;
		gap: 8px;
	}

	.ts-brand-text {
		font-size: 17px;
	}
}

@media (max-width: 560px) {
	.ts-features-grid {
		--ts-cols: 1;
	}

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

	.ts-hero-actions .ts-btn-lg {
		padding: 14px 22px;
		font-size: 15px;
		width: 100%;
	}

	.ts-topbar-contacts {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}

	.ts-prose table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.ts-404-actions .ts-btn {
		width: 100%;
	}
}

/* کاهش حرکت */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

/* --------------------------------------------------
   ۱۹) فروشگاه (چیدمان با سایدبار) + صفحات تماس و درباره ما
-------------------------------------------------- */
.ts-shop-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
	align-items: start;
}

.ts-sidebar {
	min-width: 0;
}

.ts-shop-main {
	min-width: 0;
}

.ts-shop-main .woocommerce ul.products {
	grid-template-columns: repeat(3, 1fr);
}

/* هات‌فیکس ۱.۶.۳۰: فروشگاه تمام‌عرض (بدون سایدبار) + نوار جستجوی بالای محصولات */
.ts-shop-layout--full {
	display: block;
}

.ts-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 24px;
	flex-wrap: wrap;
}

.ts-shop-toolbar .woocommerce-ordering {
	margin: 0;
	flex: 0 0 auto;
}

.ts-shop-toolbar .ts-search-form {
	display: flex;
	gap: 10px;
	flex: 1 1 360px;
	min-width: 0;
	max-width: 520px;
}

.ts-shop-toolbar .ts-search-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid var(--ts-line);
	border-radius: 12px;
	font-family: var(--ts-font);
	font-size: 15px;
	background: var(--ts-surface);
	color: var(--ts-text);
}

.ts-shop-toolbar .ts-search-input:focus {
	outline: none;
	border-color: var(--ts-primary);
	box-shadow: 0 0 0 3px var(--ts-primary-soft);
}

.ts-shop-toolbar .ts-search-submit {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* هات‌فیکس ۱.۶.۴۰: در موبایل جستجو بالا و مرتب‌سازی زیرِ آن */
@media (max-width: 640px) {
	.ts-shop-toolbar {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 12px;
	}
	.ts-shop-toolbar .ts-search-form {
		flex: 1 1 auto;
		max-width: none;
	}
	.ts-shop-toolbar .woocommerce-ordering select {
		width: 100%;
	}
}

/* لیست دسته‌بندی‌ها در سایدبار */
.ts-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.ts-cat-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 9px;
	font-size: 14px;
	color: var(--ts-text);
}

.ts-cat-list a:hover {
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
}

.ts-cat-list .count {
	color: var(--ts-muted);
	font-size: 12.5px;
}

/* باکس CTA تیره (مشترک بین سایدبار و صفحات) */
.ts-widget-cta {
	background: linear-gradient(150deg, #0a1220, #0d2b22);
	color: #cbd5e1;
	text-align: center;
}

.ts-widget-cta .ts-widget-title {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.12);
}

.ts-widget-cta p {
	color: var(--ts-on-dark-muted);
	font-size: 13.5px;
	margin-bottom: 16px;
}

/* صفحهٔ تماس با ما (بازسازی ۱.۶.۴۶ — تمام‌عرض، بدون سایدبار) */
.ts-cx-hero {
	padding-block: 58px 64px;
}

.ts-cx-hero .ts-breadcrumb-wrap {
	margin-bottom: 20px;
}

.ts-cx-hero-lead {
	color: var(--ts-on-dark-muted);
	max-width: 640px;
	margin: 14px auto 0;
	font-size: 16px;
	text-align: center;
}

.ts-cx-hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 28px;
}

.ts-cx-intro {
	max-width: 860px;
	margin: 0 auto 30px;
	text-align: center;
	color: var(--ts-muted);
}

.ts-cx-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

.ts-cx-card {
	position: relative;
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 26px 18px 20px;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ts-cx-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ts-shadow-sm);
	border-color: rgba(14, 159, 110, 0.35);
}

.ts-cx-card .ts-feature-icon {
	margin: 0 auto 14px;
}

.ts-cx-card b {
	display: block;
	font-size: 15.5px;
	margin-bottom: 6px;
}

.ts-cx-card > a,
.ts-cx-card > span {
	display: block;
	font-size: 14px;
	color: var(--ts-muted);
}

.ts-cx-card > a:hover {
	color: var(--ts-primary-dark);
}

.ts-cx-card small {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	color: var(--ts-muted);
	line-height: 1.7;
}

.ts-cx-main {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 22px;
	align-items: start;
}

.ts-cx-form-card {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	box-shadow: var(--ts-shadow-sm);
	padding: 30px 28px;
}

.ts-cx-form-head h2 {
	font-size: 21px;
	margin-bottom: 6px;
}

.ts-cx-form-head p {
	color: var(--ts-muted);
	font-size: 14px;
	margin-bottom: 22px;
}

.ts-cx-form .woocommerce-message,
.ts-cx-form .woocommerce-error {
	margin-bottom: 18px;
}

.ts-cx-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.ts-cx-form p {
	margin-bottom: 14px;
}

.ts-cx-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 6px;
}

.ts-cx-form input,
.ts-cx-form select,
.ts-cx-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--ts-line);
	border-radius: 12px;
	font-family: inherit;
	font-size: 14.5px;
	background: #fff;
	color: var(--ts-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ts-cx-form input:focus,
.ts-cx-form select:focus,
.ts-cx-form textarea:focus {
	outline: none;
	border-color: var(--ts-primary);
	box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.14);
}

.ts-cx-form textarea {
	min-height: 150px;
	resize: vertical;
}

.ts-cx-form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235c6b84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 14px center;
	padding-left: 38px;
	cursor: pointer;
}

.ts-cx-form-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.ts-cx-note {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ts-muted);
	font-size: 12.5px;
	max-width: 340px;
	line-height: 1.7;
}

.ts-cx-note svg {
	flex: none;
	color: var(--ts-primary);
}

.ts-cx-side {
	display: grid;
	gap: 20px;
}

.ts-cx-quick {
	background: linear-gradient(150deg, #0a1220, #0d2b22);
	color: #cbd5e1;
	border-radius: var(--ts-radius);
	padding: 28px 22px;
	text-align: center;
}

.ts-cx-quick h3 {
	color: #fff;
	font-size: 17px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.ts-cx-quick h3 svg {
	color: #34d399;
}

.ts-cx-quick > p {
	font-size: 13.5px;
	color: var(--ts-on-dark-muted);
	margin-bottom: 18px;
}

.ts-cx-quick .ts-btn {
	width: 100%;
}

.ts-cx-quick-tel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	color: #cbd5e1;
	font-size: 14.5px;
}

.ts-cx-quick-tel:hover {
	color: #fff;
}

.ts-cx-faq {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 24px 22px 12px;
}

.ts-cx-faq > h3 {
	font-size: 16.5px;
	margin-bottom: 8px;
}

.ts-cx-faq details {
	border-bottom: 1px solid var(--ts-line);
}

.ts-cx-faq details:last-of-type {
	border-bottom: 0;
}

.ts-cx-faq summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding: 14px 30px 14px 2px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;
}

.ts-cx-faq summary::-webkit-details-marker {
	display: none;
}

.ts-cx-faq summary::after {
	content: '+';
	position: absolute;
	left: 4px;
	top: 50%;
	transform: translateY(-58%);
	color: var(--ts-primary);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.ts-cx-faq details[open] summary::after {
	content: '−';
}

.ts-cx-faq details[open] summary {
	color: var(--ts-primary-dark);
}

.ts-cx-faq details p {
	font-size: 13.5px;
	color: var(--ts-muted);
	padding: 0 2px 16px;
	margin: 0;
	line-height: 2;
}

/* کارت نکته‌های کنار فرم تماس (۱.۶.۴۷) */
.ts-cx-tips {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 24px 22px;
}

.ts-cx-tips h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	margin-bottom: 14px;
}

.ts-cx-tips h3 svg {
	color: var(--ts-primary);
}

.ts-cx-tips ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ts-cx-tips li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13.5px;
	color: var(--ts-muted);
	line-height: 1.9;
	margin-bottom: 10px;
}

.ts-cx-tips li:last-child {
	margin-bottom: 0;
}

.ts-cx-tips li svg {
	flex: none;
	color: var(--ts-primary);
	margin-top: 7px;
}

/* هیروی وسط‌چین — ویجت batrade-hero با align=center (۱.۶.۴۷) */
.ts-hero-center .ts-hero-inner {
	grid-template-columns: 1fr;
	text-align: center;
	padding-block: 62px;
}

.ts-hero-center .ts-hero-copy {
	max-width: 780px;
	margin: 0 auto;
}

.ts-hero-center .ts-hero-sub {
	margin-inline: auto;
}

.ts-hero-center .ts-hero-actions,
.ts-hero-center .ts-hero-stats {
	justify-content: center;
}

/* کارت ویژگی به‌صورت لینک (۱.۶.۴۷) */
a.ts-feature--link {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

a.ts-feature--link:hover h3 {
	color: var(--ts-primary-dark);
}

@media (max-width: 1020px) {
	.ts-cx-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.ts-cx-main {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ts-cx-cards {
		grid-template-columns: 1fr;
	}

	.ts-cx-row {
		grid-template-columns: 1fr;
	}

	.ts-cx-form-card {
		padding: 24px 18px;
	}

	.ts-cx-form-foot {
		flex-direction: column;
		align-items: stretch;
	}

	.ts-cx-form-foot .ts-btn {
		width: 100%;
	}

	.ts-cx-note {
		max-width: none;
		justify-content: center;
		text-align: center;
	}

	.ts-cx-hero-actions .ts-btn {
		width: 100%;
	}
}

/* صفحهٔ درباره ما */
.ts-about-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 28px;
	align-items: start;
}

/* هات‌فیکس ۱.۶.۳۹: صفحهٔ درباره ما بدون سایدبار (متن تمام‌عرض) */
.ts-about-grid--full {
	display: block;
	max-width: none;
}

.ts-about-stats {
	background: var(--ts-dark);
	color: #fff;
	border-radius: var(--ts-radius);
	padding: 26px 22px;
	display: grid;
	gap: 18px;
}

.ts-about-stat b {
	display: block;
	font-size: 22px;
	line-height: 1.4;
}

.ts-about-stat span {
	font-size: 13px;
	color: var(--ts-on-dark-muted);
}

.ts-about-side .ts-widget-cta {
	margin-top: 20px;
}

.ts-values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.ts-value {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius);
	padding: 24px 20px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.ts-value-icon {
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 13px;
	background: var(--ts-primary-soft);
	color: var(--ts-primary-dark);
	display: grid;
	place-items: center;
}

.ts-value h3 {
	font-size: 15px;
	margin: 0 0 4px;
}

.ts-value p {
	margin: 0;
	font-size: 13.5px;
	color: var(--ts-muted);
}

@media (max-width: 1024px) {
	.ts-shop-layout {
		grid-template-columns: 1fr;
	}

	.ts-shop-main .woocommerce ul.products {
		grid-template-columns: repeat(3, 1fr);
	}

	.ts-contact-grid,
	.ts-about-grid {
		grid-template-columns: 1fr;
	}

	.ts-contact-cards,
	.ts-values-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.ts-shop-main .woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.ts-contact-row {
		grid-template-columns: 1fr;
	}

	.ts-contact-cards,
	.ts-values-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------
   ۱۹) سیستم ستون‌ها برای ویجت‌های المنتور
   (ویجت‌ها کلاس‌های ts-cols-* می‌گیرند؛ اگر نگیرند،
   مقادیر پیش‌فرضِ واکنش‌گرای بالا اعمال می‌شود)
-------------------------------------------------- */
.ts-cols-1 { --ts-cols: 1; }
.ts-cols-2 { --ts-cols: 2; }
.ts-cols-3 { --ts-cols: 3; }
.ts-cols-4 { --ts-cols: 4; }
.ts-cols-5 { --ts-cols: 5; }
.ts-cols-6 { --ts-cols: 6; }

@media (max-width: 1024px) {
	.ts-cols-md-1 { --ts-cols: 1; }
	.ts-cols-md-2 { --ts-cols: 2; }
	.ts-cols-md-3 { --ts-cols: 3; }
	.ts-cols-md-4 { --ts-cols: 4; }
}

@media (max-width: 640px) {
	.ts-cols-sm-1 { --ts-cols: 1; }
	.ts-cols-sm-2 { --ts-cols: 2; }
	.ts-cols-sm-3 { --ts-cols: 3; }
}

/* --------------------------------------------------
   ۲۰) بخش پرسش‌های پرتکرار (FAQ) — آکاردئون بومی
-------------------------------------------------- */
.ts-faq {
	display: grid;
	gap: 12px;
	max-width: 820px;
	margin-inline: auto;
}

.ts-faq-item {
	background: var(--ts-surface);
	border: 1px solid var(--ts-line);
	border-radius: var(--ts-radius-sm);
	overflow: hidden;
}

.ts-faq-item[open] {
	border-color: rgba(14, 159, 110, 0.35);
	box-shadow: var(--ts-shadow-sm);
}

.ts-faq-q {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 18px;
	font-weight: 700;
	font-size: 16.5px;
	color: var(--ts-text);
}

.ts-faq-q::-webkit-details-marker {
	display: none;
}

.ts-faq-q::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-left: 2px solid var(--ts-primary);
	border-bottom: 2px solid var(--ts-primary);
	transform: rotate(-45deg);
	transition: transform 0.22s ease;
	margin-top: -4px;
}

.ts-faq-item[open] .ts-faq-q::after {
	transform: rotate(135deg);
	margin-top: 2px;
}

.ts-faq-a {
	padding: 0 18px 18px;
	color: var(--ts-muted);
	line-height: 1.95;
}

.ts-faq-a > :last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------
   ۲۱) بهبودهای واکنش‌گرایی و لمس (موبایل/تبلت)
-------------------------------------------------- */

/* جلوگیری از زوم خودکار iOS هنگام فوکوس روی فیلدها */
.ts-prose input,
.ts-prose textarea,
.ts-prose select,
.ts-contact-form input,
.ts-contact-form textarea,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
textarea,
select {
	font-size: 16px;
}

/* جداول متنی همیشه قابل‌اسکرول — جلوگیری از شکستن چیدمان در موبایل
   (جدول‌های ووکامرس دست‌نخورده باقی می‌مانند) */
.ts-prose table,
.ts-post-body table,
.ts-faq-a table,
.ts-spec-table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ts-spec-table td,
.ts-spec-table th {
	min-width: 140px;
}

/* تصاویر و رسانه‌ها هیچ‌وقت از چارچوب بیرون نمی‌زنند */
.ts-prose img,
.ts-pc-img img,
.ts-post-thumb img,
iframe,
embed,
video {
	max-width: 100%;
	height: auto;
}

/* هدف‌های لمسیِ بزرگ‌تر برای موبایل (استاندارد ۴۴px) */
@media (max-width: 860px) {
	.ts-icon-btn,
	.ts-nav-toggle {
		min-width: 44px;
		min-height: 44px;
	}

	.ts-btn {
		min-height: 46px;
	}

	.ts-menu > li > a {
		min-height: 46px;
		display: flex;
		align-items: center;
	}
}

/* تبلت: چیدمان فروشگاه یک‌ستونه و سایدبار زیر محتوا */
@media (max-width: 900px) {
	.ts-shop-layout {
		grid-template-columns: 1fr;
	}

	.ts-sidebar {
		order: 2;
	}
}

/* گوشی‌های خیلی کوچک: هدر شلوغ نشود و چیزی بیرون نزند */
@media (max-width: 400px) {
	.ts-header-inner {
		gap: 10px;
	}

	.ts-header-actions {
		gap: 4px;
	}

	.ts-brand-link {
		font-size: 18px;
	}

	.ts-brand-mark {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 480px) {
	.ts-container {
		padding-inline: 14px;
	}

	.ts-section {
		padding-block: 46px;
	}

	.ts-section-head {
		margin-bottom: 30px;
	}

	.ts-hero-title {
		font-size: 27px;
	}

	.ts-hero-sub {
		font-size: 15px;
	}

	.ts-hero-stats {
		flex-wrap: wrap;
		gap: 16px 26px;
	}

	.ts-page-hero h1 {
		font-size: 24px;
	}

	.ts-cta {
		padding: 32px 20px;
	}

	.ts-footer-bottom {
		text-align: center;
	}
}

/* محصولات: دو ستون در موبایلِ خیلی کوچک هم خوانا می‌ماند */
@media (max-width: 380px) {
	.ts-grid-products {
		--ts-cols: 2;
		gap: 10px;
	}
}

/* --------------------------------------------------
   هات‌فیکس ۱.۶.۴: سکشن‌های المنتور صفحهٔ اصلی کاملاً تمام‌عرض
-------------------------------------------------- */
.page-id-101 .elementor-top-section {
	max-width: none !important;
	width: 100% !important;
}
.page-id-101 .elementor-top-section > .elementor-container {
	max-width: none !important;
	width: 100% !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}

/* --------------------------------------------------
   هات‌فیکس ۱.۶.۹: عناوین ستون‌های فوتر روی پس‌زمینهٔ تیره
   نامرئی بودند (موبایل: مثل فضای خالی دیده می‌شدند)
-------------------------------------------------- */
.ts-footer-title {
	color: #f1f5f9 !important;
}

/* --------------------------------------------------
   هات‌فیکس ۱.۶.۱۰ (موبایل): backdrop-filter هدر باعث می‌شد پنل
   منوی موبایل (position:fixed) به جای صفحه، به هدر لنگر بخورد؛
   حاصل: نوار خالی بالای صفحه + فضای خالی سفید در منوی باز.
   با حذف بلر در موبایل، پنل دوباره کل ویوپورت را می‌پوشاند.
-------------------------------------------------- */
@media (max-width: 860px) {
	.ts-header {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: #ffffff;
	}
	/* دکمهٔ همبرگر/ضربدر باید بالای پنل تمام‌صفحهٔ منو بماند تا بستن ممکن شود */
	.ts-header-actions,
	.ts-nav-toggle {
		position: relative;
		z-index: 110;
	}
}

/* --------------------------------------------------
   ۱۹) اصلاح اولویت رنگ‌ها در بخش‌های تیره (۱.۶.۵۰)
   قواعد سراسری «body.ts h1..h6» و «body.ts a» specificity بالاتری
   از قواعد جزئی داشتند و عنوان‌ها/دکمه‌ها/لینک‌ها را در بخش‌های تیره
   (هیرو، CTA، تاپ‌بار، پنل سریع، فوتر) تیره رندر می‌کردند.
   این بلوک رنگ‌های درست را با اولویت قطعی بازمی‌گرداند.
-------------------------------------------------- */
/* دکمه‌های لنگری در همهٔ زمینه‌ها */
body.ts a.ts-btn-primary,
body.ts a.ts-btn-primary:hover { color: #fff; }
body.ts a.ts-btn-ghost,
body.ts a.ts-btn-ghost:hover { color: #fff; }
body.ts a.ts-btn-outline { color: var(--ts-text); }
body.ts a.ts-btn-outline:hover { color: var(--ts-primary-dark); }

/* هیروی تیره */
body.ts .ts-hero h1,
body.ts .ts-hero h2,
body.ts .ts-hero h3,
body.ts .ts-hero-title { color: #fff; }
body.ts .ts-hero-sub { color: var(--ts-on-dark-muted); }
body.ts .ts-hero a:not(.ts-btn) { color: #cbd5e1; }
body.ts .ts-hero a:not(.ts-btn):hover { color: #fff; }

/* بنر CTA تیره */
body.ts .ts-cta h1,
body.ts .ts-cta h2,
body.ts .ts-cta h3 { color: #fff; }
body.ts .ts-cta p { color: var(--ts-on-dark-muted); }

/* هیروی صفحات/بلاگ */
body.ts .ts-page-hero h1,
body.ts .ts-blog-hero h1 { color: #fff; }
body.ts .ts-page-hero p,
body.ts .ts-blog-hero p { color: var(--ts-on-dark-muted); }
body.ts .ts-page-hero a:not(.ts-btn),
body.ts .ts-blog-hero a:not(.ts-btn) { color: #cbd5e1; }

/* نوار بالای سایت */
body.ts .ts-topbar a,
body.ts .ts-topbar-contact { color: #cbd5e1; }
body.ts .ts-topbar a:hover,
body.ts .ts-topbar-contact:hover { color: #fff; }

/* پنل سریع تماس + ویجت CTA تیره + آمار تیره */
body.ts .ts-cx-quick h1,
body.ts .ts-cx-quick h2,
body.ts .ts-cx-quick h3 { color: #fff; }
body.ts .ts-cx-quick p { color: var(--ts-on-dark-muted); }
body.ts a.ts-cx-quick-tel { color: #cbd5e1; }
body.ts a.ts-cx-quick-tel:hover { color: #fff; }
body.ts .ts-widget-cta h1,
body.ts .ts-widget-cta h2,
body.ts .ts-widget-cta h3,
body.ts .ts-widget-cta h4,
body.ts .ts-widget-cta .ts-widget-title { color: #fff; }
body.ts .ts-widget-cta p { color: var(--ts-on-dark-muted); }
body.ts .ts-widget-cta a:not(.ts-btn) { color: #cbd5e1; }
body.ts .ts-about-stats h1,
body.ts .ts-about-stats h2,
body.ts .ts-about-stats h3,
body.ts .ts-about-stats h4 { color: #fff; }
body.ts .ts-about-stats a:not(.ts-btn) { color: #cbd5e1; }

/* فوتر (محکم‌کاری) */
body.ts .ts-footer h1,
body.ts .ts-footer h2,
body.ts .ts-footer h3,
body.ts .ts-footer h4 { color: #fff; }
body.ts .ts-footer a:not(.ts-btn) { color: var(--ts-on-dark-muted); }
body.ts .ts-footer a:not(.ts-btn):hover { color: #fff; }

/* --------------------------------------------------
   ۲۰) جلوهٔ پریمیوم: گرادیان، گلو و عمق (۱.۶.۵۱)
   حس قدرت و اعتماد: عنوان‌های گرادیانی با هالهٔ سبز،
   دکمه‌های گرادیانی درخشان، چیپ شیشه‌ای و آمارهای نورانی.
-------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.ts-btn-primary,
	.ts-btn-ghost { transition: transform 0.18s, box-shadow 0.25s, background 0.25s; }
}

/* عنوان‌های گرادیانی روی پس‌زمینهٔ تیره */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	body.ts .ts-hero-title,
	body.ts .ts-hero h1,
	body.ts .ts-page-hero h1,
	body.ts .ts-blog-hero h1,
	body.ts .ts-cta h2 {
		background: linear-gradient(172deg, #ffffff 6%, #eef7ff 44%, #a9e9cf 98%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
		filter: drop-shadow(0 10px 30px rgba(14, 159, 110, 0.30));
	}

	body.ts .ts-hero-stat b,
	body.ts .ts-hero-mini b,
	body.ts .ts-hero-card-head b {
		background: linear-gradient(180deg, #ffffff 24%, #cdf2e3 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
	}
}

/* عمق و درخشش متن‌های روشن */
body.ts .ts-hero-sub { text-shadow: 0 2px 16px rgba(6, 12, 26, 0.65); }
body.ts .ts-cx-quick h3 { text-shadow: 0 4px 20px rgba(14, 159, 110, 0.45); }

/* چیپ شیشه‌ای با هاله */
body.ts .ts-hero-chip {
	box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.16), 0 8px 30px rgba(14, 159, 110, 0.24);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

/* دکمهٔ اصلی: گرادیان سبز + سایهٔ درخشان + لبهٔ نور */
.ts-btn-primary {
	background: linear-gradient(135deg, #16c98d 0%, #0e9f6e 52%, #0b8a5f 100%);
	box-shadow: 0 10px 28px rgba(14, 159, 110, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.ts-btn-primary:hover {
	background: linear-gradient(135deg, #1ad89a 0%, #10ae78 55%, #0c9468 100%);
	box-shadow: 0 14px 34px rgba(14, 159, 110, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

/* دکمهٔ شبح: شیشهٔ مات با لبهٔ نور */
.ts-btn-ghost {
	background: rgba(255, 255, 255, 0.09);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-color: rgba(255, 255, 255, 0.32);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 6px 22px rgba(4, 10, 24, 0.35);
}
.ts-btn-ghost:hover { background: rgba(255, 255, 255, 0.17); }

/* هالهٔ نور در بنر CTA */
.ts-cta { overflow: hidden; }
.ts-cta::after {
	content: '';
	position: absolute;
	top: -110px;
	inset-inline-start: -70px;
	width: 380px;
	height: 380px;
	background: radial-gradient(closest-side, rgba(14, 159, 110, 0.34), transparent 72%);
	pointer-events: none;
}

/* هالهٔ نور در پنل سریع تماس */
.ts-cx-quick { position: relative; overflow: hidden; }
.ts-cx-quick::after {
	content: '';
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: 300px;
	height: 240px;
	background: radial-gradient(closest-side, rgba(14, 159, 110, 0.30), transparent 72%);
	pointer-events: none;
}

/* خط نورانی زیر آمار هیرو */
body.ts .ts-hero-stat b { letter-spacing: 0; }

/* --------------------------------------------------
   ۲۱) صفحهٔ مطلب: تمام‌عرض بدون سایدبار (۱.۶.۵۴)
-------------------------------------------------- */
.ts-container--post {
	max-width: 1200px;
}
.ts-container--post .ts-prose {
	max-width: 100%;
	padding: 46px 52px;
}
.ts-container--post .ts-prose p {
	font-size: 16.5px;
	line-height: 2.1;
}
@media (max-width: 767px) {
	.ts-container--post .ts-prose {
		padding: 26px 20px;
	}
}

/* --------------------------------------------------
   ۲۲) پنل کناری تماس: تایم‌لاین اعتماد (۱.۶.۵۵)
-------------------------------------------------- */
body.ts .ts-cx-steps h3 {
	margin-bottom: 22px;
}
.ts-cx-step-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ts-cx-step-list li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
}
.ts-cx-step-n {
	flex: 0 0 27px;
	height: 27px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, var(--ts-primary), #0d9488);
	box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
	margin-top: 2px;
}
.ts-cx-step-list strong {
	display: block;
	font-size: 13.5px;
	margin-bottom: 3px;
	color: var(--ts-text);
}
.ts-cx-step-list p {
	margin: 0;
	font-size: 12.8px;
	line-height: 1.95;
	color: var(--ts-muted);
}
.ts-cx-steps-note {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 17px 0 0;
	padding-top: 14px;
	border-top: 1px dashed var(--ts-line);
	font-size: 12.5px;
	color: var(--ts-muted);
}
.ts-cx-steps-note svg {
	flex: 0 0 auto;
	color: var(--ts-primary);
}

/* --------------------------------------------------
   ۲۱) فهرست مطالب مقاله (ts-toc) + تنظیم لنگرها
-------------------------------------------------- */
.ts-toc {
	background: #f6f8fb;
	border: 1px solid var(--ts-line);
	border-radius: 14px;
	padding: 20px 24px 14px;
	margin: 0 0 1.9em;
}

.ts-toc-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 15.5px;
	font-weight: 800;
	color: var(--ts-text);
}

.ts-toc-title svg {
	color: var(--ts-primary);
	flex: none;
}

.ts-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 30px;
}

.ts-toc li {
	break-inside: avoid;
	margin: 0 0 9px;
	font-size: 14.5px;
	line-height: 1.8;
}

.ts-toc li::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ts-primary);
	margin-left: 9px;
	vertical-align: 2px;
}

.ts-toc a {
	color: var(--ts-primary-dark);
	font-weight: 600;
	text-decoration: none;
}

.ts-toc a:hover {
	text-decoration: underline;
}

.ts-prose h2[id],
.ts-prose h3[id] {
	scroll-margin-top: 96px;
}

@media (max-width: 640px) {
	.ts-toc ul {
		columns: 1;
	}

	.ts-toc {
		padding: 16px 18px 10px;
	}
}


/* ============================================
   ۱.۷.۱ — کشوی موبایلِ دسته‌بندی بلاگ
   (نوار دسکتاپ در ۱.۷.۲ به منوی دوسطحی تبدیل شد؛ پایین همین فایل)
============================================ */

/* زبانهٔ ثابت سمت راست — موبایل */
.ts-catnav-fab {
	display: none;
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 96;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 118px;
	padding: 12px 22px;
	border: 1px solid var(--ts-line);
	border-right: none;
	border-radius: 18px 0 0 18px;
	background: linear-gradient(180deg, #ffffff, #f1f6fa);
	color: var(--ts-dark);
	font: inherit;
	font-size: 14.5px;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-align: center;
	cursor: pointer;
	box-shadow: -6px 8px 26px rgba(13, 32, 54, 0.22);
}

.ts-catnav-fab-label {
	display: inline-block;
	text-align: center;
	letter-spacing: 0.6px;
	font-weight: 800;
	font-size: 14.5px;
}

.ts-catnav-fab:active {
	transform: translateY(-50%) scale(0.97);
}

/* پس‌زمینه و کشو */
.ts-catnav-scrim {
	position: fixed;
	inset: 0;
	background: rgba(11, 25, 45, 0.52);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
	z-index: 97;
}

.ts-catnav-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	width: min(84vw, 336px);
	background: #fff;
	z-index: 98;
	display: flex;
	flex-direction: column;
	transform: translateX(102%);
	visibility: hidden;
	transition: transform 0.28s ease, visibility 0s linear 0.28s;
	box-shadow: -14px 0 44px rgba(13, 32, 54, 0.28);
	overscroll-behavior: contain;
}

body.ts-catnav-open .ts-catnav-scrim {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease;
}

body.ts-catnav-open .ts-catnav-drawer {
	transform: none;
	visibility: visible;
	transition: transform 0.28s ease;
}

body.ts-catnav-open {
	overflow: hidden;
}

.ts-catnav-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 16px 12px;
	font-weight: 800;
	color: var(--ts-dark);
	border-bottom: 1px solid var(--ts-line);
}

.ts-catnav-close {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	border: 1px solid var(--ts-line);
	background: var(--ts-bg);
	color: var(--ts-muted);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.ts-catnav-dbody {
	flex: 1;
	overflow-y: auto;
	padding: 10px 12px 14px;
}

.ts-catnav-drawer a.ts-catnav-dlink {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 12px 10px;
	min-height: 46px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 14px;
	color: var(--ts-text);
	text-decoration: none;
}

.ts-catnav-dlink .ts-chip-count {
	margin-inline-start: auto;
}

.ts-catnav-dlink:hover,
.ts-catnav-dsub a:hover {
	background: var(--ts-bg);
}

.ts-catnav-drawer a.ts-catnav-dlink.is-on {
	background: linear-gradient(90deg, #0e7f64, #0b6452);
	color: #fff;
	box-shadow: 0 6px 18px rgba(14, 127, 100, 0.28);
}

.ts-catnav-drawer a.ts-catnav-dlink.is-on .ts-chip-count {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.ts-catnav-dlist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ts-catnav-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 99px;
	background: #0e7f64;
	box-shadow: 0 0 0 3px rgba(14, 127, 100, 0.14);
}

.ts-catnav-dot.dot-all { background: #45506b; box-shadow: 0 0 0 3px rgba(69, 80, 107, 0.14); }
.ts-catnav-dot.dot-green { background: #0e7f64; }
.ts-catnav-dot.dot-amber { background: #d9932c; box-shadow: 0 0 0 3px rgba(217, 147, 44, 0.16); }
.ts-catnav-dot.dot-violet { background: #7a5fd0; box-shadow: 0 0 0 3px rgba(122, 95, 208, 0.16); }
.ts-catnav-dot.dot-cyan { background: #1d9bb8; box-shadow: 0 0 0 3px rgba(29, 155, 184, 0.16); }
.ts-catnav-dot.dot-rose { background: #c05479; box-shadow: 0 0 0 3px rgba(192, 84, 121, 0.16); }

.ts-catnav-dsub {
	list-style: none;
	margin: 2px 0 8px;
	padding: 0 22px 0 0;
	margin-inline-start: 16px;
	padding-inline-start: 10px;
	border-inline-start: 1px dashed var(--ts-line);
}

.ts-catnav-dsub a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ts-muted);
	text-decoration: none;
}

.ts-catnav-dsub .ts-catnav-n {
	margin-inline-start: auto;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--ts-faint, #8b96ad);
}

.ts-catnav-dsub a.is-on {
	color: #0b6452;
	font-weight: 800;
	background: rgba(14, 127, 100, 0.08);
}

.ts-catnav-foot {
	padding: 10px 16px 14px;
	border-top: 1px solid var(--ts-line);
	font-size: 12px;
	color: #8b96ad;
}

@media (max-width: 767px) {
	.ts-blog-catnav {
		display: none;
	}

	.ts-catnav-fab {
		display: inline-flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ts-catnav-scrim,
	.ts-catnav-drawer {
		transition: none;
	}
}

/* ============================================
   ۱.۷.۲ — منوی دسته‌بندی بلاگ: منو + زیرمنو، بدون اسکرول
============================================ */
.ts-bcn-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 9px 0;
}

.ts-bcn-item {
	position: relative;
}

.ts-bcn-item:hover,
.ts-bcn-item.is-open {
	z-index: 6;
}

.ts-blog-catnav .ts-container {
	position: relative;
	isolation: isolate;
}

.ts-bcn-row {
	display: inline-flex;
}

.ts-blog-catnav .ts-bcn-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--ts-line);
	border-radius: 99px;
	background: #fff;
	color: var(--ts-text);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.ts-bcn-link svg {
	display: block;
	flex: none;
	transition: transform 0.18s;
}

.ts-bcn-item:not(.is-cool):hover .ts-bcn-link,
.ts-bcn-item.is-open > .ts-bcn-link {
	border-color: #b9d8ce;
	background: #f2faf7;
	color: #0b6452;
}

.ts-bcn-item:not(.is-cool):hover .ts-bcn-link svg,
.ts-bcn-item.is-open > .ts-bcn-link svg {
	transform: rotate(180deg);
}

.ts-bcn-link.is-on,
.ts-bcn-item.is-active .ts-bcn-link {
	background: linear-gradient(120deg, #0e7f64, #0b6452);
	border-color: #0b6452;
	color: #fff;
}

button.ts-bcn-link.is-on:hover,
.ts-bcn-item.is-active .ts-bcn-link:hover {
	background: linear-gradient(120deg, #0e7f64, #0b6452);
	color: #fff;
}

.ts-bcn-sub {
	position: absolute;
	top: 100%;
	left: 0;
	right: auto;
	transform: translateY(7px);
	/* پنل به خودِ li فیکس است تا مسیر ماوس از چیپ به پنل پیوسته بماند؛
	   left با JS زیرِ همان چیپ تنظیم و از لبه‌های viewport کلیپ می‌شود */
	z-index: 5;
	min-width: 236px;
	max-width: min(440px, calc(100vw - 28px));
	background: #fff;
	background-clip: padding-box;
	border: 1px solid var(--ts-line);
	border-top: 12px solid transparent;
	border-radius: 16px;
	box-shadow: 0 24px 54px rgba(13, 32, 54, 0.18);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.16s ease 0.1s, transform 0.16s ease 0.1s, visibility 0s linear 0.26s;
}

.ts-bcn-item:not(.is-cool):hover > .ts-bcn-sub,
.ts-bcn-item:not(.is-cool):focus-within > .ts-bcn-sub,
.ts-bcn-item.is-open > .ts-bcn-sub {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition-delay: 0s;
}

.ts-bcn-sub-head {
	padding: 2px 10px 8px;
	margin: 0 0 6px;
	border-bottom: 1px dashed var(--ts-line);
}

.ts-bcn-sub-head a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	color: #0b6452;
	text-decoration: none;
}

.ts-bcn-sub ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}

.ts-bcn-sub ul a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 11px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ts-text);
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.ts-bcn-sub ul a:hover {
	background: #f2faf7;
	color: #0b6452;
}

.ts-bcn-n {
	margin-inline-start: auto;
	font-size: 11.5px;
	font-weight: 700;
	color: #8b96ad;
}

.ts-bcn-sub a.is-on {
	background: rgba(14, 127, 100, 0.1);
	color: #0b6452;
	font-weight: 800;
}

.ts-bcn-sub a.is-on .ts-bcn-n {
	color: #0b6452;
}

/* بازپس‌گیری شیشه‌ای‌کاری برای بار بلاگ (رفع شبح‌شدن پنل زیرمنو) */
.ts-blog-catnav {
	background: #fff;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* ============================================
   ۱.۷.۶ — کادر جستجوی بلاگ در هیرو
============================================ */
.ts-blog-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 620px;
	margin: 24px auto 0;
	padding: 7px 7px 7px 16px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 18px 40px rgba(2, 8, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ts-blog-search:focus-within {
	border-color: rgba(52, 211, 153, 0.55);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 18px 46px rgba(2, 8, 20, 0.4), 0 0 0 4px rgba(52, 211, 153, 0.14);
}

.ts-bs-ic {
	flex: none;
	display: inline-flex;
	color: #93a7c4;
	transition: color 0.2s;
}

.ts-blog-search:focus-within .ts-bs-ic {
	color: #6ee7b7;
}

.ts-blog-search input[type=search] {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: 0;
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.7;
	padding: 10px 0;
	-webkit-appearance: none;
	appearance: none;
}

.ts-blog-search input[type=search]::placeholder {
	color: #9fb2cc;
	opacity: 1;
}

.ts-blog-search input[type=search]::-webkit-search-cancel-button {
	display: none;
}

.ts-blog-search button {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 13px;
	background: linear-gradient(135deg, #16c98d 0%, #0e9f6e 55%, #0b8a5f 100%);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(14, 159, 110, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
}

.ts-blog-search button:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(14, 159, 110, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.ts-blog-search button:active {
	transform: none;
}

@media (max-width: 640px) {
	.ts-blog-search {
		margin-top: 18px;
		padding: 6px 6px 6px 13px;
		border-radius: 15px;
		gap: 8px;
	}

	.ts-blog-search input[type=search] {
		font-size: 14.5px;
		padding: 9px 0;
	}

	.ts-blog-search button {
		height: 38px;
		padding: 0 14px;
		font-size: 13px;
	}
}

/* ۱.۷.۷ — موبایل: جستجو کاملاً وسط‌چین؛ tab دسته‌ها به گوشهٔ پایین‌راست و هنگام تایپ پنهان */
@media (max-width: 767px) {
	.ts-blog-search {
		width: auto;
		margin: 18px auto 0;
	}

	.ts-catnav-fab {
		top: auto;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		right: 16px;
		min-width: 124px;
		padding: 12px 24px;
		border: 1px solid var(--ts-line);
		border-radius: 22px;
		justify-content: center;
		align-items: center;
		text-align: center;
		box-shadow: 0 10px 28px rgba(13, 32, 54, 0.28);
		transform: none;
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	}

	.ts-catnav-fab:active {
		transform: scale(0.96);
	}

	body:has(.ts-blog-search:focus-within) .ts-catnav-fab {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(12px);
	}
}
/* -- 1.7.13: about page -- full-width prose, floating left-centered art plate -- */
.ts-about-flow {
	overflow: hidden;
}

.ts-about-art {
	float: left;
	width: clamp(280px, 38%, 442px);
	margin: 4px 34px 22px 0;
}

/* ۱.۷.۱۴: حذف خط دور باکس متنِ «درباره ما» (باکس تصویر دست‌نخورده) */
.ts-about-flow .ts-prose {
	border: 0;
}

.ts-about-art figure {
	margin: 0;
	background: #fbf8f0;
	border: 1px solid #d8d0bd;
	outline: 1px solid #c9bfa8;
	outline-offset: 5px;
	border-radius: 2px;
	padding: 10px;
	box-shadow: 0 18px 40px rgba(10, 18, 32, 0.10);
}

.ts-about-art img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid rgba(21, 32, 43, 0.16);
}

.ts-about-art figcaption {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 10px;
	padding: 8px 2px 2px;
	border-top: 1.5px solid #1c2a3a;
}

.ts-about-art .ts-art-kicker {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #14202e;
}

.ts-about-art .ts-art-note {
	font-size: 11.5px;
	line-height: 1.7;
	color: #6b6f76;
}

@media (max-width: 1024px) {
	.ts-about-art {
		float: none;
		width: auto;
		max-width: 540px;
		margin: 0 auto 24px;
	}
}

/* ==========================================================================
   لایت‌باکس لمسی و بزرگ‌نمایی باکیفیت تصاویر مقالات همراه دیسکریپشن چسبیده زیر تصویر
   ========================================================================== */
.ts-prose .ts-fig,
.ts-prose figure {
	margin: 28px 0;
	text-align: center;
}

.ts-prose .ts-fig img,
.ts-prose figure img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	cursor: zoom-in;
	border: 1px solid var(--ts-line);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ts-prose .ts-fig img:hover,
.ts-prose figure img:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ts-prose .ts-fig figcaption,
.ts-prose figure figcaption {
	margin-top: 10px;
	font-size: 13.5px;
	color: #64748b;
	text-align: center;
	line-height: 1.6;
}

/* تصاویر شاخص نباید کلیک‌شدنی باشند */
.ts-post-feature,
.ts-post-feature img,
.ts-post-header img {
	cursor: default !important;
	pointer-events: none;
}

.ts-img-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s ease;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
	overflow: hidden;
}

.ts-img-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.ts-img-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 18, 0.95);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	cursor: pointer;
}

/* باکس اصلی محتوا شامل تصویر و دیسکریپشن که دقیقاً به هم متصل‌اند */
.ts-img-modal-box {
	position: relative;
	z-index: 2;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 95vw;
	max-height: 94vh;
}

.ts-img-modal-viewport {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: calc(88vh - 46px);
	overflow: visible;
	touch-action: none;
}

.ts-img-modal-img {
	display: block;
	max-width: 100%;
	max-height: calc(88vh - 46px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.12);
	cursor: zoom-in;
	transform-origin: center center;
	will-change: transform;
	touch-action: none;
	-webkit-user-drag: none;
	user-select: none;
}

/* دیسکریپشن دقیقاً زیر تصویر (نه پایین صفحه) */
.ts-img-modal-caption {
	display: inline-block;
	margin-top: 10px;
	padding: 6px 16px;
	max-width: 100%;
	background: rgba(11, 20, 38, 0.9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	color: #f1f5f9;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	direction: rtl;
	z-index: 10;
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
	box-sizing: border-box;
}

/* دکمه ضربدر در لپ‌تاپ و کامپیوتر (صفحه‌نمایش‌های بالای ۷۶۸ پیکسل) */
.ts-img-modal-close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
	z-index: 100;
}

.ts-img-modal-close:hover {
	background: rgba(255, 255, 255, 0.45);
	transform: scale(1.08);
}

/* در حالت موبایل */
@media (max-width: 768px) {
	.ts-img-modal {
		padding: 10px;
	}
	.ts-img-modal-close {
		display: none !important;
	}
	.ts-img-modal-caption {
		font-size: 12px;
		padding: 5px 12px;
		border-radius: 6px;
		margin-top: 8px;
		max-width: 95vw;
	}
}
