/**
 * استایل اصلی قالب آنیتا — anitasoft.ir
 * راست‌چین | سبک و بدون وابستگی | ریسپانسیو (دسکتاپ / تبلت / موبایل)
 * پالت رنگی بر پایهٔ آبی برند آنیتا
 *
 * @package Anitasoft
 */

/* ---------- فونت وزیرمتن (میزبانی محلی، بدون CDN خارجی) ---------- */
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- متغیرهای برند ---------- */
:root {
	--primary: #0b79f0;
	--primary-600: #0a63ce;
	--primary-700: #0856b3;
	--primary-100: #dcebff;
	--navy: #0a2540;
	--sky: #eef5ff;
	--accent: #12b8e8;
	--text: #2a3b57;
	--muted: #5c6e8a;
	--border: #e3ebf5;
	--white: #ffffff;
	--surface: #ffffff;
	--surface-2: #f7fafd;
	--on-accent: #ffffff;
	--header-bg: rgba(255, 255, 255, 0.88);
	--footer-bg: #071b33;
	--footer-text: rgba(255, 255, 255, 0.72);
	--radius: 18px;
	--radius-sm: 12px;
	--shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
	--shadow-md: 0 10px 30px rgba(10, 37, 64, 0.1);
	--shadow-lg: 0 20px 55px rgba(10, 37, 64, 0.14);
	--shadow-blue: 0 10px 24px rgba(11, 121, 240, 0.3);
	--transition: 0.25s ease;
	--container: 1160px;
	--header-h: 78px;
}

/* ---------- ریست سبک ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
	font-size: 1rem;
	line-height: 1.9;
	color: var(--text);
	background-color: var(--surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}
a {
	color: var(--primary-600);
	text-decoration: none;
	transition: var(--transition);
}
a:hover,
a:focus {
	color: var(--primary);
}
p {
	margin: 0 0 1em;
}
h1, h2, h3, h4, h5, h6 {
	color: var(--navy);
	font-weight: 800;
	line-height: 1.5;
	margin: 0 0 0.6em;
}
ul, ol {
	margin-block-start: 0;
}

.container {
	width: min(var(--container), calc(100% - 40px));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus {
	width: auto;
	height: auto;
	clip: auto;
	z-index: 100000;
	background: var(--primary);
	color: var(--on-accent);
	padding: 8px 16px;
	border-radius: 8px;
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
	vertical-align: middle;
}

/* ---------- دکمه‌ها ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 0;
	border-radius: 14px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;
}
.btn .icon {
	width: 19px;
	height: 19px;
}
.btn-primary {
	background: linear-gradient(135deg, #0f8bff, var(--primary-600));
	color: var(--on-accent) !important;
	box-shadow: var(--shadow-blue);
}
.btn-primary:hover,
.btn-primary:focus {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(11, 121, 240, 0.4);
	filter: brightness(1.05);
}
.btn-outline {
	background: var(--surface);
	color: var(--primary-600) !important;
	border: 1.5px solid var(--primary-100);
	box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
	border-color: var(--primary);
	background: var(--sky);
	transform: translateY(-2px);
}
.btn-white {
	background: var(--surface);
	color: var(--primary-700) !important;
}
.btn-white:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.btn-ghost-light {
	background: rgba(255, 255, 255, 0.12);
	color: var(--on-accent) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover {
	background: rgba(255, 255, 255, 0.22);
}
.btn-lg {
	padding: 14px 30px;
	font-size: 1.05rem;
}
.btn-sm {
	padding: 8px 16px;
	font-size: 0.88rem;
	border-radius: 10px;
}
.btn-price {
	font-size: 0.82rem;
	font-weight: 500;
	opacity: 0.9;
	padding-inline-start: 8px;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---------- نوار بالایی (اطلاعات تماس) ---------- */
.topbar {
	background: var(--navy);
	color: #cfe3ff;
	font-size: 0.84rem;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.topbar-item .icon {
	width: 15px;
	height: 15px;
	opacity: 0.8;
}
.topbar-tel,
.topbar-tel:hover {
	color: var(--on-accent);
}
.topbar-tel strong {
	font-weight: 800;
}

/* ---------- هدر ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--header-bg);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	transition: var(--transition);
}
.site-header.scrolled {
	box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--header-h);
}

.site-branding .site-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--navy);
}
.site-logo img,
.site-logo .custom-logo {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 14px;
}
.site-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}
.site-title {
	font-size: 1.22rem;
	font-weight: 800;
	color: var(--navy);
}
.site-tagline {
	font-size: 0.76rem;
	font-weight: 500;
	color: var(--muted);
}

/* منوی اصلی */
.main-navigation ul,
.main-navigation > div > ul {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--text);
	font-size: 0.97rem;
	font-weight: 600;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--primary);
	background: var(--sky);
}
.main-navigation .sub-menu {
	display: none;
}

/* دکمهٔ موبایل */
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1.5px solid var(--border);
	border-radius: 12px;
	background: var(--surface);
	color: var(--navy);
	cursor: pointer;
}
.nav-toggle-close {
	display: none;
}
.main-navigation.open ~ .nav-toggle .nav-toggle-open,
.nav-toggle[aria-expanded='true'] .nav-toggle-open {
	display: none;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-close {
	display: block;
}

.header-cta {
	margin-inline-start: auto;
}

/* ---------- HERO ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0 84px;
	background:
		radial-gradient(55% 70% at 85% 8%, rgba(21, 145, 255, 0.13), transparent 60%),
		radial-gradient(45% 55% at 5% 85%, rgba(18, 184, 232, 0.1), transparent 60%),
		linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: 48px;
}
.hero-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--sky);
	border: 1px solid var(--primary-100);
	color: var(--primary-700);
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 18px;
}
.hero-title {
	font-size: clamp(2rem, 1.2rem + 3.4vw, 3.35rem);
	font-weight: 800;
	margin-bottom: 4px;
}
.hero-slogan {
	font-size: clamp(1.15rem, 0.95rem + 1vw, 1.5rem);
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 14px;
}
.hero-desc {
	font-size: 1.04rem;
	color: var(--muted);
	max-width: 36em;
	margin-bottom: 28px;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}
.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hero-trust li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.9rem;
	color: var(--muted);
}
.hero-trust .icon {
	width: 17px;
	height: 17px;
	color: var(--primary);
}

.hero-visual {
	position: relative;
	display: flex;
	justify-content: center;
}
.hero-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 34px;
	padding: 44px;
	box-shadow: var(--shadow-lg);
}
.hero-card img {
	display: block;
	width: min(100%, 300px);
	border-radius: 22px;
}
.chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow-md);
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--navy);
	animation: anita-float 5.5s ease-in-out infinite alternate;
}
.chip .icon {
	width: 18px;
	height: 18px;
	color: var(--primary);
}
.chip-1 {
	top: 6%;
	inset-inline-start: 0;
}
.chip-2 {
	bottom: 8%;
	inset-inline-end: 0;
	animation-delay: 1.4s;
}
@keyframes anita-float {
	from { transform: translateY(0); }
	to   { transform: translateY(-10px); }
}

/* ---------- سکشن‌ها ---------- */
.section {
	padding: 76px 0;
}
.section-sky {
	background: var(--sky);
}
.section-head {
	max-width: 660px;
	margin: 0 auto 46px;
	text-align: center;
}
.section-head h2 {
	font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.15rem);
}
.section-head p {
	color: var(--muted);
	margin: 0;
}
.section-more {
	text-align: center;
	margin: 36px 0 0;
}
.section-note {
	text-align: center;
	color: var(--muted);
	font-size: 0.9rem;
	margin: 28px 0 0;
}

/* مزایا */
.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.feature-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px 26px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
	border-color: var(--primary-100);
}
.feature-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: linear-gradient(135deg, #e4f1ff, #d0e6ff);
	color: var(--primary);
	margin-bottom: 18px;
}
.feature-icon .icon {
	width: 26px;
	height: 26px;
}
.feature-card h3 {
	font-size: 1.12rem;
	margin-bottom: 8px;
}
.feature-card p {
	font-size: 0.93rem;
	color: var(--muted);
	margin: 0;
}

/* کارت محصول */
.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 22px;
}
.product-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.product-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}
.product-thumb {
	display: block;
	line-height: 0;
}
.product-thumb img {
	width: 100%;
	aspect-ratio: 640 / 420;
	object-fit: cover;
}
.product-thumb--empty {
	display: grid;
	place-items: center;
	aspect-ratio: 640 / 420;
	background: linear-gradient(135deg, #e4f1ff, #cfe5ff);
	color: var(--primary);
	line-height: 1.9;
}
.product-thumb--empty .icon {
	width: 52px;
	height: 52px;
	opacity: 0.55;
}
.product-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	flex: 1;
}
.product-body h3 {
	font-size: 1.02rem;
	margin: 0;
}
.product-body h3 a {
	color: var(--navy);
}
.product-body h3 a:hover {
	color: var(--primary);
}
.product-body > p {
	font-size: 0.88rem;
	color: var(--muted);
	margin: 0;
}
.product-price {
	font-weight: 800;
	color: var(--primary-700);
	font-size: 1.02rem;
	margin: 4px 0 0;
}
.product-price del {
	color: var(--muted);
	font-weight: 400;
	font-size: 0.85rem;
}
.product-actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}
.product-actions .btn {
	flex: 1;
}

/* مراحل */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	counter-reset: step;
}
.step-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 34px 26px 26px;
	box-shadow: var(--shadow-sm);
}
.step-num {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0f8bff, var(--primary-700));
	color: var(--on-accent);
	font-size: 1.3rem;
	font-weight: 800;
	box-shadow: var(--shadow-blue);
	margin-bottom: 18px;
}
.step-card h3 {
	font-size: 1.08rem;
	margin-bottom: 8px;
}
.step-card p {
	font-size: 0.92rem;
	color: var(--muted);
	margin: 0;
}

/* اصناف */
.trades-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.trades-list a {
	display: inline-flex;
	align-items: center;
	padding: 10px 22px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border);
	font-size: 0.93rem;
	font-weight: 600;
	color: var(--text);
	box-shadow: var(--shadow-sm);
}
.trades-list a:hover {
	color: var(--on-accent);
	background: var(--primary);
	border-color: var(--primary);
	transform: translateY(-2px);
}

/* سوالات متداول */
.faq-list {
	max-width: 780px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.faq-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 22px;
	cursor: pointer;
	font-weight: 700;
	font-size: 1rem;
	color: var(--navy);
	list-style: none;
	transition: var(--transition);
}
.faq-item summary::-webkit-details-marker {
	display: none;
}
.faq-item summary .icon {
	transition: var(--transition);
	color: var(--muted);
}
.faq-item[open] summary {
	color: var(--primary);
}
.faq-item[open] summary .icon {
	transform: rotate(180deg);
	color: var(--primary);
}
.faq-body {
	padding: 0 22px 20px;
}
.faq-body p {
	margin: 0;
	color: var(--muted);
	font-size: 0.94rem;
}

/* کارت‌های بلاگ */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 22px;
}
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.post-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}
.post-thumb {
	display: block;
}
.post-thumb img {
	width: 100%;
	aspect-ratio: 640 / 420;
	object-fit: cover;
}
.thumb-placeholder {
	display: grid;
	place-items: center;
	aspect-ratio: 640 / 420;
	background: linear-gradient(135deg, #e4f1ff, #d0e6ff);
	color: var(--primary);
}
.thumb-placeholder .icon {
	width: 46px;
	height: 46px;
	opacity: 0.5;
}
.post-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}
.post-date {
	font-size: 0.8rem;
	color: var(--muted);
}
.post-body h2,
.post-body h3 {
	font-size: 1.04rem;
	margin: 2px 0 4px;
}
.post-body h2 a,
.post-body h3 a {
	color: var(--navy);
}
.post-body h2 a:hover,
.post-body h3 a:hover {
	color: var(--primary);
}
.post-body p {
	font-size: 0.9rem;
	color: var(--muted);
	margin: 0;
}
.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 700;
	margin-top: 12px;
}
.read-more .icon {
	width: 16px;
	height: 16px;
}

/* نوار CTA */
.cta-band {
	padding: 68px 0;
	background:
		radial-gradient(60% 120% at 90% 0%, rgba(18, 184, 232, 0.35), transparent 55%),
		linear-gradient(120deg, var(--navy) 0%, var(--primary-700) 60%, var(--primary) 100%);
	color: var(--on-accent);
}
.cta-band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 26px;
}
.cta-band h2 {
	color: var(--on-accent);
	font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem);
	margin-bottom: 6px;
}
.cta-band p {
	margin: 0;
	color: #cfe3ff;
}
.cta-band-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- فوتر ---------- */
.site-footer {
	background: var(--footer-bg);
	color: #a7c1e4;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
	gap: 40px;
	padding: 64px 0 40px;
}
.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.footer-logo img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
}
.footer-logo span {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--on-accent);
}
.footer-about p {
	font-size: 0.9rem;
	margin: 0;
}
.footer-col h4 {
	color: var(--on-accent);
	font-size: 1rem;
	margin-bottom: 16px;
}
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-menu li {
	margin-bottom: 8px;
}
.footer-menu a {
	color: #a7c1e4;
	font-size: 0.92rem;
}
.footer-menu a:hover {
	color: var(--on-accent);
	padding-inline-start: 4px;
}
.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 0.92rem;
}
.footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.footer-contact-list .icon {
	width: 17px;
	height: 17px;
	margin-top: 4px;
	color: var(--accent);
}
.footer-contact-list a {
	color: var(--on-accent);
	font-weight: 700;
	font-size: 1.05rem;
}
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 18px 20px;
}
.footer-bottom p {
	margin: 0;
	font-size: 0.84rem;
}
.footer-credit a {
	color: #a7c1e4;
}
.footer-credit a:hover {
	color: var(--on-accent);
}
.footer-credit span {
	margin: 0 8px;
	opacity: 0.5;
}

/* ---------- محتوای داخلی (نوشته/برگه) ---------- */
.content-area {
	padding: 56px 0 80px;
}
.content-narrow {
	max-width: 860px;
}
.page-header {
	margin-bottom: 36px;
	text-align: center;
}
.page-title {
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
}
.page-title span {
	color: var(--primary);
}
.archive-description {
	color: var(--muted);
	max-width: 700px;
	margin: 0 auto;
}

.post-header {
	margin-bottom: 26px;
}
.post-cats a {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--sky);
	border: 1px solid var(--primary-100);
	color: var(--primary-700);
	font-size: 0.8rem;
	font-weight: 700;
	margin-inline-end: 6px;
}
.post-title {
	font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
	margin: 14px 0 12px;
}
.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	color: var(--muted);
	font-size: 0.88rem;
}
.post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.post-meta .icon {
	width: 16px;
	height: 16px;
}
.post-featured {
	margin: 0 0 30px;
}
.post-featured img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.entry-content {
	font-size: 1.03rem;
}
.entry-content h2 {
	font-size: 1.55rem;
	margin: 1.9em 0 0.7em;
	padding-inline-start: 14px;
	border-inline-start: 4px solid var(--primary);
}
.entry-content h3 {
	font-size: 1.25rem;
	margin: 1.7em 0 0.6em;
}
.entry-content h4 {
	font-size: 1.1rem;
	margin: 1.5em 0 0.5em;
}
.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.5em;
	margin-bottom: 1.2em;
}
.entry-content li {
	margin-bottom: 6px;
}
.entry-content img {
	border-radius: var(--radius-sm);
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.4em;
	font-size: 0.95rem;
}
.entry-content th,
.entry-content td {
	border: 1px solid var(--border);
	padding: 10px 14px;
	text-align: start;
}
.entry-content th {
	background: var(--sky);
	color: var(--navy);
}
.entry-content blockquote {
	margin: 1.5em 0;
	padding: 20px 24px;
	background: var(--sky);
	border-inline-start: 4px solid var(--primary);
	border-radius: var(--radius-sm);
	color: var(--navy);
	font-weight: 500;
}
.post-tags {
	margin-top: 34px;
}
.post-tags a {
	display: inline-block;
	padding: 5px 15px;
	border-radius: 999px;
	background: var(--sky);
	font-size: 0.8rem;
	font-weight: 600;
	margin: 0 0 6px 6px;
}

.alignleft { float: left; margin: 6px 0 16px 20px; }
.alignright { float: right; margin: 6px 20px 16px 0; }
.aligncenter { display: block; margin-inline: auto; }

/* صفحه‌بندی */
.navigation.pagination {
	margin-top: 44px;
	text-align: center;
}
.nav-links {
	display: inline-flex;
	gap: 8px;
}
.page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	font-weight: 700;
	color: var(--text);
	background: var(--surface);
}
.page-numbers.current,
.page-numbers:not(.dots):hover {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--on-accent);
}
.page-numbers.dots {
	border: 0;
	background: none;
}

/* حالت خالی و ۴۰۴ */
.empty-state,
.error-404 {
	text-align: center;
	padding: 60px 0;
}
.error-code {
	font-size: clamp(4.5rem, 20vw, 8rem);
	font-weight: 800;
	line-height: 1;
	margin: 0;
	background: linear-gradient(135deg, #0f8bff, var(--primary-700));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.error-404 .searchform {
	max-width: 480px;
	margin: 26px auto;
}
.error-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

/* فرم‌ها */
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='tel'],
input[type='number'],
input[type='search'],
select,
textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text);
	font-family: inherit;
	font-size: 0.95rem;
	transition: var(--transition);
}
input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(11, 121, 240, 0.12);
}
.searchform {
	display: flex;
	gap: 10px;
}
.searchform input[type='search'] {
	flex: 1;
}

/* دیدگاه‌ها */
.comments-area {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
}
.comments-title {
	font-size: 1.3rem;
}
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
}
.comment-list .comment {
	padding: 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	margin-bottom: 14px;
	background: var(--surface);
}
.comment-list .children {
	list-style: none;
	margin-top: 14px;
}
.comment-form input[type='submit'] {
	border: 0;
	background: linear-gradient(135deg, #0f8bff, var(--primary-600));
	color: var(--on-accent);
	padding: 12px 34px;
	border-radius: 12px;
	font-weight: 700;
	font-family: inherit;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--transition);
}

/* ---------- ریسپانسیو: تبلت ---------- */
@media (max-width: 1024px) {
	.header-cta {
		display: none;
	}
	.nav-toggle {
		display: inline-flex;
		margin-inline-start: auto;
	}
	.main-navigation {
		position: fixed;
		top: calc(var(--header-h) + 40px);
		inset-inline: 16px;
		display: none;
		background: var(--surface);
		border: 1px solid var(--border);
		border-radius: var(--radius);
		box-shadow: var(--shadow-lg);
		padding: 12px;
		z-index: 999;
	}
	.main-navigation.open {
		display: block;
		animation: anita-menu-in 0.25s ease;
	}
	.main-navigation ul,
	.main-navigation > div > ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}
	.main-navigation a {
		padding: 12px 16px;
		font-size: 1rem;
	}
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero {
		padding: 48px 0 64px;
	}
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@keyframes anita-menu-in {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------- ریسپانسیو: موبایل ---------- */
@media (max-width: 640px) {
	.topbar-address {
		display: none;
	}
	.topbar-inner {
		justify-content: center;
	}
	.site-tagline {
		display: none;
	}
	.features-grid,
	.steps-grid,
	.posts-grid {
		grid-template-columns: 1fr;
	}
	.section {
		padding: 56px 0;
	}
	.hero-actions .btn {
		width: 100%;
	}
	.chip {
		padding: 8px 13px;
		font-size: 0.78rem;
	}
	.cta-band-inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.cta-band-actions {
		justify-content: center;
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 48px 0 32px;
	}
	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}
	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 0 auto 16px;
	}
}

/* ---------- نشان‌های فوتر (اینماد و…) ---------- */
.footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.footer-badge {
	display: block;
	background: #fff;
	border-radius: 8px;
	padding: 6px;
	line-height: 0;
}

.footer-badge img {
	width: auto;
	height: 68px;
	max-width: 110px;
	object-fit: contain;
	display: block;
}

/* ---------- تصویر به‌جای آیکون در کارت مزیت ---------- */
.feature-icon--img {
	background: none;
	padding: 0;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 12px;
}

.feature-icon--img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* ---------- هدر چسبان ---------- */
.site-header.is-sticky {
	position: sticky;
	top: 0;
	z-index: 100;
}

.admin-bar .site-header.is-sticky { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .site-header.is-sticky { top: 46px; }
}

/* تصویر لوگو با اندازهٔ دلخواه کاربر */
.site-logo img,
.site-logo .custom-logo {
	object-fit: contain;
}

/* تصویر هیرو */
.hero-card img {
	width: 100%;
	height: auto;
	max-width: 320px;
	object-fit: contain;
}

/* =================================================================
   حالت تاریک (Dark Mode)
   ================================================================= */
html[data-theme="dark"] {
	--primary: #4d9dff;
	--primary-600: #3b8ef5;
	--primary-700: #2f7fe0;
	--primary-100: #16324f;
	--navy: #e8eef7;
	--sky: #131c2b;
	--accent: #34c9f0;
	--text: #d3dceb;
	--muted: #93a3ba;
	--border: #24334a;
	--surface: #0e1622;
	--surface-2: #131c2b;
	--on-accent: #ffffff;
	--header-bg: rgba(14, 22, 34, 0.9);
	--footer-bg: #060d17;
	--footer-text: rgba(226, 234, 245, 0.72);
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
	--shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
	--shadow-lg: 0 20px 55px rgba(0, 0, 0, 0.55);
	--shadow-blue: 0 10px 24px rgba(11, 121, 240, 0.28);
	color-scheme: dark;
}

/* تصاویر در حالت تاریک کمی ملایم‌تر */
html[data-theme="dark"] .hero-card img,
html[data-theme="dark"] .site-logo img,
html[data-theme="dark"] .footer-logo img {
	filter: brightness(0.94);
}

/* کارت‌های محصول و نوشته */
html[data-theme="dark"] .product-thumb--empty,
html[data-theme="dark"] .thumb-placeholder {
	background: var(--surface-2);
}

/* نوار بالایی هدر */
html[data-theme="dark"] .topbar {
	background: var(--surface-2);
}

/* جلوگیری از پرش رنگ هنگام تغییر حالت */
html.anita-theme-ready body,
html.anita-theme-ready .site-header,
html.anita-theme-ready .section,
html.anita-theme-ready .site-footer {
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* ---------- دکمهٔ تغییر حالت ---------- */
.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--surface);
	color: var(--muted);
	cursor: pointer;
	flex: 0 0 auto;
	transition: var(--transition);
}

.theme-toggle:hover {
	color: var(--primary);
	border-color: var(--primary);
	background: var(--sky);
}

.theme-toggle .icon {
	width: 20px;
	height: 20px;
}

.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }

html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

/* ---------- شبکه‌های اجتماعی ---------- */
.social-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: var(--transition);
}

.social-links a:hover {
	background: var(--primary);
	transform: translateY(-2px);
	color: #fff;
}

.social-links .icon { width: 19px; height: 19px; }

/* شبکه‌های اجتماعی در هدر */
.topbar .social-links {
	margin: 0;
	gap: 4px;
}

.topbar .social-links a {
	width: 28px;
	height: 28px;
	background: transparent;
	color: var(--muted);
}

.topbar .social-links a:hover {
	background: var(--primary);
	color: #fff;
	transform: none;
}

.topbar .social-links .icon { width: 16px; height: 16px; }

/* =================================================================
   اعلان افزودن به سبد خرید (Toast)
   ================================================================= */
.anita-toast-wrap {
	position: fixed;
	z-index: 99999;
	bottom: 22px;
	left: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	pointer-events: none;
}

.anita-toast {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-right: 4px solid #1a9c54;
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
	padding: 16px 44px 16px 18px;
	min-width: 290px;
	max-width: 360px;
	direction: rtl;
	text-align: right;
	pointer-events: auto;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.anita-toast.is-in {
	opacity: 1;
	transform: translateY(0);
}

.anita-toast-head {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	color: var(--navy);
	font-size: 0.95rem;
}

.anita-toast-icon {
	color: #1a9c54;
	flex: 0 0 auto;
}

.anita-toast-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.anita-toast-btn {
	flex: 1;
	text-align: center;
	padding: 9px 12px;
	border-radius: 9px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--primary);
	color: var(--primary);
	background: transparent;
	transition: var(--transition);
}

.anita-toast-btn:hover {
	background: var(--sky);
	color: var(--primary-700);
}

.anita-toast-btn.is-primary {
	background: var(--primary);
	color: #fff;
}

.anita-toast-btn.is-primary:hover {
	background: var(--primary-600);
	color: #fff;
}

.anita-toast-close {
	position: absolute;
	top: 10px;
	left: 12px;
	background: none;
	border: 0;
	font-size: 22px;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
	padding: 2px 6px;
	border-radius: 6px;
}

.anita-toast-close:hover {
	color: var(--navy);
	background: var(--surface-2);
}

/* دکمهٔ در حال افزودن */
.anita-add-to-cart.loading {
	opacity: 0.7;
	pointer-events: none;
	position: relative;
}

.anita-add-to-cart.added::after {
	content: "✓";
	margin-inline-start: 6px;
	font-weight: 700;
}

/* ---------- سبد خرید در هدر ---------- */
.header-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	color: var(--muted);
	background: var(--surface);
	flex: 0 0 auto;
	transition: var(--transition);
}

.header-cart:hover {
	color: var(--primary);
	border-color: var(--primary);
	background: var(--sky);
}

.header-cart .icon { width: 20px; height: 20px; }

.header-cart-count {
	position: absolute;
	top: -5px;
	inset-inline-start: -5px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}

.header-cart-count.is-empty { display: none; }

/* گروه ابزارهای هدر */
.header-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

@media (max-width: 640px) {
	.anita-toast-wrap {
		left: 12px;
		right: 12px;
		bottom: 12px;
	}
	.anita-toast {
		min-width: 0;
		max-width: none;
	}
}

/* =================================================================
   اصلاحات نسخهٔ ۱.۳
   ================================================================= */

/* ---------- ۱) نام کوتاه سایت در موبایل ---------- */
.site-title-short { display: none; }

@media (max-width: 640px) {
	.site-title-full { display: none; }
	.site-title-short { display: inline; }
	.site-title {
		font-size: 1.15rem;
		white-space: nowrap;
	}
	.site-brand-text { min-width: 0; }
	.site-tagline { display: none; }
}

/* در تبلت هم عنوان بلند نباید بشکند */
@media (max-width: 1024px) {
	.site-title {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 42vw;
	}
}

/* ---------- ۲) پس‌زمینهٔ هیرو در حالت تاریک ---------- */
html[data-theme="dark"] .hero {
	background:
		radial-gradient(55% 70% at 85% 8%, rgba(33, 118, 214, 0.20), transparent 60%),
		radial-gradient(45% 55% at 5% 85%, rgba(18, 184, 232, 0.12), transparent 60%),
		linear-gradient(180deg, #101a29 0%, var(--surface) 100%);
}

/* تیتر هیرو باید همیشه خوانا باشد */
.hero-title {
	color: var(--navy);
}

html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .feature-card h3,
html[data-theme="dark"] .product-body h3,
html[data-theme="dark"] .post-body h3,
html[data-theme="dark"] .step-card h3,
html[data-theme="dark"] .faq-item summary {
	color: var(--navy);
}

html[data-theme="dark"] .hero-desc,
html[data-theme="dark"] .section-head p {
	color: var(--muted);
}

/* نوار بالای هدر در حالت تاریک */
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .topbar-item,
html[data-theme="dark"] .topbar-tel {
	color: var(--text);
}

/* ---------- ۳) تصویر محصول: نمایش کامل ---------- */
.product-thumb {
	background: var(--surface-2);
}

.product-thumb img {
	width: 100%;
	height: 100%;
	display: block;
}

/* نسبت تصویر */
.products-ratio-square .product-thumb,
.products-ratio-square .product-thumb img,
.products-ratio-square .product-thumb--empty {
	aspect-ratio: 1 / 1;
}

.products-ratio-landscape .product-thumb,
.products-ratio-landscape .product-thumb img,
.products-ratio-landscape .product-thumb--empty {
	aspect-ratio: 640 / 420;
}

.products-ratio-auto .product-thumb img {
	aspect-ratio: auto;
	height: auto;
}

/* نحوهٔ جاگیری تصویر */
.products-fit-contain .product-thumb img {
	object-fit: contain;
	padding: 10px;
}

.products-fit-cover .product-thumb img {
	object-fit: cover;
	padding: 0;
}

html[data-theme="dark"] .product-thumb {
	background: var(--surface-2);
}
