/* ═══════════════════════════════════════════════════════════════════
   DigiShop Theme — main.css
   نسخهٔ تمیز — بدون هیچ کد مربوط به دکمهٔ خرید EDD
   ═══════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════
   01. متغیرها و تنظیمات پایه
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --primary:        #7c3aed;
  --primary-dark:   #6d28d9;
  --primary-light:  #a78bfa;
  --accent:         #f43f5e;
  --accent-dark:    #e11d48;
  --sunny:          #fbbf24;
  --mint:           #10b981;
  --sky:            #0ea5e9;

  --text:           #1e1b4b;
  --muted:          #64748b;
  --bg:             #fff;
  --bg-soft:        #f8f7ff;
  --border:         #ede9fe;

  --gradient-1:     linear-gradient(135deg, #7c3aed 0%, #ec4899 55%, #f97316 100%);
  --gradient-2:     linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-3:     linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-4:     linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

  --radius:         18px;
  --radius-sm:      10px;

  --shadow-sm:      0 2px 8px rgba(124, 58, 237, .06);
  --shadow:         0 10px 30px rgba(30, 27, 75, .08);
  --shadow-lg:      0 24px 60px rgba(30, 27, 75, .12);

  --font:           'Vazirmatn', -apple-system, BlinkMacSystemFont, Tahoma, Arial, sans-serif;
  --container:      1240px;
  --box-width:      1400px;
}


/* ═══════════════════════════════════════════════════════════════════
   02. ریست و تنظیمات عمومی
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  direction: rtl;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; inset-inline-start: -9999px; }
.skip-link:focus { inset-inline-start: 12px; top: 12px; z-index: 9999; background: #fff; padding: 10px 16px; border-radius: 8px; }


/* ═══════════════════════════════════════════════════════════════════
   03. دکمه‌ها
   ═══════════════════════════════════════════════════════════════════ */
.btn,
.button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-3);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(239, 68, 68, .28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(239, 68, 68, .38);
}

.btn-outline {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}

/* ═══ قواعد گلوبال EDD (جایگزین edd-styles.css) ═══ */
/* هر چیزی که EDD با JS پنهان می‌کند */
.edd-hidden {
  display: none !important;
}

/* دکمهٔ پشتیبان بدون‌جاوااسکریپت (input.edd-no-js) */
.edd-no-js {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   04. هدر و منو
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.site-title {
  font-size: 1.45rem; font-weight: 900; color: var(--text);
  background: var(--gradient-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.custom-logo { max-height: 46px; width: auto; }

.main-nav .menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu a { color: var(--text); font-weight: 600; font-size: 15px; position: relative; padding: 4px 0; }
.main-nav .menu a:hover { color: var(--primary); }
.main-nav .menu a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: var(--gradient-1); transform: scaleX(0); transform-origin: inline-start;
  transition: transform .3s;
}
.main-nav .menu a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.cart-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text); font-weight: 700; font-size: 14px;
  border: 1px solid var(--border);
}
.cart-link:hover { background: var(--border); color: var(--text); }
.cart-count {
  background: var(--gradient-1);
  color: #fff;
  min-width: 22px; height: 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; padding: 0 6px; font-weight: 700;
  transition: transform .2s, background .2s;
}

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 14px; cursor: pointer; font: inherit; font-weight: 700; color: var(--text);
}

/* ═══ شعار سایت (Tagline) ═══ */
.site-branding {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.site-tagline {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.4;
  margin-top: 2px;
}

/* مخفی کردن شعار در موبایل برای صرفه‌جویی فضا */
@media (max-width: 768px) {
  .site-tagline {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   05. جستجوی زنده (هدر)
   ═══════════════════════════════════════════════════════════════════ */
.header-search { position: relative; display: flex; align-items: center; }

.search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.search-toggle:hover { background: var(--border); color: var(--primary); }

.search-form-live {
  position: absolute;
  top: 50%;
  inset-inline-end: 52px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  opacity: 0; pointer-events: none;
  transition: transform .3s, opacity .2s;
  width: 0;
}
[dir="ltr"] .search-form-live { transform-origin: left; }
.header-search.open .search-form-live {
  transform: translateY(-50%) scaleX(1);
  opacity: 1; pointer-events: auto;
  width: 320px;
}

.search-form-live input[type="search"] {
  width: 100%; padding: 11px 18px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; font-family: inherit; font-size: 14px;
  color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-form-live input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}

.digishop-search-results {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(30, 27, 75, .18);
  padding: 8px;
  z-index: 100;
  max-height: 480px;
  overflow-y: auto;
  animation: fadeSlideDown .2s ease-out;
}

.search-result {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text);
  transition: background .15s;
}
.search-result:hover { background: var(--bg-soft); }

.result-thumb {
  flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 8px; overflow: hidden;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-placeholder { font-size: 1.4rem; }

.result-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.result-title {
  font-weight: 700; font-size: 13.5px; color: var(--text); line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.result-meta { font-size: 12px; color: var(--muted); }
.result-meta.meta-price { color: var(--accent-dark); font-weight: 700; }

.search-empty { padding: 24px; text-align: center; color: var(--muted); }
.search-empty span { display: block; font-size: 2rem; margin-bottom: 6px; opacity: .6; }
.search-empty p { margin: 0; font-size: 13.5px; }

.search-all {
  display: block; padding: 12px; margin-top: 4px;
  border-top: 1px solid var(--border);
  text-align: center; font-size: 13px; font-weight: 700;
  color: var(--primary); text-decoration: none;
  border-radius: 0 0 10px 10px;
}
.search-all:hover { background: var(--bg-soft); color: var(--primary-dark); }


/* ═══════════════════════════════════════════════════════════════════
   06. اسلایدر هیرو
   ═══════════════════════════════════════════════════════════════════ */
.hero-slider { position: relative; overflow: hidden; background: var(--gradient-1); }
.hero-slider .slider-track {
  display: flex;
  transition: transform .65s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.hero-slider .slide {
  flex: 0 0 100%; min-width: 100%;
  min-height: 520px;
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center; color: #fff;
}
.hero-slider .slide.gradient-1 { background: var(--gradient-1); }
.hero-slider .slide.gradient-2 { background: var(--gradient-2); }
.hero-slider .slide.gradient-3 { background: var(--gradient-3); }
.hero-slider .slide.gradient-4 { background: var(--gradient-4); }
.hero-slider .slide::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .20) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .16) 0%, transparent 50%);
  pointer-events: none;
}

.hero-slider .slide-inner {
  position: relative; width: 100%;
  max-width: var(--container); margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero-slider .slide-inner.no-text { grid-template-columns: 1fr; }
.hero-slider .slide-inner.no-text .slide-items { max-width: 640px; margin: 0 auto; width: 100%; }
.hero-slider .slide-inner.text-only { grid-template-columns: 1fr; }
.hero-slider .slide-inner.text-only .slide-text { max-width: 720px; }

.slide-text h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  margin: 0 0 14px;
  font-weight: 900; letter-spacing: -.02em; line-height: 1.25;
}
.slide-text p { font-size: 1.08rem; opacity: .95; margin-bottom: 26px; line-height: 1.85; }

.slide-items { display: grid; grid-template-columns: 1fr; gap: 14px; }
.slide-item {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  padding: 12px;
  color: #fff;
  transition: background .22s, transform .22s, box-shadow .22s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.slide-item:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}
.slide-item-thumb {
  flex: 0 0 72px; height: 72px; border-radius: 12px; overflow: hidden;
  background: rgba(0, 0, 0, .18);
  display: flex; align-items: center; justify-content: center;
}
.slide-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { font-size: 2rem; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.slide-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.slide-item-type { font-size: 11.5px; opacity: .82; font-weight: 700; letter-spacing: .4px; }
.slide-item-body h3 {
  font-size: 14.5px; margin: 0; color: #fff; font-weight: 700; line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.slide-item-price { font-size: 13.5px; font-weight: 800; color: var(--sunny); margin-top: 2px; }
/* ─── فلش‌های ناوبری ─── */
.slider-nav {
  position: absolute;
  top: 50%; 
  transform: translateY(-50%);
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); /* پس‌زمینه شیشه‌ای */
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  color: #fff; /* آیکون سفید */
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 20;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.slider-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
}
.slider-nav.prev { inset-inline-start: 20px; }
.slider-nav.next { inset-inline-end: 20px; }
[dir="rtl"] .slider-nav svg { transform: scaleX(-1); }

/* ─── دات‌های پایین اسلایدر ─── */
.slider-dots {
  position: absolute; 
  inset-inline: 0; 
  bottom: 20px;
  display: flex; 
  gap: 8px; 
  justify-content: center;
  z-index: 20; 
  flex-wrap: wrap; 
  padding: 0 16px;
}

/* حالت عادی (دایره‌های کوچک) */
.slider-dots .dot {
  width: 8px; 
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
  font-size: 0; /* مخفی کردن کامل اعداد با جاوااسکریپت اضافه شده */
  line-height: 1;
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* حالت فعال (کپسول قرمز) */
.slider-dots .dot.active {
  width: 24px; 
  border-radius: 10px;
  background: var(--accent); /* استفاده از رنگ قرمز/سرخ قالب */
  box-shadow: none;
}


/* ═══════════════════════════════════════════════════════════════════
   07. بخش‌ها (فشرده)
   ═══════════════════════════════════════════════════════════════════ */
.section { padding: 56px 0; animation: fadeInUp .6s ease-out; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124, 58, 237, .1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
  margin-bottom: 8px; letter-spacing: .3px;
}

.see-all {
  font-weight: 800; color: var(--primary); font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-soft); transition: background .2s;
}
.see-all:hover { background: var(--border); }


/* ═══════════════════════════════════════════════════════════════════
   08. بخش چرا ما (فشرده)
   ═══════════════════════════════════════════════════════════════════ */
.section-features {
  background: var(--bg-soft);
  padding: 36px 0;                 /* ← قبلاً 60px */
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;                       /* ← قبلاً 24px */
}
.feature-item {
  text-align: center;
  padding: 14px 12px;              /* ← قبلاً 24px 16px */
}

.feature-icon {
  width: 56px; height: 56px;       /* ← قبلاً 72×72 */
  border-radius: 16px;             /* ← قبلاً 20px */
  background: var(--gradient-1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;                 /* ← قبلاً 32px */
  margin-bottom: 12px;             /* ← قبلاً 18px */
  box-shadow: 0 10px 22px rgba(124, 58, 237, .22);
  transition: transform .3s;
}
.feature-item:nth-child(2) .feature-icon { background: var(--gradient-2); box-shadow: 0 10px 22px rgba(59, 130, 246, .22); }
.feature-item:nth-child(3) .feature-icon { background: var(--gradient-3); box-shadow: 0 10px 22px rgba(239, 68, 68, .22); }
.feature-item:nth-child(4) .feature-icon { background: var(--gradient-4); box-shadow: 0 10px 22px rgba(16, 185, 129, .22); }
.feature-item:hover .feature-icon { transform: translateY(-3px) rotate(-4deg); }

.feature-item h3 {
  font-size: 1rem;                 /* ← قبلاً 1.1rem */
  margin-bottom: 4px;              /* ← قبلاً 6px */
}
.feature-item p {
  color: var(--muted);
  font-size: 13.5px;               /* ← قبلاً 14.5px */
  margin: 0;
  line-height: 1.6;                /* ← اضافه — خوانایی بهتر با ارتفاع کمتر */
}

/* ═══════════════════════════════════════════════════════════════════
   09. دسته‌بندی‌ها (فشرده)
   ═══════════════════════════════════════════════════════════════════ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }

.category-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  overflow: hidden; color: var(--text);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(30, 27, 75, .12);
  border-color: transparent;
}

.category-type-badge {
  position: absolute; top: 10px; inset-inline-start: 10px;
  z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .25s;
}
.category-card.type-product .category-type-badge { color: var(--accent-dark);  background: rgba(244, 63, 94, .14); }
.category-card.type-post    .category-type-badge { color: var(--primary-dark); background: rgba(124, 58, 237, .14); }
.category-card:hover .category-type-badge { transform: translateY(-2px); }

.category-thumb {
  position: relative;
  aspect-ratio: 4/3; /* نسبت تصویر */
  display: flex; 
  align-items: center; 
  justify-content: center;
  overflow: hidden;
  background: var(--bg-soft);
  background-size: cover;      /* تصویر کل کادر را پر می‌کند */
  background-position: center; /* تصویر در مرکز قرار می‌گیرد */
  background-repeat: no-repeat;
  transition: transform .5s ease;
}
.category-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.category-card:hover .category-thumb-img { transform: scale(1.06); }

.category-card.color-1 .category-thumb:not(:has(img)) { background-image: var(--gradient-1); }
.category-card.color-2 .category-thumb:not(:has(img)) { background-image: var(--gradient-2); }
.category-card.color-3 .category-thumb:not(:has(img)) { background-image: var(--gradient-3); }
.category-card.color-4 .category-thumb:not(:has(img)) { background-image: var(--gradient-4); }

@supports not (selector(:has(*))) {
  .category-card.color-1 .category-thumb { background-image: var(--gradient-1); }
  .category-card.color-2 .category-thumb { background-image: var(--gradient-2); }
  .category-card.color-3 .category-thumb { background-image: var(--gradient-3); }
  .category-card.color-4 .category-thumb { background-image: var(--gradient-4); }
}

.category-icon {
  font-size: 3rem; line-height: 1; color: #fff; font-weight: 900;
  text-shadow: 0 6px 16px rgba(0, 0, 0, .28);
  transition: transform .35s ease;
  position: relative; z-index: 1;
}
.category-card:hover .category-icon { transform: scale(1.12) rotate(-3deg); }

.category-info { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.category-name { font-weight: 800; font-size: 14.5px; line-height: 1.45; }
.category-count { color: var(--muted); font-size: 12.5px; }


/* ═══════════════════════════════════════════════════════════════════
   10. کارت محصول (فشرده) + دکمهٔ خرید
   ═══════════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.digishop-product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.digishop-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-badge {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; color: #fff;
}
.badge-free { background: var(--mint); }
.badge-pay  { background: var(--accent); }

.card-thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.digishop-product-card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb-placeholder {
  width: 100%; height: 100%;
  background: var(--gradient-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: #fff;
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.card-stars {
  color: var(--sunny);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.card-title {
  font-size: 14.5px;
  margin: 0;
  line-height: 1.5;
  font-weight: 700;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--primary); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.card-price {
  font-weight: 900;
  color: var(--accent-dark);
  font-size: 15px;
}
/* ═══════════════════════════════════════════════════════════════════
   دکمه‌های EDD در کارت محصول
   ═══════════════════════════════════════════════════════════════════ */

/* ─── دکمهٔ «خرید» (button اصلی) ─── */
.digishop-product-card .card-footer button.edd-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gradient-3) !important;
  background-image: var(--gradient-3) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 9px 18px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, .22) !important;
  line-height: 1.4 !important;
  min-height: auto !important;
  text-shadow: none !important;
  cursor: pointer !important;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.digishop-product-card .card-footer button.edd-submit:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, .32) !important;
}
.digishop-product-card .card-footer button.edd-submit:disabled {
  opacity: .65 !important;
  cursor: not-allowed !important;
}

/* ─── لینک «نهایی کردن خرید» (بعد از افزودن به سبد ظاهر می‌شود) ─── */
.digishop-product-card .card-footer a.edd_go_to_checkout {
  display: inline-flex; /* بدون !important — EDD با inline style کنترلش می‌کند */
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gradient-4) !important; /* سبز-فیروزه‌ای — متمایز از دکمهٔ خرید */
  color: #fff !important;
  border: 0 !important;
  padding: 9px 18px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .22) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  transition: filter .2s, transform .2s;
}
.digishop-product-card .card-footer a.edd_go_to_checkout:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px);
  color: #fff !important;
}

/* ─── داخل دکمهٔ خرید ─── */
.digishop-product-card .card-footer .edd-add-to-cart-label {
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}
.digishop-product-card .card-footer .edd-loading {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
}

/* ─── پنهان کردن پیام‌های اضافی EDD در کارت ─── */
.digishop-product-card .card-footer .edd-cart-added-alert,
.digishop-product-card .card-footer .edd-cart-ajax-alert {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════════
   11. مقاله
   ═══════════════════════════════════════════════════════════════════ */
.post-list { display: flex; flex-direction: column; gap: 28px; }

.post-article {
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.post-article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }

.post-article-media { overflow: hidden; background: var(--bg-soft); min-height: 220px; }
.post-article-media a { display: block; height: 100%; }
.post-article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-article:hover .post-article-media img { transform: scale(1.05); }
.post-article-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: 220px;
  font-size: 4rem; background: var(--gradient-1);
}

.post-article-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.post-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.meta-cat {
  background: rgba(124, 58, 237, .1); color: var(--primary);
  padding: 4px 12px; border-radius: 999px;
  font-weight: 700; font-size: 12.5px;
}
.meta-cat:hover { background: rgba(124, 58, 237, .18); }
.meta-cat.meta-page { background: rgba(245, 158, 11, .12); color: #b45309; }

.post-article-title { font-size: 1.35rem; margin: 0; }
.post-article-title a { color: var(--text); }
.post-article-title a:hover { color: var(--primary); }
.post-article-excerpt { color: var(--muted); font-size: 15px; margin: 0; flex-grow: 1; }

.btn-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  color: var(--primary); font-weight: 800; font-size: 14.5px;
  margin-top: 4px; padding: 8px 0;
}
.btn-read-more svg { transition: transform .2s; }
.btn-read-more:hover svg { transform: translateX(-4px); }

.single-post-article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.single-post-header { padding: 32px 36px 16px; }
.single-post-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 10px 0 0; line-height: 1.3; color: var(--text); }
.single-post-hero { margin: 8px 36px 24px; border-radius: 12px; overflow: hidden; max-height: 480px; }
.single-post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-post-content { padding: 0 36px 32px; }
.single-post-footer { padding: 16px 36px 32px; border-top: 1px dashed var(--border); }

.post-tags { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.post-tags a {
  display: inline-block; background: var(--bg-soft);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; color: var(--text); font-weight: 600;
}
.post-tags a:hover { background: var(--border); color: var(--primary); }


/* ═══════════════════════════════════════════════════════════════════
   12. نظرات مشتریان
   ═══════════════════════════════════════════════════════════════════ */

.section-testimonials { background: var(--bg-soft); padding: 56px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.testimonial-card {
  position: relative;
  background: #fff; padding: 34px 28px 28px;
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
  padding: 26px 22px 22px;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
  content: '"';
  position: absolute; top: -6px; inset-inline-end: 22px;
  font-size: 90px; line-height: 1;
  color: var(--primary-light); opacity: .35;
  font-family: Georgia, serif; font-weight: 900;
}

.testimonial-stars { color: var(--sunny); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { color: var(--text); font-size: 14.5px; margin: 0 0 18px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px;
}
.testimonial-author strong { display: block; font-size: 14.5px; }
.author-role { color: var(--muted); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════════
   13. خبرنامه
   ═══════════════════════════════════════════════════════════════════ */
.section-newsletter { padding: 48px 0; }
.newsletter-box {
  position: relative; overflow: hidden;
  background: var(--gradient-1);
  padding: 48px 40px; gap: 32px; border-radius: 22px; 
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
  color: #fff;
}
.newsletter-box::before,
.newsletter-box::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .14); pointer-events: none;
}
.newsletter-box::before { width: 220px; height: 220px; top: -60px; inset-inline-end: -60px; }
.newsletter-box::after  { width: 140px; height: 140px; bottom: -40px; inset-inline-start: -40px; }

.newsletter-content { position: relative; z-index: 1; }
.newsletter-content .eyebrow { background: rgba(255, 255, 255, .22); color: #fff; }
.newsletter-content h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 8px; }
.newsletter-content p { margin: 0; opacity: .95; }

.newsletter-form { display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; min-width: 340px; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 200px;
  padding: 14px 20px; border-radius: 999px;
  border: 0; font-family: inherit; font-size: 15px;
  color: var(--text); outline: 0;
}
.newsletter-form input[type="email"]:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
.newsletter-form .btn { background: #fff; color: var(--primary) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.newsletter-form .btn:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════════
   14. محتوای عمومی (فشرده)
   ═══════════════════════════════════════════════════════════════════ */
.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 36px 24px 60px;
}
.content-wrap.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}
.content-main { min-width: 0; }

.page-header { margin-bottom: 24px; }
.page-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.term-desc { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.entry-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.entry-thumb { margin: 24px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.entry-content { font-size: 1rem; line-height: 1.85; }
.entry-content h2 { font-size: 1.35rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.1rem; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.entry-content blockquote {
  border-inline-start: 4px solid var(--primary);
  background: var(--bg-soft);
  margin: 1.3em 0; padding: 14px 20px; border-radius: 8px;
}
.entry-content code { background: var(--bg-soft); padding: 2px 8px; border-radius: 6px; font-family: monospace; font-size: .92em; }
.entry-content pre {
  background: #1e1b4b; color: #e0e7ff;
  padding: 18px; border-radius: 12px;
  overflow-x: auto; direction: ltr; text-align: left;
}

.archive-count { color: var(--muted); font-size: 13.5px; margin: 6px 0 0; font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════════
   15. تک‌محصول
   ═══════════════════════════════════════════════════════════════════ */
.single-download .download-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px; align-items: start; margin-bottom: 48px;
}
.single-download .download-thumb {
  aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.single-download .download-thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-download .download-summary { padding-top: 12px; }
.single-download .entry-title { margin: 8px 0 18px; }

.download-price { margin: 20px 0; }
.price-free {
  display: inline-block; padding: 8px 20px;
  background: var(--mint); color: #fff;
  border-radius: 999px; font-weight: 800; font-size: 1.1rem;
}
.price-num { font-size: 2rem; font-weight: 900; color: var(--accent-dark); }

.download-bullets { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.download-bullets li {
  padding: 10px 14px;
  background: var(--bg-soft); border-radius: 10px;
  font-size: 14.5px; font-weight: 600;
}

/* ─── خرید در تک‌محصول ─── */
.purchase-area { margin-top: 16px; }

.purchase-area button.edd-submit {
  width: 100%;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--gradient-3) !important;
  color: #fff !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(239, 68, 68, .25) !important;
  transition: filter .2s, transform .2s;
}
.purchase-area button.edd-submit:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px);
}

/* لینک نهایی کردن خرید در تک‌محصول */
.purchase-area a.edd_go_to_checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  background: var(--gradient-4) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(16, 185, 129, .25) !important;
  transition: filter .2s, transform .2s;
}
.purchase-area a.edd_go_to_checkout:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px);
  color: #fff !important;
}


/* ═══════════════════════════════════════════════════════════════════
   16. ابزارک‌ها
   ═══════════════════════════════════════════════════════════════════ */
.widget-area .widget {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-bottom: 22px;
}
.widget-title { font-size: 1rem; margin-top: 0; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.widget ul li:last-child { border-bottom: 0; }


/* ═══════════════════════════════════════════════════════════════════
   17. فوتر
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0f0b2e; color: #c7c2e8;
  padding: 64px 0 24px; margin-top: 80px;
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; inset-inline: 0;
  height: 4px; background: var(--gradient-1);
}

/* فوتر ۳ ستونه: ۵۰٪ + ۲۵٪ + ۲۵٪ (از راست به چپ) */
.footer-grid {
  display: grid;
  grid-template-columns: 50% 25% 25%;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-col h4 { color: #fff; font-size: 1.05rem; margin: 0 0 16px; }

.footer-brand {
  font-size: 1.35rem;
  background: var(--gradient-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}
.footer-desc { font-size: 14.5px; line-height: 1.85; color: #a5a2c8; }

.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { color: #c7c2e8; font-size: 14.5px; transition: color .2s; }
.footer-menu a:hover { color: var(--accent); }

.socials { display: flex; gap: 10px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  font-size: 18px;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--gradient-1); transform: translateY(-2px); }

.footer-widget { margin-bottom: 26px; }
.footer-widget:last-child { margin-bottom: 0; }

.footer-widget-title,
.footer-widget h4 {
  color: #fff; font-size: 1.05rem; margin: 0 0 16px; font-weight: 800;
}

.footer-widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-widget ul li { padding: 0; border: 0; line-height: 1.7; }
.footer-widget ul li a { color: #c7c2e8; font-size: 14.5px; transition: color .2s; }
.footer-widget ul li a:hover { color: var(--accent); }

.footer-widget p { color: #a5a2c8; font-size: 14.5px; line-height: 1.85; margin: 0 0 12px; }

.footer-widget .search-form { display: flex; gap: 8px; }
.footer-widget .search-form input[type="search"] {
  flex: 1; min-width: 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff; padding: 10px 14px; border-radius: 10px;
  font-family: inherit; font-size: 14px;
}
.footer-widget .search-form input[type="search"]::placeholder { color: #8d87b3; }
.footer-widget .search-form input[type="search"]:focus {
  outline: 0; border-color: var(--primary-light);
  background: rgba(255, 255, 255, .12);
}
.footer-widget .search-form input[type="submit"],
.footer-widget .search-form button {
  background: var(--gradient-1); color: #fff;
  border: 0; padding: 10px 18px; border-radius: 10px;
  font-weight: 700; cursor: pointer; font-family: inherit; font-size: 14px;
}
.footer-widget .search-form input[type="submit"]:hover,
.footer-widget .search-form button:hover { filter: brightness(1.1); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px; text-align: center;
  font-size: 13.5px; color: #8d87b3;
}
.footer-bottom p { margin: 0; }


/* ═══════════════════════════════════════════════════════════════════
   17. فوتر (نسخهٔ فشرده)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── ظرف کلی فوتر ─── */
.site-footer {
  position: relative;
  background: #0f0b2e;
  color: #c7c2e8;
  padding: 32px 0 12px;
  margin-top: 40px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--gradient-1);
}

/* ─── گرید ۳ ستونه: ۵۰٪ + ۲۵٪ + ۲۵٪ ─── */
.footer-grid {
  display: grid;
  grid-template-columns: 50% 25% 25%;
  gap: 28px;
  margin-bottom: 20px;
}

/* ─── ستون برند ─── */
.footer-brand {
  font-size: 1.35rem;
  margin: 0 0 8px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}
.footer-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #a5a2c8;
  margin: 0;
}

/* ─── عنوان ستون‌ها ─── */
.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 8px;
}

/* ─── منوی سریع (ستون‌های ۲ و ۳) ─── */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-menu a {
  color: #c7c2e8;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s;
}
.footer-menu a:hover {
  color: var(--accent);
}

/* ─── شبکه‌های اجتماعی ─── */
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  font-size: 18px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.socials a:hover {
  background: var(--gradient-1);
  transform: translateY(-2px);
}

/* ─── ابزارک‌های فوتر ─── */
.footer-widget {
  margin-bottom: 14px;
}
.footer-widget:last-child {
  margin-bottom: 0;
}

.footer-widget-title,
.footer-widget h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-widget ul li {
  padding: 0;
  border: 0;
  line-height: 1.6;
}
.footer-widget ul li a {
  color: #c7c2e8;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s;
}
.footer-widget ul li a:hover {
  color: var(--accent);
}

.footer-widget p {
  color: #a5a2c8;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 8px;
}

/* ─── جستجو در ابزارک فوتر ─── */
.footer-widget .search-form {
  display: flex;
  gap: 8px;
}
.footer-widget .search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.footer-widget .search-form input[type="search"]::placeholder {
  color: #8d87b3;
}
.footer-widget .search-form input[type="search"]:focus {
  outline: 0;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, .12);
}
.footer-widget .search-form input[type="submit"],
.footer-widget .search-form button {
  padding: 10px 18px;
  background: var(--gradient-1);
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.footer-widget .search-form input[type="submit"]:hover,
.footer-widget .search-form button:hover {
  filter: brightness(1.1);
}

/* ─── نوار منوی فوتر (افقی) ─── */
.footer-nav-bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 12px 0;
  margin-top: 6px;
}
.footer-nav-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-menu li {
  margin: 0;
}
.footer-nav-menu a {
  display: inline-block;
  position: relative;
  padding: 3px 0;
  color: #c7c2e8;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav-menu a:hover {
  color: var(--accent);
}
.footer-nav-menu a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s;
}
.footer-nav-menu a:hover::after {
  transform: scaleX(1);
}

/* ─── کپی‌رایت ─── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #8d87b3;
}
.footer-bottom p {
  margin: 0;
}

/* ─── ریسپانسیو ─── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid .footer-col-1 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .footer-widget {
    margin-bottom: 10px;
  }
  .footer-nav-bar {
    padding: 10px 0;
    margin-top: 4px;
  }
  .footer-nav-menu {
    gap: 14px;
  }
  .footer-nav-menu a {
    font-size: 12.5px;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   18. صفحه‌بندی
   ═══════════════════════════════════════════════════════════════════ */
.pagination { margin-top: 32px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 12px;
  background: #fff; border: 1px solid var(--border);
  color: var(--text); font-weight: 700; font-size: 14.5px;
  transition: all .2s;
}
.pagination .page-numbers:hover { background: var(--bg-soft); border-color: var(--primary-light); }
.pagination .page-numbers.current { background: var(--gradient-1); color: #fff; border-color: transparent; }


/* ═══════════════════════════════════════════════════════════════════
   19. فیلترهای آرشیو
   ═══════════════════════════════════════════════════════════════════ */
.archive-filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-group { display: flex; align-items: center; position: relative; flex: 1 1 auto; min-width: 180px; }
.filter-group.filter-search { flex: 2 1 260px; }
.filter-group.filter-search .filter-icon {
  position: absolute; inset-inline-start: 14px;
  font-size: 15px; opacity: .6; pointer-events: none; z-index: 1;
}

.filter-group input[type="search"],
.filter-group select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: var(--bg-soft); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
}
.filter-group input[type="search"]:focus,
.filter-group select:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1);
}
.filter-group.filter-search input[type="search"] {
  padding-inline-start: 42px;
  cursor: text;
}
.filter-group.filter-search input[type="search"]::placeholder { color: var(--muted); opacity: .8; }

.filter-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 18px;
  padding-inline-start: 38px;
}

.filter-submit {
  padding: 12px 22px !important;
  font-size: 14px !important;
  border-radius: 12px !important;
  flex-shrink: 0;
}

.filter-reset {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 16px;
  font-size: 13.5px; font-weight: 700;
  color: var(--accent-dark);
  background: rgba(244, 63, 94, .08);
  border-radius: 12px;
  transition: background .2s;
  flex-shrink: 0;
}
.filter-reset:hover { background: rgba(244, 63, 94, .18); color: var(--accent-dark); }

.active-filters {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.active-label { font-size: 13px; color: var(--muted); font-weight: 700; }
.filter-chip {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(124, 58, 237, .1);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.empty-state .empty-icon { font-size: 3.5rem; display: block; margin-bottom: 12px; opacity: .6; }
.empty-state h3 { margin: 0 0 6px; font-size: 1.15rem; }
.empty-state p { color: var(--muted); margin: 0; font-size: 14.5px; }


/* ═══════════════════════════════════════════════════════════════════
   20. صفحهٔ جستجو
   ═══════════════════════════════════════════════════════════════════ */
.search-header { margin-bottom: 24px; }

.search-page-form {
  display: flex; gap: 10px;
  margin-bottom: 40px;
  background: var(--bg-soft);
  padding: 14px; border-radius: 14px;
}
.search-page-form input[type="search"] {
  flex: 1; padding: 12px 18px;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; font-family: inherit; font-size: 14.5px;
  color: var(--text); outline: none;
}
.search-page-form input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1);
}
.search-page-form .btn { padding: 12px 24px !important; border-radius: 10px !important; }

.search-section { margin-bottom: 48px; }
.search-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.search-section-icon { font-size: 1.4rem; }
.search-section-count {
  margin-inline-start: auto;
  font-size: 12.5px; padding: 3px 12px;
  background: rgba(124, 58, 237, .1); color: var(--primary-dark);
  border-radius: 999px; font-weight: 700;
}

.search-empty-state { padding: 80px 24px; text-align: center; }
.search-empty-state .btn { margin-top: 20px; display: inline-flex; }


/* ═══════════════════════════════════════════════════════════════════
   21. صفحهٔ ۴۰۴
   ═══════════════════════════════════════════════════════════════════ */
.error-page-wrap { padding: 80px 24px 100px; }
.error-404-content { max-width: 800px; margin: 0 auto; text-align: center; }

.error-illustration { position: relative; display: inline-block; margin-bottom: 32px; }
.error-emoji {
  font-size: 5rem; display: block;
  filter: drop-shadow(0 12px 24px rgba(30, 27, 75, .15));
  animation: floatEmoji 3s ease-in-out infinite;
}
.error-code {
  position: absolute; top: -8px; inset-inline-end: -28px;
  font-size: 2.6rem; font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: rotate(8deg); letter-spacing: -2px;
}

.error-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.error-desc {
  color: var(--muted); font-size: 15.5px;
  max-width: 560px; margin: 0 auto 32px; line-height: 1.9;
}
.error-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}

.error-search {
  background: var(--bg-soft); border-radius: 20px;
  padding: 32px; margin-bottom: 60px;
}
.error-search h3 { margin: 0 0 16px; font-size: 1rem; font-weight: 700; color: var(--text); }
.error-search-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.error-search-form input[type="search"] {
  flex: 1; padding: 13px 20px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; font-family: inherit; font-size: 14.5px;
  color: var(--text); outline: none;
}
.error-search-form input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.error-search-form .btn { padding: 13px 28px !important; white-space: nowrap; }

.error-suggestions h3 { font-size: 1.15rem; margin-bottom: 24px; text-align: start; }


/* ═══════════════════════════════════════════════════════════════════
   22. چیدمان باکس
   ═══════════════════════════════════════════════════════════════════ */
body.boxed-layout {
  max-width: var(--box-width, 1400px);
  margin: 0 auto;
  background: #eef0f5;
  box-shadow: 0 0 60px rgba(15, 11, 46, .08);
}
body.boxed-layout .site-main,
body.boxed-layout .site-header { background: #fff; }
body.boxed-layout .site-footer { background: #0f0b2e; }
body.boxed-layout .hero-slider .slide-inner { max-width: calc(var(--box-width, 1400px) - 60px); }

body.search-results {
  position: static !important;
  top: auto !important;
  width: auto !important;
  overflow: visible !important;
}

@media (max-width: 1500px) {
  body.boxed-layout { box-shadow: none; }
}


/* ═══════════════════════════════════════════════════════════════════
   23. سبد خرید و تسویه حساب EDD
   ═══════════════════════════════════════════════════════════════════ */
.edd-cart-empty-digishop {
  text-align: center; padding: 80px 24px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin: 30px 0;
}
.edd-cart-empty-digishop .empty-icon { font-size: 4rem; display: block; margin-bottom: 16px; opacity: .7; }
.edd-cart-empty-digishop h3 { margin: 0 0 8px; font-size: 1.4rem; }
.edd-cart-empty-digishop p { color: var(--muted); margin: 0 0 24px; }

.edd-cart-digishop {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.edd-cart-header {
  display: grid; grid-template-columns: 1fr 140px 60px; gap: 16px;
  padding: 16px 24px;
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
  font-weight: 800; font-size: 13.5px; color: var(--muted);
}
.edd-cart-header .edd-cart-col-product { text-align: start; }
.edd-cart-header .edd-cart-col-price   { text-align: center; }
.edd-cart-header .edd-cart-col-actions { text-align: end; }

.edd-cart-row {
  display: grid; grid-template-columns: 1fr 140px 60px; gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.edd-cart-row:last-of-type { border-bottom: 0; }
.edd-cart-row:hover { background: #fafaff; }

.edd-cart-col-product { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cart-item-thumb {
  flex: 0 0 64px; width: 64px; height: 64px;
  border-radius: 10px; overflow: hidden;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb-placeholder { font-size: 1.8rem; }

.cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item-title { font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; }
.cart-item-title:hover { color: var(--primary); }
.cart-item-variant { font-size: 12.5px; color: var(--muted); }

.edd-cart-col-price { text-align: center; }
.cart-item-price { font-weight: 800; font-size: 15px; color: var(--accent-dark); }

.edd-cart-col-actions { text-align: end; }
.cart-item-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(244, 63, 94, .08); text-decoration: none;
  transition: background .2s, transform .2s;
}
.cart-item-remove:hover { background: rgba(244, 63, 94, .18); transform: scale(1.05); }

.edd-cart-footer-digishop {
  background: var(--bg-soft);
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 14.5px;
}
.cart-footer-row.cart-subtotal { color: var(--muted); }
.cart-footer-row.cart-tax      { color: var(--muted); }
.cart-footer-row.cart-discount { color: var(--mint); font-weight: 700; }
.cart-footer-row.cart-total {
  margin-top: 8px; padding-top: 14px;
  border-top: 2px dashed var(--border);
  font-size: 1.1rem; font-weight: 800; color: var(--text);
}
.cart-total-price { color: var(--accent-dark); font-size: 1.3rem; }

.edd-cart-actions { margin-top: 18px; }
.edd-checkout-btn { width: 100%; padding: 16px 24px !important; font-size: 16px !important; border-radius: 12px !important; }

.edd-discounts {
  margin: 24px 0; padding: 20px 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
}
.edd-discounts .edd-discount-code-wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.edd-discounts input[type="text"] {
  flex: 1; min-width: 180px;
  padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: var(--bg-soft); outline: none;
  transition: border-color .2s, background .2s;
}
.edd-discounts input[type="text"]:focus { border-color: var(--primary); background: #fff; }
.edd-discounts input[type="submit"],
.edd-discounts button {
  padding: 12px 22px; border: 0; border-radius: 10px;
  background: var(--gradient-1); color: #fff;
  font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: filter .2s, transform .2s;
}
.edd-discounts input[type="submit"]:hover,
.edd-discounts button:hover { filter: brightness(1.1); transform: translateY(-1px); }

#edd_checkout_form_wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow);
}
#edd_checkout_form_wrap fieldset { border: 0; padding: 0; margin: 0 0 24px; }
#edd_checkout_form_wrap legend {
  font-weight: 800; font-size: 1.1rem; color: var(--text);
  padding: 0 0 10px; margin-bottom: 16px; width: 100%;
  border-bottom: 1px solid var(--border);
}
#edd_checkout_form_wrap label {
  display: block; font-weight: 700; font-size: 14px;
  color: var(--text); margin-bottom: 6px;
}
#edd_checkout_form_wrap input[type="text"],
#edd_checkout_form_wrap input[type="email"],
#edd_checkout_form_wrap input[type="password"],
#edd_checkout_form_wrap input[type="tel"],
#edd_checkout_form_wrap select,
#edd_checkout_form_wrap textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: var(--bg-soft); outline: none;
  transition: border-color .2s, background .2s;
  margin-bottom: 16px;
}
#edd_checkout_form_wrap input:focus,
#edd_checkout_form_wrap select:focus,
#edd_checkout_form_wrap textarea:focus { border-color: var(--primary); background: #fff; }
#edd_checkout_form_wrap .edd-description {
  font-size: 12.5px; color: var(--muted);
  margin-top: -10px; margin-bottom: 14px; display: block;
}

#edd_purchase_submit .edd-submit,
#edd_checkout_form_wrap .edd-submit.button {
  width: 100%; padding: 18px 28px !important;
  font-size: 17px !important; border-radius: 14px !important;
  background: var(--gradient-3); color: #fff !important;
  border: 0; box-shadow: 0 10px 24px rgba(239, 68, 68, .28);
  cursor: pointer; font-family: inherit; font-weight: 800;
  transition: transform .2s, box-shadow .2s;
}
#edd_purchase_submit .edd-submit:hover,
#edd_checkout_form_wrap .edd-submit.button:hover {
  transform: translateY(-2px); box-shadow: 0 16px 32px rgba(239, 68, 68, .38);
}

.edd_payment_gateway { margin-bottom: 16px; }
.edd_payment_gateway label {
  display: flex !important; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 2px solid var(--border); border-radius: 12px;
  cursor: pointer; transition: border-color .2s, background .2s;
  font-weight: 600;
}
.edd_payment_gateway input[type="radio"] { margin: 0; }
.edd_payment_gateway:has(input:checked) label {
  border-color: var(--primary);
  background: rgba(124, 58, 237, .06);
}

.edd_errors, .edd_success {
  padding: 14px 18px; border-radius: 10px; margin-bottom: 20px;
  font-size: 14px; font-weight: 600;
}
.edd_errors  { background: rgba(244, 63, 94, .08);  color: var(--accent-dark); border: 1px solid rgba(244, 63, 94, .2); }
.edd_success { background: rgba(16, 185, 129, .08); color: #047857;            border: 1px solid rgba(16, 185, 129, .2); }


/* ═══════════════════════════════════════════════════════════════════
   24. نظرات
   ═══════════════════════════════════════════════════════════════════ */
.comments-area {
  margin-top: 48px;
  padding: 32px 36px 36px;
  border-top: 2px solid var(--border);
}
.comments-title,
.comment-reply-title {
  font-size: 1.3rem; margin: 0 0 24px;
  display: flex; align-items: center; gap: 10px;
}
.comments-title::before { content: '💬'; font-size: 1.4rem; }

.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list .comment { margin-bottom: 24px; }

.comment-body {
  background: var(--bg-soft); border-radius: 16px;
  padding: 20px 24px; position: relative;
  border: 1px solid var(--border);
}

.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.comment-author {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--text); font-size: 14.5px;
}
.comment-author .avatar {
  border-radius: 50%; width: 40px; height: 40px; margin: 0; flex-shrink: 0;
}
.comment-author .fn { font-style: normal; }

.comment-metadata { font-size: 12.5px; color: var(--muted); }
.comment-metadata a { color: var(--muted); }
.comment-metadata a:hover { color: var(--primary); }

.comment-content { font-size: 14.5px; line-height: 1.85; color: var(--text); }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.reply { margin-top: 8px; }
.comment-reply-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(124, 58, 237, .1);
  color: var(--primary-dark);
  font-size: 12.5px; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.comment-reply-link:hover { background: rgba(124, 58, 237, .2); }

.comment-list .children {
  list-style: none; padding: 0;
  margin: 20px 0 0;
  margin-inline-start: 40px; padding-inline-start: 24px;
  border-inline-start: 3px solid var(--border);
}

.comment-respond {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; margin-top: 32px;
}

.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; font-weight: 700; font-size: 13.5px; color: var(--text); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-soft);
  font-family: inherit; font-size: 14.5px; color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1);
}

.comment-form .comment-form-comment { grid-column: 1 / -1; }
.comment-form .form-submit { margin: 0; }
.comment-form .submit {
  padding: 13px 32px !important; border-radius: 12px !important;
  background: var(--gradient-3); color: #fff !important; border: 0;
  font-family: inherit; font-weight: 800; font-size: 15px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(239, 68, 68, .28);
  transition: transform .2s, box-shadow .2s;
}
.comment-form .submit:hover {
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(239, 68, 68, .38);
}

.comment .comment-respond { margin-top: 16px; padding: 20px; background: #fff; }

.comment-form .comment-form-cookies-consent {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.comment-form .comment-form-cookies-consent input[type="checkbox"] { width: auto; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }


/* ═══════════════════════════════════════════════════════════════════
   25. فرم تماس (CF7)
   ═══════════════════════════════════════════════════════════════════ */
.wpcf7,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

.wpcf7 p,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) p {
  margin-bottom: 20px;
}

.wpcf7 label,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) label {
  display: block; font-weight: 700; font-size: 13.5px;
  color: var(--text); margin-bottom: 8px;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-url,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="text"],
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="email"],
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="tel"],
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="url"],
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="number"],
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) textarea,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  font-family: inherit; font-size: 14.5px; color: var(--text);
  outline: none; line-height: 1.5;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-url:focus,
.wpcf7-form-control.wpcf7-number:focus,
.wpcf7-form-control.wpcf7-date:focus,
.wpcf7-form-control.wpcf7-select:focus,
.wpcf7-form-control.wpcf7-textarea:focus,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input:focus,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) textarea:focus,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .1);
}

.wpcf7-form-control::placeholder,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input::placeholder,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) textarea::placeholder {
  color: var(--muted); opacity: .85;
}

.wpcf7-form-control.wpcf7-textarea,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) textarea {
  min-height: 140px; resize: vertical; line-height: 1.8;
}

.wpcf7-form-control.wpcf7-select,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 18px;
  padding-inline-start: 42px;
  cursor: pointer;
}

.wpcf7-form-control.wpcf7-submit,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="submit"],
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 15px 36px;
  border: 0; border-radius: 12px;
  background: var(--gradient-3); color: #fff;
  font-family: inherit; font-weight: 800; font-size: 15px;
  cursor: pointer; min-width: 160px;
  box-shadow: 0 8px 22px rgba(239, 68, 68, .28);
  transition: transform .2s, box-shadow .2s;
}
.wpcf7-form-control.wpcf7-submit:hover,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="submit"]:hover,
.entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, .4);
}
.wpcf7-form-control.wpcf7-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-radio { display: flex; flex-wrap: wrap; gap: 12px; }
.wpcf7-list-item { margin: 0 !important; }
.wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.wpcf7-list-item input:checked + span { color: var(--primary); }
.wpcf7-list-item:hover { border-color: var(--primary-light); }

.wpcf7-not-valid-tip {
  color: var(--accent-dark); font-size: 12.5px;
  font-weight: 700; margin-top: 6px; display: block;
}
.wpcf7-form-control.wpcf7-not-valid {
  border-color: var(--accent) !important;
  background: rgba(244, 63, 94, .04) !important;
}

.wpcf7-response-output {
  border: 0 !important;
  border-radius: 12px;
  padding: 14px 18px !important;
  margin: 20px 0 0 !important;
  font-size: 14px; font-weight: 600;
  background: rgba(124, 58, 237, .08);
  color: var(--primary-dark);
}
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(16, 185, 129, .1);
  color: #047857;
  border-inline-start: 4px solid var(--mint) !important;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(244, 63, 94, .08);
  color: var(--accent-dark);
  border-inline-start: 4px solid var(--accent) !important;
}

.wpcf7-spinner { background-color: var(--primary) !important; }


/* ═══════════════════════════════════════════════════════════════════
   26. انیمیشن‌ها
   ═══════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatEmoji {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* پالس شمارندهٔ سبد هنگام به‌روزرسانی */
@keyframes cartPulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(244, 63, 94, .5); }
  50%  { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(244, 63, 94, 0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.cart-count.cart-count-pulse {
  animation: cartPulse .6s ease;
  background: var(--accent);
}


/* ═══════════════════════════════════════════════════════════════════
   28. گرید مجله‌ای بلاگ (صفحه اصلی)
   ═══════════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.digishop-blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.digishop-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.digishop-blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #fff;
}
.blog-card-date {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.blog-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.blog-card-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  background: rgba(124, 58, 237, .1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.blog-card-cat:hover {
  background: rgba(124, 58, 237, .18);
  color: var(--primary-dark);
}
.blog-card-title {
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
  font-weight: 700;
  flex-grow: 1;
}
.blog-card-title a {
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-title a:hover {
  color: var(--primary);
}
.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  align-self: flex-start;
}
.blog-card-more svg {
  transition: transform .2s;
}
.digishop-blog-card:hover .blog-card-more svg {
  transform: translateX(-4px);
}

/* ═══════════════════════════════════════════════════════════════════
   29. بنرهای تبلیغاتی
   ═══════════════════════════════════════════════════════════════════ */
.ad-slot-wrapper {
  padding: 12px 0;
}
.ad-banner {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.ad-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.ad-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }
  .blog-card-body { padding: 12px 14px 14px; gap: 6px; }
  .blog-card-title { font-size: 13.5px; }
  .blog-card-date { font-size: 10.5px; padding: 3px 9px; top: 8px; inset-inline-start: 8px; }
  .ad-slot-wrapper { padding: 8px 0; }
}
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════
   27. ریسپانسیو
   ═══════════════════════════════════════════════════════════════════ */

/* ── ≤ 1024px: تبلت افقی ── */
@media (max-width: 1024px) {
  .content-wrap { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px 56px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .newsletter-box { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; gap: 24px; }
  .newsletter-form { justify-content: center; min-width: 0; }
  .single-download .download-hero { grid-template-columns: 1fr; gap: 28px; }
  .post-article { grid-template-columns: 1fr; }
  .post-article-media { min-height: 220px; aspect-ratio: 16/9; }
  .hero-slider .slide { min-height: 360px; }         /* ← قبلاً 420px */
  .hero-slider .slide-inner { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .slide-text { text-align: center; }
  .slide-item-thumb { flex: 0 0 60px; height: 60px; }
}

/* ── ≤ 768px: تبلت عمودی و موبایل بزرگ ── */
@media (max-width: 768px) {

  /* هدر و منو */
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute;
    top: 100%; inset-inline: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 20px; z-index: 40;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav .menu { flex-direction: column; gap: 4px; }
  .main-nav .menu a { display: block; padding: 10px 0; }
  .main-nav .menu a::after { display: none; }
  .header-inner { gap: 12px; min-height: 66px; }

  /* جستجوی زنده */
  .header-search.open .search-form-live { width: 200px; }
  .digishop-search-results { width: 280px; }

  /* اسلایدر هیرو */
  .hero-slider .slide { min-height: 300px; }         /* ← قبلاً 360px */
  .hero-slider .slide-inner { padding: 28px 20px; }   /* ← قبلاً 36px 20px */
  .slider-nav { width: 40px; height: 40px; }
  .slider-nav.prev { inset-inline-start: 10px; }
  .slider-nav.next { inset-inline-end: 10px; }
  .slider-dots { bottom: 10px; gap: 6px; }
  .slider-dots .dot { width: 28px; height: 28px; font-size: 11.5px; }
  .slide-item-thumb { flex: 0 0 52px; height: 52px; }
  .slide-item-body h3 { font-size: 13px; }
  .slide-text h2 { font-size: 1.6rem; }
  .slide-text p { font-size: 14.5px; margin-bottom: 18px; }

  /* بخش‌ها — فشرده‌سازی */
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: 1.3rem; }

  /* گرید محصولات — فشرده */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 14px;
  }
  .card-body { padding: 12px 12px 14px; gap: 6px; }
  .card-title { font-size: 13.5px; }
  .card-price { font-size: 14px; }
  .card-footer { gap: 6px; }
  .card-stars { font-size: 11px; letter-spacing: 1px; }
  .card-badge { font-size: 10.5px; padding: 3px 9px; top: 8px; inset-inline-start: 8px; }

  /* دکمهٔ خرید در موبایل */
  .digishop-product-card .card-footer button.edd-submit {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    border-radius: 8px !important;
  }

  /* گرید دسته‌بندی‌ها — فشرده */
  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .category-icon { font-size: 2.4rem; }
  .category-type-badge { font-size: 10px; padding: 3px 9px; top: 8px; inset-inline-start: 8px; }
  .category-info { padding: 10px 12px; }
  .category-name { font-size: 13.5px; }
  .category-count { font-size: 12px; }

  /* مقاله‌ها */
  .post-list { gap: 20px; }
  .post-article-body { padding: 20px 20px 22px; gap: 10px; }
  .post-article-title { font-size: 1.15rem; }
  .post-article-excerpt { font-size: 14px; }

  /* تک‌نوشته */
  .single-post-header { padding: 20px 18px 10px; }
  .single-post-hero { margin: 6px 18px 14px; max-height: 300px; }
  .single-post-content { padding: 0 18px 22px; }
  .single-post-footer { padding: 14px 18px 22px; }
  .single-post-title { font-size: 1.6rem; }

  /* محتوای عمومی */
  .content-wrap { padding: 28px 20px 48px; gap: 24px; }
  .page-header { margin-bottom: 20px; }
  .page-title { font-size: 1.6rem; }
  .entry-content { font-size: 0.98rem; }
  .entry-content h2 { font-size: 1.2rem; }
  .entry-content h3 { font-size: 1.05rem; }

  /* فوتر */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 44px 0 20px; margin-top: 56px; }
  .footer-widget { margin-bottom: 20px; }

  /* چرا ما */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .section-features { padding: 28px 0; }
  .features-grid { gap: 8px; }
  .feature-item { padding: 12px 10px; }
  .feature-icon { width: 46px; height: 46px; font-size: 20px; margin-bottom: 8px; }
  .feature-item h3 { font-size: 0.92rem; }
  .feature-item p { font-size: 12.5px; }

  /* نظرات مشتریان */
  .testimonials-grid { gap: 12px; }
  .testimonial-card { padding: 22px 18px 18px; }
  .testimonial-card::before { inset-inline-end: 12px; top: -8px; font-size: 60px; }
  .testimonial-text { font-size: 13.5px; }
  .author-avatar { width: 38px; height: 38px; font-size: 15px; }

  /* خبرنامه */
  .section-newsletter { padding: 36px 0; }
  .newsletter-box { padding: 32px 22px; border-radius: 18px; }
  .newsletter-content h2 { font-size: 1.2rem; }
  .newsletter-content p { font-size: 13.5px; }
  .newsletter-form { min-width: 0; width: 100%; }

  /* ۴۰۴ */
  .error-page-wrap { padding: 50px 18px 64px; }
  .error-emoji { font-size: 3.5rem; }
  .error-code { font-size: 1.8rem; inset-inline-end: -18px; }
  .error-search { padding: 20px 16px; margin-bottom: 40px; }
  .error-search-form { flex-direction: column; }
  .error-search-form .btn { width: 100%; }
  .error-title { font-size: 1.4rem; }
  .error-desc { font-size: 14px; }

  /* فیلترهای آرشیو */
  .archive-filters { padding: 14px; margin-bottom: 20px; }
  .filter-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .filter-group { min-width: 0; flex: 1 1 100%; }
  .filter-submit, .filter-reset { width: 100%; justify-content: center; }
  .active-filters { margin-top: 12px; padding-top: 12px; }

  /* صفحهٔ جستجو */
  .search-page-form { flex-direction: column; padding: 12px; margin-bottom: 28px; }
  .search-page-form .btn { width: 100%; }
  .search-section { margin-bottom: 32px; }
  .search-section-title { font-size: 1.05rem; padding-bottom: 10px; }

  /* سبد خرید EDD */
  .edd-cart-header { display: none; }
  .edd-cart-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "product actions"
      "price   actions";
    gap: 8px; padding: 14px 16px;
  }
  .edd-cart-col-product { grid-area: product; }
  .edd-cart-col-price   { grid-area: price; text-align: start; }
  .edd-cart-col-actions { grid-area: actions; align-self: center; }
  .cart-item-thumb { flex: 0 0 48px; width: 48px; height: 48px; }
  .cart-item-title { font-size: 14px; }
  .edd-cart-footer-digishop { padding: 14px 16px; }
  #edd_checkout_form_wrap { padding: 20px 16px; }
  .edd-discounts { padding: 14px 16px; margin: 18px 0; }

  /* نظرات */
  .comments-area { margin-top: 32px; padding: 24px 18px 24px; }
  .comment-body { padding: 14px 16px; border-radius: 12px; }
  .comment-list .children { margin-inline-start: 16px; padding-inline-start: 12px; }
  .comment-respond { padding: 18px; border-radius: 14px; margin-top: 24px; }
  .comment-form { gap: 12px; }

  /* CF7 */
  .wpcf7,
  .entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) {
    padding: 18px;
    border-radius: 16px;
    margin: 16px 0;
  }
  .wpcf7-form-control.wpcf7-submit,
  .entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) input[type="submit"] {
    width: 100%;
    padding: 13px 22px;
    font-size: 14px;
  }
}

/* ── ≤ 480px: موبایل کوچک ── */
@media (max-width: 480px) {
  /* هدر */
  .header-inner { gap: 8px; }
  .site-title { font-size: 1.2rem; }
  .cart-link { padding: 8px 12px; font-size: 12.5px; }
  .cart-link > span:not(.cart-count) { display: none; }
  .search-toggle { width: 38px; height: 38px; }
  .menu-toggle { padding: 8px 10px; font-size: 12.5px; }
  
  .hero-slider .slide { min-height: 260px; }
  .hero-slider .slide-inner { padding: 24px 16px; }
  .slide-text h2 { font-size: 1.3rem; }
  .slide-text p { font-size: 12.5px; margin-bottom: 14px; }


  /* اسلایدر */
.hero-slider .slide {
  flex: 0 0 100%; min-width: 100%;
  min-height: 420px;          /* ← قبلاً 520px */
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center; color: #fff;
}

.hero-slider .slide-inner {
  position: relative; width: 100%;
  max-width: var(--container); margin: 0 auto;
  padding: 40px 24px;         /* ← قبلاً 60px 24px */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;                  /* ← قبلاً 44px */
  align-items: center;
}

.slide-text h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);   /* ← قبلاً 1.8/3.6/3 */
  margin: 0 0 12px;
  font-weight: 900; letter-spacing: -.02em; line-height: 1.25;
}
.slide-text p {
  font-size: 1rem;            /* ← قبلاً 1.08rem */
  opacity: .95;
  margin-bottom: 20px;        /* ← قبلاً 26px */
  line-height: 1.7;
}
  .slider-nav { width: 36px; height: 36px; }

  /* گریدها — دو ستون کامل */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* کارت محصول */
  .card-body { padding: 10px 10px 12px; gap: 4px; }
  .card-title { font-size: 12.5px; line-height: 1.4; }
  .card-price { font-size: 13px; }
  .card-stars { font-size: 10px; letter-spacing: 0.5px; }
  .card-badge { font-size: 9.5px; padding: 2px 7px; top: 6px; inset-inline-start: 6px; }

  /* دکمهٔ خرید در موبایل کوچک — تمام عرض */
  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .card-footer .card-price { text-align: center; }
  .digishop-product-card .card-footer button.edd-submit {
    width: 100%;
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }

  /* دسته‌بندی */
  .category-icon { font-size: 2rem; }
  .category-name { font-size: 12.5px; }
  .category-count { font-size: 11px; }
  .category-info { padding: 8px 10px; }

  /* چرا ما — یک ستون */
  .features-grid { grid-template-columns: 1fr; gap: 8px; }
  .feature-icon { width: 48px; height: 48px; font-size: 20px; }

  /* نظرات مشتریان — یک ستون */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 20px 16px 16px; }

  /* خبرنامه — فرم عمودی */
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { min-width: 0; width: 100%; }
  .newsletter-form .btn { width: 100%; }

  /* فوتر */
  .footer-grid { gap: 20px; margin-bottom: 32px; }

  /* محتوا */
  .content-wrap { padding: 24px 16px 40px; }
  .page-title { font-size: 1.4rem; }
  .entry-title { font-size: 1.5rem; }

  /* ۴۰۴ */
  .error-emoji { font-size: 3rem; }
  .error-title { font-size: 1.2rem; }
  .error-desc { font-size: 13px; }
  .error-actions { flex-direction: column; }
  .error-actions .btn { width: 100%; }

  /* سبد خرید */
  .edd-cart-row { padding: 12px 14px; }
  .cart-item-thumb { flex: 0 0 44px; width: 44px; height: 44px; }
  .cart-item-title { font-size: 13px; }

  /* نظرات */
  .comment-body { padding: 12px 14px; }
  .comment-author { font-size: 13.5px; }

  /* CF7 */
  .wpcf7,
  .entry-content form:not(.search-form):not(.newsletter-form):not(.archive-filters) {
    padding: 16px;
    border-radius: 12px;
  }
}

/* تنظیم فاصله بخش دسته‌بندی‌ها در صفحه اصلی (بدون عنوان) */
.section-categories {
  padding-top: 32px;
  padding-bottom: 56px;
}

/* ═══════════════════════════════════════════════════════════════════
   30. ویش‌لیست
   ═══════════════════════════════════════════════════════════════════ */

/* دکمهٔ قلب روی کارت محصول */
.digishop-product-card { position: relative; }
.product-card-wishlist {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .2s, color .2s, background .2s;
  padding: 0;
}
.product-card-wishlist:hover {
  transform: scale(1.1);
  color: var(--accent);
  background: #fff;
}
.product-card-wishlist svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill .2s;
}
.product-card-wishlist.is-active {
  color: var(--accent);
}
.product-card-wishlist.is-active svg {
  fill: currentColor;
  animation: heartBeat .4s ease;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.3); }
  50%      { transform: scale(.92); }
  75%      { transform: scale(1.12); }
}

/* آیکون ویش‌لیست در هدر */
.wishlist-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  transition: background .2s, color .2s;
}
.wishlist-link:hover {
  background: var(--border);
  color: var(--accent);
}
.wishlist-count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* صفحهٔ ویش‌لیست — حالت خالی */
.wishlist-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.wishlist-empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 16px;
  opacity: .8;
  animation: heartBeat 2s ease-in-out infinite;
}
.wishlist-empty h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.wishlist-empty p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.8;
}

/* دکمهٔ خرید در صفحهٔ ویش‌لیست */
.wishlist-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  background: var(--gradient-3);
  color: #fff !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(239, 68, 68, .22);
  transition: filter .2s, transform .2s;
}
.wishlist-buy-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff !important;
}

@media (max-width: 480px) {
  .product-card-wishlist { width: 30px; height: 30px; top: 8px; inset-inline-end: 8px; }
  .product-card-wishlist svg { width: 16px; height: 16px; }
  .wishlist-empty { padding: 48px 20px; }
  .wishlist-empty-icon { font-size: 3rem; }
}
/* اسپینر بارگذاری ویش‌لیست */
.wishlist-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.wishlist-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: wishlistSpin .8s linear infinite;
}
@keyframes wishlistSpin {
  to { transform: rotate(360deg); }
}
.wishlist-loading p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
}
/* ═══════════════════════════════════════════════════════════════════
   31. تک‌محصول پیشرفته — تب‌ها و محصولات مرتبط
   ═══════════════════════════════════════════════════════════════════ */

/* ─── تب‌ها ─── */
.single-product-tabs {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.single-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: thin;
  background: var(--bg-soft);
}

.single-tab-btn {
  padding: 16px 24px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.single-tab-btn:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, .04);
}
.single-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #fff;
}

.single-tabs-content {
  padding: 32px 36px;
}

.single-tab-panel {
  display: none;
  animation: fadeIn .3s ease;
}
.single-tab-panel.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.single-tab-panel .entry-content {
  font-size: 1rem;
  line-height: 1.9;
}
.single-tab-panel .entry-content h2 { font-size: 1.3rem; margin-top: 1.6em; }
.single-tab-panel .entry-content h3 { font-size: 1.1rem; margin-top: 1.4em; }

.single-tab-empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 20px;
  font-size: 14.5px;
}

/* ─── فایل‌ها ─── */
.single-files-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.single-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.file-icon { font-size: 1.25rem; }
.file-name {
  flex: 1;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.file-size {
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 12px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ─── تب نظرات داخل تب ─── */
.single-tab-panel .comments-area {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ─── محصولات مرتبط ─── */
.single-related-products {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.single-related-head {
  margin-bottom: 24px;
}
.single-related-head h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin: 0;
}

/* ─── ریسپانسیو ─── */
@media (max-width: 768px) {
  .single-product-tabs { margin-top: 28px; }
  .single-tab-btn { padding: 12px 16px; font-size: 13px; }
  .single-tabs-content { padding: 22px 20px; }
  .single-related-products { margin-top: 36px; padding-top: 24px; }
  .single-related-head { margin-bottom: 18px; }
}
@media (max-width: 480px) {
  .single-tab-btn { padding: 10px 12px; font-size: 12.5px; }
  .single-tabs-content { padding: 18px 16px; }
  .file-name { font-size: 13px; }
  .file-size { font-size: 11.5px; padding: 3px 9px; }
}

/* ═══════════════════════════════════════════════════════════════════
   32. خدمات مرتبط — تک‌محصول
   ═══════════════════════════════════════════════════════════════════ */
.single-services-box {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px dashed var(--primary-light);
  border-radius: var(--radius);
}
.services-title {
  margin: 0 0 4px;
  font-size: 1rem;
}
.services-subtitle {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 14px;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  transition: border-color .2s, background .2s;
}
.service-item:has(input:checked) {
  border-color: var(--primary);
  background: rgba(124, 58, 237, .04);
}
.service-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}
.service-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  margin: 0;
}
.service-name { flex: 1; }
.service-price {
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 800;
}
.services-add-btn {
  border-radius: 10px !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
}
.service-name {
  flex: 1;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.service-name:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════════
   33. Variable Prices — نمایش در قالب «جعبهٔ خدمات»
   ═══════════════════════════════════════════════════════════════════ */

/* فقط روی صفحهٔ تک‌محصول، اگر EDD قیمت متغیر رندر کرده باشد */
.single-download .purchase-area .edd_price_options:has(ul li) {
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px dashed var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
  position: relative;
}

.single-download .purchase-area .edd_price_options:has(ul li)::before {
  content: '🛠️ خدمات و گزینه‌های خرید';
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.single-download .purchase-area .edd_price_options:has(ul li)::after {
  content: 'یکی از بسته‌های زیر را انتخاب کنید:';
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.single-download .purchase-area .edd_price_options ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.single-download .purchase-area .edd_price_options li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 !important;
  transition: border-color .2s, background .2s;
  list-style: none;
}

.single-download .purchase-area .edd_price_options li label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.single-download .purchase-area .edd_price_options li input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  margin: 0;
  flex-shrink: 0;
}

.single-download .purchase-area .edd_price_options li:has(input:checked) {
  border-color: var(--primary);
  background: rgba(124, 58, 237, .04);
}

/* ═══════════════════════════════════════════════════════════════════
   پنهان کردن گزینه‌های قیمت متغیر در کارت‌های محصول
   (فقط در صفحهٔ تک‌محصول نمایش داده می‌شوند)
   ═══════════════════════════════════════════════════════════════════ */
.digishop-product-card .edd_price_options {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   تک‌محصول — چیدمان جدید (بولت‌ها زیر تصویر)
   ═══════════════════════════════════════════════════════════════════ */
.download-hero-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-hero-left .download-thumb {
  margin: 0;
}

.download-bullets-below-image {
  margin: 0 !important;
}

.download-bullets-below-image li {
  font-size: 13.5px;
  padding: 9px 12px;
}

/* ریسپانسیو — در موبایل هم زیر تصویر بمانند */
@media (max-width: 1024px) {
  .download-bullets-below-image {
    margin-bottom: 8px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   34. صفحهٔ پروفایل کاربری
   ═══════════════════════════════════════════════════════════════════ */

/* پیام ورود (وقتی کاربر لاگین نیست) */
.profile-login-prompt {
  max-width: 480px;
  margin: 60px auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-sm);
}
.profile-login-prompt .prompt-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  opacity: .8;
}
.profile-login-prompt h1 {
  font-size: 1.4rem;
  margin: 0 0 8px;
}
.profile-login-prompt p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14.5px;
}
.profile-login-prompt .prompt-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* چیدمان کلی */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 24px;
}

/* سایدبار */
.profile-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.profile-user-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 14px;
}
.profile-avatar {
  border-radius: 50%;
  display: block;
  margin: 0 auto 14px;
  border: 3px solid var(--bg-soft);
}
.profile-name {
  font-size: 1.05rem;
  margin: 0 0 4px;
  line-height: 1.4;
}
.profile-email {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 6px;
  word-break: break-all;
}
.profile-since {
  color: var(--muted);
  font-size: 11.5px;
  margin: 0;
}

/* منوی سایدبار */
.profile-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
  border-inline-start: 3px solid transparent;
}
.profile-menu-item:last-child { border-bottom: 0; }
.profile-menu-item:hover {
  background: var(--bg-soft);
  color: var(--primary);
}
.profile-menu-item.active {
  background: rgba(124, 58, 237, .07);
  color: var(--primary);
  border-inline-start-color: var(--primary);
  font-weight: 700;
}
.menu-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.profile-logout {
  color: var(--accent-dark);
}
.profile-logout:hover {
  background: rgba(244, 63, 94, .08);
  color: var(--accent-dark);
}

/* محتوای پروفایل */
.profile-content { min-width: 0; }

.profile-welcome {
  margin-bottom: 24px;
}
.profile-welcome h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin: 0 0 6px;
}
.profile-welcome p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* کارت‌های آمار */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.stat-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
}
.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
}

/* بخش محتوا */
.profile-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
}
.profile-section h2 {
  font-size: 1.1rem;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* حالت خالی */
.profile-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.profile-empty span {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
  opacity: .6;
}
.profile-empty p {
  margin: 0 0 20px;
  font-size: 14.5px;
}

/* جدول‌های EDD */
.profile-section .edd_user_history,
.profile-section table {
  width: 100%;
  border-collapse: collapse;
}
.profile-section .edd_user_history th,
.profile-section table th {
  background: var(--bg-soft);
  padding: 12px 14px;
  text-align: start;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.profile-section .edd_user_history td,
.profile-section table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  text-align: start;
}
.profile-section .edd_user_history tr:hover td {
  background: var(--bg-soft);
}
.profile-section .edd_user_history a {
  color: var(--primary);
  font-weight: 600;
}

/* شورت‌کد ویرایش پروفایل EDD */
.profile-section #edd_profile_editor_form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.profile-section #edd_profile_editor_form label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 6px;
}
.profile-section #edd_profile_editor_form input[type="text"],
.profile-section #edd_profile_editor_form input[type="email"],
.profile-section #edd_profile_editor_form input[type="password"],
.profile-section #edd_profile_editor_form select,
.profile-section #edd_profile_editor_form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 14px;
  outline: none;
}
.profile-section #edd_profile_editor_form input:focus,
.profile-section #edd_profile_editor_form select:focus,
.profile-section #edd_profile_editor_form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1);
}
.profile-section #edd_profile_editor_form .edd-submit,
.profile-section #edd_profile_editor_form button[type="submit"] {
  padding: 12px 28px !important;
  border-radius: 10px !important;
  background: var(--gradient-3) !important;
  color: #fff !important;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .profile-user-card { padding: 20px; }
}
@media (max-width: 600px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-section { padding: 18px; }
  .profile-menu-item { padding: 11px 14px; font-size: 13.5px; }
  .profile-login-prompt { padding: 32px 20px; margin: 40px auto; }
  .profile-login-prompt .prompt-actions { flex-direction: column; }
  .profile-login-prompt .prompt-actions .btn { width: 100%; }
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: border-color .2s, transform .2s;
}
.profile-link:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}
.header-avatar {
  border-radius: 50%;
  width: 28px;
  height: 28px;
}

/* ═══════════════════════════════════════════════════════════════════
   35. صفحهٔ ورود / ثبت‌نام
   ═══════════════════════════════════════════════════════════════════ */
.auth-page {
  display: flex;
  justify-content: center;
  padding: 40px 0 60px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow);
}
.auth-brand {
  text-align: center;
  margin-bottom: 24px;
}
.auth-brand-icon {
  font-size: 2.6rem;
  display: inline-block;
  margin-bottom: 8px;
  filter: drop-shadow(0 6px 14px rgba(124, 58, 237, .25));
}
.auth-brand-title {
  font-size: 1.4rem;
  margin: 0 0 4px;
  background: var(--gradient-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.auth-brand-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}

.auth-notice {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.auth-error   { background: rgba(244, 63, 94, .08);  color: var(--accent-dark);  border: 1px solid rgba(244, 63, 94, .2); }
.auth-success { background: rgba(16, 185, 129, .08); color: #047857;            border: 1px solid rgba(16, 185, 129, .2); }

.auth-tabs {
  display: flex;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  transition: all .2s;
}
.auth-tab:hover { color: var(--primary); }
.auth-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(30, 27, 75, .08);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field label {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
}
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.auth-field input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .1);
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}
.auth-remember input {
  width: 14px;
  height: 14px;
  accent-color: var(--primary);
  margin: 0;
}
.auth-forgot {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}
.auth-forgot:hover { color: var(--primary-dark); text-decoration: underline; }

.auth-submit {
  width: 100% !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  margin-top: 6px;
}

.auth-terms {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.7;
}
.auth-terms a { color: var(--primary); font-weight: 600; }

@media (max-width: 600px) {
  .auth-card { padding: 28px 22px 24px; border-radius: 18px; }
  .auth-brand-icon { font-size: 2.2rem; }
  .auth-brand-title { font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   36. دکمهٔ بازگشت به بالا
   ═══════════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s;
  padding: 0;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, .38);
}
.back-to-top svg {
  transition: transform .2s;
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 18px;
    inset-inline-end: 16px;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   37. نوشته‌های مرتبط — تک‌نوشته (کارت جدا با پدینگ)
   ═══════════════════════════════════════════════════════════════════ */
.single-related-posts {
  margin-top: 32px;
  padding: 28px 32px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.single-related-posts-head {
  margin-bottom: 22px;
}
.single-related-posts-head h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin: 0;
}

@media (max-width: 768px) {
  .single-related-posts {
    margin-top: 24px;
    padding: 20px 18px 22px;
  }
  .single-related-posts-head {
    margin-bottom: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   38. صفحهٔ سوالات متداول (FAQ)
   ═══════════════════════════════════════════════════════════════════ */

.faq-header {
  margin-bottom: 32px;
}

/* لیست آکاردئون */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover {
  border-color: var(--primary-light);
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(124, 58, 237, .08);
}

/* دکمهٔ سوال */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: start;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  transition: background .2s, color .2s;
  line-height: 1.5;
}
.faq-question:hover {
  background: rgba(124, 58, 237, .03);
}
.faq-item.open .faq-question {
  color: var(--primary-dark);
}

.faq-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124, 58, 237, .1);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s, color .2s;
}
.faq-item.open .faq-number {
  background: var(--gradient-1);
  color: #fff;
}

.faq-text {
  flex: 1;
  min-width: 0;
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .2s, color .2s;
}
.faq-icon svg {
  transition: transform .3s ease;
}
.faq-item.open .faq-icon {
  background: rgba(124, 58, 237, .12);
  color: var(--primary);
}
.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

/* پاسخ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 22px 22px;
  padding-inline-start: 64px; /* هم‌تراز با متن سوال */
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}
.faq-answer-inner p:last-child {
  margin-bottom: 0;
}
.faq-answer-inner a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* حالت خالی */
.faq-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.faq-empty-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 12px;
  opacity: .6;
}
.faq-empty h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.faq-empty p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
}

/* بخش تماس پایین */
.faq-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: var(--gradient-1);
  border-radius: 20px;
  color: #fff;
  flex-wrap: wrap;
  box-shadow: 0 12px 28px rgba(124, 58, 237, .25);
}
.faq-cta-content h2 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 4px;
}
.faq-cta-content p {
  margin: 0;
  opacity: .95;
  font-size: 14px;
}
.faq-cta-actions {
  flex-shrink: 0;
}
.faq-cta-actions .btn {
  background: #fff;
  color: var(--primary) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
  padding: 12px 24px !important;
  white-space: nowrap;
}
.faq-cta-actions .btn:hover {
  transform: translateY(-2px);
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    gap: 10px;
  }
  .faq-number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .faq-icon {
    width: 26px;
    height: 26px;
  }
  .faq-answer-inner {
    padding: 0 16px 16px;
    padding-inline-start: 50px;
    font-size: 13.5px;
  }
  .faq-contact-cta {
    padding: 22px 20px;
    text-align: center;
    flex-direction: column;
  }
  .faq-cta-actions {
    width: 100%;
  }
  .faq-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   39. صفحهٔ دربارهٔ ما
   ═══════════════════════════════════════════════════════════════════ */

/* هیرو */
.about-hero {
  position: relative;
  background: var(--gradient-1);
  color: #fff;
  padding: 72px 24px;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .2) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .15) 0%, transparent 50%);
  pointer-events: none;
}
.about-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-hero-eyebrow {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  margin-bottom: 14px;
}
.about-hero-title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0 0 16px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.about-hero-desc {
  color: rgba(255, 255, 255, .95);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0;
}

/* آمار */
.about-stats-section {
  padding-top: 48px;
  padding-bottom: 24px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.about-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.about-stat-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 6px;
}
.about-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* داستان */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-story-grid.no-image {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-story-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.about-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-story-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 16px;
}
.about-story-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.95;
}
.about-story-text p {
  margin: 0 0 1em;
}

/* ارزش‌ها */
.about-values {
  background: var(--bg-soft);
  padding: 56px 0;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gradient-1);
  color: #fff;
  font-size: 28px;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px rgba(124, 58, 237, .25);
}
.about-value-card h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.about-value-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* تیم */
/* تیم — وسط‌چین و انعطاف‌پذیر */
.about-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.about-team-card {
  flex: 0 1 240px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.about-team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.about-team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg-soft);
}
.about-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-team-placeholder {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-team-name {
  font-size: 1rem;
  margin: 0 0 4px;
}
.about-team-role {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* CTA پایانی */
.about-cta-section {
  padding-bottom: 64px;
}
.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  background: var(--gradient-1);
  border-radius: 22px;
  color: #fff;
  flex-wrap: wrap;
  box-shadow: 0 14px 32px rgba(124, 58, 237, .25);
}
.about-cta-content h2 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 4px;
}
.about-cta-content p {
  margin: 0;
  opacity: .95;
  font-size: 14.5px;
}
.about-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.about-cta-primary {
  background: #fff;
  color: var(--primary) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}
.about-cta-primary:hover {
  transform: translateY(-2px);
}
.about-cta-secondary {
  background: rgba(255, 255, 255, .18);
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, .4);
}
.about-cta-secondary:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateY(-2px);
}

/* ریسپانسیو */
@media (max-width: 1024px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-team-card {
    flex: 0 1 200px;
  }
}
@media (max-width: 768px) {
  .about-hero { padding: 52px 20px; }
  .about-hero-desc { font-size: 14.5px; }
  .about-stats { gap: 10px; }
  .about-stat-card { padding: 18px 12px; }
  .about-stat-value { font-size: 1.5rem; }
  .about-stat-label { font-size: 12px; }
  .about-value-card { padding: 22px 18px; }
  .about-value-icon { width: 54px; height: 54px; font-size: 22px; margin-bottom: 12px; }
  .about-cta { padding: 28px 22px; text-align: center; flex-direction: column; }
  .about-cta-actions { width: 100%; }
  .about-cta-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .about-team-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   40. بهبود گرافیکی صفحهٔ دربارهٔ ما
   ═══════════════════════════════════════════════════════════════════ */

/* ─── هیرو غنی با اشکال شناور ─── */
.about-hero-rich {
  position: relative;
  padding: 90px 24px 100px;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}
.about-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.about-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  animation: floatShape 8s ease-in-out infinite;
}
.about-hero-shapes .shape-1 {
  width: 120px; height: 120px;
  top: 10%; inset-inline-end: 8%;
  animation-delay: 0s;
}
.about-hero-shapes .shape-2 {
  width: 80px; height: 80px;
  bottom: 15%; inset-inline-start: 10%;
  background: rgba(255, 255, 255, .18);
  animation-delay: 1.5s;
}
.about-hero-shapes .shape-3 {
  width: 200px; height: 200px;
  top: 40%; inset-inline-start: -40px;
  background: rgba(255, 255, 255, .08);
  animation-delay: 3s;
}
.about-hero-shapes .shape-4 {
  width: 60px; height: 60px;
  top: 20%; inset-inline-start: 30%;
  background: rgba(255, 255, 255, .15);
  animation-delay: 4.5s;
}
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(15px, -20px) scale(1.08); }
}

.about-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}
.about-hero-btn-primary {
  background: #fff;
  color: var(--primary) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  padding: 13px 28px !important;
}
.about-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}
.about-hero-btn-secondary {
  background: rgba(255, 255, 255, .18);
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, .4);
  padding: 13px 28px !important;
}
.about-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateY(-2px);
}
.about-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
}

/* ─── آمار با آیکون ─── */
.about-stat-card {
  position: relative;
  overflow: hidden;
}
.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s ease;
}
.about-stat-card:hover::before {
  transform: scaleX(1);
}
.about-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 22px;
  margin-bottom: 10px;
}
.about-stat-value {
  font-variant-numeric: tabular-nums;
}

/* ─── قاب داستان ─── */
.about-story-media {
  position: relative;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
}
.about-story-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(30, 27, 75, .16);
  aspect-ratio: 4/3;
  background: var(--bg-soft);
}
.about-story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.about-story-media:hover .about-story-frame img {
  transform: scale(1.04);
}
.about-story-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(124, 58, 237, .18) 100%);
  pointer-events: none;
}
.about-story-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-1);
  z-index: -1;
}
.about-story-dot.dot-1 {
  width: 80px; height: 80px;
  top: -20px; inset-inline-end: -20px;
  opacity: .25;
}
.about-story-dot.dot-2 {
  width: 50px; height: 50px;
  bottom: -15px; inset-inline-start: -15px;
  opacity: .35;
}
.about-story-dot.dot-3 {
  width: 20px; height: 20px;
  top: 40%; inset-inline-start: -30px;
  opacity: .5;
}

/* ─── ارزش‌ها با عدد تزئینی ─── */
.about-values-rich {
  position: relative;
  overflow: hidden;
}
.about-values-rich::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .06) 0%, transparent 70%);
  pointer-events: none;
}
.about-value-card-rich {
  position: relative;
  overflow: hidden;
  padding-top: 32px;
}
.about-value-card-rich::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: var(--gradient-1) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.about-value-card-rich:hover::after {
  opacity: 1;
}
.about-value-icon-rich {
  background: var(--gradient-1);
  box-shadow: 0 12px 28px rgba(124, 58, 237, .3);
  transition: transform .3s ease;
}
.about-value-card-rich:hover .about-value-icon-rich {
  transform: translateY(-4px) rotate(-6deg);
}
.about-value-number {
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(124, 58, 237, .08);
  line-height: 1;
  pointer-events: none;
  transition: color .3s;
}
.about-value-card-rich:hover .about-value-number {
  color: rgba(124, 58, 237, .18);
}

/* ─── مسیر کار ─── */
.about-process {
  background: #fff;
  padding: 56px 0 72px;
}
.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 24px;
}
.about-process-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  inset-inline: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light) 20%, var(--primary-light) 80%, transparent);
  z-index: 0;
  opacity: .4;
}
.about-process-step {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.about-process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.process-step-number {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(124, 58, 237, .1);
  padding: 3px 10px;
  border-radius: 999px;
}
.process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-1);
  font-size: 28px;
  margin-bottom: 16px;
  box-shadow: 0 12px 28px rgba(124, 58, 237, .28);
  transition: transform .3s;
}
.about-process-step:hover .process-step-icon {
  transform: scale(1.1) rotate(-6deg);
}
.about-process-step h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.about-process-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

/* ─── تیم با حلقه گرادیانی ─── */
.about-team-avatar-rich {
  width: 108px;
  height: 108px;
  border: 0 !important;
  background: var(--gradient-1) !important;
  padding: 4px;
  overflow: visible !important;
}
.about-team-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-team-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-team-card-rich {
  position: relative;
  overflow: hidden;
}
.about-team-card-rich::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, .05));
  transition: height .3s;
}
.about-team-card-rich:hover::before {
  height: 100%;
}
.about-team-card-rich:hover .about-team-avatar-rich {
  transform: translateY(-4px);
  transition: transform .3s;
}

/* ─── CTA غنی ─── */
.about-cta-rich {
  position: relative;
  overflow: hidden;
}
.about-cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-shape-1 {
  position: absolute;
  top: -50px; inset-inline-end: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.cta-shape-2 {
  position: absolute;
  bottom: -40px; inset-inline-start: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.about-cta-content,
.about-cta-actions {
  position: relative;
  z-index: 1;
}

/* ─── ریسپانسیو ─── */
@media (max-width: 1024px) {
  .about-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-process-grid::before {
    display: none;
  }
  @media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  /* ستون اول در تبلت تمام عرض */
  .footer-grid .footer-col-1 {
    grid-column: 1 / -1;
  }
}
}
@media (max-width: 768px) {
  .about-hero-rich {
    padding: 64px 20px 80px;
    border-radius: 0 0 24px 24px;
  }
  .about-hero-shapes .shape-1 { width: 80px; height: 80px; }
  .about-hero-shapes .shape-3 { width: 140px; height: 140px; }
  .about-hero-cta .btn { width: 100%; justify-content: center; }
  .about-team-avatar-rich { width: 88px; height: 88px; }
  .about-value-number { font-size: 1.8rem; }
  .process-step-icon { width: 54px; height: 54px; font-size: 22px; }
}
@media (max-width: 480px) {
  .about-process-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   41. هدر گرادیانی آرشیو (فروشگاه + دسته‌بندی)
   ═══════════════════════════════════════════════════════════════════ */
.archive-hero {
  position: relative;
  background: var(--gradient-1);
  color: #fff;
  padding: 72px 24px 84px;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  margin-bottom: 32px;
}

.archive-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.archive-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  animation: floatShape 8s ease-in-out infinite;
}
.archive-hero-shapes .shape-1 {
  width: 120px; height: 120px;
  top: 12%; inset-inline-end: 8%;
}
.archive-hero-shapes .shape-2 {
  width: 80px; height: 80px;
  bottom: 18%; inset-inline-start: 10%;
  background: rgba(255, 255, 255, .18);
  animation-delay: 1.5s;
}
.archive-hero-shapes .shape-3 {
  width: 200px; height: 200px;
  top: 30%; inset-inline-start: -50px;
  background: rgba(255, 255, 255, .08);
  animation-delay: 3s;
}
.archive-hero-shapes .shape-4 {
  width: 60px; height: 60px;
  top: 22%; inset-inline-start: 35%;
  background: rgba(255, 255, 255, .15);
  animation-delay: 4.5s;
}

.archive-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.archive-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .2);
  font-size: 36px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.archive-hero-eyebrow {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  margin-bottom: 12px;
}

.archive-hero-title {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.archive-hero-desc {
  color: rgba(255, 255, 255, .95);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 18px;
  max-width: 620px;
  margin-inline: auto;
}

.archive-hero-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-top: 8px;
}
.archive-hero-count .count-icon {
  font-size: 15px;
}

.archive-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
}

/* ─── ادغام با محتوای پایین ─── */
.archive-hero + .content-wrap {
  padding-top: 0 !important;
}

/* ─── حذف margin-bottom قبلی page-header (چون هدر جدید جایگزینش شد) ─── */
.archive-hero ~ .content-wrap .page-header {
  display: none;
}

/* ─── ریسپانسیو ─── */
@media (max-width: 768px) {
  .archive-hero {
    padding: 52px 20px 64px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 20px;
  }
  .archive-hero-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    border-radius: 16px;
  }
  .archive-hero-desc { font-size: 14px; }
  .archive-hero-count { font-size: 12.5px; padding: 6px 14px; }
  .archive-hero-shapes .shape-1 { width: 80px; height: 80px; }
  .archive-hero-shapes .shape-3 { width: 140px; height: 140px; }
  .archive-hero-wave { height: 40px; }
}
/* ═══════════════════════════════════════════════════════════════════
   42. نوار بالایی (Top Bar)
   ═══════════════════════════════════════════════════════════════════ */
.topbar {
  background: #1e1b4b;
  color: #c7c2e8;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 40px;
  padding-block: 8px;
}

.topbar-contact {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-self: end;
  flex-wrap: wrap;
}

.topbar-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding: 4px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-menu-wrap {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c7c2e8;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color .2s;
}
.topbar-item:hover {
  color: #fff;
}
.topbar-icon {
  font-size: 13px;
  line-height: 1;
}
.topbar-login {
  color: #fff !important;
  padding: 3px 10px;
  background: rgba(255, 255, 255, .1);
  border-radius: 6px;
  font-weight: 700;
}
.topbar-login:hover {
  background: rgba(255, 255, 255, .18);
}

/* منوی نوار بالایی */
.topbar-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.topbar-menu li {
  margin: 0;
}
.topbar-menu a {
  color: #c7c2e8;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar-menu a:hover {
  color: #fff;
}

/* جداکننده بین آیتم‌های منو (اختیاری) */
.topbar-menu li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, .15);
  margin-inline-end: 18px;
  vertical-align: middle;
}

/* ─── ریسپانسیو ─── */
@media (max-width: 1024px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }
  .topbar-notice {
    display: none; /* اعلان وسط در تبلت مخفی */
  }
}

@media (max-width: 768px) {
  .topbar {
    font-size: 11.5px;
  }
  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
    padding-block: 6px;
  }
  .topbar-contact,
  .topbar-menu-wrap {
    justify-self: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .topbar-contact .topbar-item span:not(.topbar-icon) {
    display: none; /* در موبایل فقط آیکون */
  }
  .topbar-menu {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .topbar-menu li + li::before {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   43. هیرو موبایل + مخفی‌سازی بولت‌ها
   ═══════════════════════════════════════════════════════════════════ */

/* دسکتاپ: هیرو موبایل پنهان */
.mobile-hero-wrap {
  display: none;
}

/* ─── زیر ۷۶۸px ─── */
@media (max-width: 768px) {

  /* ۱) اسلایدر پنهان، هیرو موبایل نمایش */
  .desktop-slider-wrap {
    display: none;
  }
  .mobile-hero-wrap {
    display: block;
  }

  /* هیرو موبایل — فاصلهٔ کوچک‌تر */
  .mobile-hero-wrap .archive-hero {
    padding: 52px 20px 64px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 0;
  }
  .mobile-hero-wrap .archive-hero-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    border-radius: 16px;
  }
  .mobile-hero-wrap .archive-hero-title {
    font-size: 1.7rem;
    margin-bottom: 10px;
  }
  .mobile-hero-wrap .archive-hero-desc {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .mobile-hero-wrap .archive-hero-wave {
    height: 40px;
  }

  /* ۲) مخفی کردن بولت‌های زیر تصویر در تک‌محصول */
  .single-download .download-bullets-below-image {
    display: none !important;
  }
}

/* ─── در موبایل کوچک‌تر، هیرو کمی جمع‌وجورتر ─── */
@media (max-width: 480px) {
  .mobile-hero-wrap .archive-hero {
    padding: 44px 18px 56px;
  }
  .mobile-hero-wrap .archive-hero-icon {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }
  .mobile-hero-wrap .archive-hero-title {
    font-size: 1.5rem;
  }
  .mobile-hero-wrap .archive-hero-desc {
    font-size: 13px;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   44. هیرو یکپارچهٔ صفحات + صفحهٔ تماس
   ═══════════════════════════════════════════════════════════════════ */
.archive-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .archive-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .archive-hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── فاصلهٔ هیرو با محتوای بعد ─── */
.page-hero + .content-wrap {
  padding-top: 36px !important;
}

/* ═══════════ صفحهٔ تماس با ما ═══════════ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}
.contact-page-grid.no-info {
  grid-template-columns: 1fr;
}

.contact-info-column {
  display: grid;
  gap: 14px;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.contact-info-body h3 {
  font-size: 13.5px;
  margin: 0 0 2px;
  color: var(--muted);
  font-weight: 700;
}
.contact-info-body p,
.contact-info-body a {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  word-break: break-word;
  text-decoration: none;
}
.contact-info-body a:hover {
  color: var(--primary);
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap .wpcf7,
.contact-form-wrap .entry-content form {
  border: 0;
  box-shadow: none;
  margin: 0;
}

.contact-form-empty {
  text-align: center;
  padding: 56px 24px;
}
.contact-form-empty .contact-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
  opacity: .6;
}
.contact-form-empty h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.contact-form-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-map-wrap {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/9;
}
.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-form-wrap {
    padding: 4px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   45. بلاگ حرفه‌ای
   ═══════════════════════════════════════════════════════════════════ */

/* ─── تب‌های دسته‌بندی ─── */
.blog-cat-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.blog-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.blog-cat-chip:hover {
  background: var(--border);
  color: var(--primary);
}
.blog-cat-chip.active {
  background: var(--gradient-1);
  color: #fff;
}
.blog-cat-count {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  opacity: .9;
}
.blog-cat-chip:not(.active) .blog-cat-count {
  background: rgba(124, 58, 237, .1);
  color: var(--primary-dark);
}

/* ─── تیتر بخش ─── */
.blog-section-title {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin: 32px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* ─── پست ویژه ─── */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.featured-post:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.featured-post-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  min-height: 280px;
}
.featured-post-media a {
  display: block;
  height: 100%;
}
.featured-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.featured-post:hover .featured-post-media img {
  transform: scale(1.04);
}
.featured-post-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
}
.featured-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--primary-dark);
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}
.featured-post-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.featured-post-content .post-meta {
  gap: 10px;
}
.meta-readtime {
  font-size: 12.5px;
  color: var(--muted);
}
.featured-post-title {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  margin: 0;
  line-height: 1.35;
}
.featured-post-title a {
  color: var(--text);
}
.featured-post-title a:hover {
  color: var(--primary);
}
.featured-post-excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0;
}
.featured-post-cta {
  align-self: flex-start;
  padding: 10px 20px !important;
  font-size: 13.5px !important;
  border-radius: 10px !important;
  margin-top: 6px;
}

/* ─── کارت بلاگ — بهبود ─── */
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  gap: 10px;
}
.blog-card-readtime {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.blog-card-more:hover {
  color: var(--primary-dark);
}
.blog-card-more svg {
  transition: transform .2s;
}
.digishop-blog-card:hover .blog-card-more svg {
  transform: translateX(-4px);
}

/* ─── صفحهٔ نویسنده ─── */
.author-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.author-card-avatar {
  flex-shrink: 0;
}
.author-card-img {
  border-radius: 50%;
  width: 96px;
  height: 96px;
  border: 4px solid var(--bg-soft);
  display: block;
}
.author-card-body {
  flex: 1;
  min-width: 0;
}
.author-card-name {
  font-size: 1.35rem;
  margin: 0 0 6px;
}
.author-card-bio {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0 0 12px;
}
.author-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.author-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.author-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.author-card-link:hover {
  background: var(--border);
  color: var(--primary-dark);
}

/* ─── ریسپانسیو ─── */
@media (max-width: 1024px) {
  .featured-post {
    grid-template-columns: 1fr;
  }
  .featured-post-media {
    aspect-ratio: 16/9;
    min-height: 240px;
  }
  .featured-post-content {
    padding: 22px 24px;
  }
}
@media (max-width: 768px) {
  .blog-cat-nav {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .blog-cat-chip {
    padding: 7px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }
  .featured-post-content {
    padding: 18px 20px;
  }
  .featured-post-title {
    font-size: 1.15rem;
  }
  .featured-post-excerpt {
    font-size: 13.5px;
  }
  .author-card {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 14px;
  }
  .author-card-meta {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   46. کارت بیو نویسنده — تک‌نوشته
   ═══════════════════════════════════════════════════════════════════ */
.single-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 24px 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.single-author-box::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-1);
}

.author-box-avatar-link {
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient-1);
  transition: transform .2s;
}
.author-box-avatar-link:hover {
  transform: scale(1.05);
}
.author-box-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: block;
  border: 3px solid #fff;
}

.author-box-body {
  flex: 1;
  min-width: 0;
}
.author-box-label {
  display: inline-block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 4px;
}
.author-box-name {
  font-size: 1.15rem;
  margin: 0 0 8px;
  line-height: 1.3;
}
.author-box-name a {
  color: var(--text);
  text-decoration: none;
}
.author-box-name a:hover {
  color: var(--primary);
}
.author-box-bio {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 14px;
}
.author-box-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12.5px;
}
.author-box-stat {
  color: var(--muted);
  font-weight: 600;
}
.author-box-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.author-box-link:hover {
  background: var(--border);
  color: var(--primary-dark);
}
.author-box-all {
  margin-inline-start: auto;
}

@media (max-width: 600px) {
  .single-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px;
  }
  .single-author-box::before {
    width: 100%;
    height: 4px;
  }
  .author-box-meta {
    justify-content: center;
  }
  .author-box-all {
    margin-inline-start: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   مسیر ناوبری (Breadcrumbs)
   ═══════════════════════════════════════════════════════════════════ */
.digishop-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    padding: 12px 16px;
    background-color: var(--bg-soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.digishop-breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.digishop-breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--muted);
    opacity: 0.6;
    font-size: 14px;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 700;
}

@media (max-width: 768px) {
    .digishop-breadcrumbs {
        font-size: 12px;
        padding: 10px 14px;
        margin-bottom: 18px;
    }
}
