/* ════════════════════════════════════════
   boncopon — store-seo.css
   استایل بخش محتوای تکمیلی سئو
   ════════════════════════════════════════ */

/* ── SECTION WRAPPER ── */
.seo-content-section {
  background: #fff;
  border-top: 3px solid #f0f2f5;
  margin-top: 16px;
  padding: 48px 0 60px;
}

.seo-content-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION HEADER ── */
.seo-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.seo-section-header h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.3;
}

.seo-title-bar {
  width: 6px;
  height: 28px;
  border-radius: 3px;
  flex-shrink: 0;
  display: inline-block;
}

.seo-store-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--lgray);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── CONTENT BODY ── */
.seo-content-body {
  font-size: 15px;
  line-height: 2;
  color: #374151;
}

/* تایپوگرافی محتوا */
.seo-content-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orl);
}
.seo-content-body h2:first-child { margin-top: 0; }

.seo-content-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 26px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.seo-content-body h3::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--or);
  border-radius: 2px;
  flex-shrink: 0;
}

.seo-content-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.seo-content-body p {
  margin-bottom: 16px;
  color: #4b5563;
}

.seo-content-body ul,
.seo-content-body ol {
  padding-right: 24px;
  margin-bottom: 18px;
}

.seo-content-body li {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.8;
}

.seo-content-body ol li {
  padding-right: 6px;
}

.seo-content-body a {
  color: var(--or);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,107,53,.3);
  transition: border-color .2s;
}
.seo-content-body a:hover { border-color: var(--or); }

.seo-content-body strong { color: var(--navy); font-weight: 700; }

.seo-content-body blockquote {
  border-right: 4px solid var(--or);
  background: var(--orl);
  padding: 14px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: #555;
  font-style: italic;
}

/* ── FAQ ITEMS ── */
.seo-content-body .faq-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.seo-content-body .faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.seo-content-body .faq-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  user-select: none;
}
.seo-content-body .faq-item h4::after {
  content: '\e5cf'; /* chevron */
  font-family: 'tabler-icons';
  font-size: 18px;
  color: var(--or);
  transition: transform .3s;
  flex-shrink: 0;
}
.seo-content-body .faq-item.open h4::after {
  transform: rotate(180deg);
}

.seo-content-body .faq-item div[itemscope] {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.seo-content-body .faq-item.open div[itemscope] {
  max-height: 600px;
  padding-bottom: 16px;
}

.seo-content-body .faq-item p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.8;
}

/* ── TABLE (اگر داخل محتوا استفاده شد) ── */
.seo-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.seo-content-body th {
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-align: right;
  font-weight: 600;
}
.seo-content-body td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}
.seo-content-body tr:nth-child(even) td { background: #f9fafb; }

/* ── TIP BOX (با کلاس tip) ── */
.seo-content-body .tip {
  background: linear-gradient(135deg, var(--orl), #fff8f5);
  border: 1.5px solid rgba(255,107,53,.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.seo-content-body .tip::before {
  content: '💡';
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .seo-section-header h2 { font-size: 18px; }
  .seo-content-body { font-size: 14px; }
  .seo-content-body h2 { font-size: 18px; }
  .seo-content-body h3 { font-size: 15px; }
}
