/* =========================
   MENU BASE
========================= */

.menu__item {
    position: relative;
}

/* =========================
   LINK
========================= */

.menu__item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

/* только подпись ссылки растягивается и обрезается; стрелка не участвует */
.menu__link-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   ICON (FAQ STYLE)
========================= */

.menu-arrow {
    flex: 0 0 auto;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease;
}

/* =========================
   DESKTOP DROPDOWN
========================= */

.menu__item .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: #eef6ff;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    border-radius: 8px;
    z-index: 1000;
}

.menu__item.open > .sub-menu {
    display: block;
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.14rem;
    color: inherit;
}

/* Мобильное меню в style.css до 992px: .menu__item { width: auto } — строка не на всю ширину, стрелка «прыгает». Тянем пункт и ссылку на 100% ширины панели. */
@media (max-width: 992px) {
    .header__menu .menu__list {
        align-items: stretch;
        width: 100%;
    }

    .header__menu .menu__list > .menu__item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        align-self: stretch;
    }

    .header__menu .menu__item > a.menu__link {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
        box-sizing: border-box;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .menu__item {
        display: flex;
        flex-direction: column;
    }

    /* отступы между родителями */
    .menu__list > .menu__item {
        margin-bottom: 12px;
    }

    .menu__list > .menu__item:last-child {
        margin-bottom: 0;
    }

    .menu__item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .menu__item .sub-menu {
        display: none;
        position: static;
        width: 100%;
        background: #9ac5ef;
        margin: 0;
        padding: 0;
    }

    .menu__item.open > .sub-menu {
        display: flex;
        flex-direction: column;
    }

    .sub-menu li {
        margin: 0;
        padding: 0;
    }

    .sub-menu a {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        font-size: inherit;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu__item:hover,
    .menu__item.active {
        background: none !important;
    }

    .menu__item.open .menu-arrow {
        transform: rotate(180deg);
    }
}

/* Desktop (горизонтальное меню): подпись и стрелка в одну линию, по центру по вертикали, стрелка сразу после текста без разъезда в края */
@media (min-width: 993px) {
    .menu__list > .menu__item > a.menu__link {
        justify-content: flex-start;
        align-items: center;
        width: auto;
        max-width: 100%;
        gap: 0.06rem;
    }

    .menu__list > .menu__item > a.menu__link .menu__link-label {
        flex: 0 1 auto;
    }

    .menu__list > .menu__item > a.menu__link .menu-arrow {
        align-self: center;
        line-height: 0;
        position: relative;
        top: 0.015rem;
    }
}

/* Desktop: уменьшенная иконка + поворот с сохранением scale */
@media (min-width: 769px) {
    .menu-arrow {
        transform: scale(0.9);
    }

    .menu__item.open .menu-arrow {
        transform: scale(0.9) rotate(180deg);
    }
}

/* =========================
   WP FIX
========================= */

.menu__item.active > a,
.menu__item.current-menu-item > a {
    pointer-events: auto !important;
}

.menu-arrow.icon-30 {
    font-size: 15px; /* было ~30px → стало в 2 раза меньше */
    width: 15px;
    height: 15px;
}
.footer_info{
    font-size:12px;
}

@media (max-width: 767px) {
    .footer__socials {
        margin-bottom: 24px;
    }
    .footer__license {
        margin-top: 30px;
    }
}


/* =========================
   NBU EUR / UAH currency toggle
========================= */

.frankolab-currency-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.08rem;
    align-items: center;
    justify-content: flex-end;
}

.frankolab-currency-switch__btn {
    padding: 0.1rem 0.22rem;
    border-radius: 0.06rem;
    border: 1px solid rgba(31, 95, 168, 0.45);
    background: transparent;
    font-size: var(--txt-sm, 0.14rem);
    cursor: pointer;
    line-height: 1.35;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.frankolab-currency-switch__btn.is-active {
    background: var(--accent, #1f5fa8);
    color: #fff;
    border-color: var(--accent, #1f5fa8);
}

.frankolab-currency-switch__meta {
    width: 100%;
    margin: 0.1rem 0 0;
    color: rgba(19, 19, 19, 0.72);
}

.frankolab-currency-switch-col {
    text-align: right;
}

.frankolab-linked-services-price__switch-row .frankolab-currency-switch-col {
    margin-left: auto;
}

@media (max-width: 767px) {
    .frankolab-currency-switch-col {
        text-align: left;
    }

    .frankolab-linked-services-price__switch-row .frankolab-currency-switch-col {
        margin-left: 0;
    }
}

.frankolab-currency-context[data-frankolab-ccy-active='EUR'] .frankolab-prices__uah {
    display: none !important;
}

.frankolab-currency-context[data-frankolab-ccy-active='UAH'] .frankolab-prices__eur {
    display: none !important;
}

.frankolab-prices__dual {
    display: inline-block;
}

.frankolab-price-legal {
    padding: 0.28rem;
    border-radius: 8px;
    background: rgba(238, 246, 255, 0.7);
    font-size: var(--txt-sm, 0.14rem);
    line-height: 1.55;
}

.frankolab-price-legal p {
    margin: 0 0 0.12rem;
}

.frankolab-price-legal p:last-child {
    margin-bottom: 0;
}

.linked-service-price__row + .linked-service-price__row {
    border-top: 1px solid rgba(19, 19, 19, 0.1);
}

.linked-service-price {
    overflow: hidden;
}

.linked-service-price__row {
    gap: 0.16rem;
    padding: 0.22rem;
}

.linked-service-price__title-link {
    color: inherit;
    text-decoration: underline;
}

.linked-service-price__amount {
    min-width: 5rem;
}

@media (max-width: 991px) {
    .linked-service-price__cta {
        width: 100%;
    }
}

/* International phone: intl-tel-input */
.form-phone-intl {
    position: relative;
    z-index: 30;
}

.form-phone-intl:focus-within {
    z-index: 10001;
}

.form-phone-intl__row,
.form-phone-intl .iti {
    width: 100%;
}

.form-phone-intl .iti {
    display: block;
    position: relative;
    z-index: 10001;
}

.form-phone-intl .iti__tel-input.form__input {
    width: 100%;
}

.form-phone-intl .iti__country-container {
    left: 0;
}

.modal.show .modal__wrapper,
.modal.show .modal__body:has(.form-phone-intl) {
    overflow: visible !important;
}

.modal.show .modal__body:has(.form-phone-intl) {
    z-index: 10003;
}

.form-phone-intl .iti__selected-country {
    padding: 0 0.12rem;
    border-radius: 0;
    background: transparent;
    font: inherit;
}

.form-phone-intl .iti__selected-country-primary {
    gap: 0.08rem;
}

.form-phone-intl .iti__selected-dial-code {
    margin-left: 0.08rem;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: 500;
    color: #303535;
}

.iti__country-selector,
.form-phone-intl .iti__country-selector {
    z-index: 10002 !important;
}

.iti__dropdown-content,
.form-phone-intl .iti__dropdown-content {
    position: absolute !important;
    z-index: 10002 !important;
    width: min(3.39rem, calc(100vw - 0.7rem)) !important;
    max-width: calc(100vw - 0.7rem) !important;
    overflow: hidden !important;
    border: 1px solid rgba(48, 53, 53, 0.18) !important;
    border-radius: 0.12rem !important;
    background: #fff !important;
    box-shadow: 0 0.16rem 0.4rem rgba(19, 19, 19, 0.16) !important;
    color: #303535 !important;
}

.iti__search-input,
.form-phone-intl .iti__search-input {
    width: 100% !important;
    height: 0.44rem !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 0.14rem !important;
    border: 1px solid rgba(48, 53, 53, 0.18) !important;
    border-radius: 0.1rem !important;
    outline: none !important;
    background: #fff !important;
    color: #303535 !important;
    box-shadow: none !important;
    appearance: none !important;
}

.iti__search-input:focus,
.form-phone-intl .iti__search-input:focus {
    border-color: #9AC5EF !important;
}

.iti__country-list,
.form-phone-intl .iti__country-list {
    background: #fff !important;
}

.iti__country,
.form-phone-intl .iti__country {
    background: #fff !important;
    color: #303535 !important;
}

.iti__country:hover,
.iti__country.iti__highlight,
.form-phone-intl .iti__country:hover,
.form-phone-intl .iti__country.iti__highlight {
    background: #EEF6FF !important;
}

.doctor-consultation-form__fields .form-phone-intl .iti__selected-country {
    border-color: rgba(48, 53, 53, 0.35);
}

.doctor-consultation-form__fields .form__item:not(.form-phone-intl),
.doctor-consultation-form__fields .flatpickr-wrapper {
    position: relative;
    z-index: 1;
}

/* Doctor profile: rating, Instagram, reviews */
.doctor.section__doctor {
    padding-top: 0;
}

.doctor__breadcrumbs {
    margin-bottom: 0.32rem;
}

.doctor__photo {
    position: static;
    max-width: 5.76rem;
}

.doctor__photo .image {
    max-height: 5.76rem;
}

.doctor__photo .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-title-row {
    display: flex;
    align-items: center;
    gap: 0.16rem 0.24rem;
    margin-bottom: 0.3rem;
}

.doctor-title-row h1 {
    font-family: "Unbounded", sans-serif;
    font-size: 0.32rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.doctor-title-row .doctor-rating {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}

.doctor__role {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
}


.doctor-page .doctor__descr .item {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    column-gap: 0.2rem;
    margin-bottom: 0.12rem;
    max-width: 100%;
    min-width: 0;
}

.doctor__descr-label {
    flex: 0 0 auto;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: nowrap;
}

.doctor__descr-value {
    flex: 1 1 auto;
    min-width: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.doctor-page .doctor__action-text,
.doctor-page .doctor__action-text p {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
}

.doctor-page .doctor__action-text {
    width: 6.82rem;
    max-width: 100%;
    min-height: 1.8rem;
}

.doctor-page .doctor__action-text p {
    margin: 0;
    padding: 0;
}

.doctor-page .doctor__action-text > *:last-child {
    margin-bottom: 0;
}

.doctor-hero-meta {
    gap: 0.16rem 0.24rem;
}

.doctor-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.08rem 0.12rem;
}

.doctor-rating__stars {
    display: inline-flex;
    gap: 0.04rem;
}

.doctor-rating__star {
    width: 0.18rem;
    height: 0.18rem;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
    background: #dcecff;
}

.doctor-rating__star--full {
    background: #9AC5EF;
}

.doctor-rating__star--half {
    background: linear-gradient(90deg, #9AC5EF 50%, #dcecff 50%);
}

.doctor-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
}

.doctor__actions {
    display: flex;
    align-items: center;
    gap: 0.16rem;
    flex-wrap: wrap;
}

.doctor__actions .btn {
    margin-bottom: 0;
}

.doctor__actions .doctor-instagram {
    border: 1px solid #9AC5EF;
    background: #fff;
    color: #131313;
}

.doctor__actions .doctor-instagram:hover {
    background: #EEF6FF;
}

.doctor__reasons {
    margin-top: 0.24rem;
}

.doctor__reasons > div {
    padding: 0.5rem 0.6rem;
    border-radius: 0.1rem;
    background-color: #fff;
    border: 0.01rem solid #9AC5EF;
}

.doctor .doctor__reason-row.text-block__row {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.14rem;
    align-items: start;
    margin-bottom: 0.2rem;
}

.doctor .doctor__reason-row.text-block__row:last-child {
    margin-bottom: 0;
}

.doctor .doctor__reason-row.text-block__row .doctor__reason-index {
    font-family: "Unbounded", sans-serif;
    font-size: 0.2rem;
    font-weight: 500;
    line-height: 1;
    color: #131313;
    margin-bottom: 0;
}

.doctor .doctor__reason-row.text-block__row > div:last-child {
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(48, 53, 53, 0.75);
}

.doctor .doctor__reason-row.text-block__row > div:last-child > *:last-child {
    margin-bottom: 0;
}

.doctor-section--form .doctor-form {
    width: 100%;
}

.doctor-section--form {
    padding-top: 0;
}

.doctor-consultation-form {
    position: relative;
    overflow: hidden;
    padding: 0.48rem 0.52rem;
    border-radius: 0.14rem;
    background: #CFE6FF;
}

.doctor-consultation-form > .row {
    position: relative;
    z-index: 1;
}

.doctor-consultation-form .tooth-bg {
    position: absolute;
    left: -0.5rem;
    bottom: -0.5rem;
    width: 5.3rem;
    height: 3.2rem;
    z-index: 0;
    pointer-events: none;
}

.doctor-consultation-form .tooth-bg .icon {
    width: 100%;
    height: 100%;
}

.doctor-consultation-form__intro {
    max-width: 3.8rem;
}

.doctor-consultation-form__intro h3 {
    margin-bottom: 0.22rem;
}

.doctor-consultation-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.12rem 0.24rem;
}

.doctor-consultation-form__fields .form__item {
    margin-bottom: 0;
}

.doctor-consultation-form__fields .form__item_dropdown {
    position: relative;
    z-index: 20;
}

.doctor-consultation-form__fields .form__item_dropdown.is-dropdown-open {
    z-index: 2000;
}

.doctor-consultation-form__fields .dropdown {
    position: relative;
    width: 100%;
}

.doctor-consultation-form__fields .dropdown__btn {
    background: #CFE6FF !important;
}

.doctor-consultation-form__fields .dropdown__content {
    background: #CFE6FF;
    box-shadow: 0 0.12rem 0.3rem rgba(48, 53, 53, 0.16);
    pointer-events: none;
}

.doctor-consultation-form__fields .dropdown.active .dropdown__content,
.doctor-consultation-form__fields .dropdown:hover .dropdown__content,
.doctor-consultation-form__fields .dropdown.edge-dropdown-open .dropdown__content {
    visibility: visible;
    opacity: 1;
    z-index: 2050;
    pointer-events: auto;
}

.doctor-consultation-form__fields .form__input,
.doctor-consultation-form__fields .flatpickr-wrapper .form-control {
    background: transparent;
    border-color: rgba(48, 53, 53, 0.35);
}

.doctor-consultation-form__fields .dropdown__btn,
.doctor-consultation-form__fields .dropdown__content {
    border-color: rgba(48, 53, 53, 0.35);
}

.doctor-consultation-form__fields .flatpickr-wrapper {
    width: 100%;
}

.doctor-consultation-form__fields .flatpickr-wrapper .form-control {
    width: 100%;
}

.doctor-consultation-form__fields .form__item_row,
.doctor-consultation-form__fields .form__btn {
    grid-column: 1 / -1;
}

.doctor-consultation-form__fields textarea {
    min-height: 1.2rem;
}

.doctor-consultation-form__fields .form__btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.12rem;
}

.doctor-consultation-form__fields .form__btn .btn {
    min-width: 2.3rem;
    background: #fff;
    color: #303535;
}

@media (max-width: 991px) {
    .doctor-page .doctor.section.section__doctor {
        padding-bottom: 0 !important;
    }

    .doctor-page .doctor__breadcrumbs {
        flex-wrap: wrap;
        row-gap: 0.06rem;
        overflow: visible;
    }

    .doctor-page .doctor__breadcrumbs .breadcrumbs__item {
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    .doctor-page .doctor__hero,
    .doctor-page .doctor__details,
    .doctor-page .doctor__reasons {
        max-width: 100%;
        min-width: 0;
    }

    .doctor__layout {
        display: flex;
        flex-direction: column;
    }

    .doctor__layout > .doctor__sidebar,
    .doctor__layout > .doctor__content-col {
        display: contents;
    }

    .doctor__content {
        display: contents;
    }

    .doctor__hero {
        order: 1;
        margin-bottom: 0.24rem;
    }

    .doctor__photo {
        order: 2;
        max-width: 100%;
        width: 100%;
        margin-bottom: 0.24rem;
    }

    .doctor__photo .image {
        width: 100%;
        max-height: none;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .doctor .doctor__reason-row.text-block__row {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 0.16rem;
        align-items: start;
        margin-bottom: 0.16rem;
    }

    .doctor .doctor__reason-row.text-block__row:last-child {
        margin-bottom: 0;
    }

    .doctor .doctor__reason-row.text-block__row .doctor__reason-index {
        margin-bottom: 0;
        font-family: "Unbounded", sans-serif;
        font-size: 0.2rem;
        font-weight: 500;
        line-height: 1;
    }

    .doctor .doctor__reason-row.text-block__row > div:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
        word-wrap: break-word;
        font-size: 0.16rem;
        line-height: 1.35;
    }

    .doctor__reasons {
        order: 3;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0.24rem;
    }

    .doctor__reasons > div {
        padding: 0.28rem 0.32rem;
        border-radius: 0.24rem;
        border: 1px solid #9AC5EF;
        background-color: #fff;
    }

    .doctor__reasons > div > h5 {
        margin-bottom: 0.24rem;
        font-family: "Unbounded", sans-serif;
        font-size: 0.2rem;
        font-weight: 500;
        line-height: 1;
        color: #131313;
    }

    .doctor__details {
        display: contents;
    }

    .doctor__actions {
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.2rem;
        margin-bottom: 0.24rem;
    }

    .doctor__actions .btn {
        width: 2.85rem;
        max-width: 100%;
        height: 0.52rem;
        margin-bottom: 0;
        padding: 0.16rem 0.77rem;
        border-radius: 0.3rem;
        white-space: normal;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .doctor__actions .btn_fill {
        background-color: #9AC5EF;
        border: 1px solid #9AC5EF;
        color: #131313;
    }

    .doctor__actions .doctor-instagram {
        width: 2.85rem;
        max-width: 100%;
        border: 1px solid #9AC5EF;
        background: #fff;
        color: #131313;
        white-space: nowrap;
        flex-wrap: nowrap;
        gap: 0.08rem;
        padding: 0.16rem 0.24rem;
    }

    .doctor__actions .doctor-instagram span {
        white-space: nowrap;
    }

    .doctor__actions .doctor-instagram svg {
        flex-shrink: 0;
    }

    .doctor__quote {
        order: 5;
    }

    .doctor__action-text {
        order: 6;
    }

    .doctor-page .doctor-timeline-list {
        order: 7;
    }

    .doctor-title-row {
        display: block;
    }

    .doctor-title-row h1 {
        font-size: 0.32rem;
        line-height: 1.15;
        white-space: normal;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    .doctor-title-row .doctor-rating {
        margin-top: 0.12rem;
        margin-left: 0;
        white-space: normal;
        max-width: 100%;
    }

    .doctor-rating {
        flex-wrap: wrap;
        row-gap: 0.04rem;
        max-width: 100%;
    }

    .doctor-rating__count {
        flex: 0 0 100%;
        color: rgba(48, 53, 53, 0.65);
        white-space: normal;
    }

    .doctor__role {
        margin-bottom: 0.12rem;
        white-space: normal;
        overflow-wrap: anywhere;
        word-wrap: break-word;
        line-height: 1.35;
    }

    .doctor__descr {
        margin-bottom: 0;
    }

    .doctor__descr .item {
        flex-wrap: nowrap;
        max-width: 100%;
        min-width: 0;
    }

    .doctor__descr-label,
    .doctor__descr-value {
        white-space: normal;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    .doctor__quote,
    .doctor__action-text {
        white-space: normal;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    .doctor-page .doctor-timeline-list > h5,
    .doctor-page .doctor .doctor-timeline-list .doctor__timeline-full,
    .doctor-page .doctor-text-list__item,
    .doctor-page .doctor-reviews__author,
    .doctor-page .doctor-reviews__text,
    .doctor-page .doctor-reviews__form-intro,
    .doctor-page .doctor-consultation-form__intro {
        white-space: normal;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }

    .doctor-page .doctor-reviews__card-foot {
        flex-wrap: wrap;
    }

    .doctor-consultation-form__fields {
        grid-template-columns: 1fr;
    }

    .doctor-consultation-form__intro {
        max-width: 100%;
    }

    .doctor-consultation-form__fields .form__item,
    .doctor-consultation-form__fields .form-phone-intl,
    .doctor-consultation-form__fields .flatpickr-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .doctor-consultation-form__fields .form__input,
    .doctor-consultation-form__fields textarea,
    .doctor-consultation-form__fields .flatpickr-wrapper .form-control,
    .doctor-consultation-form__fields .dropdown {
        width: 100%;
    }

    .doctor-consultation-form__fields .form__btn {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .doctor-page .doctor.section.section__doctor {
        padding-bottom: 0 !important;
    }

    .doctor-page .doctor__hero {
        margin-bottom: 0.3rem !important;
    }

    .doctor-page .doctor__photo {
        margin-bottom: 0.3rem !important;
    }

    .doctor-page .doctor__reasons {
        margin-bottom: 0.3rem !important;
    }

    .doctor-page .doctor__reasons > div {
        padding: 0.4rem 0.2rem !important;
        border-radius: 0.24rem !important;
        border: 1px solid #9AC5EF !important;
    }

    .doctor-page .doctor__reasons > div > h5.f-weight_600.mb_24 {
        max-width: 1.94rem;
        min-height: 0.5rem;
        margin-bottom: 0.48rem !important;
        font-family: "Unbounded", sans-serif !important;
        font-weight: 500 !important;
        font-size: 0.2rem !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        color: #131313 !important;
    }

    .doctor-page .doctor .doctor__reason-row.text-block__row {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        column-gap: 0.32rem !important;
        margin-bottom: 0.32rem !important;
        align-items: start !important;
    }

    .doctor-page .doctor .doctor__reason-row.text-block__row:last-child {
        margin-bottom: 0 !important;
    }

    .doctor-page .doctor .doctor__reason-row.text-block__row .doctor__reason-index,
    .doctor-page .doctor .doctor__reason-row.text-block__row .doctor__reason-index.f-weight_500,
    .doctor-page .doctor .doctor__reason-row.text-block__row .doctor__reason-index.f-size_lg {
        font-family: "Unbounded", sans-serif !important;
        font-weight: 500 !important;
        font-size: 0.2rem !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        color: #131313 !important;
        margin-bottom: 0 !important;
    }

    .doctor-page .doctor .text-block__row .f-weight_500.doctor__reason-index {
        margin-bottom: 0 !important;
    }

    .doctor-page .doctor__actions.mb_40-20,
    .doctor-page .doctor__actions {
        gap: 0.2rem !important;
        margin-bottom: 36px;
    }

    .doctor-page .doctor__actions .btn {
        width: 2.85rem !important;
        max-width: 100% !important;
        height: 0.52rem !important;
        padding: 0.16rem 0.77rem !important;
        border-radius: 0.3rem !important;
        box-sizing: border-box !important;
    }

    .doctor-page .doctor__actions .doctor-instagram {
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        gap: 0.08rem !important;
        padding: 0.16rem 0.24rem !important;
    }

    .doctor-page .doctor__actions .doctor-instagram span {
        white-space: nowrap !important;
    }

    .doctor-page .doctor__actions .doctor-instagram svg {
        flex-shrink: 0;
        width: 0.24rem;
        height: 0.24rem;
    }

    .doctor-page .doctor-timeline-list > h5.f-weight_600.mb_24-12,
    .doctor-page .doctor-timeline-list > h5.f-weight_600 {
        font-family: "Unbounded", sans-serif !important;
        font-weight: 500 !important;
        font-size: 0.2rem !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        margin-bottom: 0.24rem !important;
    }

    .doctor-page .doctor__action-text.mb_32-16,
    .doctor__action-text,
    .doctor__action-text.mb_32-16,
    .doctor-page .doctor__action-text.mb_32-16 {
        margin-bottom: 0.38rem !important;
        padding-bottom: 0 !important;
    }

    .doctor-page .doctor__action-text p {
        margin: 0 !important;
        padding: 0 !important;
        font-family: "Montserrat", sans-serif !important;
        font-weight: 400 !important;
        font-style: normal !important;
        font-size: 16px !important;
        line-height: 100% !important;
        letter-spacing: 0 !important;
    }

    .doctor-page .doctor__quote.mb_32-16 {
        margin-bottom: 0.3rem !important;
    }

    .doctor-page .doctor-reviews__more,
    .doctor-page .doctor-review-form .form-submit,
    .doctor-page .doctor-consultation-form__fields .form__btn {
        display: flex;
        justify-content: center;
    }

    .doctor-page .doctor-reviews__more .btn,
    .doctor-page .doctor-review-form .form-submit .btn,
    .doctor-page .doctor-consultation-form__fields .form__btn .btn {
        width: 2.85rem !important;
        max-width: 100% !important;
        height: 0.52rem !important;
        padding: 0.16rem 0.77rem !important;
        border-radius: 0.3rem !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .doctor-page .doctor-reviews__more .btn,
    .doctor-page .doctor-review-form .form-submit input.btn {
        padding-left: 0.12rem !important;
        padding-right: 0.12rem !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .doctor-page .doctor-review-form .form-submit input.btn {
        display: block;
        height: 0.52rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 0.52rem !important;
        appearance: none;
        -webkit-appearance: none;
    }
}

.doctor-text-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.doctor-text-list__item {
    position: relative;
    padding-left: 0.28rem;
}

.doctor-text-list__item + .doctor-text-list__item {
    margin-top: 0.18rem;
}

.doctor-timeline-list > h5 {
    font-family: "Unbounded", sans-serif;
    font-size: 0.25rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.doctor .doctor-timeline-list .doctor__timeline-row.text-block__row {
    position: relative;
    display: block;
    grid-template-columns: none;
    padding-left: 0.28rem;
    margin-bottom: 0.18rem;
}

.doctor__timeline-marker {
    position: absolute;
    top: 0.02rem;
    left: 0;
    width: 0.12rem;
    height: 0.12rem;
    border-radius: 50%;
    background: #9AC5EF;
    z-index: 1;
}

.doctor .doctor-timeline-list .doctor__timeline-row::after,
.doctor-text-list__item::after {
    content: "";
    position: absolute;
    top: 0.16rem;
    bottom: -0.18rem;
    left: 0.055rem;
    border-left: 1px solid #D9D9D9;
}

.doctor .doctor-timeline-list .doctor__timeline-row:last-child::after,
.doctor-text-list__item:last-child::after {
    display: none;
}

.doctor .doctor-timeline-list .doctor__timeline-full {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.doctor .doctor-timeline-list .doctor__timeline-full > *:last-child {
    margin-bottom: 0;
}

.doctor__timeline-row.doctor__timeline-row:has(.doctor__timeline-full) {
    grid-template-columns: 1fr;
}

.doctor-reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
}

.doctor-reviews__clip {
    max-height: 820px;
    overflow: hidden;
}

.doctor-reviews__clip.is-expanded {
    max-height: none;
}

.doctor-section--reviews .row {
    margin-bottom: 0.16rem;
}

.doctor-reviews__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 2.9rem;
    margin: 0;
    padding: 0.28rem 0.28rem 0.24rem;
    border: 1px solid #D9D9D9;
    border-radius: 0.14rem;
    background: #fff;
}

.doctor-reviews__card--hidden {
    display: none;
}

.doctor-reviews__quote {
    height: 0.36rem;
    margin-bottom: 0.14rem;
    font-family: "Unbounded", sans-serif;
    font-size: 0.48rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #131313;
}

.doctor-reviews__text {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.08rem;
    margin-bottom: 0.22rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0;
}
.doctor .doctor__reason-row.text-block__row > div:last-child {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(48, 53, 53, 0.75);
}


.doctor-reviews__author {
    margin-bottom: 0.1rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.doctor-reviews__date {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(19, 19, 19, 0.75);
}

.doctor-reviews__card-rating .doctor-rating__stars {
    gap: 0.03rem;
}

.doctor-reviews__card-rating .doctor-rating__star {
    width: 0.16rem;
    height: 0.16rem;
}

.doctor-reviews__more {
    display: none;
    margin-top: 20px;
    text-align: center;
}

.doctor-reviews__more.is-visible {
    display: flex;
    justify-content: center;
}

.doctor-reviews__form {
    position: relative;
    overflow: hidden;
    margin-top: 0.48rem;
    padding: 0.46rem 0.52rem;
    border: 1px solid #D9D9D9;
    border-radius: 0.14rem;
    background: #fff;
}

.doctor-reviews__form::before {
    content: "";
    position: absolute;
    left: -0.18rem;
    bottom: -0.2rem;
    width: 4.92rem;
    height: 2.9rem;
    background: url("data:image/svg+xml,%3Csvg width='492' height='290' viewBox='0 0 492 290' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M110.979 0C49.6864 0 0 49.7169 0 111.049C0 172.36 49.6864 222.076 110.979 222.076C110.979 222.076 110.442 263.325 76.9415 322.694C73.2203 334.589 79.8546 347.257 91.753 350.958C100.196 353.615 109.08 351.032 114.816 345.021C191.847 260.743 222 161.553 222 111.049C222 49.716 172.314 0 110.979 0Z' fill='%239AC5EF' fill-opacity='0.16'/%3E%3Cpath d='M380.979 0C319.686 0 270 49.7169 270 111.049C270 172.36 319.686 222.076 380.979 222.076C380.979 222.076 380.442 263.325 346.941 322.694C343.22 334.589 349.855 347.257 361.753 350.958C370.196 353.615 379.08 351.032 384.816 345.021C461.847 260.743 492 161.553 492 111.049C492 49.716 442.314 0 380.979 0Z' fill='%239AC5EF' fill-opacity='0.16'/%3E%3C/svg%3E") left bottom / contain no-repeat;
    pointer-events: none;
}

.doctor-reviews__form > .row {
    position: relative;
    z-index: 1;
}

.doctor-reviews__form-intro {
    max-width: 3.6rem;
}

.doctor-reviews__form .comment-reply-title {
    display: none;
}

.doctor-review-form__top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.24rem;
}

.doctor-review-form__comment {
    margin-top: 0.46rem;
}

.doctor-review-form__date .form__input {
    padding-right: 0.48rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.16rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #30353580;
}

.doctor-review-form__date .date-item__icon {
    right: 0.16rem;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.doctor-review-form__date .date-item__icon span::before {
    color: #30353580;
}

.doctor-review-form__comment textarea {
    min-height: 1.2rem;
}

.doctor-review-form .form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.2rem;
    margin-bottom: 0;
}

.doctor-reviews__notice {
    padding: 0.16rem 0.2rem;
    background: #eef6ff;
    border: 1px solid #9ac5ef;
}

.doctor-review-form .comment-form {
    margin: 0;
}

.doctor-review-form__stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.06rem;
}

.doctor-review-form__stars label {
    cursor: pointer;
}

.doctor-review-form__stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.doctor-review-form__stars label span {
    display: block;
    width: 0.28rem;
    height: 0.28rem;
    text-indent: -9999px;
    overflow: hidden;
    background: #dcecff;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
}

.doctor-review-form__stars label:hover span,
.doctor-review-form__stars label:hover ~ label span,
.doctor-review-form__stars input:checked ~ span,
.doctor-review-form__stars input:checked + span {
    background: #9AC5EF;
}

@media (min-width: 768px) {
    .doctor-reviews__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .doctor-reviews__form .doctor-review-form__top {
        grid-template-columns: 1fr;
        gap: 0.16rem;
    }

    .doctor-reviews__form .doctor-review-form__top .form__item,
    .doctor-reviews__form .doctor-review-form__comment {
        width: 100%;
        max-width: 100%;
    }

    .doctor-reviews__form .doctor-review-form__top .form__input,
    .doctor-reviews__form .doctor-review-form__comment textarea,
    .doctor-reviews__form .doctor-review-form__date {
        width: 100%;
    }

    .doctor-reviews__form .doctor-review-form__comment.form__item_row {
        grid-column: auto;
    }

    .doctor-reviews__form-intro {
        max-width: 100%;
    }

    .doctor-consultation-form__fields {
        grid-template-columns: 1fr;
        gap: 0.16rem;
    }

    .doctor-consultation-form__intro {
        max-width: 100%;
    }

    .doctor-consultation-form__fields .form__item,
    .doctor-consultation-form__fields .form-phone-intl,
    .doctor-consultation-form__fields .flatpickr-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .doctor-consultation-form__fields .form__input,
    .doctor-consultation-form__fields textarea,
    .doctor-consultation-form__fields .flatpickr-wrapper .form-control,
    .doctor-consultation-form__fields .dropdown {
        width: 100%;
    }

    .doctor-consultation-form__fields .form__btn {
        justify-content: center;
    }

    .doctor-page .doctor-reviews__more,
    .doctor-page .doctor-review-form .form-submit,
    .doctor-page .doctor-consultation-form__fields .form__btn {
        display: flex;
        justify-content: center;
    }

    .doctor-page .doctor-reviews__more .btn,
    .doctor-page .doctor-review-form .form-submit .btn,
    .doctor-page .doctor-consultation-form__fields .form__btn .btn {
        width: 2.85rem !important;
        max-width: 100% !important;
        height: 0.52rem !important;
        padding: 0.16rem 0.77rem !important;
        border-radius: 0.3rem !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .doctor-page .doctor-reviews__more .btn,
    .doctor-page .doctor-review-form .form-submit input.btn {
        padding-left: 0.12rem !important;
        padding-right: 0.12rem !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .doctor-page .doctor-review-form .form-submit input.btn {
        display: block;
        height: 0.52rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 0.52rem !important;
        appearance: none;
        -webkit-appearance: none;
    }
}

@media (max-width: 576px) {
    .doctor-reviews__form,
    .doctor-consultation-form {
        padding-left: 0.182rem;
        padding-right: 0.182rem;
    }

    .doctor-reviews__form .doctor-review-form .form-submit {
        justify-content: center;
    }

    .doctor-reviews__form .doctor-review-form .form-submit .btn {
        width: 2.85rem;
        max-width: 100%;
        height: 0.52rem;
        padding: 0.16rem 0.12rem;
        border-radius: 0.3rem;
        box-sizing: border-box;
        white-space: nowrap;
        text-align: center;
    }

    .doctor-reviews__form .doctor-review-form .form-submit input.btn {
        display: block;
        height: 0.52rem;
        padding-top: 0;
        padding-bottom: 0;
        line-height: 0.52rem;
        appearance: none;
        -webkit-appearance: none;
    }

    .doctor-page .doctor-reviews__more .btn {
        padding-left: 0.12rem !important;
        padding-right: 0.12rem !important;
        white-space: nowrap !important;
    }
}

/* Обладнання (головна): дубль стилів team__slider — edge.css з filemtime, щоб не залипав кеш style.css */
.section__equipment .team__slider .swiper-wrapper {
    padding-bottom: 1rem;
}

.section__equipment .team__slider .swiper-navigation {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.section__equipment img {
    object-fit: cover;
}

.section__equipment .doctor-card {
    display: flex;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: default;
}

.section__equipment .doctor-card__photo {
    height: 3.28rem !important;
}

.section__equipment .doctor-card__photo .image img:only-child {
    z-index: 2;
    opacity: 1;
}

.section__equipment .doctor-card:hover .image img:only-child {
    opacity: 1;
}

.section__equipment {
    padding-bottom: 0;
}

.section__equipment .team__slider,
.section__equipment .equipment__slider {
    padding-bottom: 0;
}

.section__equipment .team__slider .swiper-wrapper,
.section__equipment .equipment__slider .swiper-wrapper {
    padding-bottom: 0.6rem;
}

/* Ensure readable line-height for doctor description when text wraps */
.doctor__role,
.doctor__descr-label,
.doctor__descr-value {
    line-height: 1.35 !important;
}

/* Сертифікати лікаря: зображення на всю ширину слайда (без «порожніх» проміжків) */
.section__history.history.certificates-history [data-swiper="history"] .history__item {
    display: block;
    width: 100%;
}

.section__history.history.certificates-history [data-swiper="history"] .history__item .border_radius,
.section__history.history.certificates-history [data-swiper="history"] .history__item a {
    display: block;
    width: 100%;
}

.section__history.history.certificates-history [data-swiper="history"] .history__item img {
    display: block;
    width: 100%;
    height: auto;
}

