.ztbl-compare-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(198, 160, 68, 0.16),
      transparent 32%
    ),
    linear-gradient(180deg, #f7f3ea 0%, #ffffff 40%, #f3f7f2 100%);
  padding: 20px 0 70px;
}

.ztbl-compare-page * {
  box-sizing: border-box;
}

.ztbl-compare-shell {
  position: relative;
  z-index: 1;
}

.ztbl-compare-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: 34px;
  border: 1px solid rgba(16, 77, 44, 0.1);
  border-radius: 28px;
  background: linear-gradient(135deg, #0b5b34 0%, #0f7b47 54%, #d6b054 160%);
  box-shadow: 0 24px 70px rgba(9, 42, 24, 0.18);
  color: #fff;
}

.ztbl-compare-hero:before,
.ztbl-compare-hero:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.ztbl-compare-hero:before {
  top: -90px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
}

.ztbl-compare-hero:after {
  bottom: -80px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: rgba(214, 176, 84, 0.18);
}

.ztbl-compare-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ztbl-compare-kicker:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd67b;
  box-shadow: 0 0 0 6px rgba(255, 214, 123, 0.18);
}

.ztbl-compare-hero h1 {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.08;
  color: #fff;
  font-weight: 800;
}

.ztbl-compare-hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.8;
}

.ztbl-compare-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
}

.ztbl-stat-card {
  padding: 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.ztbl-stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.ztbl-stat-card span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.ztbl-compare-toolbar {
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid #e0e7de;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(15, 35, 20, 0.08);
}

.ztbl-compare-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.ztbl-compare-toolbar h2 {
  margin: 0;
  font-size: 26px;
  color: #16341d;
  font-weight: 800;
}

.ztbl-compare-toolbar p {
  margin: 6px 0 0;
  color: #607066;
  font-size: 14px;
}

.ztbl-compare-reset {
  border: 0;
  border-radius: 999px;
  background: #f3efe3;
  color: #785715;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s ease;
}

.ztbl-compare-reset:hover {
  background: #ead8aa;
  color: #513800;
}

.ztbl-account-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ztbl-product-type-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  padding: 6px;
  margin: 0 auto 18px;
  border: 1px solid #dce7dd;
  border-radius: 999px;
  background: #f9fbf8;
}

.ztbl-product-type-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #294532;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.ztbl-product-type-tab:hover,
.ztbl-product-type-tab.is-active {
  background: #1f9e71;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 111, 64, 0.18);
}

.ztbl-category-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.ztbl-category-chip {
  padding: 14px 18px;
  border: 1px solid #dce7dd;
  border-radius: 18px;
  background: #f9fbf8;
  color: #294532;
  text-align: left;
  transition: 0.25s ease;
}

.ztbl-category-chip strong,
.ztbl-category-chip span {
  display: block;
}

.ztbl-category-chip strong {
  font-size: 15px;
  font-weight: 800;
}

.ztbl-category-chip span {
  margin-top: 4px;
  font-size: 12px;
  color: #68776e;
}

.ztbl-category-chip:hover,
.ztbl-category-chip.is-active {
  border-color: #1f9e71;
  background: #1f9e71;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 111, 64, 0.2);
}

.ztbl-category-chip:hover span,
.ztbl-category-chip.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.ztbl-account-chip {
  border: 1px solid #d8e5d8;
  background: #fff;
  color: #244230;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s ease;
}

.ztbl-account-chip:hover,
.ztbl-account-chip.is-active {
  border-color: #1f9e71;
  background: #1f9e71;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 111, 64, 0.22);
}

.ztbl-account-chip.is-filtered-out {
  display: none;
}

.ztbl-category-chip.is-filtered-out {
  display: none;
}

.ztbl-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.ztbl-account-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid #e2e9e3;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
  box-shadow: 0 22px 50px rgba(12, 31, 17, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.ztbl-account-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(12, 31, 17, 0.12);
  border-color: rgba(15, 111, 64, 0.22);
}

.ztbl-account-card.is-hidden {
  display: none;
}

.ztbl-account-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef6ef;
  color: #1f9e71;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ztbl-account-meta {
  margin: 0 0 14px;
  color: #6d7a72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ztbl-account-label:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6b054;
}

.ztbl-account-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.18;
  color: #193122;
  font-weight: 800;
}

.ztbl-account-rate {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8f1df 0%, #f6f9f1 100%);
}

.ztbl-account-rate span,
.ztbl-account-rate strong {
  display: block;
}

.ztbl-account-rate span {
  color: #88620d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ztbl-account-rate strong {
  color: #1d331e;
  font-size: 18px;
  line-height: 1.4;
}

.ztbl-account-summary {
  margin: 0 0 18px;
  color: #536157;
  font-size: 14px;
  line-height: 1.8;
}

.ztbl-account-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ztbl-account-points li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: #304638;
  font-size: 14px;
  line-height: 1.65;
}

.ztbl-account-points li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #edf7ef;
  color: #1f9e71;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.ztbl-account-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.ztbl-account-button,
.ztbl-account-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s ease;
}

.ztbl-account-button {
  width: 100%;
  background: #1f9e71;
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 111, 64, 0.2);
}

.ztbl-account-button:hover {
  background: #0a5b32;
  color: #fff;
  text-decoration: none;
}

.ztbl-account-ghost {
  border: 1px solid #dbe5dc;
  background: #fff;
  color: #385444;
  width: 100%;
}

.ztbl-account-ghost:hover {
  border-color: #1f9e71;
  color: #1f9e71;
}

.ztbl-compare-table-wrap {
  padding: 22px;
  border: 1px solid #e0e7de;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 35, 20, 0.08);
  overflow-x: auto;
}

.ztbl-compare-table-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ztbl-compare-table-head h2 {
  margin: 0;
  font-size: 24px;
  color: #16341d;
  font-weight: 800;
}

.ztbl-compare-table-head p {
  margin: 6px 0 0;
  color: #607066;
  font-size: 14px;
}

.ztbl-compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
}

.ztbl-compare-table th,
.ztbl-compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #ecf0eb;
  vertical-align: top;
}

.ztbl-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fcfdfb;
  color: #16341d;
  font-size: 14px;
  font-weight: 800;
}

.ztbl-compare-table thead th:first-child {
  min-width: 220px;
  border-top-left-radius: 18px;
}

.ztbl-compare-table thead th:last-child {
  border-top-right-radius: 18px;
}

.ztbl-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.ztbl-compare-table tbody td:first-child {
  color: #425647;
  font-weight: 700;
  background: #fcfdfb;
}

.ztbl-compare-table tbody td:not(:first-child) {
  color: #2f4333;
  font-size: 14px;
  line-height: 1.75;
}

.ztbl-feature-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 8px 0;
  padding: 7px 12px;
  border-radius: 15px;
  background: #eef5ef;
  color: #2c4a35;
  font-size: 12px;
  font-weight: 700;
}

.ztbl-table-list {
  margin: 0;
  padding-left: 18px;
}

.ztbl-table-list li {
  margin-bottom: 6px;
}

.ztbl-compare-empty {
  display: none;
  padding: 18px;
  margin-top: 14px;
  border-radius: 18px;
  background: #f8f3e5;
  color: #6a4a03;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .ztbl-compare-hero {
    grid-template-columns: 1fr;
  }

  .ztbl-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ztbl-compare-page {
    padding: 24px 0 50px;
  }

  .ztbl-compare-hero,
  .ztbl-compare-toolbar,
  .ztbl-compare-table-wrap {
    padding: 20px;
    border-radius: 22px;
  }

  .ztbl-compare-hero h1 {
    font-size: 32px;
  }

  .ztbl-compare-stats,
  .ztbl-compare-grid {
    grid-template-columns: 1fr;
  }

  .ztbl-compare-toolbar-top,
  .ztbl-compare-table-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ztbl-account-actions {
    flex-direction: column;
  }
}
