/* Prices page. Fedoseev breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.prices-download__title {
    font-size: 36px;
    line-height: 50px;
    font-weight: 500;
    color: #354752;
    max-width: 700px;
    padding: 0 0 32px;
    border-bottom: #272F39 1px solid;
}
.prices-download__title a {
    text-decoration: underline;
    color: #354752;
}
.prices-download__title a:hover {
    text-decoration: none;
}

.page-prices main { overflow: hidden; }
.page-prices .clinic-container,
.page-prices .treatment-container,
.page-prices .appointment-section .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.prices-page { color: #27313d; background: #fff; }

.prices-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    font-size: 18px;
    line-height: 1;
}
.prices-breadcrumbs a { color: #a7aaad; }
.prices-breadcrumbs a:hover { color: #27313d; }

.prices-intro__container h1 {
    margin: clamp(34px, calc(34px + (100vw - 960px) * .05639), 64px) 0 clamp(45px, calc(45px + (100vw - 960px) * .02444), 58px);
    font-size: 43px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}
.prices-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(42px, calc(42px + (100vw - 960px) * .07143), 80px);
    row-gap: 48px;
}
.prices-category {
    display: flex;
    align-items: flex-start;
    min-height: 48px;
    padding: 5px 12px 5px 18px;
    border-left: 5px solid var(--price-accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.prices-category:hover { background: #f4f5f4; }
.prices-intro__lead {
    max-width: 690px;
    margin: 62px 0 0;
    font-size: 24px;
    line-height: 1.38;
    text-transform: uppercase;
}

.prices-packages { padding-top: 69px; }
.prices-package-group + .prices-package-group { margin-top: 64px; }
.prices-package-group h2 {
    margin: 0 0 55px;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}
.prices-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(434px, 100%), 1fr));
    gap: 20px;
    width: clamp(434px, calc(434px + (100vw - 960px) * 1.85338), 1420px);
    max-width: 100%;
}
.prices-package-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 378px;
  padding: 40px;
  background: var(--price-card-bg, #eee7e1);
  color: #27313d;
  border-radius: 0;

  max-width: 700px;
}
.prices-package-card h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}
.prices-package-card__content {
  font-size: 15px;
  line-height: 1.45;
  color: #5b6570;
}
.prices-package-card__content ul { margin: 0; padding-left: 20px; }
.prices-package-card__content li + li { margin-top: 2px; }
.prices-package-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
.prices-package-card__footer strong {
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}
.prices-package-card__footer span {
  font-size: 14px;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  color: #5b6570;
}

.prices-download { padding: 61px 0 149px; }
.prices-download__container { display: block; }
.prices-download__container > p {
    max-width: 710px;
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
}
.prices-download__container > p a { text-decoration: underline; text-underline-offset: 4px; }
.prices-download__links {
    display: grid;
    gap: 24px;
    max-width: 710px;
    margin-top: 32px;
    font-size: 18px;
    line-height: 25px;
}
.prices-download__links p {
    margin: 0;
}
.prices-download__links a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prices-treatment .treatment-section { padding-top: 0; padding-bottom: 108px; }
.prices-treatment .treatment-heading { margin-bottom: 58px; }
.prices-treatment .treatment-card__media {
    background-image: url('/local/templates/clinic/assets/images/doctor-plan-desktop.png');
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.prices-safety { min-height: 0; padding: 0 0 111px; }
.prices-safety h2 { margin-bottom: 62px; }

.prices-offers .offers-section { padding-top: 119px; padding-bottom: 150px; }
.prices-doctors .about-doctors { padding: 149px 0 150px; }
.prices-doctors .about-doctors__head { margin-bottom: 54px; }
.prices-first-visit .first-visit { padding: 0 0 117px; }
.prices-first-visit .first-visit .section-head { margin-bottom: 54px; }
.prices-first-visit .first-visit h2 { font-size: 40px; }
.prices-first-visit .first-visit-video { min-height: 800px; height: 800px; }
.prices-appointment { padding-top: 0; padding-bottom: 96px; }
.prices-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png');
    background-position: center;
    background-size: cover;
}
.prices-contacts { padding: 75px 0 128px; background: #f6f3f2; }
.prices-contacts .map-frame { height: 693px; }

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-prices .clinic-container,
    .page-prices .treatment-container,
    .page-prices .appointment-section .clinic-container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
    }
    .prices-breadcrumbs { height: 61px; font-size: 18px; }
    .prices-intro__container h1 {
        margin: 34px 0 clamp(32px, calc(32px + (100vw - 375px) * .02222), 45px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
    }
    .prices-categories {
        grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
        column-gap: 20px;
        row-gap: clamp(19px, calc(19px + (100vw - 375px) * .04957), 48px);
    }
    .prices-category {
        min-height: clamp(41px, calc(41px + (100vw - 375px) * .01197), 48px);
        padding: 4px 10px 4px 14px;
        font-size: clamp(14px, calc(14px + (100vw - 375px) * .00684), 18px);
    }
    .prices-intro__lead {
        max-width: 434px;
        margin-top: clamp(35px, calc(35px + (100vw - 375px) * .04615), 62px);
        font-size: clamp(14px, calc(14px + (100vw - 375px) * .00684), 18px);
        line-height: 1.45;
    }
    .prices-intro__lead br { display: none; }

    .prices-packages { padding-top: clamp(42px, calc(42px + (100vw - 375px) * .04615), 69px); }
    .prices-package-group + .prices-package-group { margin-top: clamp(45px, calc(45px + (100vw - 375px) * .03248), 64px); }
    .prices-package-group h2 {
        margin-bottom: clamp(29px, calc(29px + (100vw - 375px) * .04444), 55px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
    }
    .prices-package-grid { width: min(434px, 100%); grid-template-columns: 1fr; }
    .prices-package-card {
        height: clamp(360px, calc(360px + (100vw - 375px) * .03077), 378px);
        min-height: 360px;
        padding: clamp(22px, calc(22px + (100vw - 375px) * .01026), 28px);
    }
    .prices-package-card h3 { font-size: clamp(15px, calc(15px + (100vw - 375px) * .00855), 20px); }
    .prices-package-card__content { font-size: clamp(13px, calc(13px + (100vw - 375px) * .00342), 15px); }
    .prices-package-card__footer strong { font-size: clamp(24px, calc(24px + (100vw - 375px) * .01709), 34px); }
    .prices-package-card__footer span { font-size: clamp(11px, calc(11px + (100vw - 375px) * .00513), 14px); }

    .prices-download { padding: clamp(38px, calc(38px + (100vw - 375px) * .03932), 61px) 0 clamp(83px, calc(83px + (100vw - 375px) * .11282), 149px); }
    .prices-download__container > p { max-width: 434px; font-size: clamp(18px, calc(18px + (100vw - 375px) * .01709), 28px); }
    .prices-download__container > p br { display: none; }
    .prices-download__links { max-width: 434px; margin-top: 35px; }

    .prices-treatment .treatment-section { padding-bottom: clamp(54px, calc(54px + (100vw - 375px) * .09231), 108px); }
    .prices-treatment .treatment-heading {
        max-width: none;
        margin-bottom: clamp(30px, calc(30px + (100vw - 375px) * .04786), 58px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
        line-height: 1.4;
    }
    .prices-treatment .treatment-layout { display: block; height: auto; }
    .prices-treatment .treatment-card {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(279px, 100%), 1fr));
        width: 100%;
        height: auto;
        overflow: hidden;
        border-radius: 20px;
        background: #dfdbd7;
    }
    .prices-treatment .treatment-card::before { display: none; }
    .prices-treatment .treatment-card__media {
        width: min(282px, calc(100% - 48px));
        height: clamp(317px, calc(317px + (100vw - 375px) * .00513), 320px);
        min-height: 317px;
        margin: 36px auto 0;
    }
    .prices-treatment .treatment-card__copy { min-height: 356px; padding: 28px 36px; }
    .prices-treatment .treatment-card .section-kicker { font-size: 23px; line-height: 34px; }
    .prices-treatment .treatment-feature__text { font-size: clamp(20px, calc(20px + (100vw - 375px) * .00684), 24px); line-height: 1.42; }
    .prices-treatment .treatment-note {
        width: 100%;
        height: auto;
        min-height: 0;
        margin-top: 28px;
        padding: 0;
        border-left: 0;
        font-size: 15px;
        line-height: 22px;
    }
    .prices-treatment .treatment-steps {
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
        min-height: 0;
        margin-top: 21px;
        row-gap: 22px;
    }
    .prices-treatment .treatment-steps article,
    .prices-treatment .treatment-steps article:not(:first-child) { min-height: 0; padding: 0; border: 0; }
    .prices-treatment .treatment-button { width: 100%; min-width: 0; }

    .prices-safety { padding-bottom: clamp(64px, calc(64px + (100vw - 375px) * .08034), 111px); }
    .prices-safety h2 {
        margin-bottom: clamp(31px, calc(31px + (100vw - 375px) * .05299), 62px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
    }
    .prices-safety .about-safety__grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
    .prices-safety .about-safety__grid article { min-height: 0; padding: clamp(24px, 4vw, 38px); font-size: clamp(15px, calc(15px + (100vw - 375px) * .00855), 20px); line-height: 1.35; }

    .prices-offers .offers-section { padding-top: clamp(60px, calc(60px + (100vw - 375px) * .10085), 119px); padding-bottom: clamp(65px, calc(65px + (100vw - 375px) * .1453), 150px); }
    .prices-doctors .about-doctors { padding: clamp(64px, calc(64px + (100vw - 375px) * .1453), 149px) 0 clamp(59px, calc(59px + (100vw - 375px) * .15556), 150px); }
    .prices-first-visit .first-visit { padding: 0 0 clamp(48px, calc(48px + (100vw - 375px) * .11795), 117px); }
    .prices-first-visit .first-visit h2 { font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px); }
    .prices-first-visit .first-visit-video { min-height: 327px; height: clamp(327px, calc(327px + (100vw - 375px) * .29573), 500px); }
    .prices-appointment { padding-top: 0; padding-bottom: 35px; }
    .prices-appointment .appointment-collage { background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png'); }
    .prices-contacts { padding: 64px 0 36px; }
    .prices-contacts .map-frame { height: 433px; }
}

@media (max-width: 374.98px) {
    .page-prices .clinic-container,
    .page-prices .treatment-container,
    .page-prices .appointment-section .clinic-container {
        width: calc(100% - 48px);
        max-width: none;
    }
    .prices-breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .prices-intro__container h1 { margin: 34px 0 30px; font-size: 28px; line-height: 39px; }
    .prices-categories { grid-template-columns: 1fr; row-gap: 19px; }
    .prices-category { min-height: 41px; padding: 4px 10px 4px 14px; font-size: 14px; }
    .prices-intro__lead { margin-top: 35px; font-size: 14px; line-height: 20px; }
    .prices-intro__lead br { display: none; }

    .prices-packages { padding-top: 42px; }
    .prices-package-group + .prices-package-group { margin-top: 45px; }
    .prices-package-group h2 { margin-bottom: 29px; font-size: 28px; line-height: 39px; }
    .prices-package-grid { width: 100%; grid-template-columns: 1fr; }
    .prices-package-card { height: 360px; min-height: 360px; padding: 22px; }
    .prices-package-card h3 { margin-bottom: 16px; font-size: 15px; }
    .prices-package-card__content { font-size: 13px; line-height: 1.42; }
    .prices-package-card__footer { gap: 12px; }
    .prices-package-card__footer strong { font-size: 24px; }
    .prices-package-card__footer span { font-size: 11px; }

    .prices-download { padding: 38px 0 83px; }
    .prices-download__container > p { font-size: 18px; line-height: 25px; }
    .prices-download__container > p br { display: none; }
    .prices-download__links { margin-top: 35px; gap: 24px; }
    .prices-download__links a { font-size: 12px; line-height: 17px; }

    .prices-treatment .treatment-section { padding: 0 0 54px; }
    .prices-treatment .treatment-heading { margin-bottom: 30px; font-size: 28px; line-height: 39px; }
    .prices-treatment .treatment-layout { display: block; height: auto; }
    .prices-treatment .treatment-card { display: grid; grid-template-columns: 1fr; grid-template-rows: 536px 317px; height: 853px; overflow: hidden; border-radius: 18px; background: #dfdbd7; }
    .prices-treatment .treatment-card::before { display: none; }
    .prices-treatment .treatment-card__copy { grid-row: 1; justify-content: flex-start; height: 536px; padding: 25px 25px 11px; }
    .prices-treatment .treatment-card__media { grid-row: 2; width: 279px; height: 317px; min-height: 317px; margin: 0 24px; }
    .prices-treatment .treatment-card .section-kicker { margin-bottom: 12px; font-size: 23px; line-height: 34px; }
    .prices-treatment .treatment-feature__text { font-size: 24px; line-height: 34px; }
    .prices-treatment .treatment-note { width: 100%; height: auto; min-height: 0; margin-top: 28px; padding: 0; border-left: 0; font-size: 15px; line-height: 22px; }
    .prices-treatment .treatment-steps { grid-template-columns: 1fr; min-height: 0; margin-top: 21px; row-gap: 22px; }
    .prices-treatment .treatment-steps article,
    .prices-treatment .treatment-steps article:not(:first-child) { min-height: 0; padding: 0; border: 0; }
    .prices-treatment .treatment-button { width: 100%; min-width: 0; }

    .prices-safety { padding: 0 0 64px; }
    .prices-safety h2 { margin-bottom: 31px; font-size: 28px; line-height: 39px; }
    .prices-safety .about-safety__grid { grid-template-columns: 1fr; gap: 20px; }
    .prices-safety .about-safety__grid article { min-height: 0; padding: 24px; font-size: 15px; line-height: 21px; }

    .prices-offers .offers-section { padding: 60px 0 65px; }
    .prices-doctors .about-doctors { padding: 64px 0 59px; }
    .prices-doctors .about-doctors__head { display: block; margin-bottom: 32px; }
    .prices-doctors .about-doctors__head .slider-controls { margin-top: 26px; }
    .prices-first-visit .first-visit { padding: 0 0 27px; }
    .prices-first-visit .first-visit .section-head { display: block; margin-bottom: 22px; }
    .prices-first-visit .first-visit h2 { margin-bottom: 20px; font-size: 28px; line-height: 39px; }
    .prices-first-visit .first-visit-video { min-height: 327px; height: 327px; }
    .prices-appointment { padding: 24px 0; }
    .prices-appointment .appointment-collage { background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png'); }
    .prices-contacts { padding: 20px 0 24px; }
    .prices-contacts .contacts-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 25px; }
    .prices-contacts .contacts-head h2,
    .prices-contacts .contacts-head > a { font-size: 18px; }
    .prices-contacts .map-frame { height: 327px; }
}


.prices-service-list {
  display: grid;
  gap: 0;
  max-width: 920px;
}
.prices-service-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(39, 47, 57, 0.12);
}
.prices-service-row__name {
  font-size: 20px;
  line-height: 1.35;
  color: #27313d;
}
.prices-service-row__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  white-space: nowrap;
  font-size: 20px;
  color: #27313d;
}
.prices-service-row__meta strong {
  font-weight: 600;
}
.prices-service-row__meta span {
  color: #6b7580;
  font-size: 16px;
}
@media (max-width: 767px) {
  .prices-service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0;
  }
  .prices-service-row__name,
  .prices-service-row__meta {
    font-size: 16px;
  }
}

/* card-max-width */
.prices-package-card { max-width: 700px; }
/* prices-list-price */
.page-prices .prices-package-grid { width: 100%; max-width: 100%; }
.page-prices .prices-package-card { background: var(--price-card-bg, #eee7e1); max-width: 700px; }

.prices-package-card__content ul.prices-package-list,
.prices-package-list {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
}
.prices-package-list__item {
  display: list-item;
}
.prices-package-list__item + .prices-package-list__item {
  margin-top: 8px;
}
.prices-package-list__item--priced {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.prices-package-list__name {
  flex: 1 1 auto;
  min-width: 0;
}
.prices-package-list__price {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 500;
  color: #27313d;
}
.page-prices .prices-package-grid {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 959.98px) {
    .page-prices .prices-package-grid {
        grid-auto-rows: auto;
        align-items: start;
    }
    .page-prices .prices-package-card {
        box-sizing: border-box;
        height: auto !important;
        min-height: 360px;
    }
    .page-prices .prices-package-card__content,
    .page-prices .prices-package-list__name {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .page-prices .prices-package-list__item--priced {
        align-items: flex-start;
        gap: 12px;
    }
}
