/* ====================================================================
 * Free vs Pro comparison page (Stage 7)
 * Public, indexable. body.view-compare (set by account.js from window._view)
 * hides the homepage sections and reveals #compareView. The section reuses
 * .legal-view / .legal-inner (from account.css) for padding + max-width.
 * ==================================================================== */
body.view-compare #mainContent > section:not(#compareView),
body.view-compare #productCount,
body.view-compare #pagination,
body.view-compare #filterBar {
  display: none !important;
}
body.view-compare #compareView { display: block; }

.compare-inner { max-width: 720px; }

.compare-sub {
  font-size: 1.02rem;
  color: #3A4A38;
  line-height: 1.6;
  margin: 4px 0 28px;
}

/* ── Comparison table ───────────────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid #E2EDDF;
  vertical-align: middle;
}
.compare-table thead th {
  border-bottom: 2px solid #D8E6D4;
  vertical-align: bottom;
}
.ct-feature { width: 56%; }
.ct-col {
  width: 22%;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #566554;
  line-height: 1.3;
}
.compare-table td.ct-feature,
.compare-table tbody td:first-child {
  color: #3A4A38;
  font-weight: 500;
}
.compare-table tbody td:not(:first-child) { text-align: center; }

/* Highlighted "Free account" column */
.ct-highlight {
  background: #F4F9F2;
  border-left: 1px solid #D8E6D4;
  border-right: 1px solid #D8E6D4;
}
.compare-table thead th.ct-highlight {
  border-top: 2px solid #2D6A27;
  border-radius: 10px 10px 0 0;
  color: #1A4418;
}
.ct-badge {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #2D6A27;
  margin-bottom: 4px;
}
.compare-table tbody tr:last-child .ct-highlight {
  border-bottom: 1px solid #D8E6D4;
  border-radius: 0 0 10px 10px;
}

/* Yes / no marks */
.ct-yes { color: #2D6A27; font-weight: 800; font-size: 1.05rem; }
.ct-no  { color: #B9C5B6; font-weight: 700; font-size: 1.05rem; }

/* Price row */
.ct-price td { font-weight: 700; color: #1A4418; }

/* ── CTA ────────────────────────────────────────────────────────────── */
.compare-cta { text-align: center; margin-top: 8px; }
.compare-cta-btn {
  display: inline-block;
  background: #2D6A27;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.1s;
}
.compare-cta-btn:hover { background: #245821; }
.compare-cta-btn:active { transform: translateY(1px); }
.compare-note {
  font-size: 0.85rem;
  color: #6B7A69;
  margin: 14px 0 0;
}

@media (max-width: 600px) {
  .compare-table { font-size: 0.86rem; }
  .compare-table th,
  .compare-table td { padding: 11px 6px; }
  .ct-feature { width: 52%; }
  .ct-col { font-size: 0.74rem; }
}
