/* =========================================================
   SourceShop — استایل اصلی
   تم تیره فروشگاهی | RTL | زرد طلایی + کهربایی
   ========================================================= */

:root {
  --bg: #070c16;
  --bg-2: #0a111f;
  --card: #0e1728;
  --card-2: #121e35;
  --line: #1d2a45;
  --line-soft: #16223a;
  --text: #e9eef9;
  --muted: #93a3c4;
  --brand: #facc15;
  --brand-2: #eab308;
  --brand-soft: rgba(250, 204, 21, 0.12);
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --danger: #f43f5e;
  --danger-soft: rgba(244, 63, 94, 0.12);
  --info: #a78bfa;
  --info-soft: rgba(167, 139, 250, 0.12);
  --ok: #22c55e;
  --ok-soft: rgba(34, 197, 94, 0.12);
  --grad: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 10px 34px rgba(2, 6, 18, 0.5);
  --glow: 0 8px 30px rgba(250, 204, 21, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Vazirmatn, 'Segoe UI', Tahoma, sans-serif;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(250, 204, 21, 0.09), transparent 60%),
    radial-gradient(760px 420px at 4% 12%, rgba(234, 179, 8, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.9;
  font-size: 15px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.site-main { flex: 1; padding-block: 34px 60px; }

/* ---------- اسکرول‌بار ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #23324f; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2e4166; }

/* =========================================================
   تاپ‌بار و نوبار
   ========================================================= */
.topbar {
  background: rgba(10, 17, 31, 0.85);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}
.topbar-inner { display: flex; align-items: center; gap: 26px; padding-block: 8px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item a:hover { color: var(--brand); }
.topbar-hide-sm { margin-inline-start: auto; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 12, 22, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 26px; padding-block: 13px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #1a1400; font-size: 19px;
  box-shadow: var(--glow);
}
.brand-text { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
  transition: 0.18s;
}
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); font-weight: 700; }

.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 17px;
}

/* ---------- منوی کاربر ---------- */
.nav-user { position: relative; }
.nav-user-btn {
  display: flex; align-items: center; gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 7px 13px;
  border-radius: 12px;
  font-size: 14px;
  transition: 0.18s;
}
.nav-user-btn:hover { border-color: var(--brand); }
.avatar {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 12px;
}
.nav-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 210px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 7px;
  z-index: 70;
}
.nav-user-menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: 0.15s;
}
.nav-user-menu a:hover { background: var(--card); color: var(--text); }
.nav-user-menu a i { width: 18px; text-align: center; font-size: 13px; }
.nav-user-menu .menu-admin { color: var(--accent); }
.nav-user-menu .menu-logout { color: var(--danger); border-top: 1px solid var(--line-soft); border-radius: 0 0 10px 10px; margin-top: 4px; padding-top: 12px; }

/* =========================================================
   دکمه‌ها
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  transition: 0.2s;
  white-space: nowrap;
}
.btn i { font-size: 13px; }
.btn-primary { background: var(--grad); color: #1a1400; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-accent { background: linear-gradient(135deg, #f59e0b, #d97706); color: #1a1002; box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-danger { background: var(--danger-soft); border-color: rgba(244, 63, 94, 0.35); color: var(--danger); }
.btn-danger:hover { background: rgba(244, 63, 94, 0.2); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 11px; }
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* =========================================================
   فلش‌ها (پیام‌ها)
   ========================================================= */
.flash-wrap { display: grid; gap: 10px; margin-bottom: 24px; }
.flash {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 17px;
  border-radius: 13px;
  font-size: 14px;
  border: 1px solid;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.flash i { font-size: 16px; }
.flash span { flex: 1; }
.flash-close { background: none; border: 0; color: inherit; opacity: 0.6; font-size: 13px; }
.flash-close:hover { opacity: 1; }
.flash-success { background: var(--ok-soft); border-color: rgba(34, 197, 94, 0.35); color: #86efac; }
.flash-error   { background: var(--danger-soft); border-color: rgba(244, 63, 94, 0.35); color: #fda4af; }
.flash-info    { background: var(--info-soft); border-color: rgba(167, 139, 250, 0.35); color: #c4b5fd; }
.flash-warn    { background: var(--accent-soft); border-color: rgba(245, 158, 11, 0.35); color: #fcd34d; }

/* =========================================================
   هیرو
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-block: 46px 30px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; }
.hero-blob-1 { width: 420px; height: 420px; background: rgba(250, 204, 21, 0.2); top: -160px; inset-inline-start: -120px; }
.hero-blob-2 { width: 360px; height: 360px; background: rgba(245, 158, 11, 0.13); bottom: -180px; inset-inline-end: -80px; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-soft);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: var(--brand);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-badge i { font-size: 11px; }
.hero h1 { font-size: clamp(27px, 4vw, 42px); font-weight: 900; line-height: 1.55; margin-bottom: 16px; }
.hero h1 .grad {
  position: relative;
  background: linear-gradient(120deg, #facc15 0%, #fde047 25%, #fef08a 50%, #fde047 75%, #facc15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -300% 0; } }
.hero h1 .amber { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 15.5px; max-width: 54ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.hstat {
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 17px;
}
.hstat i { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 15px; }
.hstat b { display: block; font-size: 15.5px; }
.hstat span { font-size: 12px; color: var(--muted); }

/* کارت‌های شناور هیرو */
.hero-visual { position: relative; min-height: 380px; }
.float-card {
  position: absolute;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 13px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 19px; }
.float-card b { display: block; font-size: 14px; }
.float-card span { font-size: 12px; color: var(--muted); }
.fc-1 { top: 8%; inset-inline-end: 6%; animation-delay: 0s; }
.fc-2 { top: 38%; inset-inline-start: 0; animation-delay: 1.4s; }
.fc-3 { bottom: 14%; inset-inline-end: 14%; animation-delay: 2.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* =========================================================
   سکشن‌ها
   ========================================================= */
.section { padding-block: 46px 10px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; display: flex; align-items: center; gap: 13px; }
.section-head h2 i { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 18px; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section-link { color: var(--brand); font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.section-link:hover { gap: 11px; }

/* ---------- دسته‌بندی‌ها ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(166px, 1fr)); gap: 15px; }
.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: 0.22s;
  position: relative;
  overflow: hidden;
  /* فیکس هم‌ردیفی «مشاهده خدمات»: کارت ستون فلکس + لینک چسبیده به کف */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cat-card::after {
  content: '';
  position: absolute; inset-inline: 0; top: 0;
  height: 3px;
  background: var(--cat-color, var(--brand));
  opacity: 0;
  transition: 0.22s;
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--cat-color, var(--brand)); box-shadow: var(--shadow); }
.cat-card:hover::after { opacity: 1; }
.cat-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 24px;
  background: var(--card-2);
  border: 1px solid var(--line);
}
.cat-icon svg { width: 34px; height: 34px; }
.cat-icon.fa-icon { background: var(--card-2); }
.ic-telegram { color: #2AABEE; }
.ic-instagram { color: #E1306C; }
.ic-youtube { color: #FF4444; }
.ic-source { color: var(--accent); }
.cat-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.cat-card p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.cat-card .cat-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 13px; font-size: 12.5px; color: var(--cat-color, var(--brand)); font-weight: 700; }

/* ---------- کارت خدمت ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 17px; }

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: 0.22s;
  position: relative;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(250, 204, 21, 0.45); box-shadow: var(--shadow); }
.service-card .sc-top { display: flex; align-items: flex-start; gap: 13px; }
/* فیکس ریسپانسیو: آیکون داخل ردیف فلکس نباید auto-margin (مخصوص کارت دسته‌بندی) بگیرد —
   وگرنه آیکون از متن جدا می‌شود و متن زیر بج «محبوب» می‌رود */
.sc-top .cat-icon { margin: 0; flex: 0 0 auto; }
.sc-top > div { min-width: 0; flex: 1; }
.service-card .sc-top h3 { font-size: 15.5px; font-weight: 800; line-height: 1.6; }
.service-card .sc-cat { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.service-card .sc-desc { font-size: 13px; color: var(--muted); line-height: 1.9; }
.service-card .sc-feats { display: grid; gap: 7px; }
.service-card .sc-feats li { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.service-card .sc-feats li i { color: var(--brand); font-size: 11px; }
.sc-price {
  margin-top: auto;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sc-price .price { font-size: 17px; font-weight: 800; color: var(--accent); }
.sc-price .price small { font-size: 11.5px; color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
.sc-price .min { font-size: 11.5px; color: var(--muted); }
.pop-badge {
  position: absolute;
  top: 16px; inset-inline-end: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- بخش سورس ---------- */
.source-band {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05), transparent);
  border-block: 1px solid var(--line-soft);
  padding-block: 44px;
  margin-top: 40px;
}
.source-card { border-color: rgba(245, 158, 11, 0.22); }
.source-card:hover { border-color: rgba(245, 158, 11, 0.5); }
.source-card .sc-feats li i { color: var(--accent); }
.source-card .sc-price .price { color: var(--accent); }


/* ---------- چرا ما ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.why-card {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px;
  transition: 0.22s;
}
.why-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.why-card i {
  flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 18px;
}
.why-card h3 { font-size: 14.5px; margin-bottom: 5px; }
.why-card p { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  margin-top: 46px;
  background:
    radial-gradient(500px 200px at 85% 0%, rgba(245, 158, 11, 0.14), transparent 60%),
    var(--grad);
  border-radius: 22px;
  padding: 42px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  color: #1a1400;
}
.cta-band h2 { font-size: clamp(19px, 2.4vw, 25px); font-weight: 900; }
.cta-band p { font-size: 14px; opacity: 0.85; margin-top: 5px; }
.cta-band .btn { background: #171103; color: #fef9c3; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.cta-band .btn:hover { transform: translateY(-2px); }

/* =========================================================
   چیپ فیلتر
   ========================================================= */
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: 0.18s;
}
.chip i { font-size: 13px; }
.chip:hover { color: var(--text); border-color: var(--brand); }
.chip.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }

/* =========================================================
   فرم‌ها
   ========================================================= */
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.field .req { color: var(--danger); }
.input, select.input, textarea.input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 15px;
  font-size: 14px;
  outline: none;
  transition: 0.18s;
}
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.14); }
.input::placeholder { color: #54648a; }
textarea.input { resize: vertical; min-height: 90px; }
select.input option { background: var(--card-2); }
.hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.input-wrap { position: relative; }
.input-wrap .input { padding-inline-end: 44px; }
.input-wrap .pw-toggle {
  position: absolute;
  inset-inline-end: 8px; top: 50%;
  transform: translateY(-50%);
  background: none; border: 0;
  color: var(--muted);
  width: 34px; height: 34px;
  border-radius: 9px;
}
.input-wrap .pw-toggle:hover { color: var(--brand); }

/* =========================================================
   کارت‌های احراز هویت
   ========================================================= */
.auth-wrap {
  max-width: 460px;
  margin: 30px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.auth-wrap::before {
  content: '';
  position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: var(--grad);
}
.auth-icon {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--brand-soft);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 24px;
}
.auth-wrap h1 { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 7px; }
.auth-wrap .auth-sub { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 21px; padding-top: 19px; border-top: 1px dashed var(--line); }
.auth-alt a { color: var(--brand); font-weight: 700; }

/* =========================================================
   صفحه سفارش
   ========================================================= */
.order-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: start; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.panel h2 { font-size: 17px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 11px; }
.panel h2 i { color: var(--brand); }
.order-summary-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.order-summary-row:last-child { border-bottom: 0; }
.order-summary-row .lbl { color: var(--muted); }
.order-summary-row .val { font-weight: 700; }
.order-total {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--brand-soft);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 13px;
  padding: 15px 18px;
  margin-top: 16px;
}
.order-total .lbl { font-size: 14px; font-weight: 700; }
.order-total .val { font-size: 20px; font-weight: 900; color: var(--brand); }
.qty-box { display: flex; gap: 10px; align-items: stretch; }
.qty-box .input { text-align: center; font-weight: 800; }
.qty-btn {
  width: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--text);
  font-size: 15px;
  transition: 0.15s;
}
.qty-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- وضعیت‌ها و نشان‌ها ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid;
}
.badge i { font-size: 9px; }
.badge-warn { background: var(--accent-soft); color: #fcd34d; border-color: rgba(245, 158, 11, 0.35); }
.badge-ok { background: var(--ok-soft); color: #86efac; border-color: rgba(34, 197, 94, 0.35); }
.badge-danger { background: var(--danger-soft); color: #fda4af; border-color: rgba(244, 63, 94, 0.35); }
.badge-info { background: var(--info-soft); color: #c4b5fd; border-color: rgba(167, 139, 250, 0.35); }
.badge-muted { background: rgba(147, 163, 196, 0.1); color: var(--muted); border-color: var(--line); }

/* ---------- بنر وضعیت حساب ---------- */
.status-banner {
  display: flex; align-items: center; gap: 15px;
  border-radius: var(--radius);
  padding: 19px 22px;
  margin-bottom: 24px;
  border: 1px solid;
}
.status-banner i { font-size: 22px; }
.status-banner b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.status-banner p { font-size: 12.5px; opacity: 0.85; }
.status-banner.banner-warn { background: var(--accent-soft); border-color: rgba(245, 158, 11, 0.35); color: #fcd34d; }
.status-banner.banner-ok { background: var(--ok-soft); border-color: rgba(34, 197, 94, 0.35); color: #86efac; }

/* =========================================================
   پنل کاربری
   ========================================================= */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(19px, 2.5vw, 25px); font-weight: 900; display: flex; align-items: center; gap: 13px; }
.page-head h1 i { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #1a1400; display: grid; place-items: center; font-size: 18px; box-shadow: var(--glow); }
.page-head .sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.page-head-center { justify-content: center; text-align: center; }
.page-head-center h1 { justify-content: center; }
.page-head-center .sub { margin-inline: auto; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-bottom: 26px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; align-items: center; gap: 15px;
  transition: 0.2s;
}
.stat-card:hover { border-color: var(--brand); }
.stat-card i {
  flex: 0 0 48px; width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 18px;
  background: var(--brand-soft); color: var(--brand);
}
.stat-card i.amber { background: var(--accent-soft); color: var(--accent); }
.stat-card i.violet { background: var(--info-soft); color: var(--info); }
.stat-card i.green { background: var(--ok-soft); color: var(--ok); }
.stat-card b { display: block; font-size: 19px; font-weight: 900; }
.stat-card span { font-size: 12px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; align-items: start; }
.profile-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.profile-item:last-child { border-bottom: 0; }
.profile-item .lbl { color: var(--muted); display: flex; align-items: center; gap: 9px; }
.profile-item .lbl i { color: var(--brand); width: 16px; }

/* =========================================================
   جدول‌ها
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  max-height: 620px;
  overflow-y: auto;
}
table.table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.table thead th {
  position: sticky; top: 0;
  background: var(--card-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  z-index: 5;
}
.table tbody td { padding: 13px 15px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: 0.15s; }
.table tbody tr:hover { background: rgba(250, 204, 21, 0.04); }
.table .t-title { font-weight: 700; }
.table .t-muted { color: var(--muted); font-size: 12px; }
.table .actions { display: flex; gap: 7px; flex-wrap: wrap; }
.table .link-cell { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: left; }
.table .link-cell a { color: var(--brand); }
.table .link-cell a:hover { text-decoration: underline; }

.mini-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: 0.15s;
}
.mini-btn:hover { border-color: var(--brand); color: var(--brand); }
.mini-btn.ok { color: #86efac; border-color: rgba(34, 197, 94, 0.35); background: var(--ok-soft); }
.mini-btn.ok:hover { border-color: var(--ok); }
.mini-btn.danger { color: #fda4af; border-color: rgba(244, 63, 94, 0.35); background: var(--danger-soft); }
.mini-btn.danger:hover { border-color: var(--danger); }
.mini-btn.warn { color: #fcd34d; border-color: rgba(245, 158, 11, 0.35); background: var(--accent-soft); }
.mini-btn.warn:hover { border-color: var(--accent); }

.status-select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  padding: 7px 10px;
  font-size: 12px;
  outline: none;
}
.status-select:focus { border-color: var(--brand); }

/* ---------- حالت خالی ---------- */
.empty {
  text-align: center;
  padding: 55px 20px;
  color: var(--muted);
}
.empty i { font-size: 42px; color: #2e4166; margin-bottom: 16px; }
.empty h3 { color: var(--text); font-size: 16px; margin-bottom: 7px; }
.empty p { font-size: 13px; margin-bottom: 20px; }

/* =========================================================
   پنل ادمین
   ========================================================= */
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  transition: 0.18s;
}
.admin-tab i { font-size: 13px; }
.admin-tab:hover { color: var(--text); border-color: var(--brand); }
.admin-tab.active { background: var(--grad); color: #1a1400; border-color: transparent; box-shadow: var(--glow); }
.admin-tab .cnt {
  background: rgba(26, 20, 0, 0.14);
  font-size: 11px;
  padding: 1px 9px;
  border-radius: 999px;
}
.admin-tab:not(.active) .cnt { background: var(--accent-soft); color: var(--accent); }

.admin-section-title { font-size: 15px; font-weight: 800; margin: 30px 0 14px; display: flex; align-items: center; gap: 10px; }
.admin-section-title i { color: var(--brand); }
.admin-section-title .cat-icon { margin: 0; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; }
.admin-section-title .cat-icon svg { width: 20px; height: 20px; }
.admin-section-title .cat-icon.fa-icon { font-size: 14px; }

.inline-form { display: inline-flex; align-items: center; gap: 8px; }
.inline-form .input { width: 110px; padding: 8px 11px; font-size: 12.5px; border-radius: 9px; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); cursor: pointer; }
.switch input { display: none; }
.switch .track {
  width: 38px; height: 21px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  transition: 0.2s;
}
.switch .track::after {
  content: '';
  position: absolute;
  top: 3px; inset-inline-start: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--muted);
  transition: 0.2s;
}
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { inset-inline-start: 20px; background: #fff; }

/* =========================================================
   تماس / سوالات متداول
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 16px; margin-bottom: 30px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: 0.22s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.contact-card i {
  width: 52px; height: 52px;
  margin: 0 auto 15px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 20px;
}
.contact-card h3 { font-size: 14.5px; margin-bottom: 5px; }
.contact-card p { font-size: 13px; color: var(--muted); direction: ltr; }
.contact-card .btn { margin-top: 15px; }

.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--brand); font-size: 13px; }
.faq-item summary .chev { margin-inline-start: auto; transition: 0.2s; color: var(--muted); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 46px 18px 20px; font-size: 13px; color: var(--muted); line-height: 2; }

/* =========================================================
   404
   ========================================================= */
.nf-wrap { text-align: center; padding: 70px 20px; }
.nf-wrap i { font-size: 60px; color: #23324f; margin-bottom: 22px; }
.nf-wrap h1 { font-size: 26px; margin-bottom: 10px; }
.nf-wrap p { color: var(--muted); margin-bottom: 26px; }

/* =========================================================
   فوتر
   ========================================================= */
.site-footer { margin-top: auto; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-block: 44px 34px;
}
.footer-about p { font-size: 13px; color: var(--muted); margin-block: 15px 19px; line-height: 2; }
.footer-col h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 17px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--muted); transition: 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul a::before { content: '\f104'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 9px; color: var(--brand); }
.footer-col ul a:hover { color: var(--brand); padding-inline-start: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--muted); }
.footer-contact li i { color: var(--brand); width: 17px; text-align: center; }
.footer-bar { border-top: 1px solid var(--line-soft); padding-block: 17px; }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.footer-trust { display: inline-flex; align-items: center; gap: 9px; }
.footer-trust i { color: var(--brand); }

/* =========================================================
   انیمیشن ظاهر شدن (CSS خالص — همیشه امن)
   ========================================================= */
.reveal { animation: fadeUp 0.6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .float-card { animation: none; }
}

/* =========================================================
   ریسپانسیو
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 100%; inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--card-2);
    border-bottom: 1px solid var(--line);
    padding: 12px 4%;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: grid; place-items: center; }
  .topbar-hide-sm { display: none; }
  .nav-user-name { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .container { width: 94%; }
  .sc-top .cat-icon { width: 46px; height: 46px; border-radius: 13px; }
  .sc-top .cat-icon svg { width: 27px; height: 27px; }
  .sc-top { gap: 11px; }
  .service-card { padding: 18px 16px; }
  .hero { padding-top: 26px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .panel { padding: 20px 17px; }
  .auth-wrap { padding: 27px 20px; }
  .cta-band { padding: 30px 22px; }
  .stat-card { padding: 16px; }
  .topbar-inner { gap: 15px; justify-content: space-between; }
  .btn-sm { padding: 8px 13px; }
}

/* =========================================================
   v1.1 — آیکون بله، اینماد، صفحه پشتیبانی، پولیش
   ========================================================= */

/* ---------- جلوگیری از سرریز عناوین بلند ---------- */
.grid-3 > *, .cats-grid > *, .why-grid > *, .stat-grid > *, .contact-grid > * { min-width: 0; }
/* فیکس ریسپانسیو: آیتم‌های همه گریدهای اصلی min-width:0 بگیرند تا جدول‌های پهن (min-width:720px)
   باعث سرریز افقی کل صفحه در موبایل نشوند */
.two-col > *, .order-layout > *, .support-layout > *, .footer-grid > * { min-width: 0; }
.sc-price { flex-wrap: wrap; }
.sc-price .price { font-size: clamp(15px, 1.5vw, 17px); }
.service-card h3, .cat-card h3 { overflow-wrap: anywhere; }
.order-total .val { white-space: nowrap; }

/* ---------- آیکون بله (SVG اختصاصی) ---------- */
.bale-ico { border: 0 !important; background: transparent !important; padding: 0; }
.bale-ico svg { width: 22px; height: 22px; }
.topbar-bale { gap: 9px; }
.topbar-bale a { color: #5eead4; font-weight: 700; }
.topbar-bale a:hover { color: #99f6e4; }
.topbar-bale .bale-ico svg { width: 15px; height: 15px; }
.btn-bale-ico { display: inline-flex; }
.btn-bale-ico svg { width: 17px; height: 17px; }

/* ---------- اینماد ---------- */
.enamad-badge {
  display: inline-grid;
  place-items: center;
}
.enamad-badge img { width: 110px; height: auto; display: block; }
.enamad-badge.enamad-lg img { width: 140px; }

/* ---------- فوتر: ستون نماد اعتماد ---------- */
.footer-trust-col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- نوار پیشرفت اسکرول ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.55);
  z-index: 120;
  transition: width 0.12s linear;
  pointer-events: none;
}

/* ---------- دکمه بازگشت به بالا ---------- */
.to-top {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 0;
  background: var(--grad);
  color: #1a1400;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: var(--glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: 0.25s;
  z-index: 110;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { filter: brightness(1.12); transform: translateY(-3px); }

/* ---------- صفحه پشتیبانی ---------- */
.support-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}
.support-bale-top { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 20px; }
.support-bale-ico {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  overflow: hidden;
}
.support-bale-ico svg { width: 44px; height: 44px; }
.support-bale-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.support-bale-top p { font-size: 13.5px; color: var(--muted); }
.support-bale-id {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 11px 15px;
  font-size: 14.5px;
  font-weight: 800;
  color: #5eead4;
  margin-bottom: 16px;
}
.support-bale-id .fa-at { color: var(--muted); font-size: 12px; }
.copy-btn {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--muted);
  font-size: 12px;
  transition: 0.15s;
}
.copy-btn:hover { color: var(--brand); border-color: var(--brand); }
.copy-btn.copied { color: var(--ok); border-color: var(--ok); }
.support-points { display: grid; gap: 11px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.support-points li { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--muted); }
.support-points li i { color: var(--brand); width: 17px; text-align: center; }
.support-side { display: grid; gap: 18px; }
.support-side .panel h3 { font-size: 15px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.support-side .panel h3 i { color: var(--brand); }
.support-enamad { text-align: center; }
.support-enamad .enamad-badge { margin-top: 6px; }

.panel.narrow { max-width: 820px; margin-inline: auto; }

/* ---------- ریسپانسیو صفحه پشتیبانی و پولیش ---------- */
@media (max-width: 1024px) {
  .support-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar-inner { justify-content: center; gap: 18px; }
  .support-bale-top { flex-direction: column; }
  .sc-price .btn { width: 100%; justify-content: center; }
  .footer-trust-col { align-items: center; text-align: center; }
  .footer-trust-col h4::after { inset-inline-start: calc(50% - 17px); }
  .footer-about { text-align: center; }
  .footer-about .brand { justify-content: center; }
  .to-top { inset-inline-start: 14px; bottom: 14px; }
}

/* =========================================================
   پاپ‌آپ سایت دوم (Mirror Site Modal)
   ========================================================= */
.mirror-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4, 3, 0, 0.74);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mirror-overlay.open { opacity: 1; }
/* fix: نمایش پیش‌فرض [hidden] را روی display:flex کلاس برمی‌گرداند تا لایه نامرئی کلیک‌ها را نبلعد */
.mirror-overlay[hidden] { display: none; }

.mirror-modal {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-radius: 22px;
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), var(--glow);
  transform: translateY(16px) scale(0.94);
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.mirror-overlay.open .mirror-modal { transform: translateY(0) scale(1); }

.mirror-close {
  position: absolute;
  top: 13px;
  inset-inline-end: 13px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 15px;
  transition: 0.2s;
}
.mirror-close:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger);
  transform: rotate(90deg);
}

.mirror-ico {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: var(--grad);
  color: #1a1400;
  font-size: 25px;
  box-shadow: var(--glow);
}

.mirror-title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 8px;
}
.mirror-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 18px;
}

.mirror-btn { width: 100%; font-size: 15px; padding-block: 13px; }

body.mirror-lock { overflow: hidden; }

@media (max-width: 480px) {
  .mirror-overlay { padding: 14px; }
  .mirror-modal { padding: 30px 18px 22px; border-radius: 18px; }
  .mirror-title { font-size: 15.5px; }
  .mirror-desc { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .mirror-overlay,
  .mirror-modal { transition: none; }
}

/* =========================================================
   فوکوس سورس‌محور — v1.6.0
   ========================================================= */

/* --- دو کارت بزرگ دسته سورس (بالای بخش سورس‌ها در خانه) --- */
.src-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 38px;
}
.src-duo-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--card);
  border: 1px solid rgba(250, 204, 21, 0.26);
  border-radius: 18px;
  padding: 19px 21px;
  overflow: hidden;
  transition: 0.22s;
}
.src-duo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 130px at 88% 0%, rgba(250, 204, 21, 0.13), transparent 65%);
  pointer-events: none;
}
.src-duo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.6);
  box-shadow: var(--glow);
}
.sd-ico {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.sd-ico.ic-telegram { background: rgba(42, 171, 238, 0.13); }
.sd-ico svg { width: 50px; height: 50px; }
.src-duo-card h3 { font-size: 15.5px; font-weight: 800; }
.src-duo-card p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.sd-cnt {
  margin-inline-start: auto;
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .src-duo { grid-template-columns: 1fr; margin-bottom: 30px; }
  .src-duo-card p { display: none; }
  .sd-ico { width: 44px; height: 44px; border-radius: 13px; font-size: 20px; }
  .sd-ico svg { width: 42px; height: 42px; }
}

/* --- برچسب «سورس آماده» روی کارت‌های سورس (گوشه مخالف بج محبوب) --- */
.src-tag {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--grad);
  color: #1a1400;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.22);
}
.src-tag i { font-size: 9.5px; }

/* --- گروه‌بندی دسته‌ها در خانه: سورس‌ها جلو، خدمات عقب --- */
.cat-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 14px;
}
.cat-group-label i { font-size: 13px; }
.cat-group-label.muted-label { color: var(--muted); margin-top: 30px; }
.cats-grid { margin-bottom: 6px; }
.cat-card.src {
  border-color: rgba(250, 204, 21, 0.3);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.07), var(--card) 70%);
}
.cat-card.src:hover { border-color: rgba(250, 204, 21, 0.65); }

/* --- چیپ زرد سورس در نوار فیلتر فروشگاه --- */
.chip-src { border-color: rgba(250, 204, 21, 0.32); color: var(--text); }
.chip-src:hover { border-color: rgba(250, 204, 21, 0.7); }
.chip-src.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }

/* --- لینک طلایی «سورس ربات‌ها» در منو --- */
.nav-links a.nav-src {
  color: var(--brand);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-links a.nav-src i { font-size: 13px; }
.nav-links a.nav-src:hover { background: var(--brand-soft); color: var(--brand); }
.nav-links a.nav-src.active { background: var(--brand-soft); }

@media (max-width: 920px) {
  .nav-links a.nav-src { color: var(--text); font-weight: 600; }
}
