.books-page__filters {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-bottom: 20px;
  margin-left: auto;
  padding: 2.8em;
  background: var(--input-fields, #f4f3f8);
}

.books-page__filters .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.books-page__filters .form-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.books-page__filters label {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}

.books-page__filters select {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.books-page__results {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  overflow-x: auto;
}

.books-page__results .model-tbl-price {
  min-width: 680px;
  border-collapse: collapse;
}

.books-page__results .model-tbl-price td:first-child {
  width: 28%;
}

.books-page__results .model-tbl-price td:nth-child(2) {
  width: 36%;
}

.books-page__results .model-tbl-price td:nth-child(n + 3) {
  padding-right: 4px;
  padding-left: 4px;
  text-align: center;
}

.books-page__results .model-tbl-price td {
  padding: 12px 8px;
  border-bottom: 1px solid #c8c8bd;
  vertical-align: middle;
}

.books-page__results .headrow td {
  border-bottom-color: var(--primary, #000);
  color: var(--primary, #000);
  font-weight: 700;
}

.books-page__results .price-name {
  font-weight: 600;
}

.books-page__results a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.books-page__results a:hover {
  color: var(--primary, #000);
  text-decoration: underline;
}

.books-page__results a:focus-visible {
  outline: 2px solid var(--primary, #000);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .books-page__filters {
    padding: 20px;
  }

  .books-page__results {
    overflow: visible;
  }

  .books-page__results .model-tbl-price {
    display: block;
    min-width: 0;
  }

  .books-page__results .model-tbl-price tbody {
    display: grid;
    gap: 12px;
  }

  .books-page__results .model-tbl-price .headrow {
    display: none;
  }

  .books-page__results .model-tbl-price tr:not(.headrow) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    border: 1px solid #c8c8bd;
  }

  .books-page__results .model-tbl-price td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .books-page__results .model-tbl-price td:first-child,
  .books-page__results .model-tbl-price td:nth-child(2) {
    width: 100%;
  }

  .books-page__results .model-tbl-price td:nth-child(n + 3) {
    display: none;
    text-align: left;
  }

  .books-page__results .model-tbl-price td:nth-child(n + 3):has(a) {
    display: block;
  }
}
