/* دپاک و ربیت — یک فایل، بدون فریم‌ورک */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Variable.woff2") format("woff2-variations"), url("fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* رنگ‌های دپاک (سایت قبلی dpak.ir و لوگو)؛ ربیت نیلی است */
  --brand: #0e5f73;
  --brand-strong: #0a4857;
  --brand-soft: #e5f1f4;
  --logo: #4a7095;
  --rabbit: #4338ca;
  --rabbit-soft: #eef0ff;
  --carrot: #f97316;
  --carrot-soft: #fff1e6;
  --ok: #059669;
  --ok-soft: #e7f8f1;
  --ink: #0f172a;
  --muted: #5b6475;
  --faint: #8b93a3;
  --line: #e6e8ef;
  --surface: #ffffff;
  --page: #f7f7fb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --container: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #4fb3c9;
    --brand-strong: #7ccbdc;
    --brand-soft: #102a31;
    --logo: #8fb0d0;
    --rabbit: #8b8cf8;
    --rabbit-soft: #1f2040;
    --carrot: #fb923c;
    --carrot-soft: #34200f;
    --ok: #34d399;
    --ok-soft: #0f2d23;
    --ink: #e8eaf2;
    --muted: #a3aabb;
    --faint: #7c8396;
    --line: #262a3a;
    --surface: #141724;
    --page: #0c0e17;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
  font-feature-settings: "ss01";
  line-height: 1.75;
  color: var(--ink);
  background: var(--page);
}
[dir="ltr"] body, body[dir="ltr"] { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }

/* ---------- سربرگ ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand small { font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: 0; display: block; line-height: 1.2; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); text-decoration: none; }
.nav .pill { color: #fff; background: var(--brand); }
.nav .pill:hover { color: #fff; background: var(--brand-strong); }
.top__search { flex: 1; max-width: 520px; }
@media (max-width: 760px) {
  .nav a:not(.pill):not(.lang) { display: none; }
  .top__in { gap: 10px; }
  .brand small { display: none; }
}

/* ---------- جعبه‌ی جستجو ---------- */
.sbox { position: relative; display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.sbox:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent), var(--shadow); }
.sbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 14px 20px; font-size: 17px; outline: none; }
.sbox input::placeholder { color: var(--faint); }
.sbox button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  color: #fff; background: var(--brand); border-radius: 999px; padding: 10px 20px; margin: 5px; }
.sbox button:hover { background: var(--brand-strong); }
.sbox--sm input { padding: 9px 16px; font-size: 15px; }
.sbox--sm button { padding: 7px 14px; }
.sbox--sm button span { display: none; }
.suggest { position: absolute; inset-inline: 12px; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; z-index: 30; display: none; }
.suggest.open { display: block; }
.suggest li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px; }
.suggest li a:hover, .suggest li a.active { background: var(--brand-soft); text-decoration: none; }

/* ---------- صفحه‌ی اول ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); }
.hero .container { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 5.4vw, 56px); font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.hero .sbox { max-width: 720px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips a { display: inline-block; font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 999px; }
.chips a:hover { color: var(--brand); border-color: var(--brand); text-decoration: none; }
.chips__label { font-size: 13px; color: var(--faint); padding: 5px 2px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 820px; margin: 44px auto 0; padding: 0; list-style: none; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px; }
.stats b { display: block; font-size: 26px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.sec { padding: 64px 0; }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.sec__head h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; }
.sec__head p { color: var(--muted); font-size: 16.5px; }
.kicker { display: block; font-size: 13px; font-weight: 800; color: var(--carrot); letter-spacing: .02em; margin-bottom: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.sec--alt .card { background: var(--page); box-shadow: none; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card ul { margin: 12px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: 14.5px; }
.ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.ic--carrot { background: var(--carrot-soft); color: var(--carrot); }
.ic--ok { background: var(--ok-soft); color: var(--ok); }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; list-style: none; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s, persian); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 10px; }
[dir="ltr"] .steps li::before { content: counter(s); }
.steps b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 14.5px; }

.shops { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.shop { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.shop:hover { text-decoration: none; border-color: var(--brand); }
.shop__dot { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 900; }
.shop b { display: block; font-size: 17px; }
.shop small { color: var(--muted); }
.shop--add { border-style: dashed; color: var(--muted); }

.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-radius: 24px; padding: 36px;
  color: #fff; background: linear-gradient(135deg, #0a4857, #0e5f73 55%, #4a7095); }
.band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 6px; }
.band p { margin: 0; opacity: .88; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; border-radius: 999px; padding: 12px 22px; background: #fff; color: #0a4857; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.band__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- نتایج جستجو ---------- */
.results-head { padding: 28px 0 8px; }
.results-head h1 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; margin: 0; }
.results-head p { color: var(--muted); margin: 4px 0 0; font-size: 14.5px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.filters a { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.filters a.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.filters a:hover { text-decoration: none; border-color: var(--brand); }
.filters--sections { margin-bottom: 0; }
.filters--sections a { font-weight: 700; }
.filters--sections a.on { background: var(--rabbit); border-color: var(--rabbit); color: #fff; }

.pick { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: var(--surface);
  border: 2px solid var(--brand); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 26px; position: relative; }
.pick__badge { position: absolute; top: -14px; inset-inline-start: 22px; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px;
  padding: 4px 14px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.pick__img { aspect-ratio: 1; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.pick__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pick h2 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.why { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.why li { font-size: 13px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 3px 10px; border-radius: 999px; }
.pick__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.price { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-inline-start: 4px; }
.price del { display: block; font-size: 13px; font-weight: 500; color: var(--faint); }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; background: var(--carrot); border-radius: 999px; padding: 10px 20px; }
.go:hover { text-decoration: none; filter: brightness(1.06); }
.go--ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); padding: 7px 14px; font-size: 14px; }
@media (max-width: 640px) { .pick { grid-template-columns: 1fr; } .pick__img { max-width: 220px; margin: 0 auto; } }

.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.item__img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.item__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.noimg { color: #c7cad6; }
.item__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.item h3 { font-size: 15px; font-weight: 700; line-height: 1.6; margin: 0; }
.meta { font-size: 12.5px; color: var(--faint); }
.offers { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px dashed var(--line); }
.offers li { display: flex; align-items: center; gap: 8px; padding: 8px 0 0; font-size: 14px; }
.offers .shopname { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.offers .shopname i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.offers .p { margin-inline-start: auto; font-weight: 800; }
.offers .p small { font-weight: 500; color: var(--muted); font-size: 11.5px; }
.offers .out { color: var(--faint); font-weight: 500; font-size: 12.5px; margin-inline-start: auto; }
.offers .best { font-size: 11px; font-weight: 800; color: var(--carrot); background: var(--carrot-soft); padding: 1px 8px; border-radius: 999px; }
.offers a { color: inherit; }

.empty { text-align: center; padding: 60px 16px; color: var(--muted); }
.empty h2 { color: var(--ink); }

/* ---------- محتوای متنی ---------- */
.prose { max-width: 780px; margin: 0 auto; font-size: 16.5px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; font-weight: 900; }
.prose p, .prose li { color: var(--muted); }

/* ---------- پانویس ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h4 { color: var(--ink); font-size: 14.5px; margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--muted); }
.foot__bar { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ================= دپاک: صفحه‌ی اول با گرافیک سایت قبلی ================= */
.dhero { position: relative; color: #fff; padding: 84px 0 150px; text-align: center; overflow: hidden;
  background: #0a3440 url("dpak/kerman.jpg") center 40% / cover no-repeat; }
.dhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 34, 42, .72), rgba(10, 72, 87, .82)); }
.dhero .container { position: relative; }
.dhero__logo { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #fff; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.dhero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 900; margin-bottom: 12px; }
.dhero h1 em { font-style: normal; color: #9ee3f2; }
.dhero p.lead { color: rgba(255,255,255,.88); max-width: 720px; margin: 0 auto 30px; font-size: clamp(15.5px, 2vw, 18.5px); }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.path { display: flex; flex-direction: column; gap: 6px; text-align: start; color: var(--ink); background: var(--surface);
  border-radius: 18px; padding: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.18); border: 2px solid transparent; }
.path:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); transition: transform .2s; }
.path b { font-size: 17.5px; }
.path span { color: var(--muted); font-size: 14px; }
.path em { font-style: normal; font-weight: 800; color: var(--brand); font-size: 14px; margin-top: auto; padding-top: 6px; }
.path .ic { margin-bottom: 4px; }

.rabbit-box { position: relative; margin: -100px auto 0; max-width: 980px; background: var(--surface); border-radius: 24px;
  box-shadow: var(--shadow), 0 20px 50px rgba(15, 23, 42, .12); padding: 28px; text-align: center; border: 1px solid var(--line); }
.rabbit-box h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 900; display: inline-flex; align-items: center; gap: 10px; }
.rabbit-box h2 em { font-style: normal; color: var(--rabbit); }
.rabbit-box p { color: var(--muted); margin: 0 auto 18px; max-width: 640px; }
.rabbit-box .sbox button { background: var(--rabbit); }
.rabbit-box .stats { margin-top: 24px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split video, .split img.ph { width: 100%; border-radius: 20px; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 10; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--muted); }
.checks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 900; font-size: 13px; margin-top: 3px; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards4 { grid-template-columns: 1fr; } }

.maptease { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.maptease__img { min-height: 260px; background: url("dpak/marketing.jpg") center / cover; }
.maptease__body { padding: 32px; }
@media (max-width: 760px) { .maptease { grid-template-columns: 1fr; } }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: inline-end; color: var(--brand); font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 14px; }

.partners { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pcard { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--ink); }
.pcard:hover { text-decoration: none; border-color: var(--brand); }
.pcard img, .pcard__dot { width: 56px; height: 56px; flex: none; border-radius: 14px; background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 4px; }
.pcard__dot { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 22px; }
.pcard b { display: block; }
.pcard small { display: block; color: var(--muted); font-size: 13px; }
.pcard .pcard__host { color: var(--brand); text-align: right; }
.partners img { width: 130px; height: 130px; border-radius: 18px; background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 8px; }

.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .contact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact { grid-template-columns: 1fr; } }
.contact .card b { display: block; margin-bottom: 4px; }

/* ================= فرم‌ها، ثبت‌نام و پنل ================= */
.page { padding: 34px 0 20px; }
.page__head { margin-bottom: 22px; }
.page__head h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; margin: 0; }
.page__head p { color: var(--muted); margin: 6px 0 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-bottom: 18px; }
.panel h2 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.grid2 .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field small, .hint { color: var(--faint); font-size: 12.5px; }
.field .err, .errorlist { color: #dc2626; font-size: 13px; margin: 0; padding: 0; list-style: none; }
.input, .field input[type=text], .field input[type=email], .field input[type=url], .field input[type=number], .field input[type=password],
.field input[type=tel], .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--page); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.slugbox { display: flex; align-items: stretch; direction: ltr; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--page); }
.slugbox input { border: 0 !important; border-radius: 0 !important; background: transparent !important; flex: 1; min-width: 0; text-align: left; }
.slugbox span { padding: 10px 14px; color: var(--muted); background: var(--line); white-space: nowrap; }
.slug-msg { font-size: 13px; }
.slug-msg.ok { color: var(--ok); }
.slug-msg.no { color: #dc2626; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .kinds { grid-template-columns: 1fr; } }
.kind { position: relative; display: block; cursor: pointer; border: 2px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface); }
.kind input { position: absolute; opacity: 0; }
.kind b { display: block; font-size: 16px; margin-bottom: 4px; }
.kind span { color: var(--muted); font-size: 13.5px; }
.kind:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--page); border: 1px solid var(--line); cursor: pointer; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--brand); }
.check b { display: block; }
.check span { color: var(--muted); font-size: 13.5px; }
.pickmap { height: 280px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.btn-p { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; color: #fff; background: var(--brand);
  border: 0; border-radius: 999px; padding: 11px 24px; cursor: pointer; }
.btn-p:hover { background: var(--brand-strong); text-decoration: none; color: #fff; }
.btn-g { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; color: var(--ink); background: transparent;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.btn-g:hover { border-color: var(--brand); text-decoration: none; }
.btn-d { color: #dc2626; border-color: #fecaca; }
.alert { border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.alert--err { background: #fef2f2; color: #b91c1c; }
.alert--info { background: var(--brand-soft); color: var(--brand-strong); }
.status { display: flex; gap: 8px; flex-wrap: wrap; }
.status span { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--page); border: 1px solid var(--line); color: var(--muted); }
.status span.on { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.sitecard { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sitecard a.host { font-size: 18px; font-weight: 800; direction: ltr; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.items li { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.items img, .items .noimg { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--page); flex: none; }
.items .t { flex: 1; min-width: 0; }
.items .t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.items .t small { color: var(--muted); }
.authbox { max-width: 440px; margin: 40px auto; }

/* ================= نقشه‌ی کسب‌وکارها ================= */
.mapwrap { display: grid; grid-template-columns: 360px 1fr; height: calc(100vh - 64px); min-height: 520px; }
.mapside { overflow: auto; border-inline-end: 1px solid var(--line); background: var(--surface); padding: 16px; }
.mapside h1 { font-size: 22px; font-weight: 900; margin: 0 0 4px; }
.mapside .hint { margin-bottom: 12px; }
#bmap { width: 100%; height: 100%; }
.blist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.blist li { border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.blist li:hover { background: var(--brand-soft); }
.blist b { display: block; }
.blist small { color: var(--muted); display: block; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 16px; background: var(--brand); }
.tabs a { color: #fff; opacity: .85; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.tabs a:hover, .tabs a.on { opacity: 1; background: rgba(255,255,255,.16); text-decoration: none; }
@media (max-width: 820px) {
  .mapwrap { grid-template-columns: 1fr; height: auto; }
  .mapside { border: 0; }
  #bmap { height: 60vh; }
}
.maplibregl-popup-content { font-family: "Vazirmatn", Tahoma, sans-serif; direction: rtl; text-align: right; border-radius: 12px !important; }

/* ================= انتخاب موقعیت مثل اسنپ ================= */
body.mapmode .foot { display: none; }
.pickstep { position: fixed; inset: 64px 0 0 0; z-index: 4; background: var(--page); }
.pickmap { position: relative; }
/* maplibre-gl.css بعد از این فایل بار می‌شود و .maplibregl-map را relative می‌کند؛ گزینشگر قوی‌تر لازم است */
.pickstep .pickmap--full.maplibregl-map, .pickstep .pickmap--full { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
.pin { position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none; transform: translate(-50%, -100%); transition: transform .18s ease; }
.pin svg { display: block; filter: drop-shadow(0 6px 8px rgba(0,0,0,.28)); }
.pin i { position: absolute; left: 50%; bottom: -5px; width: 10px; height: 4px; margin-left: -5px; border-radius: 50%; background: rgba(0,0,0,.35); transition: transform .18s; }
.pin.up { transform: translate(-50%, calc(-100% - 14px)); }
.pin.up i { transform: translateY(14px) scale(1.6); opacity: .6; }
.gps { position: absolute; z-index: 2; inset-inline-start: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); color: var(--brand); box-shadow: 0 4px 14px rgba(0,0,0,.2); display: grid; place-items: center; }
.gps.busy { animation: gpspulse 1s infinite; }
@keyframes gpspulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 25%, transparent); } }
.pickstep .gps { bottom: calc(260px + env(safe-area-inset-bottom)); }
.pick-top { position: absolute; z-index: 3; top: 12px; inset-inline: 12px; display: flex; justify-content: center; }
.pick-search { position: relative; width: 100%; max-width: 560px; }
.pick-search input { width: 100%; font: inherit; border: 0; border-radius: 14px; padding: 12px 16px; background: var(--surface); color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.pick-search input:focus { outline: 2px solid var(--brand); }
.pick-results { position: absolute; top: calc(100% + 6px); inset-inline: 0; list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.18); max-height: 50vh; overflow: auto; }
.pick-results li { padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.pick-results li:hover { background: var(--brand-soft); }
.pick-results b { display: block; font-size: 14.5px; }
.pick-results small { color: var(--muted); }
.pick-sheet { position: absolute; z-index: 3; bottom: 0; left: 50%; transform: translateX(-50%); width: min(560px, 100%); background: var(--surface);
  border-radius: 22px 22px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.16); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); text-align: center; }
.pick-hint { color: var(--muted); font-size: 14px; margin: 2px 0 8px; }
.pick-addr { font-weight: 800; font-size: 16px; min-height: 1.8em; margin: 0 0 14px; }
.pick-sheet .btn-p { width: 100%; padding: 14px; font-size: 16px; }
.pick-sheet .btn-p:disabled { opacity: .55; cursor: wait; }
.pick-skip { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.chosen-loc { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; }
.pickmap--panel, .pickmap--panel.maplibregl-map { height: 340px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.pickmap--panel .pick-top { top: 10px; }
.addr-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: 14px; }

/* ================= صفحه‌ی طراحی سایت و مقاله‌ها ================= */
.dhero--page { padding: 56px 0 72px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: inherit; }
.crumbs--light, .crumbs--light a { color: rgba(255,255,255,.8); }
.actions--center { justify-content: center; }
.btn-g--light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-g--light:hover { border-color: #fff; }
.card__t { font-size: 19px; font-weight: 800; }
.article__h1 { font-size: clamp(26px, 4.2vw, 42px); }
.article { padding-bottom: 24px; }
.prose h3 { font-size: 19px; font-weight: 800; margin-top: 1.3em; }
.prose ol, .prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: start; vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); }
.prose td { color: var(--muted); }
.prose .note { background: var(--brand-soft); border-radius: 14px; padding: 14px 18px; margin: 18px 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 8px 0 20px; }
.toc ul { margin: 8px 0 0; font-size: 15px; list-style: none; padding: 0; }
.cta { margin-top: 32px; background: var(--surface); border: 1px solid var(--brand); border-radius: var(--radius); padding: 22px; }
.cta b { font-size: 18px; }
.cta p { margin: 6px 0 0; }
