/* ============================================================
   compare.css — OF2go Product Comparison Pages
   OfficeFurniture2go.com
   ============================================================ */

/* ---- Base Layout ---- */
.compare-body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #f7f7f7;
}

.compare-page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* ---- Breadcrumb ---- */
.compare-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
}
.compare-breadcrumb .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.compare-breadcrumb a { color: #1a5fa8; text-decoration: none; }
.compare-breadcrumb a:hover { text-decoration: underline; }
.compare-breadcrumb span { color: #999; margin: 0 5px; }

/* ---- Page Hero ---- */
.compare-hero {
  background: linear-gradient(135deg, #1a3a6c 0%, #1a5fa8 100%);
  color: #fff;
  padding: 36px 16px 32px;
  text-align: center;
  margin-bottom: 0;
}
.compare-hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.compare-hero .compare-tagline {
  font-size: 16px;
  opacity: 0.92;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Two-column layout ---- */
.compare-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 28px;
}
.compare-main {
  flex: 1 1 0;
  min-width: 0;
}
.compare-sidebar {
  flex: 0 0 240px;
  width: 240px;
}

/* ---- Intro card ---- */
.compare-intro {
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: 6px;
  padding: 24px 26px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #444;
}
.compare-intro p { margin: 0; }

/* ---- Comparison Table ---- */
.compare-table-wrap {
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: 6px;
  margin-bottom: 28px;
  overflow-x: auto;
}
.compare-table-wrap h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1a3a6c;
  margin: 0;
  padding: 16px 22px 12px;
  border-bottom: 2px solid #e8eef7;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  background: #1a3a6c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
.compare-table thead th:first-child { width: 30%; }
.compare-table tbody tr:nth-child(even) { background: #f4f7fb; }
.compare-table tbody tr:nth-child(odd) { background: #fff; }
.compare-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid #e4eaf3;
  vertical-align: top;
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: #1a3a6c;
  white-space: nowrap;
}
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---- Advantage badges ---- */
.badge-a, .badge-b {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-a { background: #e6f0fb; color: #1a5fa8; border: 1px solid #b8d1f0; }
.badge-b { background: #e9f7ee; color: #1a7a3c; border: 1px solid #b3dcbe; }

/* ---- Content Sections ---- */
.compare-section {
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: 6px;
  padding: 26px 28px;
  margin-bottom: 22px;
}
.compare-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a6c;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8eef7;
}
.compare-section p { margin: 0 0 12px; color: #444; }
.compare-section p:last-child { margin-bottom: 0; }
.compare-section ul {
  margin: 6px 0 12px 18px;
  padding: 0;
  color: #444;
}
.compare-section ul li { margin-bottom: 6px; }

/* ---- Who Wins box ---- */
.compare-winner-box {
  background: #1a3a6c;
  color: #fff;
  border-radius: 6px;
  padding: 20px 24px;
  margin-top: 14px;
}
.compare-winner-box strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 6px;
}
.compare-winner-box p { color: #e0e9f8; margin: 0; font-size: 15px; }

/* ---- CTA Section ---- */
.compare-cta {
  background: linear-gradient(135deg, #1a5fa8 0%, #1a3a6c 100%);
  color: #fff;
  border-radius: 6px;
  padding: 32px 32px;
  margin-bottom: 22px;
  text-align: center;
}
.compare-cta h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
}
.compare-cta p { color: #d8e8f8; margin: 0 0 18px; font-size: 15px; }
.compare-cta .cta-phone {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.compare-cta .cta-phone a { color: #fff; text-decoration: none; }
.compare-cta .cta-phone a:hover { text-decoration: underline; }
.compare-cta .cta-btn {
  display: inline-block;
  background: #f7a800;
  color: #1a3a6c;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 6px;
  transition: background 0.2s;
}
.compare-cta .cta-btn:hover { background: #ffc533; }

/* ---- Sidebar ---- */
.sidebar-card {
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: 6px;
  padding: 18px 18px;
  margin-bottom: 18px;
  font-size: 14px;
}
.sidebar-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #1a3a6c;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8eef7;
}
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card ul li { margin-bottom: 8px; }
.sidebar-card ul li a {
  color: #1a5fa8;
  text-decoration: none;
  font-size: 13px;
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid #f0f4fa;
}
.sidebar-card ul li:last-child a { border-bottom: none; }
.sidebar-card ul li a:hover { color: #1a3a6c; text-decoration: underline; }
.sidebar-phone {
  text-align: center;
  padding: 14px;
}
.sidebar-phone a {
  color: #1a3a6c;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}
.sidebar-phone span { display: block; font-size: 12px; color: #888; margin-top: 3px; }
.sidebar-shop-btn {
  display: block;
  background: #1a5fa8;
  color: #fff !important;
  text-align: center;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  margin-top: 8px;
  transition: background 0.2s;
}
.sidebar-shop-btn:hover { background: #1a3a6c !important; }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .compare-layout { flex-direction: column; }
  .compare-sidebar { width: 100%; flex: 0 0 auto; order: -1; }
  .compare-hero h1 { font-size: 22px; }
  .compare-table-wrap { overflow-x: auto; }
  .compare-section { padding: 20px 16px; }
  .compare-cta { padding: 24px 16px; }
}
@media (max-width: 540px) {
  .compare-hero { padding: 24px 12px 20px; }
  .compare-hero h1 { font-size: 18px; }
  .compare-table thead th, .compare-table tbody td { padding: 9px 10px; font-size: 13px; }
}
