/* آهن کاوه ۲.۰ (۲ آبان ۱۴۰۵) — روی site.css: همان نشانه‌ها و پالتِ زرد + سنگی. فقط ویژگی‌های منطقی (راست‌به‌چپ درست).
   سربرگ: منو از راست، ابزارها کنارِ لوگو، لوگو در انتهای چپ. هر بخش در صفحه‌ی خودش؛ اجزای تازه: کاشی، کارتِ خبر، گام‌شمار، خطِ زمان. */

/* ───── سربرگ ───── */
/* دو ردیف (۷ آبان ۱۴۰۵، الهام از آهن‌آنلاین): بالا لوگو، جست‌وجوی همیشه‌پیدا و «تماس جهت خرید»؛ پایین پنج منو.
   --hdr-h بلندیِ کلِ سربرگ است برای چیزهای چسبان؛ روی گوشی ردیفِ منو کشو می‌شود و بلندی‌اش صفر. */
:root { --hdr-sub: 46px; --hdr-h: calc(var(--header-h) + var(--hdr-sub)); }
.hdr .hdr-row { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.hdr-push { flex: 1; }
.hdr-tools { display: flex; align-items: center; gap: 6px; }
.hdr-logo img { height: 44px; }
.hdr-search { flex: 0 1 440px; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px; margin-inline-start: 18px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--border); background: var(--muted); color: var(--fg-muted); font: inherit; font-size: 14px; text-align: start; cursor: pointer; transition: border-color .15s, background-color .15s; }
.hdr-search:hover { border-color: color-mix(in srgb, var(--yellow-500) 55%, var(--border)); background: var(--card); }
.hdr-search .icon { width: 18px; height: 18px; flex: none; }
.hdr-search span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hdr-search kbd { flex: none; direction: ltr; font: 600 11.5px/1 var(--font); padding: 4px 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); }
.hdr-search-ic { display: none !important; }
.hdr-call { display: flex; align-items: center; gap: 10px; padding-inline: 2px 10px; color: var(--fg); text-decoration: none; }
.hc-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-400); color: var(--stone-950); transition: background-color .15s; }
.hc-ic .icon { width: 19px; height: 19px; }
.hdr-call:hover .hc-ic { background: var(--yellow-300); }
.hc-t { display: grid; line-height: 1.3; }
.hc-t small { font-size: 12px; color: var(--fg-muted); }
.hc-t b { font-size: 16.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-btn { position: relative; }
.cart-badge { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-full); background: var(--yellow-400); color: var(--stone-950); font: 800 11.5px/20px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: var(--r); background: var(--stone-900); color: var(--stone-50); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.acct-btn:hover { background: var(--stone-800); }
.acct-btn.in { background: var(--accent-soft); color: var(--accent-text); }
:root[data-theme="dark"] .acct-btn:not(.in) { background: var(--stone-100); color: var(--stone-900); }
.acct-btn .icon { width: 18px; height: 18px; }
/* ردیفِ منو */
.hdr-sub { border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.hdr .hdr-sub-row { display: flex; align-items: center; gap: 8px; height: var(--hdr-sub); }
.hdr .hdr-nav { flex: 0 1 auto; min-width: 0; }
.hdr .nav a, .hdr .nav button { font-size: 14.5px; padding: 7px 12px; }
.hdr .nav .nav-prices { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: 6px; padding: 6px 12px; border-radius: var(--r); background: var(--yellow-400); color: var(--stone-950); font-weight: 800; }
.hdr .nav .nav-prices:hover { background: var(--yellow-300); color: var(--stone-950); }
.nav-prices .icon { width: 16px; height: 16px; }
.nav-prices .i-chev { width: 13px; height: 13px; rotate: -90deg; transition: rotate .2s var(--ease); }
body:has(.mega:popover-open) .nav .nav-prices .i-chev { rotate: 90deg; }
.hdr .nav .nav-prices .i-grid, body:has(.mega:popover-open) .hdr .nav .nav-prices .i-grid { width: 16px; height: 16px; rotate: none; }
.hdr .nav .nav-prices-m, .hdr .nav .nav-cats-m { display: none; }

/* پایینِ منوی کالاها: قیمتِ لحظه‌ای، کارخانه‌ها و ابزارها */
.mega .m-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.mega .m-foot a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-weight: 600; font-size: 14px; color: var(--fg-2); }
.mega .m-foot .icon { width: 17px; height: 17px; color: var(--accent-text); }
/* متن فقط از دید پنهان می‌شود تا صفحه‌خوان نامِ دکمه را داشته باشد (بازبینیِ ۲ آبان؛ با display:none دکمه بی‌نام بود) */
@media (max-width: 1240px) {
  .acct-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .acct-btn { position: relative; width: 42px; padding: 0; justify-content: center; }
  .hdr-search kbd { display: none; }
}
@media (max-width: 1100px) {
  :root { --hdr-sub: 0px; }
  .hdr-sub { border: 0; }
  
  .hc-t { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-search { flex: 1 1 auto; margin-inline-start: 6px; }
  .hdr .nav { position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow: auto; flex-direction: column; align-items: stretch; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px var(--gutter) 22px; display: none; box-shadow: var(--e3); z-index: 61; }
  .hdr .nav.open { display: flex; animation: pop-in .2s var(--ease); }
  .hdr .nav a, .hdr .nav button { padding: 13px 12px; font-size: 16px; }
  .hdr .nav .nav-prices { display: none; }
  .hdr .nav .nav-prices-m { display: block; font-weight: 800; }
  .hdr .nav .nav-cats-m { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
  .hdr .nav .nav-cats-m a { padding: 9px 12px; font-size: 14.5px; color: var(--fg-2); }
}
@media (max-width: 720px) {
  .hdr-search, .hdr-call { display: none; }
  .hdr-search-ic { display: inline-grid !important; }
}
@media (max-width: 560px) {
  .hdr .hdr-row { gap: 4px; }
  .hdr-tools { gap: 4px; }
  .hdr-tools .theme-btn { display: none; }
  .hdr-logo img { height: 38px; }
  .hdr-tools .icon-btn, .acct-btn { width: 40px; height: 40px; }
}

/* ───── پانویس و داکِ گوشی ───── */

/* پیوندِ صفحه‌ی گروه‌ها (سئو): یک خطِ آرام بالای نوارِ حقوق */

@media (max-width: 720px) {
  .dock { grid-template-columns: repeat(5, 1fr); }
  .dock a[aria-current="page"]:not(.primary) { color: var(--yellow-400); }
  /* «سفارش» همیشه زرد است؛ در خودِ صفحه‌ی سفارش با حلقه نشان می‌دهد که همین‌جا هستید (بازبینیِ ۲ آبان) */
  .dock .primary[aria-current="page"] { outline: 2px solid var(--yellow-400); outline-offset: 3px; }
  /* هنگامِ نوشتن در فرم، داکِ شناور کنار می‌رود تا روی فیلد و صفحه‌کلید نیفتد */
  .dock { transition: translate .2s ease, opacity .2s ease; }
  body:has(main :is(input:not([type="checkbox"], [type="radio"], [type="button"], [type="submit"]), textarea, select):focus) .dock { translate: 0 calc(100% + 24px); opacity: 0; pointer-events: none; }
}

/* ───── سرِ صفحه‌ی روشن (صفحه‌های تازه) ───── */
.phead { padding-block: clamp(28px, 4vw, 48px) clamp(18px, 2.5vw, 28px); }
.phead .crumbs { color: var(--fg-muted); }
.phead .crumbs a:hover { color: var(--accent-text); }
.phead h1 { font-size: clamp(28px, 3.6vw, 44px); margin: 10px 0 6px; }
.phead p { color: var(--fg-muted); margin: 0; max-width: 46em; font-size: 16.5px; }
.phead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }

/* ───── کاشی‌های ورود به بخش‌ها ───── */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; }   }

/* ───── شاخص‌ها ───── */
.idx-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mkc { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); box-shadow: var(--e1); text-decoration: none; color: var(--fg); min-width: 0; }
.on-ink .mkc { background: rgb(255 255 255 / .04); }
.mkc:hover { border-color: color-mix(in srgb, var(--yellow-400) 55%, var(--border)); }
.idx-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.idx-top .code { color: var(--accent-text); }
.idx-name { font-weight: 700; color: var(--fg-2); font-size: 14px; }
.idx-val { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.3; }
.idx-val small { font-size: 12px; font-weight: 600; color: var(--fg-muted); margin-inline-start: 4px; }
/* کارتِ چندکالایی: «۱۲۲٬۵۰۰ تا ۱۲۳٬۰۰۰» در همان یک خط، کمی کوچک‌تر */
.idx-range { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-size: clamp(18px, 1.9vw, 23px); }
.idx-range i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--fg-muted); }
.idx-val.has-range small { display: block; margin: 0; }
.idx-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--fg-muted); }
.mkc .spark { width: 100%; height: 34px; }
.mkc .spark path.l { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mkc .spark path.a { fill: currentColor; opacity: .12; stroke: none; }
.mkc.up .spark { color: var(--rise); } .mkc.down .spark { color: var(--fall); } .mkc.flat .spark { color: var(--flat); }

/* ───── خبر ───── */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }
.ncard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--border); box-shadow: var(--e1); text-decoration: none; color: var(--fg); transition: box-shadow .18s, translate .18s var(--ease), border-color .18s; min-width: 0; }
.ncard:hover { box-shadow: var(--e3); translate: 0 -2px; border-color: var(--border-strong); }
.ncard .n-img { aspect-ratio: 16 / 9; background: var(--muted) center / cover no-repeat; position: relative; }
.ncard .n-img img { width: 100%; height: 100%; object-fit: cover; }

.ncard .n-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.ncard h3 { margin: 0; font-size: 17px; line-height: 1.7; }
.ncard p { margin: 0; color: var(--fg-muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.n-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--fg-muted); font-size: 13px; }
.n-kind { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-size: 12px; }
.n-kind.analysis { background: var(--stone-900); color: var(--yellow-400); }
:root[data-theme="dark"] .n-kind.analysis { background: var(--stone-100); color: var(--stone-900); }
.n-kind.breaking { background: var(--rise); color: #fff; }

.nrow { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-md); text-decoration: none; color: var(--fg); }
.nrow:hover { background: var(--muted); }
.nrow .n-thumb { width: 96px; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--ink) center / cover no-repeat; }
.nrow b { display: block; font-size: 15px; line-height: 1.7; }
.breaking-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: var(--r-md); background: var(--rise-soft); color: var(--fg); text-decoration: none; font-weight: 700; border: 1px solid color-mix(in srgb, var(--rise) 30%, transparent); }
.breaking-bar .n-kind { flex: none; }

/* ───── گام‌شمار و خطِ زمان ───── */
.stepper { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: st; overflow-x: auto; }
.stepper li { flex: 1; min-width: 92px; display: grid; justify-items: center; gap: 6px; text-align: center; position: relative; font-size: 13px; color: var(--fg-muted); font-weight: 600; padding-top: 2px; }
.stepper li::before { counter-increment: st; content: counter(st, persian); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--muted); border: 2px solid var(--border-strong); color: var(--fg-muted); font-weight: 800; z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 16px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--border-strong); }
.stepper li:last-child::after { display: none; }
.stepper li.done::before { content: "✓"; background: var(--yellow-400); border-color: var(--yellow-400); color: var(--stone-950); }
.stepper li.done::after { background: var(--yellow-400); }
.stepper li.now::before { background: var(--stone-900); border-color: var(--stone-900); color: var(--yellow-400); box-shadow: 0 0 0 4px var(--accent-soft); }
:root[data-theme="dark"] .stepper li.now::before { background: var(--yellow-400); color: var(--stone-950); border-color: var(--yellow-400); }
.stepper li.now { color: var(--fg); }
.stepper.off li.done::before { background: var(--muted); border-color: var(--border-strong); color: var(--fg-muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; position: relative; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow-400); margin-top: 8px; margin-inline-start: 5px; box-shadow: 0 0 0 4px var(--accent-softer); }
.timeline li::after { content: ""; position: absolute; inset-inline-start: 10px; top: 24px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline b { font-size: 14.5px; }
.timeline small { color: var(--fg-muted); display: block; font-size: 13px; }

/* ───── زبانه‌ها و فهرست‌های حساب ───── */
.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border-radius: var(--r-md); background: var(--muted); border: 1px solid var(--border); scrollbar-width: none; }
.tabs a, .tabs button { flex: none; padding: 9px 16px; border-radius: var(--r); font-weight: 700; color: var(--fg-muted); text-decoration: none; background: none; border: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tabs a[aria-current="page"], .tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: var(--e1); }
.tabs .count { font-size: 11.5px; padding: 0 7px; border-radius: var(--r-full); background: var(--yellow-400); color: var(--stone-950); font-weight: 800; }
.rlist { display: grid; gap: 10px; }
.rrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--fg); transition: border-color .15s, box-shadow .15s; }
.rrow:hover { border-color: var(--border-strong); box-shadow: var(--e2); }
.rrow .r-ic { width: 42px; height: 42px; border-radius: var(--r); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.rrow b { display: block; }
.rrow small { color: var(--fg-muted); }
.pill-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: var(--r-full); font-size: 13px; font-weight: 800; white-space: nowrap; background: var(--muted); color: var(--fg-2); }
.pill-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-st.pending { background: var(--accent-soft); color: var(--accent-text); }
.pill-st.queue { background: color-mix(in srgb, #3B82F6 14%, transparent); color: #2563EB; }
.pill-st.ready { background: var(--yellow-400); color: var(--stone-950); }
.pill-st.ok { background: var(--fall-soft); color: var(--fall); }
.pill-st.shipped { background: var(--stone-900); color: var(--stone-50); }
.pill-st.canceled { background: var(--rise-soft); color: var(--rise); }

/* ───── فرمِ چندمرحله‌ای ───── */
.wiz { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 1020px) { .wiz { grid-template-columns: 1fr; } }
.wiz-sec { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--e1); display: grid; gap: 16px; }
.wiz-sec + .wiz-sec { margin-top: 16px; }
.wiz-h { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 19px; }
.wiz-h .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-400); color: var(--stone-950); font-weight: 900; font-size: 15px; flex: none; }
.wiz-h small { color: var(--fg-muted); font-weight: 500; font-size: 13.5px; margin-inline-start: auto; }
.wiz-aside { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 14px; }
.sum-card { background: var(--ink); color: var(--stone-50); border-radius: var(--r-xl); padding: 22px; display: grid; gap: 12px; box-shadow: var(--e3); }
.sum-card h3 { color: var(--stone-50); margin: 0; font-size: 17px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; color: var(--stone-300); }
.sum-row b { color: var(--stone-50); font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ink-line); }
.sum-total b { font-size: 26px; font-weight: 900; color: var(--yellow-400); font-variant-numeric: tabular-nums; }
.sum-note { font-size: 13px; color: var(--stone-400); line-height: 1.8; margin: 0; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 14px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--card); cursor: pointer; transition: border-color .15s, background-color .15s; }
.opt input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--yellow-500); }
.opt b { font-size: 14.5px; }
.opt small { grid-column: 2; color: var(--fg-muted); font-size: 13px; line-height: 1.7; }
.opt:has(input:checked) { border-color: var(--yellow-500); background: var(--accent-softer); }
.sg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: var(--r-md); background: var(--muted); border: 1px solid var(--border); }
.sg label { position: relative; cursor: pointer; margin: 0; }
.sg input { position: absolute; opacity: 0; pointer-events: none; }
.sg span { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r); font-weight: 700; color: var(--fg-muted); }
.sg input:checked + span { background: var(--card); color: var(--fg); box-shadow: var(--e1); }
.sg input:focus-visible + span { outline: 2px solid var(--yellow-500); }
.drop { display: grid; place-items: center; gap: 6px; padding: 22px; border-radius: var(--r-md); border: 2px dashed var(--border-strong); background: var(--muted); text-align: center; color: var(--fg-muted); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop:hover, .drop.over { border-color: var(--yellow-500); background: var(--accent-softer); }
.drop b { color: var(--fg); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.files span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-full); background: var(--muted); font-size: 13px; border: 1px solid var(--border); }

/* ───── ورود و ثبت‌نام ───── */
.au { min-height: calc(100dvh - var(--hdr-h)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.au-side { position: relative; overflow: hidden; display: grid; align-content: end; gap: 18px; padding: clamp(28px, 5vw, 64px); }
.au-side h2 { color: var(--stone-50); font-size: clamp(26px, 3vw, 38px); margin: 0; }
.au-side p { color: var(--stone-300); margin: 0; max-width: 32em; }
.au-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.au-side li { display: flex; align-items: center; gap: 10px; color: var(--stone-200); font-weight: 600; }
.au-side li .icon { color: var(--yellow-400); }
.au-side::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 80% 10%, rgb(250 204 21 / .28), transparent 55%); }
.au-side > * { position: relative; }
.au-main { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px) var(--gutter); }
.au-card { width: min(440px, 100%); display: grid; gap: 18px; }
.au-card h1 { font-size: clamp(26px, 3vw, 32px); margin: 0; }
.au-card .lead { margin: 0; font-size: 15.5px; }
.au-or { display: flex; align-items: center; gap: 12px; color: var(--fg-muted); font-size: 13px; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.otp-input { letter-spacing: .5em; text-align: center; font: 800 26px var(--mono) !important; direction: ltr; }
.au-foot { color: var(--fg-muted); font-size: 13px; line-height: 1.9; }
@media (max-width: 900px) { .au { grid-template-columns: 1fr; } .au-side { order: 2; padding-block: 32px; } }
.alert { padding: 12px 16px; border-radius: var(--r-md); font-weight: 600; font-size: 14.5px; border: 1px solid transparent; }
.alert.err { background: var(--rise-soft); color: var(--rise); border-color: color-mix(in srgb, var(--rise) 25%, transparent); }
.alert.ok { background: var(--fall-soft); color: var(--fall); border-color: color-mix(in srgb, var(--fall) 25%, transparent); }
.alert.info { background: var(--accent-softer); color: var(--fg-2); border-color: color-mix(in srgb, var(--yellow-400) 40%, var(--border)); }
.kind-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind-cards .opt { grid-template-columns: auto minmax(0, 1fr); }

/* ───── عمومی ───── */
.stack { display: grid; gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14.5px; }
.kv dt { color: var(--fg-muted); }
.kv dd { margin: 0; font-weight: 600; }
.money { font-variant-numeric: tabular-nums; font-weight: 800; }
.mono-n { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; }

/* ───── صفحه‌ی اول ───── */

.qp { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n add" "p c"; gap: 6px 10px; padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); box-shadow: var(--e1); }

/* توییت‌ها (۶ آبان ۱۴۰۵): خبرهای کوتاه پشتِ هم، هر کدام کامل و بی پیوند؛ زردِ برند فقط روی نشانه‌ی زنده و نشانِ مجموعه */

.tw-card { padding: 0; overflow: hidden; }
.tw-card .card-head { margin: 0; padding: 16px 18px 12px; border-bottom: 1px solid var(--border); }
.tw-card .card-head h2, .tw-card .card-head h3 { font-size: 17px; }

.tw-feed { display: grid; }

.tw { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.tw:last-child { border-bottom: 0; }
.tw:target { background: var(--accent-soft); }
.tw-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--stone-950); color: var(--yellow-400); }
.tw-ava .icon { width: 20px; height: 20px; }
.tw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; font-size: 13px; color: var(--fg-muted); }
.tw-meta b { color: var(--fg); font-size: 14px; }
.tw-meta time::before { content: "·"; margin-inline-end: 8px; }
.tw-text { font-size: 15px; line-height: 1.95; color: var(--fg); overflow-wrap: anywhere; }
.tw-text p { margin: 0 0 6px; }
.tw-text p:last-child { margin-bottom: 0; }
.tw-img { display: block; width: 100%; max-height: 220px; margin-top: 10px; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--border); }
.tw-page { max-width: 720px; margin-inline: auto; }

.g-btn { min-height: 44px; display: flex; justify-content: center; }
.more-fields summary { cursor: pointer; font-weight: 700; color: var(--accent-text); }
.resend { display: flex; justify-content: center; }
body.auth-page .footer { margin-top: 0; }

/* ───── حسابِ من ───── */
.my-head { padding-bottom: 0; }
.my-head .tabs { margin-top: 22px; }
.my-who { display: flex; align-items: center; gap: 16px; min-width: 0; }
.my-who h1 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); }
.my-who p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--fg-muted); font-size: 14.5px; }
.my-avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-400); color: var(--stone-950); font-size: 24px; font-weight: 900; box-shadow: 0 0 0 4px var(--accent-softer); }
.my-mob { font-family: var(--mono); font-size: 14px; }
.my-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.my-head-actions form { margin: 0; }
.my-wait { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1.5px solid var(--yellow-400); color: var(--fg); text-decoration: none; }
.my-wait .r-ic { width: 42px; height: 42px; border-radius: var(--r); display: grid; place-items: center; background: var(--yellow-400); color: var(--stone-950); }
.my-wait b { display: block; }
.my-wait small { color: var(--fg-2); }
.my-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.my-kpis div { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); box-shadow: var(--e1); }
.my-kpis div.hot { border-color: var(--yellow-400); background: var(--accent-softer); }
.my-kpis dt { color: var(--fg-muted); font-size: 13.5px; font-weight: 600; }
.my-kpis dd { margin: 0; font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; }
.my-kpis a { font-size: 13px; color: var(--accent-text); font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .my-kpis { grid-template-columns: 1fr 1fr; } }
.my-dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .my-dash { grid-template-columns: 1fr; } }
.my-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.my-quick a { display: grid; gap: 4px; padding: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--fg); transition: border-color .15s, translate .15s var(--ease); }
.my-quick a:hover { border-color: var(--yellow-400); translate: 0 -2px; }
.my-quick .icon { width: 22px; height: 22px; color: var(--accent-text); }
.my-quick b { font-size: 14.5px; }
.my-quick small { color: var(--fg-muted); font-size: 13px; line-height: 1.6; }
.my-colleague h3 { margin: 0 0 6px; font-size: 16px; }
.my-colleague p { margin: 0 0 12px; color: var(--fg-muted); font-size: 14px; }
.rrow .r-main { display: grid; gap: 2px; min-width: 0; }
.rrow .r-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .r-main b small { color: var(--fg-muted); font-size: 12px; font-weight: 600; }
@media (max-width: 560px) { .rrow { grid-template-columns: auto minmax(0, 1fr); } .rrow .pill-st { grid-column: 2; justify-self: start; } .my-wait { grid-template-columns: auto minmax(0, 1fr); } .my-wait .btn { grid-column: 1 / -1; } }
.stepper.card { padding: 18px 12px; }
.quote-call { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-xl); background: var(--ink); color: var(--stone-200); box-shadow: var(--e3); }
.quote-call b { color: var(--yellow-400); font-size: 18px; }
.quote-call p { margin: 4px 0 0; font-size: 14px; color: var(--stone-300); }
.quote-call strong { color: var(--stone-50); }
.quote-call form { margin: 0; }
@media (max-width: 640px) { .quote-call { grid-template-columns: 1fr; } }
.invoice { display: grid; gap: 16px; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.inv-head h2 { margin: 0; font-size: 20px; }
.inv-head small { color: var(--fg-muted); }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inv-parties > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); background: var(--muted); font-size: 14px; }
.inv-parties small { color: var(--fg-muted); font-size: 12px; }
@media (max-width: 560px) { .inv-parties { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.inv-table th, .inv-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
.inv-table thead th { color: var(--fg-muted); font-size: 13px; font-weight: 700; background: var(--muted); }
.inv-table tbody th { font-weight: 700; }
.inv-table small { display: block; color: var(--fg-muted); font-size: 12px; font-weight: 500; }
.inv-table .num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-sum { display: grid; gap: 6px; margin: 0; margin-inline-start: auto; width: min(360px, 100%); }
.inv-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.inv-sum dt { color: var(--fg-muted); }
.inv-sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.inv-sum .t { padding-top: 10px; border-top: 2px solid var(--fg); font-size: 18px; }
.inv-sum .t dt { color: var(--fg); font-weight: 800; }
.inv-sum .t dd { font-weight: 900; }
.inv-terms, .inv-reply { margin: 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--muted); font-size: 13.5px; color: var(--fg-2); white-space: pre-line; }
.chat { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; max-height: 480px; overflow-y: auto; }
.chat li { max-width: 82%; padding: 10px 14px; border-radius: var(--r-lg); background: var(--muted); }
.chat li.me { justify-self: start; background: var(--accent-soft); border-end-start-radius: 4px; }
.chat li.them { justify-self: end; border-end-end-radius: 4px; }
.chat p { margin: 0; white-space: pre-line; }
.chat small { color: var(--fg-muted); font-size: 11.5px; }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.addr summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; cursor: pointer; list-style: none; }
.addr summary::-webkit-details-marker { display: none; }
.addr summary .r-ic { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.addr summary b { margin-inline-end: 8px; }
.addr summary small { display: block; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr[open] summary { margin-bottom: 16px; }
.row-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--yellow-500); }

@media print {
  body > *:not(main), .phead, .stepper, .quote-call, .wiz-aside, #chat, .alert, .dock, .header, .footer, .tape { display: none !important; }
  main .split { display: block; }
  .invoice { box-shadow: none; border: 0; padding: 0; }
  .invoice ~ .card { break-inside: avoid; box-shadow: none; }
}

/* ───── سفارش و استعلام ───── */
.order-how { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.order-how li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 14px; border-radius: var(--r-full); background: var(--card); border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--fg-2); }
.order-how b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-400); color: var(--stone-950); font-size: 12px; }
.ol-lines { display: grid; gap: 10px; }
.ol-line { display: grid; grid-template-columns: minmax(0, 2.2fr) 110px 110px minmax(0, 1.4fr) 44px; grid-template-areas: "prod qty unit spec del" "title title title title title" "info info info info info"; gap: 6px 10px; align-items: end; padding: 12px; border-radius: var(--r-md); background: var(--muted); border: 1px solid var(--border); }
.ol-prod { grid-area: prod; } .ol-title { grid-area: title; } .ol-qty { grid-area: qty; } .ol-unit { grid-area: unit; } .ol-spec { grid-area: spec; }
.ol-line .field label { font-size: 13px; margin-bottom: 4px; }
.ol-line .field input, .ol-line .field select { min-height: 44px; }
.ol-title[hidden] { display: none; }
.ol-del { grid-area: del; width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; border: 1px solid var(--border); background: var(--card); color: var(--fg-muted); cursor: pointer; }
.ol-del:hover { color: var(--rise); border-color: var(--rise); }
.ol-info { grid-area: info; margin: 0; font-size: 13px; color: var(--fg-muted); min-height: 1em; }
.ol-info:empty { display: none; }
@media (max-width: 760px) {
  .ol-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "prod prod del" "title title title" "qty unit unit" "spec spec spec" "info info info"; }
}
.label-like { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--fg-2); }
.checks { display: flex; gap: 18px; flex-wrap: wrap; min-height: 48px; align-items: center; }
.otp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.otp-row .btn { min-height: 48px; }
[data-otp-box][hidden], [data-new-addr][hidden], [data-site-only][hidden] { display: none; }
.order-trust { list-style: none; margin: 0; padding: 4px 4px 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--fg-2); }
.order-trust li { display: flex; align-items: center; gap: 10px; }
.order-trust .icon { width: 18px; height: 18px; color: var(--accent-text); flex: none; }
.sum-card .btn-primary { width: 100%; margin-top: 4px; }
.dev-gate { display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--accent-softer); border: 1px solid color-mix(in srgb, var(--yellow-400) 40%, var(--border)); }
.dev-gate p { margin: 0; }
.wiz-sec > .sg { justify-self: start; }
.sum-total { flex-direction: column; align-items: flex-start; gap: 2px; }
.sum-total span { font-size: 13px; color: var(--stone-400); }

/* ───── بازار و اخبار ───── */
.mk-tabs { margin-top: 20px; }
.seg-a { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: var(--r); font-weight: 700; font-size: 13.5px; color: var(--fg-muted); text-decoration: none; white-space: nowrap; }
.seg-a[aria-current="true"] { background: var(--card); color: var(--fg); box-shadow: var(--e1); }

.chart { direction: ltr; margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 6px 10px; }
.chart-y { grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; text-align: end; padding-block: 12px; }
.chart-plot { position: relative; height: clamp(200px, 32vw, 300px); touch-action: pan-y; cursor: crosshair; }
.chart-plot svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart path.g { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart path.l { fill: none; stroke: currentColor; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart path.a { fill: currentColor; opacity: .05; }
.chart.up { color: var(--rise); } .chart.down { color: var(--fall); } .chart.flat { color: var(--flat); }
.chart-x { grid-column: 2; display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-muted); }
.chart-cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fg-muted); pointer-events: none; }
.chart-tip { position: absolute; translate: -50% 0; padding: 4px 10px; border-radius: var(--r); background: var(--ink); color: var(--stone-50); font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; direction: rtl; }
.chart-empty { margin: 0; padding: 32px 16px; text-align: center; color: var(--fg-muted); background: var(--muted); border-radius: var(--r-md); }
.mk-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mk-top .ncard.lead h3 { font-size: clamp(20px, 2.2vw, 26px); }
@media (max-width: 900px) { .mk-top { grid-template-columns: 1fr; } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 700; text-decoration: none; font-size: 14px; }
.idx-foot .chg { font-weight: 800; }

.ar-head { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--border); border-top: 6px solid var(--yellow-400); box-shadow: var(--e2); }
.ar-head.breaking { border-top-color: var(--rise); }

 

.ar-head h1 { margin: 0; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.55; }

.prose { font-size: 17.5px; line-height: 2.1; color: var(--fg); }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { font-size: 23px; margin-top: 1.6em; } .prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.prose blockquote { margin-inline: 0; padding: 12px 18px; border-inline-start: 4px solid var(--yellow-400); background: var(--accent-softer); border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; } .prose td, .prose th { border: 1px solid var(--border); padding: 6px 10px; }
/* جدولِ پهن (تحلیلِ روزانه، گزارشِ هفتگی) روی گوشی در جای خودش می‌لغزد، نه کلِ صفحه */
@media (max-width: 760px) { .prose table { display: block; overflow-x: auto; white-space: nowrap; } }
.prose th { background: var(--muted); font-weight: 700; text-align: start; }
.prose p[dir="ltr"] { text-align: left; unicode-bidi: plaintext; font-variant-numeric: tabular-nums; }
.prose a { color: var(--accent-text); }

.today-prev canvas { width: 100%; height: auto; display: block; border-radius: var(--r-md); }
.phead + .section.tight { padding-top: 12px; }
@media (max-width: 480px) { .kind-cards { grid-template-columns: 1fr; } .order-how { display: none; } }

/* ───── صفحه‌ی اول: آهن‌فروشیِ دیجیتال (بازطراحی ۲ آبان) ───── */
.hx { padding-block: clamp(44px, 6vw, 84px) clamp(110px, 11vw, 150px); }

/* واژه‌ی کلیدیِ گوگل درونِ همان h1 (سئو، ۷ آبان ۱۴۰۵): یک خطِ کوچکِ زرد بالای تیتر */

/* گوشی: قیمت اول — تیتر، بلافاصله تابلوی زنده، بعد متن و دکمه‌ها؛ فهرستِ ویژگی‌ها (در گام‌های پایین هم هست) پنهان */

 

    
 

 

@keyframes hd-fill { from { width: 30%; } to { width: 92%; } }

/* گوشیِ نمادین بی عدد: قیمت‌ها جای دیگرِ همین صفحه هستند، این‌جا فقط «نصب‌شدنی و زنده» */

/* کارتِ قیمتِ سریع: تغییر با فلش و درصد درشت‌تر؛ «افزودن» روی گوشی با برچسب و ۴۴ پیکسل */

@media (max-width: 760px) {
  .qp { grid-template-areas: "n n" "p c" "add add"; }
  
  
}
/* خبرِ بی عکس: فقط متن، بی جانگهدار */
.ncard.text-only { grid-template-rows: 1fr; border-top: 4px solid var(--yellow-400); }
.ncard.lead.text-only .n-body { padding: 24px; }
.ncard.lead.text-only h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.6; }
.nrow.text-only { grid-template-columns: minmax(0, 1fr); border-inline-start: 3px solid var(--border-strong); border-start-start-radius: 0; border-end-start-radius: 0; }
.wiz-sec[hidden] { display: none; }

/* ───── برگه‌ی پیش‌فاکتور و فاکتور (پنل، «حسابِ من» و پیوندِ /d/…؛ ۴ آبان ۱۴۰۵) ───── */
/* برگه‌ی سند روی صفحه (همان محتوای PDF) */
.sheet { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--e1); overflow: hidden; }
.sheet-band { height: 5px; background: var(--yellow-400); }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.sheet-head h2 { margin: 0; font-size: 21px; }
.sheet-head .no { font: 800 15px/1.6 var(--font); font-variant-numeric: tabular-nums; }
.sheet-head .meta { color: var(--fg-muted); font-size: 13.5px; line-height: 1.9; }
.sheet-buyer { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 20px; padding: 14px 20px; background: var(--muted); font-size: 14px; line-height: 1.9; }
.sheet-buyer b { font-size: 16px; }
.sheet-buyer small { color: var(--fg-muted); }
.sheet .totals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 16px; padding: 16px 20px; border-top: 1px solid var(--border); }
@media (max-width: 700px) { .sheet .totals { grid-template-columns: 1fr; } }
.sheet .totals dl { margin: 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.sheet .totals dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-bottom: 1px solid var(--border); font-size: 14px; font-variant-numeric: tabular-nums; }
.sheet .totals dl div:last-child { border-bottom: 0; }
.sheet .totals dl .grand { background: var(--yellow-400); color: var(--stone-950); font-weight: 800; font-size: 16px; }
.sheet .totals dl .due { font-weight: 800; }
.sheet .totals dl .due.bad dd { color: var(--bad); }
.sheet .totals dd { margin: 0; }
.sheet .words { padding: 10px 12px; border-radius: var(--r); background: var(--accent-softer); font-size: 14px; line-height: 1.9; align-self: start; }
.sheet .terms { padding: 4px 20px 18px; color: var(--fg-2); font-size: 13.5px; line-height: 1.9; }
.sheet .terms ul { margin: 4px 0 0; padding-inline-start: 1.2em; }
.sheet .spec { display: block; color: var(--fg-muted); font-size: 13px; }
.sheet.void .table-wrap, .sheet.void .totals { opacity: .6; }
.void-note { padding: 10px 20px; background: var(--bad-soft); color: var(--bad); font-weight: 700; }

.sheet-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet-table th { text-align: start; font-weight: 600; font-size: 13px; color: #fff; background: var(--stone-900); padding: 9px 12px; white-space: nowrap; }
.sheet-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.sheet-table .num { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sheet-table .sub { color: var(--fg-muted); font-size: 12px; }
.sheet .scroll { overflow-x: auto; }
.sheet-st { display: inline-block; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 26px; background: var(--muted); color: var(--fg-2); white-space: nowrap; }
.sheet-st.info, .sheet-st.warn { background: var(--accent-soft); color: var(--accent-text); }
.sheet-st.ok { background: var(--fall-soft); color: var(--fall); }
.sheet-st.bad { background: var(--rise-soft); color: var(--rise); }
.sheet .terms .note-internal { padding: 8px 12px; border-radius: 8px; background: var(--accent-softer); }
.doc-balance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.doc-balance small { display: block; color: var(--fg-muted); font-size: 13px; }
.doc-balance b { font-size: 18px; font-variant-numeric: tabular-nums; }
.doc-balance .due b { color: var(--rise); }
@media (max-width: 560px) { .doc-balance { grid-template-columns: 1fr; } }
.doc-pays { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.doc-pays small { color: var(--fg-muted); }

/* کادرهای مهر و امضا زیرِ برگه (همان PDF) و پیش‌نمایشش در تنظیمات */
.sheet-sign, .stamp-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px 20px; }
.stamp-preview { padding: 0; margin: 16px 0 10px; max-width: 640px; }
.sheet-sign .box, .stamp-preview .box { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--card); }
.sheet-sign .cap, .stamp-preview .cap { display: block; padding: 5px; text-align: center; font-size: 13px; font-weight: 700; color: var(--fg-2); background: var(--muted); border-bottom: 1px solid var(--border); }
.sheet-sign .imgs, .stamp-preview .imgs { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 96px; padding: 8px; background: #fff; }
.sheet-sign img, .stamp-preview img { max-height: 84px; max-width: 46%; object-fit: contain; }
.sheet-sign small, .stamp-preview em { color: #57534E; font-size: 13px; }
.stamp-thumb { max-height: 80px; max-width: 100%; display: block; margin-bottom: 8px; background: #fff; border-radius: 8px; padding: 4px; }

/* تلفن‌های فروشنده روی برگه: ثابت‌ها زیرِ هم، همراه‌ها زیرِ هم */
.seller-phones { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 2px 0 4px; color: var(--fg-muted); font-size: 13px; line-height: 1.7; }
.seller-phones > div { display: flex; gap: 6px; }
.seller-phones .nums { display: grid; justify-items: start; font-variant-numeric: tabular-nums; color: var(--fg-2); }

/* سفارش: کادرِ ورود برای مهمان (۶ آبان ۱۴۰۵؛ ثبت فقط پس از ورود) */
.order-gate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 18px; margin-bottom: 18px; padding: 18px 20px; border-radius: var(--r-lg);
    background: var(--accent-softer); border: 1px solid color-mix(in srgb, var(--yellow-400) 45%, var(--border)); border-inline-start: 4px solid var(--yellow-400); }
.og-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--stone-950); color: var(--yellow-400); }
.og-ic .icon { width: 22px; height: 22px; }
.og-text h2 { margin: 0 0 4px; font-size: 17px; line-height: 1.7; }
.og-text p { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.9; }
@media (max-width: 640px) { .order-gate { grid-template-columns: auto minmax(0, 1fr); } .order-gate .btn { grid-column: 1 / -1; justify-content: center; } }

/* «یک قیمت، همه‌جا» (۶ آبان ۱۴۰۵): قیمتِ زنده وسط، شش جایی که مشتری همان عدد را می‌بیند دورش؛ سیم‌ها با پالسِ زرد از تابلو به بیرون */
.one-head { max-width: 640px; margin-bottom: clamp(20px, 3vw, 34px); }
.one-head h2 { margin: 10px 0 10px; color: var(--stone-50); font-size: clamp(24px, 3vw, 36px); }
.one-head p { margin: 0; color: var(--stone-300); line-height: 2; }
.one-map { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(230px, 290px) 64px minmax(0, 1fr); align-items: stretch; }
.one-col { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.one-node { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 74px; padding: 12px 14px; border-radius: var(--r-lg); text-decoration: none;
    background: rgb(255 255 255 / .04); border: 1px solid var(--ink-line); color: var(--stone-50); transition: border-color .18s, background .18s, translate .18s var(--ease); }
.one-node:hover { border-color: color-mix(in srgb, var(--yellow-400) 60%, transparent); background: rgb(255 255 255 / .07); translate: 0 -2px; }
.one-node b { display: block; font-size: 15px; }
.one-node small { display: block; color: var(--stone-400); font-size: 13px; line-height: 1.7; }
.on-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgb(250 204 21 / .1); color: var(--yellow-400); }
.on-ic .icon { width: 21px; height: 21px; }
.one-wire { width: 100%; height: 100%; overflow: visible; }
.one-wire .w { fill: none; stroke: rgb(255 255 255 / .16); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.one-wire .p { fill: none; stroke: var(--yellow-400); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 9 91;
    animation: one-run 2.6s linear infinite; filter: drop-shadow(0 0 4px rgb(250 204 21 / .7)); }
@keyframes one-run { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.one-hub { align-self: center; display: grid; justify-items: center; gap: 4px; padding: 22px 18px; border-radius: var(--r-xl); text-align: center; text-decoration: none;
    background: var(--yellow-400); color: var(--stone-950); box-shadow: 0 0 0 6px rgb(250 204 21 / .14), 0 18px 44px rgb(0 0 0 / .45); }
.oh-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; }
.oh-name { margin-top: 6px; font-size: 14px; font-weight: 700; }
.oh-price { font-size: clamp(28px, 3vw, 36px); font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.oh-unit { font-size: 13px; font-weight: 600; opacity: .75; }
.oh-meta { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgb(0 0 0 / .14); font-size: 12px; font-weight: 600; opacity: .8; }
@media (max-width: 960px) {
    .one-map { grid-template-columns: 1fr 1fr; gap: 12px; }
    .one-wire { display: none; }
    .one-hub { grid-column: 1 / -1; order: -1; justify-self: stretch; margin-bottom: 4px; }
    .one-col { display: contents; }
    .one-col li { display: contents; }
    .one-node { min-height: 0; }
}
@media (max-width: 480px) { .one-map { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .one-wire .p { display: none; } }

/* درباره‌ی ما (بازطراحی ۶ آبان ۱۴۰۵) */
.ab-hero h1 { margin: 8px 0 6px; }
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ab-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-full); background: rgb(255 255 255 / .06); border: 1px solid var(--ink-line); color: var(--stone-200); font-size: 13.5px; font-weight: 600; }
.ab-chips .icon { width: 15px; height: 15px; color: var(--yellow-400); }
.ab-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ab-facts { display: grid; gap: 4px; padding: 24px; border-radius: var(--r-xl); background: var(--stone-950); }
.ab-facts > div { padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.ab-facts b { display: block; color: var(--yellow-400); font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ab-facts span { color: var(--stone-300); font-size: 14px; }
.ab-facts .link-arrow { margin-top: 12px; color: var(--yellow-400); }
.ab-do { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ab-card { display: grid; align-content: start; gap: 4px; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); box-shadow: var(--e1); color: var(--fg); text-decoration: none; transition: border-color .18s, translate .18s var(--ease); }
.ab-card:hover { border-color: var(--yellow-400); translate: 0 -2px; }
.ab-card h3 { margin: 6px 0 0; font-size: 17px; }
.ab-card p { margin: 0; color: var(--fg-muted); font-size: 14px; line-height: 1.9; }
.ab-visit { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--border); box-shadow: var(--e1); }
.ab-visit h2 { margin: 8px 0 12px; }
.ab-addr { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; color: var(--fg-2); line-height: 1.9; }
.ab-addr .icon { width: 18px; height: 18px; margin-top: 5px; flex: none; color: var(--yellow-500); }
.ab-visit .btn-row { margin-top: 14px; }
.ab-call { display: grid; gap: 10px; }
.ab-call a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--muted); color: var(--fg); font-size: 18px; font-weight: 800; text-decoration: none; }
.ab-call a:not(.btn) .icon { width: 18px; height: 18px; color: var(--yellow-500); }
/* ماکتِ سه‌بعدیِ انبار: خودش پایه و سایه دارد؛ بی قاب و بی بریدن */
.ab-yard { margin: 0; }
.ab-yard img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--e2); }

@media (max-width: 1000px) { .ab-do { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .ab-story, .ab-visit { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ab-do { grid-template-columns: 1fr; } }
/* ───── صفحه‌ی گروهِ کالا (سئو، ۷ آبان ۱۴۰۵) ───── */
.board-head .bh-link { color: inherit; text-decoration: none; }
.board-head .bh-link:hover { color: var(--link, inherit); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose h2 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 12px; }
.prose a { font-weight: 700; }
.cat-faq-title { font-size: clamp(19px, 2vw, 22px); margin: 36px 0 14px; }

/* ───── جدولِ وزن (سئو، ۷ آبان ۱۴۰۵) ───── */
.wt { display: grid; gap: 22px; }
.wt .board { scroll-margin-top: 90px; }
.wt .board-head h2 { margin: 0; font-size: 18px; }
.wt-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* جدولِ واقعی حتی روی گوشی (نه کارت‌های ptable)، با لغزشِ افقی؛ ستونِ سایز می‌چسبد */
table.wt-table { width: 100%; min-width: 560px; border-collapse: collapse; }
table.wt-table th { text-align: start; font-size: 13px; font-weight: 600; color: var(--fg-muted); padding: 10px 16px; background: var(--muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
table.wt-table td, table.wt-table th[scope="row"] { padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--card); color: var(--fg); font-size: 14.5px; }
table.wt-table tbody tr:last-child > * { border-bottom: 0; }
table.wt-table th[scope="row"] { position: sticky; inset-inline-start: 0; z-index: 1; }
@media (hover: hover) { table.wt-table tbody tr:hover > * { background: var(--accent-softer); } }
table.wt-table th[scope="row"] { font-weight: 700; white-space: nowrap; }
table.wt-table th[scope="row"] a { color: inherit; text-decoration: none; }
table.wt-table th[scope="row"] a:hover { text-decoration: underline; text-underline-offset: 4px; }
table.wt-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wt-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wt-toc a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ink-line); color: var(--stone-200); text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s; }
.wt-toc a:hover { border-color: var(--yellow-400); color: var(--yellow-400); }

/* ───── جدولِ قیمتِ گروه، کارتِ کارشناس (۷ آبان ۱۴۰۵) ───── */
.px-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .px-layout { grid-template-columns: minmax(0, 1fr); } }
.px { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.px-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); }
.px-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; }
.px-filters label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--fg-muted); }
.px-filters select { min-width: 120px; height: 40px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--bg); color: var(--fg); font: inherit; }
.px-filters .px-vat { display: flex; align-items: center; gap: 8px; height: 40px; color: var(--fg); font-size: 14px; }
.px-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.px-table td .p-price { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.px-table .px-go { display: flex; gap: 6px; justify-content: flex-end; }
.px-table .px-go .icon-btn { width: 38px; height: 38px; }
.px-side { display: grid; gap: 14px; position: sticky; top: calc(var(--hdr-h) + 16px); }
.xp { display: grid; gap: 14px; }
.xp-head { display: flex; align-items: center; gap: 12px; }
.xp-head b { display: block; font-size: 16px; }
.xp-head small { color: var(--fg-muted); font-size: 13px; }
.xp-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 900; font-size: 20px; flex: none; }
.xp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xp-acts .btn-primary { grid-column: 1 / -1; }
.px-tool { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.px-tool .icon { width: 28px; height: 28px; color: var(--accent-text); flex: none; }
.px-tool b { display: block; font-size: 15px; }
.px-tool small { color: var(--fg-muted); font-size: 13px; }
@media print {
  .px-layout { display: block; }
  .px-group { break-inside: avoid; }
  .page-hero .btn-row, .page-hero .head-side { display: none !important; }
}

/* ───── صفحه‌ی نوشته: «در این نوشته» و دسترسیِ سریع ───── */
.ar-toc h3, .ar-quick h3 { margin: 0 0 10px; font-size: 16px; }
.ar-toc ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.ar-toc a { color: var(--fg-2); text-decoration: none; }
.ar-toc a:hover { color: var(--accent-text); }
.ar-quick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.prose h2[id] { scroll-margin-top: calc(var(--hdr-h) + 20px); }

/* ───── دانشنامه و کارخانه‌ها ───── */
.gd { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 20px; }
.gd-cat header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.gd-cat h2 { margin: 0; font-size: 20px; flex: 1; }
.gd-cat p { color: var(--fg-2); line-height: 2; margin: 0 0 10px; }
.gd-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.fc-card { display: grid; gap: 6px; justify-items: start; text-decoration: none; color: var(--fg); transition: border-color .15s, translate .15s; }
.fc-card:hover { border-color: var(--yellow-400); translate: 0 -2px; }
.fc-mark { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--ink); color: var(--yellow-400); font-weight: 900; font-size: 22px; }
.fc-card b { font-size: 17px; }
.fc-card small { color: var(--fg-muted); font-size: 13px; }
.px-table .add-btn { width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--card); color: var(--fg-2); display: grid; place-items: center; cursor: pointer; transition: background-color .15s, color .15s, scale .15s var(--ease); }
.px-table .add-btn svg { width: 16px; height: 16px; }
.px-table .add-btn:hover, .px-table .add-btn.in-cart { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.px-table .px-go .icon-btn .icon { width: 16px; height: 16px; }

/* ───── شش گامِ خرید و قوانینِ سفارش (۷ آبان ۱۴۰۵) ───── */

.rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: r; max-width: 860px; }
.rules li { counter-increment: r; padding: 16px 20px 16px 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border); }
.rules h3 { margin: 0 0 4px; font-size: 16.5px; }
.rules h3::before { content: counter(r, persian) ". "; color: var(--accent-text); }
.rules p { margin: 0; color: var(--fg-2); line-height: 1.95; }
.order-rules-link { margin-top: 10px; }

/* ───── صفحه‌ی اول: قیمت روزِ هر کالا (۷ آبان ۱۴۰۵) ───── */

/* ───── بازار: موضوع‌ها (مقاله‌های هر کالا) ───── */
.mk-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.mk-topic { display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--fg); font-weight: 700; font-size: 14.5px; text-align: center; transition: border-color .15s; }
.mk-topic:hover, .mk-topic[aria-current="true"] { border-color: var(--yellow-400); }
.gd-topics .chip, .ar-quick-row .chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: var(--r-full); background: var(--muted); border: 1px solid var(--border); color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .15s, background-color .15s; }
.gd-topics .chip:hover, .ar-quick-row .chip:hover { border-color: var(--yellow-400); background: var(--accent-softer); }
@media (max-width: 700px) {
  .mk-topics { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 4px; scrollbar-width: none; }
  .mk-topic { flex: 0 0 104px; padding: 10px 6px; font-size: 13px; }
  .mk-topic svg { width: 30px !important; height: 30px !important; }
  .px-bar { padding: 12px; }
  .px-filters select { min-width: 0; width: 100%; }
  .px-filters label { flex: 1 1 130px; }
}
/* روی گوشی محلِ تحویل (تقریباً همیشه انبارِ شهر) و دکمه‌ی نمودار (سایز هم به نمودار می‌رود) کنار می‌روند تا قیمت و افزودن بی‌اسکرول دیده شوند */
@media (max-width: 600px) {
  table.px-table { min-width: 0; }
  .px-table .px-del, .px-table .px-chart { display: none; }
  table.px-table th, table.px-table td, table.px-table th[scope="row"] { padding-inline: 8px; }
  .px-table .chg .pct, .px-table .px-unit { display: none; }
  .px-table td .p-price { font-size: 15.5px; }
}

/* ───── صفحه‌ی اول (بازطراحیِ دوم، ۷ آبان ۱۴۰۵؛ الهام از آهن‌آنلاین و فولاد ایرانیان) ───── */
/* نشانه‌های «سطحِ روشنِ صفحه» تا جدول و کارتِ کارشناس درونِ نوارِ تیره همان رنگِ صفحه را داشته باشند (روز سفید، شب تیره) */
:root { --sf-card: #FFFFFF; --sf-muted: var(--stone-100); --sf-border: var(--stone-200); --sf-fg: var(--stone-900); --sf-fg2: var(--stone-700); --sf-mute: var(--stone-600); --sf-accent: var(--yellow-700); --sf-rise: var(--red-700); --sf-rise-soft: var(--red-50); --sf-fall: var(--green-700); --sf-fall-soft: var(--green-50); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sf-card: #171412; --sf-muted: var(--stone-800); --sf-border: #2A2623; --sf-fg: var(--stone-50); --sf-fg2: var(--stone-300); --sf-mute: var(--stone-400); --sf-accent: var(--yellow-400); --sf-rise: var(--red-400); --sf-rise-soft: rgb(239 68 68 / .14); --sf-fall: var(--green-400); --sf-fall-soft: rgb(16 185 129 / .14); } }
:root[data-theme="dark"] { --sf-card: #171412; --sf-muted: var(--stone-800); --sf-border: #2A2623; --sf-fg: var(--stone-50); --sf-fg2: var(--stone-300); --sf-mute: var(--stone-400); --sf-accent: var(--yellow-400); --sf-rise: var(--red-400); --sf-rise-soft: rgb(239 68 68 / .14); --sf-fall: var(--green-400); --sf-fall-soft: rgb(16 185 129 / .14); }
.surface { --card: var(--sf-card); --muted: var(--sf-muted); --border: var(--sf-border); --fg: var(--sf-fg); --fg-2: var(--sf-fg2); --fg-muted: var(--sf-mute); --accent-text: var(--sf-accent); --rise: var(--sf-rise); --rise-soft: var(--sf-rise-soft); --fall: var(--sf-fall); --fall-soft: var(--sf-fall-soft); background: var(--card); color: var(--fg); }

/* عنوانِ وسط‌چین با دو خط (مثلِ «—— محصولات ——») */
.hp-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.rule-title { flex: 1; display: flex; align-items: center; gap: 18px; margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; }
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.rule-title span { flex: none; }

/* ۱. اسلایدر (بازطراحیِ ۷ آبان ۱۴۰۵): قابِ زردِ کم‌رنگ هم‌رنگِ عکس‌های کالا (var(--frame-bg)) تا عکس بی‌درز در قاب بنشیند؛
   متنِ تیره، یک دکمه و یک پیوند؛ زیرِ قاب زبانه‌های نام‌دار با نوارِ زمان که خودش اسلاید را جلو می‌برد (site.js، animationend) */
.hs2 { padding-top: 18px; }
.hs2-frame {
  --fg: var(--stone-900); --fg-2: var(--stone-700); --rise: var(--red-700); --rise-soft: var(--red-50); --fall: var(--green-700); --fall-soft: var(--green-50);
  position: relative; border-radius: 28px; overflow: hidden; background: var(--frame-bg); color: var(--stone-900); box-shadow: 0 18px 40px -26px rgb(68 52 0 / .45); border: 1px solid rgb(120 90 0 / .08);
}
.hs2 .hs-track { display: flex; overflow: hidden; touch-action: pan-y; --i: 0; }
.hs2-slide { position: relative; flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; min-height: 440px; transform: translateX(calc(var(--i) * 100% * var(--rtl, 1))); transition: transform .75s var(--ease); }
.hs2-copy { position: relative; z-index: 1; padding: 44px clamp(24px, 4.5vw, 64px); }
.hs2-kicker { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--r-full); background: var(--stone-900); color: var(--yellow-300); font-size: 13.5px; font-weight: 800; }
.hs2-title { margin: 16px 0 12px; font-size: clamp(28px, 3.2vw, 46px); font-weight: 900; line-height: 1.32; color: var(--stone-950); }
.hs2-copy p { margin: 0 0 20px; max-width: 31em; color: var(--stone-700); font-size: 16.5px; line-height: 1.95; }
.hs2-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.hs2-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; background: rgb(255 255 255 / .72); border: 1px solid rgb(120 90 0 / .1); color: var(--stone-900); font-size: 13.5px; text-decoration: none; transition: background-color .15s; }
.hs2-chips a:hover { background: #fff; }
.hs2-chips b { font-weight: 900; font-variant-numeric: tabular-nums; }
.hs2-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.hs2-link { color: var(--stone-900); font-weight: 800; text-decoration: underline; text-decoration-color: rgb(28 25 23 / .3); text-underline-offset: 6px; }
.hs2-link:hover { text-decoration-color: var(--stone-900); }
.hs2-art { position: relative; align-self: stretch; min-height: 100%; }
/* عکس تا لبه‌ی قاب می‌رود و لبه‌ی کنارِ متن نرم محو می‌شود (زمینه‌ها یکی‌اند، درز دیده نمی‌شود) */
.hs2-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 18%); mask-image: linear-gradient(to left, transparent 0, #000 18%); }
[dir="ltr"] .hs2-art img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%); mask-image: linear-gradient(to right, transparent 0, #000 18%); }
/* زبانه‌ها */
.hs2-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: rgb(255 255 255 / .5); border-top: 1px solid rgb(120 90 0 / .1); }
.hs2-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 12px; border: 0; background: transparent; color: var(--stone-600); font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; transition: background-color .2s, color .2s; }
.hs2-tabs button + button { border-inline-start: 1px solid rgb(120 90 0 / .1); }
.hs2-tabs button:hover { color: var(--stone-900); background: rgb(255 255 255 / .45); }
.hs2-tabs button[aria-current="true"] { color: var(--stone-950); background: rgb(255 255 255 / .8); }
.hs2-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgb(28 25 23 / .07); font-size: 12.5px; }
.hs2-tabs button[aria-current="true"] .hs2-n { background: var(--stone-900); color: var(--yellow-300); }
.hs2-bar { position: absolute; inset-inline: 0; top: -1px; height: 3px; }
.hs2-tabs button[aria-current="true"] .hs2-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--stone-900); animation: hs2-run 7s linear forwards; }
.hs2[data-paused] .hs2-bar::after { animation-play-state: paused !important; }
@keyframes hs2-run { to { width: 100%; } }
.hs2-tabs button:focus-visible { outline: 3px solid var(--stone-900); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .hs2-slide { transition: none; } .hs2-tabs button[aria-current="true"] .hs2-bar::after { animation: none; width: 100%; } }
@media (max-width: 860px) {
  .hs2-frame { border-radius: 22px; }
  .hs2-slide { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; }
  .hs2-art { order: -1; height: 210px; min-height: 0; }
  .hs2-art img { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }
  .hs2-copy { padding: 4px 20px 22px; }
  .hs2-title { font-size: 25px; margin-top: 10px; }
  .hs2-copy p { font-size: 14.5px; margin-bottom: 14px; }
  .hs2-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .hs2-chips a { white-space: nowrap; }
  .hs2-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .hs2-tabs button { flex: 0 0 auto; min-height: 50px; padding: 10px 14px; font-size: 13.5px; }
}

/* ۲. جست‌وجو و نشانِ اعتماد */
.hq-bar { display: flex; gap: 12px; align-items: stretch; margin-top: 18px; }
.hq-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 56px; padding-inline: 16px 6px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--card); color: var(--fg-muted); font: inherit; font-size: 15px; text-align: start; cursor: pointer; box-shadow: var(--e1); transition: border-color .15s; }
.hq-search:hover { border-color: var(--yellow-400); }
.hq-search > .icon { width: 20px; height: 20px; flex: none; color: var(--yellow-600, var(--accent-text)); }
.hq-search > span:not(.btn) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hq-search .btn { flex: none; height: 44px; pointer-events: none; }
.hq-bar > .btn { height: 56px; }
.hq-call { display: inline-flex; gap: 10px; }
.hq-call b { font-weight: 800; font-variant-numeric: tabular-nums; }
.hq-trust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; list-style: none; margin: 0; padding: 14px 4px 0; color: var(--fg-2); font-size: 14px; font-weight: 600; }
.hq-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hq-trust .icon { width: 18px; height: 18px; color: var(--accent-text); }
@media (max-width: 860px) {
  .hq-bar { flex-wrap: wrap; }
  .hq-search { flex-basis: 100%; height: 52px; }
  .hq-search .btn { display: none; }
  .hq-bar > .btn { flex: 1 1 0; height: 48px; padding-inline: 10px; font-size: 14px; }
  .hq-call span { display: none; }
  .hq-trust { justify-content: flex-start; font-size: 13px; }
}

/* ۳. ردیفِ محصولات */
.hprod { padding-top: 34px; }
.hp-rail { position: relative; }
.hp-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; scroll-behavior: smooth; }
.hp-track::-webkit-scrollbar { display: none; }
.hp-card { scroll-snap-align: start; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; padding: 10px 10px 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); color: var(--fg); text-decoration: none; transition: border-color .15s, box-shadow .2s, translate .2s; }
.hp-card:hover { border-color: var(--yellow-400); box-shadow: var(--e2); translate: 0 -3px; }
.hp-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, #f4f7fb 0%, #e3e9f1 100%); margin-bottom: 8px; }
:root[data-theme="dark"] .hp-img { background: radial-gradient(ellipse at 50% 35%, #3a3632, #1c1917 80%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hp-img { background: radial-gradient(ellipse at 50% 35%, #3a3632, #1c1917 80%); } }
.hp-img img { width: 92%; height: 92%; transition: scale .2s var(--ease); }
.hp-card:hover .hp-img img { scale: 1.04; }
.hp-card b { font-size: 16.5px; font-weight: 800; }
.hp-card small { color: var(--fg-muted); font-size: 13px; }
.hp-card small strong { color: var(--fg); font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; }

.hp-arrow { position: absolute; top: 36%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--card); color: var(--fg); box-shadow: var(--e2); cursor: pointer; }
.hp-arrow:hover { background: var(--yellow-400); color: var(--stone-950); border-color: transparent; }
.hp-arrow .icon { width: 18px; height: 18px; }
.hp-arrow.prev { inset-inline-start: -16px; }
.hp-arrow.prev .icon { rotate: 180deg; }
.hp-arrow.next { inset-inline-end: -16px; }
.hp-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1100px) { .hp-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 860px) { .hp-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; } .hp-arrow { display: none; } }
@media (max-width: 560px) { .hp-track { grid-auto-columns: 44%; gap: 12px; }  }

/* ۴. قیمتِ روز با اجزای صفحه‌ی گروه (۷ آبان ۱۴۰۵) */

.hq { padding-top: 6px; }
/* ۵ و ۶ */
.hm-buy { padding-top: 40px; }

/* رندرِ فلزیِ کالا به جای نماد (۷ آبان ۱۴۰۵): تصویرِ ۴:۳ درونِ قابِ مربعی، بی‌برش */
img.pphoto { object-fit: contain; }
.m-ic img.pphoto, .cat-ic img.pphoto, .board-head .cat-ic .pphoto, .mega .m-ic .pphoto { width: 100%; height: 100%; padding: 2px; }

[dir="ltr"] .hs-track { --rtl: -1; }
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none; } }
svg.pline { flex: none; }
.board-head h2.px-gh { margin: 0; font-size: 18px; }

/* ───── متره و برآورد (۷ آبان ۱۴۰۵) ───── */
.es-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 16px; }
.es-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--card); color: var(--fg-2); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: background-color .15s, color .15s; }
.es-tabs button:hover { background: var(--muted); }
.es-tabs button[aria-selected="true"] { background: var(--stone-900); color: var(--stone-50); border-color: transparent; }
.es-tabs button[aria-selected="true"] .pline { color: var(--yellow-400); }
:root[data-theme="dark"] .es-tabs button[aria-selected="true"] { background: var(--yellow-400); color: var(--stone-950); }
.es-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.es-form { padding: 20px; }
.es-form .muted { margin: 0 0 16px; }
.es-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.es-fields label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--fg-2); }
.es-fields label[hidden] { display: none; }
.es-fields input, .es-fields select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--card); color: var(--fg); font: inherit; font-weight: 600; }
.es-fields input:focus, .es-fields select:focus { outline: 2px solid transparent; border-color: var(--yellow-500); box-shadow: 0 0 0 4px var(--ring); }
.es-out { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 10px; }
.es-result { padding: 20px; border-top: 4px solid var(--yellow-400); }
.es-empty { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--fg-muted); padding: 18px 6px; }
.es-empty .icon { width: 36px; height: 36px; color: var(--accent-text); }
.es-k { display: block; font-size: 13px; font-weight: 700; color: var(--fg-muted); }
.es-big { margin: 4px 0; }
.es-big b { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; }
.es-big small { color: var(--fg-2); font-weight: 700; }
.es-sub { margin: 0 0 14px; font-size: 13.5px; color: var(--fg-2); line-height: 1.9; }
.es-cost { display: grid; gap: 2px; padding: 14px; border-radius: var(--r-md); background: var(--accent-softer); margin-bottom: 14px; }
.es-cost b { font-size: 24px; font-weight: 900; }
.es-cost small { color: var(--fg-2); font-size: 12.5px; line-height: 1.8; }
table.es-break { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 8px; }
.es-break th, .es-break td { padding: 8px 6px; border-bottom: 1px solid var(--border); text-align: start; }
.es-break th { color: var(--fg-muted); font-weight: 700; font-size: 12.5px; }
.es-note { margin: 0 0 12px; color: var(--accent-text); font-size: 13px; font-weight: 600; }
.es-note:empty { display: none; }
.es-acts { display: grid; gap: 8px; }
.es-disc { margin: 0; color: var(--fg-muted); font-size: 12.5px; line-height: 1.9; }
.es-how { margin-top: 36px; max-width: 860px; }
@media (max-width: 960px) { .es-grid { grid-template-columns: minmax(0, 1fr); } .es-out { position: static; } }
@media (max-width: 560px) { .es-fields { grid-template-columns: minmax(0, 1fr); } .es-big b { font-size: 28px; } }

/* ───── استعلامِ هوشمند (۷ آبان ۱۴۰۵) ───── */
.qt-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full); background: rgb(250 204 21 / .14); color: var(--yellow-400); font-weight: 800; font-size: 13.5px; margin-top: 12px; }
.qt-badge .icon { width: 16px; height: 16px; }
.qt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.qt-form { padding: 20px; display: grid; gap: 14px; }
.qt-head { display: flex; justify-content: space-between; align-items: center; }
.qt-form textarea { width: 100%; min-height: 190px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--muted); color: var(--fg); font: inherit; font-size: 15.5px; line-height: 2; resize: vertical; }
.qt-form textarea:focus { outline: 2px solid transparent; border-color: var(--yellow-500); box-shadow: 0 0 0 4px var(--ring); background: var(--card); }
.qt-file { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); border: 1.5px dashed var(--border-strong); cursor: pointer; }
.qt-file .icon { width: 22px; height: 22px; color: var(--accent-text); flex: none; }
.qt-file span { display: grid; gap: 2px; flex: 1; }
.qt-file small { color: var(--fg-muted); font-size: 12.5px; }
.qt-file input { max-width: 190px; font-size: 12.5px; }
.qt-err { margin: 0; padding: 10px 14px; border-radius: var(--r); background: var(--rise-soft); color: var(--rise); font-weight: 700; font-size: 14px; }
.qt-disc { margin: 0; color: var(--fg-muted); font-size: 12.5px; line-height: 1.9; }
/* خوانده‌شده با هوش مصنوعی (۹ آبان ۱۴۰۵): یادآوریِ مقایسه با لیستِ خود، بالای جمع */
.qt-ai { margin: 0; padding: 10px 20px; background: var(--frame-bg); color: var(--stone-900); font-size: 13.5px; font-weight: 700; line-height: 1.8; }
.qt-res { padding: 0; overflow: hidden; }
.qt-sum { display: grid; gap: 2px; padding: 18px 20px; background: var(--stone-900); color: var(--stone-50); }
.qt-sum span { color: var(--stone-400); font-size: 13px; font-weight: 700; }
.qt-sum b { font-size: 28px; font-weight: 900; color: var(--yellow-400); font-variant-numeric: tabular-nums; }
.qt-sum small { color: var(--stone-300); font-size: 12.5px; }
.qt-lines { list-style: none; margin: 0; padding: 0; }
.qt-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.qt-in { grid-column: 1 / -1; color: var(--fg-muted); font-size: 12.5px; }
.qt-prod { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 800; text-decoration: none; }
.qt-prod .pline { color: var(--accent-text); }
.qt-unit { color: var(--fg-muted); font-size: 12.5px; }
.qt-total { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.qt-note { grid-column: 1 / -1; color: var(--accent-text); font-size: 12.5px; font-weight: 600; }
.qt-lines li.warn { background: var(--accent-softer); }
.qt-acts { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px; }
.qt-help { padding: 20px; }
.qt-help h2 { margin: 0 0 10px; font-size: 18px; }
.qt-help ul { margin: 0; padding-inline-start: 20px; line-height: 2.1; color: var(--fg-2); }
@media (max-width: 900px) { .qt-grid { grid-template-columns: minmax(0, 1fr); } .qt-file { flex-wrap: wrap; } .qt-file input { max-width: 100%; } }

/* ───── تماس: کارتِ بزرگِ تلفن و کارشناسانِ هر کالا (۷ آبان ۱۴۰۵) ───── */
.ct-call { display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin-bottom: 18px; border-radius: var(--r-xl); background: var(--stone-900); color: var(--stone-50); text-decoration: none; box-shadow: var(--e2); }
.ct-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-400); color: var(--stone-950); flex: none; }
.ct-ic .icon { width: 28px; height: 28px; }
.ct-t { flex: 1; display: grid; gap: 2px; }
.ct-t small { color: var(--stone-400); font-weight: 700; }
.ct-t b { font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: var(--yellow-400); font-variant-numeric: tabular-nums; }
.ct-t span { color: var(--stone-300); font-size: 14px; }
.ct-experts { margin-top: 24px; }
.ct-experts h2 { font-size: 20px; margin: 0 0 12px; }
.ct-ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.ct-ex { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border); color: var(--fg); text-decoration: none; transition: border-color .15s; }
.ct-ex:hover { border-color: var(--yellow-400); }
.ct-ex .pline { color: var(--accent-text); }
.ct-ex > span:not(.ct-no) { flex: 1; display: grid; }
.ct-ex small { color: var(--fg-muted); font-size: 12.5px; }
.ct-no { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .ct-call { flex-wrap: wrap; } .ct-call .btn { width: 100%; } }

/* ───── منوی «ابزار و خدمات» (۷ آبان ۱۴۰۵) ───── */
.hdr .nav .nav-tools { display: inline-flex; align-items: center; gap: 6px; }
.nav-tools .i-chev { width: 13px; height: 13px; rotate: -90deg; transition: rotate .2s var(--ease); }
body:has(.tools-menu:popover-open) .nav .nav-tools .i-chev { rotate: 90deg; }
.hdr .nav .nav-tools-m { display: none; }
.tools-menu { position: fixed; inset: auto; top: var(--tm-top, 120px); right: var(--tm-right, 24px); margin: 0; width: min(560px, calc(100vw - 24px)); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--card); color: var(--fg); padding: 10px; box-shadow: var(--e4); }
.tools-menu:popover-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; animation: pop-in .18s var(--ease); }
.tools-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); color: var(--fg); text-decoration: none; transition: background-color .15s; }
.tools-menu a:hover { background: var(--muted); }
.tm-ic { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.tm-ic .icon { width: 20px; height: 20px; }
.tools-menu b { display: block; font-size: 14.5px; font-weight: 800; }
.tools-menu small { color: var(--fg-muted); font-size: 12.5px; }
.hdr .nav a, .hdr .nav button { padding-inline: 10px; }
@media (max-width: 1280px) {  .hdr .nav a, .hdr .nav button { padding-inline: 8px; font-size: 14px; } }
@media (max-width: 1100px) {
  .hdr .nav .nav-tools { display: none; }
  .hdr .nav .nav-tools-m { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-block: 6px; padding-block: 8px; border-block: 1px solid var(--border); }
  .nav-tools-m span { grid-column: 1 / -1; padding: 4px 12px; color: var(--fg-muted); font-size: 13px; font-weight: 700; }
  .hdr .nav .nav-tools-m a { padding: 9px 12px; font-size: 14.5px; color: var(--fg-2); }
}

/* کارتِ محصول به مدلِ نمونه‌ی کاربر (۷ آبان ۱۴۰۵): کارتِ سفیدِ گرد، قابِ عکسِ زردِ کم‌رنگ، عنوانِ درشتِ «قیمت …» */
.hp-card { gap: 2px; padding: 12px 12px 18px; border-radius: 26px; box-shadow: 0 10px 30px -18px rgb(28 25 23 / .35); }
.hp-img { border-radius: 20px; background: var(--frame-bg); margin-bottom: 14px; }
:root[data-theme="dark"] .hp-img { background: #3a3220; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hp-img { background: #3a3220; } }
.hp-img img.real { width: 100%; height: 100%; object-fit: cover; }
.hp-card b { font-size: clamp(18px, 1.7vw, 22px); font-weight: 900; }
.hp-card small { font-size: 13px; }

/* ───── سربرگ، بازطراحیِ ۷ آبان ۱۴۰۵: نوارِ باریکِ بالا، جست‌وجوی پررنگ‌تر، نشانِ صفحه‌ی فعال، دکمه‌ی استعلامِ هوشمند ───── */
.topbar { background: var(--muted); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--fg-2); }
.topbar-row { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.tb-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tb-item .icon { width: 15px; height: 15px; color: var(--accent-text); }
.tb-addr { min-width: 0; max-width: 360px; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.tb-addr .icon { vertical-align: -3px; margin-inline-end: 6px; }
.tb-fresh b { color: var(--fg); font-weight: 800; }
.tb-links { display: flex; gap: 4px; }
.tb-links a { padding: 4px 10px; border-radius: var(--r-sm); color: var(--fg-2); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tb-links a:hover { background: var(--card); color: var(--fg); }
@media (max-width: 1240px) { .tb-addr { display: none; } }
@media (max-width: 860px) { .topbar { display: none; } }
/* ردیفِ ابزار */
.hdr-logo img { height: 48px; }
.hdr-search { height: 48px; border: 1.5px solid var(--border-strong); background: var(--card); padding-inline: 14px 5px; }
.hdr-search:hover, .hdr-search:focus-visible { border-color: var(--yellow-400); }
.hdr-search .icon { color: var(--accent-text); }
.hdr-search-go { flex: none; height: 36px; padding: 0 16px; border-radius: var(--r-sm); background: var(--yellow-400); color: var(--stone-950); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.hdr-search kbd { display: none; }
@media (min-width: 1360px) { .hdr-search kbd { display: inline-block; } }
/* ردیفِ منو: نشانِ صفحه‌ی فعال، زیرخطِ زرد */
.hdr .nav > a, .hdr .nav > .nav-tools { position: relative; color: var(--fg-2); font-weight: 700; border-radius: var(--r-sm); }
.hdr .nav > a:hover, .hdr .nav > .nav-tools:hover { color: var(--fg); background: var(--muted); }
.hdr .nav > a[aria-current="page"], .hdr .nav > .nav-tools[aria-current="page"] { color: var(--fg); }
.hdr .nav > a[aria-current="page"]::after, .hdr .nav > .nav-tools[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 10px; bottom: -7px; height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow-400); }
.nav-ai { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-full); background: var(--stone-900); color: var(--stone-50); font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.nav-ai .icon { width: 16px; height: 16px; color: var(--yellow-400); }
.nav-ai:hover, .nav-ai[aria-current="page"] { background: var(--stone-800); }
:root[data-theme="dark"] .nav-ai { background: var(--yellow-400); color: var(--stone-950); }
:root[data-theme="dark"] .nav-ai .icon { color: var(--stone-950); }
@media (max-width: 1240px) { .nav-ai { padding: 0 10px; font-size: 13px; } }
@media (max-width: 1100px) { .nav-ai { display: none; } .hdr .nav > a[aria-current="page"]::after { display: none; } }
@media (max-width: 720px) { .hdr-logo img { height: 40px; } }
.hdr-search .hdr-search-go { flex: none; overflow: visible; }
.tb-addr { display: inline-flex; max-width: none; overflow: visible; }
.tb-addr .icon { margin: 0; vertical-align: 0; }
.tb-addr > span { max-width: 300px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hs2-chips { flex-wrap: nowrap; overflow: hidden; }
.hs2-chips a { white-space: nowrap; padding: 6px 10px; font-size: 13px; }
/* اسلایدِ کناری پس از پایانِ جابه‌جایی پنهان می‌شود تا لبه‌اش (خطای زیرپیکسلی) دیده نشود */
.hs2-slide { visibility: visible; transition: transform .75s var(--ease), visibility 0s; }
.hs2-slide[inert] { visibility: hidden; transition: transform .75s var(--ease), visibility 0s .75s; }

/* ───── قیمت روز، بازطراحیِ سوم (۷ آبان ۱۴۰۵): هم‌زبان با اسلایدر و کارت‌ها ─────
   کارتِ سفیدِ گرد ← قرص‌های گروه با عکسِ کوچک ← کارتِ ویترینِ زرد (عکس، بازه‌ی قیمت، کارشناس) کنارِ فهرستِ سبکِ قیمت‌ها */
.pz-frame { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 18px 40px -30px rgb(68 52 0 / .4); }
.pz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pz-head :is(h1, h2) { margin: 12px 0 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; line-height: 1.35; }
.pz-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full); background: var(--stone-900); color: var(--stone-200); font-size: 13px; font-weight: 700; }
.pz-kicker b { color: var(--yellow-300); font-weight: 800; }
.pz-all { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 800; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--fg) 30%, transparent); text-underline-offset: 6px; }
.pz-all .icon { width: 16px; height: 16px; }
.pz-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin-bottom: 16px; }
.pz-tabs::-webkit-scrollbar { display: none; }
.pz-tabs button { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding-inline: 6px 18px; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--card); color: var(--fg-2); font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.pz-tabs button:hover { border-color: var(--yellow-400); color: var(--fg); }
.pz-tabs button[aria-selected="true"] { background: var(--stone-900); color: var(--stone-50); border-color: transparent; }
.pz-thumb { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; background: var(--frame-bg); }
.pz-thumb img { width: 100%; height: 100%; object-fit: cover; scale: 1.3; }
.pz-tabs button[aria-selected="true"] .pz-thumb { box-shadow: 0 0 0 2px var(--yellow-400); }
.pz-panel[hidden] { display: none; }
.pz-panel:not([hidden]) { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: stretch; }
/* کارتِ ویترین: همیشه روشن، روی زردِ عکس‌ها */
.pz-show { --fg: var(--stone-900); --rise: var(--red-700); --rise-soft: rgb(220 38 38 / .1); --fall: var(--green-700); --fall-soft: rgb(5 150 105 / .1);
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--frame-bg); color: var(--stone-900); }

.pz-show-body { display: grid; gap: 10px; padding: 2px 20px 20px; }
.pz-show h3 { margin: 0; font-size: 22px; font-weight: 900; }
.pz-range { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
.pz-range small { color: var(--stone-600); font-size: 13px; }
.pz-range b { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pz-range span { color: var(--stone-600); }
.pz-meta { margin: 0; color: var(--stone-700); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.pz-meta .chg { font-weight: 700; }
.pz-go { justify-content: center; margin-top: 4px; }
.pz-expert { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgb(255 255 255 / .7); color: var(--stone-900); text-decoration: none; transition: background-color .15s; }
.pz-expert:hover { background: #fff; }
.pz-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--stone-900); color: var(--yellow-300); font-weight: 900; }
.pz-expert > span:nth-child(2) { display: grid; min-width: 0; }
.pz-expert b { font-size: 14px; font-weight: 800; }
.pz-expert small { color: var(--stone-600); font-size: 12px; }
.pz-call { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.pz-call .icon { width: 16px; height: 16px; }
/* فهرستِ قیمت‌ها */
.pz-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.pz-cols, .pz-list li { display: grid; grid-template-columns: minmax(0, 1fr) 180px 96px 38px; gap: 12px; align-items: center; padding: 12px 20px; }
.pz-cols { background: var(--muted); color: var(--fg-muted); font-size: 12.5px; font-weight: 700; }
.pz-list ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.pz-list li { border-bottom: 1px solid var(--border); transition: background-color .15s; }
.pz-list li:hover { background: var(--accent-softer); }
.pz-name { min-width: 0; color: var(--fg); text-decoration: none; }
.pz-name b { display: block; font-weight: 800; }
.pz-name small { display: block; color: var(--fg-muted); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pz-name:hover b { text-decoration: underline; text-underline-offset: 4px; }
.pz-price b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pz-price small { color: var(--fg-muted); font-size: 12px; margin-inline-start: 4px; }
.pz-add { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--card); color: var(--fg-2); cursor: pointer; transition: background-color .15s, color .15s, scale .15s var(--ease); }
.pz-add .icon { width: 16px; height: 16px; }
.pz-add:hover, .pz-add.in-cart { background: var(--yellow-400); color: var(--stone-950); border-color: transparent; }
.pz-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 12px 20px; background: var(--muted); }
.pz-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.pz-foot a:hover { color: var(--fg); }
.pz-foot .icon { width: 16px; height: 16px; color: var(--accent-text); }
@media (max-width: 1000px) {
  .pz-panel:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
  .pz-show { flex-direction: row; }
  
  .pz-show-body { flex: 1; padding: 18px; }
}
@media (max-width: 600px) {
  .pz-frame { border-radius: 22px; padding: 16px; }
  .pz-show { flex-direction: column; }
  
  .pz-show-body { padding: 4px 16px 16px; }
  .pz-cols { display: none; }
  .pz-list li { grid-template-columns: minmax(0, 1fr) auto 38px; padding: 12px 14px; }
  .pz-chg { display: none; }
  .pz-tabs button { height: 44px; font-size: 13.5px; }
  .pz-thumb { width: 32px; height: 32px; }
}
.pz-range small:first-child { flex-basis: 100%; }
.pz-range b { font-size: 24px; }
@media (max-width: 600px) {  .pz-range b { font-size: 21px; } .pz-show-body { gap: 8px; } }

/* ───── پانویس، بازطراحیِ ۷ آبان ۱۴۰۵: کارتِ زردِ «با کارشناس حرف بزنید» روی لبه‌ی صفحه‌ی تیره‌ی گرد ───── */
.ft2 { margin-top: clamp(40px, 5vw, 72px); }
.ft2-talk { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, .9fr); align-items: center; gap: 24px; padding: 28px clamp(22px, 3.5vw, 44px); border-radius: 28px; background: var(--frame-bg); color: var(--stone-900); overflow: hidden; margin-bottom: -64px; }
.ft2-kicker { display: inline-flex; padding: 6px 14px; border-radius: var(--r-full); background: var(--stone-900); color: var(--yellow-300); font-size: 13px; font-weight: 800; }
.ft2-talk h2 { margin: 12px 0 6px; font-size: clamp(20px, 2.1vw, 27px); font-weight: 900; line-height: 1.5; color: var(--stone-950); }
.ft2-talk p { margin: 0; color: var(--stone-700); font-size: 14.5px; }
.ft2-talk-acts { display: grid; gap: 10px; justify-items: stretch; }
.ft2-call { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 18px; background: #fff; color: var(--stone-950); text-decoration: none; transition: translate .15s; }
.ft2-call:hover { translate: 0 -2px; }
.ft2-call .icon { width: 22px; height: 22px; color: var(--stone-900); }
.ft2-call b { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; font-variant-numeric: tabular-nums; }
.ft2-talk-row { display: flex; gap: 8px; }
.ft2-talk-row .btn { flex: 1; justify-content: center; box-shadow: none; }
.ft2-wa { --b-bg: rgb(255 255 255 / .7); --b-fg: var(--stone-900); --b-bd: rgb(120 90 0 / .15); }
.ft2-talk-art { position: relative; align-self: stretch; min-height: 150px; margin-block: -28px; margin-inline-end: calc(-1 * clamp(22px, 3.5vw, 44px)); }
.ft2-talk-art img { position: absolute; width: 62%; height: auto; border-radius: 18px; }
.ft2-ph1 { inset-block-start: 18px; inset-inline-end: 22px; rotate: -4deg; }
.ft2-ph2 { inset-block-end: 14px; inset-inline-start: 6px; rotate: 5deg; }
/* صفحه‌ی تیره */
.ft2-panel { background: var(--stone-950); color: var(--stone-300); border-radius: 36px 36px 0 0; padding-top: 112px; }
.ft2-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 36px; }
.ft2-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.ft2-brand p { margin: 0 0 14px; color: var(--stone-400); font-size: 14px; line-height: 2; max-width: 30em; }
.ft2-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-full); background: rgb(255 255 255 / .06); color: var(--stone-300); font-size: 13px; margin-bottom: 14px; }
.ft2-live b { color: var(--yellow-300); }
.ft2-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.ft2-channels a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid rgb(255 255 255 / .12); color: var(--stone-200); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background-color .15s, border-color .15s; }
.ft2-channels a:hover { background: rgb(255 255 255 / .06); border-color: var(--yellow-400); }
.ft2-channels .icon { width: 17px; height: 17px; color: var(--yellow-400); }
/* نمادِ اینماد (۱۷ آبان ۱۴۰۵): روی کاغذِ سفیدِ خودش، کنارِ کانال‌ها؛ اندازه‌ی لوگوی برند (۵۶px) به آن نمی‌رسد */
.ft2-trust { display: inline-flex; margin-top: 16px; padding: 6px; border-radius: 14px; background: #fff; line-height: 0; }
.ft2-trust[hidden] { display: none; }
.ft2-brand .ft2-trust img { height: 92px; width: auto; margin: 0; }
.ft2-trust a:focus-visible { outline: 3px solid var(--yellow-400); outline-offset: 4px; border-radius: 10px; }
.ft2-col h3, .ft2-col .ft2-t { position: relative; margin: 6px 0 16px; padding-inline-start: 12px; color: var(--stone-50); font-size: 15px; font-weight: 800; }
.ft2-col h3::before, .ft2-col .ft2-t::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 3px; width: 3px; border-radius: 3px; background: var(--yellow-400); }
.ft2-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft2-col a { display: inline-flex; align-items: center; gap: 8px; color: var(--stone-300); font-size: 14px; text-decoration: none; transition: color .15s; }
.ft2-col a:hover { color: var(--yellow-300); }
.ft2-cats .pline { color: var(--yellow-400); }
/* نشانی، ساعت، تلفن‌ها */
.ft2-info { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; padding: 22px 0 30px; border-top: 1px solid rgb(255 255 255 / .08); }
.ft2-info-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 20px; background: rgb(255 255 255 / .04); }
.ft2-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--yellow-400); color: var(--stone-950); }
.ft2-ic .icon { width: 19px; height: 19px; }
.ft2-info-item small { display: block; color: var(--stone-400); font-size: 13px; margin-bottom: 2px; }
.ft2-info-item p { margin: 0; color: var(--stone-100); font-size: 14px; line-height: 1.9; }
.ft2-maps, .ft2-tel-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ft2-maps a, .ft2-tel-list a { padding: 5px 12px; border-radius: var(--r-full); background: rgb(255 255 255 / .07); color: var(--stone-100); font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .15s, color .15s; }
.ft2-tel-list a { font-variant-numeric: tabular-nums; font-size: 14px; }
.ft2-maps a:hover, .ft2-tel-list a:hover { background: var(--yellow-400); color: var(--stone-950); }
.ft2-legal { border-top: 1px solid rgb(255 255 255 / .08); }
.ft2-legal .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 14px; color: var(--stone-400); font-size: 13px; }
.ft2-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 0; background: var(--yellow-400); color: var(--stone-950); cursor: pointer; transition: translate .15s; }
.ft2-top:hover { translate: 0 -2px; }
.ft2-top .icon { width: 18px; height: 18px; rotate: 90deg; }
@media (max-width: 1100px) {
  .ft2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft2-brand { grid-column: 1 / -1; }
  .ft2-talk { grid-template-columns: minmax(0, 1fr) auto; }
  .ft2-talk-art { display: none; }
  .ft2-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ft2-talk { grid-template-columns: minmax(0, 1fr); border-radius: 22px; padding: 22px 18px; margin-bottom: -48px; }
  .ft2-panel { border-radius: 26px 26px 0 0; padding-top: 84px; }
  .ft2-grid { gap: 22px; }
  .ft2-legal .wrap { padding-bottom: 14px; }
}
/* روی گوشی فاصله‌ی زیرِ نوارِ شناور را خودِ پانویسِ تیره می‌گیرد، نه زمینه‌ی روشنِ صفحه */
@media (max-width: 720px) { body:has(.ft2) { padding-bottom: 0; } .ft2-legal { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ───── آیکون‌های رنگیِ دوتون (۷ آبان ۱۴۰۵) ───── */
img.cicon { object-fit: contain; flex: none; display: inline-block; }
.tm-ic { background: var(--frame-bg); }
.tm-ic img { width: 30px; height: 30px; }

.hq-trust li img { width: 26px; height: 26px; }
.ft2-ic { background: var(--frame-bg); width: 46px; height: 46px; border-radius: 14px; }
.ft2-ic img { width: 32px; height: 32px; }
/* روی زمینه‌ی تیره کاشیِ زردِ کم‌رنگ پشتِ آیکون تا خطِ تیره‌اش دیده شود */
.ft2-cats img.cicon, .es-tabs button[aria-selected="true"] img.cicon { background: var(--frame-bg); border-radius: 6px; padding: 1px; }
.ft2-cats img.cicon { width: 22px; height: 22px; }
.pz-foot img.cicon { width: 22px; height: 22px; }
.mega .m-ic { background: var(--frame-bg); box-shadow: none; }
.mega .m-ic img.cicon { width: 34px; height: 34px; padding: 0; }
.board-head .cat-ic { background: var(--frame-bg); box-shadow: none; }
.board-head .cat-ic img.cicon { width: 34px; height: 34px; padding: 0; }
/* صفحه‌ای که خودش نوارِ زردِ «قیمتِ نهایی را بپرسید» دارد، کارتِ زردِ پانویس را تکرار نمی‌کند */
body:has(main .cta) .ft2-talk { display: none; }
body:has(main .cta) .ft2-panel { padding-top: 48px; }
/* بسته‌ی آیکونِ نهایی (۷ آبان ۱۴۰۵): هر آیکون دایره‌ی زردِ خودش را دارد، پس کاشیِ پشتِ آیکون‌ها برداشته می‌شود */
.tm-ic, .ft2-ic, .mega .m-ic, .board-head .cat-ic { background: transparent; box-shadow: none; }
.tm-ic { width: 46px; height: 46px; }
.tm-ic img { width: 46px; height: 46px; }

.ft2-ic { width: 48px; height: 48px; }
.ft2-ic img { width: 48px; height: 48px; }
.mega .m-ic img.cicon, .board-head .cat-ic img.cicon { width: 42px; height: 42px; }
.ft2-cats img.cicon, .es-tabs button[aria-selected="true"] img.cicon { background: none; padding: 0; border-radius: 50%; }
.ft2-cats img.cicon, .pz-foot img.cicon { width: 26px; height: 26px; }
.hq-trust li img { width: 30px; height: 30px; }

/* ───── مسیرِ خرید (۷ آبان ۱۴۰۵) ───── */
.bp { --fg: var(--stone-900); background: var(--frame-bg); color: var(--stone-900); border-radius: 28px; padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 36px); box-shadow: var(--frame-shadow); }
.bp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.bp-kicker { display: inline-flex; padding: 6px 14px; border-radius: var(--r-full); background: var(--stone-900); color: var(--yellow-300); font-size: 13px; font-weight: 800; }
.bp-head h2 { margin: 12px 0 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; color: var(--stone-950); }
.bp-links { display: flex; align-items: center; gap: 16px; }
.bp-links > a:not(.btn) { color: var(--stone-900); font-weight: 800; text-decoration: underline; text-decoration-color: rgb(28 25 23 / .3); text-underline-offset: 6px; }
.bp-track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
/* خطِ راه پشتِ ایستگاه‌ها */
.bp-track::before { content: ""; position: absolute; inset-inline: calc(100% / 12); top: 36px; border-top: 3px dashed rgb(28 25 23 / .28); }
.bp-step { position: relative; text-align: center; }
.bp-node { position: relative; width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px -10px rgb(68 52 0 / .55); }
.bp-node img { width: 56px; height: 56px; }
.bp-n { position: absolute; top: -4px; inset-inline-end: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--stone-900); color: var(--yellow-300); font-size: 12.5px; font-weight: 800; box-shadow: 0 0 0 3px var(--frame-bg); }
.bp-step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 900; color: var(--stone-950); }
.bp-step p { margin: 0; color: var(--stone-700); font-size: 13.5px; line-height: 1.9; }
@media (max-width: 1000px) {
  .bp-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .bp-track::before { display: none; }
}
@media (max-width: 600px) {
  .bp { border-radius: 22px; }
  .bp-track { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  /* مسیرِ عمودی: خطِ راه کنارِ ایستگاه‌ها */
  .bp-track::before { display: block; inset-inline: auto; inset-inline-start: 31px; top: 30px; bottom: 30px; border-top: 0; border-inline-start: 3px dashed rgb(28 25 23 / .28); }
  .bp-step { display: flex; align-items: flex-start; gap: 14px; text-align: start; }
  .bp-node { width: 64px; height: 64px; margin: 0; flex: none; }
  .bp-node img { width: 50px; height: 50px; }
}
.hm-buy { padding-top: 40px; }

/* ───── کارتِ ویترین بی عکس: سرِ کارت با آیکون و نوارِ پراکندگیِ قیمت (۷ آبان ۱۴۰۵) ───── */
.pz-show-body { padding: 20px; gap: 12px; }
.pz-show-top { display: flex; align-items: center; gap: 12px; }
.pz-show-top img { width: 52px; height: 52px; }
.pz-show-top small { display: block; color: var(--stone-600); font-size: 12.5px; }
.pz-spread { padding: 10px 12px 12px; border-radius: 16px; background: rgb(255 255 255 / .6); }
.pz-track { position: relative; height: 30px; }
.pz-track::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: rgb(28 25 23 / .12); }
.pz-track i { position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; margin-inline-start: -6px; border-radius: 50%; background: var(--stone-900); box-shadow: 0 0 0 2px var(--frame-bg); cursor: help; transition: scale .15s; }
.pz-track i:hover { scale: 1.4; z-index: 1; }
.pz-ends { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--stone-900); }
.pz-ends span:last-child { text-align: end; }
.pz-ends small { display: block; color: var(--stone-600); font-weight: 600; }

/* ───── نمای بازار: کاشیِ عدد و نمودار ───── */
.mv-row { gap: 12px; }
.mv .mkc { gap: 6px; padding: 16px 18px 14px; border: 0; border-radius: 20px; background: var(--muted); box-shadow: none; transition: background-color .15s, translate .15s; }
.mv .mkc:hover { background: var(--accent-softer); translate: 0 -2px; }
.mv .idx-name { font-weight: 800; }
.mv .idx-val { font-size: 26px; font-weight: 900; }
.mv .spark-w, .mv .spark { height: 56px; }
.spark-w { position: relative; display: block; }
.spark-w .spark { display: block; width: 100%; }
.spark-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px var(--card); }
.mv .spark-dot { box-shadow: 0 0 0 2px var(--muted); }
.mkc.up .spark-w { color: var(--rise); } .mkc.down .spark-w { color: var(--fall); } .mkc.flat .spark-w { color: var(--flat); }
.mkc .spark path.a { opacity: .1; }

/* ───── تحلیل و اخبار: مجله‌ای ───── */
.nw-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .95fr); gap: 16px; align-items: stretch; }
.nw-grid.no-tw { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.nw-lead { --fg: var(--stone-900); display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--frame-bg); color: var(--stone-900); text-decoration: none; transition: translate .15s, box-shadow .15s; }
.nw-lead:hover { translate: 0 -2px; box-shadow: 0 16px 30px -22px rgb(68 52 0 / .6); }
.nw-cover { margin: -22px -22px 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px 22px 0 0; }
.nw-cover img { width: 100%; height: 100%; object-fit: cover; }
.nw-lead h3 { margin: 0; font-size: clamp(19px, 1.8vw, 23px); font-weight: 900; line-height: 1.6; color: var(--stone-950); }
.nw-lead p { margin: 0; color: var(--stone-700); font-size: 14.5px; line-height: 2; }
.nw-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.nw-more .icon { width: 16px; height: 16px; }
.nw-meta { display: flex; align-items: center; gap: 8px; color: var(--fg-muted); font-size: 12.5px; }
.nw-lead .nw-meta { color: var(--stone-600); }
.nw-tag { padding: 3px 10px; border-radius: var(--r-full); background: var(--stone-900); color: var(--yellow-300); font-size: 12px; font-weight: 800; }
.nw-tag.news { background: var(--card); color: var(--fg); border: 1px solid var(--border-strong); }
.nw-tag.breaking { background: var(--red-600); color: #fff; }
.nw-list { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.nw-list li + li { border-top: 1px solid var(--border); }
.nw-list a { display: grid; gap: 8px; padding: 16px 18px; height: 100%; color: var(--fg); text-decoration: none; transition: background-color .15s; }
.nw-list a:hover { background: var(--accent-softer); }
.nw-list b { font-size: 15.5px; font-weight: 800; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-tw { display: flex; flex-direction: column; border-radius: 22px; background: var(--muted); padding: 16px 18px; }
.nw-tw-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.nw-tw-head h3 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 900; }
.nw-tw-head a { color: var(--fg-2); font-size: 13px; font-weight: 700; }
.nw-tw ol { list-style: none; margin: 0; padding: 0; position: relative; }
/* خطِ زمان: نقطه و خطِ نازک در ابتدای هر ردیف */
.nw-tw li { position: relative; padding: 8px 0 10px; padding-inline-start: 18px; }
.nw-tw li::before { content: ""; position: absolute; inset-inline-start: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-500); box-shadow: 0 0 0 2px var(--muted); }
.nw-tw li + li::after { content: ""; position: absolute; inset-inline-start: 3.5px; top: -10px; height: 25px; width: 1px; background: var(--border-strong); }
.nw-tw time { display: block; color: var(--fg-muted); font-size: 12px; }
.nw-tw-text { color: var(--fg); font-size: 14px; line-height: 1.85; }
.nw-tw-text p { margin: 0; }
@media (max-width: 1100px) { .nw-grid, .nw-grid.no-tw { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nw-tw { grid-column: 1 / -1; } }
@media (max-width: 700px) { .nw-grid, .nw-grid.no-tw { grid-template-columns: minmax(0, 1fr); } }
.nw-tag:not(.analysis):not(.breaking) { background: var(--card); color: var(--stone-900); border: 1px solid var(--border); }
.pz-show-body { display: flex; flex-direction: column; flex: 1; } .pz-show .pz-expert { margin-top: auto; }

/* ───── صفحه‌ی بازار، بازطراحیِ کامل (۷ آبان ۱۴۰۵): همان زبانِ صفحه‌ی اول ───── */
.mkh { padding-top: 18px; }
.mkh-frame { --fg: var(--stone-900); background: var(--frame-bg); color: var(--stone-900); border-radius: 28px; padding: clamp(20px, 3vw, 34px) clamp(18px, 3.5vw, 40px) clamp(16px, 2vw, 22px); box-shadow: var(--frame-shadow); }
.mkh .crumbs { color: var(--stone-600); }
.mkh .crumbs a { color: var(--stone-700); }
.mkh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: 10px; }
.mkh-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full); background: var(--stone-900); color: var(--yellow-300); font-size: 13px; font-weight: 800; }
.mkh h1 { margin: 14px 0 6px; font-size: clamp(30px, 4vw, 48px); font-weight: 900; color: var(--stone-950); }
.mkh p { margin: 0; max-width: 40em; color: var(--stone-700); font-size: 16px; line-height: 1.9; }
.mkh-breaking.breaking-bar { flex: 0 1 460px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; border: 0; background: #fff; color: var(--stone-900); box-shadow: 0 8px 18px -12px rgb(68 52 0 / .5); }
.mkh-breaking b { flex: 1; min-width: 0; font-weight: 800; line-height: 1.7; }
.mkh-breaking .icon { width: 16px; height: 16px; flex: none; }
/* زبانه‌های بازار: قرص، روی قابِ زرد و در صفحه‌های فهرست */
.tabs.mk-tabs { margin-top: 22px; gap: 6px; padding: 0; border: 0; background: none; border-radius: 0; }
.tabs.mk-tabs a { padding: 9px 16px; border-radius: var(--r-full); background: rgb(255 255 255 / .6); color: var(--stone-700); font-size: 14px; }
.tabs.mk-tabs a:hover { background: #fff; color: var(--stone-900); }
.tabs.mk-tabs a[aria-current="page"] { background: var(--stone-900); color: var(--stone-50); box-shadow: none; }
.tabs.mk-tabs a[aria-current="page"] .icon { color: var(--yellow-400); }
.phead .tabs.mk-tabs a:not([aria-current="page"]) { background: var(--muted); }
/* موضوع‌ها: قرص با آیکونِ کالا */
.mk-topics { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; margin-bottom: 18px; }
.mk-topics::-webkit-scrollbar { display: none; }
.mk-topic { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding-inline: 6px 16px; border-radius: var(--r-full); background: var(--card); border: 1px solid var(--border); color: var(--fg-2); font-size: 14px; font-weight: 800; text-decoration: none; transition: border-color .15s, color .15s; }
.mk-topic:hover, .mk-topic[aria-current="true"] { border-color: var(--yellow-400); color: var(--fg); }
.mk-topic img.cicon { width: 34px; height: 34px; }
/* بخش‌ها */
.mk2 { padding-top: 22px; }
.mk2 > .wrap { display: grid; gap: 22px; }
.mk2-now { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mk2-now b { font-size: clamp(26px, 3vw, 36px); font-weight: 900; font-variant-numeric: tabular-nums; }
.mk2-now small { color: var(--fg-muted); }
.mk2-ctl { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.mk2-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mk2-pills a { flex: none; padding: 7px 14px; border-radius: var(--r-full); border: 1px solid var(--border); color: var(--fg-2); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .15s; }
.mk2-pills a:hover { border-color: var(--yellow-400); }
.mk2-pills a[aria-current="true"] { background: var(--stone-900); color: var(--stone-50); border-color: transparent; }
.mk2-plot { border-radius: 20px; background: var(--muted); padding: 12px 12px 6px; }
.mk2-note { margin: 10px 0 0; color: var(--fg-muted); font-size: 13px; }
.mk2-idx { margin-top: 18px; }
.mk2-sec { display: grid; gap: 4px; }
/* پربازدیدها: عددِ درشت روی زرد */
.mk2-pop { --fg: var(--stone-900); background: var(--frame-bg); color: var(--stone-900); border-radius: 28px; padding: clamp(20px, 3vw, 30px); }
.mk2-pop h2 { margin: 0 0 14px; font-size: 22px; font-weight: 900; color: var(--stone-950); }
.mk2-pop ol { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.mk2-pop li { counter-increment: pop; }
.mk2-pop a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / .65); color: var(--stone-900); font-weight: 800; line-height: 1.7; text-decoration: none; transition: background-color .15s; }
.mk2-pop a:hover { background: #fff; }
.mk2-pop a::before { content: counter(pop, persian); flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--stone-900); color: var(--yellow-300); font-size: 16px; font-weight: 900; }
/* کارتِ خبر در همه‌ی فهرست‌ها: سفیدِ گرد، برچسبِ قرصی، بی نوارِ زردِ بالا */
.ncard { border-radius: 22px; box-shadow: none; }
.ncard:hover { box-shadow: 0 16px 30px -24px rgb(68 52 0 / .55); border-color: var(--yellow-400); }
.ncard.text-only { border-top: 1px solid var(--border); }
.ncard .n-body { padding: 20px; gap: 10px; }
.ncard h3 { font-size: 17px; font-weight: 900; }
.ncard .n-meta .n-kind { padding: 3px 10px; border-radius: var(--r-full); background: var(--card); color: var(--fg); border: 1px solid var(--border-strong); font-size: 12px; font-weight: 800; }
.ncard .n-meta .n-kind.analysis { background: var(--stone-900); color: var(--yellow-300); border-color: transparent; }
.ncard .n-meta .n-kind.breaking { background: var(--red-600); color: #fff; border-color: transparent; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .mkh-frame { border-radius: 22px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .mk2-ctl { flex-direction: column; }
}

/* ───── صفحه‌ی خبر و تحلیل، بازطراحیِ کامل (۷ آبان ۱۴۰۵) ───── */
.ar2 { padding-block: 18px clamp(28px, 4vw, 48px); }
.ar2-head { --fg: var(--stone-900); background: var(--frame-bg); color: var(--stone-900); border-radius: 28px; padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px); box-shadow: var(--frame-shadow); }
.ar2-head.breaking { box-shadow: inset 0 0 0 2px var(--red-600), var(--frame-shadow); }
.ar2-head .crumbs { color: var(--stone-600); }
.ar2-head .crumbs a { color: var(--stone-700); }
.ar2-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.ar2-brand img { height: 30px; width: auto; }
.ar2-brand time { color: var(--stone-600); font-size: 13.5px; }
.ar2-head h1 { margin: 14px 0 10px; max-width: 26em; font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.45; color: var(--stone-950); }
.ar2-lead { margin: 0; max-width: 46em; color: var(--stone-700); font-size: 17px; line-height: 2; }
.ar2-meta { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-top: 16px; color: var(--stone-600); font-size: 13px; }
.ar2-jump { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-full); background: var(--stone-900); color: var(--stone-50); font-weight: 800; text-decoration: none; }
.ar2-jump .icon { width: 15px; height: 15px; color: var(--yellow-400); }
.ar2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; margin-top: 22px; }
.ar2-main { min-width: 0; display: grid; gap: 18px; }
.ar2-cover { margin: 0; border-radius: 24px; overflow: hidden; background: var(--muted); }
.ar2-cover img { width: 100%; height: auto; display: block; }
.ar2-cover figcaption { padding: 10px 16px; color: var(--fg-muted); font-size: 13px; }
/* متن: قابِ سفید، ستونِ خوانا، سرتیترِ زردخط */
.ar2-body { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: clamp(22px, 4vw, 48px); font-size: 17px; line-height: 2.1; }
.ar2-body > * { max-width: 44em; }
.ar2-body h2 { position: relative; margin: 1.8em 0 .7em; padding-inline-start: 14px; font-size: clamp(20px, 2vw, 24px); font-weight: 900; line-height: 1.6; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.ar2-body h2::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: .35em; width: 4px; border-radius: 4px; background: var(--yellow-400); }
.ar2-body h2:first-child { margin-top: 0; }
.ar2-body h3 { margin: 1.4em 0 .5em; font-size: 19px; font-weight: 800; }
.ar2-body p { margin: 0 0 1.1em; }
.ar2-body blockquote { margin: 1.2em 0; padding: 14px 20px; border-radius: 18px; background: var(--frame-bg); color: var(--stone-900); }
.ar2-body ul, .ar2-body ol { padding-inline-start: 1.4em; }
.ar2-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.ar2-body th, .ar2-body td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: start; }
.ar2-body th { background: var(--muted); font-weight: 800; }
.ar2-body img { max-width: 100%; height: auto; border-radius: 16px; }
.ar2-body a { color: var(--accent-text); text-underline-offset: 4px; }
.ar2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ar2-tags a { padding: 6px 14px; border-radius: var(--r-full); background: var(--muted); color: var(--fg-2); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.ar2-tags a:hover { background: var(--accent-soft); color: var(--fg); }
/* اشتراک */
.ar2-share { display: grid; gap: 12px; padding: 20px 22px; border-radius: 24px; background: var(--muted); }
.ar2-share-copy b { font-size: 16px; font-weight: 900; }
.ar2-share-copy .hint { margin: 4px 0 0; font-size: 13px; }
.ar2-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ar2-share-row .btn { border-radius: var(--r-full); }
.ar2-more { margin-top: 10px; }
/* کنارِ متن */
.ar2-side { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 14px; }
.ar2-box { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 18px; }
.ar2-box h3 { position: relative; margin: 0 0 12px; padding-inline-start: 12px; font-size: 15px; font-weight: 900; }
.ar2-box h3::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 3px; width: 3px; border-radius: 3px; background: var(--yellow-400); }
.ar2-box.ar-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.ar2-box.ar-toc li { counter-increment: toc; }
.ar2-box.ar-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 12px; color: var(--fg-2); font-size: 14px; line-height: 1.7; text-decoration: none; }
.ar2-box.ar-toc a::before { content: counter(toc, persian); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--muted); font-size: 12px; font-weight: 800; }
.ar2-box.ar-toc a:hover { background: var(--accent-softer); color: var(--fg); }
.ar2-prices { list-style: none; margin: 0; padding: 0; }
.ar2-prices li + li { border-top: 1px solid var(--border); }
.ar2-prices a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 9px 2px; color: var(--fg); text-decoration: none; }
.ar2-prices span { font-size: 13.5px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ar2-prices b { font-weight: 900; font-variant-numeric: tabular-nums; }
.ar2-prices .chg { font-size: 12px; }
.ar2-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ar2-links a { color: var(--fg-2); font-size: 14px; font-weight: 700; line-height: 1.7; text-decoration: none; }
.ar2-links a:hover { color: var(--accent-text); }
.ar2-cta { --fg: var(--stone-900); display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 18px; border-radius: 22px; background: var(--frame-bg); color: var(--stone-900); }
.ar2-cta img { width: 56px; height: 56px; }
.ar2-cta b { font-size: 17px; font-weight: 900; }
.ar2-cta p { margin: 0 0 4px; color: var(--stone-700); font-size: 13.5px; line-height: 1.9; }
.ar2-cta .btn { width: 100%; justify-content: center; }
.ar2-cta-tel { color: var(--stone-900); font-weight: 900; font-size: 18px; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) {
  .ar2-grid { grid-template-columns: minmax(0, 1fr); }
  .ar2-side { position: static; }
}
@media (max-width: 640px) {
  .ar2-head, .ar2-body { border-radius: 22px; }
  .ar2-body { font-size: 16px; line-height: 2; }
  .ar2-jump { margin-inline-start: 0; }
}
.nw-grid.mk2-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 700px) { .nw-grid.mk2-top { grid-template-columns: minmax(0, 1fr); } }
.mk2 > .wrap { grid-template-columns: minmax(0, 1fr); } .mk2 > .wrap > * { min-width: 0; }
.mk2-pills { max-width: 100%; min-width: 0; }
@media (max-width: 640px) { .mk2-ctl { flex-wrap: nowrap; align-items: stretch; } }

/* صفحه‌ی کالا: عکسِ نمونه و کارخانه، همان که در داده‌ی ساختاریافته است (۷ آبان ۱۴۰۵) */
.pd-card { display: grid; gap: 12px; padding: 14px; }
.pd-photo { margin: 0; border-radius: 16px; overflow: hidden; background: var(--frame-bg); }
.pd-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.pd-photo figcaption { padding: 6px 12px 8px; color: var(--stone-600); font-size: 12.5px; }
.pd-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 4px 4px 2px; font-size: 14.5px; }
.pd-brand span { color: var(--fg-muted); }
.pd-brand a, .pd-brand b { font-weight: 800; color: var(--fg); }
/* فشرده: عکسِ کوچک کنارِ نوشته، تا فرمِ استعلام پایین نرود */
.pd-photo { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
.pd-photo figcaption { padding: 8px 14px; font-size: 13px; line-height: 1.8; }

/* ───── بازبینیِ ۹ آبان ۱۴۰۵ (گروهِ الف) ───── */
/* ۱) درصدِ تغییرِ صفحه‌های بازار (MarketUi.Pct کلاسِ rise/fall می‌دهد) همان رنگِ قرمز/سبزِ بقیه‌ی سایت */
.chg.rise { background: var(--rise-soft); color: var(--rise); }
.chg.fall { background: var(--fall-soft); color: var(--fall); }
/* ۳) حالتِ انتخاب‌شده در شب: کپسولِ تیره روی کارتِ تیره دیده نمی‌شد ← زرد */
:root[data-theme="dark"] .mk2-pills a[aria-current="true"],
:root[data-theme="dark"] .tabs.mk-tabs a[aria-current="page"] { background: var(--yellow-400); color: var(--stone-950); }
:root[data-theme="dark"] .tabs.mk-tabs a[aria-current="page"] .icon { color: var(--stone-950); }
:root[data-theme="dark"] .tabs.mk-tabs a:not([aria-current="page"]) { color: var(--fg-2); }
/* ۱۰) آیکونِ «ساعتِ کار» ِ فوتر روی پنلِ تیره */
.ft2-ic .icon { width: 26px; height: 26px; color: var(--yellow-400); }

/* ───── بازبینیِ ۹ آبان ۱۴۰۵ (ب و هـ) ───── */
:root { --focus: var(--stone-900); --flat: var(--stone-500); }
:root[data-theme="dark"] { --focus: var(--yellow-400); --flat: var(--stone-400); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --focus: var(--yellow-400); --flat: var(--stone-400); } }
/* دکمه‌های «+» و نمودار روی صفحه‌ی لمسی ۴۴ پیکسل */
@media (pointer: coarse) {
  table.ptable .add-btn, .px-table .add-btn, .px-table .px-go .icon-btn, .tape-pause { width: 44px; height: 44px; }
}
/* اسپارک رنگِ تغییرِ همان بازه‌ای را دارد که نشان می‌دهد (نه درصدِ امروز) */
.mkc .spark-w.up, .mkc .spark-w.up .spark { color: var(--rise); }
.mkc .spark-w.down, .mkc .spark-w.down .spark { color: var(--fall); }
.mkc .spark-w.flat, .mkc .spark-w.flat .spark { color: var(--flat); }
/* محورِ عمودیِ نمودارِ بازار: برچسبِ بیشینه و کمینه درست کنارِ همان مقدار */
.chart-y { position: relative; display: block; padding: 0; }
.chart-y .sz { visibility: hidden; display: block; }
.chart-y span:not(.sz) { position: absolute; inset-inline-end: 0; translate: 0 -50%; white-space: nowrap; }
.chart-plot:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
/* نوارِ پراکندگیِ قیمت: هدفِ ۲۴ پیکسلی، شمارِ سایزهای هم‌قیمت، فوکوسِ صفحه‌کلید */
.pz-track i::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.pz-track i[data-n]::after { content: attr(data-n); position: absolute; bottom: 14px; left: 50%; translate: -50% 0; padding: 0 5px; border-radius: 8px; background: var(--stone-900); color: var(--yellow-300); font: 800 10px/16px var(--font); font-style: normal; }
.pz-track i:focus-visible { scale: 1.4; z-index: 1; }
/* دکمه‌ی توقفِ اسلایدر */
.hs2-pause { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--card); color: var(--fg); display: grid; place-items: center; }
.hs2-pause .icon { width: 16px; height: 16px; }
/* منوی کشوییِ گوشی: صفحه‌ی پشت قفل */
html.nav-lock { overflow: hidden; }
/* تاریخچه‌ی قیمت: فلش کنارِ رنگ */
.p-price .arw { font-size: .75em; margin-inline-end: 4px; }

/* ───── بازبینیِ ۹ آبان ۱۴۰۵ (و و ز) ───── */
.news-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.news-grid:has(> :only-child) { grid-template-columns: minmax(0, min(100%, 420px)); }
/* دکمه‌ی حساب در سربرگِ گوشی تکرارِ «ورود» ِ داک است */
@media (max-width: 760px) { .hdr .acct-btn { display: none; } }
/* فایلِ اکسلِ استعلامِ هوشمند: همان جعبه‌ی «بکشید یا انتخاب کنید» */
.qt-file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qt-file { position: relative; }
.qt-file [data-qt-name] { color: var(--fg); font-weight: 700; }
.qt-file:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
/* پیگیری: راهنمای «کد کجاست؟» */
.track-help { margin-top: 18px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.track-help div { padding: 14px 16px; border-radius: var(--r-md); background: var(--muted); font-size: 14px; line-height: 1.9; }
.track-help b { display: block; margin-bottom: 2px; }
/* نشانی‌های ذخیره‌شده در فرمِ خاموت */
.addr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

/* ───── بازبینیِ ۹ آبان ۱۴۰۵ (ج و د): یک زبان برای همه‌ی صفحه‌ها ───── */
/* توکن‌ها (docs/design-language.md): قابِ زردِ کاغذی در روز و شب همان می‌ماند (امضای سایت، هم‌رنگِ زمینه‌ی عکس‌های کالا) */
:root {
  --frame-bg: #FEF0B2; --frame-shadow: 0 18px 40px -30px rgb(68 52 0 / .45);
  --r-frame: 28px; --r-frame-sm: 22px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-base: 15px; --fs-md: 17px; --fs-lg: 20px; --fs-xl: 24px;
  --fs-h2: clamp(24px, 2.6vw, 34px); --fs-h1: clamp(30px, 4vw, 48px);
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
}

/* سربرگِ صفحه‌های داخلی (.page-hero.ph2): قابِ زرد داخلِ wrap، متنِ تیره در هر دو حالت */
.page-hero.ph2 { padding-top: var(--sp-5); background: none; color: var(--stone-900); }
.page-hero.ph2::before, .page-hero.ph2::after { display: none; }
.page-hero.ph2 .wrap {
  position: relative; padding-block: clamp(22px, 3vw, 36px); padding-inline: calc(var(--gutter) + clamp(18px, 3.5vw, 40px));
  --fg: var(--stone-900); --fg-2: var(--stone-700); --fg-muted: var(--stone-600); --card: #fff; --muted: rgb(255 255 255 / .65);
  --border: rgb(120 90 0 / .14); --border-strong: rgb(120 90 0 / .24); --accent-text: var(--stone-900);
}
.page-hero.ph2 .wrap::before { content: ""; position: absolute; inset: 0 var(--gutter); z-index: -1; border-radius: var(--r-frame); background: var(--frame-bg); box-shadow: var(--frame-shadow); }
.page-hero.ph2 h1 { color: var(--stone-950); font-size: var(--fs-h1); font-weight: 900; margin: 12px 0 8px; }
.page-hero.ph2 p { color: var(--stone-700); }
.page-hero.ph2 .crumbs { color: var(--stone-600); }
.page-hero.ph2 .crumbs a { color: var(--stone-700); }
.page-hero.ph2 .head-side, .page-hero.ph2 .price-side > span:first-child { color: var(--stone-600); }
.page-hero.ph2 .btn-primary { --b-bg: var(--stone-900); --b-fg: var(--stone-50); --b-bd: transparent; }
.page-hero.ph2 .btn-primary:hover { --b-bg: var(--stone-800); }
.page-hero.ph2 .btn:not(.btn-primary) { --b-bg: rgb(255 255 255 / .7); --b-fg: var(--stone-900); --b-bd: rgb(120 90 0 / .15); box-shadow: none; }
.page-hero.ph2 .link-btn, .page-hero.ph2 a:not(.btn) { color: var(--stone-900); }
@media (max-width: 640px) { .page-hero.ph2 .wrap::before { border-radius: var(--r-frame-sm); } }
/* صفحه‌ی کالا روی گوشی: تیتر ← قیمت ← دکمه‌ها (عدد قهرمان است) */
@media (max-width: 760px) {
  .page-hero.ph2:has(.price-side) .wrap > div:first-child { display: contents; }
  .page-hero.ph2:has(.price-side) .head-side { order: 2; }
  .page-hero.ph2:has(.price-side) .btn-row { order: 3; margin-top: 8px !important; }
}

/* یک کیکر: کپسولِ تیره با متنِ زرد (eyebrow ِ نقطه‌دارِ قدیمی هم همین شد) */
.eyebrow, .pz-kicker, .bp-kicker, .ft2-kicker, .hs2-kicker, .mkh-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full);
  background: var(--stone-900); color: var(--yellow-300); font-size: var(--fs-sm); font-weight: 800;
}
.eyebrow::before { display: none; }
.on-ink .eyebrow { background: rgb(250 204 21 / .14); color: var(--yellow-300); }
:root[data-theme="dark"] :is(.eyebrow, .pz-kicker):not(:is(.ph2, .mkh-frame, .bp, .hs2, .ft2-talk, .nw-lead) *) { background: rgb(250 204 21 / .14); color: var(--yellow-300); }

/* سربرگ: یک زرد برای کارِ اصلی («قیمت روز محصولات»)؛ جست‌وجو و تلفن خنثی */
.hdr-search-go { background: var(--stone-900); color: var(--stone-50); }
.hdr-search-go:hover { background: var(--stone-800); }
:root[data-theme="dark"] .hdr-search-go { background: var(--stone-100); color: var(--stone-900); }
.hc-ic { background: var(--muted); color: var(--fg); }
.hdr-call:hover .hc-ic { background: var(--accent-soft); }
.nav-ai { border-radius: var(--r); }

/* تزئین‌های بی‌کار: درخشش و شبکه و گوشه‌ی برش کنار رفت (بافت را خودِ تصویرسازیِ موضوع می‌دهد) */
.feature-ink::before, .feature-ink::after, .art-frame::before, .art-frame::after { display: none; }

/* کارتِ زردِ فوتر: یک عکسِ صاف به‌جای کلاژِ کج؛ پیامِ رسیدِ فرم */
.ft2-ph1 { display: none; }
.ft2-ph2 { rotate: 0deg; inset: 50% auto auto 50%; translate: -50% -50%; width: 80%; }
.ft2-sent { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--stone-900); font-weight: 700; }
.ft2-sent .icon { color: var(--fall); }

/* درباره: فهرستِ دوستونه با آیکون‌های رنگی؛ «اصول» جمله‌های بزرگ بی‌جعبه */
.ab-do { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-8); }
.ab-do .ab-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--sp-4); align-items: start; padding: var(--sp-4) 0; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.ab-do .ab-card:hover { translate: none; box-shadow: none; }
.ab-do .ab-ic { grid-row: span 2; }
.ab-do .ab-ic img { width: 56px; height: 56px; }
.ab-do .ab-card h3 { margin: 4px 0 4px; }
.ab-do .ab-card p { margin: 0; }
.values .value { background: none; border: 0; box-shadow: none; padding: var(--sp-4) 0 0; border-radius: 0; position: relative; }
.values .value::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--yellow-400); margin-bottom: var(--sp-3); }
.values .v-ic { display: none; }
.values .value h3 { font-size: var(--fs-lg); }
@media (max-width: 760px) { .ab-do { grid-template-columns: minmax(0, 1fr); } }

/* گام‌ها: همان زبانِ «مسیرِ خرید» — آیکونِ رنگی و شماره‌ی کوچکِ تیره */
.step { padding-top: var(--sp-5); }
.step .n { position: absolute; top: 14px; inset-inline-end: 14px; width: 26px; height: 26px; margin: 0; font-size: 12px; background: var(--stone-900); color: var(--yellow-300); }
.step img.sicon, .step img.cicon { width: 52px; height: 52px; margin-bottom: 10px; }
.dev-steps .n { background: transparent; color: var(--yellow-400); box-shadow: inset 0 0 0 1.5px var(--yellow-400); }

/* تماس: آیکون‌های کارت روی دایره‌ی زردِ کم‌رنگ، هم‌خانواده‌ی آیکون‌های رنگی */
.info .ic { border-radius: 50%; background: var(--frame-bg); color: var(--stone-900); }

/* اسلایدِ اول: کاشیِ فلیپِ قیمتِ میلگرد */
.hs2-flap { display: inline-grid; gap: 6px; margin: 4px 0 12px; text-decoration: none; color: var(--stone-900); }
.hs2-flap > span { font-weight: 800; font-size: var(--fs-base); }
.hs2-flap small { color: var(--stone-600); font-weight: 600; }

/* تابلوی قیمت: عدد قهرمان است */
table.ptable .p-price { font-size: 19px; }

/* کارتِ کالا: عکسِ بزرگ */
.pd-photo { display: block; }
.pd-photo img { aspect-ratio: 16 / 10; }
/* سربرگِ قاب‌دار: تراشه‌ها و عددهای قدیمیِ «روی تیره» و قرمز/سبزِ روشنِ حالتِ شب روی زرد خوانا شوند */
.page-hero.ph2 .wrap { --rise: var(--red-700); --rise-soft: var(--red-50); --fall: var(--green-700); --fall-soft: var(--green-50); }
.page-hero.ph2 .pulse-line b { color: var(--stone-900); }
.page-hero.ph2 .ab-chips li { background: rgb(255 255 255 / .7); border-color: rgb(120 90 0 / .14); color: var(--stone-800); }
.page-hero.ph2 .ab-chips .icon { color: var(--stone-900); }
/* دکمه‌ی توقفِ اسلایدر: گوشه‌ی قاب، نه یک ردیفِ تنها */
.hs2-pause { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; width: 40px; height: 40px; background: rgb(255 255 255 / .85); border-color: rgb(120 90 0 / .15); color: var(--stone-900); }
/* سربرگِ ساده‌ی صفحه‌های سفارش، حساب و فهرست‌های بازار هم همان قابِ زرد */
.phead { padding-block: var(--sp-5) 0; isolation: isolate; }
.phead > .wrap {
  position: relative; padding-block: clamp(20px, 3vw, 32px); padding-inline: calc(var(--gutter) + clamp(18px, 3.5vw, 40px));
  --fg: var(--stone-900); --fg-2: var(--stone-700); --fg-muted: var(--stone-600); --card: #fff; --muted: rgb(255 255 255 / .65);
  --border: rgb(120 90 0 / .14); --border-strong: rgb(120 90 0 / .24); --accent-text: var(--stone-900);
  --rise: var(--red-700); --rise-soft: var(--red-50); --fall: var(--green-700); --fall-soft: var(--green-50);
  color: var(--stone-900);
}
.phead > .wrap::before { content: ""; position: absolute; inset: 0 var(--gutter); z-index: -1; border-radius: var(--r-frame); background: var(--frame-bg); box-shadow: var(--frame-shadow); }
.phead h1 { color: var(--stone-950); font-weight: 900; }
.phead + * { margin-top: var(--sp-6); }
@media (max-width: 640px) { .phead > .wrap::before { border-radius: var(--r-frame-sm); } }
/* کادرِ مهمانِ سفارش: بی نوارِ کناری */
.order-gate { border-inline-start: 1px solid color-mix(in srgb, var(--yellow-400) 45%, var(--border)); }
/* مقیاسِ نوشته برای سرتیترهای بخش‌ها و سربرگ‌ها */
.sec-head h2 { font-size: var(--fs-h2); }
.phead h1 { font-size: var(--fs-h1); }
/* زبانه‌های بازار داخلِ قابِ زرد در شب هم همان رنگِ روز (قاب در هر دو حالت روشن است) */
:root[data-theme="dark"] :is(.phead, .mkh-frame) .tabs.mk-tabs a[aria-current="page"] { background: var(--stone-900); color: var(--stone-50); }
:root[data-theme="dark"] :is(.phead, .mkh-frame) .tabs.mk-tabs a[aria-current="page"] .icon { color: var(--yellow-400); }
:root[data-theme="dark"] :is(.phead, .mkh-frame) .tabs.mk-tabs a:not([aria-current="page"]) { background: rgb(255 255 255 / .6); color: var(--stone-700); }
/* حرکت و نشانه‌ها (بازبینیِ ۹ آبان ۱۴۰۵) */
/* فلشِ تغییر: در شب قرمز و سبز برای کوررنگی نزدیک‌اند، پس فلش باید خودش خوانا باشد */
.chg svg { width: 12px; height: 12px; }
/* جابه‌جاییِ اسلاید ≤ ۵۰۰ میلی‌ثانیه؛ نوارِ زمان با transform، نه width (بی محاسبه‌ی دوباره‌ی چیدمان) */
.hs2-slide { transition: transform .5s var(--ease), visibility 0s; }
.hs2-slide[inert] { transition: transform .5s var(--ease), visibility 0s .5s; }
.hs2-tabs button[aria-current="true"] .hs2-bar::after { width: 100%; transform: scaleX(0); transform-origin: var(--bar-origin, right); }
[dir="ltr"] .hs2-tabs button[aria-current="true"] .hs2-bar::after { --bar-origin: left; }
@keyframes hs2-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hs2-tabs button[aria-current="true"] .hs2-bar::after { transform: none; } }
/* «خروج» در حساب: جدا از دکمه‌ی اصلی */
.my-head form[action="/logout"] { margin-inline-start: auto; }
.my-head form[action="/logout"] .btn { color: var(--fg-muted); }
.hs2-tabs .hs2-pause { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; flex: none; min-width: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .85); border: 1px solid rgb(120 90 0 / .15); color: var(--stone-900); }
.hs2-tabs .hs2-pause::after { display: none; }

/* حرکت (بازبینیِ ۹ آبان ۱۴۰۵، معیارِ emil-design-eng) */
/* در لمس، hover با زدن روشن می‌شود و می‌ماند؛ کارت و دکمه بالا نمانَد و عکس بزرگ نماند */
@media (hover: none), (pointer: coarse) {
  :is(.btn, .hm, .cat, .value, .tile.y, .ncard, .hp-card, .ab-card, .fc-card, .one-node, .mv .mkc, .nw-lead, .ft2-call, .ft2-top):hover { translate: none; }
  .hp-card:hover .hp-img img, .pz-track i:hover { scale: none; }
  .link-arrow:hover .icon { translate: none; }
}
/* فشردن باید حس شود: کمی کوچک شدن هنگامِ زدن */
:is(.pz-add, .px-table .add-btn, .icon-btn, .hdr-search-go, .hp-arrow, .ft2-top):active { scale: .94; }

/* سئو (۱۴ آبان ۱۴۰۵): جوابِ اول در سرِ صفحه‌های قیمت، جمله‌ی قیمت زیرِ «قیمت روز» ِ صفحه‌ی اول، راهنمای خرید، نظر و منبعِ دلخواه */
.page-hero.ph2 p.ph-answer { color: var(--stone-900); font-size: 17px; font-weight: 600; line-height: 1.95; max-width: 46em; }
.page-hero.ph2 p.ph-answer + p { margin-top: 6px; }
.pz-lead { margin: 8px 0 0; max-width: 52em; color: var(--fg-muted); font-size: 15px; line-height: 1.9; }
.hl-frame { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: clamp(18px, 3vw, 30px); }
.hl-frame h2 { margin: 0 0 18px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; line-height: 1.45; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 32px; }
.hl-grid h3 { margin: 0 0 6px; font-size: 13.5px; font-weight: 800; color: var(--fg-muted); }
.hl-grid ul { margin: 0; padding: 0; list-style: none; }
.hl-grid li + li { border-top: 1px solid var(--border); }
.hl-grid a { display: block; padding: 8px 0; color: var(--fg); font-weight: 600; line-height: 1.7; text-decoration: none; }
.hl-grid a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }
.rv-line { margin: 12px 0 0; font-size: 14px; color: var(--fg-muted); }
.rv-line a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.rv-line .icon, .rv-call .icon { width: 16px; height: 16px; }
.ps-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--r-lg, 14px); background: var(--card); color: var(--fg); text-decoration: none; transition: border-color .15s; }
.ps-btn:hover { border-color: var(--yellow-500); }
.ps-btn .icon { flex: none; width: 22px; height: 22px; }
.ps-btn b { display: block; font-size: 14.5px; font-weight: 800; }
.ps-btn small { display: block; font-size: 12.5px; color: var(--fg-muted); line-height: 1.7; }
.mkh .ps-btn { background: rgb(255 255 255 / .7); border-color: rgb(120 90 0 / .15); color: var(--stone-900); }
.mkh .ps-btn small { color: var(--stone-600); }

/* تماس: نقشه در صفحه؛ درباره: کارشناس‌ها؛ حریم خصوصی (سئو، ۱۴ آبان ۱۴۰۵) */
.ct-map { display: block; inline-size: 100%; block-size: 320px; margin-top: 20px; border: 1px solid var(--border); border-radius: var(--r-xl, 24px); background: var(--muted); }
.ab-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ab-member { display: flex; align-items: center; gap: 14px; padding: 16px; }
.ab-member b { display: block; font-weight: 800; }
.ab-member small { display: block; color: var(--fg-2); line-height: 1.8; }
.ab-member small.muted { color: var(--fg-muted); }
.pv-body { max-inline-size: 46em; }

/* حسابِ من: وضعِ حسابِ یکتا (۱۶ آبان ۱۴۰۵) */
.my-acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.my-acct-grid a { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--muted); color: var(--fg); text-decoration: none; }
.my-acct-grid a:hover { box-shadow: inset 0 0 0 1px var(--border-strong); }
.my-acct-grid small { color: var(--fg-muted); font-size: 12.5px; }
.my-acct-grid b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.my-acct-grid a.due b { color: var(--rise); }
.my-acct-grid span { font-size: 12.5px; color: var(--fg-2); }
