/* Price page. Table rows are server-renderable; JS only filters existing markup. */
.price-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 7%;
  background: var(--gradient-panel);
}
.price-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/dental-pattern.svg");
  opacity: 0.25;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.price-hero h1 {
  font-size: clamp(38px, 4.7vw, 68px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -2.5px;
  margin: 24px 0;
}
.price-hero__lead {
  max-width: 510px;
  color: var(--color-muted);
  line-height: 1.85;
  margin-bottom: 28px;
}
.price-hero__card {
  position: relative;
  max-width: 350px;
  width: 100%;
  justify-self: center;
  background: #ffffffd9;
  border: 1px solid white;
  border-radius: 32px;
  padding: 30px 34px;
  box-shadow: 0 18px 65px #578aba16;
  transform: rotate(2deg);
}
.price-hero__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #e7f8ff;
  color: #159fc7;
  margin-bottom: 20px;
}
.price-hero__icon .icon {
  width: 28px;
  height: 28px;
}
.price-hero__card p {
  font-size: 12px;
  color: var(--color-muted);
}
.price-hero__card h2 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.4;
  margin: 8px 0 18px;
}
.price-hero__card strong {
  display: block;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -3px;
  color: #168fcc;
}
.price-hero__card small {
  font-size: 30px;
}
.price-hero__card > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #dcecf5;
  padding-top: 18px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #188fc1;
}
.price-hero__card-note {
  display: block;
  font-size: 10px;
  color: var(--color-muted);
  margin-top: 12px;
}
.price-catalog {
  padding-top: 70px;
  padding-bottom: 65px;
  scroll-margin-top: 110px;
}
.price-catalog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.price-catalog__heading h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -1.3px;
  margin-top: 10px;
}
.price-catalog__heading > p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.7;
}
.price-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.price-sidebar {
  position: sticky;
  top: 110px;
}
.price-nav {
  background: #f1f8fd;
  border: 1px solid #e5f0f8;
  padding: 10px;
  border-radius: 24px;
}
.price-nav__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 16px;
  padding: 16px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #5c748f;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.price-nav__item > span:last-child {
  font-size: 10px;
  opacity: 0.7;
}
.price-nav__item:hover {
  background: #e3f2fa;
}
.price-nav__item.is-active {
  background: var(--gradient-action);
  color: white;
  box-shadow: 0 6px 18px #288bed20;
}
.price-help {
  margin-top: 20px;
  padding: 26px;
  background: linear-gradient(135deg, #e7f9fc, #efedff);
  border-radius: 24px;
}
.price-help > .icon {
  width: 27px;
  height: 27px;
  color: #10a6c5;
}
.price-help h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 14px 0 10px;
}
.price-help p {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.8;
}
.price-help a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
}
.price-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #f6faff;
  border: 1px solid #dfeef6;
  border-radius: 18px;
}
.price-search__icon {
  font-size: 30px;
  line-height: 1;
  color: #309bc0;
}
.price-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  font: inherit;
  font-size: 13px;
  color: var(--color-ink);
}
.price-search:focus-within {
  border-color: #7597f4;
  box-shadow: 0 0 0 3px #799df51a;
}
.price-search button {
  font: inherit;
  font-size: 11px;
  border: 0;
  background: none;
  color: #6a81a1;
  cursor: pointer;
}
.price-results__status {
  font-size: 11px;
  color: #8399ae;
  margin: 14px 4px 25px;
}
.price-group {
  border: 1px solid #e3edf6;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 22px;
  background: white;
}
.price-group__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: linear-gradient(100deg, #eefaff, #f3f4ff);
}
.price-group__number {
  font-size: 11px;
  color: #20a8cd;
  border: 1px solid #cdebf7;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.price-group h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.price-group__count {
  margin-left: auto;
  white-space: nowrap;
  font-size: 10px;
  color: #8395ae;
}
.price-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
.price-table th {
  padding: 14px 24px;
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #90a1b5;
  border-bottom: 1px solid #edf2f7;
}
.price-table th:nth-child(2) {
  text-align: right;
}
.price-table td {
  padding: 19px 24px;
  border-bottom: 1px solid #edf2f7;
}
.price-table tr:last-child td {
  border-bottom: 0;
}
.price-table tbody tr:hover {
  background: #f7fcff;
}
.price-table__code {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: #8c9eb3;
  margin-bottom: 5px;
}
.price-table__name {
  display: block;
  font-size: 15px;
  line-height: 1.7;
}
.price-table__value {
  text-align: right;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  color: #188fbd;
}
.price-table__value--ask {
  font-size: 13px;
  color: #8c79ca;
}
.price-table td:last-child {
  padding-left: 0;
  width: 46px;
}
.price-table th:last-child {
  padding: 0;
}
.price-table__book {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf8ff;
  color: #1aa2cc;
  transition:
    background 0.2s,
    transform 0.2s;
}
.price-table__book:hover {
  background: #e9e5ff;
  transform: translate(2px, -2px);
}
.price-table__book .icon {
  width: 15px;
  height: 15px;
}
.price-note {
  font-size: 11px;
  line-height: 1.9;
  color: #899bb0;
  padding: 5px 4px;
}
.price-empty {
  padding: 50px 25px;
  text-align: center;
  border-radius: 24px;
  background: #f1f8fd;
}
.price-empty h3 {
  font-weight: 400;
  font-size: 25px;
}
.price-empty p {
  font-size: 13px;
  color: var(--color-muted);
  margin: 15px 0 24px;
}
.page-price [hidden] {
  display: none !important;
}
.page-price .service-request {
  margin-bottom: 55px;
}
.page-price #request-service {
  font-size: 12px;
  text-overflow: ellipsis;
}
@media (max-width: 1000px) {
  .price-hero {
    gap: 30px;
    padding: 45px 5%;
  }
  .price-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
  }
  .price-table td,
  .price-table th {
    padding: 16px;
  }
  .price-group__heading {
    padding: 20px 16px;
  }
  .price-group h2 {
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  .price-hero {
    grid-template-columns: 1fr;
    padding: 35px 26px;
    gap: 35px;
  }
  .price-hero h1 {
    letter-spacing: -1.6px;
  }
  .price-hero__lead {
    font-size: 14px;
  }
  .price-hero__card {
    max-width: none;
    transform: none;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 15px;
  }
  .price-hero__icon {
    display: none;
  }
  .price-hero__card p,
  .price-hero__card h2 {
    grid-column: 1;
  }
  .price-hero__card strong {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    font-size: 48px;
  }
  .price-hero__card > a,
  .price-hero__card-note {
    grid-column: 1/-1;
  }
  .price-hero__card h2 {
    font-size: 20px;
    margin-bottom: 0;
  }
  .price-catalog {
    padding-top: 45px;
  }
  .price-catalog__heading > p {
    display: none;
  }
  .price-layout {
    display: block;
  }
  .price-sidebar {
    position: static;
    margin-bottom: 22px;
  }
  .price-nav {
    display: flex;
    overflow-x: auto;
    gap: 7px;
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 3px 0 12px;
  }
  .price-nav__item {
    width: auto;
    flex-shrink: 0;
    background: #eff7fc;
    padding: 12px 16px;
    border-radius: 30px;
    font-size: 12px;
  }
  .price-help {
    display: none;
  }
  .price-group__count {
    display: none;
  }
  .price-group h2 {
    font-size: 17px;
    line-height: 1.5;
  }
  .price-group__heading {
    gap: 10px;
  }
  .price-table th {
    font-size: 10px;
  }
  .price-table td {
    padding: 16px 12px;
  }
  .price-table th {
    padding: 13px 12px;
  }
  .price-table__name {
    font-size: 14px;
  }
  .price-table__value {
    font-size: 16px;
  }
  .price-table__value--ask {
    font-size: 12px;
  }
  .price-table td:last-child {
    width: 32px;
    padding-right: 10px;
  }
  .price-table__book {
    width: 26px;
    height: 26px;
  }
  .price-table__code {
    font-size: 10px;
  }
  .price-search {
    padding: 12px;
  }
  .price-search input {
    font-size: 11px;
  }
  .price-search button {
    font-size: 10px;
  }
  .price-group {
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .price-nav__item,
  .price-table__book {
    transition: none;
  }
}
