/* ==========================================================================
   پایپ مارکت — استایل اصلی قالب
   پالت روشن / راست‌چین / ریسپانسیو
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. فونت
   -------------------------------------------------------------------------- */
@font-face {
	font-family: 'Vazirmatn';
	src: local('Vazirmatn'), url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: local('Vazirmatn Medium'), url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: local('Vazirmatn SemiBold'), url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: local('Vazirmatn Bold'), url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* --------------------------------------------------------------------------
   2. متغیرهای طراحی
   -------------------------------------------------------------------------- */
:root {
	/* رنگ‌های پایه — همگی روشن */
	--pm-bg: #ffffff;
	--pm-surface: #f7fafc;
	--pm-surface-2: #eef5fa;
	--pm-surface-3: #e4eef6;

	--pm-primary: #0d84b4;
	--pm-primary-hover: #0a6d96;
	--pm-primary-soft: #e2f3fb;
	--pm-primary-tint: #f2fafd;

	--pm-accent: #f5822b;
	--pm-accent-hover: #e0701b;
	--pm-accent-soft: #fff3e8;

	--pm-success: #14a06e;
	--pm-success-soft: #e6f7f1;
	--pm-danger: #d94848;
	--pm-danger-soft: #fdeded;
	--pm-warning: #d9a441;
	--pm-warning-soft: #fdf6e7;

	/* سرمه‌ای لوگوی پایپ مارکت — فقط برای متن و نشان، نه پس‌زمینه */
	--pm-navy: #12294a;

	--pm-text: #22303f;
	--pm-text-2: #4a5b6d;
	--pm-muted: #7a8b9c;
	--pm-border: #e2ebf2;
	--pm-border-2: #d3e0ea;

	/* تایپوگرافی */
	--pm-font: 'Vazirmatn', 'IRANSans', 'IRANYekan', Tahoma, sans-serif;

	/* شعاع و سایه */
	--pm-r-sm: 8px;
	--pm-r: 12px;
	--pm-r-lg: 18px;
	--pm-r-xl: 26px;
	--pm-shadow-xs: 0 1px 2px rgba(34, 48, 63, .05);
	--pm-shadow-sm: 0 2px 8px rgba(34, 48, 63, .06);
	--pm-shadow: 0 6px 20px rgba(34, 48, 63, .08);
	--pm-shadow-lg: 0 14px 40px rgba(34, 48, 63, .1);

	/* چیدمان */
	--pm-container: 1280px;
	--pm-gap: 24px;
	--pm-header-h: 74px;

	--pm-t: .22s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   3. ریست و پایه
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	/* فضای لازم برای هدر چسبان هنگام پرش به لنگرها */
	scroll-padding-top: calc(var(--pm-header-h) + 20px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--pm-font);
	font-size: 15px;
	line-height: 1.9;
	color: var(--pm-text);
	background: var(--pm-bg);
	direction: rtl;
	text-align: right;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-weight: 700;
	line-height: 1.55;
	color: var(--pm-text);
}

h1 { font-size: clamp(24px, 3.4vw, 34px); }
h2 { font-size: clamp(21px, 2.7vw, 28px); }
h3 { font-size: clamp(18px, 2.1vw, 21px); }
h4 { font-size: 17px; }

p { margin: 0 0 1.1em; }

a {
	color: var(--pm-primary);
	text-decoration: none;
	transition: color var(--pm-t);
}

a:hover { color: var(--pm-primary-hover); }

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol { padding-inline-start: 1.4em; }

figure { margin: 0; }

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

table { border-collapse: collapse; width: 100%; }

/*
 * قاب مشترک جداول عریض: خود صفحه هرگز از عرض خارج نمی‌شود و کاربر روی
 * موبایل همه ستون‌ها را با پیمایش افقی داخل همان جدول می‌بیند.
 */
.pm-responsive-table,
.pm-entry .wp-block-table,
.comment-content .wp-block-table,
.woocommerce-Tabs-panel .wp-block-table {
	width: 100%;
	max-width: 100%;
	margin-block: 1.4em;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-sm);
	scrollbar-width: thin;
	scrollbar-color: var(--pm-border-2) transparent;
}

.pm-responsive-table:focus-visible,
.pm-entry .wp-block-table:focus-visible {
	outline: 3px solid var(--pm-primary-soft);
	outline-offset: 2px;
}

.pm-responsive-table::-webkit-scrollbar,
.pm-entry .wp-block-table::-webkit-scrollbar { height: 7px; }

.pm-responsive-table::-webkit-scrollbar-thumb,
.pm-entry .wp-block-table::-webkit-scrollbar-thumb {
	background: var(--pm-border-2);
	border-radius: 99px;
}

.pm-responsive-table table,
.pm-entry .pm-responsive-table > table,
.pm-entry .wp-block-table table,
.comment-content .wp-block-table table,
.woocommerce-Tabs-panel .wp-block-table table {
	width: max-content;
	min-width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.pm-entry,
.comment-content,
.woocommerce-Tabs-panel,
.woocommerce-product-details__short-description {
	min-width: 0;
	max-width: 100%;
}

/* اعداد فارسی خوانا در جداول و قیمت‌ها */
.pm-num {
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum';
}

/* دسترس‌پذیری: پرش به محتوا */
.pm-skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 999;
	padding: 12px 20px;
	background: var(--pm-primary);
	color: #fff;
	border-radius: 0 0 var(--pm-r) 0;
}

.pm-skip-link:focus {
	inset-inline-start: 0;
	color: #fff;
}

.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;
}

:focus-visible {
	outline: 3px solid var(--pm-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

/* --------------------------------------------------------------------------
   4. چیدمان کمکی
   -------------------------------------------------------------------------- */
.pm-container {
	width: 100%;
	max-width: var(--pm-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.pm-section {
	padding-block: clamp(40px, 6vw, 72px);
}

.pm-section--soft {
	background: var(--pm-surface);
}

.pm-section--tint {
	background: linear-gradient(180deg, var(--pm-primary-tint), var(--pm-bg));
}

.pm-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.pm-section-head__titles { max-width: 640px; }

.pm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	padding: 5px 13px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pm-primary);
	background: var(--pm-primary-soft);
	border-radius: 100px;
}

.pm-section-head h2 { margin: 0 0 6px; }

.pm-section-head p {
	margin: 0;
	color: var(--pm-text-2);
	font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   5. دکمه‌ها
   -------------------------------------------------------------------------- */
.pm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid transparent;
	border-radius: var(--pm-r);
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--pm-t), color var(--pm-t), border-color var(--pm-t), transform var(--pm-t), box-shadow var(--pm-t);
}

.pm-btn:active { transform: translateY(1px); }

.pm-btn svg { flex-shrink: 0; }

.pm-btn--primary {
	background: var(--pm-primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(13, 132, 180, .25);
}

.pm-btn--primary:hover {
	background: var(--pm-primary-hover);
	color: #fff;
	box-shadow: 0 6px 18px rgba(13, 132, 180, .32);
}

.pm-btn--accent {
	background: var(--pm-accent);
	color: #fff;
	box-shadow: 0 4px 14px rgba(245, 130, 43, .28);
}

.pm-btn--accent:hover {
	background: var(--pm-accent-hover);
	color: #fff;
}

.pm-btn--outline {
	background: #fff;
	color: var(--pm-primary);
	border-color: var(--pm-border-2);
}

.pm-btn--outline:hover {
	background: var(--pm-primary-soft);
	border-color: var(--pm-primary);
	color: var(--pm-primary-hover);
}

.pm-btn--ghost {
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
}

.pm-btn--ghost:hover {
	background: var(--pm-surface-3);
	color: var(--pm-primary-hover);
}

.pm-btn--sm { padding: 8px 15px; font-size: 13px; border-radius: var(--pm-r-sm); }
.pm-btn--lg { padding: 15px 30px; font-size: 16px; }
.pm-btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   6. نوار بالای هدر
   -------------------------------------------------------------------------- */
.pm-topbar {
	background: var(--pm-surface-2);
	border-bottom: 1px solid var(--pm-border);
	font-size: 13px;
	color: var(--pm-text-2);
}

.pm-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 42px;
}

.pm-topbar__list {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.pm-topbar__list li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.pm-topbar__list a { color: var(--pm-text-2); }
.pm-topbar__list a:hover { color: var(--pm-primary); }

.pm-topbar__actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.pm-topbar__price {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 11px;
	color: var(--pm-primary);
	font-weight: 650;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: 100px;
}

.pm-topbar__price:hover {
	color: var(--pm-primary-hover);
	border-color: var(--pm-primary);
}

.pm-topbar__language {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--pm-border);
	border-radius: 100px;
	background: #fff;
	color: var(--pm-navy);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
}

.pm-topbar__language:hover {
	border-color: var(--pm-primary);
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
}

.pm-topbar svg {
	width: 15px;
	height: 15px;
	color: var(--pm-primary);
	flex-shrink: 0;
}

.pm-topbar__socials {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pm-topbar__socials a {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--pm-border);
	transition: background var(--pm-t), border-color var(--pm-t), transform var(--pm-t);
}

.pm-topbar__socials a:hover {
	background: var(--pm-primary-soft);
	border-color: var(--pm-primary);
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   7. هدر
   -------------------------------------------------------------------------- */
.pm-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--pm-border);
	transition: box-shadow var(--pm-t);
}

.pm-header.is-stuck {
	box-shadow: var(--pm-shadow-sm);
}

.pm-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--pm-header-h);
}

/* لوگو */
.pm-logo {
	display: flex;
	align-items: center;
	gap: 11px;
	flex-shrink: 0;
	color: var(--pm-text);
}

.pm-logo:hover { color: var(--pm-text); }

.pm-logo img {
	display: block;
	max-height: 64px;
	max-width: 100%;
	width: clamp(140px, 18vw, 230px);
	height: auto;
}

.pm-logo__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--pm-navy);
	color: #fff;
	box-shadow: 0 4px 12px rgba(18, 41, 74, .22);
}

.pm-logo__mark svg { width: 25px; height: 25px; }

.pm-logo__text { line-height: 1.35; }

.pm-logo__name {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--pm-navy);
}

/* «مارکت» با نارنجی برند، هماهنگ با لوگوی رسمی */
.pm-logo__name em {
	font-style: normal;
	color: var(--pm-accent);
}

.pm-logo__tag {
	display: block;
	font-size: 11.5px;
	color: var(--pm-muted);
	font-weight: 500;
}

/* جست‌وجوی هدر */
.pm-header__search {
	flex: 1;
	max-width: 460px;
	margin-inline: auto;
}

.pm-search {
	position: relative;
	display: flex;
	align-items: center;
}

.pm-search input[type="search"],
.pm-search input[type="text"] {
	width: 100%;
	padding: 11px 42px 11px 96px;
	font-size: 14px;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r);
	transition: border-color var(--pm-t), background var(--pm-t), box-shadow var(--pm-t);
	-webkit-appearance: none;
	appearance: none;
}

.pm-search input::placeholder { color: var(--pm-muted); }

.pm-search input:focus {
	background: #fff;
	border-color: var(--pm-primary);
	box-shadow: 0 0 0 3px var(--pm-primary-soft);
	outline: none;
}

.pm-search__icon {
	position: absolute;
	inset-inline-start: 14px;
	width: 18px;
	height: 18px;
	color: var(--pm-muted);
	pointer-events: none;
}

.pm-search__submit {
	position: absolute;
	inset-inline-end: 5px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: var(--pm-primary);
	border: 0;
	border-radius: var(--pm-r-sm);
	cursor: pointer;
	transition: background var(--pm-t);
}

.pm-search__submit:hover { background: var(--pm-primary-hover); }

/* اکشن‌های هدر */
.pm-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-inline-start: auto;
}

.pm-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 16px;
	border-radius: var(--pm-r);
	background: var(--pm-accent-soft);
	border: 1px solid #f8d9bd;
	transition: background var(--pm-t), transform var(--pm-t);
}

.pm-header__cta:hover {
	background: #ffe9d5;
	transform: translateY(-1px);
}

.pm-header__cta-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--pm-accent);
	color: #fff;
	flex-shrink: 0;
}

.pm-header__cta-icon svg { width: 17px; height: 17px; }

.pm-header__cta-text { line-height: 1.4; }

.pm-header__cta-label {
	display: block;
	font-size: 11px;
	color: var(--pm-text-2);
}

.pm-header__cta-num {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--pm-text);
	letter-spacing: .3px;
}

.pm-icon-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: var(--pm-r-sm);
	background: var(--pm-surface);
	border: 1px solid var(--pm-border);
	color: var(--pm-text-2);
	cursor: pointer;
	transition: background var(--pm-t), color var(--pm-t), border-color var(--pm-t);
}

.pm-icon-btn:hover {
	background: var(--pm-primary-soft);
	border-color: var(--pm-primary);
	color: var(--pm-primary);
}

.pm-icon-btn svg { width: 20px; height: 20px; }

.pm-mobile-call,
.pm-burger { display: none; }

/* --------------------------------------------------------------------------
   8. ناوبری اصلی
   -------------------------------------------------------------------------- */
.pm-nav {
	border-top: 1px solid var(--pm-border);
	background: #fff;
}

.pm-nav__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	position: relative;
}

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

.pm-menu li { position: relative; }

.pm-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 14px 14px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--pm-text);
	border-bottom: 2px solid transparent;
	transition: color var(--pm-t), border-color var(--pm-t), background var(--pm-t);
}

.pm-menu > li > a:hover,
.pm-menu > li.current-menu-item > a,
.pm-menu > li.current-menu-parent > a,
.pm-menu > li.current-menu-ancestor > a {
	color: var(--pm-primary);
	border-bottom-color: var(--pm-primary);
}

.pm-menu li.menu-item-has-children > a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-inline-end: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .55;
	transition: transform var(--pm-t);
}

/* زیرمنو */
.pm-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	inset-inline-start: 0;
	z-index: 60;
	min-width: 232px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r);
	box-shadow: var(--pm-shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity var(--pm-t), transform var(--pm-t), visibility var(--pm-t);
}

.pm-menu .sub-menu .sub-menu {
	top: -8px;
	inset-inline-start: auto;
	inset-inline-end: 100%;
}

.pm-menu .sub-menu li.menu-item-has-children > a {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pm-menu .sub-menu li.menu-item-has-children > a::after {
	margin-inline-start: auto;
	transform: rotate(135deg);
}

.pm-menu .sub-menu li.current-menu-item > a,
.pm-menu .sub-menu li.current-menu-parent > a,
.pm-menu .sub-menu li.current-menu-ancestor > a {
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
}

.pm-menu li.is-open > .sub-menu,
.pm-menu li.is-touched > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.pm-menu .sub-menu a {
	display: block;
	padding: 9px 12px;
	font-size: 13.8px;
	color: var(--pm-text-2);
	border-radius: var(--pm-r-sm);
	transition: background var(--pm-t), color var(--pm-t), padding-inline-start var(--pm-t);
}

.pm-menu .sub-menu a:hover {
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
	padding-inline-start: 18px;
}

/* مگامنوی چندستونه دسته‌های محصول */
.pm-menu > .pm-products-menu { position: static; }

.pm-menu > .pm-products-menu > .sub-menu {
	inset-inline: 0;
	top: 100%;
	width: 100%;
	min-width: 0;
	max-height: min(68vh, 560px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 12px;
	padding: 18px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
	border-radius: 0 0 var(--pm-r-lg) var(--pm-r-lg);
	box-shadow: 0 18px 42px rgba(18, 41, 74, .14);
}

.pm-menu > .pm-products-menu > .sub-menu::-webkit-scrollbar {
	display: none;
	width: 0;
}

.pm-menu > .pm-products-menu > .sub-menu > li {
	min-width: 0;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r);
}

.pm-menu > .pm-products-menu > .sub-menu > li.menu-item-has-children {
	height: 230px;
}

.pm-menu > .pm-products-menu > .sub-menu > li > a {
	padding: 9px 10px;
	font-weight: 700;
	color: var(--pm-navy);
	background: var(--pm-surface);
}

.pm-menu > .pm-products-menu > .sub-menu > li > .sub-menu {
	max-height: 170px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}

.pm-menu > .pm-products-menu > .sub-menu > li > .sub-menu::-webkit-scrollbar {
	display: none;
	width: 0;
}

.pm-menu > .pm-products-menu > .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	margin: 4px 0 0;
	padding: 2px 9px;
	background: transparent;
	border: 0;
	border-inline-start: 1px solid var(--pm-border);
	border-radius: 0;
	box-shadow: none;
	opacity: 1;
	visibility: inherit;
	pointer-events: auto;
	transform: none;
}

.pm-menu > .pm-products-menu > .sub-menu .sub-menu a {
	position: relative;
	z-index: 1;
	pointer-events: auto;
	padding: 6px 9px;
	font-size: 12.8px;
	line-height: 1.65;
}

.pm-menu > .pm-products-menu > .sub-menu li.menu-item-has-children > a::after {
	display: none;
}

.pm-nav__aside {
	margin-inline-start: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--pm-text-2);
}

.pm-nav__aside svg { width: 16px; height: 16px; color: var(--pm-success); }

.pm-topbar__language span,
.pm-mobile-nav__language span {
	display: grid;
	place-items: center;
	min-width: 25px;
	height: 23px;
	border-radius: 7px;
	background: var(--pm-navy);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 10px;
	letter-spacing: .4px;
}

/* --------------------------------------------------------------------------
   9. منوی موبایل
   -------------------------------------------------------------------------- */
.pm-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
	visibility: hidden;
	pointer-events: none;
}

.pm-mobile-nav.is-open {
	visibility: visible;
	pointer-events: auto;
}

.pm-mobile-nav__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 41, 74, .42);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .3s ease;
}

.pm-mobile-nav.is-open .pm-mobile-nav__backdrop { opacity: 1; }

/*
 * پنل از لبه راست وارد می‌شود (هم‌جهت با چیدمان راست‌چین).
 * از خصوصیات فیزیکی استفاده می‌شود تا جهت باز شدن قطعی باشد و با
 * منطق inline-start/end قاطی نشود.
 */
.pm-mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(86vw, 330px);
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--pm-r-xl) 0 0 var(--pm-r-xl);
	box-shadow: -10px 0 40px rgba(34, 48, 63, .16);
	transform: translateX(100%);
	transition: transform .34s cubic-bezier(.32, .72, 0, 1);
	overflow-y: auto;
	overscroll-behavior: contain;
	will-change: transform;
}

.pm-mobile-nav.is-open .pm-mobile-nav__panel { transform: translateX(0); }

/*
 * ورود پلکانی گزینه‌ها: بعد از باز شدن پنل، آیتم‌ها یکی‌یکی محو‌شونده
 * بالا می‌آیند. حرکت کوچک است تا شلوغ به نظر نرسد.
 */
.pm-mobile-nav__body > *,
.pm-mobile-menu > li {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .3s ease, transform .3s ease;
}

.pm-mobile-nav.is-open .pm-mobile-nav__body > *,
.pm-mobile-nav.is-open .pm-mobile-menu > li {
	opacity: 1;
	transform: translateY(0);
}

.pm-mobile-nav.is-open .pm-mobile-nav__search { transition-delay: .10s; }
.pm-mobile-nav.is-open .pm-mobile-menu > li:nth-child(1) { transition-delay: .14s; }
.pm-mobile-nav.is-open .pm-mobile-menu > li:nth-child(2) { transition-delay: .18s; }
.pm-mobile-nav.is-open .pm-mobile-menu > li:nth-child(3) { transition-delay: .22s; }
.pm-mobile-nav.is-open .pm-mobile-menu > li:nth-child(4) { transition-delay: .26s; }
.pm-mobile-nav.is-open .pm-mobile-menu > li:nth-child(5) { transition-delay: .30s; }
.pm-mobile-nav.is-open .pm-mobile-menu > li:nth-child(n+6) { transition-delay: .34s; }

.pm-mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--pm-border);
	background: var(--pm-surface);
	position: sticky;
	top: 0;
	z-index: 2;
}

.pm-mobile-nav__body { padding: 14px 14px 24px; }

.pm-mobile-nav__search { margin-bottom: 16px; }

.pm-mobile-nav__language {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 10px;
	padding: 10px 12px;
	border: 1px solid var(--pm-border);
	border-radius: 11px;
	background: var(--pm-primary-soft);
	color: var(--pm-navy);
	font-size: 14px;
	font-weight: 700;
}

.pm-mobile-nav__language:hover { color: var(--pm-primary); }

.pm-mobile-menu {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-mobile-menu li { border-bottom: 0; }

.pm-mobile-menu li:last-child { border-bottom: 0; }

.pm-mobile-menu a {
	display: block;
	padding: 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--pm-text);
	border: 1px solid var(--pm-border);
	border-radius: 11px;
	background: #fff;
}

.pm-mobile-menu li.menu-item-has-children > a { padding-inline-start: 52px; }

.pm-mobile-menu .sub-menu {
	margin: 7px 8px 5px 0;
	padding: 7px;
	list-style: none;
	display: none;
	border: 1px solid var(--pm-border);
	border-radius: 12px;
	background: var(--pm-surface);
}

.pm-mobile-menu li.is-expanded > .sub-menu { display: grid; gap: 5px; }

.pm-mobile-menu > .pm-products-menu > .sub-menu {
	max-height: min(55vh, 430px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.pm-mobile-menu > .pm-products-menu > .sub-menu::-webkit-scrollbar {
	display: none;
	width: 0;
}

.pm-mobile-menu > .pm-products-menu > .sub-menu > li > a {
	font-weight: 650;
	color: var(--pm-navy);
	background: #fff;
}

.pm-mobile-menu .sub-menu a {
	font-size: 14px;
	font-weight: 400;
	color: var(--pm-text-2);
	padding: 9px 10px;
	border-color: transparent;
	background: transparent;
}

.pm-mobile-menu__toggle {
	position: absolute;
	top: 5px;
	inset-inline-start: 5px;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	background: var(--pm-primary-soft);
	border: 1px solid #d8eaf2;
	border-radius: 9px;
	cursor: pointer;
	color: var(--pm-primary);
}

.pm-mobile-menu > li,
.pm-mobile-menu .sub-menu > li { position: relative; }

.pm-mobile-menu__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform var(--pm-t);
}

.pm-mobile-menu li.is-expanded > .pm-mobile-menu__toggle svg { transform: rotate(180deg); }

.pm-mobile-nav__foot {
	margin-top: auto;
	padding: 16px 18px 22px;
	background: var(--pm-surface);
	border-top: 1px solid var(--pm-border);
	display: grid;
	gap: 10px;
	font-size: 13.5px;
	color: var(--pm-text-2);
}

/* --------------------------------------------------------------------------
   10. هیرو
   -------------------------------------------------------------------------- */
.pm-hero {
	position: relative;
	padding-block: clamp(36px, 5vw, 64px);
	background:
		radial-gradient(1000px 420px at 88% -10%, var(--pm-primary-soft), transparent 62%),
		radial-gradient(760px 340px at 6% 108%, var(--pm-accent-soft), transparent 60%),
		var(--pm-surface);
	overflow: hidden;
}

/* تصویر صنعتی اختصاصی با کدری کنترل‌شده؛ متن و CTA همچنان نقطه تمرکزند. */
.pm-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .15;
	background:
		radial-gradient(circle at center, rgba(247, 250, 252, .62), rgba(247, 250, 252, .16) 66%, rgba(247, 250, 252, .06)),
		url('../img/hero-industrial.jpg') center center / cover no-repeat;
}

/* محتوای هیرو باید بالای نقش‌ونگار بنشیند. */
.pm-hero > .pm-container {
	position: relative;
	z-index: 1;
}

.pm-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
}

.pm-hero h1 {
	font-size: clamp(27px, 4vw, 43px);
	line-height: 1.5;
	margin-bottom: 16px;
}

/*
 * هایلایت زیر بخش رنگی عنوان با گرادیان انجام می‌شود (نه شبه‌المان با z-index
 * منفی) تا همیشه پشت متن و روی زمینه دیده شود.
 */
.pm-hero h1 em {
	font-style: normal;
	color: var(--pm-primary);
	background-image: linear-gradient(transparent 72%, var(--pm-accent-soft) 0);
	padding-inline: 2px;
	border-radius: 3px;
}

.pm-hero__lead {
	font-size: clamp(14.5px, 1.6vw, 16.5px);
	color: var(--pm-text-2);
	max-width: 560px;
	margin-bottom: 26px;
}

.pm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.pm-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 520px;
}

.pm-stat {
	padding: 14px 16px;
	background: rgba(255, 255, 255, .8);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r);
	text-align: center;
	backdrop-filter: blur(6px);
}

.pm-stat__num {
	display: block;
	font-size: 21px;
	font-weight: 700;
	color: var(--pm-primary);
	line-height: 1.5;
}

.pm-stat__label {
	display: block;
	font-size: 12.5px;
	color: var(--pm-text-2);
}

/* کارت قیمت داخل هیرو */
.pm-hero__card {
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-xl);
	box-shadow: var(--pm-shadow-lg);
	overflow: hidden;
}

.pm-hero__card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: var(--pm-primary-soft);
	border-bottom: 1px solid var(--pm-border);
}

.pm-hero__card-head strong { font-size: 15.5px; }

.pm-hero__card-head span {
	font-size: 12px;
	color: var(--pm-text-2);
	background: #fff;
	padding: 4px 11px;
	border-radius: 100px;
	border: 1px solid var(--pm-border);
}

.pm-hero__card-list {
	margin: 0;
	padding: 8px;
	list-style: none;
}

.pm-hero__card-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	border-radius: var(--pm-r-sm);
	transition: background var(--pm-t);
}

.pm-hero__card-list li:hover { background: var(--pm-surface); }

.pm-hero__card-list li + li { border-top: 1px solid var(--pm-border); }

.pm-hero__card-name {
	font-size: 13.8px;
	font-weight: 500;
	color: var(--pm-text);
}

.pm-hero__card-meta {
	display: block;
	font-size: 11.5px;
	color: var(--pm-muted);
	font-weight: 400;
}

.pm-hero__card-price {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--pm-primary);
	white-space: nowrap;
}

.pm-hero__card-foot {
	padding: 12px 20px 18px;
	border-top: 1px solid var(--pm-border);
	background: var(--pm-surface);
}

/* تصویر محصول در سمت بصری هیرو؛ جایگزین کارت تکراری قیمت */
.pm-hero__visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 430px;
	margin: 0;
	isolation: isolate;
}

.pm-hero__visual-glow {
	position: absolute;
	inset: 10% 6% 4%;
	z-index: -1;
	background:
		radial-gradient(circle at 55% 48%, rgba(38, 132, 187, .2), transparent 58%),
		linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(226, 243, 251, .48));
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 46% 54% 42% 58% / 54% 42% 58% 46%;
	box-shadow: 0 28px 60px rgba(18, 41, 74, .13);
}

.pm-hero__visual img {
	display: block;
	width: min(100%, 620px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 24px 24px rgba(18, 41, 74, .2));
	transform: translateY(-6px);
}

.pm-hero__visual figcaption {
	position: absolute;
	inset-inline-end: 9%;
	bottom: 2%;
	max-width: 300px;
	padding: 9px 13px;
	background: rgba(255, 255, 255, .88);
	border: 1px solid rgba(255, 255, 255, .96);
	border-radius: 12px;
	box-shadow: var(--pm-shadow-sm);
	color: var(--pm-text-2);
	font-size: 12px;
	line-height: 1.7;
	text-align: right;
	backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   11. نوار مزیت‌ها
   -------------------------------------------------------------------------- */
.pm-features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pm-feature {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	transition: transform var(--pm-t), box-shadow var(--pm-t), border-color var(--pm-t);
}

.pm-feature:hover {
	transform: translateY(-3px);
	box-shadow: var(--pm-shadow);
	border-color: var(--pm-primary-soft);
}

.pm-feature__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 14px;
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
}

.pm-feature__icon svg { width: 24px; height: 24px; }

.pm-feature:nth-child(2) .pm-feature__icon { background: var(--pm-accent-soft); color: var(--pm-accent); }
.pm-feature:nth-child(3) .pm-feature__icon { background: var(--pm-success-soft); color: var(--pm-success); }
.pm-feature:nth-child(4) .pm-feature__icon { background: var(--pm-warning-soft); color: var(--pm-warning); }

.pm-feature__title {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	margin-bottom: 2px;
}

.pm-feature__desc {
	display: block;
	font-size: 12.5px;
	color: var(--pm-text-2);
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. دسته‌بندی‌ها
   -------------------------------------------------------------------------- */
.pm-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.pm-cat {
	position: relative;
	display: block;
	padding: 22px 20px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	text-align: center;
	overflow: hidden;
	transition: transform var(--pm-t), box-shadow var(--pm-t), border-color var(--pm-t);
}

.pm-cat::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--pm-primary), #4cc0e4);
	transform: scaleX(0);
	transition: transform var(--pm-t);
}

.pm-cat:hover {
	transform: translateY(-4px);
	box-shadow: var(--pm-shadow);
	border-color: var(--pm-primary-soft);
	color: var(--pm-text);
}

.pm-cat:hover::before { transform: scaleX(1); }

.pm-cat__thumb {
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--pm-surface-2);
	overflow: hidden;
	transition: background var(--pm-t);
}

.pm-cat:hover .pm-cat__thumb { background: var(--pm-primary-soft); }

.pm-cat__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pm-cat__thumb svg { width: 36px; height: 36px; color: var(--pm-primary); }

.pm-cat__name {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--pm-text);
	margin-bottom: 4px;
}

.pm-cat__count {
	display: block;
	font-size: 12px;
	color: var(--pm-muted);
}

/* --------------------------------------------------------------------------
   13. کارت محصول
   -------------------------------------------------------------------------- */
.pm-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 18px;
}

.pm-product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	overflow: hidden;
	transition: transform var(--pm-t), box-shadow var(--pm-t), border-color var(--pm-t);
}

.pm-product:hover {
	transform: translateY(-4px);
	box-shadow: var(--pm-shadow);
	border-color: var(--pm-primary-soft);
}

.pm-product__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--pm-surface);
	overflow: hidden;
}

.pm-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.pm-product:hover .pm-product__media img { transform: scale(1.05); }

.pm-product__media-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--pm-border-2);
}

.pm-product__media-placeholder svg { width: 54px; height: 54px; }

.pm-badge {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	z-index: 2;
	padding: 4px 11px;
	font-size: 11.5px;
	font-weight: 600;
	border-radius: 100px;
	background: var(--pm-accent);
	color: #fff;
}

.pm-badge--stock { background: var(--pm-success); }
.pm-badge--order { background: var(--pm-warning); }

.pm-product__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 15px 16px 16px;
}

.pm-product__cat {
	font-size: 11.5px;
	color: var(--pm-muted);
	margin-bottom: 5px;
}

.pm-product__title {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.75;
	margin: 0 0 10px;
	/* دو خط حداکثر */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.5em;
}

.pm-product__title a { color: var(--pm-text); }
.pm-product__title a:hover { color: var(--pm-primary); }

.pm-product__attrs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.pm-chip {
	padding: 3px 10px;
	font-size: 11.5px;
	color: var(--pm-text-2);
	background: var(--pm-surface-2);
	border-radius: 100px;
}

.pm-product__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--pm-border);
}

.pm-price {
	line-height: 1.4;
}

.pm-price__amount {
	font-size: 16px;
	font-weight: 700;
	color: var(--pm-primary);
}


.pm-price__call {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pm-accent);
}

/* --------------------------------------------------------------------------
   14. بنر CTA
   -------------------------------------------------------------------------- */
.pm-cta {
	position: relative;
	display: grid;
	grid-template-columns: 1.3fr .7fr;
	gap: 28px;
	align-items: center;
	padding: clamp(26px, 4vw, 44px);
	background: linear-gradient(135deg, var(--pm-primary-soft), #fff 55%, var(--pm-accent-soft));
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-xl);
	overflow: hidden;
}

.pm-cta h2 { margin-bottom: 10px; }

.pm-cta p {
	color: var(--pm-text-2);
	margin-bottom: 0;
	max-width: 620px;
}

.pm-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* --------------------------------------------------------------------------
   16. مقالات
   -------------------------------------------------------------------------- */
.pm-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.pm-post {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	overflow: hidden;
	transition: transform var(--pm-t), box-shadow var(--pm-t);
}

.pm-post__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.pm-post__media,
.pm-post__title a,
.pm-post__more {
	position: relative;
	z-index: 2;
}

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

.pm-post__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--pm-surface-2);
	overflow: hidden;
}

.pm-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.pm-post:hover .pm-post__media img { transform: scale(1.04); }

.pm-post__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 17px 18px 18px;
}

.pm-post__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12px;
	color: var(--pm-muted);
	margin-bottom: 8px;
}

.pm-post__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.pm-post__meta svg { width: 14px; height: 14px; }

.pm-post__title {
	font-size: 16px;
	line-height: 1.75;
	margin: 0 0 9px;
}

.pm-post__title a { color: var(--pm-text); }
.pm-post__title a:hover { color: var(--pm-primary); }

.pm-post__excerpt {
	font-size: 13.5px;
	color: var(--pm-text-2);
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pm-post__more {
	margin-top: auto;
	font-size: 13.5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pm-post__more svg {
	width: 15px;
	height: 15px;
	transition: transform var(--pm-t);
}

.pm-post__more:hover svg { transform: translateX(-3px); }

/* --------------------------------------------------------------------------
   17. فوتر (روشن)
   -------------------------------------------------------------------------- */
.pm-footer {
	margin-top: 50px;
	background: var(--pm-surface);
	border-top: 1px solid var(--pm-border);
	color: var(--pm-text-2);
	font-size: 13.8px;
}

.pm-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 32px;
	padding-block: clamp(32px, 4.5vw, 52px);
}

.pm-footer__brand { max-width: 340px; }

.pm-footer__brand .pm-logo { margin-bottom: 14px; }
.pm-footer__brand .pm-logo img {
	max-height: 76px;
	max-width: min(280px, 100%);
}

.pm-footer__desc {
	line-height: 2;
	margin-bottom: 16px;
}

.pm-footer__col-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--pm-text);
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--pm-primary-soft);
	display: inline-block;
}

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

.pm-footer__list a {
	color: var(--pm-text-2);
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: color var(--pm-t), transform var(--pm-t);
}

.pm-footer__list a::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--pm-border-2);
	transition: background var(--pm-t);
}

.pm-footer__list a:hover {
	color: var(--pm-primary);
	transform: translateX(-3px);
}

.pm-footer__list a:hover::before { background: var(--pm-primary); }

.pm-footer__contact {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	line-height: 1.9;
}

.pm-footer__contact-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--pm-border);
	color: var(--pm-primary);
}

.pm-footer__contact-icon svg { width: 16px; height: 16px; }

.pm-footer__contact strong {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--pm-muted);
}

.pm-footer__contact a,
.pm-footer__contact span {
	color: var(--pm-text);
	font-weight: 400;
	font-size: 14px;
}

.pm-footer__phones {
	display: grid;
	gap: 2px;
}

.pm-footer__socials {
	display: flex;
	gap: 9px;
	margin-top: 6px;
}

.pm-footer__socials a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--pm-border);
	color: var(--pm-text-2);
	transition: background var(--pm-t), color var(--pm-t), transform var(--pm-t), border-color var(--pm-t);
}

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

.pm-footer__socials svg { width: 19px; height: 19px; }

.pm-footer__bottom {
	border-top: 1px solid var(--pm-border);
	padding-block: 16px;
}

.pm-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
}

.pm-footer__trust {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pm-footer__trust img {
	height: 62px;
	width: auto;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-sm);
	padding: 4px;
}

/* امضای طراح */
.pm-credit {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px 7px 10px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: 100px;
	color: var(--pm-text-2);
	transition: border-color var(--pm-t), box-shadow var(--pm-t), transform var(--pm-t);
}

.pm-credit:hover {
	border-color: var(--pm-border-2);
	box-shadow: var(--pm-shadow-sm);
	transform: translateY(-1px);
	color: var(--pm-text-2);
}

.pm-credit__label {
	font-size: 12px;
	color: var(--pm-muted);
	white-space: nowrap;
}

.pm-credit__mark {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.pm-credit__mark img,
.pm-credit__mark svg {
	width: 34px;
	height: 34px;
	transition: transform var(--pm-t);
}

.pm-credit:hover .pm-credit__mark img,
.pm-credit:hover .pm-credit__mark svg {
	transform: rotate(30deg);
}

.pm-credit__text {
	line-height: 1.5;
}

.pm-credit__name {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--pm-text);
	white-space: nowrap;
}

.pm-credit__name i {
	font-style: normal;
	margin-inline: 4px;
	color: var(--pm-accent);
	font-weight: 400;
}

.pm-credit__tag {
	display: block;
	font-size: 10.5px;
	color: var(--pm-muted);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   17.b صفحات داخلی — تماس، درباره ما، سوالات متداول
   -------------------------------------------------------------------------- */

/* کارت‌های تماس */
.pm-about-intro { overflow: hidden; }

.pm-about-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
}

.pm-about-intro__copy h2 {
	max-width: 720px;
	margin: 10px 0 18px;
	font-size: clamp(23px, 3vw, 34px);
	line-height: 1.55;
}

.pm-about-intro__copy p {
	margin-bottom: 12px;
	color: var(--pm-text-2);
	line-height: 2.15;
}

.pm-about-intro__panel {
	padding: 24px;
	background: linear-gradient(145deg, var(--pm-navy), #183d68);
	border-radius: var(--pm-r-lg);
	color: #fff;
	box-shadow: var(--pm-shadow);
}

.pm-about-intro__panel h3 {
	margin-bottom: 15px;
	font-size: 17px;
	color: #fff;
}

.pm-about-intro__panel ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-about-intro__panel li {
	position: relative;
	padding-inline-start: 23px;
	line-height: 1.85;
	color: rgba(255, 255, 255, .9);
}

.pm-about-intro__panel li::before {
	content: '✓';
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	color: var(--pm-accent);
	font-weight: 800;
}

.pm-contact-intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
	padding: clamp(22px, 3vw, 34px);
	background: linear-gradient(135deg, #f8fbff, #fff7ef);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
}

.pm-contact-intro h2 {
	margin: 8px 0 7px;
	font-size: clamp(21px, 2.5vw, 29px);
}

.pm-contact-intro p {
	max-width: 740px;
	margin: 0;
	color: var(--pm-text-2);
	line-height: 1.95;
}

.pm-contact-intro .pm-btn { flex-shrink: 0; }

.pm-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.pm-contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 24px 20px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	transition: transform var(--pm-t), box-shadow var(--pm-t), border-color var(--pm-t);
}

.pm-contact-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pm-shadow);
	border-color: var(--pm-primary-soft);
}

.pm-contact-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 12px;
	border-radius: 15px;
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
}

.pm-contact-card--wa .pm-contact-card__icon {
	background: #e6f9ee;
	color: #1eb457;
}

.pm-contact-card h2 {
	font-size: 16px;
	margin: 0 0 4px;
}

.pm-contact-card p {
	font-size: 13px;
	color: var(--pm-text-2);
	margin: 0 0 12px;
	line-height: 1.9;
}

.pm-contact-card__links {
	display: grid;
	gap: 4px;
	width: 100%;
	margin-bottom: 12px;
}

.pm-contact-card__links--phones {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.pm-contact-card__links a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 7px 9px;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--pm-text);
	letter-spacing: 0;
	direction: ltr;
	unicode-bidi: isolate;
	text-align: center;
	white-space: nowrap;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-sm);
}

.pm-contact-card__links a:hover { color: var(--pm-primary); }

.pm-contact-card .pm-btn { margin-top: auto; }

/* نشانی و نقشه */
.pm-contact-map {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 0;
	margin-top: 24px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	overflow: hidden;
}

.pm-contact-map__info {
	padding: clamp(20px, 3vw, 32px);
	align-self: center;
}

.pm-contact-map__info h2 {
	font-size: 21px;
	margin-bottom: 10px;
}

.pm-contact-map__info p {
	color: var(--pm-text-2);
	line-height: 2.1;
	margin-bottom: 18px;
}

.pm-contact-map__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pm-contact-map__frame {
	position: relative;
	min-height: 320px;
	background: var(--pm-surface-2);
}

.pm-contact-map__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* فرم تماس */
.pm-contact-form-section {
	display: grid;
	grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
	gap: clamp(24px, 4vw, 50px);
	margin-top: 24px;
	padding: clamp(22px, 4vw, 40px);
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	box-shadow: var(--pm-shadow-sm);
}

.pm-contact-form-section__head h2 {
	margin: 9px 0 10px;
	font-size: clamp(20px, 2.5vw, 27px);
}

.pm-contact-form-section__head p {
	color: var(--pm-text-2);
	line-height: 1.95;
}

.pm-contact-form,
.comment-form,
.wpcf7-form,
.wpforms-form {
	display: grid;
	gap: 15px;
}

.pm-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.pm-contact-form p,
.comment-form p,
.wpcf7-form p { margin: 0; }

.pm-contact-form label,
.comment-form label,
.wpcf7-form label,
.wpforms-form label {
	display: block;
	margin-bottom: 7px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pm-text);
}

.pm-contact-form input:not([type='submit']):not([type='checkbox']),
.pm-contact-form textarea,
.comment-form input:not([type='submit']):not([type='checkbox']),
.comment-form textarea,
.wpcf7-form input:not([type='submit']):not([type='checkbox']),
.wpcf7-form textarea,
.wpcf7-form select,
.wpforms-form input:not([type='submit']):not([type='checkbox']),
.wpforms-form textarea,
.wpforms-form select {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border-2);
	border-radius: 11px;
	color: var(--pm-text);
	font-family: var(--pm-font);
	font-size: 14px;
	line-height: 1.7;
	outline: 0;
	transition: border-color var(--pm-t), box-shadow var(--pm-t), background var(--pm-t);
}

.pm-contact-form textarea,
.comment-form textarea,
.wpcf7-form textarea,
.wpforms-form textarea {
	min-height: 140px;
	resize: vertical;
}

.pm-contact-form input:focus,
.pm-contact-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
	background: #fff;
	border-color: var(--pm-primary);
	box-shadow: 0 0 0 3px rgba(38, 132, 187, .12);
}

.pm-form-honeypot {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.pm-form-notice {
	grid-column: 1 / -1;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13.5px;
}

.pm-form-notice--success {
	background: #eaf8ef;
	border: 1px solid #bee6cc;
	color: #16713a;
}

.pm-form-notice--error {
	background: #fff1f0;
	border: 1px solid #f3c7c3;
	color: #a3342d;
}

/* آرشیو لیست قیمت‌ها */
.pm-price-archive__intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
	padding: clamp(22px, 3vw, 32px);
	background: linear-gradient(135deg, #f3f9ff, #fff8f0);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
}

.pm-price-archive__intro h2 {
	margin: 8px 0 7px;
	font-size: clamp(22px, 3vw, 30px);
}

.pm-price-archive__intro p {
	max-width: 750px;
	margin: 0;
	color: var(--pm-text-2);
	line-height: 1.95;
}

.pm-price-archive__intro .pm-btn { flex-shrink: 0; }

.pm-price-archive__grid { display: grid; gap: 14px; }

.pm-price-archive__card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	transition: transform var(--pm-t), border-color var(--pm-t), box-shadow var(--pm-t);
}

.pm-price-archive__card:hover {
	transform: translateY(-2px);
	border-color: var(--pm-primary-soft);
	box-shadow: var(--pm-shadow-sm);
}

.pm-price-archive__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	background: var(--pm-primary-soft);
	border-radius: 15px;
	color: var(--pm-primary);
}

.pm-price-archive__body h2 {
	margin: 0 0 6px;
	font-size: 17px;
}

.pm-price-archive__body h2 a { color: var(--pm-text); }

.pm-price-archive__body > p {
	margin: 0 0 10px;
	color: var(--pm-text-2);
	font-size: 13px;
	line-height: 1.85;
}

.pm-price-archive__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	color: var(--pm-muted);
	font-size: 12px;
}

.pm-price-archive__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* آکاردئون پرسش و پاسخ */
.pm-faq__item {
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r);
	margin-bottom: 12px;
	background: #fff;
	overflow: hidden;
	transition: border-color var(--pm-t), box-shadow var(--pm-t);
}

.pm-faq__item[open] {
	border-color: var(--pm-primary-soft);
	box-shadow: var(--pm-shadow-sm);
}

.pm-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--pm-text);
	cursor: pointer;
	list-style: none;
	transition: background var(--pm-t);
}

/* حذف مثلث پیش‌فرض مرورگرها */
.pm-faq__q::-webkit-details-marker { display: none; }
.pm-faq__q::marker { content: ''; }

.pm-faq__q:hover { background: var(--pm-surface); }

.pm-faq__q::after {
	content: '';
	flex-shrink: 0;
	width: 9px;
	height: 9px;
	margin-bottom: 4px;
	border-right: 2px solid var(--pm-primary);
	border-bottom: 2px solid var(--pm-primary);
	transform: rotate(45deg);
	transition: transform var(--pm-t);
}

.pm-faq__item[open] .pm-faq__q::after {
	margin-bottom: 0;
	transform: rotate(-135deg);
}

.pm-faq__a {
	padding: 0 18px 16px;
	font-size: 14px;
	color: var(--pm-text-2);
	line-height: 2.1;
	border-top: 1px dashed var(--pm-border);
	padding-top: 14px;
}

.pm-faq__a p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
	.pm-about-intro__grid,
	.pm-contact-form-section { grid-template-columns: 1fr; }
	.pm-price-archive__intro { align-items: stretch; flex-direction: column; }
	.pm-price-archive__intro .pm-btn { align-self: flex-start; }
	.pm-contact-map { grid-template-columns: 1fr; }
	.pm-contact-map__frame { min-height: 260px; order: -1; }
}

/* --------------------------------------------------------------------------
   18. دکمه‌های شناور (تماس چسبان)
   -------------------------------------------------------------------------- */
/*
 * ریل ارتباط سریع.
 * دسکتاپ: چسبیده به لبه چپ صفحه و وسط‌چین عمودی؛ هر آیتم با هاور برچسبش را
 * باز می‌کند. موبایل: به شیت پایین صفحه تبدیل می‌شود که دکمه «تماس» نوار
 * پایین آن را باز می‌کند (قواعدش در بخش ریسپانسیو).
 *
 * از خصوصیات فیزیکی (left) استفاده شده چون جای این ریل باید همیشه سمت چپ
 * باشد، مستقل از راست‌چین بودن صفحه.
 */
.pm-sticky-call {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 150;
	padding: 7px;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--pm-border);
	border-left: 0;
	border-radius: 0 var(--pm-r-lg) var(--pm-r-lg) 0;
	box-shadow: 4px 6px 24px rgba(34, 48, 63, .1);
}

/* سربرگ فقط در حالت شیت موبایل دیده می‌شود. */
.pm-sticky-call__head { display: none; }

.pm-sticky-call__items {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.pm-sticky-call__item {
	/* چیدمان چپ‌به‌راست تا آیکون بچسبد به لبه و برچسب به داخل صفحه باز شود. */
	direction: ltr;
	display: flex;
	align-items: center;
	height: 46px;
	max-width: 46px;
	overflow: hidden;
	border-radius: var(--pm-r-sm);
	color: var(--pm-text);
	white-space: nowrap;
	transition: max-width .3s cubic-bezier(.4, 0, .2, 1), background var(--pm-t);
}

.pm-sticky-call__item:hover,
.pm-sticky-call__item:focus-visible {
	max-width: 260px;
	background: var(--pm-surface);
	color: var(--pm-text);
}

.pm-sticky-call__item i {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: var(--pm-r-sm);
	color: #fff;
}

.pm-sticky-call__item svg { width: 19px; height: 19px; }

.pm-sticky-call__item span {
	direction: rtl;
	padding-inline: 12px 14px;
	font-size: 13.5px;
	font-weight: 600;
	opacity: 0;
	transition: opacity .2s;
}

.pm-sticky-call__item:hover span,
.pm-sticky-call__item:focus-visible span { opacity: 1; }

.pm-sticky-call__item--phone i { background: var(--pm-primary); }
.pm-sticky-call__item--whatsapp i { background: #25d366; }
.pm-sticky-call__item--telegram i { background: #29a9eb; }
.pm-sticky-call__item--map i { background: var(--pm-danger); }

/* نوار تماس پایین صفحه در موبایل */
.pm-mobile-bar {
	display: none;
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 140;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--pm-border);
	box-shadow: 0 -4px 18px rgba(34, 48, 63, .07);
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}

.pm-mobile-bar__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.pm-mobile-bar a,
.pm-mobile-bar button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 7px 4px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	color: var(--pm-text-2);
	background: none;
	border: 0;
	border-radius: var(--pm-r-sm);
	cursor: pointer;
	transition: background var(--pm-t), color var(--pm-t);
}

.pm-mobile-bar a:hover,
.pm-mobile-bar a.is-active {
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
}

.pm-mobile-bar svg { width: 21px; height: 21px; }

.pm-mobile-bar .pm-mobile-bar__call {
	background: var(--pm-accent);
	color: #fff;
}

.pm-mobile-bar .pm-mobile-bar__call:hover { background: var(--pm-accent-hover); color: #fff; }

/* دکمه بازگشت به بالا */
.pm-to-top {
	position: fixed;
	inset-inline-start: 18px;
	bottom: 18px;
	z-index: 140;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--pm-border);
	border-radius: 50%;
	background: #fff;
	color: var(--pm-primary);
	cursor: pointer;
	box-shadow: var(--pm-shadow-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--pm-t), transform var(--pm-t), visibility var(--pm-t), background var(--pm-t);
}

.pm-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pm-to-top:hover { background: var(--pm-primary-soft); }

.pm-to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   19. صفحات داخلی
   -------------------------------------------------------------------------- */
.pm-page-head {
	padding-block: 30px;
	background: linear-gradient(180deg, var(--pm-primary-tint), var(--pm-bg));
	border-bottom: 1px solid var(--pm-border);
	margin-bottom: 34px;
}

.pm-page-head h1 { margin: 0 0 8px; }

.pm-page-head p { margin: 0; color: var(--pm-text-2); }

.pm-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 12.5px;
	color: var(--pm-muted);
	padding: 0;
	list-style: none;
}

.pm-breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pm-breadcrumb li + li::before {
	content: '';
	width: 5px;
	height: 5px;
	border-inline-start: 1.5px solid var(--pm-border-2);
	border-bottom: 1.5px solid var(--pm-border-2);
	transform: rotate(45deg);
}

.pm-breadcrumb a { color: var(--pm-text-2); }
.pm-breadcrumb a:hover { color: var(--pm-primary); }

.pm-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	padding-bottom: 40px;
}

.pm-layout--full { grid-template-columns: minmax(0, 1fr); }

.pm-content {
	min-width: 0;
	grid-column: 2;
	grid-row: 1;
}

.pm-layout--full .pm-content { grid-column: 1; }

.pm-card {
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	padding: clamp(18px, 3vw, 30px);
}

/* محتوای متنی */
.pm-entry {
	line-height: 2.1;
	font-size: 15px;
	color: var(--pm-text-2);
}

.pm-entry h2,
.pm-entry h3,
.pm-entry h4 {
	color: var(--pm-text);
	margin-top: 1.6em;
}

.pm-entry img { border-radius: var(--pm-r); margin-block: 1em; }

.pm-entry a { text-decoration: underline; text-underline-offset: 4px; }

.pm-entry blockquote {
	margin: 1.5em 0;
	padding: 16px 20px;
	background: var(--pm-primary-tint);
	border-inline-start: 4px solid var(--pm-primary);
	border-radius: var(--pm-r-sm);
	color: var(--pm-text);
}

.pm-entry blockquote p:last-child { margin-bottom: 0; }

.pm-entry table {
	margin-block: 1.4em;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-sm);
	overflow: hidden;
}

.pm-entry th,
.pm-entry td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--pm-border);
	text-align: right;
}

.pm-entry th { background: var(--pm-surface-2); font-weight: 600; color: var(--pm-text); }

.pm-entry code {
	padding: 2px 6px;
	background: var(--pm-surface-2);
	border-radius: 5px;
	font-size: .92em;
	direction: ltr;
	display: inline-block;
}

/* سایدبار */
.pm-sidebar {
	display: grid;
	gap: 20px;
	position: sticky;
	top: calc(var(--pm-header-h) + 16px);
	grid-column: 1;
	grid-row: 1;
}

.pm-widget {
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	padding: 18px;
}

.pm-widget__title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 14px;
	padding-bottom: 11px;
	border-bottom: 1px solid var(--pm-border);
}

.pm-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
	font-size: 14px;
}

.pm-widget ul li a {
	color: var(--pm-text-2);
	display: block;
	padding: 4px 0;
}

.pm-widget ul li a:hover { color: var(--pm-primary); }

/* فهرست‌های طولانی دسته محصول، داخل خود ابزارک پیمایش می‌شوند. */
.pm-sidebar .widget_product_categories > ul,
.pm-sidebar .wc-block-product-categories-list,
.pm-widget--product-categories > ul {
	max-height: min(52vh, 480px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-inline-end: 4px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.pm-sidebar .widget_product_categories > ul::-webkit-scrollbar,
.pm-sidebar .wc-block-product-categories-list::-webkit-scrollbar,
.pm-widget--product-categories > ul::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.pm-sidebar .product-categories .children,
.pm-sidebar .wc-block-product-categories-list .wc-block-product-categories-list {
	margin-top: 7px;
	padding-inline-start: 14px;
	border-inline-start: 1px solid var(--pm-border);
}

/* کارت مشاوره سایدبار */
.pm-help-card {
	padding: 22px 18px;
	text-align: center;
	background: linear-gradient(160deg, var(--pm-primary-soft), #fff);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
}

.pm-help-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #fff;
	color: var(--pm-primary);
	box-shadow: var(--pm-shadow-sm);
}

.pm-help-card__icon svg { width: 26px; height: 26px; }

.pm-help-card strong {
	display: block;
	font-size: 15px;
	margin-bottom: 5px;
}

.pm-help-card p {
	font-size: 13px;
	color: var(--pm-text-2);
	margin-bottom: 14px;
}

/* صفحه‌بندی */
.pm-pagination,
.woocommerce nav.woocommerce-pagination,
nav.woocommerce-pagination {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-block: 34px;
	flex-wrap: wrap;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers,
nav.woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	flex-wrap: wrap;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li,
nav.woocommerce-pagination ul.page-numbers li {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.pm-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination .page-numbers li > *,
nav.woocommerce-pagination .page-numbers li > * {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--pm-text-2);
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-sm);
	transition: background var(--pm-t), color var(--pm-t), border-color var(--pm-t);
}

.pm-pagination .page-numbers:hover,
.pm-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination .page-numbers li > *:hover,
.woocommerce nav.woocommerce-pagination .page-numbers li > .current,
nav.woocommerce-pagination .page-numbers li > *:hover,
nav.woocommerce-pagination .page-numbers li > .current {
	background: var(--pm-primary);
	border-color: var(--pm-primary);
	color: #fff;
}

/* حالت خالی */
.pm-empty {
	text-align: center;
	padding: 56px 20px;
	background: var(--pm-surface);
	border: 1px dashed var(--pm-border-2);
	border-radius: var(--pm-r-lg);
}

.pm-empty svg {
	width: 64px;
	height: 64px;
	color: var(--pm-border-2);
	margin: 0 auto 16px;
}

.pm-empty h2 { font-size: 20px; }

.pm-empty p { color: var(--pm-text-2); }

/* --------------------------------------------------------------------------
   19.b دیدگاه‌ها و فرم ارسال — مشترک در نوشته، برگه و محصول
   -------------------------------------------------------------------------- */
.comments-area,
#comments,
#reviews {
	color: var(--pm-text);
}

.comments-title,
.comment-reply-title,
.woocommerce-Reviews-title {
	margin: 0 0 18px;
	font-size: clamp(18px, 2.4vw, 22px);
	line-height: 1.65;
}

.comment-list,
.woocommerce #reviews #comments ol.commentlist {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	display: grid;
	gap: 12px;
	margin: 12px 18px 0 0;
	padding: 0 16px 0 0;
	border-right: 2px solid var(--pm-primary-soft);
	list-style: none;
}

.comment-list > li,
.comment-list .children > li {
	margin: 0;
	padding: 0;
}

.comment-body,
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	position: relative;
	margin: 0 !important;
	padding: 18px 20px !important;
	background: var(--pm-surface);
	border: 1px solid var(--pm-border) !important;
	border-radius: var(--pm-r) !important;
	box-shadow: none;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 5px;
	font-size: 14px;
}

.comment-author .avatar,
.woocommerce #reviews #comments ol.commentlist li img.avatar {
	position: static !important;
	float: none !important;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	border: 2px solid #fff !important;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--pm-border);
}

.comment-author .fn { font-weight: 700; }
.comment-author .says { color: var(--pm-muted); font-size: 12px; }

.comment-metadata,
.comment-meta,
.woocommerce #reviews #comments ol.commentlist li .meta {
	font-size: 11.5px !important;
	color: var(--pm-muted) !important;
}

.comment-metadata a,
.comment-meta a { color: inherit; }

.comment-content,
.woocommerce #reviews #comments ol.commentlist li .description {
	margin-top: 13px;
	color: var(--pm-text-2);
	font-size: 14px;
	line-height: 2;
}

.comment-content p:last-child,
.woocommerce #reviews #comments ol.commentlist li .description p:last-child { margin-bottom: 0; }

.comment-body .reply { margin-top: 12px; }

.comment-body .reply a,
.comment-reply-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 5px 12px;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: 9px;
	color: var(--pm-primary);
	font-size: 12px;
	font-weight: 600;
}

.comment-body .reply a:hover {
	background: var(--pm-primary-soft);
	border-color: var(--pm-primary-soft);
}

.comment-awaiting-moderation {
	display: inline-block;
	margin-top: 7px;
	padding: 5px 9px;
	background: #fff8e8;
	border-radius: 7px;
	color: #936319;
	font-size: 12px;
}

.comment-respond,
.woocommerce #review_form_wrapper {
	margin-top: 24px;
	padding: clamp(18px, 3vw, 26px);
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
}

.comment-notes,
.logged-in-as,
.woocommerce #review_form #respond p.comment-notes {
	margin: -6px 0 6px;
	color: var(--pm-muted);
	font-size: 12.5px;
	line-height: 1.8;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
	min-width: 0;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent input {
	width: 16px;
	height: 16px;
	margin-top: 5px;
	accent-color: var(--pm-primary);
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
	color: var(--pm-text-2);
}

.comment-form .form-submit { margin-top: 2px; }

.comment-form input[type='submit'],
.wpcf7-form input[type='submit'],
.wpforms-form input[type='submit'] {
	display: inline-flex;
	width: auto;
	min-height: 44px;
	padding: 10px 22px;
	background: var(--pm-primary);
	border: 1px solid var(--pm-primary);
	border-radius: 10px;
	color: #fff;
	font-family: var(--pm-font);
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--pm-t), border-color var(--pm-t), transform var(--pm-t);
}

.comment-form input[type='submit']:hover,
.wpcf7-form input[type='submit']:hover,
.wpforms-form input[type='submit']:hover {
	background: var(--pm-primary-hover);
	border-color: var(--pm-primary-hover);
	transform: translateY(-1px);
}

.woocommerce #reviews .star-rating,
.woocommerce p.stars a { color: var(--pm-accent); }

.woocommerce #reviews #comments ol.commentlist li { margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   لندینگ عربی
   -------------------------------------------------------------------------- */
.pm-arabic-page {
	direction: rtl;
	padding-block: 38px 58px;
	color: var(--pm-text);
}

.pm-arabic-page__hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
	gap: 34px;
	align-items: center;
	padding: clamp(28px, 5vw, 58px);
	border-radius: 24px;
	background:
		radial-gradient(circle at 12% 18%, rgba(243, 125, 49, .26), transparent 26%),
		linear-gradient(135deg, #061b33 0%, #0c3158 100%);
	box-shadow: 0 20px 55px rgba(6, 27, 51, .18);
	color: #fff;
}

.pm-arabic-page__hero::after {
	content: '';
	position: absolute;
	inset: auto -60px -90px auto;
	width: 260px;
	height: 260px;
	border: 38px solid rgba(255, 255, 255, .045);
	border-radius: 50%;
	pointer-events: none;
}

.pm-arabic-page__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 100px;
	background: rgba(255, 255, 255, .08);
	color: #ffd8bd;
	font-size: 13px;
	font-weight: 700;
}

.pm-arabic-page__hero h1 {
	max-width: 760px;
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(29px, 4.3vw, 48px);
	line-height: 1.45;
}

.pm-arabic-page__hero p {
	max-width: 760px;
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 16px;
	line-height: 2;
}

.pm-arabic-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.pm-arabic-page__actions .pm-btn--outline {
	border-color: rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.pm-arabic-page__contact-box {
	position: relative;
	z-index: 1;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 18px;
	background: rgba(255, 255, 255, .09);
	backdrop-filter: blur(10px);
}

.pm-arabic-page__contact-box h2 {
	margin: 0 0 9px;
	color: #fff;
	font-size: 20px;
}

.pm-arabic-page__contact-box p {
	font-size: 13.5px;
	line-height: 1.8;
}

.pm-arabic-page__numbers {
	display: grid;
	gap: 9px;
	margin-top: 17px;
}

.pm-arabic-page__numbers a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 10px;
	background: rgba(0, 0, 0, .12);
	color: #fff;
	direction: ltr;
	font-family: Arial, sans-serif;
	font-weight: 700;
}

.pm-arabic-page__section { margin-top: 42px; }

.pm-arabic-page__section-head {
	max-width: 720px;
	margin-bottom: 20px;
}

.pm-arabic-page__section-head h2 {
	margin: 0 0 9px;
	font-size: clamp(22px, 3vw, 30px);
}

.pm-arabic-page__section-head p {
	margin: 0;
	color: var(--pm-text-2);
	line-height: 1.95;
}

.pm-arabic-page__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pm-arabic-page__service {
	padding: 22px 18px;
	border: 1px solid var(--pm-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--pm-shadow-sm);
}

.pm-arabic-page__service i {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: var(--pm-primary-soft);
	color: var(--pm-primary);
	font-style: normal;
}

.pm-arabic-page__service h3 {
	margin: 0 0 8px;
	font-size: 16px;
}

.pm-arabic-page__service p {
	margin: 0;
	color: var(--pm-text-2);
	font-size: 13.5px;
	line-height: 1.9;
}

.pm-arabic-page__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	counter-reset: pm-ar-step;
}

.pm-arabic-page__step {
	position: relative;
	padding: 22px 66px 22px 20px;
	border: 1px solid var(--pm-border);
	border-radius: 15px;
	background: var(--pm-surface);
	counter-increment: pm-ar-step;
}

.pm-arabic-page__step::before {
	content: counter(pm-ar-step);
	position: absolute;
	top: 20px;
	inset-inline-start: 18px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--pm-accent);
	color: #fff;
	font-family: Arial, sans-serif;
	font-weight: 700;
}

.pm-arabic-page__step h3 { margin: 0 0 7px; font-size: 16px; }
.pm-arabic-page__step p { margin: 0; color: var(--pm-text-2); font-size: 13.5px; line-height: 1.9; }

@media (max-width: 1024px) {
	.pm-arabic-page__hero { grid-template-columns: 1fr; }
	.pm-arabic-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.pm-arabic-page { padding-block: 20px 38px; }
	.pm-arabic-page__hero { padding: 24px 18px; border-radius: 18px; }
	.pm-arabic-page__hero h1 { font-size: 28px; }
	.pm-arabic-page__hero p { font-size: 14px; }
	.pm-arabic-page__actions { display: grid; }
	.pm-arabic-page__actions .pm-btn { width: 100%; justify-content: center; }
	.pm-arabic-page__contact-box { padding: 19px 16px; }
	.pm-arabic-page__grid,
	.pm-arabic-page__steps { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. ووکامرس (هماهنگ‌سازی سبک)
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--pm-r);
	border: 1px solid var(--pm-border);
	background: var(--pm-surface);
	border-top-color: var(--pm-primary);
	font-size: 14px;
	list-style: none;
}

.woocommerce .woocommerce-ordering {
	position: relative;
	margin: 0 0 22px;
}

.woocommerce .woocommerce-ordering select {
	width: auto;
	min-width: 245px;
	height: 46px;
	padding: 0 14px 0 44px;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23263c55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 14px center;
	border: 1px solid var(--pm-border-2);
	border-radius: 11px;
	box-shadow: 0 5px 16px rgba(18, 41, 74, .06);
	color: var(--pm-text);
	font-family: var(--pm-font);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	outline: none;
	transition: border-color var(--pm-t), box-shadow var(--pm-t), background-color var(--pm-t);
}

.woocommerce .woocommerce-ordering select:hover {
	border-color: #b5c8d8;
	background-color: var(--pm-surface);
}

.woocommerce .woocommerce-ordering select:focus-visible {
	border-color: var(--pm-primary);
	box-shadow: 0 0 0 3px rgba(38, 132, 187, .13);
}

@media (max-width: 640px) {
	.woocommerce .woocommerce-ordering {
		float: none;
		width: 100%;
	}

	.woocommerce .woocommerce-ordering select {
		width: 100%;
		min-width: 0;
	}
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-lg);
	padding: 14px;
	transition: transform var(--pm-t), box-shadow var(--pm-t);
	text-align: right;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--pm-shadow);
}

.woocommerce ul.products li.product img {
	border-radius: var(--pm-r-sm);
	margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14.5px !important;
	font-weight: 600;
	line-height: 1.8;
	padding: 0 !important;
}

.woocommerce ul.products li.product .price {
	color: var(--pm-primary) !important;
	font-size: 15.5px;
	font-weight: 700;
	margin-bottom: 10px;
}

.woocommerce ul.products li.product .price del { color: var(--pm-muted) !important; font-size: 13px; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--pm-primary) !important;
	color: #fff !important;
	border-radius: var(--pm-r-sm) !important;
	font-family: var(--pm-font) !important;
	font-weight: 600 !important;
	font-size: 13.5px !important;
	padding: 10px 18px !important;
	transition: background var(--pm-t) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: var(--pm-primary-hover) !important;
	color: #fff !important;
}

.woocommerce div.product .product_title { font-size: 24px; }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--pm-primary);
	font-size: 26px;
	font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0 !important;
	border-bottom: 1px solid var(--pm-border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--pm-surface) !important;
	border: 1px solid var(--pm-border) !important;
	border-radius: var(--pm-r-sm) var(--pm-r-sm) 0 0 !important;
	margin: 0 0 0 4px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #fff !important;
	border-bottom-color: #fff !important;
}

.woocommerce .quantity input.qty,
.woocommerce-page .quantity input.qty {
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-r-sm);
	padding: 9px;
	height: auto;
}

.woocommerce span.onsale {
	background: var(--pm-accent) !important;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 600;
	min-height: auto;
	min-width: auto;
	padding: 5px 14px;
	line-height: 1.6;
	top: 10px;
	right: 10px;
	left: auto;
}

/* --------------------------------------------------------------------------
   21. ریسپانسیو
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
	.pm-footer__top { grid-template-columns: 1.3fr 1fr 1.2fr; }
	.pm-footer__brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 1024px) {
	.pm-hero__grid { grid-template-columns: 1fr; }
	.pm-hero__visual { min-height: 360px; max-width: 680px; margin-inline: auto; }
	.pm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pm-layout { grid-template-columns: minmax(0, 1fr); }
	.pm-content { grid-column: 1; grid-row: 1; }
	.pm-sidebar { position: static; grid-column: 1; grid-row: 2; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
	.pm-cta { grid-template-columns: 1fr; }
	.pm-cta__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
	/* هدر جمع‌وجور می‌شود و منوی موبایل فعال است */
	.pm-nav { display: none; }
	.pm-mobile-call,
	.pm-burger { display: grid; }
	.pm-mobile-call {
		order: 1;
		background: var(--pm-accent);
		border-color: var(--pm-accent);
		color: #fff;
		box-shadow: 0 6px 16px rgba(241, 120, 42, .22);
	}
	.pm-mobile-call:hover,
	.pm-mobile-call:focus-visible {
		background: var(--pm-accent-hover);
		border-color: var(--pm-accent-hover);
		color: #fff;
	}
	.pm-burger { order: 2; }
	.pm-header__search { display: none; }
	.pm-header__cta { display: none; }
	.pm-topbar__list li:not(:first-child) { display: none; }
}

@media (max-width: 768px) {
	body { font-size: 14.5px; }
	:root { --pm-header-h: 64px; }

	.pm-topbar { display: none; }

	.pm-responsive-table th,
	.pm-responsive-table td,
	.pm-entry .wp-block-table th,
	.pm-entry .wp-block-table td {
		min-width: 132px;
	}

	.pm-responsive-table th:first-child,
	.pm-responsive-table td:first-child,
	.pm-entry .wp-block-table th:first-child,
	.pm-entry .wp-block-table td:first-child {
		min-width: 170px;
	}

	.pm-hero::before {
		opacity: .09;
		background-position: center center;
	}

	.pm-hero { padding-block: 28px 34px; }
	.pm-hero__grid { gap: 22px; }
	.pm-hero__content { text-align: center; }
	.pm-hero h1 {
		font-size: clamp(26px, 8vw, 34px);
		line-height: 1.55;
		margin-bottom: 12px;
	}
	.pm-hero__lead {
		max-width: 100%;
		margin: 0 auto 20px;
		font-size: 14px;
		line-height: 2;
	}
	.pm-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 9px;
		margin-bottom: 22px;
	}
	.pm-hero__actions .pm-btn { width: 100%; justify-content: center; }
	.pm-hero__stats { max-width: 100%; }
	.pm-hero__visual { min-height: 270px; width: 100%; }
	.pm-hero__visual img { width: min(100%, 470px); transform: none; }
	.pm-hero__visual-glow { inset: 8% 2% 2%; }
	.pm-hero__visual figcaption {
		inset-inline: 10px;
		bottom: -4px;
		max-width: none;
		text-align: center;
	}

	.pm-contact-intro {
		align-items: stretch;
		flex-direction: column;
		padding: 20px;
	}
	.pm-contact-intro .pm-btn { width: 100%; justify-content: center; }
	.pm-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pm-contact-card { padding: 18px 14px; }
	.pm-contact-form-section { padding: 20px 16px; }
	.pm-form-grid { grid-template-columns: 1fr; }
	.comment-body,
	.woocommerce #reviews #comments ol.commentlist li .comment-text { padding: 15px !important; }
	.comment-list .children { margin-right: 8px; padding-right: 10px; }
	.pm-price-archive__card { grid-template-columns: auto minmax(0, 1fr); }
	.pm-price-archive__card > .pm-btn { grid-column: 1 / -1; width: 100%; }

	.pm-sidebar .widget_product_categories > ul,
	.pm-sidebar .wc-block-product-categories-list,
	.pm-widget--product-categories > ul {
		max-height: 300px;
	}

	/* فضای لازم برای نوار تماس پایین صفحه */
	body { padding-bottom: 66px; }
	.pm-mobile-bar { display: block; }
	.pm-to-top { bottom: 78px; inset-inline-start: 14px; }

	/*
	 * ریل ارتباط در موبایل به شیت پایین صفحه تبدیل می‌شود و تا وقتی کاربر
	 * دکمه «تماس» را نزده باشد دیده نمی‌شود؛ دکمه شناور جداگانه‌ای نداریم.
	 */
	.pm-sticky-call {
		left: 0;
		right: 0;
		top: auto;
		bottom: 66px;
		padding: 6px 12px 14px;
		border: 1px solid var(--pm-border);
		border-bottom: 0;
		border-radius: var(--pm-r-lg) var(--pm-r-lg) 0 0;
		box-shadow: 0 -8px 28px rgba(34, 48, 63, .14);
		opacity: 0;
		visibility: hidden;
		transform: translateY(14px);
		transition: opacity var(--pm-t), transform var(--pm-t), visibility var(--pm-t);
	}

	.pm-sticky-call.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.pm-sticky-call__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 6px 4px 10px;
		margin-bottom: 6px;
		border-bottom: 1px solid var(--pm-border);
		font-size: 14px;
		font-weight: 700;
		color: var(--pm-text);
	}

	.pm-sticky-call__close {
		display: grid;
		place-items: center;
		width: 32px;
		height: 32px;
		background: var(--pm-surface);
		border: 1px solid var(--pm-border);
		border-radius: 50%;
		color: var(--pm-text-2);
		cursor: pointer;
	}

	.pm-sticky-call__items {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
		gap: 8px;
	}

	/* در شیت، آیتم‌ها همیشه باز و تمام‌عرض هستند. */
	.pm-sticky-call__item {
		direction: rtl;
		justify-content: center;
		width: 100%;
		max-width: none;
		height: 48px;
		background: var(--pm-surface);
	}

	.pm-sticky-call__item span {
		min-width: 0;
		padding-inline: 9px 10px;
		font-size: 12.5px;
		opacity: 1;
	}

	.pm-mobile-bar__call[aria-expanded="true"] {
		background: var(--pm-accent-hover);
	}

	.pm-hero__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.pm-stat { padding: 11px 8px; }
	.pm-stat__num { font-size: 18px; }
	.pm-stat__label { font-size: 11px; }

	.pm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	/*
	 * فوتر موبایل: ستون‌ها به آکاردئون تبدیل می‌شوند تا فهرست بلند لینک‌ها
	 * صفحه را کشیده نکند. عنوان هر ستون دکمه باز/بسته‌کردن است.
	 */
	.pm-footer { margin-top: 34px; }

	.pm-footer__top {
		grid-template-columns: 1fr;
		gap: 0;
		padding-block: 18px 6px;
	}

	.pm-footer__brand {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		text-align: right;
		padding-bottom: 14px;
		border-bottom: 1px solid var(--pm-border);
	}

	.pm-footer__brand .pm-logo {
		width: 100%;
		justify-content: flex-start;
		text-align: right;
	}
	.pm-footer__brand .pm-logo img { max-height: 66px; }

	.pm-footer__desc {
		align-self: stretch;
		max-width: 560px;
		margin: 0 0 10px auto;
		text-align: right;
		font-size: 12.5px;
		line-height: 1.85;
	}

	.pm-footer__brand .pm-footer__socials {
		justify-content: flex-start;
		gap: 7px;
	}

	.pm-footer__brand .pm-footer__socials a {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}

	.pm-footer__col { border-bottom: 1px solid var(--pm-border); }

	.pm-footer__col-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin: 0;
		padding: 12px 2px;
		border: 0;
		font-size: 14.5px;
		cursor: pointer;
		user-select: none;
	}

	/*
	 * فلش باز/بسته — از خصوصیات فیزیکی استفاده می‌شود تا در حالت راست‌چین
	 * هم پایین/بالا را نشان بدهد، نه چپ/راست.
	 */
	.pm-footer__col-title::after {
		content: '';
		width: 8px;
		height: 8px;
		margin-bottom: 4px;
		border-right: 2px solid var(--pm-muted);
		border-bottom: 2px solid var(--pm-muted);
		transform: rotate(45deg);
		transition: transform var(--pm-t);
	}

	.pm-footer__col.is-open .pm-footer__col-title::after {
		margin-bottom: 0;
		transform: rotate(-135deg);
	}

	.pm-footer__col .pm-footer__list,
	.pm-footer__col .pm-footer__contact {
		display: none;
		padding-bottom: 16px;
	}

	.pm-footer__col.is-open .pm-footer__list { display: grid; }
	.pm-footer__col.is-open .pm-footer__contact { display: grid; }

	/* ستون تماس همیشه باز است چون مهم‌ترین اطلاعات صفحه است. */
	.pm-footer__col--contact {
		padding-bottom: 10px;
		border-bottom: 0;
	}

	.pm-footer__col--contact .pm-footer__contact {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding-bottom: 6px;
	}

	.pm-footer__col--contact .pm-footer__contact li {
		min-width: 0;
		direction: rtl;
		justify-content: flex-start;
		text-align: right;
		gap: 8px;
		padding: 10px;
		background: #fff;
		border: 1px solid var(--pm-border);
		border-radius: 12px;
		line-height: 1.65;
	}

	.pm-footer__col--contact .pm-footer__contact-item--phones {
		grid-column: 1 / -1;
	}

	.pm-footer__col--contact .pm-footer__phones {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		width: 100%;
	}

	.pm-footer__col--contact .pm-footer__phones a {
		min-width: 0;
		padding: 5px 7px;
		text-align: center;
		white-space: nowrap;
		background: var(--pm-surface);
		border: 1px solid var(--pm-border);
		border-radius: 8px;
	}

	.pm-footer__col--contact .pm-footer__contact-icon {
		width: 30px;
		height: 30px;
		border: 0;
		background: var(--pm-primary-soft);
	}

	.pm-footer__col--contact .pm-footer__contact li > span:last-child {
		display: block;
		flex: 1;
		min-width: 0;
		text-align: right;
	}

	.pm-footer__col--contact .pm-num {
		direction: ltr;
		unicode-bidi: isolate;
		display: inline-block;
		text-align: right;
	}

	.pm-footer__col--contact .pm-footer__contact strong {
		font-size: 10.5px;
	}

	.pm-footer__col--contact .pm-footer__contact a,
	.pm-footer__col--contact .pm-footer__contact span {
		font-size: 12px;
		overflow-wrap: anywhere;
	}
	.pm-footer__col--contact .pm-footer__col-title { cursor: default; }
	.pm-footer__col--contact .pm-footer__col-title::after { display: none; }

	.pm-footer__bottom-inner {
		justify-content: center;
		text-align: center;
		gap: 8px 14px;
		font-size: 11.5px;
	}

	.pm-section-head { margin-bottom: 20px; }
}

@media (max-width: 480px) {
	.pm-container { padding-inline: 14px; }
	.pm-hero__actions .pm-btn { flex: 1; }
	.pm-products { gap: 10px; }
	.pm-product__body { padding: 12px; }
	.pm-product__title { font-size: 13.5px; }
	.pm-features { grid-template-columns: 1fr; }
	.pm-contact-grid { grid-template-columns: 1fr; }
	.pm-contact-card__links a { font-size: 13.5px; }
}

/* --------------------------------------------------------------------------
   22. چاپ و ترجیحات کاربر
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.pm-topbar,
	.pm-header,
	.pm-nav,
	.pm-sticky-call,
	.pm-mobile-bar,
	.pm-to-top,
	.pm-footer__top,
	.pm-sidebar {
		display: none !important;
	}

	body { padding-bottom: 0; }
	.pm-layout { grid-template-columns: 1fr; }
}
