/* ===== Simineh — Precious Metals Exchange ===== */
@font-face { font-family:"Vazirmatn"; src:url("../assets/fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"Vazirmatn"; src:url("../assets/fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight:500; font-display:swap; }
@font-face { font-family:"Vazirmatn"; src:url("../assets/fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight:700; font-display:swap; }
@font-face { font-family:"Vazirmatn"; src:url("../assets/fonts/Vazirmatn-Black.woff2") format("woff2"); font-weight:800 900; font-display:swap; }

:root {
  --navy-900: #1A1933;
  --navy-800: #232246;
  --navy-700: #2E2C57;
  --navy-600: #393862;
  --gold: #C9A227;
  --gold-soft: #E6CF8A;
  --cream: #F5F1E6;
  --ink: #0B1422;
  --muted: #9FB0C7;
  --line: rgba(201,162,39,0.18);
  --up: #2FBF71;
  --down: #E5564E;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Vazirmatn", system-ui, sans-serif;
  background: var(--navy-800);
  color: var(--cream);
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.num { font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ===== Brand Strip (top of every page) ===== */
.brand-strip {
  background: var(--navy-900);
  text-align: center;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--line);
}
.brand-strip span {
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(201,162,39,0.35);
}
@media (min-width: 768px) {
  .brand-strip span { font-size: 1.9rem; letter-spacing: 4px; }
}

/* ===== Ticker (signature element) ===== */
.ticker {
  background: var(--navy-900);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-size: 0.86rem;
}
.ticker-track {
  display: flex;
  gap: 38px;
  padding: 9px 0;
  white-space: nowrap;
  animation: slide 38s linear infinite;
  width: max-content;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0);} to { transform: translateX(50%);} }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.ticker-item b { color: var(--cream); font-weight: 600; }
.chg { font-weight: 600; font-size: 0.8rem; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
@media (prefers-reduced-motion: reduce){ .ticker-track{ animation: none; } }

/* ===== Header ===== */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,27,45,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; line-height: 1.1; display: flex; flex-direction: column; }
.brand-en { font-size: 0.58rem; letter-spacing: 3px; color: var(--gold-soft); font-weight: 600; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 9px 15px; border-radius: 9px; color: var(--muted);
  font-size: 0.95rem; font-weight: 500; transition: .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); background: var(--navy-700); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  border: none; border-radius: 10px; padding: 10px 18px;
  font-weight: 600; font-size: 0.95rem; transition: .2s;
}
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b08e1f); color: var(--navy-900); }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -7px; left: -7px;
  background: var(--gold); color: var(--navy-900);
  font-size: 0.7rem; font-weight: 800; min-width: 19px; height: 19px;
  border-radius: 50%; display: grid; place-items: center; padding: 0 4px;
}
.menu-toggle { display: none; background: transparent; border: none; color: var(--cream); font-size: 1.6rem; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 70px;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(201,162,39,0.16), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(30,50,82,0.7), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--line); padding: 6px 14px; border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(47,191,113,.18); }
.hero h1 { font-size: clamp(1rem, 2.25vw, 1.65rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.5px; }
.hero h1 span { color: var(--gold); }
.hero p.lead { color: var(--muted); font-size: 1.1rem; margin: 20px 0 30px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.trust-item { }
.trust-item b { font-size: 1.5rem; font-weight: 800; color: var(--gold-soft); display: block; }
.trust-item small { color: var(--muted); font-size: 0.85rem; }

/* live price card in hero */
.price-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow);
}
.price-card h3 { font-size: 0.95rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.price-card .updated { font-size: 0.78rem; color: var(--muted); margin-bottom: 18px; }
.price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.price-row:last-child { border-bottom: none; }
.price-row .label { display: flex; align-items: center; gap: 10px; }
.price-dot { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 1.1rem; }
.dot-gold { background: rgba(201,162,39,.16); }
.dot-silver { background: rgba(180,190,205,.16); }
.price-row .val { text-align: left; }
.price-row .val b { font-size: 1.12rem; font-weight: 700; }
.price-row .val small { display: block; font-size: 0.8rem; }

/* ===== Sections ===== */
section.block { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.5px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ===== Product grid ===== */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.filter-pill {
  background: var(--navy-700); border: 1px solid transparent; color: var(--muted);
  padding: 9px 18px; border-radius: 100px; font-size: 0.9rem; font-weight: 500; transition: .2s;
}
.filter-pill:hover { color: var(--cream); }
.filter-pill.active { background: rgba(201,162,39,.14); border-color: var(--line); color: var(--gold); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--navy-700); border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius); overflow: hidden; transition: .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }
.card-media {
  height: 180px; display: grid; place-items: center; font-size: 3.4rem;
  background: radial-gradient(circle at 50% 35%, var(--navy-600), var(--navy-800));
  position: relative;
}
.card-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(11,20,34,.7); border: 1px solid var(--line);
  color: var(--gold-soft); font-size: 0.72rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.08rem; font-weight: 700; }
.card-body .spec { color: var(--muted); font-size: 0.86rem; }
.card-price { margin-top: auto; }
.card-price .now { font-size: 1.3rem; font-weight: 800; color: var(--gold-soft); }
.card-price .unit { font-size: 0.82rem; color: var(--muted); }
.card-foot { display: flex; gap: 8px; padding: 0 18px 18px; }
.card-foot .btn { flex: 1; text-align: center; font-size: 0.9rem; padding: 10px; }

/* ===== About: story with photo ===== */
.story { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 44px; align-items: start; }
.story-photo { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.story-photo img { width: 100%; height: auto; display: block; }
.story-photo figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  background: linear-gradient(to top, rgba(11,20,34,.92), transparent);
  padding: 26px 20px 16px; font-size: 0.85rem; color: var(--cream);
}
.story h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.story p { color: var(--muted); line-height: 2; }
.story-stats { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.license-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.28);
  color: var(--gold-soft); font-weight: 600; font-size: .92rem;
  padding: 12px 18px; border-radius: 100px;
}
.story-stats div b { font-size: 2.2rem; font-weight: 800; color: var(--gold-soft); display: block; line-height: 1.1; }
.story-stats div small { color: var(--muted); font-size: 0.88rem; }

/* دو کارت: حضور فیزیکی / پلتفرم آنلاین */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card { background: var(--navy-700); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); padding: 30px; transition: .25s; }
.duo-card:hover { border-color: var(--line); transform: translateY(-3px); }
.duo-card .ico { font-size: 1.7rem; background: rgba(201,162,39,.12); width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.duo-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.duo-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.9; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 30px; }
  .story-photo { order: -1; }
  .duo { grid-template-columns: 1fr; }
}

/* ===== Category cards (home) ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card { text-decoration: none; color: inherit; }
.cat-card .card-media { height: 150px; font-size: 3rem; }
.cat-card .spec { line-height: 1.8; font-size: 0.85rem; }
.cat-link { color: var(--gold); font-weight: 700; font-size: 0.92rem; }
.cat-card:hover .cat-link { color: var(--gold-soft); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr; } }

/* ===== Steps / How it works ===== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step { background: var(--navy-700); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); padding: 26px 22px; }
.step .n { font-size: 1.4rem; font-weight: 800; color: var(--gold); display:block; margin-bottom: 10px; }
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ===== Features / trust strip ===== */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { font-size: 1.6rem; background: rgba(201,162,39,.12); width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.feature h4 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.9rem; }

/* ===== Footer ===== */
footer.site { background: var(--navy-900); border-top: 1px solid var(--line); padding: 56px 0 26px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--gold-soft); }
.foot-col a, .foot-col p { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; transition: .2s; }
.foot-col a:hover { color: var(--cream); }
.foot-brand p { max-width: 280px; }
.foot-license {
  display: flex; align-items: center; gap: 7px; margin-top: 4px;
  color: var(--gold-soft) !important; font-size: .84rem !important; font-weight: 600;
  max-width: 280px; line-height: 1.7;
}
.foot-bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: 34px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.85rem; }
.disclaimer { background: rgba(229,86,78,.06); border: 1px solid rgba(229,86,78,.2); border-radius: 10px; padding: 12px 16px; font-size: 0.82rem; color: var(--muted); margin-top: 18px; }

/* ===== Page header (inner pages) ===== */
.page-head { padding: 54px 0 30px; background: radial-gradient(700px 300px at 80% 0, rgba(201,162,39,.12), transparent 60%); }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.5px; }
.page-head p { color: var(--muted); margin-top: 10px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold); }

/* ===== Cart page ===== */
.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; gap: 16px; align-items: center; background: var(--navy-700); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); padding: 16px; }
.cart-item .thumb { width: 64px; height: 64px; border-radius: 10px; background: radial-gradient(circle, var(--navy-600), var(--navy-800)); display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }
.cart-item .info { flex: 1; }
.cart-item .info h4 { font-size: 1rem; }
.cart-item .info small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 8px; background: var(--navy-600); border: 1px solid var(--line); color: var(--cream); font-size: 1.1rem; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.cart-item .line-price { font-weight: 700; color: var(--gold-soft); min-width: 120px; text-align: left; }
.remove { background: transparent; border: none; color: var(--down); font-size: 0.85rem; }
.summary { background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.summary h3 { margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--muted); }
.summary-row.total { border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; padding-top: 16px; color: var(--cream); font-size: 1.15rem; font-weight: 800; }
.summary-row.total span:last-child { color: var(--gold-soft); }
.summary .btn-gold { width: 100%; text-align: center; margin-top: 18px; padding: 13px; }
.empty-cart { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-cart .big { font-size: 3rem; margin-bottom: 14px; }

/* ===== Forms / auth ===== */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card { background: var(--navy-700); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 26px; background: var(--navy-800); padding: 5px; border-radius: 12px; }
.auth-tab { flex: 1; text-align: center; padding: 11px; border-radius: 9px; background: transparent; border: none; color: var(--muted); font-weight: 600; transition: .2s; }
.auth-tab.active { background: var(--navy-600); color: var(--cream); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; margin-bottom: 7px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--navy-800); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 12px 14px; color: var(--cream); font-family: inherit; font-size: 0.95rem;
  transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.auth-card .btn-gold { width: 100%; text-align: center; padding: 13px; margin-top: 6px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 18px; }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: 28px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; aspect-ratio: 3/4; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-photo figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 10px 14px;
  background: linear-gradient(to top, rgba(11,20,34,.88), transparent);
  font-size: .82rem; color: var(--cream); font-weight: 600;
}
.contact-info .ico { font-size: 1.4rem; background: rgba(201,162,39,.12); width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.contact-info h4 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-info p { color: var(--muted); font-size: 0.9rem; }
.contact-form { background: var(--navy-700); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }

/* ===== About ===== */
.about-lead { font-size: 1.15rem; color: var(--cream); max-width: 760px; margin: 0 auto 40px; text-align: center; line-height: 1.9; }
.about-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.about-stat { background: var(--navy-700); border: 1px solid rgba(255,255,255,.05); border-radius: var(--radius); padding: 28px 18px; }
.about-stat b { font-size: 2rem; font-weight: 800; color: var(--gold-soft); display: block; }
.about-stat small { color: var(--muted); }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  background: var(--navy-600); border: 1px solid var(--gold);
  color: var(--cream); padding: 14px 20px; border-radius: 12px;
  box-shadow: var(--shadow); transform: translateY(120%); opacity: 0; transition: .35s;
  display: flex; align-items: center; gap: 10px; font-size: 0.92rem;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .products { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .features { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: repeat(2,1fr); }
  .summary { position: static; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; right: 0; left: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--line); padding: 14px 22px;
  }
  .products { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .trust { gap: 18px; }
}

/* ===== صفحه نقره: کارت محصول با تصویر ===== */
.sv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sv-card {
  background: var(--navy-700); border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: .25s;
}
.sv-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }
.sv-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, var(--navy-600), var(--navy-800));
}
.sv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-media.no-img::after {
  content: "⚪"; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 3rem; opacity: .5;
}
.sv-purity, .sv-badge {
  position: absolute; top: 10px; font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(6px);
}
.sv-purity { right: 10px; background: rgba(11,20,34,.72); border: 1px solid var(--line); color: var(--gold-soft); }
.sv-badge  { left: 10px; background: rgba(201,162,39,.9); color: var(--navy-900); }
.sv-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sv-body h3 { font-size: .98rem; font-weight: 700; line-height: 1.6; }
.sv-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.sv-chip {
  font-size: .74rem; color: var(--muted); background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.06); padding: 3px 9px; border-radius: 100px;
}
.sv-price { margin-top: auto; }
.sv-price .num { font-size: 1.2rem; font-weight: 800; color: var(--gold-soft); }
.sv-price small { color: var(--muted); font-size: .8rem; }
.sv-foot { display: flex; gap: 8px; padding: 0 16px 16px; }
.sv-badge-oos { top: auto; bottom: 10px; left: 10px; background: rgba(229,86,78,.92); color: #fff; }
.sv-card.sv-oos .sv-foot .btn-gold { opacity: .45; }
.sv-oos-tag { margin-inline-start: 6px; }
.sv-foot .btn { flex: 1; text-align: center; font-size: .84rem; padding: 9px 6px; }
.sv-wa { display: inline-flex; align-items: center; justify-content: center; }

/* شمارنده و فیلتر وزن */
.sv-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sv-count { color: var(--muted); font-size: .9rem; }

/* سوالات متداول */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--navy-700); border: 1px solid rgba(255,255,255,.05); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: right; background: transparent; border: none; color: var(--cream);
  padding: 18px 20px; font-size: .98rem; font-weight: 600; display: flex;
  align-items: center; justify-content: space-between; gap: 12px;
}
.faq-q::after { content: "+"; color: var(--gold); font-size: 1.3rem; font-weight: 400; flex-shrink: 0; transition: .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 320px; padding: 0 20px 18px; }
.faq-a p { color: var(--muted); font-size: .92rem; line-height: 1.9; }

@media (max-width: 1100px) { .sv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .sv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  {
  .sv-grid { grid-template-columns: 1fr; }
  .sv-foot { flex-direction: column; }
}

/* ===== صفحه طلا ===== */
.gold-ph { position:absolute; inset:0; display:grid; place-items:center; font-size:3rem; opacity:.55; }
.sv-media.no-gold::after { content:"🟡"; position:absolute; inset:0; display:grid; place-items:center; font-size:3rem; opacity:.55; }

/* دو ستون معرفی: شمش و آبشده */
.gtype { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.gtype-card { background:var(--navy-700); border:1px solid rgba(255,255,255,.05); border-radius:var(--radius); padding:28px; }
.gtype-card h3 { font-size:1.15rem; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.gtype-card h3 .ico { font-size:1.3rem; background:rgba(201,162,39,.12); width:44px; height:44px; border-radius:11px; display:grid; place-items:center; }
.gtype-list { list-style:none; display:flex; flex-direction:column; gap:11px; }
.gtype-list li { color:var(--muted); font-size:.92rem; display:flex; gap:9px; align-items:flex-start; line-height:1.75; }
.gtype-list li::before { content:"✓"; color:var(--gold); font-weight:800; flex-shrink:0; }

/* ماشین‌حساب طلای آبشده */
.melted { display:grid; grid-template-columns:0.85fr 1.15fr; gap:32px; align-items:stretch; }
.melted-photo { border-radius:18px; overflow:hidden; border:1px solid var(--line); position:relative;
  background:radial-gradient(circle at 50% 40%, var(--navy-600), var(--navy-800)); min-height:280px; }
.melted-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.melted-box { background:linear-gradient(160deg,var(--navy-700),var(--navy-800)); border:1px solid var(--line);
  border-radius:18px; padding:28px; box-shadow:var(--shadow); }
.melted-box h3 { font-size:1.2rem; margin-bottom:6px; }
.melted-box .sub { color:var(--muted); font-size:.88rem; margin-bottom:20px; }
.mc-rate { display:flex; justify-content:space-between; align-items:center; padding:12px 14px;
  background:var(--navy-900); border:1px solid var(--line); border-radius:11px; margin-bottom:20px; }
.mc-rate span:first-child { color:var(--muted); font-size:.88rem; }
.mc-rate b { color:var(--gold-soft); font-size:1.05rem; }

.gram-input { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.gram-input button { width:44px; height:48px; border-radius:11px; background:var(--navy-600);
  border:1px solid var(--line); color:var(--cream); font-size:1.4rem; flex-shrink:0; transition:.2s; }
.gram-input button:hover { border-color:var(--gold); color:var(--gold); }
.gram-input .field-wrap { flex:1; position:relative; }
.gram-input input { width:100%; background:var(--navy-900); border:1px solid rgba(255,255,255,.08);
  border-radius:11px; padding:13px 52px 13px 14px; color:var(--cream); font-family:inherit;
  font-size:1.15rem; font-weight:700; text-align:center; }
.gram-input input:focus { outline:none; border-color:var(--gold); }
.gram-input .unit-tag { position:absolute; inset-inline-end:14px; top:50%; transform:translateY(-50%);
  color:var(--muted); font-size:.85rem; pointer-events:none; }

.presets { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.presets button { background:var(--navy-800); border:1px solid rgba(255,255,255,.07); color:var(--muted);
  padding:7px 14px; border-radius:100px; font-size:.85rem; font-weight:600; transition:.2s; }
.presets button:hover { color:var(--gold); border-color:var(--line); }

.mc-rows { border-top:1px solid rgba(255,255,255,.07); padding-top:16px; }
.mc-row { display:flex; justify-content:space-between; padding:9px 0; color:var(--muted); font-size:.92rem; }
.mc-row.total { border-top:1px solid rgba(255,255,255,.09); margin-top:8px; padding-top:15px;
  color:var(--cream); font-size:1.12rem; font-weight:800; }
.mc-row.total span:last-child { color:var(--gold-soft); }
.melted-box .btn-gold { width:100%; text-align:center; padding:13px; margin-top:18px; }

/* جدول مقایسه خرید */
.cmp-wrap { overflow-x:auto; border:1px solid rgba(255,255,255,.06); border-radius:var(--radius); }
table.cmp { width:100%; border-collapse:collapse; min-width:620px; }
table.cmp th, table.cmp td { padding:16px 18px; text-align:right; font-size:.93rem; border-bottom:1px solid rgba(255,255,255,.05); }
table.cmp thead th { background:var(--navy-900); color:var(--gold-soft); font-weight:700; font-size:.9rem; }
table.cmp tbody th { color:var(--cream); font-weight:600; background:var(--navy-700); width:26%; }
table.cmp td { color:var(--muted); background:var(--navy-800); line-height:1.8; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom:none; }

/* نشانگر وضعیت فایل قیمت */
.feed-badge { display:inline-flex; align-items:center; gap:7px; font-size:.8rem; color:var(--up);
  background:rgba(47,191,113,.09); border:1px solid rgba(47,191,113,.25); padding:5px 13px; border-radius:100px; }
.feed-badge::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--up); }
.feed-badge.stale { color:var(--muted); background:rgba(159,176,199,.08); border-color:rgba(159,176,199,.2); }
.feed-badge.stale::before { background:var(--muted); }

@media (max-width:900px) {
  .gtype { grid-template-columns:1fr; }
  .melted { grid-template-columns:1fr; }
  .melted-photo { min-height:220px; max-height:280px; }
}

/* ===== طرح جایگزین شمش (تا زمان افزودن عکس واقعی) ===== */
.gold-media { background: radial-gradient(circle at 50% 35%, #3a3768, var(--navy-800)); }
.bar-art {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.bar-art::before {
  content: ""; width: 62%; height: 46%;
  background: linear-gradient(150deg, #F0D98A 0%, #C9A227 42%, #9c7d18 68%, #E6CF8A 100%);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
  border-radius: 5px;
  box-shadow: 0 12px 26px rgba(0,0,0,.42), inset 0 2px 5px rgba(255,255,255,.5);
}
.bar-art i {
  position: relative; font-size: 1.45rem; font-style: normal;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
  transform: translateY(2px);
}
.sv-media.gold-fallback .bar-art,
.sv-media.gold-fallback::after { display: grid; }

/* ===== صفحه سکه بانکی ===== */
.coin-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.coin-card {
  background:var(--navy-700); border:1px solid rgba(255,255,255,.05);
  border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:.25s;
}
.coin-card:hover { transform:translateY(-4px); border-color:var(--line); box-shadow:var(--shadow); }
.coin-media {
  position:relative; aspect-ratio:16/10; overflow:hidden;
  background:radial-gradient(circle at 50% 40%, #3a3768, var(--navy-800));
}
.coin-media img { width:100%; height:100%; object-fit:cover; display:block; }
.coin-media.coin-fallback::after {
  content:"🪙"; position:absolute; inset:0; display:grid; place-items:center; font-size:3.2rem; opacity:.6;
}
.coin-era {
  position:absolute; top:10px; right:10px; font-size:.7rem; font-weight:700;
  padding:4px 11px; border-radius:100px; backdrop-filter:blur(6px);
  background:rgba(201,162,39,.9); color:var(--navy-900);
}
.coin-era.old { background:rgba(11,20,34,.78); border:1px solid var(--line); color:var(--gold-soft); }
.coin-body { padding:18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.coin-body h3 { font-size:1.08rem; font-weight:700; }
.coin-spec { color:var(--muted); font-size:.85rem; }

.coin-prices { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:auto; padding-top:14px; }
.coin-side {
  background:var(--navy-800); border:1px solid rgba(255,255,255,.06);
  border-radius:11px; padding:12px 11px; display:flex; flex-direction:column; gap:7px; text-align:center;
}
.coin-side.sell { border-color:rgba(201,162,39,.28); }
.coin-side .lbl { font-size:.76rem; color:var(--muted); }
.coin-side b { font-size:1rem; font-weight:800; }
.coin-side.sell b { color:var(--gold-soft); }
.coin-side.buy b  { color:var(--up); }
.coin-side .btn { width:100%; padding:8px 4px; font-size:.8rem; text-align:center; }

@media (max-width:1000px){ .coin-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){
  .coin-grid { grid-template-columns:1fr; }
  .coin-prices { grid-template-columns:1fr 1fr; }
}

/* ===== فوتر: تماس و نقشه ===== */
.foot-contact { display:flex; flex-direction:column; gap:11px; }
.foot-contact a, .foot-contact p { display:flex; align-items:flex-start; gap:9px; margin:0; line-height:1.85; }
.foot-contact .ic { flex-shrink:0; width:19px; text-align:center; opacity:.9; }
.foot-social { display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.foot-social a {
  display:inline-flex; align-items:center; gap:7px; margin:0;
  background:var(--navy-800); border:1px solid rgba(255,255,255,.07);
  padding:8px 14px; border-radius:100px; font-size:.85rem; transition:.2s;
}
.foot-social a:hover { border-color:var(--gold); color:var(--gold); }
.foot-social a img { width:18px; height:18px; border-radius:5px; flex-shrink:0; }

.foot-map {
  margin-top:34px; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line); line-height:0;
}
.foot-map iframe { width:100%; height:280px; border:0; display:block; filter:grayscale(.25) contrast(1.05); }
@media (max-width:620px){ .foot-map iframe { height:220px; } }


/* ===== بخش محتوای آموزشی (SEO) ===== */
.seo-content h2 { font-size:clamp(1.4rem,2.6vw,1.9rem); font-weight:800; letter-spacing:-.5px; margin-bottom:26px; }
.seo-content h3 { font-size:1.08rem; font-weight:700; color:var(--gold-soft); margin:28px 0 10px; }
.seo-content h3:first-of-type { margin-top:0; }
.seo-content p { color:var(--muted); line-height:2.05; font-size:.95rem; max-width:80ch; }

/* ===== برچسب «به‌زودی» برای محصولات بدون قیمت ===== */
.soon {
  display:inline-block; font-weight:700; font-size:.92rem;
  color:var(--gold-soft); background:rgba(201,162,39,.1);
  border:1px solid rgba(201,162,39,.25); padding:3px 12px; border-radius:100px;
}
.coin-side .soon { font-size:.82rem; padding:2px 8px; }
.btn[disabled] { opacity:.5; cursor:not-allowed; pointer-events:none; }

/* ===== دکمه شناور واتس‌اپ ===== */
.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  z-index: 999;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
@media (max-width:620px){
  .wa-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}
