@charset "UTF-8";
/* Prices.module.scss */
/*=== Стили ===*/
.PricesHero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 20px;
  background: radial-gradient(circle at top left, #e2fbff 0%, #ffffff 58%);
  box-shadow: 0 35px 80px rgba(2, 84, 103, 0.12);
}

.PricesHeroContent {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.PricesEyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #00838f;
  margin: 0;
}

.PricesHeroTitle {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: #031f25;
  margin: 0;
}

.PricesDescription {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #476370;
}

.PricesHeroStats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.PricesHeroStat {
  flex: 1;
  min-width: 150px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(3, 31, 37, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.PricesHeroStatValue {
  font-size: 1.75rem;
  font-weight: 700;
  color: #031f25;
}

.HeroStatSkeleton {
  display: inline-block;
  width: clamp(70px, 8vw, 120px);
  height: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(3, 31, 37, 0.12), rgba(255, 255, 255, 0.85));
  background-size: 200% 100%;
}

.PricesHeroStatLabel {
  font-size: 0.9rem;
  color: #4a6773;
}

.PricesHeroHighlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.PricesHeroHighlight {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(2, 132, 137, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.PricesHeroHighlightTitle {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #032830;
}

.PricesHeroHighlightText {
  margin: 0;
  color: #4b6470;
  line-height: 1.5;
  font-size: 0.92rem;
}

.PricesHeroCard {
  border-radius: 20px;
  background: #ffffff;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 30px 60px rgba(3, 31, 37, 0.08);
}

.PricesTableSection {
  background: #ffffff;
  border-radius: 32px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 35px 80px rgba(3, 31, 37, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.TableHeader {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.TableTitle {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: #031f25;
}

.TableSubtitle {
  margin: 8px 0 0;
  color: #4b6571;
  line-height: 1.5;
  max-width: 640px;
}

.TableCTA {
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(120deg, #00d3db, #00a0a9);
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 16px 30px rgba(0, 163, 170, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.TableCTA:hover, .TableCTA:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0, 163, 170, 0.35);
}
@media (max-width: 619px) {
  .TableCTA {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
  }
}

.TableCTAIconLabel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.TableCTAVisuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Контейнер для таблицы с прокруткой */
.TableContainer {
  overflow-x: auto;
  border: 1px solid #333333;
  border-radius: 20px;
  position: relative;
  background: #ffffff;
}

.TableSkeletonOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  pointer-events: none;
  border-radius: 20px;
}

.TableSkeletonRow {
  display: grid;
  grid-template-columns: 150px 1fr 2fr 120px;
  gap: 16px;
}

.TableSkeletonRow span {
  height: 18px;
  border-radius: 999px;
  background: rgba(6, 32, 36, 0.12);
  animation: pulse 1.4s ease infinite;
}

.PricesTable {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

/*=== Заголовок таблицы ===*/
.PricesTableHeader {
  color: #333333;
  background-color: #045b78;
  position: sticky;
  top: 0;
  z-index: 2;
}

.PricesTableHeaderCell {
  height: 40px;
  padding: 0 0.5rem;
  text-align: left;
  font-weight: bold;
  vertical-align: middle;
  border-bottom: 1px solid #333333;
  box-sizing: border-box;
  white-space: nowrap;
  color: #fff;
}
@container prices (max-width: 48rem) {
  .PricesTableHeaderCell {
    font-size: 0.85rem;
    padding: 0 0.3rem;
  }
}
.PricesTableHeaderCell.FixedColumn {
  position: sticky;
  left: 0px;
  background-color: #045b78;
  z-index: 3;
  border-right: 1px solid #333333;
  color: #fff;
}

/*=== Строка и ячейки таблицы ===*/
.PricesTableRow {
  border-bottom: 1px solid #333333;
  scroll-margin-top: 96px;
}

.PricesTableCell {
  height: 38px;
  padding: 4px 0.5rem;
  vertical-align: middle;
  box-sizing: border-box;
  position: relative;
  color: #333333;
}
@container prices (max-width: 48rem) {
  .PricesTableCell {
    font-size: 0.85rem;
    padding: 0 0.3rem;
  }
}
.PricesTableCell.FixedColumn {
  position: sticky;
  left: 0px;
  background-color: #ffffff;
  z-index: 1;
  border-right: 1px solid #333333;
}

/*=== Строка-заголовок категории ===*/
.CategoryHeaderRow {
  background-color: #deeaed;
  scroll-margin-top: 96px;
}
.CategoryHeaderRow[data-price-depth="0"] {
  position: sticky;
  top: 40px;
  z-index: 2;
  background-color: #c4d9dd;
}
.CategoryHeaderRow[data-price-depth="1"] {
  background-color: #deeaed;
}
.CategoryHeaderRow[data-price-depth="2"] {
  background-color: #eaf3f4;
}

.CategoryHeaderCell {
  height: 46px;
  padding: 0 0.5rem;
  vertical-align: middle;
  font-weight: bold;
  font-size: 1rem;
  box-sizing: border-box;
  white-space: nowrap;
  color: #333333;
}
@container prices (max-width: 48rem) {
  .CategoryHeaderCell {
    font-size: 0.9rem;
    padding: 0 0.3rem;
  }
}
.CategoryHeaderCell.FixedColumn {
  position: sticky;
  left: 0px;
  background-color: #deeaed;
  z-index: 2;
  border-right: 1px solid #333333;
}

/*=== Класс для выделения текста категории ===*/
.CategoryHeader {
  font-weight: bold;
  color: #333333;
}

/*=== Depth-based фон для sticky первой колонки в строках категорий ===*/
.CategoryHeaderRow[data-price-depth="0"] .CategoryHeaderCell.FixedColumn {
  background-color: #c4d9dd;
}

.CategoryHeaderRow[data-price-depth="1"] .CategoryHeaderCell.FixedColumn {
  background-color: #deeaed;
}

.CategoryHeaderRow[data-price-depth="2"] .CategoryHeaderCell.FixedColumn {
  background-color: #eaf3f4;
}

/*=== Визуальная иерархия по глубине вложенности ===*/
.CategoryHeaderRow[data-price-depth="0"] .CategoryHeaderCell {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.CategoryHeaderRow[data-price-depth="1"] .CategoryHeaderCell {
  font-size: 0.95rem;
  font-weight: 600;
}

.CategoryHeaderRow[data-price-depth="2"] .CategoryHeaderCell {
  font-size: 0.9rem;
  font-weight: 600;
}

/*=== Содержимое ячейки «Услуга» (флекс для стрелок и текста) ===*/
.ServiceCell {
  display: flex;
  align-items: center;
  height: 100%;
}

/*=== Кнопка-стрелка (CSS-треугольник с вращением по aria-expanded) ===*/
.ArrowButton {
  background: none;
  border: none;
  padding: 0;
  margin-right: 0.3rem;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  color: #333333;
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.ArrowButton::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  border-color: currentColor transparent transparent transparent;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.ArrowButton[aria-expanded=false]::before {
  transform: rotate(-90deg);
}
.ArrowButton[aria-expanded=true]::before {
  transform: rotate(0deg);
}
.ArrowButton:hover {
  color: #014e5e;
}
@container prices (min-width: 48rem) {
  .ArrowButton {
    margin-right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
  }
}

.CategoryCell {
  position: relative;
}

.PriceCell {
  position: relative;
  display: flex;
  flex-direction: column;
}

.originalPrice {
  color: #718096;
  text-decoration: line-through;
}

.discountedPrice {
  color: #e53e3e;
  font-weight: 600;
}

/*=== Пустой элемент-«заглушка» вместо стрелки ===*/
.NoArrowSpacer {
  width: 1.2rem;
  margin-right: 0.3rem;
}
@container prices (min-width: 48rem) {
  .NoArrowSpacer {
    width: 1.5rem;
    margin-right: 0.5rem;
  }
}

/*=== Заголовки разных уровней вложенности ===*/
.TopRowTitle {
  font-size: 0.95rem;
  color: #333333;
}
@container prices (max-width: 48rem) {
  .TopRowTitle {
    font-size: 0.85rem;
  }
}

.SubRowTitle {
  font-size: 0.9rem;
  color: #333333;
}
@container prices (max-width: 48rem) {
  .SubRowTitle {
    font-size: 0.8rem;
  }
}

.SubSubRowTitle {
  font-size: 0.9rem;
  color: rgba(100, 100, 100, 0.6);
}
@container prices (max-width: 48rem) {
  .SubSubRowTitle {
    font-size: 0.8rem;
  }
}

/*=== Обрезка длинных описаний на малых экранах ===*/
.Truncate {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/*=== Ячейка с описанием (развёрнутая при ширине > 1150px) ===*/
.DescriptionCell {
  display: block;
  max-width: 100%;
  color: #333333;
}
@container prices (max-width: 72rem) {
  .DescriptionCell {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

/*=== Подсказка-«tooltip» при наведении на мобайле ===*/
.PricesTableCell > span[data-tooltip],
.CategoryHeaderCell > span[data-tooltip],
.ServiceCell > span[data-tooltip] {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
@container prices (max-width: 48rem) {
  .PricesTableCell > span[data-tooltip],
  .CategoryHeaderCell > span[data-tooltip],
  .ServiceCell > span[data-tooltip] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.PricesTableCell > span[data-tooltip]:hover::after,
.CategoryHeaderCell > span[data-tooltip]:hover::after,
.ServiceCell > span[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  color: #fff;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: normal;
  max-width: 200px;
  z-index: 3;
}
@container prices (min-width: 48rem) {
  .PricesTableCell > span[data-tooltip]:hover::after,
  .CategoryHeaderCell > span[data-tooltip]:hover::after,
  .ServiceCell > span[data-tooltip]:hover::after {
    display: none;
  }
}

/*=== Примечание категории (курсив, полупрозрачный цвет) ===*/
.PricesCategoryNote {
  font-style: italic;
  color: rgba(100, 100, 100, 0.6);
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  background: #f1f7f8;
  border-left: 3px solid rgba(4, 91, 120, 0.35);
  border-radius: 14px;
  padding: 10px 12px;
}
@container prices (min-width: 48rem) {
  .PricesCategoryNote {
    font-size: 0.85rem;
  }
}

/*=== Скелетон для «загрузки» ===*/
.Skeleton {
  background: linear-gradient(90deg, rgb(165.75, 165.75, 165.75), #cccccc);
  background-color: rgb(165.75, 165.75, 165.75);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.Skeleton::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(82, 133, 199, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

.TableContainer::-webkit-scrollbar {
  height: 8px;
}

.TableContainer::-webkit-scrollbar-thumb {
  background: rgba(3, 31, 37, 0.2);
  border-radius: 4px;
}

.TableContainer::-webkit-scrollbar-track {
  background: transparent;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.hidden {
  visibility: hidden; /* место занимает, но не видно */
}

.HighlightedRow {
  background-image: linear-gradient(90deg, rgba(0, 163, 170, 0.18), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 2px rgba(0, 163, 170, 0.35);
  animation: rowHighlightDesktop 2.2s ease-out;
}
.HighlightedRow td,
.HighlightedRow th {
  background-image: inherit;
  background-color: rgba(0, 211, 219, 0.08);
  transition: background-color 0.3s ease;
}

@keyframes rowHighlightDesktop {
  0% {
    background-color: rgba(0, 211, 219, 0.25);
  }
  100% {
    background-color: transparent;
  }
}