html {
  font-size: 16px;
}

.x-table-payments {
  --table-title-color: #e53e3e;
  --table-tr-border-color: #e8e8e8;
  --table-header-bg-color: #202a33;
  --table-header-text-color: #fff;
  --table-even-element-bg-color: #f6fafe;
  --table-th-padding: 20px;
  --table-td-padding: 20px;
  --table-td-text-color: #222;
  --table-img-size: 68px;
  --table-link-color: #48bb78;
}

.section-container {
  width: 100%;
  margin: 0 auto;
}

.x-table-payments {
  display: block;
  margin-top: 48px;
}

.x-table-payments h2 {
  font-weight: bold;
  color: var(--table-title-color);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.x-table-payments h2 + p {
  margin-bottom: 20px;
}

.x-table-payments .comparison-table__img-container {
  width: 80px;
  padding: 0px 10px;
  height: 60px;
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.x-table-payments .comparison-table__bonus-cell {
  min-width: 250px;
}

.x-table-payments th {
  padding: var(--table-th-padding);
  height: 100%;
}

.x-table-payments td {
  padding: var(--table-td-padding);
  height: 100%;
  font-size: 16px;
  line-height: 28px;
  font-weight: normal;
  white-space: normal;
  word-wrap: break-word;
  color: var(--table-td-text-color);
  min-width: 150px;
}

.x-table-payments__table td:first-child {
  min-width: 250px;
}

.x-table-payments td:first-child .img-container {
  display: flex;
  gap: 0 16px;
  align-items: center;
}

.x-table-payments td:first-child .img-container div {
  flex: 0 0 auto;
}

.x-table-payments td:first-child img {
  width: var(--table-img-size);
}

.x-table-payments td:first-child a {
  font-size: 16px;
  font-weight: bold;
  color: var(--table-link-color);
  transition-duration: 200ms;
}

.x-table-payments td:first-child a:hover {
  text-decoration: underline;
}

.x-table-payments tr {
  border-bottom: 1px solid var(--table-tr-border-color);
}

.x-table-payments tr .w-260 {
  max-width: 260px;
}

.x-table-payments tr .w-355 {
  max-width: 355px;
}

.x-table-payments tr:first-child {
  background-color: var(--table-header-bg-color);
  color: var(--table-header-text-color);
}

.x-table-payments tr:nth-child(even) {
  background-color: var(--table-even-element-bg-color);
}

.x-table-payments table {
  width: 100%;
  height: 100%;
  display: table;
  white-space: nowrap;
}

.x-table-payments .x-table-payments__table-wrapper {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 37, 46, 0.08) rgba(242, 240, 241, 0.5);
}

.x-table-payments .x-table-payments__table-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 4px;
}

.x-table-payments .x-table-payments__table-wrapper::-webkit-scrollbar-thumb {
  border-radius: 8px;
  padding: 5px;
  background-color: transparent;
}

.x-table-payments .x-table-payments__table-wrapper::-webkit-scrollbar-track {
  padding: 5px;
  background-color: transparent;
}

.x-table-payments .x-table-payments__table-wrapper::-webkit-scrollbar-button {
  color: transparent;
  background-color: transparent;
}

.x-table-payments .x-table-payments__table-wrapper::-webkit-scrollbar-corner {
  color: transparent;
  background-color: transparent;
}

.x-table-payments .x-table__two-columns-wrapper {
  display: flex;
  flex-direction: column;
  border: 1px solid #e9e8e8;
  border-radius: 8px;
  margin-top: 10px;
}

.x-table-payments .x-table__two-columns-column {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e9e8e8;
}

.x-table-payments .x-table__two-columns-title {
  width: 50%;
  padding: 24px 14px;
  flex: 0 0 auto;
  font-weight: bold;
  font-size: 16px;
  line-height: 22.4px;
  color: #202a32;
}

.x-table-payments .x-table__two-columns-partner {
  width: 50%;
  padding: 24px 14px;
  flex: 0 0 auto;
}

.x-table-payments .x-table__two-columns-partner a {
  font-weight: bold;
  font-size: 16px;
  line-height: 28px;
  color: #2ecc71;
}

.x-table-payments .expand {
  min-width: 250px;
}

@media screen and (min-width: 768px) {
  .section-container {
    max-width: 750px;
  }

  .x-table-payments {
    margin-top: 64px;
  }

  .x-table-payments .x-table__two-columns-wrapper {
    margin-top: 40px;
  }

  .x-table-payments .x-table__two-columns-title {
    padding: 24px 32px;
  }

  .x-table-payments .x-table__two-columns-partner {
    padding: 24px 32px;
  }
}

@media screen and (min-width: 992px) {
  .section-container {
    max-width: 970px;
  }
}

@media screen and (min-width: 1024px) {
  .x-table-payments table {
    white-space: normal;
    overflow-x: hidden;
  }
}

@media screen and (min-width: 1200px) {
  .section-container {
    max-width: 1200px;
  }
}

@media screen and (min-width: 1280px) {
  .x-table-payments {
    margin-top: 80px;
  }
}
