/* Страница /price — прейскурант */
.price-page {
  --price-teal: #2BB8C9;
  --price-teal-dark: #1B8E9C;
  --price-teal-soft: #E6F6F8;
  --price-orange: #F79765;
  --price-ink: #24323A;
  --price-muted: #7A8A92;
  --price-line: #E3EDEF;
  color: var(--price-ink);
  padding-bottom: 48px;
}

/* Шапка */
.price-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 15px 32px;
  padding: 40px;
  border-radius: 24px;
  background: #2BB8C94D;
  position: relative;
  overflow: hidden;
}
.price-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  pointer-events: none;
}
.price-hero__text { position: relative; z-index: 1; max-width: 640px; }
.price-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--price-teal-dark);
  font-weight: 700;
  font-size: 15px;
}
.price-hero__lead { font-size: 20px; line-height: 1.45; margin: 0 0 24px; }
.price-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.price-hero__stats { position: relative; z-index: 1; display: flex; gap: 16px; flex-shrink: 0; }
.price-stat {
  min-width: 150px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(27, 142, 156, .12);
  text-align: center;
}
.price-stat__num { font-size: 44px; font-weight: 700; line-height: 1; color: var(--price-teal); }
.price-stat__label { margin-top: 6px; font-size: 15px; color: var(--price-muted); }

/* Кнопки */
.price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.price-btn:hover { transform: translateY(-1px); }
.price-btn--orange { background: var(--price-orange); color: #fff !important; box-shadow: 0 8px 20px rgba(247, 151, 101, .35); }
.price-btn--orange:hover { background: #F5844A; }
.price-btn--outline { background: #fff; color: var(--price-teal-dark) !important; border: 2px solid var(--price-teal); }
.price-btn--outline:hover { background: var(--price-teal); color: #fff !important; }

/* Поиск и навигация */
.price-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 15px 24px;
  padding: 14px 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--price-line);
}
.price-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 18px;
  height: 52px;
  border: 2px solid var(--price-line);
  border-radius: 16px;
  background: #F7FBFC;
  color: var(--price-muted);
  font-weight: 400;
  transition: border-color .2s, background-color .2s;
}
.price-search:focus-within { border-color: var(--price-teal); background: #fff; color: var(--price-teal); }
.price-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 17px;
  color: var(--price-ink);
}
.price-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.price-nav::-webkit-scrollbar { display: none; }
.price-nav__item {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--price-teal-soft);
  color: var(--price-teal-dark) !important;
  font-size: 15px;
  text-decoration: none !important;
  transition: background-color .2s, color .2s;
}
.price-nav__item:hover { background: #CDEFF3; }
.price-nav__item.is-active { background: var(--price-teal); color: #fff !important; }
.price-nav__item.is-hidden { display: none; }

/* Разделы */
.price-list { margin: 0 15px; }
.price-section {
  margin-bottom: 24px;
  padding: 32px 32px 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--price-line);
  box-shadow: 0 6px 24px rgba(36, 50, 58, .05);
  scroll-margin-top: 140px;
}
.price-section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.price-section__title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--price-ink); }
.price-section__count {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--price-teal-soft);
  color: var(--price-teal-dark);
  font-size: 14px;
  font-weight: 700;
}
.price-group + .price-group { margin-top: 20px; }
.price-group__title {
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--price-orange);
  font-size: 19px;
  font-weight: 700;
  color: var(--price-ink);
}
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-rows li::before { display: none; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 4px 20px;
  margin: 0;
  padding: 14px 12px;
  border-bottom: 1px solid var(--price-line);
  border-radius: 10px;
  transition: background-color .15s;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: #F4FAFB; }
.price-row__name { font-size: 17px; line-height: 1.4; }
.price-row__code { font-size: 13px; color: var(--price-muted); white-space: nowrap; }
.price-row__price { font-size: 18px; font-weight: 700; color: var(--price-teal-dark); white-space: nowrap; text-align: right; min-width: 110px; }
.price-row mark { padding: 0 2px; border-radius: 4px; background: #FFE2CF; color: inherit; }

.price-empty { padding: 48px 24px; border-radius: 24px; background: #F7FBFC; text-align: center; color: var(--price-muted); }
.price-empty__title { margin-bottom: 8px; font-size: 24px; font-weight: 700; color: var(--price-ink); }

/* Призыв и примечание */
.price-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 15px 24px;
  padding: 32px 40px;
  border-radius: 24px;
  background: linear-gradient(120deg, #FFF1E9 0%, #FDE3D4 100%);
}
.price-cta__title { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.price-cta__text { margin: 0; font-size: 17px; line-height: 1.45; }
.price-note { margin: 0 15px; font-size: 14px; line-height: 1.5; color: var(--price-muted); }
.price-note a { color: var(--price-teal-dark); }

@media (max-width: 991px) {
  .price-hero { flex-direction: column; align-items: flex-start; padding: 32px; }
  .price-hero__stats { width: 100%; }
  .price-stat { flex: 1; min-width: 0; }
}
@media (max-width: 767px) {
  .price-hero { margin: 0 0 20px; padding: 24px 20px; border-radius: 20px; }
  .price-hero__lead { font-size: 17px; }
  .price-hero__actions, .price-btn { width: 100%; }
  .price-stat { padding: 14px; }
  .price-stat__num { font-size: 32px; }
  .price-toolbar { margin: 0 0 16px; }
  .price-search { height: 48px; padding: 0 14px; }
  .price-search input { font-size: 16px; }
  .price-list { margin: 0; }
  .price-section { padding: 20px 14px 8px; border-radius: 20px; scroll-margin-top: 130px; }
  .price-section__title { font-size: 22px; }
  .price-group__title { font-size: 17px; }
  .price-row { grid-template-columns: 1fr auto; padding: 12px 4px; gap: 4px 12px; }
  .price-row__name { grid-column: 1 / -1; font-size: 16px; }
  .price-row__price { font-size: 17px; min-width: 0; }
  .price-cta { flex-direction: column; align-items: stretch; margin: 24px 0 16px; padding: 24px 20px; }
  .price-cta__title { font-size: 22px; }
}
