:root {
  --pc20-text: #112844;
  --pc20-muted: #6f8198;
  --pc20-line: #d9e4ef;
  --pc20-blue: #2468f2;
  --pc20-violet: #6a58ef;
  --pc20-cyan: #1399b0;
  --pc20-green: #17a676;
  --pc20-shadow: 0 18px 44px rgba(17, 43, 80, 0.06);
}

.product-compare-v20 {
  display: block !important;
  padding: 66px 0 72px;
  background:
    radial-gradient(circle at 4% 18%, rgba(43, 119, 255, 0.055), transparent 28%),
    radial-gradient(circle at 96% 78%, rgba(18, 169, 147, 0.045), transparent 24%),
    #f4f7fb;
  color: var(--pc20-text);
  border-top: 1px solid #e4ebf3;
}

.product-compare-v20 .section-shell { max-width: 1240px; }

.product-compare-head-v20 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 36px;
  margin-bottom: 24px;
}

.product-compare-head-v20 h2 {
  margin: 8px 0 0;
  color: var(--pc20-text);
  font-size: clamp(2.05rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.product-compare-head-v20 p {
  margin: 0;
  color: var(--pc20-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.compare-table-scroll-v20 {
  width: 100%;
  overflow-x: auto;
  padding: 1px 1px 10px;
  scrollbar-width: thin;
  scrollbar-color: #aab9cd transparent;
}

.compare-table-shell-v20 {
  min-width: 860px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pc20-line);
  border-radius: 26px;
  box-shadow: var(--pc20-shadow);
}

.compare-table-v20 {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.compare-table-v20 th,
.compare-table-v20 td {
  border-right: 1px solid var(--pc20-line);
  border-bottom: 1px solid var(--pc20-line);
}

.compare-table-v20 tr > *:last-child { border-right: 0; }
.compare-table-v20 tbody tr:last-child > * { border-bottom: 0; }

.compare-table-v20 thead th {
  height: 104px;
  padding: 0;
  background: #fbfcfe;
  text-align: left;
  vertical-align: middle;
}

.compare-table-v20 thead th:first-child {
  width: 148px;
  background: linear-gradient(180deg, #12345f, #173f73);
}

.compare-table-v20 thead a {
  position: relative;
  height: 104px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  color: var(--pc20-text) !important;
}

.compare-table-v20 thead a b {
  color: var(--pc20-text) !important;
  font-size: 1rem;
  line-height: 1.35;
}

.compare-icon-v20 {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
}

.compare-icon-v20.blue { color: var(--pc20-blue) !important; background: #edf4ff; }
.compare-icon-v20.violet { color: var(--pc20-violet) !important; background: #f1efff; }
.compare-icon-v20.cyan { color: var(--pc20-cyan) !important; background: #eaf8fa; }
.compare-icon-v20.green { color: var(--pc20-green) !important; background: #eaf8f3; }

.compare-table-v20 thead i {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pc20-green);
  color: #fff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.compare-table-v20 tbody th,
.compare-table-v20 tbody td {
  height: 86px;
  padding: 18px 20px;
  vertical-align: middle;
}

.compare-table-v20 tbody th {
  width: 148px;
  background: #f9fbfd;
  color: var(--pc20-text);
  text-align: left;
  font-size: 0.95rem;
  font-weight: 750;
}

.compare-table-v20 tbody td {
  color: var(--pc20-text);
  font-size: 0.94rem;
  font-weight: 620;
  line-height: 1.5;
  background: #fff;
}

.compare-table-v20 .mobile-col-v20 {
  background: linear-gradient(180deg, rgba(240, 251, 247, 0.9), rgba(247, 252, 250, 0.9));
}

.compare-table-v20 thead th:hover:not(:first-child) {
  background: #f7faff;
}

.compare-footer-v20 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 17px 22px;
  background: #fff;
  border: 1px solid var(--pc20-line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(17, 43, 80, 0.045);
}

.compare-footer-v20 span { color: var(--pc20-muted) !important; }
.compare-footer-v20 b { color: var(--pc20-text) !important; margin-right: 6px; }
.compare-footer-v20 a {
  color: var(--pc20-blue) !important;
  font-weight: 700;
  white-space: nowrap;
}
.compare-footer-v20 a i { font-style: normal; }

/* ensure only the latest comparison is visible */
.product-compare-v18,
.product-compare-v19,
.comparison-section,
.comparison-compact-v15 { display: none !important; }

@media (max-width: 900px) {
  .product-compare-v20 { padding: 52px 0 56px; }
  .product-compare-head-v20 { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 680px) {
  .compare-footer-v20 { align-items: flex-start; flex-direction: column; }
}
.compare-empty-v20 { text-align: center !important; }
.compare-empty-v20 img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin: 0 auto;
  opacity: .9;
  filter: drop-shadow(0 6px 16px rgba(36,104,242,.25));
}
