/* محتوای SEO محصول — تم هماهنگ با Farnam (روشن، سبز #2dcea2) */

#tab-description .product-seo-expand {
  width: 100%;
}

#tab-description .product-seo-expand__viewport {
  max-height: 640px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

#tab-description .product-seo-expand.is-expanded .product-seo-expand__viewport {
  max-height: none;
  overflow: visible;
}

#tab-description .product-seo-expand.is-short .product-seo-expand__viewport {
  max-height: none;
  overflow: visible;
}

#tab-description .product-seo-expand__fade {
  display: block;
  height: 72px;
  margin-top: -72px;
  position: relative;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
}

#tab-description .product-seo-expand.is-expanded .product-seo-expand__fade,
#tab-description .product-seo-expand.is-short .product-seo-expand__fade {
  display: none;
}

#tab-description .product-seo-expand__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(45, 206, 162, 0.45);
  border-radius: 10px;
  background: #fff;
  color: #1a9b75;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#tab-description .product-seo-expand__toggle:hover {
  background: rgba(45, 206, 162, 0.1);
  border-color: #2dcea2;
  color: #148f6a;
}

#tab-description .product-seo-expand.is-short .product-seo-expand__toggle {
  display: none;
}

#tab-description .product-seo-related-article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px dashed rgba(45, 206, 162, 0.45);
  border-radius: 10px;
  background: rgba(45, 206, 162, 0.06);
  color: #148f6a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

#tab-description .product-seo-related-article--prominent {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 2px solid rgba(45, 206, 162, 0.45);
  border-style: solid;
  background: linear-gradient(135deg, rgba(45, 206, 162, 0.12), #fff 72%);
  box-shadow: 0 4px 14px rgba(45, 206, 162, 0.1);
}

#tab-description .product-seo-related-article__icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

#tab-description .product-seo-related-article__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
  text-align: right;
}

#tab-description .product-seo-related-article__text strong {
  font-size: 15px;
  color: #1a9b75;
}

#tab-description .product-seo-related-article__text span {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.55;
}

#tab-description .product-seo-related-article__cta {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #2dcea2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

#tab-description .product-seo-related-article:hover {
  background: rgba(45, 206, 162, 0.12);
  border-color: #2dcea2;
}

#tab-description .product-seo-content {
  --seo-accent: #2dcea2;
  --seo-accent-soft: rgba(45, 206, 162, 0.12);
  --seo-bg: #ffffff;
  --seo-surface: #f7f8fa;
  --seo-surface-2: #eef1f4;
  --seo-text: #333333;
  --seo-muted: #6b7280;
  --seo-border: #e5e7eb;
  --seo-radius: 12px;
  --seo-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);

  box-sizing: border-box;
  width: 100%;
  font-size: 15px;
  line-height: 1.85;
  color: var(--seo-text);
  background: var(--seo-bg);
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius);
  overflow: hidden;
}

#tab-description .product-seo-content *,
#tab-description .product-seo-content *::before,
#tab-description .product-seo-content *::after {
  box-sizing: border-box;
}

#tab-description .product-seo-content .hero {
  background: linear-gradient(135deg, var(--seo-accent-soft) 0%, #fff 55%);
  padding: 20px 20px 18px;
  text-align: right;
  border-bottom: 1px solid var(--seo-border);
}

#tab-description .product-seo-content .hero-badge {
  display: inline-block;
  background: var(--seo-accent-soft);
  border: 1px solid rgba(45, 206, 162, 0.35);
  color: #1a9b75;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

#tab-description .product-seo-content .hero-lead {
  font-size: 15px;
  color: var(--seo-muted);
  margin: 0 0 12px;
  max-width: 100%;
}

#tab-description .product-seo-content .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: var(--seo-muted);
}

#tab-description .product-seo-content .hero-meta span {
  background: var(--seo-surface);
  border: 1px solid var(--seo-border);
  border-radius: 8px;
  padding: 4px 10px;
}

#tab-description .product-seo-content .container {
  max-width: 100%;
  padding: 0 20px 24px;
}

#tab-description .product-seo-content .toc {
  background: var(--seo-surface);
  border: 1px solid var(--seo-border);
  border-right: 4px solid var(--seo-accent);
  border-radius: var(--seo-radius);
  padding: 18px 22px;
  margin: 20px 0;
}

#tab-description .product-seo-content .toc-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a9b75;
  margin-bottom: 12px;
}

#tab-description .product-seo-content .toc ol {
  margin: 0;
  padding-right: 20px;
}

#tab-description .product-seo-content .toc li {
  margin-bottom: 6px;
}

#tab-description .product-seo-content .toc a {
  color: var(--seo-text);
  text-decoration: none;
  font-size: 14px;
}

#tab-description .product-seo-content .toc a:hover {
  color: var(--seo-accent);
}

#tab-description .product-seo-content .section {
  padding: 28px 0;
  border-bottom: 1px solid var(--seo-border);
}

#tab-description .product-seo-content .section:last-child {
  border-bottom: none;
}

#tab-description .product-seo-content h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

#tab-description .product-seo-content h2 .icon {
  width: 34px;
  height: 34px;
  background: var(--seo-accent-soft);
  border: 1px solid rgba(45, 206, 162, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

#tab-description .product-seo-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #1a9b75;
}

#tab-description .product-seo-content p {
  margin: 0 0 14px;
  color: var(--seo-text);
}

#tab-description .product-seo-content .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

#tab-description .product-seo-content .card {
  background: var(--seo-bg);
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius);
  padding: 16px;
  box-shadow: var(--seo-shadow);
  transition: border-color 0.2s, transform 0.2s;
}

#tab-description .product-seo-content .card:hover {
  border-color: var(--seo-accent);
  transform: translateY(-2px);
}

#tab-description .product-seo-content .card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

#tab-description .product-seo-content .card-title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

#tab-description .product-seo-content .card-desc {
  font-size: 13px;
  color: var(--seo-muted);
  margin: 0;
  line-height: 1.65;
}

#tab-description .product-seo-content .steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

#tab-description .product-seo-content .step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--seo-surface);
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius);
  padding: 14px 16px;
}

#tab-description .product-seo-content .step-num {
  width: 32px;
  height: 32px;
  background: var(--seo-accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#tab-description .product-seo-content .step-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  color: #222;
}

#tab-description .product-seo-content .step-content p {
  margin: 0;
  font-size: 14px;
  color: var(--seo-muted);
}

#tab-description .product-seo-content .seo-mode {
  border-radius: var(--seo-radius);
  padding: 18px;
  margin: 18px 0;
  border: 1px solid var(--seo-border);
  background: var(--seo-surface);
}

#tab-description .product-seo-content .seo-mode--warm {
  border-color: rgba(45, 206, 162, 0.35);
  background: linear-gradient(135deg, var(--seo-accent-soft), #fff);
}

#tab-description .product-seo-content .seo-mode--violet {
  border-color: #d4c4f0;
  background: linear-gradient(135deg, #f3eeff, #fff);
}

#tab-description .product-seo-content .seo-mode__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

#tab-description .product-seo-content .seo-mode__badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}

#tab-description .product-seo-content .seo-mode--warm .seo-mode__badge {
  background: var(--seo-accent);
  color: #fff;
}

#tab-description .product-seo-content .seo-mode--violet .seo-mode__badge {
  background: #7c5cbf;
  color: #fff;
}

#tab-description .product-seo-content .seo-mode__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

#tab-description .product-seo-content .seo-mode__intro {
  margin: 0 0 12px;
  color: var(--seo-muted);
  font-size: 14px;
}

#tab-description .product-seo-content .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius);
  overflow: hidden;
  font-size: 14px;
}

#tab-description .product-seo-content .compare-table th,
#tab-description .product-seo-content .compare-table td {
  padding: 10px 14px;
  text-align: right;
  border-bottom: 1px solid var(--seo-border);
}

#tab-description .product-seo-content .compare-table th {
  background: var(--seo-surface-2);
  color: #1a9b75;
  font-weight: 700;
}

#tab-description .product-seo-content .compare-table td {
  background: #fff;
}

#tab-description .product-seo-content .compare-table td:first-child {
  font-weight: 600;
  color: var(--seo-muted);
  background: var(--seo-surface);
}

#tab-description .product-seo-content .highlight {
  background: var(--seo-accent-soft);
  border: 1px solid rgba(45, 206, 162, 0.3);
  border-radius: var(--seo-radius);
  padding: 16px 18px;
  margin: 16px 0;
}

#tab-description .product-seo-content .highlight p {
  margin: 0;
}

#tab-description .product-seo-content .pros-list {
  margin: 12px 0;
  padding-right: 22px;
}

#tab-description .product-seo-content .pros-list li {
  margin-bottom: 8px;
}

#tab-description .product-seo-content .ext-game-card {
  background: var(--seo-surface);
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius);
  padding: 18px;
  margin: 16px 0;
}

#tab-description .product-seo-content .ext-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #6b7280;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

#tab-description .product-seo-content .gain-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius);
  padding: 16px;
  margin: 12px 0;
  box-shadow: var(--seo-shadow);
}

#tab-description .product-seo-content .gain-card__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

#tab-description .product-seo-content .gain-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #222;
}

#tab-description .product-seo-content .gain-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--seo-muted);
}

#tab-description .product-seo-content .gain-card > div:not(.gain-card__icon) {
  flex: 1;
  min-width: 0;
}

#tab-description .product-seo-content .gain-card > div:not(.gain-card__icon) > span:last-child {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--seo-accent-soft);
  color: #1a9b75;
  margin-top: 4px;
}

#tab-description .product-seo-content .gain-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--seo-accent-soft);
  color: #1a9b75;
}

#tab-description .product-seo-content .gain-card--purple {
  border-right: 4px solid #7c5cbf;
}

#tab-description .product-seo-content .gain-card--green {
  border-right: 4px solid var(--seo-accent);
}

#tab-description .product-seo-content .gain-card--gold {
  border-right: 4px solid #e6a800;
}

#tab-description .product-seo-content .gain-card--orange {
  border-right: 4px solid #e67e22;
}

#tab-description .product-seo-content .gain-card--blue {
  border-right: 4px solid #378add;
}

#tab-description .product-seo-content .seo-cta {
  text-align: center;
  padding: 22px;
  margin-top: 20px;
  border-radius: var(--seo-radius);
  background: linear-gradient(135deg, var(--seo-accent-soft), #fff);
  border: 1px solid rgba(45, 206, 162, 0.25);
}

#tab-description .product-seo-content .seo-cta__title {
  font-size: 18px;
  font-weight: 800;
  color: #222;
  margin: 0 0 8px;
  line-height: 1.5;
}

#tab-description .product-seo-content .seo-cta__sub {
  margin: 0;
  font-size: 14px;
  color: var(--seo-muted);
}

#tab-description .product-seo-content .faq-item {
  border: 1px solid var(--seo-border);
  border-radius: var(--seo-radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

#tab-description .product-seo-content .faq-q {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  color: #222;
  background: var(--seo-surface);
}

#tab-description .product-seo-content .faq-a {
  padding: 12px 16px 14px;
  font-size: 14px;
  color: var(--seo-muted);
  line-height: 1.75;
  border-top: 1px solid var(--seo-border);
}

@media (max-width: 600px) {
  #tab-description .product-seo-content .hero {
    padding: 16px;
  }

  #tab-description .product-seo-content .container {
    padding: 0 14px 18px;
  }

  #tab-description .product-seo-content h2 {
    font-size: 17px;
  }

  #tab-description .product-seo-content .compare-table {
    font-size: 12px;
  }
}
