.zj-table-body {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  border-radius: 20px;
  padding: 3rem;
}
.zj-table-row {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 20px 24px 20px 48px;
  position: relative;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  flex: 0 0 calc(33.333% - 2rem);
  max-width: calc(33.333% - 2rem);
}

.zj-table-row--highlighted {
  border-color: var(--color-highlight-border);
  border-width: 2px;
}

.zj-table-row__badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-yellow);
  color: #002a1e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-bottom-right-radius: 20px;
  text-transform: capitalize;
}

.zj-table-row__name {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.zj-table-row__offer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.zj-table-row__offer-label {
  font-weight: 400;
  font-size: 14px;
}

.zj-table-row__offer-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.56px;
  font-family: "Sora", sans-serif;
}

.zj-table-row__rating {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  align-items: center;
}

.zj-table-row__stars {
  display: flex;
  gap: 2px;
}

.zj-star {
  fill: var(--color-text-dim);
}

.zj-star--filled {
  fill: var(--color-yellow);
}

.zj-table-row__votes {
  font-size: 10px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: -0.2px;
}

.zj-table-row__assessment {
  display: flex;
  align-items: center;
  justify-content: center;
}

.zj-table-row__score {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.zj-table-row__action {
  display: flex;
  justify-content: center;
}

.zj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  transition:
    opacity 0.2s,
    transform 0.1s;
  white-space: nowrap;
  min-width: 150px;
  width: 80%;
}

.zj-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.zj-btn--primary {
  background-color: var(--color-yellow);
  color: #002a1e;
}

.zj-btn--secondary {
  background-color: var(--color-green);
  color: #002a1e;
}

@media (max-width: 1200px) {
  .zj-table-body {
    gap: 1rem;
  }

  .zj-table-row {
    flex: 0 0 calc(33.333% - 0.667rem);
    max-width: calc(33.333% - 0.667rem);
  }
}

@media (max-width: 900px) {
  .zj-table-row {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    padding: 24px 20px;
    text-align: center;
  }

  .zj-table-row__name {
    justify-content: center;
  }

  .zj-table-row__logo {
    height: 100px;
  }

  .zj-table-row__offer {
    text-align: center;
  }

  .zj-table-row__rating {
    align-items: center;
  }

  .zj-table-row__stars {
    justify-content: center;
  }

  .zj-table-row__assessment {
    justify-content: center;
  }

  .zj-table-row__action {
    justify-content: center;
  }

  .zj-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .zj-table-body {
    gap: 1rem;
    padding: 1rem;
  }

  .zj-table-row {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 16px 14px;
  }

  .zj-table-row__badge {
    font-size: 10px;
    padding: 2px 8px;
  }

  .zj-table-row__offer-label {
    font-size: 12px;
  }

  .zj-table-row__offer-title {
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.4px;
  }

  .zj-table-row__stars svg {
    width: 14px;
    height: 14px;
  }

  .zj-table-row__votes {
    font-size: 9px;
    line-height: 18px;
  }

  .zj-table-row__score {
    font-size: 22px;
  }

  .zj-btn {
    padding: 10px 24px;
    font-size: 13px;
    min-width: 120px;
  }
}
