.price-table {
  padding: 12px 0 70px;
}

.price-table__heading {
  text-align: center;
  margin-bottom: 40px;
  font-size: 45px;
  font-weight: 700;
}

.price-table__wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 4px 34px rgba(128, 148, 174, 0.42);
}

.price-table__wrap table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--bg-white);
  border-radius: 16px;
}

.price-table__wrap th,
.price-table__wrap td {
  text-align: center;
  color: var(--text-main);
  border: none;
}

.price-table__wrap th {
  padding: 10px 24px;
  background: #f4f5fa;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.price-table__wrap th + th,
.price-table__wrap td + td {
  border-left: 1px solid #e8edf5;
}

.price-table__wrap tbody tr {
  height: 45px;
}

.price-table__wrap td {
  padding: 8px 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  border-top: 1px solid #e8edf5;
}

@media (max-width: 768px) {
  .price-table {
    padding: 24px 0 48px;
  }

  .price-table__heading {
    margin-bottom: 22px;
    font-size: 30px;
  }

  .price-table__wrap {
    border-radius: 14px;
  }

  .price-table__wrap table {
    min-width: 0;
  }

  .price-table__wrap th {
    padding: 9px 14px;
    font-size: 18px;
  }

  .price-table__wrap td {
    padding: 8px 14px;
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  .price-table__wrap th {
    padding: 8px 10px;
  }

  .price-table__wrap td {
    padding: 8px 10px;
  }
}

@media (max-width: 576px) {
  .price-table {
    padding: 18px 0 42px;
  }

  .price-table__heading {
    margin-bottom: 18px;
  }

  .price-table__wrap {
    overflow: visible;
    box-shadow: none;
    border-radius: 12px;
  }

  .price-table__wrap table {
    min-width: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .price-table__wrap thead {
    display: none;
  }

  .price-table__wrap tbody {
    display: grid;
    gap: 12px;
  }

  .price-table__wrap tbody tr {
    display: grid;
    height: auto;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(128, 148, 174, 0.22);
  }

  .price-table__wrap td {
    display: grid;
    grid-template-columns: minmax(112px, 42%) 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px 14px;
    text-align: right;
    font-size: 15px;
    border-top: 1px solid #e8edf5;
    border-left: 0;
  }

  .price-table__wrap td:first-child {
    border-top: 0;
  }

  .price-table__wrap td::before {
    content: attr(data-label);
    text-align: left;
    color: var(--text-main);
    font-size: var(--text-lg);
    font-weight: 800;
    line-height: 1.25;
  }
}
