table.kupit {
font-family: "Tilda Sans", sans-serif;
width: 100%;
height: 100%px;
text-align: left;
border-collapse: collapse;
}
table.kupit td, table.kupit th {
border: none;
padding: 15px;
}
table.kupit tbody td {
font-size: 13px;
}
table.kupit tr:nth-child(even) {
background: #E4E6F4;
}
table.kupit thead {
border-bottom: 2px solid #000000;
}
table.kupit thead th {
font-size: 27px;
font-weight: bold;
color: #000000;
text-align: left;
}
table.kupit tfoot td {
font-size: 14px;
}
table.kupit tfoot .links {
text-align: right;
}
table.kupit tfoot .links a{
display: inline-block;
background: #000000;
color: #FFFFFF;
padding: 2px 8px;
border-radius: 5px;
}

/* Медиазапросы для изменения размера шрифта */
@media screen and (max-width: 1200px) {
  table.main tbody td {
    font-size: 16px;
  }
  table.main thead th {
    font-size: 28px;
  }
  table.main tfoot td {
    font-size: 15px;
  }
}

@media screen and (max-width: 992px) {
  table.main tbody td {
    font-size: 14px;
  }
  table.main thead th {
    font-size: 26px;
  }
  table.main tfoot td {
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  table.main tbody td {
    font-size: 15px;
  }
  table.main thead th {
    font-size: 24px;
  }
  table.main tfoot td {
    font-size: 14px;
  }
}



table.offer {
font-family: "Tilda Sans", sans-serif;
width: 100%;
height: 70px;
text-align: left;
border-collapse: collapse;
}
table.offer td, table.offer th {
border: none;
padding: 15px;
}
table.offer tbody td {
font-size: 18px;
}
table.offer tr:nth-child(even) {
background: #E4E6F4;
}
table.offer thead {
border-bottom: 2px solid #000000;
}
table.offer thead th {
font-size: 20px;
font-weight: normal;
color: #000000;
text-align: left;
}
table.offer tfoot td {
font-size: 14px;
}
table.offer tfoot .links {
text-align: right;
}
table.offer tfoot .links a{
display: inline-block;
background: #000000;
color: #FFFFFF;
padding: 2px 8px;
border-radius: 5px;
}
/* Адаптивность таблицы для мобильных устройств */
@media screen and (max-width: 1000px) {
  /* Превращаем таблицу в блочное представление */
  table.offer, table.offer thead, table.offer tbody, table.offer th, table.offer td, table.offer tr {
    display: block;
  }

  /* Позиционирование и стили для ячеек */
  table.offer tr {
    margin: 0 0 0.1rem 0; /* Уменьшаем вертикальный отступ между строками */
  }

  table.offer td {
    border-bottom: 1px solid #ccc;
    position: relative;
    padding-top: 1em; /* Увеличиваем верхний отступ ячеек для большего расстояния между заголовком и ячейкой */
    padding-bottom: 0.2em; /* Уменьшаем нижний отступ ячеек для меньшего расстояния между строками */
    padding-left: 10px; /* Сдвигаем текст в ячейках на 15px вправо */
  }

  /* Показываем заголовки в ячейках */
  table.offer th {
    display: none;
  }

  table.offer td:before {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5em;
    white-space: nowrap;
    content: attr(data-title);
    font-weight: bold;
  }
}