/* Мобильный прайс: услуги строками, подробности в отдельном окне. */
@media (max-width: 767px) {
  #ceny.ceny--list .v15-prajs { display: block; }
  #ceny.ceny--list .v15-prajs__spisok {
    display: block; padding: 0; overflow: hidden; scroll-snap-type: none;
    border: 1px solid #e2e5e9; border-radius: 16px; background: #fff;
  }
  #ceny.ceny--list .v15-prajs__spisok > li { min-width: 0; margin: 0; }
  #ceny.ceny--list .v15-prajs__stroka {
    display: grid; grid-template-columns: minmax(0, 1fr) 124px; align-items: center;
    gap: 12px; min-height: 62px; height: auto; padding: 12px;
    border: 0; border-bottom: 1px solid #e9ebee; border-radius: 0; background: #fff;
  }
  #ceny.ceny--list li:last-child .v15-prajs__stroka { border-bottom: 0; }
  #ceny.ceny--list .v15-prajs__stroka[aria-pressed="true"] { background: #fff5f6; }
  #ceny.ceny--list .v15-prajs__stroka::before { display: none; }
  #ceny.ceny--list :is(.v15-prajs__imya small, .v15-prajs__srok, .v15-prajs__kartochka) { display: none; }
  body.pr-sborka .pr-polosa #ceny#ceny.ceny--list .v15-prajs__imya b {
    font-size: 13px; line-height: 1.35; font-weight: 500;
  }
  #ceny.ceny--list .v15-prajs__cena {
    display: flex; align-items: center; justify-content: flex-end; gap: 7px;
    max-width: 100%; text-align: right; font: 700 15px/1.3 Inter, sans-serif;
    color: #d51a35; white-space: nowrap; font-variant-numeric: tabular-nums;
  }
  #ceny.ceny--list .v15-prajs__cena::after { content: '›'; font-size: 20px; font-weight: 400; color: #9da4ae; }
  #ceny.ceny--list .v15-prajs__cena.tbd { font-size: 12px; white-space: normal; }
  body.pr-sborka .pr-polosa #ceny#ceny.ceny--list .v15-prajs__pod { margin-top: 10px; font-size: 12px; line-height: 1.4; color: #69727d; }
}

.ceny-popup {
  box-sizing: border-box; width: min(420px, calc(100% - 24px)); max-width: none;
  max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 22px;
  background: #fff; color: #181c22; box-shadow: 0 20px 80px #0004;
  overflow-y: auto; overscroll-behavior: contain; font-family: Inter, sans-serif;
}
.ceny-popup::backdrop { background: rgb(12 17 25 / .64); backdrop-filter: blur(3px); }
.ceny-popup__close {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: #f0f2f4; color: #282f39; cursor: pointer;
}
.ceny-popup__close svg { width: 20px; height: 20px; }
.ceny-popup__close:focus-visible, .ceny-popup__cta:focus-visible { outline: 2px solid #087dff; outline-offset: 3px; }
.ceny-popup__kind { margin: 0; padding-right: 44px; font-size: 10px; line-height: 1.4; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #d51a35; }
.ceny-popup__title { margin: 12px 0 0; padding-right: 20px; font: 600 22px/1.25 Inter, sans-serif; letter-spacing: -.02em; }
.ceny-popup__price { margin: 18px 0 0; font: 700 28px/1.15 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.ceny-popup__description { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #5d6673; }
.ceny-popup__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; padding: 14px; border-radius: 12px; background: #f4f5f7; }
.ceny-popup__facts dt { margin: 0 0 6px; font-size: 11px; line-height: 1.3; color: #69727d; }
.ceny-popup__facts dd { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 600; }
.ceny-popup__note { margin: 14px 0 0; font-size: 12px; line-height: 1.45; color: #69727d; }
.ceny-popup__note[hidden] { display: none; }
.ceny-popup__cta { display: flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 20px; border-radius: 12px; background: #e51c3b; color: #fff; font: 600 14px/1.3 Inter, sans-serif; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .ceny-popup[open] { animation: ceny-popup-in 180ms ease-out; }
  @keyframes ceny-popup-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
