/* پلاک رنت — سایت مشتری
   خاکستری تیره (مثل iOS)، نارنجیِ تخت، شیشه‌ی مایع (Liquid Glass)، بدون هیچ گرادیانی.
   همه‌ی رنگ‌ها متغیرهای :root هستند؛ تم روشن با data-theme="light". */

/* ---------- فونت پلاک ----------
   ارقام لاتین (0-9) عمداً از پلاک گرفته نمی‌شوند (پلاک آن‌ها را شبیه رقم فارسی می‌کشد: A7III ← AVIII)؛ از وزیرمتن می‌آیند.
   فقط ۵ وزن بارگذاری می‌شود تا صفحه سبک‌تر باشد. */
@font-face { font-family: "PelakFA"; src: url("../fonts/PelakFA-Light.woff2") format("woff2"); font-weight: 100 300; font-display: swap; unicode-range: U+0000-002F, U+003A-10FFFF; }
@font-face { font-family: "PelakFA"; src: url("../fonts/PelakFA-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-002F, U+003A-10FFFF; }
@font-face { font-family: "PelakFA"; src: url("../fonts/PelakFA-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-002F, U+003A-10FFFF; }
@font-face { font-family: "PelakFA"; src: url("../fonts/PelakFA-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0000-002F, U+003A-10FFFF; }
@font-face { font-family: "PelakFA"; src: url("../fonts/PelakFA-Black.woff2") format("woff2"); font-weight: 800 900; font-display: swap; unicode-range: U+0000-002F, U+003A-10FFFF; }
@font-face { font-family: "PRDigits"; src: url("../fonts/Vazirmatn.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0030-0039; }

:root {
    color-scheme: dark;
    --ground: #1b1b1e;
    --ground-2: #232327;
    --ground-3: #2c2c31;
    --ink: #f5f5f7;
    --ink-2: #c5c5cb;
    --ink-3: #8e8e96;
    --accent: #ff6a13;
    --accent-hi: #ff8236;
    --accent-ink: #141414;
    --accent-soft: rgba(255, 106, 19, .16);
    /* شیشه‌ی مایع */
    --lg-bg: rgba(255, 255, 255, .065);
    --lg-bg-2: rgba(255, 255, 255, .1);
    --lg-edge: rgba(255, 255, 255, .16);
    --lg-blur: blur(26px) saturate(185%);
    --lg-shine: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .06), inset 1px 0 0 rgba(255, 255, 255, .07), inset -1px 0 0 rgba(255, 255, 255, .07);
    --lg-drop: 0 14px 40px rgba(0, 0, 0, .3);
    --line: rgba(255, 255, 255, .1);
    --field: rgba(0, 0, 0, .22);
    --dot: rgba(255, 255, 255, .11);
    --ok: #4cd98f;
    --warn: #ffc95c;
    --bad: #ff6b5f;
    --ok-soft: rgba(76, 217, 143, .16);
    --warn-soft: rgba(255, 201, 92, .16);
    --bad-soft: rgba(255, 107, 95, .16);
    --radius: 26px;
    --radius-sm: 16px;
    --gutter: clamp(16px, 4vw, 48px);
    --max: 1320px;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --font: "PelakFA", "PRDigits", Tahoma, sans-serif;
}
:root[data-theme="light"] {
    color-scheme: light;
    --ground: #ececf0;
    --ground-2: #e2e2e7;
    --ground-3: #d6d6dc;
    --ink: #141416;
    --ink-2: #45454b;
    --ink-3: #75757d;
    --accent: #f45f0a;
    --accent-hi: #ff7a26;
    --accent-ink: #fff;
    --lg-bg: rgba(255, 255, 255, .55);
    --lg-bg-2: rgba(255, 255, 255, .75);
    --lg-edge: rgba(255, 255, 255, .9);
    --lg-shine: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(0, 0, 0, .04);
    --lg-drop: 0 14px 40px rgba(40, 40, 60, .12);
    --line: rgba(0, 0, 0, .09);
    --field: rgba(255, 255, 255, .7);
    --dot: rgba(0, 0, 0, .12);
    --ok: #0f8a55;
    --warn: #9a6200;
    --bad: #c8352a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0;
    background-color: var(--ground);
    /* شبکه‌ی نقطه‌ای ظریف؛ زیر شیشه‌ها محو می‌شود و حس شیشه را می‌دهد */
    background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
    background-size: 26px 26px;
    background-attachment: fixed;
    color: var(--ink);
    font: 400 16.5px/1.9 var(--font);
    min-height: 100vh;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
/* دانه‌ی فیلم ظریف روی کل صفحه (ثابت؛ هزینه‌ی پردازشی ندارد) */
body::after {
    content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
:root[data-theme="light"] body::after { opacity: .05; mix-blend-mode: multiply; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .link { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.4vw, 88px); font-weight: 900; line-height: 1.12; }
h2 { font-size: clamp(32px, 4vw, 60px); font-weight: 900; line-height: 1.18; }
h3 { font-size: clamp(19px, 1.5vw, 23px); font-weight: 700; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
.accent { color: var(--accent); }
.num { font-feature-settings: "tnum"; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(17px, 1.25vw, 19px); color: var(--ink-2); max-width: 50ch; line-height: 2; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; margin-bottom: 18px;
    border-radius: 999px; color: var(--accent); font-weight: 700; font-size: 13.5px;
    background: var(--lg-bg); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine);
    -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- شیشه‌ی مایع (Liquid Glass) ---------- */
.glass, .lg, .check-card, .cat-card, .step {
    position: relative;
    background: var(--lg-bg);
    border: 1px solid var(--lg-edge);
    border-radius: var(--radius);
    box-shadow: var(--lg-shine), var(--lg-drop);
    -webkit-backdrop-filter: var(--lg-blur);
    backdrop-filter: var(--lg-blur);
}

/* ---------- دکمه‌ها ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
    background: var(--accent); color: var(--accent-ink);
    font: 800 15.5px/1 var(--font); cursor: pointer; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px rgba(255, 106, 19, .28);
    transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(-3px); }
.btn.ghost, .btn.outline {
    background: var(--lg-bg-2); color: var(--ink); border: 1px solid var(--lg-edge);
    box-shadow: var(--lg-shine); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
}
.btn.ghost:hover, .btn.outline:hover { background: var(--lg-edge); }
.btn.dark { background: #141414; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn.quiet { background: transparent; color: var(--ink-2); padding: 0 14px; box-shadow: none; }
.btn.quiet:hover { color: var(--ink); background: var(--lg-bg); }
.btn.danger { background: var(--bad-soft); color: var(--bad); box-shadow: none; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- نوار بالا ---------- */
.top { position: sticky; top: 12px; z-index: 50; padding-inline: var(--gutter); margin-top: 12px; }
.bar {
    max-width: var(--max); margin-inline: auto; display: flex; align-items: center; gap: 16px;
    padding: 8px 10px; min-height: 64px; border-radius: 24px;
    background: var(--lg-bg); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine), var(--lg-drop);
    -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 18px; white-space: nowrap; padding-inline-end: 6px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { padding: 9px 16px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 600; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--lg-bg-2); }
.nav a.on { color: var(--accent-ink); background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
    border-radius: 999px; border: 1px solid var(--lg-edge); background: var(--lg-bg-2); color: var(--ink); cursor: pointer;
    box-shadow: var(--lg-shine); transition: background .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--lg-edge); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.call { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.who { color: var(--ink-2); font-size: 14.5px; padding-inline: 6px; white-space: nowrap; }
.count { position: absolute; top: -3px; inset-inline-end: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 800 12px/20px var(--font); text-align: center; }
.count:empty, .count[data-n="0"] { display: none; }
.count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
.tabbar { display: none; }

/* پنجره‌ی تأیید داخل صفحه (به‌جای confirm مرورگر) */
.ask { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: pop .18s var(--ease); }
.ask-box { width: min(420px, 100%); padding: 24px; background: rgba(44, 44, 49, .82); }
:root[data-theme="light"] .ask-box { background: rgba(255, 255, 255, .88); }
.ask-box p { margin: 0 0 18px; font-size: 16.5px; font-weight: 600; line-height: 1.9; }
.ask-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- پیام‌ها ---------- */
.flash { display: flex; gap: 12px; padding: 14px 20px; border-radius: var(--radius-sm); margin: 18px 0; font-size: 15px; line-height: 1.9; }
.flash.ok { background: var(--ok-soft); color: var(--ok); }
.flash.bad { background: var(--bad-soft); color: var(--bad); }
.flash.warn { background: var(--warn-soft); color: var(--warn); }
.toast {
    position: fixed; z-index: 90; inset-inline: 0; bottom: 28px; margin: auto; width: max-content; max-width: calc(100% - 32px);
    padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--ink);
    background: var(--lg-bg-2); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine), var(--lg-drop);
    -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
    transform: translateY(140%); opacity: 0; transition: transform .4s var(--ease), opacity .3s;
}
.toast.show { transform: none; opacity: 1; }

/* ---------- صفحه‌ی اول ---------- */
.hero { position: relative; margin-top: -88px; padding-top: 88px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; min-height: min(100vh, 940px); padding-block: 50px 70px; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 34px; }
.hero-stats b { display: block; font-size: clamp(32px, 3vw, 46px); font-weight: 900; line-height: 1.1; }
.hero-stats span { color: var(--accent); font-weight: 700; font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* کره‌ی نقطه‌ای (canvas) + کارت بررسی موجودی روی آن */
.hero-visual { position: relative; display: grid; place-items: center; min-height: min(78vh, 720px); }
.dotsphere { width: 100%; max-width: 640px; aspect-ratio: 1; display: block; }
.hero-visual .check-card { position: absolute; z-index: 2; left: 0; bottom: 2%; width: min(380px, 72%); transform: translate3d(0, var(--sl, 0px), 0); }

.check-card { padding: 22px clamp(18px, 2vw, 24px) 24px; }
.check-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.check-head b { font-size: 18px; font-weight: 800; }
.check-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 11px 15px; border-radius: 18px; background: var(--field); border: 1px solid var(--line); transition: border-color .2s; }
.cell:focus-within { border-color: var(--accent); }
.cell.span { grid-column: 1 / -1; }
.cell > span { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.cell input, .cell b.v { width: 100%; background: transparent; border: 0; padding: 0; min-height: 0; color: var(--ink); font: 700 19px/1.6 var(--font); text-align: start; cursor: pointer; }
.cell input::placeholder { color: var(--ink-3); font-weight: 500; }
.cell input:focus { outline: none; }
.cell .stepper { background: transparent; border: 0; box-shadow: none; padding: 0; margin-inline-start: -10px; }
.cell .stepper input { width: 38px; font-size: 19px; }
.check-out { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); min-height: 3.6em; transition: opacity .2s; }
.check-out b { color: var(--ink); font-size: clamp(28px, 2.6vw, 38px); font-weight: 900; display: block; line-height: 1.2; }
.check-out b em { font-style: normal; color: var(--accent); display: inline-block; }
.check-card.pulse .check-out b em { animation: bump .5s var(--ease); }
.check-card .btn { margin-top: 14px; }

/* ---------- فرم ---------- */
label.field { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.input, input[type="text"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], textarea, select {
    width: 100%; min-height: 52px; padding: 12px 18px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: var(--field); color: var(--ink);
    font: 400 16px/1.6 var(--font); transition: border-color .2s;
}
option { background: var(--ground-3); color: var(--ink); }
textarea { min-height: 100px; resize: vertical; }
.input:focus, input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
input[dir="ltr"] { text-align: right; }
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.hint { font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }
.check { display: flex; gap: 12px; align-items: center; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine); }
.stepper button { width: 38px; height: 38px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: 400 20px/1 var(--font); cursor: pointer; transition: background .2s; }
.stepper button:hover { background: var(--lg-edge); }
.stepper input { width: 44px; min-height: 0; height: 38px; padding: 0; border: 0; background: transparent; text-align: center; font: 700 17px var(--font); }

/* ---------- انتخاب‌گر تاریخ شمسی ---------- */
.jdate-pop {
    position: absolute; z-index: 80; width: 324px; padding: 16px; border-radius: 24px;
    background: rgba(40, 40, 46, .78); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine), 0 30px 70px rgba(0, 0, 0, .45);
    -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
    animation: pop .2s var(--ease);
}
:root[data-theme="light"] .jdate-pop { background: rgba(255, 255, 255, .85); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.jdate-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 800; }
.jdate-head button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 0; background: var(--lg-bg-2); color: var(--ink); cursor: pointer; }
.jdate-head button:hover { background: var(--accent); color: var(--accent-ink); }
.jdate-head svg { width: 18px; height: 18px; }
.jdate-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.jdate-grid .wd { font-size: 12px; color: var(--ink-3); padding: 4px 0; font-weight: 700; }
.jdate-grid button { aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; transition: background .15s; }
.jdate-grid button:hover { background: var(--lg-bg-2); }
.jdate-grid button.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.jdate-grid button.sel { background: var(--accent); color: var(--accent-ink); font-weight: 900; }
.jdate-grid button:disabled { color: var(--ink-3); opacity: .28; cursor: not-allowed; background: transparent; text-decoration: line-through; }
.jdate-grid .fri { color: var(--bad); }

/* ---------- بخش‌ها ---------- */
.section { padding-block: clamp(70px, 9vw, 150px); position: relative; }
.section-head { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(32px, 4.5vw, 60px); }
.section-head p { max-width: 46ch; color: var(--ink-2); margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* نوار نارنجی برندها (تخت) */
.band { direction: ltr; background: var(--accent); color: #141414; overflow: hidden; padding-block: 16px; transform: rotate(-1.5deg); margin-top: 20px; }
.band-in { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 75s linear infinite; direction: ltr; }
.band span { font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; white-space: nowrap; }
.band i { font-style: normal; font-size: 18px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* دسته‌ها */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 210px; padding: 24px; transition: transform .35s var(--ease), border-color .3s; }
.cat-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.cat-card .n { font-size: 44px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); }
.cat-card .name { font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; line-height: 1.2; }
.cat-card .meta { display: flex; align-items: center; justify-content: space-between; color: var(--ink-2); font-weight: 700; font-size: 14.5px; }
.cat-card .go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); transition: transform .4s var(--ease), background .3s; }
.cat-card .go svg { width: 20px; height: 20px; }
.cat-card:hover .go { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.cat-card.hot { background: var(--accent); border-color: transparent; color: #141414; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 20px 50px rgba(255, 106, 19, .25); }
.cat-card.hot .n { -webkit-text-stroke-color: rgba(0, 0, 0, .5); }
.cat-card.hot .meta { color: rgba(0, 0, 0, .7); }
.cat-card.hot .go { background: #141414; color: #fff; border-color: transparent; }

/* نوار افقی تجهیزات منتخب */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 31%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; }

/* کارت تجهیز */
.eq-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--lg-bg); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine), var(--lg-drop); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); transition: transform .35s var(--ease), border-color .3s; }
.eq-card:hover { transform: translateY(-5px); border-color: rgba(255, 106, 19, .55); }
.eq-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ground-3); margin: 8px 8px 0; border-radius: 20px; }
.eq-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.eq-card:hover .eq-media img { transform: scale(1.12); }
.eq-media .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); opacity: .9; }
.eq-media .glyph svg { width: 36%; height: auto; }
.eq-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.eq-body h3 { font-size: 18px; font-weight: 800; line-height: 1.6; }
.eq-body h3 a::after { content: ""; position: absolute; inset: 0; }
.eq-cat { font-size: 13.5px; color: var(--accent); font-weight: 700; }
.eq-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price b { font-size: 19px; font-weight: 900; }
.price span { font-size: 13px; color: var(--ink-3); }
.eq-foot form, .eq-foot .btn { position: relative; z-index: 2; }
.avail { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.7; background: rgba(20, 20, 22, .55); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.avail.ok { color: var(--ok); }
.avail.no { color: var(--bad); }
.eq-card.off .eq-media img, .eq-card.off .eq-media .glyph { filter: grayscale(1); opacity: .45; }
.in-cart { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 800; }

/* روند رزرو: کارت‌های گوشه‌بریده؛ وسطی نارنجی تخت */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); align-items: center; }
.step { min-height: 320px; padding: 30px 30px 110px; display: flex; flex-direction: column; gap: 6px; }
.step .q { font-size: 80px; font-weight: 900; line-height: .8; color: var(--line); margin-bottom: 20px; }
.step h3 { font-size: clamp(26px, 2.2vw, 32px); font-weight: 900; }
.step .sub { color: var(--accent); font-size: 14px; font-weight: 800; }
.step p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.step .notch { position: absolute; left: -1px; bottom: -1px; width: 96px; height: 96px; background: var(--ground); border-top-right-radius: 34px; display: grid; place-items: center; }
.step .notch svg { width: 58px; height: 58px; padding: 15px; border-radius: 50%; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); color: var(--accent); }
.step.hot { background: var(--accent); border-color: transparent; color: #141414; transform: translateY(-22px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 70px rgba(255, 106, 19, .28); }
.step.hot .q { color: rgba(0, 0, 0, .15); }
.step.hot .sub { color: #141414; }
.step.hot p { color: rgba(0, 0, 0, .78); }
.step.hot .notch svg { background: #141414; border-color: transparent; }

/* آدرس و نقشه */
.place { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 36px); align-items: stretch; }
.map { position: relative; min-height: 380px; border-radius: 30px; overflow: hidden; border: 1px solid var(--lg-edge); background: #131010; }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--px) var(--py); transform-origin: var(--px) var(--py); transition: transform 1.2s var(--ease); }
.map:hover > img { transform: scale(1.06); }
.pin { position: absolute; z-index: 2; left: var(--px); top: var(--py); transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.pin .tag { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--accent); color: #141414; font-weight: 900; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.pin .tag img { width: 28px; height: 28px; border-radius: 8px; }
.pin .stem { width: 2px; height: 22px; background: var(--accent); }
.pin .dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 106, 19, .3); }
.pin .dot::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map-credit { position: absolute; bottom: 8px; inset-inline-end: 12px; font-size: 11px; color: rgba(255, 230, 210, .6); direction: ltr; z-index: 2; }
.place-info { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 20px; }
.place-info address { font-style: normal; font-size: clamp(20px, 1.8vw, 25px); font-weight: 400; line-height: 1.9; }
.place-info address b { color: var(--accent); font-weight: 900; }
.nav-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.nav-apps a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine); font-weight: 700; font-size: 14.5px; transition: background .2s, transform .2s var(--ease); }
.nav-apps a:hover { background: var(--accent); color: var(--accent-ink); }
.nav-apps a:active { transform: scale(.97); }
.nav-apps a.main { grid-column: 1 / -1; background: var(--accent); color: var(--accent-ink); justify-content: center; font-weight: 900; border-color: transparent; }
.nav-apps svg { width: 20px; height: 20px; flex: none; }
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.guide .glass { padding: 24px; }
.guide h3 { margin-bottom: 8px; }
.guide p { color: var(--ink-2); margin: 0; font-size: 15px; }
.guide .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.guide .ico svg { width: 24px; height: 24px; }

/* سؤال‌ها */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(30px, 6vw, 110px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 28px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 60ch; padding-bottom: 22px; margin: 0; }

/* پایان صفحه: نارنجی تخت + کره‌ی نقطه‌ای کم‌رنگ */
.cta { position: relative; overflow: hidden; isolation: isolate; margin: 0 var(--gutter); border-radius: 40px 40px 40px 180px; text-align: center; padding: clamp(80px, 10vw, 150px) 24px; background: var(--accent); color: #141414; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.cta h2 { font-size: clamp(42px, 6.2vw, 100px); max-width: 14ch; margin-inline: auto; line-height: 1.08; }
.cta h2 span { color: #fff; }
.cta .lede { margin: 22px auto 34px; color: rgba(0, 0, 0, .75); font-weight: 600; }
.cta .dotsphere { position: absolute; z-index: -1; width: 520px; max-width: none; left: -140px; top: 50%; transform: translateY(-50%); opacity: .55; }

.foot { padding-block: 80px 40px; }
.foot-big { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: clamp(64px, 12vw, 190px); font-weight: 900; line-height: 1; }
.wordmark img { width: .8em; height: .8em; border-radius: .22em; }
.wordmark span { color: var(--accent); }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px 60px; padding-top: 34px; color: var(--ink-2); font-size: 15px; }
.foot-cols h4 { margin: 0 0 12px; color: var(--ink); font-size: 15px; font-weight: 800; }
.foot-cols nav { display: grid; gap: 8px; }
.foot-cols a:hover { color: var(--accent); }
.tel { color: var(--accent); font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.legal-line { text-align: center; color: var(--ink-3); font-size: 13px; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; color: var(--ink-3); font-size: 13px; }

/* ---------- صفحه‌های داخلی ---------- */
.page-head { padding-block: clamp(46px, 6vw, 90px) clamp(24px, 3vw, 38px); }
.page-head h1 { font-size: clamp(40px, 5.2vw, 82px); }
.page-head .lede { margin-top: 16px; }
.toolbar { position: relative; z-index: 30; padding-block: 10px; margin-bottom: 24px; }
.toolbar-in { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.date-pill { display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 8px; border-radius: 999px; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); min-width: 0; max-width: 100%; }
.date-pill .jdate-btn { width: 8.5em; min-width: 0; flex: 1 1 auto; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 700 15px/1 var(--font); cursor: pointer; }
.date-pill .stepper { background: transparent; border: 0; box-shadow: none; }
.date-pill .stepper input { width: 34px; font-size: 15px; }
.date-pill .days-lbl { font-size: 14px; color: var(--ink-2); padding-inline-end: 6px; }
.search { flex: 1 1 220px; max-width: 380px; position: relative; }
.search input { display: block; width: 100%; min-height: 52px; border-radius: 999px; padding-inline-start: 48px; background: var(--lg-bg-2); border-color: var(--lg-edge); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); }
.search svg { position: absolute; inset-inline-start: 17px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 18px; border-radius: 999px; color: var(--ink-2); background: var(--lg-bg-2); border: 1px solid var(--lg-edge); font-size: 14.5px; font-weight: 600; -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); transition: background .2s, color .2s; }
.chip:hover { color: var(--ink); background: var(--lg-edge); }
.chip.on { background: var(--accent); color: var(--accent-ink); font-weight: 800; border-color: transparent; }
.chip small { opacity: .6; margin-inline-start: 4px; }
.grid-eq { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.empty { padding: 70px 30px; text-align: center; }
.empty h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; }
.empty p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 24px; }

/* صفحه‌ی تجهیز */
.item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); padding-block: 30px 40px; align-items: start; }
.item-media { position: sticky; top: 104px; border-radius: 34px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--lg-edge); background: var(--ground-3); }
.item-media img { width: 100%; height: 100%; object-fit: cover; }
.item-media .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); }
.item-media .glyph svg { width: 34%; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a:hover { color: var(--accent); }
.item h1 { font-size: clamp(34px, 4vw, 60px); direction: auto; }
.item-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 22px; }
.item-price b { font-size: clamp(32px, 3vw, 46px); font-weight: 900; color: var(--accent); }
.item-desc { color: var(--ink-2); white-space: pre-line; }
.buy { padding: 22px; margin-top: 26px; display: grid; gap: 16px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.buy-status { font-size: 15px; font-weight: 700; }
.buy-status.ok { color: var(--ok); }
.buy-status.no { color: var(--bad); }

/* تقویم موجودی: سبز آزاد، کهربایی آخرین عدد، قرمز پر */
.avail-cal { margin-top: 22px; padding: 22px; }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cal-head h2 { font-size: 24px; font-weight: 900; }
.strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.strip .wd { text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 800; padding-bottom: 2px; }
.strip .d { aspect-ratio: 1.05; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; border: 1px solid transparent; }
.strip .d b { font-size: 16px; font-weight: 900; }
.strip .d small { font-size: 10.5px; font-weight: 700; opacity: .9; }
.strip .d.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(76, 217, 143, .3); }
.strip .d.low { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 201, 92, .3); }
.strip .d.none { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 107, 95, .3); }
.strip .d.sel { box-shadow: 0 0 0 2px var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-inline-end: 6px; vertical-align: middle; }
.legend i.ok { background: var(--ok); }
.legend i.low { background: var(--warn); }
.legend i.none { background: var(--bad); }

/* سبد */
.cart { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 60px; }
.lines { display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--lg-bg); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine), var(--lg-drop); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); }
.line .thumb { width: 100px; height: 100px; border-radius: 18px; overflow: hidden; position: relative; background: var(--ground-3); }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .thumb .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); }
.line .thumb .glyph svg { width: 50%; }
.line h3 { font-size: 17px; }
.line .meta { font-size: 14px; color: var(--ink-3); }
.line { grid-template-columns: 100px minmax(0, 1fr) auto; }
.line-ctl { display: grid; gap: 10px; justify-items: end; }
.line-bottom { display: flex; align-items: center; gap: 14px; }
.line-bottom b { font-size: 17px; font-weight: 900; white-space: nowrap; }
.line .short { color: var(--bad); font-size: 13.5px; font-weight: 700; }
.summary { position: sticky; top: 104px; }
.sum-rows { display: grid; gap: 10px; margin-top: 18px; font-size: 15px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 10px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.sum-total b { font-size: 28px; font-weight: 900; color: var(--accent); }

/* رزروهای من */
.bookings { display: grid; gap: 20px; padding-bottom: 60px; }
.booking { padding: 0; overflow: hidden; }
.booking.new { border-color: var(--accent); }
.booking-top { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; padding: 22px clamp(18px, 2.6vw, 30px); }
.booking-range { font-size: clamp(21px, 2vw, 28px); font-weight: 700; line-height: 1.5; }
.booking-range small { display: block; font-size: 14px; color: var(--ink-3); font-weight: 400; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.status.pending { background: var(--warn-soft); color: var(--warn); }
.status.pending::before { animation: blink 1.6s ease-in-out infinite; }
.status.approved, .status.final { background: var(--ok-soft); color: var(--ok); }
.status.rejected { background: var(--bad-soft); color: var(--bad); }
.status.cancelled { background: var(--lg-bg-2); color: var(--ink-3); }
@keyframes blink { 50% { opacity: .3; } }
.track { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(18px, 2.6vw, 30px) 10px; gap: 6px; }
.track span { height: 4px; border-radius: 999px; background: var(--line); }
.track span.on { background: var(--accent); }
.track-lbl { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(18px, 2.6vw, 30px) 18px; font-size: 13px; color: var(--ink-3); gap: 6px; }
.booking-items { padding: 6px clamp(18px, 2.6vw, 30px); background: rgba(0, 0, 0, .12); }
.booking-items div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; font-size: 15px; }
.booking-items div + div { border-top: 1px solid var(--line); }
.booking-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 20px clamp(18px, 2.6vw, 30px); }
.booking-foot .total b { font-size: 22px; font-weight: 900; }
.staff-note { margin: 0 clamp(18px, 2.6vw, 30px) 18px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); font-size: 15px; }

/* حساب */
.acc-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.balance { padding: clamp(24px, 3vw, 38px); }
.balance .big { font-size: clamp(40px, 5vw, 72px); font-weight: 900; line-height: 1.15; margin: 10px 0 6px; }
.balance .state { font-size: 16px; font-weight: 700; }
.balance .state.debt { color: var(--warn); }
.balance .state.credit, .balance .state.clear { color: var(--ok); }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acc-stats .glass { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; transition: transform .3s var(--ease); }
.acc-stats .glass:hover { transform: translateY(-4px); }
.acc-stats b { font-size: clamp(34px, 3.2vw, 48px); font-weight: 900; line-height: 1; }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: start; font-weight: 600; color: var(--ink-3); font-size: 13.5px; padding: 14px 16px; }
table.list td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.pay { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pay.paid { background: var(--ok-soft); color: var(--ok); }
.pay.partial { background: var(--warn-soft); color: var(--warn); }
.pay.unpaid { background: var(--bad-soft); color: var(--bad); }

/* تنظیمات و ورود */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.panel { padding: clamp(22px, 3vw, 34px); }
.panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.auth { position: relative; min-height: calc(100vh - 100px); display: grid; place-items: center; padding-block: 50px 80px; }
.auth-card { width: min(100%, 470px); padding: clamp(26px, 4vw, 42px); }
.auth-card h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 8px; }
.auth-card .lede { margin-bottom: 6px; font-size: 16px; }
.auth-alt { text-align: center; color: var(--ink-2); font-size: 15px; }
.pw { position: relative; }
.pw button { position: absolute; inset-inline-end: 8px; top: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font: 600 13px var(--font); cursor: pointer; }
.pw button:hover { color: var(--ink); background: var(--lg-bg); }

/* ---------- بخش مدیر ---------- */
.adm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 40px 24px; }
.adm-head h1 { font-size: clamp(32px, 4vw, 54px); }
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.adm-stats .glass { padding: 18px 20px; }
.adm-stats b { display: block; font-size: 34px; font-weight: 900; line-height: 1.2; }
.adm-stats a.glass:hover { border-color: var(--accent); }
.adm-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); margin-bottom: 18px; }
.adm-tabs a { padding: 8px 20px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: 14.5px; }
.adm-tabs a.on { background: var(--accent); color: var(--accent-ink); }
.adm-table td .thumb { width: 54px; height: 54px; border-radius: 14px; overflow: hidden; position: relative; background: var(--ground-3); }
.adm-table td .thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-table td .thumb .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); }
.adm-table td .thumb .glyph svg { width: 60%; }
.adm-table tr.hid td:not(:last-child) { opacity: .5; }
.tagx { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--lg-bg-2); color: var(--ink-2); }
.tagx.on { background: var(--ok-soft); color: var(--ok); }
.tagx.off { background: var(--bad-soft); color: var(--bad); }
.cat-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cat-row form { display: contents; }
.cat-row input[type="text"] { flex: 1 1 200px; min-height: 44px; }
.img-drop { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--field); border: 1.5px dashed var(--lg-edge); cursor: pointer; transition: border-color .2s; }
.img-drop:hover, .img-drop.over { border-color: var(--accent); }
.img-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-drop .ph { text-align: center; color: var(--ink-3); font-size: 14px; padding: 20px; }
.img-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.adm-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 22px; align-items: start; padding-bottom: 60px; }

/* ---------- ورود تدریجی (کوتاه، تا صفحه کند به نظر نرسد) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- موبایل ---------- */
@media (max-width: 1080px) {
    .nav a { padding: 9px 11px; font-size: 14px; }
    .who { display: none; }
}
@media (max-width: 960px) {
    .hero-grid, .item, .cart, .faq, .acc-hero, .two, .place, .adm-form { grid-template-columns: minmax(0, 1fr); }
    .hero-grid { min-height: 0; padding-block: 30px 50px; }
    .hero-visual { min-height: 0; display: block; }
    .dotsphere { width: min(520px, 100%); margin: 0 auto; }
    .hero-visual .check-card { position: relative; left: auto; bottom: auto; width: min(460px, 100%); margin: -110px auto 0; transform: none; }
    .steps { grid-template-columns: 1fr; }
    .step.hot { transform: none; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .guide { grid-template-columns: 1fr; }
    .item-media, .summary { position: static; }
    .rail { grid-auto-columns: minmax(250px, 72%); }
    .foot-cols { grid-template-columns: 1fr 1fr; }
    .adm-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    body { font-size: 16px; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
    .nav, .top-actions .hide-m { display: none; }
    .top { top: 8px; margin-top: 8px; }
    .bar { min-height: 58px; padding: 7px 8px; justify-content: space-between; border-radius: 22px; }
    .brand img { width: 38px; height: 38px; }
    .hero { margin-top: -74px; padding-top: 74px; }
    .tabbar {
        display: grid; grid-template-columns: repeat(5, 1fr);
        position: fixed; z-index: 60; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
        padding: 6px; border-radius: 28px;
        background: var(--lg-bg); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine), var(--lg-drop);
        -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
    }
    .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; border-radius: 22px; color: var(--ink-3); font-size: 11.5px; font-weight: 700; }
    .tabbar a svg { width: 22px; height: 22px; }
    .tabbar a.on { color: var(--accent-ink); background: var(--accent); }
    .tabbar .count { top: 2px; inset-inline-end: calc(50% - 22px); }
    .tabbar a.on .count { background: var(--accent-ink); color: var(--accent); }
    .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
    .hero-visual .check-card { margin-top: -80px; }
    .cat-card { min-height: 160px; padding: 18px; gap: 22px; }
    .cat-card .n { font-size: 32px; }
    .step { min-height: 0; padding: 26px 24px 100px; }
    .line { grid-template-columns: 76px minmax(0, 1fr); }
    .line .thumb { width: 76px; height: 76px; }
    .line-ctl { grid-column: 1 / -1; justify-items: stretch; }
    .line-bottom { justify-content: space-between; }
    .acc-stats { gap: 10px; }
    .acc-stats .glass { padding: 16px; }
    .row2, .row3 { grid-template-columns: 1fr; }
    .search { max-width: none; flex-basis: 100%; order: -1; }
    .date-pill { flex: 1; justify-content: space-between; }
    .foot { padding-bottom: 20px; }
    .foot-cols { grid-template-columns: 1fr; }
    .cta { border-radius: 30px 30px 30px 110px; }
    .adm-table thead { display: none; }
    .adm-table tr { display: grid; grid-template-columns: 54px 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
    .adm-table td { border: 0; padding: 0; }
    .adm-table td.c-cat, .adm-table td.c-qty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* مدیر: رمز موقت یک‌باره */
.pw-once { border-color: var(--accent); }
.pw-code { font: 700 30px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .12em; color: var(--accent); margin: 8px 0 10px; user-select: all; }

/* سبد: ردیفی که در حال به‌روزرسانی است */
.line.busy .line-info, .line.busy .line-total { opacity: .55; transition: opacity .2s; }
.adm-users td { white-space: nowrap; } .adm-users td:nth-child(-n+2) { white-space: normal; min-width: 110px; }

/* سبد: دکمه‌ی حذف و ردیفی که در حال حذف است */
.line-del { width: 42px; height: 42px; color: var(--ink-3); }
.line-del:hover { color: var(--bad); border-color: var(--bad); }
.line.removing { opacity: .25; transform: scale(.98); pointer-events: none; transition: opacity .25s, transform .25s; }

/* صفحه‌ی تجهیز: تاریخ، چند روز، تعداد — هر کدام با برچسب خودش */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; align-items: end; }
.buy-f { display: grid; gap: 6px; min-width: 0; }
.buy-f > span:first-child { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.date-field { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 999px; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine); cursor: pointer; }
.date-field svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.date-field .jdate-btn { flex: 1; min-width: 0; width: 100%; min-height: 50px; border: 0; background: transparent; color: var(--ink); font: 700 16px/1 var(--font); cursor: pointer; padding: 0; }
.date-field .jdate-btn::placeholder { color: var(--ink-3); opacity: 1; }
.buy-f .stepper { display: flex; width: 100%; min-width: 0; min-height: 52px; justify-content: space-between; }
.buy-f .stepper input { flex: 1 1 auto; width: auto; min-width: 0; max-width: 64px; }

/* دکمه‌هایی که فقط در موبایل دیده می‌شوند (تنظیمات کنار تماس و تم) */
.show-m { display: none !important; }
.icon-btn.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

@media (max-width: 760px) {
    .show-m { display: inline-grid !important; }
    .buy-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .buy-date { grid-column: 1 / -1; }

    /* کاتالوگ: دو کارت در هر ردیف */
    .grid-eq { grid-template-columns: 1fr 1fr; gap: 10px; }
    .eq-card { border-radius: 22px; }
    .eq-card:hover { transform: none; }
    .eq-media { margin: 6px 6px 0; border-radius: 16px; aspect-ratio: 4 / 3; }
    .eq-body { padding: 10px 12px 12px; gap: 2px; }
    .eq-body h3 { font-size: 14px; line-height: 1.5; }
    .eq-cat { font-size: 11.5px; }
    .eq-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
    .price b { font-size: 15px; }
    .price span { font-size: 11px; }
    .eq-foot .btn { width: 100%; justify-content: center; min-height: 38px; padding: 0 10px; font-size: 13px; }
    .avail, .in-cart { top: 8px; padding: 2px 9px; font-size: 11px; }
    .avail { inset-inline-start: 8px; }
    .in-cart { inset-inline-end: 8px; }
    .tabbar a { font-size: 11px; }
    .tabbar a svg { width: 21px; height: 21px; }
}

/* ---------- زمینه‌ی عکس تجهیزات: شیشه‌ی مایع شفاف با دانه‌ی زیاد (برای عکس‌های PNG بی‌زمینه) ---------- */
:root {
    --media-bg: rgba(38, 38, 42, .55); --media-edge: rgba(255, 255, 255, .12); --media-grain-op: 0;
    --media-dot: rgba(255, 106, 19, .34);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] { --media-bg: rgba(120, 120, 128, .14); --media-edge: rgba(0, 0, 0, .07); --media-grain-op: 0; --media-dot: rgba(244, 95, 10, .32); }
.eq-media, .item-media, .line .thumb, .adm-table .thumb {
    isolation: isolate;
    background-color: var(--media-bg); background-image: none;
    border: 1px solid var(--media-edge);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .03);
    -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
}
/* دانه‌ی فیلم روی شیشه (پشت عکس) */
.eq-media::before, .item-media::before, .line .thumb::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: var(--grain); background-size: 180px 180px; opacity: var(--media-grain-op); mix-blend-mode: overlay;
}
/* لبه‌ی براق بالای شیشه */
.eq-media::after, .item-media::after {
    content: ""; position: absolute; inset-inline: 14%; top: 0; height: 1px; z-index: 1; pointer-events: none; background: rgba(255, 255, 255, .35);
}.eq-media img, .item-media img, .line .thumb img { object-fit: contain; padding: 2%; transform: scale(1.06); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .45)); }
.item-media img { padding: 3%; transform: none; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); }
:root[data-theme="light"] .eq-media img, :root[data-theme="light"] .item-media img, :root[data-theme="light"] .line .thumb img { filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .18)); }

/* ---------- کاتالوگ: کادر فیلتر (کنار در دسکتاپ، بالا در موبایل) ---------- */
.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 80px; }
.filters { position: sticky; top: 100px; padding: 16px; border-radius: var(--radius); display: grid; gap: 18px; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: thin; }
.filters .search { max-width: none; flex-basis: auto; }
.f-toggles { display: none; }
.f-group h3 { font-size: 13px; font-weight: 800; color: var(--ink-3); margin: 0 6px 8px; }
.f-list { display: grid; gap: 4px; }
.f-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 14px; border-radius: 14px; color: var(--ink-2); font-weight: 700; font-size: 15px; transition: background .2s, color .2s; }
.f-list a:hover { background: var(--lg-bg-2); color: var(--ink); }
.f-list a small { font-size: 12px; color: var(--ink-3); background: var(--lg-bg-2); border-radius: 999px; padding: 1px 9px; min-width: 28px; text-align: center; }
.f-list a.on { background: var(--accent); color: var(--accent-ink); }
.f-list a.on small { background: rgba(0, 0, 0, .18); color: var(--accent-ink); }
.res-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 4px 4px 14px; }
.res-bar b { font-size: 20px; font-weight: 900; }
.catalog .grid-eq { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.eq-card[hidden] { display: none; }

@media (max-width: 960px) {
    .catalog { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .filters { position: relative; top: auto; max-height: none; overflow: visible; padding: 12px; gap: 10px; }
    .js .f-toggles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .f-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 6px; min-width: 0; min-height: 56px; padding: 6px 14px; border-radius: 16px; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); color: var(--ink); font: 700 14px var(--font); cursor: pointer; text-align: start; }
    .f-btn span { grid-row: 1; color: var(--ink-3); font-size: 12px; line-height: 1.4; }
    .f-btn b { grid-row: 2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; line-height: 1.5; }
    .f-btn svg { grid-column: 2; grid-row: 1 / 3; width: 16px; height: 16px; transition: transform .25s; }
    .js .f-group { display: none; }
    .js .filters.open-cats [data-group="cats"], .js .filters.open-sort [data-group="sort"] { display: block; animation: fdrop .22s ease; }
    .filters.open-cats [data-open="cats"], .filters.open-sort [data-open="sort"] { border-color: var(--accent); }
    .filters.open-cats [data-open="cats"] svg, .filters.open-sort [data-open="sort"] svg { transform: rotate(180deg); }
    .js .f-group h3 { display: none; }
    .f-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .f-list a { min-height: 46px; font-size: 14px; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); }
    .f-list a { padding-block: 8px; }
    .f-list a.on { border-color: transparent; }
    .res-bar { margin: 0 4px 10px; }
    .res-bar b { font-size: 17px; }
    .catalog .grid-eq { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
}
@media (max-width: 760px) { .catalog .grid-eq { grid-template-columns: 1fr 1fr; } }
@keyframes fdrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* مدیر: ترتیب تجهیزات */
.adm-cats { flex-wrap: wrap; margin-bottom: 12px; }
.order-btns { display: inline-flex; align-items: center; gap: 4px; }
.order-btns .num { min-width: 22px; text-align: center; }
.order-btns .icon-btn { width: 34px; height: 34px; font-size: 17px; line-height: 1; }
.order-btns .icon-btn svg { width: 16px; height: 16px; }

/* فوتر: دکمه‌ی دانلود PDF کنار «دیدن تجهیزات» */
.foot-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-ctas .btn svg { width: 18px; height: 18px; }
.foot-ctas .btn.loading { opacity: .6; pointer-events: none; }
@media (max-width: 760px) { .foot-ctas { width: 100%; } .foot-ctas .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- آفیش: عوامل و لوکیشن (پوسترهای عمودی) ---------- */
.seg { display: inline-flex; gap: 4px; padding: 5px; margin-top: 22px; border-radius: 999px; background: var(--lg-bg); border: 1px solid var(--lg-edge); box-shadow: var(--lg-shine); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); }
.seg a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; font-weight: 800; color: var(--ink-2); }
.seg a svg { width: 18px; height: 18px; }
.seg a small { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--lg-bg-2); color: var(--ink-3); }
.seg a.on { background: var(--accent); color: var(--accent-ink); }
.seg a.on small { background: rgba(0, 0, 0, .18); color: var(--accent-ink); }

.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.poster { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--media-bg); border: 1px solid var(--lg-edge); box-shadow: var(--lg-drop); isolation: isolate; transition: transform .4s var(--ease), border-color .3s; }
.posters.locs .poster { aspect-ratio: 4 / 5; }
.poster:hover { transform: translateY(-5px); border-color: rgba(255, 106, 19, .6); }
.poster-ph { position: absolute; inset: 0; z-index: -1; }
.poster-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.poster:hover .poster-ph img { transform: scale(1.05); }
.poster-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 84px; font-weight: 900; color: var(--accent);
    background-color: var(--media-bg); background-image: radial-gradient(circle, var(--media-dot) 1.1px, transparent 1.7px); background-size: 14px 14px; }
.poster-n { position: absolute; top: 12px; inset-inline-start: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; color: #fff; background: rgba(20, 20, 22, .5); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.poster-kind { position: absolute; top: 12px; inset-inline-end: 12px; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--accent); color: var(--accent-ink); }
.poster-count { position: absolute; top: 46px; inset-inline-end: 12px; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(20, 20, 22, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.poster-cap { position: absolute; inset-inline: 10px; bottom: 10px; display: grid; gap: 2px; padding: 12px 14px; border-radius: 18px; color: #fff;
    background: rgba(20, 20, 22, .52); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.poster-cap b { font-size: 17px; font-weight: 900; line-height: 1.45; }
.poster-cap span { font-size: 13px; color: #ff9a5c; font-weight: 700; }

.rail-posters { grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); grid-template-columns: none; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail-posters .poster { scroll-snap-align: start; }

.afish-item { padding-bottom: 80px; }
.af-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.af-media { position: sticky; top: 104px; display: grid; gap: 10px; }
.af-main { position: relative; aspect-ratio: 3 / 4; max-height: calc(100vh - 140px); border-radius: 30px; overflow: hidden; border: 1px solid var(--lg-edge); background: var(--media-bg); box-shadow: var(--lg-drop); }
.af-main img { width: 100%; height: 100%; object-fit: cover; }
.af-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.af-thumbs button { flex: none; width: 64px; aspect-ratio: 3 / 4; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.af-thumbs button.on { border-color: var(--accent); opacity: 1; }
.af-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.af-info { padding: clamp(22px, 3vw, 34px); border-radius: 30px; display: grid; gap: 16px; }
.af-info .kicker { justify-self: start; }
.af-info h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.25; margin: 0; }
.af-area { display: flex; align-items: center; gap: 6px; margin: -6px 0 0; color: var(--ink-2); font-weight: 700; }
.af-area svg { width: 18px; height: 18px; color: var(--accent); }
.af-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.af-tags span { padding: 5px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--lg-bg-2); border: 1px solid var(--lg-edge); color: var(--ink-2); }
.af-text { color: var(--ink-2); line-height: 2.05; font-size: 16px; }
.af-price { margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--accent-soft, rgba(255, 106, 19, .12)); color: var(--accent); font-weight: 800; }
.af-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.af-actions .btn svg { width: 18px; height: 18px; }

/* صفحه‌ی اول: دو کارت بزرگ عوامل / لوکیشن */
.afish-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo-card { position: relative; display: block; height: 440px; border-radius: 32px; overflow: hidden; border: 1px solid var(--lg-edge); box-shadow: var(--lg-drop); isolation: isolate; transition: transform .4s var(--ease), border-color .3s; }
.duo-card:hover { transform: translateY(-5px); border-color: rgba(255, 106, 19, .6); }
.duo-ph { position: absolute; inset: 0; z-index: -1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
    background-color: var(--media-bg); background-image: radial-gradient(circle, var(--media-dot) 1.1px, transparent 1.7px); background-size: 14px 14px; }
.duo-ph img { width: 100%; height: 100%; object-fit: cover; }
.duo-ic { display: grid; place-items: center; color: var(--accent); }
.duo-ic svg { width: 90px; height: 90px; stroke-width: 1.2; }
.duo-cap { position: absolute; inset-inline: 14px; bottom: 14px; display: grid; gap: 4px; padding: 16px 20px; border-radius: 22px; color: #fff;
    background: rgba(20, 20, 22, .52); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.duo-cap b { display: flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 900; }
.duo-cap b small { font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.duo-cap span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.duo-card .go { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.duo-card .go svg { width: 22px; height: 22px; }

/* مدیر: فهرست آفیش و گالری لوکیشن */
.adm-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.adm-poster { padding: 8px; border-radius: 22px; display: grid; gap: 8px; }
.adm-poster.hid { opacity: .6; }
.adm-poster .ph { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--media-bg); }
.adm-poster .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adm-poster .ph > span { font-size: 54px; font-weight: 900; color: var(--accent); }
.adm-poster .ph em { position: absolute; top: 8px; inset-inline-start: 8px; font-style: normal; }
.adm-poster .ph em + em { inset-inline-start: auto; inset-inline-end: 8px; }
.adm-poster .txt { display: grid; padding: 0 6px; }
.adm-poster .acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.img-drop.portrait { aspect-ratio: 3 / 4; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gal:empty { display: none; }
.gal-it { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--media-bg); border: 1px solid var(--lg-edge); }
.gal-it img { width: 100%; height: 100%; object-fit: cover; }
.gal-it label { position: absolute; inset-inline: 6px; display: flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(20, 20, 22, .6); cursor: pointer; }
.gal-it .gal-cover { bottom: 32px; }
.gal-it .gal-del { bottom: 6px; }
.gal-it.new { border-color: var(--accent); }
.gal-x { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(20, 20, 22, .7); color: #fff; font-size: 18px; cursor: pointer; }

@media (max-width: 960px) {
    .af-grid { grid-template-columns: minmax(0, 1fr); }
    .af-media { position: static; }
    .af-main { max-height: 62vh; margin-inline: auto; width: 100%; }

}
@media (max-width: 760px) {
    .seg { display: flex; }
    .seg a { flex: 1; justify-content: center; padding: 10px 12px; }
    .posters { grid-template-columns: 1fr 1fr; gap: 10px; }
    .poster { border-radius: 20px; }
    .poster-cap { inset-inline: 6px; bottom: 6px; padding: 9px 10px; border-radius: 14px; }
    .poster-cap b { font-size: 14px; }
    .poster-cap span { font-size: 11.5px; }
    .poster-n { top: 8px; inset-inline-start: 8px; font-size: 11px; }
    .poster-kind { top: 8px; inset-inline-end: 8px; font-size: 11px; padding: 2px 9px; }
    .poster-count { top: 36px; inset-inline-end: 8px; font-size: 10.5px; }
    .rail-posters { grid-template-columns: none; grid-auto-columns: 46%; }
    .af-main { border-radius: 24px; }
    .af-info { border-radius: 24px; }
    .af-actions .btn { flex: 1 1 100%; justify-content: center; }
    .afish-duo { gap: 10px; }
    .duo-card { height: auto; aspect-ratio: 3 / 4.4; border-radius: 22px; }
    .duo-ph img:nth-child(n+2) { display: none; }
    .duo-cap { inset-inline: 8px; bottom: 8px; padding: 10px 12px; border-radius: 16px; }
    .duo-cap b { font-size: 19px; gap: 6px; }
    .duo-cap b small { font-size: 11px; padding: 1px 7px; }
    .duo-cap span { font-size: 11.5px; line-height: 1.6; }
    .duo-card .go { width: 38px; height: 38px; top: 10px; inset-inline-end: 10px; }
    .duo-ic svg { width: 60px; height: 60px; }
}

/* مدیر: بکاپ */
.bk-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.bk-top .panel { display: grid; gap: 12px; align-content: start; }
.bk-top h2 { margin: 0; }
.bk-top p { margin: 0; }
.bk-now .btn, .bk-up .btn { justify-self: start; }
.bk-now .btn svg, .bk-up .btn svg, .bk-acts .btn svg { width: 18px; height: 18px; }
.bk-now .hint svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--accent); }
.bk-file { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px 16px; border-radius: 18px; border: 1.5px dashed var(--lg-edge); background: var(--lg-bg-2); color: var(--ink-2); font-weight: 700; text-align: center; cursor: pointer; }
.bk-file:hover { border-color: var(--accent); }
.bk-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bk-table td { vertical-align: middle; }
.bk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-content: flex-end; }
.bk-table tr.bk-new td { background: rgba(255, 106, 19, .1); }
.tagx.bk-auto { color: var(--ok); }
.tagx.bk-manual { color: var(--accent); }
.tagx.bk-pre-restore { color: var(--warn); }
.btn.loading { opacity: .6; }
@media (max-width: 760px) {
    .bk-top { grid-template-columns: minmax(0, 1fr); }
    .bk-table thead { display: none; }
    .bk-table tr { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
    .bk-table td { border: 0 !important; padding: 0 !important; }
    .bk-table tr { gap: 4px !important; padding: 14px 0 !important; }
    .bk-table tr:first-child { border-top: 0; }
    .bk-acts { justify-content: flex-start; }
}

/* مدیر: تب صفحه‌ی اول */
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: f; }
.feat-list li { display: grid; grid-template-columns: 22px 52px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 14px; background: rgba(255,255,255,.04); counter-increment: f; }
.feat-list li::before { content: counter(f, persian); color: var(--muted); font-size: 13px; text-align: center; }
.feat-list .thumb { width: 52px; height: 40px; }
.feat-add { display: flex; gap: 8px; }
.feat-add select { flex: 1; min-width: 0; }
/* سبد: ویرایش درخواست و کد تخفیف */
.edit-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 14px; padding: 12px 16px; border-radius: 18px; border: 1px solid rgba(255,106,19,.45); }
.edit-bar span { font-size: 14px; }
.disc-box { display: flex; gap: 8px; align-items: center; margin: 12px 0 4px; }
.disc-box input { flex: 1; min-width: 0; height: 40px; border-radius: 999px; padding: 0 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line, rgba(255,255,255,.12)); color: inherit; font: inherit; letter-spacing: .04em; }
.disc-box input:focus { outline: none; border-color: var(--accent); }
.disc-ok { flex: 1; display: inline-flex; gap: 6px; align-items: center; color: var(--ok, #3ecf8e); font-size: 14px; }
.disc-ok svg { width: 18px; height: 18px; }
.sum-disc .disc-row { color: var(--ok, #3ecf8e); }
.disc-err { color: var(--bad) !important; margin: 0 0 6px; }
.adm-disc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
@media (max-width: 900px) { .adm-disc { grid-template-columns: 1fr; } }
