/* Общий CSS для таблиц ЖБИ «Сарань ЖБИ» */
.saranzhbi-table-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 24px;
  overflow-x: auto;
  border: 1px solid #dce7e9;
  border-radius: 30px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #4b717e #eef4f5;
  scrollbar-width: thin;
}

.saranzhbi-table-wrap:last-child {
  margin-bottom: 0;
}

.saranzhbi-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  color: #2c2c2c;
  font-family: "Google Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.saranzhbi-table th,
.saranzhbi-table td {
  padding: 16px 18px;
  border-right: 1px solid #dce7e9;
  border-bottom: 1px solid #dce7e9;
  text-align: left;
  vertical-align: middle;
}

.saranzhbi-table th:last-child,
.saranzhbi-table td:last-child {
  border-right: 0;
}

.saranzhbi-table tbody tr:last-child td {
  border-bottom: 0;
}

.saranzhbi-table th {
  color: #fff;
  background: #4b717e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.saranzhbi-table tbody tr {
  transition: background-color .2s ease;
}

.saranzhbi-table tbody tr:hover {
  background: #f6fafb;
}

.saranzhbi-table th:first-child,
.saranzhbi-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 280px;
  box-shadow: 8px 0 12px -12px rgba(44, 44, 44, .45);
}

.saranzhbi-table th:first-child {
  z-index: 2;
  background: #4b717e;
}

.saranzhbi-table td:first-child {
  background: #fff;
}

.saranzhbi-table tbody tr:hover td:first-child {
  background: #f6fafb;
}

.saranzhbi-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4b717e;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.saranzhbi-product::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #dce7e9;
  border-radius: 50%;
  font-size: 13px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.saranzhbi-product:hover,
.saranzhbi-product:focus-visible {
  color: #2e5662;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.saranzhbi-product:hover::after,
.saranzhbi-product:focus-visible::after {
  color: #fff;
  background: #4b717e;
  border-color: #4b717e;
  text-decoration: none;
}

.saranzhbi-price {
  display: block;
  margin-top: 5px;
  color: #6d7b80;
  font-size: 13px;
  font-weight: 400;
}

.saranzhbi-dash {
  color: #a8b4b7;
}

.saranzhbi-table a:focus-visible,
.saranzhbi-table-wrap:focus-visible {
  outline: 3px solid rgba(75, 113, 126, .35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .saranzhbi-table th,
  .saranzhbi-table td {
    padding: 13px 14px;
  }

  .saranzhbi-table th:first-child,
  .saranzhbi-table td:first-child {
    min-width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .saranzhbi-table-wrap *,
  .saranzhbi-table-wrap *::before,
  .saranzhbi-table-wrap *::after {
    transition-duration: .01ms !important;
  }
}
