/* =====================================================================
   پخش تخم مرغ آرمان تجارت — استایل اختصاصی صفحه اول
   ===================================================================== */

.pat-root {
	--paper: #F5EFE3;
	--paper-2: #EDE3D0;
	--paper-3: #E3D6BD;
	--card: #FBF7EE;
	--kraft: #C9A677;
	--kraft-d: #A9875A;
	--ink: #1E1B16;
	--ink-2: #4B4439;
	--ink-3: #7A7062;
	--yolk: #F0A30A;
	--yolk-d: #C98300;
	--yolk-l: #FFE3A3;
	--stamp: #B3452C;
	--leaf: #2F6B4A;
	--line: rgba(30, 27, 22, .14);
	--r: 14px;
	--f-body: 'PAT Vazirmatn', Vazirmatn, Tahoma, sans-serif;
	--f-disp: 'PAT Lalezar', 'PAT Vazirmatn', Tahoma, sans-serif;
	--wrap: 1220px;

	direction: rtl;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.pat-takeover {
	margin: 0;
	background: #F5EFE3;
	overflow-x: clip;
}

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

.pat-root img { max-width: 100%; height: auto; display: block; }
.pat-root a { color: inherit; text-decoration: none; }
.pat-root h1, .pat-root h2, .pat-root h3, .pat-root p, .pat-root ul, .pat-root ol, .pat-root dl, .pat-root dd, .pat-root figure, .pat-root blockquote { margin: 0; padding: 0; }
.pat-root ul, .pat-root ol { list-style: none; }
.pat-root button, .pat-root input, .pat-root select { font: inherit; color: inherit; }
.pat-root :focus-visible { outline: 3px solid var(--yolk); outline-offset: 2px; border-radius: 6px; }
.pat-root [hidden] { display: none !important; }
.pat-root .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.pat-skip { position: absolute; top: -60px; right: 16px; background: var(--ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.pat-skip:focus { top: 12px; }

.pat-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- عناصر پایه ---------- */

.pat-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 22px;
	border-radius: 999px; border: 2px solid var(--ink);
	font-weight: 700; font-size: 15px; line-height: 1;
	cursor: pointer; white-space: nowrap;
	transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.pat-btn:active { transform: translateY(1px); }
.pat-btn--ink { background: var(--ink); color: var(--paper) !important; }
.pat-btn--ink:hover { background: #000; box-shadow: 0 6px 0 -2px var(--yolk); }
.pat-btn--yolk { background: var(--yolk); color: var(--ink) !important; border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pat-btn--yolk:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.pat-btn--line { background: transparent; color: var(--ink) !important; }
.pat-btn--line:hover { background: var(--ink); color: var(--paper) !important; }
.pat-btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.pat-btn--block { width: 100%; }
.pat-btn.is-busy { opacity: .65; pointer-events: none; }
.pat-btn.is-done { background: var(--leaf); border-color: var(--leaf); }

.pat-kicker {
	display: flex; align-items: center; gap: 10px;
	font-size: 14px; font-weight: 700; color: var(--ink-2); letter-spacing: 0;
}
.pat-kicker span { width: 34px; height: 2px; background: var(--stamp); display: inline-block; }
.pat-kicker--light { color: var(--yolk-l); }
.pat-kicker--light span { background: var(--yolk); }

.pat-stamp {
	position: absolute; top: 16px; left: 16px;
	display: inline-block; padding: 6px 12px 4px;
	font-family: var(--f-disp); font-size: 17px; line-height: 1.3; text-align: center;
	color: var(--stamp); background: rgba(251, 247, 238, .88);
	border: 2.5px solid currentColor; border-radius: 6px;
	box-shadow: inset 0 0 0 2px rgba(251, 247, 238, .88), inset 0 0 0 3.5px currentColor;
	transform: rotate(-7deg);
	mix-blend-mode: multiply;
}
.pat-stamp small { font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.pat-stamp--grey { color: var(--ink-3); }

.pat-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 22px; margin-bottom: 42px; padding-bottom: 20px; border-bottom: 1.5px solid var(--ink); }
.pat-head h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.25; }
.pat-head p { grid-column: 2; color: var(--ink-2); max-width: 640px; font-size: 15px; }
.pat-head--stack { display: block; border: 0; padding: 0; }
.pat-head--stack p { margin-top: 10px; }
.pat-head--stack a { color: var(--stamp); font-weight: 700; border-bottom: 1.5px solid; }
.pat-head__no {
	grid-row: span 2; align-self: start;
	font-family: var(--f-disp); font-size: 64px; line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}

.pat-sec { padding-block: clamp(64px, 9vw, 116px); }

/* ---------- نوار نرخ ---------- */

.pat-ticker { display: flex; align-items: stretch; background: var(--ink); color: var(--paper); font-size: 13.5px; overflow: hidden; }
.pat-ticker__label { flex: none; display: flex; align-items: center; padding: 0 16px; background: var(--yolk); color: var(--ink); font-weight: 800; position: relative; z-index: 1; }
.pat-ticker__label::after { content: ''; position: absolute; left: -10px; top: 0; bottom: 0; width: 10px; background: var(--yolk); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.pat-ticker__track { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(to left, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.pat-ticker__run { flex: none; display: flex; align-items: center; gap: 22px; padding: 9px 22px 9px 0; white-space: nowrap; animation: pat-tick 38s linear infinite; }
.pat-ticker__run strong { color: var(--yolk); font-weight: 800; }
.pat-ticker__run i { font-style: normal; color: var(--kraft); font-size: 10px; }
.pat-ticker__run b.up { color: #F0775A; font-size: 10px; }
.pat-ticker__run b.down { color: #7CCB9A; font-size: 10px; }
.pat-ticker:hover .pat-ticker__run { animation-play-state: paused; }
@keyframes pat-tick { to { transform: translateX(100%); } }

/* ---------- هدر ---------- */

.pat-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 239, 227, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .pat-header { top: 32px; }
.pat-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.pat-brand { display: flex; align-items: center; gap: 12px; flex: none; }
.pat-mark { display: inline-flex; width: 44px; height: 44px; }
.pat-mark svg, .pat-mark img { width: 100%; height: 100%; object-fit: contain; }
.pat-mark--sm { width: 36px; height: 36px; }
.pat-brand__txt { display: flex; flex-direction: column; line-height: 1.2; }
.pat-brand__txt strong { font-family: var(--f-disp); font-weight: 400; font-size: 25px; }
.pat-brand__txt small { font-size: 12px; color: var(--ink-3); font-weight: 600; }

.pat-nav { margin-inline-start: auto; }
.pat-nav__list { display: flex; gap: 4px; }
.pat-nav__list a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color .15s, color .15s; }
.pat-nav__list a:hover, .pat-nav__list .current-menu-item > a { background: var(--paper-2); color: var(--ink); }

.pat-header__act { display: flex; align-items: center; gap: 10px; }
.pat-cartbtn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); transition: border-color .15s; }
.pat-cartbtn:hover { border-color: var(--ink); }
.pat-cartbtn .pat-cart-count { position: absolute; top: -4px; left: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--yolk); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; line-height: 1; border: 2px solid var(--paper); }
.pat-cartbtn .pat-cart-count[data-count="0"] { display: none; }
.pat-cartbtn.is-bump { animation: pat-bump .45s ease; }
@keyframes pat-bump { 40% { transform: scale(1.18) rotate(-6deg); } }

.pat-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); font-style: normal; }
.pat-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.pat-status.is-open i { background: #37A26A; box-shadow: 0 0 0 4px rgba(55, 162, 106, .18); }
.pat-status.is-closed i { background: var(--stamp); }
.pat-status--inline { margin-inline-start: 8px; color: inherit; }
.pat-root .pat-burger { color: var(--paper); }
.pat-burger .pat-i--close, .pat-burger[aria-expanded="true"] .pat-i--menu { display: none; }
.pat-burger[aria-expanded="true"] .pat-i--close { display: block; }
.pat-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; place-items: center; }

/* ---------- هیرو ---------- */

.pat-hero {
	position: relative; overflow: hidden;
	padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 96px);
	background:
		radial-gradient(circle at 12% 18%, rgba(240, 163, 10, .10), transparent 32%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		var(--paper);
}
.pat-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pat-hero__text { position: relative; }
.pat-h1 { margin-top: 18px !important; font-family: var(--f-disp); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.35; color: var(--ink-2); }
.pat-h1__big { display: block; font-size: clamp(64px, 9.2vw, 124px); line-height: 1.05; color: var(--ink); letter-spacing: -1px; }
.pat-swash { display: block; width: min(330px, 70%); height: 20px; margin: 2px 0 20px; color: var(--yolk); }
.pat-lead { font-size: clamp(16px, 1.45vw, 18.5px); color: var(--ink-2); max-width: 540px; }
.pat-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pat-facts { display: flex; flex-wrap: wrap; margin-top: 38px; border-top: 1px solid var(--line); }
.pat-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 16px 0 0; padding-inline-end: 22px; margin-inline-end: 22px; border-inline-end: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.pat-facts li:last-child { border: 0; margin: 0; padding-inline-end: 0; }
.pat-facts .pat-i { color: var(--stamp); margin-top: 3px; flex: none; }
.pat-facts b { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; }

.pat-hero__visual { position: relative; padding-bottom: 90px; }
.pat-photo {
	position: relative; margin-inline-start: 10% !important;
	padding: 12px 12px 44px; background: var(--card);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 30px 60px -30px rgba(60, 40, 10, .45);
	transform: rotate(2.2deg);
}
.pat-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.pat-tape { position: absolute; width: 110px; height: 30px; background: rgba(233, 214, 170, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); z-index: 2; }
.pat-tape--a { top: -12px; right: 18%; transform: rotate(-4deg); }
.pat-tape--b { bottom: 22px; left: -26px; transform: rotate(-38deg); }
.pat-stamp--hero { top: 34px; left: -22px; font-size: 22px; padding: 8px 16px 6px; transform: rotate(-10deg); background: rgba(251, 247, 238, .92); z-index: 3; }

/* ---------- تابلوی نرخ ---------- */

.pat-board {
	position: absolute; left: 0; bottom: 0; width: min(420px, 92%);
	background: var(--ink); color: var(--paper);
	border-radius: var(--r); padding: 18px 20px 14px;
	box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .6);
	transform: rotate(-1.4deg);
}
.pat-embed .pat-board { position: relative; transform: none; width: 100%; max-width: 520px; }
.pat-board::before { content: ''; position: absolute; top: -9px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--kraft); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); }
.pat-board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px dashed rgba(245, 239, 227, .3); }
.pat-board__head strong { font-family: var(--f-disp); font-weight: 400; font-size: 24px; color: var(--yolk); }
.pat-board__head time { font-size: 12.5px; color: rgba(245, 239, 227, .7); }
.pat-board__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pat-board__table thead th { font-size: 11.5px; font-weight: 600; color: rgba(245, 239, 227, .55); text-align: start; padding: 6px 0; }
.pat-board__table thead th:last-child, .pat-board__table td:last-child { text-align: left; }
.pat-board__table tbody th, .pat-board__table td { padding: 9px 0; border-top: 1px solid rgba(245, 239, 227, .1); text-align: start; font-weight: 600; }
.pat-board__table tbody th a:hover { color: var(--yolk); }
.pat-board__table td small { color: rgba(245, 239, 227, .6); font-size: 11px; }
.pat-board__price { font-size: 18px; font-weight: 800 !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pat-trend { font-style: normal; font-size: 11px; margin-inline-start: 4px; vertical-align: 2px; }
.pat-trend--up { color: #F0775A; }
.pat-trend--down { color: #7CCB9A; }
.pat-board__na { font-size: 13px; color: rgba(245, 239, 227, .6); font-weight: 600; }
.pat-board__foot { margin-top: 8px !important; font-size: 12px; color: rgba(245, 239, 227, .6); }
.pat-board__foot a { color: var(--yolk); font-weight: 700; }
.pat-board__empty { padding: 12px 0; }
.pat-board__empty a { color: var(--yolk); font-weight: 800; }

/* ---------- شانه‌ی تخم مرغ ---------- */

.pat-tray { line-height: 0; border-block: 2px solid var(--ink); }
.pat-tray svg { display: block; }

/* ---------- محصولات ---------- */

.pat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.pat-card { display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.pat-card:hover { transform: translateY(-3px); box-shadow: 6px 8px 0 var(--ink); }
.pat-card.is-out { opacity: .78; }
.pat-cards--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); }
.pat-cards--wide .pat-card { flex-direction: row; }
.pat-cards--wide .pat-card__img { flex: 0 0 40%; aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-inline-end: 1.5px solid var(--ink); }
.pat-cards--wide .pat-card__body { padding: 26px 26px 24px; }
.pat-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-bottom: 1.5px solid var(--ink); }
.pat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pat-card:hover .pat-card__img img { transform: scale(1.04); }
.pat-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pat-card__grade { font-size: 13px; font-weight: 700; color: var(--stamp); }
.pat-card__title { font-family: var(--f-disp); font-weight: 400; font-size: 28px; line-height: 1.35; }
.pat-card__title a:hover { color: var(--yolk-d); }

.pat-spec { margin: 12px 0 16px !important; font-size: 14px; }
.pat-spec div { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.pat-spec dt { color: var(--ink-3); }
.pat-spec div::after { content: ''; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(30, 27, 22, .3); transform: translateY(-4px); }
.pat-spec dd { order: 2; font-weight: 700; }

.pat-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.pat-card__price strong { font-size: 30px; font-weight: 900; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.pat-card__price span { font-size: 13px; color: var(--ink-3); }
.pat-card__price del { width: 100%; font-size: 13px; color: var(--ink-3); }
.pat-card__ask { font-size: 20px !important; }

.pat-buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pat-card__body { min-width: 0; }
.pat-buy .pat-add { flex: 1 1 150px; }
.pat-qty { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.pat-qty input { width: 44px; height: 46px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.pat-qty input::-webkit-inner-spin-button, .pat-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pat-qty__btn { width: 36px; height: 46px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.pat-qty__btn:hover { background: var(--paper-2); }
.pat-empty { padding: 30px; border: 1.5px dashed var(--ink-3); border-radius: var(--r); text-align: center; }
.pat-empty a { font-weight: 800; color: var(--stamp); }

/* ---------- ماشین‌حساب ---------- */

.pat-calc { background: var(--paper-2); border-block: 1px solid var(--line); }
.pat-calc__grid { display: grid; grid-template-columns: 1fr 460px; gap: clamp(32px, 6vw, 90px); align-items: center; }
.pat-calc__intro h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.25; margin: 10px 0 18px !important; }
.pat-calc__intro .pat-head__no { display: block; }
.pat-calc__intro p { color: var(--ink-2); max-width: 520px; }
.pat-ticks { margin-top: 22px !important; display: grid; gap: 8px; }
.pat-ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.pat-ticks .pat-i { color: var(--leaf); flex: none; }

.pat-receipt {
	position: relative; background: #FFFDF7; padding: 26px 26px 34px;
	box-shadow: 0 30px 50px -30px rgba(60, 40, 10, .5), 0 0 0 1px rgba(30, 27, 22, .06);
	transform: rotate(1deg);
	--zz: radial-gradient(circle at 10px 0, transparent 9px, #FFFDF7 9.5px);
}
.pat-receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--zz); background-size: 20px 10px; }
.pat-receipt__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px dashed rgba(30, 27, 22, .25); }
.pat-receipt__head strong { display: block; font-family: var(--f-disp); font-weight: 400; font-size: 24px; line-height: 1.3; }
.pat-receipt__head small { font-size: 12px; color: var(--ink-3); }
.pat-field { display: block; margin-bottom: 16px; }
.pat-field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.pat-field select { width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; }
.pat-range { display: flex; align-items: center; gap: 12px; }
.pat-range input[type=range] { flex: 1; accent-color: var(--yolk-d); height: 30px; cursor: pointer; }
.pat-range input[type=number] { width: 84px; height: 46px; border: 2px solid var(--ink); border-radius: 10px; text-align: center; font-weight: 800; font-size: 17px; background: #fff; }
.pat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pat-chips button { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 2px 13px; font-size: 13px; font-weight: 700; cursor: pointer; }
.pat-chips button:hover, .pat-chips button.is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pat-receipt__rows { margin: 18px 0 !important; font-size: 14.5px; }
.pat-receipt__rows div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dotted rgba(30, 27, 22, .25); }
.pat-receipt__rows dt { color: var(--ink-3); }
.pat-receipt__rows dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.pat-receipt__rows [hidden] { display: none; }
.pat-receipt__total { border-bottom: 0 !important; padding-top: 14px !important; align-items: baseline; }
.pat-receipt__total dt { color: var(--ink) !important; font-weight: 800; }
.pat-receipt__total b { font-size: 30px; font-weight: 900; }
.pat-receipt__act { display: grid; gap: 10px; }
.pat-receipt__note { margin-top: 12px !important; font-size: 11.5px; color: var(--ink-3); text-align: center; }

/* ---------- مراحل ---------- */

.pat-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.pat-steps li { position: relative; padding: 0 0 0 26px; }
.pat-steps li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.pat-steps__n { display: block; font-family: var(--f-disp); font-size: 88px; line-height: 1; color: var(--paper-3); -webkit-text-stroke: 1.5px var(--kraft-d); margin-bottom: 8px; }
.pat-steps h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px !important; }
.pat-steps p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- مشتریان ---------- */

.pat-segments { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.pat-segments::before { content: ''; position: absolute; inset: auto -60px -120px auto; width: 320px; height: 400px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; border: 2px solid rgba(240, 163, 10, .25); transform: rotate(-18deg); }
.pat-segments__in { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: center; position: relative; }
.pat-segments__title { font-family: var(--f-disp); font-weight: 400; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.3; color: var(--yolk); }
.pat-segments__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pat-segments__list li { padding: 22px 18px; border: 1px solid rgba(245, 239, 227, .18); border-radius: var(--r); transition: border-color .2s, background-color .2s; }
.pat-segments__list li:hover { border-color: var(--yolk); background: rgba(240, 163, 10, .06); }
.pat-segments__list .pat-i { color: var(--yolk); margin-bottom: 14px; }
.pat-segments__list h3 { font-size: 16.5px; font-weight: 800; line-height: 1.5; }
.pat-segments__list p { font-size: 13.5px; color: rgba(245, 239, 227, .7); margin-top: 4px !important; line-height: 1.7; }

/* ---------- چرا ما ---------- */

.pat-why__grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.pat-why__side { position: sticky; top: 110px; }
.pat-why__side h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(34px, 4vw, 50px); line-height: 1.25; margin: 10px 0 16px !important; }
.pat-why__side p { color: var(--ink-2); }
.pat-link { display: inline-block; margin-top: 20px; font-weight: 800; border-bottom: 2px solid var(--yolk); }
.pat-why__list > div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pat-why__list > div:first-child { border-top: 1.5px solid var(--ink); }
.pat-why__list dt { font-size: 19px; font-weight: 800; display: flex; gap: 14px; align-items: baseline; }
.pat-why__list dt span { font-family: var(--f-disp); font-weight: 400; color: var(--yolk-d); font-size: 24px; }
.pat-why__list dd { color: var(--ink-2); font-size: 15px; }

/* ---------- درباره ---------- */

.pat-about { background: var(--card); border-top: 1px solid var(--line); }
.pat-about__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pat-about__text h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.35; margin: 10px 0 18px !important; }
.pat-about__text .pat-head__no { display: block; }
.pat-about__text p + p { margin-top: 14px !important; }
.pat-about__text p { color: var(--ink-2); }
.pat-quote { margin-top: 28px !important; padding: 18px 22px; border-inline-start: 4px solid var(--yolk); background: var(--paper); font-weight: 700; font-size: 17px; line-height: 1.8; }
.pat-about__img { position: relative; }
.pat-about__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--r) var(--r); border: 1.5px solid var(--ink); }
.pat-about__img figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ---------- مقالات ---------- */

.pat-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pat-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--paper-2); margin-bottom: 14px; }
.pat-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pat-post:hover .pat-post__img img { transform: scale(1.04); }
.pat-post__ph { display: grid; place-items: center; height: 100%; color: var(--kraft-d); }
.pat-post time { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.pat-post h3 { font-size: 18px; font-weight: 800; line-height: 1.6; margin: 4px 0 6px !important; }
.pat-post h3 a:hover { color: var(--yolk-d); }
.pat-post p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- پرسش‌ها ---------- */

.pat-faq { background: var(--paper-2); }
.pat-faq__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); }
.pat-faq__grid .pat-head h2 { font-size: clamp(32px, 3.8vw, 46px); }
.pat-faq__item { border-bottom: 1px solid var(--line); }
.pat-faq__item:first-child { border-top: 1.5px solid var(--ink); }
.pat-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.pat-faq__item summary::-webkit-details-marker { display: none; }
.pat-faq__item summary h3 { font-size: 17px; font-weight: 800; line-height: 1.6; }
.pat-faq__item summary span { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color .2s, transform .25s; }
.pat-faq__item summary span::before, .pat-faq__item summary span::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; }
.pat-faq__item summary span::after { transform: rotate(90deg); transition: transform .25s; }
.pat-faq__item[open] summary span { background: var(--yolk); }
.pat-faq__item[open] summary span::after { transform: rotate(0); }
.pat-faq__item p { padding: 0 0 22px 48px; color: var(--ink-2); }

/* ---------- تماس ---------- */

.pat-contact { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 110px); }
.pat-contact__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.pat-contact h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.3; margin: 12px 0 6px !important; }
.pat-bigphone { display: inline-block; font-family: var(--f-disp); font-size: clamp(46px, 8.4vw, 112px); line-height: 1.1; color: var(--yolk) !important; letter-spacing: 1px; transition: color .2s; }
.pat-bigphone:hover { color: #fff !important; }
.pat-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pat-social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(245, 239, 227, .25); font-weight: 700; font-size: 14px; transition: border-color .2s, background-color .2s; }
.pat-social a:hover { border-color: var(--yolk); background: rgba(240, 163, 10, .1); }
.pat-card-addr { font-style: normal; background: rgba(245, 239, 227, .05); border: 1px solid rgba(245, 239, 227, .15); border-radius: var(--r); padding: 26px; display: grid; gap: 18px; }
.pat-card-addr > div { display: flex; gap: 12px; align-items: flex-start; }
.pat-card-addr .pat-i { color: var(--yolk); flex: none; margin-top: 3px; }
.pat-card-addr b { display: block; font-size: 12px; color: rgba(245, 239, 227, .55); }
.pat-card-addr .pat-status { color: rgba(245, 239, 227, .85); }

/* ---------- فوتر ---------- */

.pat-footer { background: #15130F; color: rgba(245, 239, 227, .75); padding-top: 64px; font-size: 14.5px; }
.pat-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.pat-brand--light .pat-brand__txt strong { color: var(--paper); font-size: 22px; }
.pat-footer__brand p { margin-top: 16px !important; max-width: 360px; line-height: 1.9; }
.pat-footer__h { font-size: 14px; font-weight: 800; color: var(--yolk); margin: 0 0 14px !important; }
.pat-footer ul { display: grid; gap: 8px; }
.pat-footer a:hover { color: #fff; }
.pat-footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 18px; border-top: 1px solid rgba(245, 239, 227, .1); font-size: 12.5px; color: rgba(245, 239, 227, .5); }

/* ---------- نوار موبایل + اعلان ---------- */

.pat-mbar { display: none; }
.pat-toast {
	position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
	display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px;
	background: var(--ink); color: var(--paper); border-radius: 999px; font-weight: 700; font-size: 14px;
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s, transform .25s;
	direction: rtl; font-family: var(--f-body);
}
.pat-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.pat-toast a { background: var(--yolk); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 800; }

/* ---------- صفحه‌ی محصول تکی ---------- */

.pat-single-specs { margin: 12px 0 18px; padding: 12px 16px; border: 1px dashed rgba(0, 0, 0, .2); border-radius: 10px; font-size: 14px; display: grid; gap: 4px; }
.pat-single-specs div { display: flex; justify-content: space-between; gap: 10px; }
.pat-single-specs dt { opacity: .7; }
.pat-single-specs dd { margin: 0; font-weight: 700; }

/* ---------- واکنش‌گرا ---------- */

@media (max-width: 1100px) {
	.pat-segments__in { grid-template-columns: 1fr; gap: 28px; }
	.pat-why__grid, .pat-faq__grid { grid-template-columns: 1fr; }
	.pat-why__side { position: static; }
	.pat-calc__grid { grid-template-columns: 1fr 420px; }
}

@media (max-width: 960px) {
	.pat-header { backdrop-filter: none; background: var(--paper); }
	.pat-nav { position: fixed; top: 0; bottom: 0; right: 0; left: auto; width: min(320px, 86vw); margin: 0; padding: 96px 24px 24px; background: var(--paper); box-shadow: -20px 0 60px rgba(0, 0, 0, .2); clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .35s ease, visibility 0s linear .35s; z-index: 60; }
	.pat-nav.is-open { clip-path: inset(0 0 0 -80px); visibility: visible; transition: clip-path .35s ease; }
	.pat-nav__list { flex-direction: column; gap: 2px; }
	.pat-nav__list a { font-size: 18px; padding: 12px 14px; }
	.pat-header__act { margin-inline-start: auto; }
	.pat-burger { display: grid; position: relative; z-index: 61; }
	.pat-hero__grid { grid-template-columns: 1fr; }
	.pat-hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
	.pat-calc__grid, .pat-about__grid, .pat-contact__grid { grid-template-columns: 1fr; }
	.pat-receipt { max-width: 480px; transform: none; margin-inline: auto; width: 100%; }
	.pat-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
	.pat-steps li:nth-child(3) { border: 0; padding-inline-start: 0; }
	.pat-segments__list { grid-template-columns: repeat(2, 1fr); }
	.pat-posts__grid { grid-template-columns: 1fr 1fr; }
	.pat-footer__grid { grid-template-columns: 1fr 1fr; }
	.pat-about__img { max-width: 420px; }
}

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

@media (max-width: 640px) {
	.pat-root { font-size: 15px; }
	.pat-wrap { padding-inline: 18px; }
	.pat-hide-sm, .pat-header .pat-status { display: none !important; }
	.pat-header__in { min-height: 66px; gap: 12px; }
	.pat-brand__txt strong { font-size: 21px; }
	.pat-mark { width: 38px; height: 38px; }
	.pat-head { grid-template-columns: 1fr; }
	.pat-head p { grid-column: 1; }
	.pat-head__no { font-size: 44px; grid-row: auto; }
	.pat-facts li { border: 0; margin-inline-end: 0; width: 100%; padding-inline-end: 0; }
	.pat-cta .pat-btn { flex: 1 1 100%; }
	.pat-photo { margin-inline-start: 4% !important; }
	.pat-hero__visual { padding-bottom: 150px; }
	.pat-board { width: 96%; left: 2%; }
	.pat-stamp--hero { left: -6px; font-size: 18px; }
	.pat-cards--wide .pat-card { flex-direction: column; }
	.pat-cards--wide .pat-card__img { aspect-ratio: 4 / 3; min-height: 0; flex-basis: auto; border-inline-end: 0; border-bottom: 1.5px solid var(--ink); }
	.pat-steps { grid-template-columns: 1fr; }
	.pat-steps li, .pat-steps li + li { border: 0; padding: 0; }
	.pat-steps__n { font-size: 64px; }
	.pat-segments__list { grid-template-columns: 1fr 1fr; gap: 10px; }
	.pat-segments__list li { padding: 16px 14px; }
	.pat-why__list > div { grid-template-columns: 1fr; gap: 6px; }
	.pat-posts__grid { grid-template-columns: 1fr; }
	.pat-faq__item p { padding-left: 0; }
	.pat-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.pat-receipt { padding: 22px 18px 30px; }
	.pat-card__title { font-size: 25px; }

	.pat-mbar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
		background: var(--ink); border-radius: 20px; padding: 6px; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .55);
	}
	.pat-mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; color: rgba(245, 239, 227, .85) !important; font-size: 11.5px; font-weight: 700; border-radius: 14px; }
	.pat-mbar__main { background: var(--yolk); color: var(--ink) !important; }
	.pat-mbar .pat-cart-count { font-weight: 900; color: var(--yolk); }
	.pat-mbar .pat-cart-count[data-count="0"] { display: none; }
	.pat-footer { padding-bottom: 90px; }
	.pat-toast { bottom: 96px; width: calc(100% - 32px); justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
	.pat-root *, .pat-toast { animation: none !important; transition: none !important; }
	.pat-ticker__track { overflow-x: auto; }
}
