/* طلاجات — سیستم طراحی */
/* فونت: استعداد (Estedad، OFL) — فارسی و لاتین جدا، هر وزن فقط وقتی لازم بشه دانلود میشه */
@font-face { font-family: Estedad; font-weight: 300; font-display: swap; src: url(/fonts/Estedad-arabic-300.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: Estedad; font-weight: 300; font-display: swap; src: url(/fonts/Estedad-latin-300.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Estedad; font-weight: 400; font-display: swap; src: url(/fonts/Estedad-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: Estedad; font-weight: 400; font-display: swap; src: url(/fonts/Estedad-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Estedad; font-weight: 500; font-display: swap; src: url(/fonts/Estedad-arabic-500.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: Estedad; font-weight: 500; font-display: swap; src: url(/fonts/Estedad-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Estedad; font-weight: 700; font-display: swap; src: url(/fonts/Estedad-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: Estedad; font-weight: 700; font-display: swap; src: url(/fonts/Estedad-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Estedad; font-weight: 800; font-display: swap; src: url(/fonts/Estedad-arabic-800.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: Estedad; font-weight: 800; font-display: swap; src: url(/fonts/Estedad-latin-800.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Estedad; font-weight: 900; font-display: swap; src: url(/fonts/Estedad-arabic-900.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: Estedad; font-weight: 900; font-display: swap; src: url(/fonts/Estedad-latin-900.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* پیش‌فرض: تیره (مشکی گرم و طلایی) */
  --bg: #0a0908; --bg2: #0f0d0a; --surface: #14120f; --surface2: #1b1814;
  --line: #27221a; --line2: #3b3323;
  --text: #f6f0e3; --muted: #ada28c; --faint: #776e5d;
  --gold: #e6c260; --gold2: #d4af37; --gold-ink: #f5dc8a;
  --gold-grad: linear-gradient(120deg, #a67c1a 0%, #e3c160 28%, #fff1b8 50%, #d4af37 70%, #9c7414 100%);
  --silver-grad: linear-gradient(120deg, #7b8086, #c9ced4 45%, #8d9298 100%);
  --up: #3fc08e; --down: #ef6b79; --warn: #e3a64a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 44px -18px rgba(0,0,0,.8);
  --glow: 0 0 0 1px rgba(212,175,55,.14), 0 18px 50px -22px rgba(212,175,55,.35);
  --r: 20px; --r-sm: 12px;
  --font: Estedad, Tahoma, sans-serif;
  --display: Estedad, Tahoma, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #faf6ee; --bg2: #f3ecdd; --surface: #fffdf8; --surface2: #f7f0e2;
  --line: #e7dcc4; --line2: #d9c9a4;
  --text: #1c170f; --muted: #6f6450; --faint: #9a8f78;
  --gold: #a57a17; --gold2: #c9a13b; --gold-ink: #7a5a0e;
  --gold-grad: linear-gradient(120deg, #8a6412 0%, #c9a13b 30%, #e9cf7a 50%, #b88a22 72%, #8a6412 100%);
  --up: #1f8a5f; --down: #c23a4a; --warn: #b7791f;
  --shadow: 0 1px 2px rgba(60,40,0,.05), 0 8px 30px -12px rgba(90,60,0,.18);
  --glow: 0 0 0 1px rgba(165,122,23,.18), 0 16px 40px -20px rgba(165,122,23,.35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text);
  background: radial-gradient(1100px 520px at 85% -8%, color-mix(in srgb, var(--gold2) 9%, transparent), transparent 62%), var(--bg);
  background-attachment: fixed;
  font: 400 15px/1.9 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-ink); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; }
h1, .display { font-family: var(--display); font-weight: 900; }
h2, h3 { font-weight: 800; }
b, strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .86em; }
.num { white-space: nowrap; }
.up { color: var(--up); } .down { color: var(--down); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .gold-text { animation: none; } .ticker-track { animation: none !important; } }

/* ---------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 1.2rem; }
.brand svg { width: 34px; height: 34px; }
.brand b { font-family: var(--display); font-size: 1.4rem; font-weight: 900; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .93rem; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: var(--surface2); }
.theme-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 38px; height: 38px; cursor: pointer; display: grid; place-items: center; }
.menu-btn { display: none; }
@media (max-width: 1040px) {
  .nav { gap: 10px; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; display: none; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .menu-btn { display: grid; margin-inline-start: auto; }
}

/* ---------------------------------------------------------- ticker */
.ticker { border-bottom: 1px solid var(--line); background: var(--bg2); overflow: hidden; direction: ltr; }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { direction: rtl; display: flex; gap: 8px; align-items: baseline; padding: 7px 20px; font-size: .86rem; border-inline-end: 1px solid var(--line); white-space: nowrap; }
.ticker-item b { font-weight: 700; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.demo-bar { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--warn) 16%, transparent) 0 12px, transparent 12px 24px); border-bottom: 1px solid var(--line); text-align: center; font-size: .85rem; padding: 6px 12px; color: var(--muted); }
.demo-bar b { color: var(--warn); }

/* ---------------------------------------------------------- hero */
.hero { position: relative; padding: 64px 0 36px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -20% auto; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold2) 22%, transparent), transparent 70%);
  opacity: .8;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: .82rem; color: var(--muted); background: var(--surface); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 var(--up); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin: 18px 0 12px; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

/* big price card in hero */
.showcase {
  position: relative; border-radius: 26px; padding: 26px; background: var(--surface);
  border: 1px solid var(--line2); box-shadow: var(--shadow); overflow: hidden;
}
.showcase::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.showcase .label { color: var(--muted); font-size: .9rem; }
.showcase .big { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 900; letter-spacing: -.5px; margin: 4px 0; }
.showcase .unit { font-size: .95rem; color: var(--muted); font-weight: 400; }
.showcase .spark { height: 90px; margin: 10px -6px 4px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mini { background: var(--surface2); border-radius: 14px; padding: 10px 12px; }
.mini .t { font-size: .8rem; color: var(--muted); }
.mini .v { font-weight: 700; font-size: 1.02rem; }
.mini .c { font-size: .78rem; }

/* ---------------------------------------------------------- buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font-weight: 700; border: 1px solid var(--line2); background: var(--surface); color: var(--text); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--text); }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: #1a1305; border: 0; text-shadow: 0 1px 0 rgba(255,255,255,.25); }
.btn-gold:hover { color: #1a1305; background-position: 100% 0; }
.btn-sm { padding: 7px 13px; font-size: .88rem; border-radius: 10px; }
.btn-danger { color: var(--down); }
label.f { display: block; margin-bottom: 12px; }
label.f > span { display: block; font-size: .87rem; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.in, input[type=text], input[type=tel], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.in:focus, input:focus, select:focus, textarea:focus { border-color: var(--gold2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold2) 22%, transparent); }
.in-group { display: flex; align-items: stretch; }
.in-group input { border-start-end-radius: 0; border-end-end-radius: 0; }
.in-group .addon { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line2); border-inline-start: 0; border-start-end-radius: 12px; border-end-end-radius: 12px; background: var(--surface2); color: var(--muted); font-size: .85rem; white-space: nowrap; }
.in-hint { font-size: .78rem; color: var(--faint); margin-top: 3px; }
.seg { display: inline-flex; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button, .seg a { border: 0; background: none; padding: 6px 12px; border-radius: 9px; cursor: pointer; font-size: .86rem; color: var(--muted); font-weight: 700; }
.seg .on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.alert { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface2); margin: 12px 0; }
.alert.err { border-color: color-mix(in srgb, var(--down) 50%, transparent); color: var(--down); }
.alert.ok { border-color: color-mix(in srgb, var(--up) 50%, transparent); color: var(--up); }

/* ---------------------------------------------------------- sections & cards */
section.block { padding: 44px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.sec-head p { margin: 0; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .mini-grid { grid-template-columns: repeat(2, 1fr); } }

/* price tiles */
.tile { display: block; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 12px; color: var(--text); transition: border-color .2s, transform .2s; overflow: hidden; }
.tile:hover { border-color: var(--gold2); transform: translateY(-2px); color: var(--text); }
.tile .name { font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.tile .per { font-size: .78rem; color: var(--faint); font-weight: 400; }
.tile .val { font-size: 1.45rem; font-weight: 900; margin-top: 6px; }
.tile .chg { font-size: .85rem; }
.tile svg.sp { width: 100%; height: 38px; margin-top: 6px; }
.chip { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface2); border: 1px solid var(--line); }
.chip.up { background: color-mix(in srgb, var(--up) 12%, transparent); border-color: transparent; }
.chip.down { background: color-mix(in srgb, var(--down) 12%, transparent); border-color: transparent; }

/* tables */
.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-size: .8rem; color: var(--muted); font-weight: 700; background: var(--surface2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--surface2); }
.tbl td a { color: var(--text); font-weight: 700; }

/* gauge for bubble */
.meter { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--up), #d8c26a 50%, var(--down)); margin: 14px 0 6px; direction: ltr; }
.meter i { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--text); transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.meter-l { display: flex; justify-content: space-between; font-size: .75rem; color: var(--faint); }

/* tool cards */
.tool { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: .2s; }
.tool:hover { border-color: var(--gold2); color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow); }
.tool .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: color-mix(in srgb, var(--gold2) 14%, var(--surface2)); }
.tool h3 { font-size: 1.02rem; margin: 0 0 2px; }
.tool p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.7; }
.tool .new { font-size: .7rem; margin-inline-start: 6px; vertical-align: middle; color: var(--gold); border: 1px solid currentColor; border-radius: 6px; padding: 0 5px; }

/* calculator layout */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.result { position: sticky; top: 84px; }
.result .total { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; }
.rows { margin: 12px 0 0; padding: 0; list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 6px 12px; padding: 9px 0; border-bottom: 1px dashed var(--line2); flex-wrap: wrap; }
.rows li:last-child { border-bottom: 0; }
.rows li.sum { font-weight: 900; border-top: 2px solid var(--line2); border-bottom: 0; margin-top: 4px; }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 14px 0 6px; background: var(--surface2); }
.bar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 5px; vertical-align: -1px; }
.issue { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-top: 10px; background: var(--surface2); border-inline-start: 4px solid var(--warn); }
.issue.bad { border-inline-start-color: var(--down); }
.issue.good { border-inline-start-color: var(--up); }
.formula { font-family: ui-monospace, Menlo, monospace; direction: rtl; background: var(--surface2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; line-height: 2.1; font-size: .92rem; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }

/* chart */
.chart-box { position: relative; }
.chart-box svg { width: 100%; height: 320px; display: block; direction: ltr; }
.chart-tip { position: absolute; pointer-events: none; background: var(--text); color: var(--bg); border-radius: 10px; padding: 6px 10px; font-size: .82rem; white-space: nowrap; transform: translate(-50%, -115%); opacity: 0; transition: opacity .1s; }

/* shops */
.shop-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); transition: .2s; }
.shop-card:hover { border-color: var(--gold2); color: var(--text); transform: translateY(-2px); }
.shop-card .cov { height: 90px; background: var(--gold-grad); opacity: .85; }
.shop-card .body { padding: 0 16px 16px; }
.shop-card .lg { width: 64px; height: 64px; border-radius: 18px; margin-top: -32px; border: 3px solid var(--surface); background: var(--surface2); object-fit: cover; display: grid; place-items: center; font-family: var(--display); font-size: 1.6rem; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.product .ph { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, var(--surface2), var(--bg2)); display: grid; place-items: center; font-size: 3rem; overflow: hidden; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .pb { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product .spec { font-size: .8rem; color: var(--muted); }
.product .price { font-weight: 900; font-size: 1.15rem; margin-top: auto; }
.product.na { opacity: .55; }

/* footer */
footer.foot { margin-top: 60px; border-top: 1px solid var(--line); background: var(--bg2); padding: 36px 0 28px; font-size: .9rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot h4 { color: var(--text); margin: 0 0 8px; }
.foot a { color: var(--muted); display: block; padding: 2px 0; }
.foot a:hover { color: var(--gold); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

.panel-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.auth-box { max-width: 420px; margin: 50px auto; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.kpi { font-size: 1.6rem; font-weight: 900; }
.breadcrumb { font-size: .85rem; color: var(--faint); margin: 18px 0 0; }
.breadcrumb a { color: var(--muted); }

/* map */
.map { height: 460px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; z-index: 0; direction: ltr; }
.map.sm { height: 260px; }
.map .leaflet-popup-content { direction: rtl; text-align: right; font-family: var(--font); }
.tj-pin span { display: block; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #f7e7a1, #d4af37 55%, #8a6412); border: 2px solid #1c170f; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
@media (max-width: 620px) { .map { height: 380px; } }

.nav-links a.nav-panel { display: none; }
@media (max-width: 1040px) { .nav-links a.nav-panel { display: block; } .panel-btn { display: none; } }
/* blog */
.post { font-size: 1.04rem; }
.post h2 { scroll-margin-top: 80px; }
.post h3 { scroll-margin-top: 80px; font-size: 1.15rem; }
.post ul, .post ol { padding-inline-start: 1.4em; }
.post li { margin: 4px 0; }
.post .tip { background: color-mix(in srgb, var(--gold2) 10%, var(--surface)); border-inline-start: 4px solid var(--gold2); border-radius: 12px; padding: 4px 16px; margin: 16px 0; }
.post .cta-box { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--r); padding: 16px 20px; margin: 22px 0; }
.post .cta-box p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.post .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; }
.post table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.post th, .post td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: start; }
.post th { background: var(--surface2); font-size: .85rem; color: var(--muted); }
.post .viz { margin: 20px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.post .viz figcaption { font-weight: 700; margin-bottom: 10px; }
.post .vb-r { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; gap: 10px; align-items: center; margin: 6px 0; font-size: .9rem; }
.post .vb-t { background: var(--surface2); border-radius: 99px; height: 10px; overflow: hidden; direction: rtl; }
.post .vb-t i { display: block; height: 100%; background: var(--gold-grad); border-radius: 99px; }
.post .viz-steps ol { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.post .viz-steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; }
.post .viz-steps li::before { content: counter(s, persian); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-grad); color: #1a1305; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.post .vq { display: grid; grid-template-columns: auto 1fr; gap: 6px; }
.post .vq-y { display: flex; flex-direction: column; justify-content: space-between; font-size: .75rem; color: var(--faint); writing-mode: vertical-rl; }
.post .vq-g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.post .vq-c { background: var(--surface2); border-radius: 10px; padding: 10px; font-size: .88rem; display: flex; flex-direction: column; }
.post .vq-c span { color: var(--muted); font-size: .8rem; }
.post .vq-x { grid-column: 2; display: flex; justify-content: space-between; font-size: .75rem; color: var(--faint); }
.chart-mini .b1 { fill: var(--gold2); opacity: .85; }
.chart-mini .b2 { fill: var(--up); }
.plan-card { position: relative; }
.plan-card.best { border-color: var(--gold2); }
.plan-card .price { font-size: 1.5rem; font-weight: 900; }
.feat-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--gold-grad); color: #1a1305; font-size: .72rem; font-weight: 900; padding: 2px 9px; border-radius: 99px; }
.made-with { text-align: center; font-size: .8rem; color: var(--faint); margin: 10px 0 0; }
.adm-tbl td form { display: inline; }
.adm-tbl input.in-sm { width: 70px; padding: 5px 8px; border-radius: 8px; }

/* ---------------------------------------------------------- پرداخت نهایی ظاهر (۱۴۰۵) */
::selection { background: color-mix(in srgb, var(--gold2) 40%, transparent); }
.top { border-bottom: 0; box-shadow: 0 1px 0 var(--line), 0 1px 0 0 color-mix(in srgb, var(--gold2) 10%, transparent) inset; }
.top::after { content: ''; position: absolute; inset: auto 0 -1px; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold2) 45%, transparent), transparent); opacity: .6; }
.nav-links a { font-weight: 500; }
.nav-links a.on { color: var(--gold-ink); background: color-mix(in srgb, var(--gold2) 10%, transparent); }
.card, .tile, .tool, .product, .shop-card, .tbl-wrap, .showcase {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #fff 8%) 0%, var(--surface) 38%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.035);
}
:root[data-theme="light"] .card, :root[data-theme="light"] .tile, :root[data-theme="light"] .tool, :root[data-theme="light"] .product, :root[data-theme="light"] .shop-card, :root[data-theme="light"] .tbl-wrap, :root[data-theme="light"] .showcase { background: var(--surface); }
.tile:hover, .tool:hover, .shop-card:hover { box-shadow: var(--glow); }
.btn { border-radius: 14px; font-weight: 700; letter-spacing: 0; }
.btn-gold { box-shadow: 0 8px 24px -10px rgba(212,175,55,.55), inset 0 1px 0 rgba(255,255,255,.35); position: relative; overflow: hidden; }
.btn-gold::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(120%); transition: transform .7s; }
.btn-gold:hover::after { transform: translateX(-120%); }
.btn-ghost { background: transparent; }
.tbl th { font-weight: 700; letter-spacing: 0; }
.sec-head h2, .prose h2 { font-weight: 900; }
.eyebrow { background: color-mix(in srgb, var(--gold2) 8%, var(--surface)); }
.kpi { font-weight: 900; }
.chip { font-weight: 500; }
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); outline: none; resize: vertical; }
input[type=date], input[type=time], input[type=email], input[type=url], input[type=search] { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); outline: none; }
input[type=file] { width: 100%; min-width: 0; max-width: 100%; padding: 9px; border-radius: 12px; border: 1px dashed var(--line2); background: var(--surface2); }
input[type=checkbox], input[type=radio] { accent-color: var(--gold2); width: 16px; height: 16px; vertical-align: -3px; }

/* ---------------------------------------------------------- پنل طلافروش (داشبورد) */
.pn { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; padding: 26px 0 10px; }
.pn-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 10px; }
.pn-shop { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.pn-shop b { display: block; font-weight: 800; line-height: 1.5; }
.pn-shop small { color: var(--muted); font-size: .76rem; }
.pn-logo { width: 46px; height: 46px; border-radius: 13px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--surface2); font-size: 1.4rem; }
.pn-logo img { width: 100%; height: 100%; object-fit: cover; }
.pn-see { width: 100%; }
.pn-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.pn-g { font-size: .72rem; color: var(--faint); padding: 8px 10px 2px; font-weight: 700; }
.pn-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .92rem; }
.pn-nav a span { width: 22px; text-align: center; }
.pn-nav a:hover { background: var(--surface2); color: var(--text); }
.pn-nav a.on { background: color-mix(in srgb, var(--gold2) 13%, transparent); color: var(--gold-ink); font-weight: 700; }
.pn-badge { margin-inline-start: auto; font-style: normal; background: var(--down); color: #fff; border-radius: 99px; padding: 0 8px; font-size: .74rem; }
.pn-pro { margin-inline-start: auto; font-style: normal; font-size: .72rem; opacity: .75; }
.pn-up { display: block; padding: 14px; border-radius: 16px; background: var(--gold-grad); color: #1a1305; box-shadow: 0 14px 34px -16px rgba(212,175,55,.7); }
.pn-up:hover { color: #1a1305; }
.pn-up b { display: block; }
.pn-up small { font-size: .78rem; opacity: .85; }
.pn-main, .pn-side { min-width: 0; }
.pn-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.pn-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.pn-head p { margin: 2px 0 0; font-size: .92rem; }
.pn-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.pn-form h3 { margin-top: 0; }
.pn-checks { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 4px 0 14px; font-size: .92rem; }
.pn-gal { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pn-gal label { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .75rem; color: var(--muted); }
.pn-gal img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.pn-list-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.pn-products { list-style: none; margin: 0; padding: 0; }
.pn-products li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line2); }
.pn-products li:last-child { border-bottom: 0; }
.pn-products .th { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--surface2); font-size: 1.4rem; }
.pn-products .th img { width: 100%; height: 100%; object-fit: cover; }
.pn-products .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.6; }
.pn-products .nm b { overflow: hidden; text-overflow: ellipsis; }
.pn-products .ac { display: flex; gap: 4px; align-items: center; }
.pro-lock { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold2) 45%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--gold2) 14%, var(--surface)), var(--surface)); }
.pro-lock b { display: block; }
.pro-lock span { font-size: .86rem; color: var(--muted); }
.chip.pro-chip { background: color-mix(in srgb, var(--gold2) 16%, transparent); border-color: transparent; color: var(--gold-ink); font-size: .7rem; }
.chip.pro-on { background: var(--gold-grad); color: #1a1305; border: 0; }
input:disabled, select:disabled, textarea:disabled, button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 980px) {
  .pn { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }
  .pn-side { position: static; min-width: 0; }
  .pn-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .pn-g { display: none; }
  .pn-nav a { flex: none; white-space: nowrap; }
  .pn-up, .pn-side > form { display: none; }
  .pn-split { grid-template-columns: minmax(0, 1fr); }
}

/* گالری قالب‌ها */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tpl-card { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.tpl-card:hover { border-color: var(--gold2); box-shadow: var(--glow); }
.tpl-card.on { border-color: var(--gold2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold2) 55%, transparent); }
.tpl-info { padding: 10px 12px 4px; }
.tpl-info b { font-weight: 800; }
.tpl-info small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.7; margin-top: 2px; }
.tpl-act { display: flex; gap: 6px; padding: 8px 12px 12px; margin-top: auto; }
.tpl-act form { margin: 0; }
.tp { position: relative; height: 170px; background: var(--tbg); overflow: hidden; color: var(--ttext); }
.tp-cover { position: absolute; inset: 0 0 auto; height: 58px; background: var(--tgrad); }
.tp-logo { position: absolute; top: 36px; inset-inline-start: 14px; width: 42px; height: 42px; border-radius: calc(var(--tr) - 2px); background: var(--tsurf); border: 3px solid var(--tbg); display: grid; place-items: center; font: 900 1.2rem var(--thead); color: var(--tacc); }
.tp-name { position: absolute; top: 80px; inset-inline-start: 14px; font: 700 1.05rem/1.4 var(--thead); max-width: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-line { position: absolute; top: 108px; inset-inline-start: 14px; width: 40%; height: 4px; border-radius: 4px; background: var(--tline); }
.tp-cards { position: absolute; inset: auto 12px -14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.tp-cards i { display: block; height: 58px; border-radius: calc(var(--tr) - 6px); background: var(--tsurf); border: 1px solid var(--tline); position: relative; overflow: hidden; }
.tp-cards u { position: absolute; inset: 0 0 45%; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tacc) 35%, transparent), transparent 70%); }
.tp-cards s { position: absolute; inset: auto 8px 8px; height: 5px; border-radius: 3px; background: var(--tgrad); }
.tp-center .tp-cover, .tp-arch .tp-cover { height: 100%; opacity: .14; }
.tp-center .tp-logo, .tp-arch .tp-logo { inset-inline-start: calc(50% - 21px); top: 16px; }
.tp-center .tp-name, .tp-arch .tp-name { inset-inline: 0; text-align: center; top: 62px; max-width: none; }
.tp-center .tp-line, .tp-arch .tp-line { inset-inline-start: 30%; top: 92px; }
.tp-arch .tp-logo { border-radius: 21px 21px 6px 6px; height: 48px; border-color: var(--tacc); }
.tp-arch .tp-name { color: transparent; background: var(--tgrad); -webkit-background-clip: text; background-clip: text; }
.tp-split .tp-cover { inset: 0 0 0 auto; width: 45%; height: auto; border-end-start-radius: 30px; }
[dir=rtl] .tp-split .tp-cover { inset: 0 auto 0 0; border-radius: 0 0 30px 0; }
.tp-minimal .tp-cover { display: none; }
.tp-minimal .tp-logo { top: 14px; border-color: var(--tline); }
.tp-minimal .tp-name { top: 60px; }
.tp-minimal .tp-line { top: 90px; }
.tp-tall .tp-cards i { height: 72px; }
.tp-large .tp-cards { grid-template-columns: 1fr 1fr; }
.tp-large .tp-cards i:nth-child(3) { display: none; }
.tp-list .tp-cards { grid-template-columns: 1fr; inset: auto 12px 8px; gap: 5px; }
.tp-list .tp-cards i { height: 18px; }
.tp-list .tp-cards u { inset: 0 auto 0 0; width: 22%; }
.tp-list .tp-cards s { inset: 6px 30% 6px 26%; height: auto; }

/* درخواست‌ها */
.leads { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.lead { display: flex; flex-direction: column; gap: 4px; }
.lead.new { border-color: color-mix(in srgb, var(--gold2) 55%, var(--line)); }
.lead p { margin: 4px 0; font-size: .92rem; }
.lead-h { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.lead-h small { margin-inline-start: auto; }
.lead-a { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.lead-a form { margin: 0; }
.lead-img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 12px; margin-top: 4px; }
.pn-soon { margin-bottom: 14px; border-color: color-mix(in srgb, var(--gold2) 40%, var(--line)); }
.camp-live { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; border-color: color-mix(in srgb, var(--up) 45%, var(--line)); }

/* ---------------------------------------------------------- اشتراک و پرداخت */
.pro-hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 28px; margin-bottom: 16px; border-radius: 24px; color: #fff;
  background: radial-gradient(600px 240px at 90% 0%, rgba(255,241,184,.25), transparent 60%), linear-gradient(135deg, #1a1206 0%, #3a2a0c 45%, #120d05 100%); border: 1px solid rgba(227,193,96,.45); box-shadow: 0 24px 60px -30px rgba(212,175,55,.6); }
.pro-hero h2 { margin: 10px 0 6px; font-size: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(120deg, #e3c160, #fff1b8 45%, #d4af37); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pro-hero p { margin: 0; color: #e9dfc6; max-width: 46em; }
.pro-hero b { color: #fff1b8; }
.pro-crown { font-size: 4.2rem; filter: drop-shadow(0 10px 20px rgba(212,175,55,.5)); animation: crown 4s ease-in-out infinite; }
@keyframes crown { 50% { transform: translateY(-6px) rotate(-4deg); } }
.pro-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); margin-top: 12px; max-width: 360px; overflow: hidden; }
.pro-bar i { display: block; height: 100%; background: linear-gradient(90deg, #d4af37, #fff1b8); border-radius: inherit; }
.glam-sparks i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff1b8; box-shadow: 0 0 12px 3px rgba(255,241,184,.8); opacity: 0; animation: spark 3.6s infinite; }
.glam-sparks i:nth-child(1) { top: 18%; left: 12%; } .glam-sparks i:nth-child(2) { top: 70%; left: 22%; animation-delay: .6s; } .glam-sparks i:nth-child(3) { top: 30%; left: 48%; animation-delay: 1.2s; }
.glam-sparks i:nth-child(4) { top: 78%; left: 62%; animation-delay: 1.8s; } .glam-sparks i:nth-child(5) { top: 16%; left: 78%; animation-delay: 2.4s; } .glam-sparks i:nth-child(6) { top: 55%; left: 90%; animation-delay: 3s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.3); } 40% { opacity: 1; transform: scale(1); } }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feat-grid.wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.feat { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.feat span { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: color-mix(in srgb, var(--gold2) 14%, var(--surface2)); }
.feat b { font-size: .93rem; }
.feat small { color: var(--muted); font-size: .78rem; line-height: 1.6; }
.free-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .88rem; color: var(--muted); }
.plan-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pay-box { position: sticky; top: 84px; }
.plan-pick { display: grid; gap: 8px; }
.pp { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--surface); cursor: pointer; transition: .15s; }
.pp input { grid-row: 1 / 3; }
.pp:has(input:checked) { border-color: var(--gold2); background: color-mix(in srgb, var(--gold2) 9%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold2) 18%, transparent); }
.pp-m { font-weight: 800; }
.pp-p { grid-row: 1 / 3; grid-column: 3; font-weight: 900; font-size: 1.15rem; text-align: left; }
.pp-p small { font-weight: 400; color: var(--muted); font-size: .75rem; }
.pp-per { grid-column: 2; font-size: .78rem; color: var(--muted); }
.pp-per b { color: var(--up); }
.pp-rib { position: absolute; top: -9px; inset-inline-end: 14px; background: var(--gold-grad); color: #1a1305; font-size: .68rem; font-weight: 900; padding: 1px 9px; border-radius: 99px; }
.pp-rib.alt { background: var(--surface2); color: var(--text); border: 1px solid var(--line2); }
.or { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; color: var(--faint); font-size: .82rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.step { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; }
.step em { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1a1305; font-weight: 900; font-size: .85rem; flex: none; }
.c2c-sel { margin-bottom: 4px; }
.c2c-card { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.c2c-copy { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; text-align: center; }
.c2c-copy small { width: 100%; }
.btn.ok { color: var(--up); border-color: var(--up); }
/* تصویر کارت بانکی */
.bank-card { position: relative; width: min(100%, 380px); aspect-ratio: 85.6 / 53.98; border-radius: 20px; padding: 18px 22px; color: #f7ecd0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--bank) 55%, transparent), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(212,175,55,.28), transparent 60%), linear-gradient(135deg, #17130c 0%, #26200f 45%, #0d0b07 100%);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(227,193,96,.35) inset, 0 1px 0 rgba(255,255,255,.15) inset; transform: perspective(900px) rotateX(4deg); transition: transform .5s; }
.bank-card:hover { transform: perspective(900px) rotateX(0) translateY(-3px); }
.bank-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 7px); pointer-events: none; }
.bc-shine { position: absolute; inset: -40% -60%; background: linear-gradient(100deg, transparent 40%, rgba(255,241,184,.2) 50%, transparent 60%); animation: bcShine 6s ease-in-out infinite; pointer-events: none; }
@keyframes bcShine { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }
.bc-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.bc-bank { font-weight: 800; font-size: .95rem; padding: 2px 10px; border-radius: 8px; background: color-mix(in srgb, var(--bank) 40%, rgba(0,0,0,.3)); border: 1px solid rgba(255,255,255,.12); }
.bc-brand { font-weight: 900; font-size: .9rem; background: linear-gradient(120deg, #e3c160, #fff1b8 50%, #d4af37); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bc-mid { position: relative; display: flex; justify-content: space-between; align-items: center; direction: ltr; }
.bc-chip { width: 48px; height: 36px; }
.bc-nfc { width: 26px; height: 26px; color: rgba(247,236,208,.7); }
.bc-num { position: relative; display: flex; justify-content: space-between; font: 700 clamp(1.05rem, 4.6vw, 1.45rem) Estedad, 'Courier New', monospace; letter-spacing: 1px; color: #fff6dc; text-shadow: 0 1px 0 rgba(0,0,0,.5), 0 -1px 0 rgba(255,255,255,.12); }
.bc-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; }
.bc-holder small { display: block; font-size: .62rem; opacity: .6; }
.bc-holder b { display: block; font-size: 1.25rem; font-weight: 900; line-height: 1.3; background: linear-gradient(120deg, #e3c160, #fff1b8 45%, #d4af37); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bc-holder span { display: block; font: 700 .72rem Estedad, sans-serif; letter-spacing: 3px; opacity: .75; }
.bc-mark { display: flex; direction: ltr; }
.bc-mark i { width: 30px; height: 30px; border-radius: 50%; background: #d4af37; opacity: .9; }
.bc-mark i + i { margin-left: -12px; background: #fff1b8; opacity: .7; }
.drop { position: relative; display: grid; place-items: center; gap: 8px; min-height: 110px; padding: 16px; border-radius: 16px; border: 2px dashed var(--line2); background: var(--surface2); cursor: pointer; text-align: center; transition: .15s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.over, .drop.has { border-color: var(--gold2); background: color-mix(in srgb, var(--gold2) 8%, var(--surface2)); }
.drop img { max-height: 180px; border-radius: 10px; }
.drop-t { color: var(--muted); font-size: .9rem; }
@media (max-width: 980px) { .plan-split { grid-template-columns: minmax(0, 1fr); } .pay-box { position: static; } .feat-grid { grid-template-columns: 1fr; } .free-list { grid-template-columns: 1fr; } }

/* صفحه‌ی تعرفه‌ها */
.price-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; align-items: start; max-width: 980px; margin: 0 auto; }
.pc { position: relative; overflow: hidden; }
.pc h3 { margin: 0; font-size: 1.3rem; }
.pc-p { font-size: 1.9rem; font-weight: 900; margin: 6px 0; }
.pc-p small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.pc ul { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 5px; font-size: .92rem; }
.pc.pro { border: 1px solid color-mix(in srgb, var(--gold2) 60%, transparent); background: radial-gradient(500px 220px at 90% 0%, color-mix(in srgb, var(--gold2) 16%, transparent), transparent 60%), var(--surface); box-shadow: var(--glow); }
.pc.pro ul { grid-template-columns: 1fr 1fr; }
.pc-rib { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--gold-grad); color: #1a1305; font-weight: 900; font-size: .75rem; padding: 2px 12px; border-radius: 99px; }
.pro-lead { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sw { position: relative; border-radius: 14px; border: 1px solid; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.sw i { height: 44px; border-radius: 10px; }
.sw b { font-size: .88rem; }
a.sw { transition: transform .2s; } a.sw:hover { transform: translateY(-3px); }
.sw small { font-size: .72rem; margin-top: -6px; }
.sw em { position: absolute; top: 6px; inset-inline-end: 8px; font-style: normal; font-size: .8rem; }
@media (max-width: 760px) { .price-cols { grid-template-columns: 1fr; } .pc.pro ul { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- ابزارهای فروش و چاپ */
.sales { padding: 22px 0; }
.sales-head h1 { margin: 10px 0 4px; font-size: 1.8rem; }
.lbl-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 12px; max-height: 240px; overflow: auto; margin-top: 8px; font-size: .88rem; }
.lbl-sheet { display: flex; flex-wrap: wrap; gap: 3mm; margin-top: 16px; background: #fff; padding: 6mm; border-radius: 12px; color: #111; }
.lbl { display: flex; gap: 2.5mm; align-items: center; border: 0.3mm dashed #bbb; border-radius: 2mm; padding: 2mm; background: #fff; color: #111; overflow: hidden; break-inside: avoid; }
.lbl-sm { width: 50mm; height: 30mm; }
.lbl-lg { width: 90mm; height: 55mm; padding: 4mm; gap: 4mm; }
.lbl-qr { flex: none; width: 22mm; height: 22mm; }
.lbl-lg .lbl-qr { width: 36mm; height: 36mm; }
.lbl-qr svg { width: 100%; height: 100%; display: block; }
.lbl-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; font-size: 2.6mm; }
.lbl-t small { font-size: 2.1mm; color: #777; }
.lbl-t b { font-size: 3mm; font-weight: 800; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lbl-t em { font-style: normal; font-size: 2.2mm; direction: ltr; text-align: start; color: #555; }
.lbl-t i { font-style: normal; font-size: 2.2mm; color: #8a6412; margin-top: 1mm; }
.lbl-lg .lbl-t { font-size: 3.4mm; }
.lbl-lg .lbl-t b { font-size: 4.2mm; }
.lbl-lg .lbl-t small { font-size: 3mm; color: #8a6412; font-weight: 700; }
.story-ui { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; margin-top: 14px; }
.story-ctl { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 84px; }
.story-designs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.story-designs label { display: flex; align-items: center; gap: 6px; font-size: .85rem; padding: 6px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.story-designs label.locked { opacity: .55; }
.story-designs input { display: none; }
.story-designs label:has(input:checked) { border-color: var(--gold2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold2) 30%, transparent); }
.sd { width: 22px; height: 34px; border-radius: 6px; flex: none; }
.sd-gold { background: linear-gradient(#0a0908, #3a2a0c); box-shadow: inset 0 -8px 0 #d4af37; } .sd-ivory { background: linear-gradient(#fbf7ef, #eadcc0); box-shadow: inset 0 -8px 0 #a57a17; }
.sd-emerald { background: linear-gradient(#04190f, #0e3826); box-shadow: inset 0 -8px 0 #e3c160; } .sd-rose { background: linear-gradient(#fdf4f2, #f0d6d0); box-shadow: inset 0 -8px 0 #b76e79; }
.story-items { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; font-size: .86rem; }
.story-prev { display: grid; place-items: center; }
.story-prev canvas { width: min(100%, 420px); height: auto; border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
@media (max-width: 860px) { .story-ui { grid-template-columns: 1fr; } .story-ctl { position: static; } }
.inv { background: #fff; color: #1a1712; border-radius: 16px; padding: 28px; max-width: 900px; margin: 14px auto 0; box-shadow: var(--shadow); }
.inv input, .inv select { background: transparent; color: inherit; border: 1px solid #e3ddd0; border-radius: 8px; padding: 6px 8px; }
.inv .btn { background: #fff; color: #3a332a; border-color: #e3ddd0; box-shadow: none; }
.inv .btn-danger { color: #c23a4a; }
.inv-cust label, .inv-rates label { white-space: nowrap; }
.inv-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid #c9a13b; padding-bottom: 14px; }
.inv-shop { display: flex; gap: 12px; align-items: center; }
.inv-shop img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.inv-shop b { display: block; font-size: 1.3rem; font-weight: 900; }
.inv-shop small, .inv-title small { display: block; color: #6b6356; font-size: .82rem; }
.inv-title { text-align: left; }
.inv-title h1 { margin: 0; font-size: 1.6rem; color: #8a6412; }
.inv-cust, .inv-rates { display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0; font-size: .9rem; }
.inv-cust label, .inv-rates label { display: flex; align-items: center; gap: 6px; }
.inv-rates { background: #faf6ee; border-radius: 10px; padding: 10px 12px; }
.inv-rates input { width: 130px; }
.inv-scroll { overflow-x: auto; }
.inv-tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
@media (max-width: 620px) { .inv { padding: 16px; } .inv-head { flex-direction: column; } .inv-title { text-align: start; } }
.inv-tbl th { background: #f5efe2; color: #5f5645; font-weight: 700; padding: 8px 6px; text-align: start; font-size: .8rem; }
.inv-tbl td { padding: 5px 4px; border-bottom: 1px solid #efe9dc; }
.inv-tbl td input { width: 100%; min-width: 60px; }
.inv-tbl td:nth-child(2) input { min-width: 170px; }
.inv-tbl .amt { font-weight: 800; white-space: nowrap; }
.inv-add { display: flex; gap: 8px; margin: 10px 0; }
.inv-add select { max-width: 320px; }
.inv-sum { display: flex; justify-content: flex-end; margin-top: 12px; }
.inv-sum ul { list-style: none; margin: 0; padding: 0; width: min(100%, 340px); }
.inv-sum li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #e3ddd0; font-size: .92rem; }
.inv-sum li.tot { border-bottom: 0; border-top: 2px solid #c9a13b; margin-top: 4px; padding-top: 8px; font-size: 1.15rem; font-weight: 900; color: #8a6412; }
.inv-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; align-items: flex-end; }
.inv-foot small { display: block; color: #6b6356; font-size: .78rem; }
.inv-sign { width: 200px; height: 80px; border: 1px dashed #c9bfa9; border-radius: 10px; display: grid; place-items: end center; padding-bottom: 6px; font-size: .78rem; color: #8b8170; }
.inv-brand { text-align: center; font-size: .72rem; color: #a39a88; margin: 16px 0 0; direction: ltr; }
@media print {
  body.print-page { background: #fff !important; }
  .print-page .top, .print-page .ticker, .print-page .demo-bar, .print-page footer.foot, .no-print { display: none !important; }
  .print-page .wrap { width: 100%; }
  .lbl-sheet { padding: 0; border-radius: 0; }
  .lbl { border-color: #ddd; }
  .inv { box-shadow: none; padding: 0; margin: 0; }
  .inv input, .inv select { border: 0; padding: 0; }
  .inv-tbl th:last-child, .inv-tbl td:last-child { display: none; }
  @page { size: A4; margin: 10mm; }
}
input[type=file]::file-selector-button { font: inherit; font-weight: 700; border: 1px solid var(--line2); background: var(--surface); color: var(--text); border-radius: 10px; padding: 6px 14px; margin-inline-end: 10px; cursor: pointer; }
.tp-name { line-height: 1.9; }
.tp-arch .tp-name { top: 66px; }

/* قیمت خودکار یا دستی در فرم محصول */
.price-mode { display: grid; gap: 8px; margin: 4px 0 14px; padding: 12px; border-radius: 16px; background: var(--surface2); border: 1px solid var(--line); }
.pm { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line2); background: var(--surface); cursor: pointer; }
.pm:has(input:checked) { border-color: var(--gold2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold2) 16%, transparent); }
.pm input { margin-top: 5px; }
.pm span { display: flex; flex-direction: column; flex: 1; }
.pm small { color: var(--muted); font-size: .78rem; line-height: 1.7; }
.pm em { font-style: normal; font-weight: 900; color: var(--gold); margin-top: 2px; }
.pm-fixed { display: none; }
.price-mode:has(input[value=fixed]:checked) .pm-fixed { display: block; }

/* قاب آیفون ۱۸ پرومکس */
.phone-dock { --s: .62; position: sticky; top: 84px; min-width: 0; }
.phone-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .85rem; }
.phone-head span { display: flex; gap: 4px; }
.phone-head .btn { padding: 4px 9px; }
.phone-x { display: none !important; }
.phone { width: calc(440px * var(--s) + 20px); margin: 0 auto; padding: 10px; border-radius: calc(62px * var(--s) + 10px); direction: ltr;
  background: linear-gradient(145deg, #5b5a58, #2a2927 40%, #6d6b66 60%, #1f1e1c); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9), inset 0 0 0 1.5px rgba(255,255,255,.18); }
.phone-screen { position: relative; width: calc(440px * var(--s)); height: calc(956px * var(--s)); border-radius: calc(62px * var(--s)); overflow: hidden; background: #000; }
.phone-status { position: absolute; inset: 0 0 auto; height: calc(54px * var(--s)); z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 0 calc(34px * var(--s)); color: #fff; font: 700 calc(16px * var(--s)) Estedad, sans-serif; background: #000; }
.island { position: absolute; left: 50%; top: calc(11px * var(--s)); width: calc(126px * var(--s)); height: calc(37px * var(--s)); margin-left: calc(-63px * var(--s)); border-radius: 99px; background: #000; box-shadow: 0 0 0 1px #111; }
.phone-screen iframe { position: absolute; top: calc(54px * var(--s)); left: 0; width: 440px; height: 902px; border: 0; transform: scale(var(--s)); transform-origin: 0 0; background: #fff; }
.home-bar { position: absolute; bottom: calc(8px * var(--s)); left: 50%; width: calc(140px * var(--s)); height: calc(5px * var(--s)); margin-left: calc(-70px * var(--s)); border-radius: 9px; background: rgba(255,255,255,.75); z-index: 2; mix-blend-mode: difference; }
.phone-fab { display: none; position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 60; padding: 12px 18px; border-radius: 99px; border: 0; background: var(--gold-grad); color: #1a1305; font: 800 .92rem var(--font); box-shadow: 0 14px 30px -10px rgba(0,0,0,.7); cursor: pointer; }
@media (min-width: 1440px) { .pn.has-phone { grid-template-columns: 240px minmax(0, 1fr) 300px; width: min(1560px, 100% - 32px); } }
@media (max-width: 1439px) {
  .phone-fab { display: block; }
  .phone-dock { display: none; position: fixed; inset: 0; z-index: 70; top: 0; padding: 16px; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); overflow: auto; }
  .phone-dock.open { display: block; }
  .phone-dock .phone-head { max-width: 360px; margin: 0 auto 10px; color: #fff; }
  .phone-x { display: inline-flex !important; }
}
.city-links { display: flex; flex-wrap: wrap; gap: 6px; }
.city-links a { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .86rem; }
.city-links a:hover { color: var(--gold); border-color: var(--gold2); }
/* جستجوی محصول */
.search-q { font-size: 1.05rem; padding: 13px 16px !important; }
.search-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.search-grid label span { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 3px; }
@media (max-width: 760px) { .search-grid { grid-template-columns: 1fr 1fr; } }
.s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.s-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: .2s; }
.s-card:hover { color: var(--text); border-color: var(--gold2); transform: translateY(-2px); box-shadow: var(--glow); }
.s-ph { position: relative; aspect-ratio: 1; display: grid; place-items: center; font-size: 3rem; background: var(--surface2); overflow: hidden; }
.s-ph img { width: 100%; height: 100%; object-fit: cover; }
.s-ph em { position: absolute; top: 8px; inset-inline-end: 8px; font-style: normal; font-size: .7rem; padding: 1px 8px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; }
.s-b { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.s-b small { color: var(--muted); }
.s-b strong { font-size: 1.1rem; font-weight: 900; color: var(--gold); margin-top: 4px; }
.s-shop { font-size: .8rem; color: var(--muted); }
@media (max-width: 620px) { .s-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.rp { margin-bottom: 10px; }
.rp-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rp-h small { margin-inline-start: auto; }
.rp p { margin: 6px 0; }
.rp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 8px 0; }
.rp-steps i { font-style: normal; font-size: .72rem; text-align: center; padding: 4px 2px; border-radius: 8px; background: var(--surface2); color: var(--faint); }
.rp-steps i.on { background: color-mix(in srgb, var(--gold2) 22%, var(--surface2)); color: var(--gold-ink); font-weight: 700; }
