/* prem-house catalog.css v1 — страница /proekty/ */

.ph-prc, .ph-prc * { font-family: Arial, Helvetica, sans-serif; }
.ph-prc {
  color: #1a1a1a;
  max-width: 1240px;
  margin: 0 auto;
  /* отступ сверху под фиксированную шапку сайта (единое правило: 175 / 90) */
  padding: 26px 20px 56px;
  box-sizing: border-box;
}
@media (max-width: 991px) { .ph-prc { padding-top: 18px; } }
/* Единая сетка проекта: 1240 / 1340 / 1440 / 1640 на 1500 / 1800 / 2200 */
@media (min-width: 1500px) { .ph-prc { max-width: 1340px; } }
@media (min-width: 1800px) { .ph-prc { max-width: 1440px; } }
@media (min-width: 2200px) { .ph-prc { max-width: 1640px; } }

.ph-prc__bc {
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: 13.5px; color: #1a1a1a;
  margin-bottom: 16px;
}
.ph-prc__bc a { color: #FF8562 !important; text-decoration: none !important; }
.ph-prc__bc a:hover { color: #F04F2F !important; }
.ph-prc__bc .sep { color: rgba(26,26,26,0.4); margin: 0 10px; font-size: 16px; line-height: 1; }
.ph-prc__bc .current { color: #1a1a1a; }

.ph-prc__title {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.ph-prc__sub {
  font-size: 15px; line-height: 1.45;
  color: rgba(26,26,26,0.6);
  margin: 0 0 24px;
  max-width: 640px;
}

/* ===== Фильтр-бар ===== */
.ph-prc__bar {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 22px 10px;
  margin-bottom: 10px;
  padding-top: 18px; /* место под подписи групп, вынесенные над контролами */
}
.ph-prc__bar * { box-sizing: border-box; }
.ph-prc__dd { position: relative; }
.ph-prc__dd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border: 1.5px solid rgba(26,26,26,0.14);
  border-radius: 12px;
  background: #FFF; color: #1a1a1a;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease;
}
.ph-prc__dd-btn:hover { border-color: #F58F32; }
.ph-prc__dd-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; transition: transform .2s ease; }
.ph-prc__dd.is-open .ph-prc__dd-btn svg { transform: rotate(180deg); }
.ph-prc__dd-btn.is-active { border-color: #F04F2F; }
.ph-prc__dd-count {
  display: none;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: linear-gradient(135deg, #F04F2F 0%, #F58F32 100%);
  border-radius: 10px; color: #FFF;
  font-size: 11.5px; font-weight: 700;
  align-items: center; justify-content: center;
}
.ph-prc__dd-count.is-visible { display: inline-flex; }
.ph-prc__dd-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(36,45,51,0.16), 0 2px 8px rgba(36,45,51,0.08);
  padding: 10px;
  z-index: 60;
}
.ph-prc__dd.is-open .ph-prc__dd-menu { display: block; }
.ph-prc__opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background .15s ease;
}
.ph-prc__opt:hover { background: #F6F6F8; }
.ph-prc__opt input { accent-color: #F04F2F; width: 16px; height: 16px; }

.ph-prc__range {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.ph-prc__range-label { color: rgba(26,26,26,0.6); font-weight: 600; }
.ph-prc__range input {
  width: 74px; padding: 11px 10px;
  border: 1.5px solid rgba(26,26,26,0.14);
  border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  text-align: center;
  box-sizing: border-box;
}
.ph-prc__range input:focus { outline: none; border-color: #F58F32; }
.ph-prc__range .unit { color: rgba(26,26,26,0.45); font-size: 13px; }

.ph-prc__reset {
  display: none;
  border: 0; background: transparent;
  color: rgba(26,26,26,0.55);
  font-family: inherit; font-size: 13.5px; font-weight: 400;
  cursor: pointer;
  padding: 8px 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ph-prc__reset:hover { color: #F04F2F; }
.ph-prc__reset.is-visible { display: inline-block; }

.ph-prc__found {
  margin-left: auto;
  font-size: 14.5px;
  color: rgba(26,26,26,0.65);
}
.ph-prc__found b { color: #1a1a1a; font-size: 16px; }

/* Контейнер нижних действий: на десктопе прозрачен (раскладка как раньше), на мобайле — тёмный бар */
.ph-prc__actions { display: contents; }
.ph-prc__reset-x { display: none; }

/* ===== Кнопка «Типовые проекты» ===== */
.ph-prc__typ {
  display: inline-flex; align-items: center;
  padding: 0 14px; height: 44px;
  border: 1.5px solid rgba(26,26,26,0.14); border-radius: 12px;
  background: #FFF; color: #1a1a1a;
  font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.ph-prc__typ:hover { border-color: #F58F32; }
.ph-prc__typ.is-active { background: linear-gradient(90deg,#F04F2F,#F58F32); border-color: transparent; color: #FFF; }

/* ===== Группа (Этажность / Площадь / Кровля / Стиль) =====
   Подпись — НАД контролами (как на prem-house.ru): экономит ~200px по горизонтали,
   иначе панель не помещается в одну строку. */
.ph-prc__group { position: relative; display: inline-flex; align-items: center; gap: 6px; }
/* Подпись вынесена из потока — иначе она расширяет группу и панель не влезает в строку */
.ph-prc__pill {
  position: absolute; bottom: 100%; left: 2px;
  margin-bottom: 3px;
  font-size: 12px; font-weight: 400; line-height: 1.2;
  color: rgba(26,26,26,0.5); white-space: nowrap;
  pointer-events: none;
}

.ph-prc__chip {
  box-sizing: border-box;
  width: 42px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(26,26,26,0.14); border-radius: 10px;
  background: #FFF; color: #1a1a1a;
  font-family: inherit; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.ph-prc__chip:hover { border-color: #F58F32; color: #F58F32; }
.ph-prc__chip.is-active { background: linear-gradient(90deg,#F04F2F,#F58F32); border-color: transparent; color: #FFF; }
.ph-prc__chip--wide { width: auto; padding: 0 16px; font-size: 14px; }

/* ===== Выпадающий список с чекбоксами (Кровля / Стиль) ===== */
.ph-prc__sel { position: relative; }
.ph-prc__sel-ctl {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  min-width: 118px; height: 44px; padding: 0 10px 0 12px;
  border: 1.5px solid rgba(26,26,26,0.14); border-radius: 10px;
  background: #FFF; color: #1a1a1a;
  font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: border-color .2s ease, color .2s ease;
}
.ph-prc__sel-ctl:hover { border-color: #F58F32; }
.ph-prc__sel.is-open .ph-prc__sel-ctl { border-color: #F58F32; }
.ph-prc__sel.is-set .ph-prc__sel-ctl { border-color: #F58F32; color: #F04F2F; }
.ph-prc__sel-val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-prc__sel-arr { width: 14px; height: 14px; flex: 0 0 14px; color: rgba(26,26,26,0.45); transition: transform .2s ease; }
.ph-prc__sel.is-open .ph-prc__sel-arr { transform: rotate(180deg); }
.ph-prc__sel.is-set .ph-prc__sel-arr { color: #F58F32; }
.ph-prc__sel-pop {
  position: absolute; top: calc(100% + 6px); left: auto; right: 0; z-index: 40;
  display: none; flex-direction: column;
  min-width: 200px; max-height: 320px; overflow-y: auto;
  padding: 8px; background: #FFF;
  border: 1px solid rgba(26,26,26,0.10); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(36,45,51,.16);
}
.ph-prc__sel.is-open .ph-prc__sel-pop { display: flex; }
.ph-prc__sel-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: #1a1a1a; white-space: nowrap;
  transition: background .15s ease;
}
.ph-prc__sel-opt:hover { background: #F7F8FA; }
.ph-prc__sel-opt input { width: 16px; height: 16px; flex: 0 0 16px; accent-color: #F04F2F; cursor: pointer; margin: 0; }

.ph-prc__rng { display: inline-flex; align-items: center; gap: 6px; }
.ph-prc__rng-label { font-size: 13.5px; font-weight: 400; color: rgba(26,26,26,0.5); }
.ph-prc__rng input {
  width: 64px; height: 44px; padding: 0 6px;
  border: 1.5px solid rgba(26,26,26,0.14); border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 500; text-align: center;
  box-sizing: border-box;
}
.ph-prc__rng input:focus { outline: none; border-color: #F58F32; box-shadow: 0 0 0 3px rgba(245,143,50,0.15); }
.ph-prc__rng input::-webkit-outer-spin-button, .ph-prc__rng input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ph-prc__rng-unit { font-size: 13.5px; color: rgba(26,26,26,0.5); }

/* ===== Слайдер площади (как на планировках) ===== */
.ph-prc__slider { position: relative; width: 180px; height: 44px; flex-shrink: 0; }
.ph-prc__slider-track { position: absolute; top: 50%; left: 0; right: 0; height: 4px; background: rgba(26,26,26,0.1); border-radius: 2px; transform: translateY(-50%); }
.ph-prc__slider-fill { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%); border-radius: 2px; }
.ph-prc__slider input[type="range"] {
  position: absolute; top: 0; left: 0; width: 100%; height: 44px;
  margin: 0; -webkit-appearance: none; appearance: none;
  background: transparent; pointer-events: none;
}
.ph-prc__slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 18px; height: 18px; border-radius: 50%;
  background: #FFF; border: 2px solid #F04F2F; box-shadow: 0 2px 6px rgba(36,45,51,0.22);
  cursor: pointer;
}
.ph-prc__slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px; height: 18px; border-radius: 50%;
  background: #FFF; border: 2px solid #F04F2F; box-shadow: 0 2px 6px rgba(36,45,51,0.22);
  cursor: pointer;
}
.ph-prc__slider input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
.ph-prc__slider input[type="range"]::-moz-range-track { background: transparent; }

/* ===== Кнопка «Все фильтры» ===== */
.ph-prc__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: auto; /* прижать к правому краю сетки */
  padding: 13px 18px;
  border: 0; border-radius: 10px;
  background: #1a1a1a; color: #FFF;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: filter .2s ease, background .2s ease; line-height: 1;
}
/* счётчик найденных — оранжевый бейдж слева (как на планировках) */
.ph-prc__more-found {
  display: none; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 7px;
  background: linear-gradient(135deg, #F04F2F 0%, #F58F32 100%);
  border-radius: 11px; color: #FFF; font-size: 12px; font-weight: 700; line-height: 1;
}
.ph-prc__more-found:not(:empty) { display: inline-flex; }
/* «из M» справа */
.ph-prc__more-of { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1499px) { .ph-prc__more-of { display: none; } }
/* отдельный «Найдено N из M» больше не нужен — счётчик в кнопке */
.ph-prc__found { display: none !important; }
.ph-prc__more:hover { filter: brightness(1.14); }
.ph-prc__more svg { width: 18px; height: 18px; stroke: #FFF; fill: none; stroke-width: 2; stroke-linecap: round; }
.ph-prc__more-count {
  display: none; min-width: 20px; height: 20px; padding: 0 6px;
  background: linear-gradient(135deg,#F04F2F,#F58F32); border-radius: 10px;
  color: #FFF; font-size: 11.5px; font-weight: 700;
  align-items: center; justify-content: center;
}
.ph-prc__more-count.is-visible { display: inline-flex; }

/* ===== SEO-текст под проектами ===== */
.ph-prc__sub--bottom {
  max-width: none;
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(26,26,26,0.1);
  font-size: 14.5px; line-height: 1.6;
  color: rgba(26,26,26,0.6);
}

/* ===== Сетка карточек ===== */
.ph-prc__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 22px;
}
.ph-prc__card {
  display: flex; flex-direction: column;
  background: #FFF;
  border: 1.5px solid rgba(240,79,47,0.45);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(36,45,51,.08), 0 2px 6px rgba(36,45,51,.04);
  text-decoration: none !important;
  color: #1a1a1a !important;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.ph-prc__card:hover { transform: translateY(-4px); border-color: #F04F2F; box-shadow: 0 16px 40px rgba(240,79,47,.18), 0 4px 10px rgba(36,45,51,.06); }
.ph-prc__card-imgwrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #EFEFF1;
  overflow: hidden;
}
.ph-prc__card-imgwrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ph-prc__card:hover .ph-prc__card-imgwrap img { transform: scale(1.05); }
.ph-prc__card-style {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px;
  background: rgba(16,20,26,0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  color: #FFF;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.03em;
}
.ph-prc__card-body { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.ph-prc__card-name {
  font-family: 'Times New Roman', Times, serif;
  font-size: 19px; font-weight: 700; line-height: 1.18;
  color: #F04F2F;
  margin: 0 0 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ph-prc__card-name > span:first-child { flex: 1; min-width: 0; }
.ph-prc__card-go {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #F04F2F, #F58F32);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 14px rgba(240,79,47,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ph-prc__card-go svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-prc__card:hover .ph-prc__card-go { transform: translateX(3px); box-shadow: 0 8px 20px rgba(240,79,47,.45); }

/* компактная мета карточки */
.ph-prc__meta {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 16px;
  font-size: 14px; color: rgba(26,26,26,0.7);
  margin: 2px 0 0;
}
.ph-prc__meta b { color: #1a1a1a; font-weight: 700; }
.ph-prc__meta--sub {
  font-size: 13px; color: rgba(26,26,26,0.55);
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(26,26,26,0.08);
}

.ph-prc__card-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 13px;
  color: rgba(26,26,26,0.65);
  margin-bottom: 12px;
}
.ph-prc__card-meta b { color: #1a1a1a; font-weight: 700; }
.ph-prc__card-price {
  margin-top: auto;
  font-size: 17px; font-weight: 800;
  background: linear-gradient(90deg, #F04F2F 0%, #F58F32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ph-prc__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  font-size: 15px;
  color: rgba(26,26,26,0.55);
}

@media (max-width: 991px) {
  .ph-prc__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ph-prc__found { width: 100%; margin-left: 0; order: 10; }
}
@media (max-width: 600px) {
  .ph-prc { padding: 10px 16px 40px; }
  .ph-prc__grid { grid-template-columns: 1fr; gap: 14px; }

  .ph-prc__bar { gap: 12px; align-items: stretch; }
  /* «Типовые проекты» + «Этажность» — в ОДНУ строку */
  .ph-prc__typ { align-self: center; height: 40px; flex: 0 0 auto; padding: 0 14px; font-size: 13.5px; }
  .ph-prc__bar > .ph-prc__typ + .ph-prc__group { width: auto; flex: 1 1 auto; }

  /* Этажность: подпись + чипы 1 2 3 + Цокольный — в ОДНУ строку (чипы мельче) */
  .ph-prc__group {
    width: 100%;
    display: flex; flex-wrap: nowrap; align-items: center;
    gap: 7px;
  }
  .ph-prc__pill { flex: 0 0 auto; width: auto; margin: 0; white-space: nowrap; font-size: 13px; }
  .ph-prc__group .ph-prc__chip { width: 38px; height: 38px; font-size: 14px; border-radius: 9px; margin: 0; }
  .ph-prc__group .ph-prc__chip--wide { width: auto; height: 38px; padding: 0 12px; font-size: 13px; border-radius: 9px; flex: 0 0 auto; }

  /* Площадь: «от[поле] слайдер до[поле]» — в ОДНУ строку, слайдер тянется
     (подпись «Площадь» прячем на мобайле ради места — от/до и «м²» понятны) */
  .ph-prc__group--range { width: 100%; flex-wrap: nowrap; gap: 7px; }
  .ph-prc__group--range .ph-prc__pill { display: none; }
  .ph-prc__slider { flex: 1 1 auto; width: auto; min-width: 56px; }
  .ph-prc__rng { gap: 5px; }
  .ph-prc__rng input { width: 52px; height: 40px; }
  .ph-prc__rng-label, .ph-prc__rng-unit { font-size: 12.5px; }

  /* Кровля + Стиль — в ОДНУ строку по половине ширины (экономит ~90px по высоте) */
  .ph-prc__bar > .ph-prc__group.ph-prc__sel { width: calc(50% - 4px); flex: 0 0 calc(50% - 4px); }
  .ph-prc__bar > .ph-prc__group.ph-prc__sel .ph-prc__sel-ctl { width: 100%; height: 40px; font-size: 13.5px; padding: 0 10px; }
  .ph-prc__bar > .ph-prc__group.ph-prc__sel .ph-prc__pill { font-size: 11.5px; }
  /* бар: ряды с одинаковым воздухом, подписи не липнут к предыдущей строке */
  .ph-prc__bar { flex-wrap: wrap; row-gap: 20px; column-gap: 8px; }
  .ph-prc__group { margin-top: 2px; }
  .ph-prc__actions { margin-top: 4px; }

  /* Нижний тёмный бар — как на «1000 планировок»: ✕ слева, «Все фильтры» по центру, «из N» справа */
  .ph-prc__actions {
    position: relative; display: flex; align-items: center; justify-content: center; width: 100%;
    background: #1a1a1a; border-radius: 12px; padding: 6px; min-height: 52px;
  }
  .ph-prc__actions .ph-prc__more { margin: 0; padding: 0; height: auto; background: transparent; gap: 8px; }
  .ph-prc__actions .ph-prc__reset {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%); margin: 0; padding: 0; flex: none;
    width: 30px; height: 30px; display: none; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,.18); text-decoration: none;
  }
  .ph-prc__actions .ph-prc__reset-x { text-decoration: none; }
  .ph-prc__actions .ph-prc__reset.is-visible { display: inline-flex; }
  .ph-prc__reset-t { display: none; }
  .ph-prc__reset-x { display: inline; color: #FFF; font-size: 18px; line-height: 1; }
}

/* ===== Модалка «Все фильтры» ===== */
.ph-prc__modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 24px; }
.ph-prc__modal.is-open { display: flex; }
.ph-prc__modal-bd { position: absolute; inset: 0; background: rgba(16,20,26,0.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.ph-prc__modal-win { position: relative; width: 100%; max-width: 900px; max-height: 86vh; display: flex; flex-direction: column; background: #FFF; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.ph-prc__modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px 14px; }
.ph-prc__modal-title { font-family: 'Times New Roman', Times, serif; font-size: 24px; font-weight: 700; margin: 0; }
.ph-prc__modal-close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #F4F5F7; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ph-prc__modal-close:hover { background: rgba(240,79,47,0.12); }
.ph-prc__modal-close svg { width: 16px; height: 16px; stroke: #1a1a1a; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.ph-prc__modal-body { padding: 4px 28px 16px; overflow-y: auto; flex: 1; }
/* Модалка лежит вне .ph-prc — задаём шрифты явно, иначе наследуется TNR страницы */
.ph-prc__modal, .ph-prc__modal * { font-family: Arial, Helvetica, sans-serif; }
.ph-prc__modal-title { font-family: 'Times New Roman', Times, serif; }

/* Строка группы: подпись слева, чипы справа (как на prem-house.ru) */
.ph-prc__fg { display: grid; grid-template-columns: 120px 1fr; align-items: start; column-gap: 20px; padding: 12px 0; border-top: 1px solid rgba(26,26,26,0.06); }
.ph-prc__fg:first-child { border-top: 0; }
.ph-prc__fg-title { font-size: 14px; font-weight: 400; color: rgba(26,26,26,0.6); margin: 9px 0 0; text-align: right; }
.ph-prc__fg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-prc__fg-chips--range { align-items: center; gap: 12px; flex-wrap: nowrap; }
.ph-prc__fg-chips--range .ph-prc__slider { flex: 1 1 auto; min-width: 120px; }
/* «Не выбрано» — оранжевый, пока в группе ничего не отмечено */
.ph-prc__mchip--none.is-active { background: linear-gradient(90deg,#F04F2F,#F58F32); border-color: transparent; color: #FFF; }
.ph-prc__mchip--none { color: rgba(26,26,26,0.55); }
.ph-prc__mchip {
  padding: 9px 16px; border: 1.5px solid rgba(26,26,26,0.14); border-radius: 10px;
  background: #FFF; color: #1a1a1a; font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.ph-prc__mchip:hover { border-color: #F58F32; color: #F58F32; }
.ph-prc__mchip.is-active { background: linear-gradient(90deg,#F04F2F,#F58F32); border-color: transparent; color: #FFF; }
.ph-prc__modal-foot { display: flex; gap: 12px; padding: 16px 28px; border-top: 1px solid rgba(26,26,26,0.06); }
.ph-prc__modal-apply { flex: 1; border: 0; border-radius: 12px; padding: 14px; background: linear-gradient(90deg,#F04F2F,#F58F32); color: #FFF; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ph-prc__modal-apply:hover { filter: brightness(1.05); }
.ph-prc__modal-reset { border: 1.5px solid rgba(26,26,26,0.14); border-radius: 12px; padding: 14px 22px; background: #FFF; color: #1a1a1a; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ph-prc__modal-reset:hover { border-color: #F04F2F; color: #F04F2F; }
@media (max-width: 760px) {
  /* подпись над чипами, а не слева */
  .ph-prc__fg { grid-template-columns: 1fr; row-gap: 8px; }
  .ph-prc__fg-title { text-align: left; margin: 0; font-weight: 600; color: #1a1a1a; }
}
@media (max-width: 600px) {
  .ph-prc__modal { padding: 0; align-items: flex-end; }
  .ph-prc__modal-win { max-width: none; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .ph-prc__modal-body { padding: 4px 18px 16px; }
  .ph-prc__modal-foot { padding: 14px 18px; }
  .ph-prc__mchip { padding: 8px 12px; font-size: 13px; }
}
