/* ==========================================================================
   مس فروشان — پایه مشترک لندینگ‌ها
   رنگ‌ها: مسی سرخ (اصلی)، فیروزه‌ای (اقدام/لینک)، سبز پتینه (اعتماد)، طلایی و خاکستری (تأکید کم)
   این فایل همراه CSS هر صفحه درون‌خطی در <head> چاپ می‌شود.
   ========================================================================== */

:root {
	--cu: #a8521b;       /* مسی سرخ */
	--cu-d: #7f3a0f;
	--cu-l: #e2a46f;
	--cu-t: #f8eadf;
	--tq: #0a8f96;       /* فیروزه‌ای */
	--tq-d: #066b70;
	--tq-t: #dff3f2;
	--pt: #2f7a62;       /* سبز پتینه */
	--pt-d: #123f37;
	--pt-t: #e2f1ea;
	--au: #b8913a;       /* طلایی */
	--au-l: #e6cf8f;
	--ink: #1f1813;
	--body: #3a2e26;
	--mute: #6f625a;     /* خاکستری گرم */
	--line: #ecdfd0;
	--bg: #fcf7ef;
	--white: #fff;
	--r-s: 10px;
	--r: 14px;
	--r-l: 22px;
	--wrap: 1200px;
	--gut: 16px;
	--hd-h: 64px;
	/* گرادیان‌ها: مس با چاشنی فیروزه‌ای و سبز پتینه */
	--g-cu: linear-gradient(135deg, #8a3f12 0%, var(--cu) 55%, #c9773a 100%);
	--g-tq: linear-gradient(135deg, var(--tq-d), var(--tq));
	--g-pt: linear-gradient(135deg, var(--pt-d) 0%, #1d5a4c 55%, var(--tq-d) 100%);
	--g-line: linear-gradient(90deg, var(--cu) 0%, var(--au) 35%, var(--tq) 68%, var(--pt) 100%);
	--g-mist: radial-gradient(60% 90% at 100% 0, var(--cu-t), transparent 70%), radial-gradient(45% 70% at 0 100%, var(--tq-t), transparent 72%), radial-gradient(35% 55% at 15% 0, var(--pt-t), transparent 70%);
	--f: iranyekan, "IRANYekan", Vazirmatn, Tahoma, sans-serif;
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 12px); }
html.mlp-lock { overflow: hidden; }
body {
	margin: 0;
	background: var(--white);
	color: var(--body);
	font-family: var(--f);
	font-size: 15px;
	line-height: 1.9;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--tq-d); text-decoration: none; }
a:hover { color: var(--cu); }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.5; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--tq); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.mlp-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.mlp-sr, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mlp-skip { position: absolute; top: -60px; right: 12px; z-index: 100000; padding: 8px 16px; border-radius: var(--r-s); background: var(--ink); color: #fff; }
.mlp-skip:focus { top: 12px; color: #fff; }
.mlp-i { width: 22px; height: 22px; flex: none; }

@media (min-width: 768px) {
	body { font-size: 16px; }
	:root { --gut: 24px; }
}

/* ---------- دکمه‌ها و لینک‌ها ---------- */
.mlp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 22px;
	border: 2px solid transparent;
	border-radius: 12px;
	font-weight: 800;
	font-size: 15px;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .15s;
	-webkit-tap-highlight-color: transparent;
}
.mlp-btn:active { transform: scale(.97); }
.mlp-btn .mlp-i { width: 20px; height: 20px; }
.mlp-btn--cu { background: var(--cu); color: #fff; }
.mlp-btn--cu:hover { background: var(--cu-d); color: #fff; }
.mlp-btn--line { border-color: var(--cu); color: var(--cu-d); background: transparent; }
.mlp-btn--line:hover { background: var(--cu); color: #fff; }
.mlp-btn--light { background: #fff; color: var(--pt-d); }
.mlp-btn--light:hover { background: var(--au-l); color: var(--pt-d); }
.mlp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--tq-d); border-bottom: 2px solid var(--tq-t); padding-bottom: 2px; }
.mlp-link:hover { color: var(--cu); border-color: var(--cu-l); }
.mlp-chip { display: inline-block; margin-bottom: 12px; padding: 2px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.mlp-chip.is-tq { background: var(--tq-t); color: var(--tq-d); }
.mlp-chip.is-pt { background: var(--pt-t); color: var(--pt); }
.mlp-live-dot { position: relative; display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; background: #1fae74; }
.mlp-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(31,174,116,.55); animation: mlpRing2 2s ease-out infinite; }
@keyframes mlpRing2 { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(2.6); opacity: 0; } }


/* ---------- بخش‌ها ---------- */
.mlp-sec { padding-block: 40px; }
.mlp-sec__head { margin-bottom: 20px; }
.mlp-sec__head h2 { font-size: clamp(1.3rem, 3.2vw, 1.75rem); }
.mlp-sec__head p { margin: 4px 0 0; color: var(--mute); max-width: 60ch; }
.mlp-sec__head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (min-width: 1024px) { .mlp-sec { padding-block: 56px; } }

/* ریل افقی (موبایل: کشیدن با انگشت؛ دسکتاپ: شبکه) */
.mlp-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(160px, 46%);
	gap: 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	padding-bottom: 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--cu-l) transparent;
}
.mlp-rail > * { scroll-snap-align: start; }

/* ---------- نوار قیمت ---------- */
.mlp-tk dl { margin: 0; }
.mlp-tk dt, .mlp-tk dd { margin: 0; white-space: nowrap; }
.mlp-tk dd { font-variant-numeric: tabular-nums; font-weight: 800; }
.mlp-tk dd.is-tick { animation: mlpTick 1.2s ease; }
@keyframes mlpTick { 0% { color: var(--au-l); } }
/* ---------- هدر ---------- */
.mlp-hd { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .mlp-hd { top: var(--wp-admin--admin-bar--height, 0px); }
.mlp-hd__bar { display: flex; align-items: center; gap: 8px; height: var(--hd-h); }
.mlp-logo { display: block; flex: none; margin-inline-end: auto; }
.mlp-logo img { width: auto; height: 46px; }
.mlp-hd__acts { display: flex; align-items: center; gap: 2px; }
.mlp-hd__ic {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}
.mlp-hd__ic:hover { background: var(--cu-t); color: var(--cu-d); }
.mlp-badge { position: absolute; top: 4px; left: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--cu); color: #fff; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; }
.mlp-hd__tel, .mlp-hd__ic--d { display: none; }

/* نوار پایین چسبان: همه اندازه‌ها (گوشی: تمام‌عرض؛ دسکتاپ: داک شناور وسط) — چت آنلاین دکمه برجسته وسط */
.mlp-bb {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 800;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: end;
	padding: 4px 6px env(safe-area-inset-bottom);
	/* بدون backdrop-filter: تار کردن پشت نوار ثابت در هر فریم اسکرول دوباره نقاشی می‌شد و روی گوشی کند بود */
	background: rgba(255, 255, 255, .985);
	border-top: 1px solid var(--line);
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -10px 30px -18px rgba(18, 63, 55, .55);
}
.mlp-bb::before { content: ""; position: absolute; inset: -1px 18px auto; height: 2px; border-radius: 2px; background: var(--g-line); opacity: .7; }
.mlp-bb a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-height: 58px; padding: 6px 2px 7px; color: var(--mute); font-size: 11.5px; font-weight: 700; line-height: 1.4; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: color .2s; }
.mlp-bb__ic { position: relative; display: grid; place-items: center; width: 46px; height: 30px; border-radius: 99px; transition: background-color .25s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.mlp-bb .mlp-i { width: 22px; height: 22px; }
.mlp-bb a.is-on, .mlp-bb a[aria-current] { color: var(--cu-d); }
.mlp-bb a.is-on .mlp-bb__ic, .mlp-bb a[aria-current] .mlp-bb__ic { background: var(--cu-t); }
.mlp-bb a:active .mlp-bb__ic { transform: scale(.88); }
.mlp-bb .mlp-badge { top: -4px; left: 2px; box-shadow: 0 0 0 2px #fff; animation: mlpBump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes mlpBump { 0% { transform: scale(.3); } }
/* چت آنلاین */
.mlp-bb__chat { color: var(--tq-d) !important; }
.mlp-bb__fab { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -26px; margin-bottom: 1px; border-radius: 50%; background: var(--g-tq); color: #fff; box-shadow: 0 0 0 5px #fff, 0 12px 22px -8px rgba(6, 107, 112, .75); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; }
.mlp-bb__fab .mlp-i { width: 26px; height: 26px; }
.mlp-bb__fab::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: rgba(10, 143, 150, .35); animation: mlpRing 2.8s ease-out infinite; }
/* حلقه تپنده فقط با transform/opacity (روی GPU؛ بدون نقاشی دوباره هر فریم) */
@keyframes mlpRing { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.mlp-bb__live { position: absolute; top: 6px; right: 7px; width: 11px; height: 11px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 2px var(--tq-d); }
.mlp-bb__chat:active .mlp-bb__fab { transform: scale(.9); }
@media (hover: hover) {
	.mlp-bb a:hover { color: var(--cu-d); }
	.mlp-bb a:hover .mlp-bb__ic { transform: translateY(-2px); background: var(--cu-t); }
	.mlp-bb__chat:hover .mlp-bb__fab { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 0 0 5px #fff, 0 16px 26px -8px rgba(6, 107, 112, .85); }
}
body.mlp { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
	.mlp-bb { left: 50%; right: auto; bottom: 14px; width: min(560px, calc(100% - 48px)); padding: 2px 12px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 40px -18px rgba(18, 63, 55, .55); }
	.mlp-bb::before { inset: -1px 28px auto; }
	.mlp-bb a { min-height: 56px; font-size: 12px; }
	body.mlp { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .mlp-bb__fab::after, .mlp-bb .mlp-badge { animation: none; } .mlp-bb__ic, .mlp-bb__fab { transition: none; } }
.mlp-search { display: none; }
.mlp-hd.is-search .mlp-search {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	display: flex;
	padding: 10px var(--gut);
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 12px 24px -18px rgba(31,24,19,.5);
}
.mlp-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-inline-end: 0;
	border-radius: 0 12px 12px 0;
	background: var(--bg);
	font: inherit;
	font-size: 14px;
	color: var(--ink);
	-webkit-appearance: none;
	appearance: none;
}
.mlp-search input[type="search"]:focus { outline: none; border-color: var(--tq); background: #fff; }
.mlp-search button { display: grid; place-items: center; width: 50px; height: 44px; border: 0; border-radius: 12px 0 0 12px; background: var(--tq-d); color: #fff; cursor: pointer; }

/* منو — موبایل: کشوی کناری */
.mlp-nav {
	position: fixed;
	inset-block: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	width: min(86vw, 360px);
	background: #fff;
	transform: translateX(105%);
	visibility: hidden;
	transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mlp-nav.is-open { transform: none; visibility: visible; box-shadow: -10px 0 40px rgba(31,24,19,.25); }
.mlp-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(18,63,55,.45); }
.mlp-nav__top { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--ink); }
.mlp-menu { padding: 6px 0; }
.mlp-menu li { position: relative; }
.mlp-menu a, .mlp-nav-t { display: block; padding: 11px 18px 11px 52px; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.6; }
.mlp-menu > li { border-bottom: 1px solid #f4ece3; }
.mlp-sub-tg { position: absolute; top: 4px; left: 8px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--mute); cursor: pointer; }
.mlp-sub-tg .mlp-i { width: 18px; height: 18px; transition: transform .2s; }
li.is-open > .mlp-sub-tg .mlp-i { transform: rotate(180deg); }
.mlp-sub { display: none; padding: 0 0 8px; background: var(--bg); }
li.is-open > .mlp-sub { display: block; }
.mlp-sub a, .mlp-sub .mlp-nav-t { padding-block: 8px; padding-inline-start: 30px; font-weight: 500; font-size: 14px; color: var(--body); }
.mlp-sub .mlp-sub a { padding-inline-start: 44px; }
.mlp-sub .mlp-sub-tg { top: 0; }
.mlp-nav__quick { margin-top: auto; padding: 12px 18px 24px; background: var(--bg); }
.mlp-nav__quick a { display: block; padding: 7px 0; color: var(--tq-d); font-weight: 700; font-size: 14px; }

@media (min-width: 1024px) {
	:root { --hd-h: 76px; }
	.mlp-hd__bar { gap: 20px; }
	.mlp-hd__burger, .mlp-hd__find, .mlp-nav__top, .mlp-nav__quick, .mlp-scrim { display: none !important; }
	.mlp-hd__ic--d { display: grid; }
	.mlp-toast { bottom: 96px; }
	.mlp-logo { margin-inline-end: 0; }
	.mlp-logo img { height: 56px; }
	.mlp-search { display: flex; flex: 1; max-width: 520px; margin-inline: auto; }
	.mlp-hd__tel { display: flex; align-items: center; gap: 8px; margin-inline-end: 8px; color: var(--ink); line-height: 1.3; }
	.mlp-hd__tel .mlp-i { color: var(--cu); }
	.mlp-hd__tel small { display: block; color: var(--mute); font-size: 11px; }
	.mlp-hd__tel b { font-size: 15px; letter-spacing: .5px; }

	/* منو — دسکتاپ: افقی با پنل کشویی */
	.mlp-nav {
		position: static;
		width: auto;
		transform: none;
		visibility: visible;
		overflow: visible;
		border-top: 1px solid var(--line);
		transition: none;
	}
	.mlp-menu { display: flex; flex-wrap: wrap; justify-content: space-between; padding-block: 0; }
	.mlp-menu > li { position: static; border: 0; }
	.mlp-menu > li > a, .mlp-menu > li > .mlp-nav-t { padding: 12px 6px; font-size: 14px; white-space: nowrap; }
	.mlp-menu > li.has-sub > a, .mlp-menu > li.has-sub > .mlp-nav-t { padding-inline-end: 4px; }
	.mlp-menu > li > .mlp-sub-tg { position: static; display: inline-grid; width: 18px; height: 18px; margin-inline-end: 2px; }
	.mlp-menu > li > .mlp-sub-tg .mlp-i { width: 14px; height: 14px; }
	.mlp-menu > li { display: flex; align-items: center; }
	.mlp-menu > li:hover > a, .mlp-menu > li:hover > .mlp-nav-t, .mlp-menu > li.is-open > a { color: var(--cu); }
	.mlp-menu > li > .mlp-sub {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		z-index: 950;
		display: none;
		columns: 4 200px;
		column-gap: 24px;
		max-width: var(--wrap);
		margin-inline: auto;
		padding: 18px 24px;
		background: #fff;
		border: 1px solid var(--line);
		border-top: 3px solid var(--cu);
		border-radius: 0 0 var(--r) var(--r);
		box-shadow: 0 24px 40px -24px rgba(31,24,19,.45);
	}
	.mlp-menu > li:hover > .mlp-sub, .mlp-menu > li:focus-within > .mlp-sub, .mlp-menu > li.is-open > .mlp-sub { display: block; }
	.mlp-menu > li:not(:hover):not(:focus-within):not(.is-open) > .mlp-sub { display: none; }
	.mlp-sub li { break-inside: avoid; }
	.mlp-sub a, .mlp-sub .mlp-nav-t { padding: 6px 0; font-size: 14px; }
	.mlp-sub a:hover { color: var(--cu); }
	.mlp-sub .mlp-sub { display: block; padding: 0; background: none; }
	.mlp-sub .mlp-sub a { padding-inline-start: 14px; font-size: 13px; color: var(--mute); }
	.mlp-sub .mlp-sub-tg { display: none; }
	.mlp-nav { position: relative; }
}


/* ---------- هدر (بازطراحی مرحله ۶): برند و تاریخ، جستجوی همیشه در دسترس، منوی حساب ---------- */
.mlp-hd__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "burger brand acts" "search search search"; align-items: center; column-gap: 6px; row-gap: 8px; height: auto; padding-block: 8px 10px; }
.mlp-hd__burger { grid-area: burger; }
.mlp-brand { grid-area: brand; display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); text-decoration: none; }
.mlp-brand img { flex: 0 0 auto; width: 40px; height: 40px; object-fit: contain; }
.mlp-brand__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.mlp-brand__t b { font-size: 16px; font-weight: 800; color: var(--cu-d); white-space: nowrap; }
.mlp-brand__t small { font-size: 11px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mlp-hd__acts { grid-area: acts; }
.mlp-search, .mlp-hd.is-search .mlp-search { grid-area: search; position: static; display: flex; padding: 0; background: none; border: 0; box-shadow: none; }
.mlp-hd__find { display: none; }
.mlp-acc { position: relative; }
.mlp-acc > summary { list-style: none; display: flex; gap: 4px; width: auto; min-width: 44px; padding-inline: 10px; }
.mlp-acc > summary::-webkit-details-marker { display: none; }
.mlp-acc__l { display: none; font-size: 13px; font-weight: 700; }
.mlp-acc__menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 960; display: grid; min-width: 210px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 40px -20px rgba(31,24,19,.45); }
.mlp-acc__menu a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: var(--r-s); color: var(--ink); font-size: 14px; font-weight: 700; }
.mlp-acc__menu a:hover { background: var(--cu-t); color: var(--cu-d); }
.mlp-acc__menu .mlp-i { width: 18px; height: 18px; color: var(--cu); }
.mlp-acc__theme { padding: 6px 10px 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.mlp-menu__all > a { display: flex !important; align-items: center; gap: 8px; color: var(--cu-d) !important; }
.mlp-menu__all .mlp-i { width: 18px; height: 18px; }
@media (min-width: 1024px) {
	.mlp-hd__bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search acts"; column-gap: 24px; padding-block: 10px; }
	.mlp-brand img { width: 48px; height: 48px; }
	.mlp-brand__t b { font-size: 18px; }
	.mlp-brand__t small { font-size: 12px; }
	.mlp-search { max-width: 560px; width: 100%; margin-inline: auto; }
	.mlp-acc__l { display: inline; }
	.mlp-menu__all > a { padding-inline: 0 10px !important; }
}
@media (max-width: 360px) { .mlp-brand__date { display: none; } }
/* گوشی: هدر دو ردیفه چسبان نمی‌ماند تا صفحه نفس بکشد؛ نوار پایین همیشه در دسترس است. دسکتاپ: چسبان. ارتفاع واقعی در --mlp-stick */
:root { --mlp-stick: 0px; }
@media (max-width: 1023.98px) { .mlp-hd, .admin-bar .mlp-hd { position: relative; top: auto; } }

/* ---------- کارت محصول ---------- */
.mlp-card { display: flex; flex-direction: column; min-width: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.mlp-card__media { display: block; aspect-ratio: 1; margin-bottom: 10px; overflow: hidden; border-radius: var(--r-s); background: var(--bg); }
.mlp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mlp-card:hover .mlp-card__media img { transform: scale(1.04); }
.mlp-card__t { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.mlp-card__t a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.4em; color: var(--ink); }
.mlp-card__t a:hover { color: var(--cu); }
.mlp-card__p { margin-top: auto; margin-bottom: 10px; color: var(--tq-d); font-size: 15px; font-weight: 800; line-height: 1.6; }
.mlp-card__p del { display: block; color: var(--mute); font-size: 12.5px; font-weight: 500; }
.mlp-card__p ins { text-decoration: none; }
.mlp-card__p small, .mlp-card__p .woocommerce-price-suffix, .mlp-card__p .wd-price-unit { display: block; color: var(--mute); font-size: 12px; font-weight: 500; }
.mlp-card__p .woocommerce-Price-currencySymbol { font-size: .75em; font-weight: 600; }
.mlp-card__b { width: 100%; min-height: 42px; padding: 8px 10px; font-size: 13.5px; }
.mlp-card__b.is-busy { opacity: .6; pointer-events: none; }
.mlp-card__b.is-done { background: var(--pt); color: #fff; border-color: var(--pt); }
@media (min-width: 768px) { .mlp-card { padding: 12px; } .mlp-card__t { font-size: 14px; } }

/* ---------- اعلان ---------- */
.mlp-toast {
	position: fixed;
	bottom: calc(80px + env(safe-area-inset-bottom));
	left: 50%;
	z-index: 99990;
	width: max-content;
	max-width: calc(100% - 32px);
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--pt-d);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 16px 30px -12px rgba(18,63,55,.6);
	transform: translate(-50%, 20px);
	opacity: 0;
	transition: transform .3s, opacity .3s;
}
.mlp-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.mlp-toast a { color: var(--au-l); margin-inline-start: 8px; text-decoration: underline; }

/* ---------- فوتر (بازطراحی مرحله ۶) ---------- */
.mlp-ft { margin-top: 32px; background: var(--bg); color: var(--body); }
.mlp-ft__perks { background: #fff; border-block: 1px solid var(--line); }
.mlp-ft__perks ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 auto; padding-block: 16px; list-style: none; }
.mlp-ft__perks li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mlp-ft__perks .mlp-i { flex: 0 0 40px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--cu-t); color: var(--cu-d); }
.mlp-ft__perks b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.mlp-ft__perks small { display: block; font-size: 12px; color: var(--mute); line-height: 1.6; }
.mlp-ft__main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding-block: 32px; }
.mlp-ft__brand { grid-column: 1 / -1; }
.mlp-ft__brand p { margin: 10px 0 0; line-height: 2; text-align: justify; max-width: 46ch; }
.mlp-ft__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: clamp(1.4rem, 5vw, 1.7rem); font-weight: 800; color: var(--cu); letter-spacing: .5px; }
.mlp-ft__phone .mlp-i { width: 22px; height: 22px; }
.mlp-ft__phone:hover { color: var(--tq-d); }
.mlp-ft__live { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; color: var(--pt); font-weight: 700; font-size: 14px; }
.mlp-ft__col h3, .mlp-ft__trust h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--pt-d); }
.mlp-ft__col ul { margin: 0; padding: 0; list-style: none; }
.mlp-ft__col a { display: block; padding: 6px 0; color: var(--body); font-size: 14px; line-height: 1.7; }
.mlp-ft__col a:hover { color: var(--cu); }
.mlp-ft__trust { grid-column: 1 / -1; }
.mlp-ft__trust > div { display: flex; flex-wrap: wrap; gap: 10px; }
.mlp-ft__trust a { display: grid; place-items: center; width: 88px; height: 88px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mlp-ft__trust a:hover { border-color: var(--pt); }
.mlp-ft__trust img { max-height: 100%; object-fit: contain; }
.mlp-ft__addrs { border-top: 1px solid var(--line); background: #fff; }
.mlp-ft__addrs .mlp-wrap { display: grid; gap: 10px; padding-block: 16px; }
.mlp-ft__addr { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; font-size: 13.5px; line-height: 1.9; }
.mlp-ft__addr .mlp-i { width: 18px; height: 18px; margin-top: 4px; color: var(--cu); }
.mlp-ft__addr p { margin: 0; }
.mlp-ft__addr b { color: var(--ink); }
.mlp-ft__addr a { font-weight: 800; color: var(--tq-d); white-space: nowrap; }
.mlp-ft__end { padding-block: 16px; background: var(--pt-d); color: rgba(255,255,255,.85); font-size: 13px; }
.mlp-ft__end .mlp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mlp-ft__end p { margin: 0; line-height: 1.9; }
.mlp-ft__end b { color: #fff; }
.mlp-ft__end span { margin-inline-start: 8px; color: var(--au-l); }
.mlp-ft__social { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mlp-ft__social a { display: block; padding: 5px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; color: #fff; font-size: 12.5px; }
.mlp-ft__social a:hover { background: var(--au); border-color: var(--au); color: var(--pt-d); }
@media (min-width: 768px) {
	.mlp-ft__perks ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mlp-ft__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mlp-ft__addrs .mlp-wrap { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (min-width: 1024px) {
	.mlp-ft__main { grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 36px; padding-block: 48px; }
	.mlp-ft__brand, .mlp-ft__trust { grid-column: auto; }
	.mlp-ft__trust > div { flex-direction: column; }
}

/* ---------- حرکت کمتر ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* شماره تلفن همیشه از چپ به راست؛ «داخلی» کنارش */
.mlp-tel { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.mlp-ext { unicode-bidi: isolate; font-size: .86em; opacity: .85; margin-inline-start: 6px; white-space: nowrap; }

/* انتخاب عکس (دوربین یا گالری) */
.mlp-ph { display: grid; gap: 10px; border: 1px dashed #d9cfc7; border-radius: 14px; padding: 14px; background: #fffaf4; }
.mlp-ph__h { margin: 0; font-weight: 700; }
.mlp-ph__h small { font-weight: 400; color: #5e5651; }
.mlp-ph__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mlp-ph__b { position: relative; display: flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 10px; border-radius: 12px; border: 1px solid #ebe3de; background: #fff; color: #2b2522; font-weight: 700 !important; cursor: pointer; text-align: center; line-height: 1.5; margin: 0 !important; }
.mlp-ph__b:first-child { background: linear-gradient(135deg, #0A7F6C, #065C4E); color: #fff; border-color: transparent; }
.mlp-ph__b input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.mlp-ph__b:focus-within { outline: 3px solid #0F7C82; outline-offset: 2px; }
.mlp-ph.is-full .mlp-ph__b { opacity: .5; pointer-events: none; }
.mlp-ph__list { display: flex; flex-wrap: wrap; gap: 8px; }
.mlp-ph__list:empty { display: none; }
.mlp-ph__t { position: relative; width: 78px; height: 78px; border-radius: 10px; overflow: hidden; background: #eee; }
.mlp-ph__t img { width: 100%; height: 100%; object-fit: cover; }
.mlp-ph__x { position: absolute; top: 3px; inset-inline-end: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.mlp-ph__c { margin: 0; font-size: .86rem; }
.mlp-ph__c.is-low { color: #8f3220; }
.mlp-ph__c.is-ok { color: #065C4E; }

/* عکس و ویدیوی لندینگ */
.mlp-media h2 { margin-bottom: 12px; }
.mlp-gtabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: thin; }
.mlp-gtabs button { flex: none; border: 1px solid #ebe3de; background: #fff; color: #2b2522; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.mlp-gtabs button small { color: #5e5651; }
.mlp-gtabs button[aria-selected="true"] { background: #0F7C82; border-color: #0F7C82; color: #fff; }
.mlp-gtabs button[aria-selected="true"] small { color: #e3f3f3; }
.mlp-gal h3 { font-size: 1.05rem; margin: 0 0 6px; }
.mlp-gal__d { margin: 0 0 10px; color: #5e5651; }
.mlp-gal__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
@media (min-width: 768px) { .mlp-gal__grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); overflow: visible; } }
.mlp-gal__a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f2efec; scroll-snap-align: start; }
.mlp-gal__a img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mlp-gal__a:hover img { transform: scale(1.04); }
.mlp-lb { border: 0; padding: 0; background: transparent; max-width: min(1100px, 96vw); max-height: 92vh; }
.mlp-lb::backdrop { background: rgb(15 12 10 / .82); }
.mlp-lb img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 10px; }
.mlp-lb p { color: #fff; text-align: center; margin: 8px 0 0; }
.mlp-lb__x { position: absolute; top: 6px; inset-inline-end: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .6); color: #fff; font-size: 26px; cursor: pointer; z-index: 1; }
.mlp-vids { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; }
.mlp-vids--one { grid-template-columns: minmax(0, 860px); }
.mlp-vid { margin: 0; }
.mlp-vid__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1d1714; }
.mlp-vid--v .mlp-vid__frame { aspect-ratio: 9 / 16; max-height: 78vh; max-width: calc(78vh * 9 / 16); margin-inline: auto; }
.mlp-vid__play { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; background: radial-gradient(120% 90% at 50% 100%, rgb(181 82 51 / .5), transparent 60%), linear-gradient(160deg, #3a2a23, #1d1714); }
.mlp-vid.has-poster .mlp-vid__play { background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / .45)); }
.mlp-vid__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mlp-vid__icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #C95A3E, #7F2818); box-shadow: 0 8px 24px rgb(0 0 0 / .35); transition: transform .2s; }
.mlp-vid__play:hover .mlp-vid__icon { transform: scale(1.08); }
.mlp-vid__play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.mlp-vid__media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.mlp-vid figcaption { padding-top: 8px; font-weight: 700; color: #2b2522; }

/* متن سئو با «بیشتر بخوانید» */
.mlp-art__in { max-width: 920px; }
.mlp-art h2 { margin-bottom: 10px; }
.mlp-art p, .mlp-art li { text-align: justify; text-justify: inter-word; line-height: 2; }
.mlp-art__more { position: relative; max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.mlp-art__more.is-open { max-height: none; overflow: visible; }
.mlp-art__more h3 { font-size: 1.08rem; margin: 18px 0 6px; }
.mlp-art__more ul { padding-inline-start: 20px; margin: 6px 0 10px; }
.mlp-art__btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid #ebe3de; background: #fff; color: #0B5F63; font: inherit; font-weight: 700; cursor: pointer; }
.mlp-art__btn:hover { background: #eef7f7; }
.mlp-art__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mlp-art__btn:focus-visible { outline: 3px solid #0F7C82; outline-offset: 2px; }

/* هیچ عنصری نباید صفحه موبایل را پهن‌تر از عرض گوشی کند (جلوی کوچک‌شدن کل صفحه را می‌گیرد) */
html, body.mlp { overflow-x: clip; } /* بدون :has روی html که با هر تغییر DOM کل صفحه را دوباره محاسبه می‌کرد */
/* فیلد مخفی ضداسپم فرم‌ها: هرگز با جابه‌جایی منفی پنهان نشود (در صفحه راست‌به‌چپ عرض صفحه را چند هزار پیکسل می‌کرد) */
.csx-hp, .msp-hp, input[name="website"][tabindex="-1"] { position: absolute !important; left: auto !important; right: auto !important; top: auto !important; width: 1px !important; height: 1px !important; min-width: 0 !important; max-width: 1px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; opacity: 0 !important; pointer-events: none !important; }

/* ---------- چاشنی رنگ و حرکت سبک (مرحله ۶) ---------- */
.mlp-btn--cu { background: var(--g-cu); background-size: 140% 100%; background-position: 0 0; transition: background-position .4s, box-shadow .25s, transform .15s; }
.mlp-btn--cu:hover { background: var(--g-cu); background-size: 140% 100%; background-position: 100% 0; box-shadow: 0 10px 22px -12px rgba(127,58,15,.7); }
.mlp-hd { border-bottom: 0; }
.mlp-hd::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--g-line); opacity: .85; pointer-events: none; }
.mlp-sec__head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--g-line); }
.mlp-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
@media (hover: hover) { .mlp-card:hover { transform: translateY(-3px); border-color: #cfe7e4; box-shadow: 0 14px 28px -18px rgba(6,107,112,.45); } }
.mlp-ft::before { content: ""; display: block; height: 3px; background: var(--g-line); }
.mlp-ft__perks { border-top: 0; }
.mlp-ft__perks li:nth-child(4n+2) .mlp-i { background: var(--tq-t); color: var(--tq-d); }
.mlp-ft__perks li:nth-child(4n+3) .mlp-i { background: var(--pt-t); color: var(--pt); }
.mlp-ft__perks li:nth-child(4n+4) .mlp-i { background: #f6efd9; color: #8a6a1f; }
.mlp-ft { background: var(--g-mist), var(--bg); }
.mlp-ft__end { background: var(--g-pt); }
@media (prefers-reduced-motion: reduce) { .mlp-btn--cu, .mlp-card { transition: none; } .mlp-card:hover { transform: none; } }

/* ---------- صفحه‌های بزرگ (لپ‌تاپ بزرگ، مانیتور، تلویزیون): عرض و اندازه متن متناسب ---------- */
@media (min-width: 1600px) { :root { --wrap: 1360px; --gut: 24px; } body { font-size: 16px; } }
@media (min-width: 2200px) { :root { --wrap: 1600px; } body { font-size: 18px; } }
/* تبلت: فاصله کناری کمی بیشتر */
@media (min-width: 768px) and (max-width: 1023.98px) { :root { --gut: 24px; } }

/* ---------- برچسب‌ها و دکمه‌های کارت محصول (علاقه‌مندی/مقایسه در پوسته مستقل) ---------- */
.mlp-card { position: relative; }
.mlp-card__labels { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.mlp-lbl { padding: 1px 8px; border-radius: 8px; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.9; box-shadow: 0 4px 10px -6px rgba(0,0,0,.4); }
.mlp-lbl--sale { background: #c0392b; }
.mlp-lbl--new { background: var(--pt); }
.mlp-lbl--hot { background: var(--au); }
.mlp-lbl--out { background: #6f625a; }
.mlp-card__acts { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.mlp-card__act { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; transition: color .2s, background .2s, transform .15s; }
.mlp-card__act .mlp-i { width: 18px; height: 18px; }
.mlp-card__act:hover { color: var(--cu); }
.mlp-card__act:active { transform: scale(.92); }
.mlp-card__act[aria-pressed="true"] { border-color: var(--cu); background: var(--cu); color: #fff; }
.mlp-card__act[data-mfs-list="wl"][aria-pressed="true"] .mlp-i { fill: currentColor; }
@media (hover: hover) and (min-width: 1024px) { .mlp-card__act[aria-pressed="false"] { opacity: 0; } .mlp-card:hover .mlp-card__act, .mlp-card__act:focus-visible { opacity: 1; } }

/* دکمه چت با تصویر پشتیبان گفتینو */
.mlp-bb__fab.has-img { overflow: visible; background: #fff; }
.mlp-bb__fab.has-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mlp-bb__cnt { position: absolute; top: -4px; left: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e53935; color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.mlp-bb__cnt:empty { display: none; }

/* ---------- منوی سربرگ ساده: دکمه «همه دسته‌بندی‌ها» + صفحه‌های اصلی خرید ---------- */
.mlp-menu__all > a { position: relative; gap: 10px !important; margin: 10px 14px; padding: 10px 14px !important; border-radius: 14px; background: var(--g-cu); background-size: 140% 100%; color: #fff !important; box-shadow: 0 10px 22px -14px rgba(127,58,15,.8); transition: background-position .4s, transform .15s; }
.mlp-menu__all > a:hover { background-position: 100% 0; color: #fff !important; }
.mlp-menu__all > a:active { transform: scale(.98); }
.mlp-menu__allic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.18); }
.mlp-menu__all .mlp-menu__allic .mlp-i { width: 18px; height: 18px; }
.mlp-menu__go { width: 16px !important; height: 16px !important; margin-inline-start: auto; opacity: .85; }
.mlp-menu .mlp-menu__go { transform: scaleX(-1); }
.mlp-menu__it > a { display: flex !important; align-items: center; gap: 10px; }
.mlp-menu__it .mlp-i { width: 20px; height: 20px; color: var(--tq-d); }
@media (min-width: 1024px) {
	.mlp-menu { justify-content: flex-start !important; gap: 4px 6px; align-items: center; }
	.mlp-menu__all > a { margin: 6px 0 6px 10px; padding: 8px 14px !important; }
	.mlp-menu__it > a { padding: 10px 12px !important; border-radius: 10px; color: var(--body) !important; font-weight: 700; transition: background .2s, color .2s; }
	.mlp-menu__it > a:hover { background: var(--bg); color: var(--cu) !important; }
	.mlp-menu__it .mlp-i { width: 18px; height: 18px; }
}

/* ردیف منوی موبایل و تبلت (همان پیوندهای منوی دسکتاپ، یکپارچه در همه دستگاه‌ها) */
.mlp-hrow { border-top: 1px solid #f4ece3; background: #fff; }
.mlp-hrow .mlp-wrap { display: flex; gap: 8px; padding-block: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mlp-hrow .mlp-wrap::-webkit-scrollbar { display: none; }
.mlp-hrow a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--body); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.mlp-hrow a .mlp-i { width: 17px; height: 17px; color: var(--tq-d); }
.mlp-hrow a.mlp-hrow__all { border-color: transparent; background: var(--g-cu); color: #fff; box-shadow: 0 8px 18px -12px rgba(127,58,15,.8); }
.mlp-hrow a.mlp-hrow__all .mlp-i { color: #fff; }
@media (min-width: 1024px) { .mlp-hrow { display: none; } }
