/* Keep theme text consistent when Elementor kits or account plugins set body fonts. */
body{font-family:'Vazirmatn',system-ui,-apple-system,'Segoe UI',sans-serif!important}
.etemad-header,.etemad-footer,.etemad-drawer,.etemad-page__title,.woocommerce-account .woocommerce,
.etemad-header :is(a,button,input,span),.etemad-footer :is(a,button,span),
.woocommerce-account .woocommerce :is(h1,h2,h3,h4,p,a,span,label,input,button,select,textarea,th,td),
.elementor :is(.elementor-heading-title,.elementor-widget-text-editor,.elementor-button-text,.elementor-field-label,.elementor-field,.elementor-icon-list-text){font-family:'Vazirmatn',system-ui,sans-serif!important}
.etemad-header a:not(.etemad-btn),.etemad-footer a:not(.etemad-btn){color:inherit}
.etemad-header .etemad-search__submit{color:#fff}
.etemad-home-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.etemad-home-services>a{min-width:0;padding:24px}
.etemad-home-services h2{font-size:20px}
.etemad-home-services p{font-size:13px;line-height:1.9}
.etemad-card__weights{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.etemad-card__weight{flex:0 0 auto;white-space:nowrap}
.etemad-card__foot{flex-wrap:wrap;gap:8px}
.etemad-card__package{order:3;flex-basis:100%;font-size:10px;line-height:1.8;color:var(--e-ink-2)}
.etemad-card__price small,.etemad-unit-price{display:block;font-size:11px;font-weight:400;line-height:1.8;color:var(--e-ink-2)}
.etemad-unit-price small{font:inherit}
.etemad-top-links{display:none;background:#f8f5ef;border-bottom:1px solid var(--e-line)}
.etemad-top-links__list{list-style:none;padding:6px 0;margin:0;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:12px}
.etemad-top-links__list a{display:block;padding:4px 0}
.etemad-catalog-description--top{margin:20px 0}
.etemad-review-error{border:1px solid #e6a98f;background:#fff2eb;color:#943716;padding:14px 18px;border-radius:12px;margin:12px 0;line-height:1.9}
.etemad-review-error:focus{outline:2px solid #c4471b;outline-offset:2px}
.etemad-ratinginput{position:relative}
.etemad-ratinginput input{width:1px;height:1px;clip-path:inset(50%)}
@media(min-width:1024px){.etemad-top-links{display:block}.etemad-catalog__chips .etemad-chips--scroll{flex-wrap:wrap;overflow:visible;gap:10px}.etemad-catalog__chips .etemad-chip{flex-shrink:0}}
@media(max-width:767px){.etemad-home-services{grid-template-columns:1fr}.etemad-home-services>a{padding:18px}.etemad-home-services h2{font-size:18px}}

body :is(h1,h2,h3,h4,h5,h6,input,button,select,textarea){font-family:inherit!important}
.etemad-menu :is(p,a,span,button){font-family:inherit!important}
.etemad-card__addbtn:disabled{opacity:.45;cursor:not-allowed}
.etemad-home a[aria-disabled="true"],.etemad-header a[aria-disabled="true"]{opacity:.6;cursor:not-allowed}
html[lang^="en"] .etemad-home-hero.etemad-home-hero .etemad-home-hero__copy{text-align:left}
.etemad-home-hero--english-default{background:radial-gradient(circle at 90% 20%,#d2dec0 0,transparent 38%),linear-gradient(120deg,#faf6ed,#e8ddc7);min-height:260px}
html[lang^="en"] .etemad-home-hero--english-default.etemad-home-hero .etemad-home-hero__copy{justify-self:left;width:min(640px,calc(100% - 2 * var(--hero-inset-x,40px)));color:#241c16}
html[lang^="en"] .etemad-home-hero--english-default .etemad-home-hero__copy .etemad-home-hero__title{color:#241c16}
.etemad-menu-thumb{display:block;width:40px;height:40px;object-fit:contain;flex:0 0 40px;border-radius:9px;background:#fff}
.etemad-menu__root,.etemad-menu__children a{gap:10px;justify-content:flex-start}
.etemad-menu__root{flex-direction:row;align-items:center}
.etemad-drawer--menu img.etemad-menu-thumb{width:28px;height:28px;max-width:28px;flex:0 0 28px;border-radius:6px}
.etemad-checkout .woocommerce-terms-and-conditions-wrapper{display:none}
.etemad-menu__root-name,.etemad-menu__children a>span{min-width:0;overflow-wrap:anywhere}
.etemad-catbar__link{gap:6px}
.etemad-catbar .etemad-menu-thumb{width:26px;height:26px;flex-basis:26px;border-radius:6px}
.etemad-footer .etemad-footer__social-link{width:44px;height:44px;border-radius:13px;transition:transform .18s,background .18s}
.etemad-footer .etemad-footer__social-link:hover{transform:translateY(-2px)}
.etemad-footer a.etemad-social--instagram{color:#b72565;background:#fff0f6;border-color:#f2c7da}
.etemad-footer a.etemad-social--telegram{color:#087ead;background:#eaf8ff;border-color:#b9e1f2}
.etemad-footer a.etemad-social--whatsapp{color:#137d45;background:#eaf8ed;border-color:#bde2c9}
.etemad-footer__social-link .etemad-icon{width:24px;height:24px}
.etemad-home-hero.etemad-home-hero .etemad-home-hero__copy{position:relative;inset:auto;transform:none;grid-area:1/1;min-height:0;max-width:none;width:min(var(--hero-width,50%),calc(100% - 2 * var(--hero-inset-x,40px)));padding:0;margin:var(--hero-inset-y,32px) var(--hero-inset-x,40px);justify-self:var(--hero-x,right);align-self:var(--hero-y,center);text-align:var(--hero-x,right);align-items:stretch;background:none;color:var(--hero-text-color,#fff)}
.etemad-home-hero .etemad-home-hero__copy .etemad-home-hero__title{color:var(--hero-title-color,#fff)}
.etemad-home-hero .etemad-home-hero__copy .etemad-btn{align-self:var(--hero-button-align,flex-start);margin-top:var(--hero-button-gap,8px);background:var(--hero-button-bg,#c4471b);border-color:var(--hero-button-bg,#c4471b);color:var(--hero-button-color,#fff);max-width:100%;white-space:normal;text-align:center}
.etemad-home-hero .etemad-home-hero__copy .etemad-btn:hover{filter:brightness(.92)}
@media(max-width:600px){
 .etemad-home-hero.etemad-home-hero .etemad-home-hero__copy{width:min(var(--hero-mobile-width,88%),calc(100% - 2 * var(--hero-mobile-inset-x,16px)));margin:var(--hero-mobile-inset-y,20px) var(--hero-mobile-inset-x,16px);justify-self:var(--hero-mobile-x,right);align-self:var(--hero-mobile-y,center);text-align:var(--hero-mobile-x,right);color:var(--hero-mobile-text-color,#241c16)}
 .etemad-home-hero .etemad-home-hero__copy .etemad-home-hero__title{color:var(--hero-mobile-title-color,#241c16)}
 .etemad-home-hero .etemad-home-hero__copy .etemad-btn{align-self:var(--hero-mobile-button-align,flex-start);margin-top:var(--hero-mobile-button-gap,8px)}
 .etemad-home-hero.etemad-hero-mobile--below .etemad-home-hero__copy{grid-area:2/1}
 .etemad-home-hero.etemad-hero-mobile--overlay:has(picture):before{display:block}
 .etemad-menu-thumb{width:32px;height:32px;flex-basis:32px}
 .etemad-drawer--menu img.etemad-menu-thumb{width:24px;height:24px;max-width:24px;flex-basis:24px}
 .etemad-menu__root,.etemad-menu__children a{gap:7px}
}

/* ---------- محصول‌های پرفروش در ستون دوم منو ---------- */

/*
 * دستهٔ بدون زیردسته، ستون دوم منو را خالی می‌گذاشت. حالا محصول‌هایش
 * آنجا می‌آیند. چیدمان عمداً با `etemad-menu__children` فرق دارد تا
 * کاربر بفهمد اینجا محصول است نه دسته.
 */
.etemad-menu__picks-title {
	margin: 0 0 10px;
	color: var(--e-ink-2);
	font-size: 13px;
	font-weight: 700;
}

.etemad-menu__picks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.etemad-menu__picks a {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--e-line);
	border-radius: 12px;
	color: var(--e-ink);
	text-decoration: none;
	transition: border-color .15s, background .15s;
}

.etemad-menu__picks a:hover {
	border-color: var(--e-brand);
	background: var(--e-bg-2);
}

.etemad-menu__picks img {
	width: 56px;
	height: 56px;
	border-radius: 9px;
	object-fit: cover;
}

.etemad-menu__pick-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.7;
	/* نام بلند محصول نباید کارت را بکشد. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.etemad-menu__pick-price {
	grid-column: 2;
	color: var(--e-brand-text);
	font-size: 12.5px;
	font-weight: 700;
}

.etemad-menu__pick-price del {
	display: none;
}

.etemad-menu__picks-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid var(--e-line-strong);
	border-radius: 999px;
	color: var(--e-ink);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
}

.etemad-menu__picks-all:hover {
	border-color: var(--e-brand);
	color: var(--e-brand-text);
}

.etemad-menu__picks-all svg {
	width: 15px;
	height: 15px;
}

@media (max-width: 767px) {
	.etemad-menu__picks {
		grid-template-columns: minmax(0, 1fr);
	}

	/*
	 * موبایل فقط سه محصول.
	 *
	 * شش کارت تک‌ستونه، کل صفحهٔ موبایل را می‌گیرد و دکمهٔ «مشاهده همه»
	 * زیر خط دید می‌افتد. پنهان کردن با CSS انجام می‌شود نه با رندر
	 * دوبارهٔ سرور، چون همان نشانه‌گذاری باید در هر دو اندازه کار کند.
	 */
	.etemad-menu__picks li:nth-child(n + 4) {
		display: none;
	}
}

/* ---------- پیگیری سفارش: جعبهٔ جمع‌شوندهٔ شماره سفارش ---------- */

.etemad-tracking-find {
	padding: 0;
	border: 1px solid var(--e-line);
	border-radius: var(--e-r-card, 16px);
	background: var(--e-white, #fff);
	overflow: hidden;
}

.etemad-tracking-find > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 18px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

/* نشانگر پیش‌فرض مرورگر در راست‌به‌راست جای غلطی می‌نشیند. */
.etemad-tracking-find > summary::-webkit-details-marker {
	display: none;
}

.etemad-tracking-find > summary svg {
	width: 19px;
	height: 19px;
	flex: 0 0 auto;
	color: var(--e-brand-text);
}

/* فلش باز/بسته، در انتهای ردیف. */
.etemad-tracking-find > summary::after {
	content: "";
	margin-inline-start: auto;
	width: 9px;
	height: 9px;
	border-inline-end: 2px solid var(--e-ink-2);
	border-block-end: 2px solid var(--e-ink-2);
	transform: rotate(45deg);
	transition: transform .18s;
}

.etemad-tracking-find[open] > summary::after {
	transform: rotate(-135deg);
}

.etemad-tracking-find > .etemad-service-form {
	margin: 0;
	padding: 0 18px 18px;
	border: 0;
	background: none;
}

/*
 * وقتی کاربر وارد شده، این بخش یک ستون است نه دو —
 * جعبهٔ «با شماره موبایل» دیگر ساخته نمی‌شود.
 */
.etemad-tracking-methods.is-compact {
	display: block;
}

/* ---------- توضیحات کامل برگهٔ عمدهٔ محصول ---------- */

.etemad-biz-item__body {
	max-width: 70ch;
	margin: var(--e-gap-4, 20px) auto;
	color: var(--e-ink);
	font-size: 15.5px;
	line-height: 2.1;
}

.etemad-biz-item__body > :first-child {
	margin-top: 0;
}

.etemad-biz-item__body > :last-child {
	margin-bottom: 0;
}

.etemad-biz-item__body img,
.etemad-biz-item__body iframe,
.etemad-biz-item__body video {
	max-width: 100%;
	height: auto;
	border-radius: var(--e-r-card, 16px);
}

.etemad-biz-item__body h2,
.etemad-biz-item__body h3 {
	margin: var(--e-gap-5, 26px) 0 var(--e-gap-2, 10px);
	line-height: 1.8;
}

.etemad-biz-item__body ul,
.etemad-biz-item__body ol {
	padding-inline-start: 1.4em;
}

.etemad-biz-item__body li {
	margin-bottom: 6px;
}

.etemad-biz-item__body a {
	color: var(--e-brand-text);
}

/* کادر ویرایشگر در تنظیمات، ارتفاع کافی داشته باشد. */
.etemad-rep__editor {
	min-height: 180px;
}

/* «خبرم کن» در کارت، بعد از ثبت درخواست. */
.etemad-card__notify.is-registered {
	opacity: .7;
	cursor: default;
	pointer-events: none;
}

.etemad-card__notify[aria-busy="true"] {
	opacity: .6;
	cursor: progress;
}
