/* ================================================================
   PRICE.CSS — Страница цен
   ================================================================ */

/* Поиск */
.prices-search-input,
#searchInput {
  display: block;
  width: 100%;
  max-width: 480px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  outline: none;
  margin-bottom: 24px;
  transition: border-color 0.2s;
}
.prices-search-input:focus,
#searchInput:focus {
  border-color: var(--clr-primary);
}

/* Обёртка таблицы с горизонтальным скроллом */
.prices-table {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--clr-primary-22);
}

/* Таблица */
.prices-table-inner,
.prices-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px; /* горизонтальный скролл на маленьких экранах */
}

.prices-table th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--clr-dark);
  background: var(--clr-primary-10);
  border-bottom: 2px solid var(--clr-primary-22);
  white-space: normal;
}

.prices-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eef2f7;
  color: var(--clr-text);
  vertical-align: top;
}

.prices-table tbody tr:nth-child(even) td {
  background: #fafcff;
}
.prices-table tbody tr:hover td {
  background: var(--clr-primary-10);
}

/* Примечание */
.prices-note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--clr-muted);
}
.prices-note p { font-size: 14px; }

@media (max-width: 767px) {
  .prices-search-input,
  #searchInput { max-width: 100%; }
}
