@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

.tac-comparison-table-wrapper {
  --F: #162721;
  --L: #9FB840;
  --C: #FDFBD4;
  --G: #FFC000;
  --W: #FFFFFF;
  --WM: #F7F7F4;
  --f8: rgba(22, 39, 33, .80);
  --f5: rgba(22, 39, 33, .50);
  --f2: rgba(22, 39, 33, .12);
  --f0: rgba(22, 39, 33, .05);
  --LP: #EEF4D0;
  --fd: 'DM Serif Display', Georgia, serif;
  --fb: 'DM Sans', sans-serif;

  font-family: var(--fb);
  color: var(--F);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.tac-comparison-table-wrapper *,
.tac-comparison-table-wrapper *::before,
.tac-comparison-table-wrapper *::after {
  box-sizing: border-box;
}

/* SCROLL HINT */
.tac-comparison-table-wrapper .scroll-hint {
  display: none;
  font-size: 11px;
  color: var(--f5);
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media(max-width:767px) {
  .tac-comparison-table-wrapper .scroll-hint {
    display: flex;
  }
}

/* TABLE WRAP */
.tac-comparison-table-wrapper .tbl-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tac-comparison-table-wrapper .tbl-wrap::-webkit-scrollbar {
  display: none;
}

/* TABLE */
.tac-comparison-table-wrapper .cmp {
  width: 100%;
  min-width: 800px;
  border-collapse: separate;
  border-spacing: 0;
}

/* COLUMN WIDTHS */
.tac-comparison-table-wrapper .cmp col.c-row {
  width: 18%;
}

.tac-comparison-table-wrapper .cmp col.c-tac {
  width: 22%;
}

.tac-comparison-table-wrapper .cmp col.c-evao {
  width: 20%;
}

.tac-comparison-table-wrapper .cmp col.c-veg {
  width: 20%;
}

.tac-comparison-table-wrapper .cmp col.c-why {
  width: 20%;
}

/* HEADER ROW */
.tac-comparison-table-wrapper .cmp thead th {
  padding: 12px 8px 16px;
  vertical-align: bottom;
  border-bottom: 1.5px solid var(--f2);
  text-align: center;
  font-family: var(--fb);
}

.tac-comparison-table-wrapper .cmp thead th:first-child {
  text-align: left;
  border-bottom: 1.5px solid var(--f2);
}

/* TAC HEADER */
.tac-comparison-table-wrapper .th-tac {
  background: var(--F);
  border-radius: 12px 12px 0 0;
  padding: 16px 8px 20px !important;
  position: relative;
  border-bottom: none !important;
}

.tac-comparison-table-wrapper .th-tac-logo {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 400;
  color: var(--C);
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 6px;
  display: block;
}

.tac-comparison-table-wrapper .th-tac-logo span {
  color: var(--L);
}

.tac-comparison-table-wrapper .th-tac-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(253, 251, 212, .6);
  margin-bottom: 12px;
  display: block;
  line-height: 1.3;
}

.tac-comparison-table-wrapper .th-tac-tag {
  display: inline-block;
  background: rgba(159, 184, 64, .18);
  border: 1px solid rgba(159, 184, 64, .3);
  color: var(--L);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  line-height: 1.2;
}

.tac-comparison-table-wrapper .th-comp {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--f5);
  line-height: 1.4;
}

/* WHY IT MATTERS HEADER */
.tac-comparison-table-wrapper .th-why {
  text-align: left !important;
  padding-left: 12px !important;
  border-left: 1px solid var(--f2);
}

.tac-comparison-table-wrapper .th-why-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--L);
  line-height: 1.4;
}

/* BODY */
.tac-comparison-table-wrapper .cmp tbody tr td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--f2);
  vertical-align: middle;
  text-align: center;
  font-size: 13.5px;
  color: var(--f8);
}

.tac-comparison-table-wrapper .cmp tbody tr:last-child td {
  border-bottom: none;
}

/* ROW LABEL */
.tac-comparison-table-wrapper .td-lbl {
  text-align: left !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--F);
  line-height: 1.5;
  padding-right: 6px !important;
}

/* TAC CELLS */
.tac-comparison-table-wrapper .td-tac {
  background: var(--F) !important;
  color: var(--C);
  border-bottom: none !important;
}

.tac-comparison-table-wrapper .cmp tbody tr:last-child .td-tac {
  border-radius: 0 0 12px 12px;
}

.tac-comparison-table-wrapper .tac-chk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.tac-comparison-table-wrapper .tac-chk-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(159, 184, 64, .15);
  border: 1.5px solid rgba(159, 184, 64, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tac-comparison-table-wrapper .tac-chk-circle svg {
  color: var(--L);
}

.tac-comparison-table-wrapper .tac-chk-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--C);
  letter-spacing: .02em;
  line-height: 1.3;
}

.tac-comparison-table-wrapper .tac-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--C);
}

/* COMPETITOR CELLS */
.tac-comparison-table-wrapper .x-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tac-comparison-table-wrapper .x-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(176, 58, 46, .25);
  background: rgba(176, 58, 46, .05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tac-comparison-table-wrapper .x-circle svg {
  color: #B03A2E;
}

.tac-comparison-table-wrapper .x-sub {
  font-size: 11.5px;
  color: var(--f5);
  font-weight: 300;
}

.tac-comparison-table-wrapper .dash {
  font-size: 20px;
  color: var(--f2);
  font-weight: 300;
}

.tac-comparison-table-wrapper .varies {
  font-size: 12.5px;
  font-style: italic;
  color: var(--f5);
}

.tac-comparison-table-wrapper .comp-val {
  font-size: 13px;
  color: var(--f8);
  font-weight: 400;
}

.tac-comparison-table-wrapper .comp-note {
  font-size: 11.5px;
  color: var(--f5);
  font-weight: 300;
  margin-top: 3px;
  display: block;
}

/* WHY IT MATTERS CELLS */
.tac-comparison-table-wrapper .td-why {
  text-align: left !important;
  padding-left: 12px !important;
  border-left: 1px solid var(--f2) !important;
  font-size: 13px;
  color: var(--f5);
  font-weight: 300;
  line-height: 1.6;
}

/* RESPONSIVE TYPOGRAPHY */
@media(max-width: 767px) {
  .tac-comparison-table-wrapper {
    line-height: 1.4;
  }

  .tac-comparison-table-wrapper .cmp tbody tr td {
    font-size: 12px;
    padding: 8px 12px;
  }

  .tac-comparison-table-wrapper .comp-val,
  .tac-comparison-table-wrapper .x-sub {
    font-size: 12px;
  }

  .tac-comparison-table-wrapper .tac-chk-lbl {
    font-size: 11px;
  }

  .tac-comparison-table-wrapper .td-lbl {
    font-size: 10px;
  }

  .tac-comparison-table-wrapper .td-why {
    font-size: 12px;
    line-height: 1.5;
  }

  .tac-comparison-table-wrapper .th-tac-logo {
    font-size: 18px;
    line-height: 1.1;
  }

  .tac-comparison-table-wrapper .th-tac-name {
    font-size: 9px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .tac-comparison-table-wrapper .th-tac-tag {
    font-size: 8px;
    padding: 3px 8px;
  }

  /* STICKY FIRST COLUMN ON MOBILE */
  .tac-comparison-table-wrapper .cmp th:first-child,
  .tac-comparison-table-wrapper .cmp td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: var(--WM);
  }

  /* Ensure header row sticky cell overlaps body cells */
  .tac-comparison-table-wrapper .cmp thead th:first-child {
    z-index: 11;
  }
}