/* =============================================
   CSS VARIABLES & RESET
   ============================================= */
:root {
  --primary: #00C6A9;
  --primary-dark: #009e87;
  --accent: #F9E65C;
  --text: #0A2647;
  --white: #ffffff;
  --bg: #f5f8fa;
  --card-bg: #ffffff;
  --border: rgba(10,38,71,0.1);
  --shadow: 0 4px 24px rgba(10,38,71,0.08);
  --sidebar-top-gap: 24px;
  --sidebar-bottom-gap: 10px;
  --sticky-buy-safe-space: 82px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--text);
  padding: 56px 20px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0,198,169,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(249,230,92,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,198,169,0.15);
  border: 1px solid rgba(0,198,169,0.35);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  animation: fadeDown 0.6s ease both;
}

.hero h1 {
  font-size: clamp(22px,5vw,40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 14px;
  animation: fadeDown 0.6s 0.1s ease both;
}

.hero h1 em { color: var(--accent); font-style: normal; }

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.9;
  animation: fadeDown 0.6s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.6s 0.3s ease both;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-main {
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Vazirmatn', sans-serif;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-main:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Vazirmatn', sans-serif;
  cursor: pointer;
  transition: background .15s;
}

.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 48px 0 120px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
  position: static;
  top: var(--sidebar-top-gap);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: fadeUp 0.5s ease both;
}

.sidebar-card-header {
  background: var(--text);
  color: var(--white);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.sidebar-card-header .icon {
  width: 22px;
  height: 22px;
  background: rgba(0,198,169,0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.sidebar-card-body { padding: 16px 18px; }

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(10,38,71,0.08);
  font-size: 13px;
  gap: 8px;
}

.spec-row:last-child { border-bottom: none; }
.spec-label { color: rgba(10,38,71,0.55); font-size: 12px; flex-shrink: 0; }
.spec-value { font-weight: 600; color: var(--text); text-align: left; font-size: 13px; }
.spec-value.highlight { color: var(--primary); }

.toc-list { list-style: none; }
.toc-list li { border-bottom: 1px dashed rgba(10,38,71,0.07); }
.toc-list li:last-child { border-bottom: none; }

.toc-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: color .15s, padding-right .15s;
}

.toc-list a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background .15s;
}

.toc-list a:hover { color: var(--primary); padding-right: 6px; }
.toc-list a:hover::before { background: var(--primary); }

.buy-card {
  background: linear-gradient(135deg, var(--text) 0%, #0d3060 100%);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(10,38,71,0.2);
}

.buy-card .price-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.buy-card .price { font-size: 26px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.buy-card .price span { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.6); }
.buy-card .formats { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }

.buy-card .btn-buy {
  display: block;
  background: var(--primary);
  color: var(--white);
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Vazirmatn', sans-serif;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background .15s, transform .15s;
  margin-bottom: 8px;
}

.buy-card .btn-buy:hover { background: var(--primary-dark); transform: translateY(-1px); }
.buy-card .guarantee { font-size: 11px; color: rgba(255,255,255,0.4); }

/* =============================================
   ARTICLE
   ============================================= */
.article {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
  width: 100%;
}

.section-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  width: 100%;
  box-sizing: border-box;
}

.section-card.visible { opacity: 1; transform: translateY(0); }

.section-header {
  padding: 22px 32px 20px;
  border-bottom: 1px solid rgba(10,38,71,0.07);
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,198,169,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.section-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.section-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.section-body { padding: 28px 32px; }

.section-body p {
  color: var(--text);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
}

.section-body p:last-child { margin-bottom: 0; }

.section-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
  padding-right: 12px;
  border-right: 3px solid var(--primary);
  line-height: 1.6;
}

.section-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 10px;
  line-height: 1.6;
}

/* =============================================
   INFO BOXES
   ============================================= */
.info-box {
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-box.green { background: rgba(0,198,169,0.08); border: 1px solid rgba(0,198,169,0.2); }
.info-box.yellow { background: rgba(249,230,92,0.12); border: 1px solid rgba(249,230,92,0.35); }
.info-box.blue { background: rgba(10,38,71,0.05); border: 1px solid rgba(10,38,71,0.12); }
.info-box-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.info-box-text { font-size: 14px; line-height: 1.9; color: var(--text); }
.info-box-text strong { font-weight: 700; display: block; margin-bottom: 4px; }

/* =============================================
   GRID CARDS
   ============================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0; }

.mini-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}

.mini-card:hover { box-shadow: 0 4px 16px rgba(0,198,169,0.12); }
.mini-card .mc-icon { font-size: 22px; margin-bottom: 8px; }
.mini-card .mc-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.5; }
.mini-card .mc-text { font-size: 12px; color: rgba(10,38,71,0.6); line-height: 1.8; }

/* =============================================
   TABLE
   ============================================= */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  max-width: 100%;
}

table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead { background: var(--text); color: var(--white); }
thead th { padding: 13px 16px; text-align: right; font-weight: 600; font-size: 13px; }
tbody tr { border-bottom: 1px solid rgba(10,38,71,0.07); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(0,198,169,0.04); }
tbody td { padding: 12px 16px; color: var(--text); font-size: 13px; }
tbody td.num { color: var(--primary); font-weight: 700; }
tbody td.accent { color: #c8900a; font-weight: 600; }
tfoot { background: rgba(0,198,169,0.08); }
tfoot td { padding: 12px 16px; font-weight: 700; font-size: 14px; }

/* =============================================
   PROGRESS BARS
   ============================================= */
.progress-item { margin-bottom: 18px; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.progress-bar { height: 8px; background: rgba(10,38,71,0.08); border-radius: 100px; overflow: hidden; }
.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--primary);
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
  width: 0;
}

/* =============================================
   TIMELINE
   ============================================= */
.timeline { position: relative; padding-right: 24px; }
.timeline::before {
  content: '';
  position: absolute;
  right: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(0,198,169,0.15));
}

.tl-item { position: relative; padding-right: 28px; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  right: -3px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--card-bg);
  box-shadow: 0 0 0 3px rgba(0,198,169,0.2);
}

.tl-phase { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 0.05em; margin-bottom: 4px; }
.tl-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.5; }
.tl-desc { font-size: 13px; color: rgba(10,38,71,0.65); line-height: 1.8; }

/* =============================================
   SWOT
   ============================================= */
.swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.swot-card { border-radius: 12px; padding: 18px; }
.swot-card.s { background: rgba(0,198,169,0.08); border: 1px solid rgba(0,198,169,0.2); }
.swot-card.w { background: rgba(249,230,92,0.1); border: 1px solid rgba(249,230,92,0.3); }
.swot-card.o { background: rgba(10,38,71,0.05); border: 1px solid rgba(10,38,71,0.12); }
.swot-card.t { background: rgba(200,80,50,0.05); border: 1px solid rgba(200,80,50,0.15); }
.swot-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 10px; display: block; }
.swot-card.s .swot-label { color: var(--primary); }
.swot-card.w .swot-label { color: #a08a00; }
.swot-card.o .swot-label { color: var(--text); }
.swot-card.t .swot-label { color: #c84500; }
.swot-list { list-style: none; }
.swot-list li {
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.7;
}
.swot-list li::before { content: '•'; flex-shrink: 0; margin-top: 1px; }

/* =============================================
   STAT CARDS
   ============================================= */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.stat-card {
  background: var(--text);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  color: var(--white);
}

.stat-num { font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.stat-unit { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; line-height: 1.5; }

/* =============================================
   DIVIDER
   ============================================= */
.section-divider { border: none; border-top: 2px dashed rgba(0,198,169,0.2); margin: 7px 0; }

/* =============================================
   CONSULT SECTION
   ============================================= */
.consult-section {
  background: var(--text);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.consult-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(0,198,169,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.consult-section h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.consult-section p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 24px; line-height: 1.9; }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Vazirmatn', sans-serif;
  transition: background .15s, transform .15s;
}

.wa-btn:hover { background: #1da851; transform: translateY(-2px); }

/* =============================================
   STICKY BUY BAR — نسخه نهایی
   ============================================= */
.sticky-buy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: rgba(10,15,20,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -6px 30px rgba(10,38,71,.25);
  transform: translateY(100%);
  transition: transform .4s ease;
}

.sticky-buy.visible {
  transform: translateY(0);
}

.sticky-buy-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-buy-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.sticky-buy-info .sb-title {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-buy-info .sb-price {
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
}

.sticky-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Vazirmatn', sans-serif;
  box-shadow: 0 4px 16px rgba(0,198,169,.4);
  transition: all .25s ease;
  flex-shrink: 0;
}

.sticky-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(0,198,169,.55);
  color: var(--white);
  text-decoration: none;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open { border-color: rgba(0,198,169,0.35); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  line-height: 1.6;
  transition: background .15s;
}

.faq-question:hover { background: rgba(0,198,169,0.04); }
.faq-item.open .faq-question { background: rgba(0,198,169,0.06); color: var(--primary); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(10,38,71,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background .2s, transform .3s;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 20px;
}

.faq-answer-inner {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(10,38,71,0.75);
  padding-bottom: 18px;
  border-top: 1px dashed rgba(0,198,169,0.2);
  padding-top: 14px;
}

.faq-item.open .faq-answer { max-height: 500px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   INLINE TEXT LINKS
   ============================================= */
.section-body a:not(.btn-main):not(.btn-ghost):not(.wa-btn):not(.btn-buy) {
  color: #6366f1;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(99,102,241,.25);
  padding-bottom: 1px;
  transition: all .2s ease;
  font-weight: 500;
}

.section-body a:not(.btn-main):not(.btn-ghost):not(.wa-btn):not(.btn-buy):hover {
  color: #4f46e5;
  border-bottom-color: #4f46e5;
  background: rgba(99,102,241,.06);
  border-radius: 3px;
  padding: 1px 4px;
}

/* =============================================
   IMAGE STYLES
   ============================================= */
.article-image {
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
}

.article-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  margin: 5px auto;
}

.image-caption {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}

.article-image-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  margin: 5px 0;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.article-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.article-image-card .image-caption {
  padding: 5px;
  text-align: center;
  font-size: 12px;
  color: #555;
}

/* =============================================
   INLINE SUGGEST BOX
   ============================================= */
.inline-suggest {
  margin: 36px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.inline-suggest::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00C6A9, #009e87);
  border-radius: 0 16px 16px 0;
}

.inline-suggest-label {
  font-size: 13px;
  font-weight: 700;
  color: #00C6A9;
  margin-bottom: 16px;
  letter-spacing: -.2px;
}

.inline-suggest-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.suggest-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #00C6A9;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .25s ease;
  border-bottom: none !important;
}

.suggest-link:hover {
  background: #fafbff !important;
  border-color: #c7d2fe;
  box-shadow: 0 4px 16px rgba(99,102,241,.1);
  transform: translateX(-4px);
}

.suggest-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 10px;
}

.suggest-text { flex: 1; min-width: 0; }

.suggest-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.suggest-text small {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.suggest-arrow {
  font-size: 18px;
  color: #c7d2fe;
  flex-shrink: 0;
  transition: all .25s ease;
}

.suggest-link:hover .suggest-arrow {
  color: #6366f1;
  transform: translateX(-4px);
}

/* =============================================
   RELATED ARTICLES GRID
   ============================================= */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.related-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: linear-gradient(135deg, #fafbff 0%, #f5f3ff 100%);
  border: 1px solid #e8e0f7;
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .3s ease;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

.related-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  border-radius: 12px;
  height: 3px;
  background: linear-gradient(90deg, #00C6A9, #009e87);
  opacity: 0;
  transition: opacity .3s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.12);
  border-radius: 12px;
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #fff 0%, #faf8ff 100%) !important;
}

.related-card:hover::after { opacity: 1; }

.related-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #00C6A9;
  background: rgba(7, 45, 86, 0.9);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.related-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  line-height: 1.6;
}

.related-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
  flex: 1;
  margin: 0 0 14px;
}

.related-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid #ede9fe;
  padding-top: 12px;
  margin-top: auto;
}

.related-arrow {
  color: #00C6A9;
  font-weight: 600;
  transition: transform .25s ease;
}

.related-card:hover .related-arrow { transform: translateX(-6px); }

/* =============================================
   SOURCES GRID — نسخه نهایی
   ============================================= */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.source-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  text-decoration: none;
  color: #94a3b8;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

.source-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,198,169,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
}

.source-card:hover {
  border-color: rgba(0,198,169,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,198,169,.12);
  text-decoration: none;
  color: inherit;
}

.source-card:hover::before { opacity: 1; }
.source-card:hover .source-url { color: #00C6A9; }

.source-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0,198,169,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(0,198,169,.2);
  transition: all .25s ease;
  position: relative;
  z-index: 1;
}

.source-card:hover .source-icon-wrap {
  background: rgba(0,198,169,.18);
  border-color: rgba(0,198,169,.4);
}

.source-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.source-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #00C6A9;
  background: rgba(0,198,169,.1);
  border: 1px solid rgba(0,198,169,.2);
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
  letter-spacing: .3px;
}

.source-title {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  margin: 0 0 5px;
  line-height: 1.4;
}

.source-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 8px;
}

.source-url {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  font-family: monospace;
  transition: color .2s;
  direction: ltr;
  text-align: right;
}

/* =============================================
   FACTORY STATS STRIP
   ============================================= */
.factory-strip {
  display: flex;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  margin: 28px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

.factory-strip-item {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  background: #fff;
  border-left: 1px solid #e8f5ee;
  transition: background .25s;
}

.factory-strip-item:first-child { border-left: none; }
.factory-strip-item:hover { background: #e8f5ee; }

.fs-icon { font-size: 28px; margin-bottom: 6px; }
.fs-num { font-size: 22px; font-weight: 800; color: #1a6b3c; line-height: 1.1; }
.fs-unit { font-size: 11px; color: #888; margin-bottom: 2px; }
.fs-label { font-size: 12px; color: #555; font-weight: 500; }

/* =============================================
   PROCESS FLOW
   ============================================= */
.process-flow {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 24px 0;
  flex-wrap: wrap;
}

.pf-step {
  flex: 1;
  min-width: 120px;
  padding: 18px 12px;
  text-align: center;
  background: #f0fdf4;
  border-radius: 12px;
  position: relative;
}

.pf-step::after {
  content: '◄';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1a6b3c;
  font-size: 18px;
  z-index: 2;
}

.pf-step:first-child::after { display: none; }

.pf-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a6b3c;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.pf-title { font-size: 12px; font-weight: 700; color: #0f2918; margin-bottom: 4px; }
.pf-sub { font-size: 11px; color: #666; }

/* =============================================
   RAW MATERIAL CARDS
   ============================================= */
.rm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.rm-card {
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  border: 2px solid transparent;
  transition: all .25s;
  cursor: default;
}

.rm-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.rm-card.ldpe { background: linear-gradient(135deg, #fef3c7, #fde68a); border-color: #f59e0b; }
.rm-card.hdpe { background: linear-gradient(135deg, #dbeafe, #bfdbfe); border-color: #3b82f6; }
.rm-card.lldpe { background: linear-gradient(135deg, #dcfce7, #bbf7d0); border-color: #22c55e; }
.rm-card.master { background: linear-gradient(135deg, #fce7f3, #fbcfe8); border-color: #ec4899; }
.rm-card.recycled { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); border-color: #a855f7; }

.rm-icon { font-size: 32px; margin-bottom: 8px; }
.rm-title { font-size: 13px; font-weight: 700; color: #1f2937; margin-bottom: 4px; }
.rm-usage { font-size: 11px; color: #555; }
.rm-pct { font-size: 18px; font-weight: 800; margin-bottom: 4px; }

/* =============================================
   MACHINE CARDS
   ============================================= */
.machine-card {
  border-radius: 14px;
  border: 1.5px solid #e8f5ee;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow .2s;
}

.machine-card:hover { box-shadow: 0 6px 20px rgba(26,107,60,.12); }

.machine-header {
  background: linear-gradient(90deg, #1a6b3c, #2d9e5f);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.machine-icon { font-size: 28px; }
.machine-name { color: #fff; font-weight: 700; font-size: 16px; }

.machine-tag {
  margin-right: auto;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
}

.machine-body {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.machine-spec { text-align: center; }
.machine-spec-val { font-size: 15px; font-weight: 700; color: #1a6b3c; }
.machine-spec-key { font-size: 11px; color: #888; margin-top: 2px; }

/* =============================================
   MARKET VISUAL / PIE
   ============================================= */
.market-visual {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}

.pie-chart {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    #1a6b3c 0% 42%,
    #f59e0b 42% 65%,
    #3b82f6 65% 79%,
    #a855f7 79% 88%,
    #e5e7eb 88% 100%
  );
  box-shadow: 0 4px 16px rgba(26,107,60,.25);
}

.pie-legend { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pie-item { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.pie-dot { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }

/* =============================================
   RISK METER
   ============================================= */
.risk-meter { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0; }

.risk-item {
  flex: 1;
  min-width: 140px;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  background: #fff;
  border: 1.5px solid #e8f5ee;
}

.risk-label { font-size: 12px; color: #666; margin-bottom: 8px; }

.risk-bar-wrap {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.risk-bar-fill { height: 100%; border-radius: 4px; transition: width 1.2s ease; }
.risk-low .risk-bar-fill { background: #22c55e; width: 30%; }
.risk-med .risk-bar-fill { background: #f59e0b; width: 60%; }
.risk-high .risk-bar-fill { background: #ef4444; width: 85%; }

.risk-score { font-size: 20px; font-weight: 800; }
.risk-low .risk-score { color: #22c55e; }
.risk-med .risk-score { color: #f59e0b; }
.risk-high .risk-score { color: #ef4444; }
.risk-name { font-size: 11px; font-weight: 600; color: #333; }

/* =============================================
   PRODUCT RANGE
   ============================================= */
.product-range {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.pr-card {
  border-radius: 14px;
  padding: 18px 14px;
  background: #fff;
  border: 1.5px solid #e8f5ee;
  text-align: center;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.pr-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a6b3c, #2d9e5f);
}

.pr-card:hover { box-shadow: 0 6px 20px rgba(26,107,60,.12); transform: translateY(-3px); }
.pr-icon { font-size: 36px; margin-bottom: 10px; }
.pr-title { font-size: 14px; font-weight: 700; color: #0f2918; margin-bottom: 6px; }

.pr-margin {
  font-size: 11px;
  color: #fff;
  background: #1a6b3c;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 4px;
}

/* =============================================
   COMPARE GRID
   ============================================= */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.cg-col { padding: 0; }
.cg-header { padding: 16px; text-align: center; font-weight: 700; font-size: 14px; }
.cg-header.basic { background: #e5e7eb; color: #374151; }
.cg-header.medium { background: #dbeafe; color: #1d4ed8; }
.cg-header.large { background: #1a6b3c; color: #fff; }

.cg-row { padding: 12px 16px; font-size: 13px; border-top: 1px solid #f3f4f6; text-align: center; }
.cg-row:nth-child(even) { background: #fafafa; }
.cg-row.large-col { background: #f0fdf4; }
.cg-row.large-col:nth-child(even) { background: #dcfce7; }
.cg-row strong { color: #1a6b3c; }

/* =============================================
   CERTIFICATIONS
   ============================================= */
.cert-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #e8f5ee;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #0f2918;
  transition: all .2s;
}

.cert-badge:hover { background: #e8f5ee; transform: scale(1.03); }
.cert-badge-icon { font-size: 20px; }

/* =============================================
   PRODUCT PAGE
   ============================================= */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  direction: rtl;
}

.product-wrapper {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,198,169,.06) 0%, rgba(0,198,169,.02) 100%);
  border: 1px solid rgba(0,198,169,.15);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,198,169,.08) 0%, transparent 60%);
  pointer-events: none;
}

.product-placeholder-img { width: 100%; height: 100%; object-fit: cover; }

.product-badges-top {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
}

.badge-new {
  background: #00C6A9;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(0,198,169,.35);
}

.badge-type {
  background: rgba(0,198,169,.12);
  color: #00C6A9;
  border: 1px solid rgba(0,198,169,.25);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-pdf {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.15);
}

.product-zoom-hint {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.8);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;
}

.product-info-panel {
  margin-top: 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.product-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(0,198,169,.8);
  background: rgba(0,198,169,.08);
  border: 1px solid rgba(0,198,169,.2);
  padding: 3px 10px;
  border-radius: 20px;
}

.product-title { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px; line-height: 1.5; }
.product-subtitle { font-size: 13px; color: rgba(255,255,255,.5); margin: 0 0 18px; line-height: 1.6; }

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}

.product-price {
  font-size: 36px;
  font-weight: 800;
  color: #00C6A9;
  line-height: 1;
  text-shadow: 0 0 30px rgba(0,198,169,.3);
}

.product-price-unit { font-size: 14px; color: rgba(255,255,255,.4); font-weight: 400; }
.product-price-old { font-size: 16px; color: rgba(255,255,255,.3); text-decoration: line-through; }

.product-discount-badge {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: auto;
  align-self: center;
}

.product-short-desc {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(0,198,169,.05);
  border-right: 3px solid #00C6A9;
  border-radius: 0 10px 10px 0;
}

.product-short-desc strong { color: #00C6A9; }

.product-cta-wrap { display: flex; flex-direction: column; gap: 10px; }

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #00C6A9 0%, #00a88c 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 6px 24px rgba(0,198,169,.35);
  text-decoration: none;
  letter-spacing: .3px;
  font-family: inherit;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(0,198,169,.5);
  background: linear-gradient(135deg, #00d4b8 0%, #00b89e 100%);
  color: #fff;
  text-decoration: none;
}

.btn-add-cart:active { transform: translateY(0); }

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
  border-color: rgba(255,255,255,.2);
  text-decoration: none;
}

.trust-signals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.trust-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.5); }
.trust-item svg { width: 16px; height: 16px; flex-shrink: 0; color: #00C6A9; }

.product-content-area { display: flex; flex-direction: column; gap: 32px; }

.quick-specs-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.qsb-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  transition: all .25s ease;
}

.qsb-item:hover { border-color: rgba(0,198,169,.3); background: rgba(0,198,169,.04); }
.qsb-icon { font-size: 22px; margin-bottom: 6px; }
.qsb-label { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 500; margin-bottom: 4px; }
.qsb-value { font-size: 14px; font-weight: 700; color: #00C6A9; }

.product-tabs {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  overflow: hidden;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  min-width: 80px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  font-family: inherit;
}

.tab-btn:hover { color: rgba(255,255,255,.7); background: rgba(255,255,255,.03); }
.tab-btn.active { color: #00C6A9; border-bottom-color: #00C6A9; background: rgba(0,198,169,.05); }

.tab-content { padding: 24px; display: none; }
.tab-content.active { display: block; }

.features-list { display: flex; flex-direction: column; gap: 12px; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  transition: all .2s ease;
}

.feature-item:hover { border-color: rgba(0,198,169,.2); background: rgba(0,198,169,.03); }

.feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(0,198,169,.1);
  border: 1px solid rgba(0,198,169,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.feature-text h4 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); margin: 0 0 3px; }
.feature-text p { font-size: 12px; color: rgba(255,255,255,.4); margin: 0; line-height: 1.5; }

.spec-table-wrap { overflow-x: auto; }

.spec-table { width: 100%; border-collapse: collapse; }

.spec-table tr { border-bottom: 1px solid rgba(255,255,255,.05); transition: background .2s; }
.spec-table tr:hover { background: rgba(0,198,169,.03); }
.spec-table td { padding: 12px 8px; font-size: 13px; }
.spec-table td:first-child { color: rgba(255,255,255,.5); font-weight: 500; text-align: right; width: 45%; }
.spec-table td:last-child { color: rgba(255,255,255,.9); font-weight: 600; text-align: left; }
.spec-table td:last-child span { color: #00C6A9; font-weight: 700; }

.includes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  padding: 10px 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  transition: all .2s ease;
}

.include-item:hover { border-color: rgba(0,198,169,.2); color: rgba(255,255,255,.8); }
.include-item .check-icon { color: #00C6A9; font-size: 14px; font-weight: 700; }

.mini-faq-list { display: flex; flex-direction: column; gap: 8px; }

.mini-faq-item {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.mini-faq-item.open { border-color: rgba(0,198,169,.25); }

.mini-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  transition: color .2s;
  gap: 12px;
}

.mini-faq-question:hover { color: #00C6A9; }

.mini-faq-answer {
  display: none;
  padding: 0 16px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.mini-faq-item.open .mini-faq-answer { display: block; }

.faq-toggle-icon { transition: transform .2s; color: #00C6A9; font-size: 14px; flex-shrink: 0; }
.mini-faq-item.open .faq-toggle-icon { transform: rotate(180deg); }

.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(0,198,169,.08) 0%, rgba(0,198,169,.03) 100%);
  border: 1px solid rgba(0,198,169,.2);
  border-radius: 14px;
}

.sp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C6A9, #00a88c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sp-text { flex: 1; }
.sp-text strong { display: block; font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 2px; }
.sp-text span { font-size: 12px; color: rgba(255,255,255,.45); }
.sp-stars { display: flex; gap: 2px; font-size: 16px; color: #f1c40f; }

.quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
}

.qs-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  transition: background .2s;
}

.qs-item:hover { background: rgba(0,198,169,.05); }
.qs-label { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 500; }
.qs-value { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); }
.qs-value.accent { color: #00C6A9; }

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.product-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.product-breadcrumb a:hover { color: #00C6A9; }
.product-breadcrumb span.current { color: #00C6A9; }

/* =============================================
   DARK MODE
   ============================================= */
@media (prefers-color-scheme: dark) {
  .inline-suggest {
    background: linear-gradient(135deg, #1a1f2e 0%, #1e2336 100%);
    border-color: #2a3040;
  }
  .suggest-link { background: #141824 !important; border-color: #2a3040 !important; }
  .suggest-link:hover { background: #1e2336 !important; border-color: #4338ca !important; }
  .suggest-text strong { color: #e2e8f0; }
  .suggest-icon { background: #252b3d; }
  .related-card { background: linear-gradient(135deg, #1a1f2e 0%, #1e2336 100%) !important; border-color: #2a3040 !important; }
  .related-card:hover { background: linear-gradient(135deg, #1e2336 0%, #252b3d 100%) !important; border-color: #4338ca !important; }
  .related-badge { background: rgba(99,102,241,.15); }
  .related-title { color: #e2e8f0; }
  .related-desc { color: #94a3b8; }
  .related-meta { border-top-color: #2a3040; }
}

/* =============================================
   WOOCOMMERCE OVERRIDE
   ============================================= */
.product-page .woocommerce-product-gallery,
.product-page .woocommerce-tabs,
.product-page .woocommerce-variation-add-to-cart {
  display: none !important;
}

.product-page .entry-summary > *:not(.product-info-panel):not(.product-cta-wrap) {
  display: none;
}

/* =============================================
   RESPONSIVE — تبلت
   ============================================= */
@media (max-width: 960px) {
  .product-wrapper { grid-template-columns: 1fr; }
  .product-gallery { position: static; order: -1; }
  .quick-specs-bar { grid-template-columns: repeat(2, 1fr); }
  .quick-specs { grid-template-columns: repeat(2, 1fr); }
  .includes-list { grid-template-columns: 1fr; }
  .tabs-header { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; padding: 32px 0 100px; }
  .sidebar { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .swot-grid { grid-template-columns: 1fr; }
  .consult-section { padding: 28px 20px; }
  .hero { padding: 40px 16px 56px; }
}

/* =============================================
   RESPONSIVE —  موبایل
   ============================================= */
@media (max-width: 640px) {
  .factory-strip { flex-direction: column; }
  .factory-strip-item { border-left: none; border-top: 1px solid #e8f5ee; }
  .process-flow { gap: 8px; }
  .pf-step::after { display: none; }
  .compare-grid { grid-template-columns: 1fr; }
  .machine-body { grid-template-columns: repeat(2, 1fr); }
  .risk-meter { flex-direction: column; }
  .market-visual { flex-direction: column; }
  .pie-chart { width: 100px; height: 100px; }
}

@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .section-body { padding: 18px 16px; }
  .section-header { padding: 16px 16px 14px; gap: 10px; }
  .section-icon { width: 36px; height: 36px; font-size: 16px; }
  .section-card h2 { font-size: 16px; }
  .section-body h3 { font-size: 15px; margin: 20px 0 10px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px 10px; }
  .stat-num { font-size: 20px; }
  .swot-grid { grid-template-columns: 1fr; }
  .table-wrap { font-size: 12px; overflow-x: auto; }
  thead th, tbody td, tfoot td { padding: 9px 10px; font-size: 12px; }
  .hero h1 { font-size: clamp(20px, 6vw, 32px); }
  .hero-sub { font-size: 13px; }
  .btn-main, .btn-ghost { padding: 12px 18px; font-size: 13px; }
  .buy-card { padding: 18px 14px; }
  .faq-question { font-size: 13px; padding: 14px 14px; }
  .faq-answer-inner { font-size: 13px; }
  .progress-label { font-size: 12px; }
  .mini-card { padding: 13px; }
  .mc-title { font-size: 12px; }
  .mc-text { font-size: 11px; }
  .tl-desc { font-size: 12px; }
  .inline-suggest { margin: 5px 0; }
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .sources-grid { grid-template-columns: 1fr; }
  .sticky-buy { padding: 10px 0; }
  .sticky-buy-wrapper { padding: 0 12px; gap: 8px; }
  .sticky-buy-info .sb-title { font-size: 11px; }
  .sticky-buy-info .sb-price { font-size: 15px; }
  .sticky-buy-btn { padding: 10px 16px; font-size: 12px; gap: 6px; }
  .product-page { padding: 16px 12px; }
  .product-wrapper { gap: 24px; }
  .product-price { font-size: 28px; }
  .quick-specs-bar { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quick-specs { grid-template-columns: repeat(2, 1fr); padding: 16px; }
  .social-proof { flex-wrap: wrap; }
  .sticky-buy-wrapper { flex-direction: column; gap: 10px; }
  .sticky-buy-btn { width: 100%; justify-content: center; }
  .product-info-panel { padding: 16px; }
  .tab-btn { font-size: 11px; padding: 12px 10px; }
}

@media (max-width: 400px) {
  .sticky-buy-wrapper { padding: 0 10px; gap: 6px; }
  .sticky-buy-info .sb-title { font-size: 10px; }
  .sticky-buy-info .sb-price { font-size: 14px; }
  .sticky-buy-btn { padding: 9px 14px; font-size: 11px; }
}

