  *, *::before, *::after {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .price-section {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .ledge-top4,
  .ledge-top4 h3 {
    padding: 1rem;
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    text-align: center;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
  }

  .ledge-top4 {
    margin-bottom: 1rem;
    background: #fff;
  }

  /* Основные стили таблицы */
  .tariffTable {
    border-collapse: collapse;
    word-wrap: break-word;
    width: 100%;
    background: #fff;
    font-size: 16px;
  }

  .tariffTable {
  border-left: none;
  border-right: none;
}

.tariffTable th:last-child,
.tariffTable td:last-child {
  border-right: none;
}

.tariffTable th:first-child,
.tariffTable td:first-child {
  border-left: none;
}

  .tariffTable th,
  .tariffTable td {
    border: 1px solid #d6d6d6;
    vertical-align: middle;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .tariffTable th {
    background: #f8f9fa;
    font-weight: 600;
    color: #000;
    font-size: 15px;
    padding: 12px 8px;
    text-align: center;
  }

  .tariffTable td {
    font-size: 16px;
    color: #000;
    padding: 10px 12px;
    text-align: center;
  }

  .tariffTable th:first-child,
  .tariffTable td:first-child {
    text-align: left;
    font-weight: 500;
    background: #fff;
    width: 35%;
  }

  .tariffTable caption {
    caption-side: top;
    text-align: center;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.2;
    padding: 0.5rem 0;
  }

  .tariffTable tbody tr:first-child th:not(:first-child),
  .tariffTable tbody tr:first-child td:not(:first-child) {
    font-weight: 700;
  }

  /* Стили для обычных таблиц */
  .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
  }

  .table th,
  .table td {
    text-align: center;
    padding: 8px 6px;
    border: 1px solid #dee2e6;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .table thead th {
    background: #fff;
    font-weight: 600;
  }



  /* Сноски */
  .snoska,
  .snoska h3,
  .tariffMargin {
    max-width: 100%;
    word-wrap: break-word;
    padding: 8px 0;
    margin: 1rem 0;
    text-align: left;
    font-size: 14px;
    color: #333;
  }

  /* Звездочки для сносок */
  .tariff1 tr:nth-child(8) th::after,
  .tariff1 tr:nth-child(9) th::after,
  .tariff1 tr:nth-child(10) th::after,
  .tariff1 tr:nth-child(12) th::after {
    content: "*";
    color: #dc3545;
    font-weight: bold;
  }

  .tariff1::after {
    display: block;
    margin: 1rem 0;
    padding: 0.75rem;
    width: 100%;
    text-align: left;
    content: "* доступ к сервису зависит от приложения";
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 13px;
    border-radius: 4px;
  }

  /* Контейнер для скролла */
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    border-radius: 8px;
  }

  @media screen and (max-width: 768px) {
    .price-section {
      padding: 0 0.8rem;
    }

    .ledge-top4,
    .ledge-top4 h3 {
      font-size: 16px;
      padding: 0.8rem;
    }

    .tariffTable {
      font-size: 14px;
    }

    .tariffTable th {
      padding: 8px 4px;
      font-size: 13px;
    }

    .tariffTable td {
      padding: 8px 4px;
      font-size: 14px;
    }

    .table {
      font-size: 14px;
    }

    .table th {
      font-size: 13px;
    }

    .table th,
    .table td {
      padding: 6px 4px;
    }
  
  }

  @media screen and (max-width: 480px) {
    
    html, body {
      overflow-x: hidden;
    }

    .price-section {
      padding: 0 0.5rem;
    }

    .ledge-top4,
    .ledge-top4 h3 {
      font-size: 16px;
      padding: 0.8rem;
    }

    /* Таблица тарифов мобильных */
    .tariffTable {
      width: 100%;
      table-layout: fixed;
      font-size: 12px;
    }

    .tariffTable th {
      padding: 6px 3px;
      font-size: 11px;
      line-height: 1.3;
    }

    .tariffTable td {
      padding: 6px 3px;
      font-size: 12px;
      line-height: 1.3;
    }

    .tariffTable th:first-child,
    .tariffTable td:first-child {
      width: 40%;
      font-size: 11px;
    }

    /* Обычные таблицы мобильных */
    .table {
      width: 100%;
      table-layout: fixed;
      font-size: 12px;
    }

    .table thead th {
      font-size: 11px;
      line-height: 1.3;
    }

    .table th,
    .table td {
      padding: 6px 4px;
      font-size: 12px;
      line-height: 1.3;
    }

    /* Сноски на мобильных */
    .tariff1::after {
      margin: 0.8rem 0;
      padding: 0.6rem;
      font-size: 12px;
    }

    .snoska,
    .tariffMargin {
      padding: 0.6rem 0;
      margin: 0.8rem 0;
      font-size: 13px;
    }

    .snoska h3 {
      font-size: 14px;
      margin: 0.4rem 0;
    }
  }

  @media screen and (max-width: 360px) {
    .price-section {
      padding: 0 0.3rem;
    }

    .ledge-top4,
    .ledge-top4 h3 {
      font-size: 15px;
      padding: 0.6rem;
    }

    .tariffTable {
      font-size: 11px;
    }

    .tariffTable th {
      padding: 5px 2px;
      font-size: 10px;
    }

    .tariffTable td {
      padding: 5px 2px;
      font-size: 11px;
    }

    .tariffTable th:first-child,
    .tariffTable td:first-child {
      width: 45%;
      font-size: 10px;
    }

    .table {
      font-size: 11px;
    }

    .table th,
    .table td {
      padding: 5px 3px;
      font-size: 11px;
    }
  }

  /* iPhone специфичные стили */
  @media screen and (max-width: 414px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }
  }