.comparison-simple {
  --row-height: 110px;
  --row-border-radius: 10px;
  --center-column-border-radius: 22px;
  --bottom-column-overflow: 40px;
  overflow: auto;

  @media all and (max-width: 900px) {
    --row-height: 90px;
    font-size: 14px;
  }
  @media all and (max-width: 600px) {
    --row-height: 85px;
    --center-column-border-radius: 13px;
    font-size: 12px;
  }
}

.comparison-simple__title {
  font-size: var(--size-h2);
  margin: 0 0 60px;
  text-align: center;

  @media all and (max-width: 900px) {
    margin: 0 0 40px;
  }
}

.comparison-simple__inner {
  overflow: auto;
  width: 100%;
}

.comparison-simple__table {
  width: 915px;
  max-width: calc(100% - var(--gutters) * 2);
  margin: 0 auto;
  padding-bottom: var(--bottom-column-overflow);
}

.comparison-simple__tr {
  display: grid;
  grid-template-columns: 375px 1fr 1fr;
  min-height: var(--row-height);

  @media (max-width: 900px) {
    grid-template-columns: 300px 1fr 1fr;
  }
  @media (max-width: 550px) {
    grid-template-columns: 3fr 1fr 1fr;
  }
}

.comparison-simple__tr-label-inner {
  padding: 25px 0;

  @media (max-width: 600px) {
    padding: 10px 0;
  }
}

.comparison-simple__td,
.comparison-simple__th {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 0 32px;
  margin: 0;
  text-align: left;
  word-break: keep-all;

  &:nth-child(2) {
    background-color: var(--color-text);
  }

  @media (min-width: 901px) {
    font-size: var(--size-large);
  }

  @media (max-width: 900px) {
    padding: 0 15px;
  }
  @media (max-width: 400px) {
    min-width: 80px;
  }
  @media (max-width: 350px) {
    min-width: 60px;
  }
}

.comparison-simple__td:first-child {
  justify-content: flex-start;

  b,
  strong {
    font-weight: bold;
  }
}

.comparison-simple__tr:nth-child(even) {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color-warm-background);
    border-radius: var(--row-border-radius);
  }
}

.comparison-simple__th {
  justify-content: center;
  font-size: 1.25em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;

  @media (max-width: 400px) {
    font-size: 1em;
  }
}

.comparison-simple__tr:nth-child(1) .comparison-simple__td:nth-child(2),
.comparison-simple__tr:nth-child(1) .comparison-simple__th:nth-child(2) {
  border-radius: var(--center-column-border-radius) var(--center-column-border-radius) 0 0;
}

.comparison-simple__tr:last-child .comparison-simple__td:nth-child(2) {
  height: calc(100% + var(--bottom-column-overflow));
  padding-bottom: var(--bottom-column-overflow);
  border-radius: 0 0 var(--center-column-border-radius) var(--center-column-border-radius);
}

.comparison-simple__tr:first-child {
  @media (max-width: 600px) {
    min-height: 70px;
  }

  @media (max-width: 400px) {
    min-height: 50px;
  }
}

.comparison-simple__logo {
  padding: 0 32px;

  svg {
    width: auto;
    max-width: 100%;
    height: auto;

    path {
      fill: #fff;
    }
  }

  @media (max-width: 900px) {
    padding: 0 25px;
  }

  @media (max-width: 600px) {
    padding: 0 15px;
  }
  @media (max-width: 400px) {
    padding: 0 10px;
  }
}
