@font-face {
    font-display: swap;
    font-family: "Circe";
    font-weight: 300;
    src: url("../fonts/Circe/Circe300.woff2") format("woff2"),
    url("../fonts/Circe/Circe300.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "Circe";
    font-weight: 400;
    src: url("../fonts/Circe/Circe400.woff2") format("woff2"),
    url("../fonts/Circe/Circe400.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "Circe";
    font-weight: 700;
    src: url("../fonts/Circe/Circe700.woff2") format("woff2"),
    url("../fonts/Circe/Circe700.woff") format("woff");
}

:root {
    --font-family: "Circe", sans-serif;
    --second-family: "Arial", sans-serif;
    --widget-navy: #063152;
    --widget-orange: #ed9256;
    --widget-orange-dark: #d97f45;
    --widget-text: #4a6d8c;
    --widget-meta: #9aa9b2;
    --widget-beige: #f2f1eb;
    --widget-white: #ffffff;
    --widget-border: #ed9256;
    --widget-radius: 24px;
    --widget-radius-sm: 16px;
    --widget-width: 320px;
    --widget-width-desktop: 770px;
    --widget-height-desktop: 1024px;
    --widget-height-mobile: calc(100dvh - 40px);
    --widget-brown: #c05a17;
    --widget-scroll: var(--widget-brown);
    --widget-hover: #faf9f6;
    --widget-photo: #d8dfe4;
    --widget-card-border: #d38c5d;
    --widget-divider: #c5d0d8;
    --widget-track: #eff0f3;
    --widget-input-bg: #ebebeb;
    --widget-soft: #eaeaed;
    --widget-connector: #99a8b1;
    --widget-metro-teal: #6ac9c8;
    --widget-metro-rose: #ffa8af;
    --widget-metro-purple: #8e479b;
    --widget-navy-45: rgba(6, 49, 82, 0.45);
    --widget-navy-12: rgba(6, 49, 82, 0.12);
    --db-font: "Circe", sans-serif;
    --db-navy: #063152;
    --db-orange: #ed9256;
    --db-orange-dark: #d97f45;
    --db-meta: #8a9bab;
    --db-beige: #f2f1eb;
    --db-white: #ffffff;
    --db-border: #c05a17;
    --db-radius: 20px;
    --db-radius-sm: 14px;
    --db-muted: #9aa9b2;
    --db-connector: #99a8b1;
    --db-photo: #d9d9d9;
    --db-photo-alt: #d9dde1;
    --db-soft: #eaeaed;
    --db-line: #c5cdd3;
    --db-shadow: #0000001c;
    --db-scroll: #c05a17;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: var(--font-family);
}
* {
    word-break: break-word;
}

body {
    margin: 0;
}

body.is-popup-open {
    overflow: hidden;
}

.booking-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.booking-popup.is-open {
    visibility: visible;
    opacity: 1;
}

.booking-popup__overlay {
    position: absolute;
    inset: 0;
    background: var(--widget-navy-45);
    cursor: pointer;
}

.booking-popup__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--widget-width);
    max-height: 92vh;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.booking-popup.is-open .booking-popup__dialog {
    transform: translateY(0);
}

.booking-popup .booking-widget {
    max-height: 92vh;
    min-height: 0;
    border: none;
    border-radius: var(--widget-radius) var(--widget-radius) 0 0;
}

@media (min-width: 481px) {
    .booking-popup {
        align-items: center;
        padding: 20px;
    }

    .booking-popup__dialog {
        width: var(--widget-width-desktop);
        max-width: var(--widget-width-desktop);
        height: var(--widget-height-desktop);
        max-height: min(var(--widget-height-desktop), 90vh);
        transform: translateY(24px) scale(0.98);
    }

    .booking-popup.is-open .booking-popup__dialog {
        transform: translateY(0) scale(1);
    }

    .booking-popup .booking-widget {
        width: var(--widget-width-desktop);
        max-width: var(--widget-width-desktop);
        height: 100%;
        max-height: 100%;
        border: 0.5px solid var(--widget-border);
        border-radius: 20px 0 0 20px;
    }

    .booking-widget:has([data-screen="success"].is-active) {
        border-radius: 20px;
        background: var(--widget-white);
        border: none;
    }

    .booking-widget__screen[data-screen="success"] {
        background: var(--widget-white);
        border-radius: 20px;
        border: none;
    }

    .widget-step__title,
    .widget-clinic__title {
        font-size: 28px;
    }

    .widget-specialist-item {
        min-height: 52px;
        font-size: 14px;
    }

    .widget-service-card {
        min-height: 88px;
        padding: 18px 20px;
    }

    .widget-service-card__name {
        font-size: 14px;
    }
}

@media (max-width: 770px) {
    .booking-popup {
        align-items: center;
        justify-content: center;
    }

    .booking-popup__dialog {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        height: calc(100dvh - 40px);
        max-height: calc(100dvh - 40px);
    }

    .booking-popup.is-open .booking-popup__dialog {
        transform: none;
    }

    .booking-popup .booking-widget,
    .booking-widget {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        min-height: 0;
        border: none;
        border-radius: 20px 20px 0 0;
    }

    .booking-widget__screen {
        height: 100%;
        border: 0.5px solid var(--widget-brown);
        border-radius: 20px 20px 0 0;
        background: var(--widget-white);
    }

    .widget-start__heading,
    .widget-clinic__title,
    .widget-step__title {
        font-size: 22px;
    }
}

.booking-widget {
    width: 100%;
    max-width: var(--widget-width);
    min-height: 720px;
    background: var(--widget-white);
    border: 1px solid var(--widget-border);
    border-radius: var(--widget-radius) var(--widget-radius) 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    color: var(--widget-navy);
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 481px) {
    .booking-widget {
        width: var(--widget-width-desktop);
        max-width: var(--widget-width-desktop);
        height: var(--widget-height-desktop);
        min-height: 0;
        max-height: min(var(--widget-height-desktop), 90vh);
        border: 0.5px solid var(--widget-border);
        border-radius: 20px 0 0 20px;
    }
}

.booking-widget__screen {
    display: none;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.booking-widget__screen.is-active {
    display: flex;
}

.widget-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 44px 56px 35px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--widget-orange);
}

.widget-header__title,
.booking-popup--inline .widget-header__title {
    margin: 0;
    color: var(--widget-navy);
    text-align: center;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-header__title--sub {
    letter-spacing: 0;
    text-transform: none;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
}

.widget-header__home {
    position: absolute;
    left: 40px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--widget-navy);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
}

.widget-header__close {
    position: absolute;
    right: 40px;
    top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--widget-orange);
    cursor: pointer;
}
.widget-header::before {
    content: '';
    height: 3px;
    display: block;
    position: absolute;
    width: 68px;
    background: var(--widget-track);
    top: 7px;
}

.widget-header__close img {
    display: block;
    width: 18px;
    height: 16px;
}

.widget-start {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.widget-start__heading {
    margin: 0 0 40px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 32px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-start__options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-option {
    display: grid;
    grid-template-columns: 51px 1fr 30px;
    align-items: center;
    gap: 30px;
    width: 100%;
    min-height: 60px;
    padding: 8px 40px 8px 40px;
    border: 0;
    background: var(--widget-orange);
    font-family: var(--font-family);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0 0 50px 0;
}

.widget-option:hover {
    background: var(--widget-orange-dark);
}

.widget-option__icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex-shrink: 0;
}

.widget-option__icon img {
    display: block;
    max-width: max-content;
    width: auto;
    height: auto;
}

.widget-option__label {
    color: var(--widget-white);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-option__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--widget-white);
    flex-shrink: 0;
}

.widget-option__next img {
    display: block;
    width: 17px;
    height: 16px;
}

.widget-stepper {
    padding: 0 12px 16px;
    flex-shrink: 0;
}

.widget-stepper__list,
.booking-popup--inline .widget-stepper__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.widget-stepper__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: max-content;
    max-width: 100px;
}
.widget-stepper__item::before,
.booking-popup--inline .widget-stepper__item::before {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% - 21px);
    width: 5px;
    height: 1px;
    background: var(--widget-white);
    z-index: 0;
    pointer-events: none;
}

.widget-stepper__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(49% + 16px);
    height: 1px;
    background: linear-gradient(to right, var(--widget-white) 0 5px, var(--widget-photo) 5px 100%);
    z-index: 0;
    pointer-events: none;
}

.widget-stepper--steps-5 .widget-stepper__item:not(:last-child)::after {
    width: 130px;
}

.widget-stepper--steps-4 .widget-stepper__item:not(:last-child)::after {
    width: 174px;
}

.widget-stepper--steps-3 .widget-stepper__item:not(:last-child)::after {
    width: 265px;
}

.widget-stepper__item.is-done:not(:last-child)::after, .widget-stepper__item.is-active:not(:last-child)::after {
    background: linear-gradient(to right, var(--widget-white) 0 5px, var(--widget-orange) 5px 100%);
}

.widget-stepper__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--widget-navy);
    background: var(--widget-white);
    border: 1px solid var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 10px;
    padding-top: 3px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.widget-stepper__item.is-active .widget-stepper__num,
.widget-stepper__item.is-done .widget-stepper__num {
    color: var(--widget-white);
    background: var(--widget-orange);
    border-color: var(--widget-orange);
}

@media (min-width: 481px) {
    .widget-stepper {
        padding: 40px;
    }

    .widget-stepper__num {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .widget-stepper__label {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        line-height: 81%;
        letter-spacing: 0.02em;
        color: var(--widget-navy);
        width: 100%;
        text-align: center;
        max-width: max-content;
    }
}

.widget-step,
.widget-clinic {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 20px 20px;
    margin-right: 4px;
    overflow-y: auto;
}

@supports not selector(::-webkit-scrollbar) {
    .widget-step,
    .widget-clinic {
        scrollbar-width: thin;
        scrollbar-color: var(--widget-scroll) transparent;
    }
}

.widget-step::-webkit-scrollbar,
.widget-clinic::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    background: transparent;
}

.widget-step::-webkit-scrollbar-button,
.widget-clinic::-webkit-scrollbar-button,
.widget-step::-webkit-scrollbar-button:vertical:start:decrement,
.widget-clinic::-webkit-scrollbar-button:vertical:start:decrement,
.widget-step::-webkit-scrollbar-button:vertical:end:increment,
.widget-clinic::-webkit-scrollbar-button:vertical:end:increment {
    display: block;
    width: 0;
    height: 0;
    background: transparent;
    border: 0;
}

.widget-step::-webkit-scrollbar-track,
.widget-clinic::-webkit-scrollbar-track {
    background: transparent;
}

.widget-step::-webkit-scrollbar-thumb,
.widget-clinic::-webkit-scrollbar-thumb {
    background-color: var(--widget-scroll);
    border: none;
    border-radius: 2px;
}

.widget-step::-webkit-scrollbar-corner,
.widget-clinic::-webkit-scrollbar-corner {
    background: transparent;
}

.widget-step--patient {
    padding-bottom: 0;
}

.widget-step--datetime {
    padding-bottom: 0;
}

@media (min-width: 481px) {
    .widget-step,
    .widget-clinic {
        padding: 0 40px 40px;
    }

    .widget-step--datetime,
    .widget-step--patient {
        padding-bottom: 0;
    }
}

.widget-step__back,
.widget-clinic__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--widget-meta);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.widget-step__back img, .widget-clinic__back img {
    margin-top: -5px;
}
.widget-step__back img,
.widget-clinic__back img {
    display: block;
    width: 12px;
    height: 11px;
}

.widget-step__title,
.widget-clinic__title,
.booking-popup--inline .widget-step__title,
.booking-popup--inline .widget-clinic__title {
    margin: 0 0 20px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 32px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-clinic__title-extra {
    display: none;
}

.booking-widget[data-flow="service"] .widget-clinic__title-extra {
    display: inline;
}

.widget-search {
    position: relative;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.widget-search__icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    pointer-events: none;
}

.widget-search__icon img {
    display: block;
    width: 18px;
    height: auto;
}

.widget-search__input {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 48px;
    border-radius: 0 0 20px 0;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--widget-navy);
    background: var(--widget-white);
    outline: none;
    border: 0.50px solid var(--widget-brown);
}

.widget-search__input::placeholder {
    color: var(--widget-meta);
}

.widget-search__input:focus {
    border-color: var(--widget-orange);
}

.widget-clinic__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-clinic-card {
    display: block;
    width: 100%;
    padding: 20px;
    border: 0.50px solid var(--widget-brown);
    border-radius: 20px;
    background: var(--widget-white);
    text-align: left;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.widget-clinic-card:hover {
    background: var(--widget-hover);
}

.widget-clinic-card.is-selected {
    background: var(--widget-beige);
}

.widget-clinic-card__name,
.booking-popup--inline .widget-clinic-card__name {
    margin: 0 0 6px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-clinic-card__address {
    margin: 0 0 21px;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
    opacity: 0.6;
}

.widget-clinic-card__metro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-clinic-card__metro-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
    opacity: 0.6;
}

.widget-clinic-card__metro-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.widget-clinic-card__metro-dot--teal {
    background: var(--widget-metro-teal);
}

.widget-clinic-card__metro-dot--orange {
    background: var(--widget-metro-rose);
}

.widget-clinic-card__metro-dot--purple {
    background: var(--widget-metro-purple);
}

.booking-widget[data-flow="service"] .widget-clinic-card--nav {
    display: none;
}

.booking-widget:not([data-flow="service"]) .widget-clinic-card--pick {
    display: none;
}

.widget-clinic-card--pick {
    cursor: default;
    padding: 20px;
}

.widget-clinic-card--pick.is-expanded {
    background: var(--widget-beige);
}

.widget-clinic-card__head {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font-family: var(--font-family);
    cursor: pointer;
}

.widget-clinic-card__summary {
    flex: 1;
    min-width: 0;
}

.widget-clinic-card__toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--widget-orange);
    transition: transform 0.2s ease;
}

.widget-clinic-card__toggle svg {
    display: block;
    width: 16px;
    height: 17px;
}

.widget-clinic-card--pick.is-expanded .widget-clinic-card__toggle {
    transform: rotate(180deg);
}

@media (min-width: 481px) {
    .widget-clinic-card__toggle {
        width: 30px;
        height: 30px;
    }

}

.widget-clinic-card__doctors {
    margin-top: 15px;
}

.widget-clinic-doctor-card {
    padding: 20px;
    border-radius: 20px;
    background: var(--widget-white);
}

.widget-clinic-doctor-card.is-selected {
    box-shadow: inset 0 0 0 1px var(--widget-orange);
}

.widget-clinic-doctor-card + .widget-clinic-doctor-card {
    margin-top: 12px;
}

.widget-clinic-doctor-card__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.widget-clinic-doctor-card__photo {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--widget-photo);
}

.widget-clinic-doctor-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.widget-clinic-doctor-card__info {
    flex: 1;
    min-width: 0;
}

.widget-clinic-doctor-card__specialty {
    font-family: var(--font-family);
    font-weight: 350;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
}

.widget-clinic-doctor-card__name {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--widget-navy);
    font-weight: 400;
}

.widget-clinic-doctor-card__meta {
    margin: 0 0 6px;
    font-family: var(--font-family);
    font-weight: 350;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
    opacity: 0.6;
}
.widget-clinic-doctor-card__choose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 153px;
    padding: 8px 28px;
    background: var(--widget-navy);
    cursor: pointer;
    transition: opacity 0.2s ease;
    border: 0.50px solid var(--widget-navy);
    border-radius: 0 20px 0 0;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: var(--widget-white);
}

.widget-clinic-doctor-card__choose:hover {
    opacity: 0.9;
}

.widget-specialist-list,
.widget-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-specialist-list li,
.booking-popup--inline .widget-specialist-list li{
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: none !important
}

.widget-specialist-list li:before,
.booking-popup--inline .widget-specialist-list li:before{
    display: none;
    padding-left: 0;
}

.widget-specialist-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 40px;
    background: var(--widget-white);
    text-align: left;
    color: var(--widget-navy);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 0.50px solid var(--widget-card-border);
    border-radius: 20px;
}

.widget-specialist-item:hover {
    background: var(--widget-hover);
}

.widget-specialist-item.is-selected {
    background: var(--widget-beige);
}

@media (min-width: 481px) {

    .widget-specialist-item {
        border-radius: 20px;
    }
}

.widget-service-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 80px;
    padding: 20px;
    border: 1px solid var(--widget-border);
    border-radius: 20px;
    background: var(--widget-white);
    font-family: var(--font-family);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.widget-service-card:hover {
    background: var(--widget-hover);
}

.widget-service-card.is-selected {
    background: var(--widget-beige);
}

.widget-service-card__body {
    display: flex;
    flex-direction: column;
    gap: 23px;
    flex: 1;
    min-width: 0;
}

.widget-service-card__name {
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-service-card__price {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: var(--widget-orange);
}

.widget-service-card__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--widget-orange);
    flex-shrink: 0;
}

.widget-service-card__next img {
    display: block;
    width: 15px;
    height: 14px;
    filter: brightness(0) invert(1);
}

@media (min-width: 481px) {
    .widget-service-card__next {
        width: 30px;
        height: 30px;
    }

    .widget-service-card__price {
        font-size: 15px;
    }
}

.widget-doctor-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-doctor-list li,
.booking-popup--inline .widget-doctor-list li{
    padding: 0 !important;
    border: none !important;
}
.widget-doctor-list li:before,
.booking-popup--inline .widget-doctor-list li:before{
    display: none;
}

.widget-doctor-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--widget-border);
    border-radius: var(--widget-radius-sm);
    background: var(--widget-white);
}

.widget-doctor-card.is-selected {
    background: var(--widget-beige);
}

.widget-doctor-card__top {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.widget-doctor-card__photo {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--widget-photo);
}

.widget-doctor-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.widget-doctor-card__info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.widget-doctor-card__specialty {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--widget-navy);
    opacity: 0.6;
    font-weight: 300;
}

.widget-doctor-card__name,
.booking-popup--inline .widget-doctor-card__name {
    margin: 0 0 6px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--widget-navy);
}

.widget-doctor-card__meta {
    margin: 0 0 6px;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
    opacity: 0.6;
}

.widget-doctor-card__meta:last-child {
    margin-bottom: 0;
}

.widget-doctor-card__choose {
    width: 100%;
    padding: 12px 16px;
    background: var(--widget-navy);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--widget-white);
    cursor: pointer;
    transition: opacity 0.2s ease;
    border: 0.50px solid var(--widget-navy);
    border-radius: 0 20px 0 0;
    max-width: 153px;
}

.widget-doctor-card__choose:hover {
    opacity: 0.9;
}

.widget-step--doctor {
    padding-bottom: 24px;
}

.widget-step--datetime {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.widget-datetime__title--desktop,
.widget-datetime-summary__heading,
.widget-datetime-picker__heading {
    display: none;
}

.widget-datetime__title--mobile {
    display: block;
}

.widget-datetime-summary {
    margin-bottom: 16px;
}

.widget-datetime-summary__card {
    padding: 20px;

    border-radius: 20px;
    background: var(--widget-beige);
}

.widget-datetime-summary__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.widget-datetime-summary__photo {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    overflow: hidden;
    border-radius: 600px;
}

.widget-datetime-summary__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.widget-datetime-summary__info {
    flex: 1;
    min-width: 0;
}

.widget-datetime-summary__meta {
    margin: 0 0 6px;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
    opacity: 0.6;
}

.widget-datetime-summary__name {
    margin: 0 0 6px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-datetime-summary__card--service {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-datetime-specialty,
.widget-datetime-service-cta {
    display: none;
}

.booking-widget[data-flow="doctor"] .widget-datetime-summary--service {
    display: none;
}

.booking-widget[data-flow="doctor"] .widget-datetime-summary--doctor .widget-datetime-summary__heading {
    display: none;
}

.booking-widget[data-flow="doctor"] .widget-datetime-specialty,
.booking-widget[data-flow="doctor"] .widget-datetime-service-cta {
    display: block;
}

.booking-widget[data-flow="doctor"] .widget-datetime-picker__heading {
    display: block;
    margin: 0 0 12px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.booking-widget[data-flow="doctor"] .widget-datetime-picker__label {
    display: none;
}

.widget-datetime-specialty {
    margin-bottom: 40px;
}

.widget-datetime-specialty__heading,
.widget-datetime-service-cta__heading,
.booking-popup--inline .widget-datetime-specialty__heading,
.booking-popup--inline .widget-datetime-service-cta__heading {
    margin: 0 0 10px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-datetime-clinic {
    padding: 20px;

    border-radius: 20px;
    background: var(--widget-beige);
}

.widget-datetime-clinic + .widget-datetime-clinic {
    margin-top: 12px;
}

.widget-datetime-clinic__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 6px;
}

.booking-popup--inline .widget-datetime-clinic__name,
.widget-datetime-clinic__name {
    margin: 0;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-datetime-clinic__address {
    margin: 0 0 20px;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
    opacity: 0.6;
}

.widget-datetime-clinic__metro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-datetime-clinic__metro-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-family);
    font-weight: 350;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-navy);
    opacity: 0.6;
}

.widget-datetime-clinic__metro-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.widget-datetime-clinic__metro-dot--teal {
    background: var(--widget-metro-teal);
}

.widget-datetime-clinic__metro-dot--orange {
    background: var(--widget-metro-rose);
}

.widget-datetime-clinic__metro-dot--purple {
    background: var(--widget-metro-purple);
}

.widget-datetime-clinic__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget-datetime-spec {
    min-height: 34px;
    padding: 8px 14px;
    background: none;
    color: var(--widget-navy);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 0.50px solid var(--widget-navy);
    border-radius: 0 20px 0 0;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
}

.widget-datetime-spec.is-active {
    background: var(--widget-navy);
    color: var(--widget-white);
}

.widget-datetime-service-cta {
    margin-bottom: 40px;
}

.widget-datetime-service-cta__btn {
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 0.50px solid var(--widget-brown);
    border-radius: 20px;
    background: var(--widget-beige);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--widget-navy);
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.widget-datetime-service-cta__label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--widget-navy);
}
.widget-datetime-service-cta__btn:hover {
    opacity: 0.9;
}

.widget-datetime-service-cta__btn.is-filled {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.3;
    text-transform: none;
    text-align: left;
}

.widget-datetime-service-cta__value {
    display: block;
}

.widget-datetime-service {
    margin-bottom: 40px;
}

.widget-datetime-service[hidden],
[data-popup-block="service"][hidden],
.doctor-booking__field[hidden]{
    display: none !important;
}

.widget-datetime-service__heading {
    margin: 0 0 10px;
}

.widget-datetime-service__label {
    display: block;
    margin: 0 0 8px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 350;
    font-size: 14px;
    line-height: 120%;
}

.widget-select {
    position: relative;
}

.widget-select-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    height: 50px;
    padding: 14px 20px 13px;
    background: var(--widget-white);
    text-align: left;
    cursor: pointer;
    border: 0.50px solid var(--widget-brown);
    border-radius: 0 0 20px 0;
    font-family: var(--font-family);
    font-weight: 350;
    font-size: 14px;
    line-height: 120%;
    color: var(--widget-meta);
}

.widget-select-btn.is-filled {
    color: var(--widget-navy);
}

.widget-select-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-weight: 400;
    font-size: 16px;
}

.widget-select-chevron {
    flex-shrink: 0;
    width: 14px;
    height: 10px;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.widget-select.is-open .widget-select-chevron {
    transform: rotate(180deg);
}

.widget-select.is-open .widget-select-btn {
    border: 0.50px solid var(--widget-navy);
}

.widget-select-dropdown {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 5;
    margin: 0;
    padding: 20px;
    list-style: none;
    background: var(--widget-white);
    max-height: 280px;
    overflow-y: auto;
    border: 0.50px solid var(--widget-navy);
    border-radius: 20px;
}

.widget-select-options {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-select-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: none;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.widget-select-option:hover,
.widget-select-option.is-active {
    background: var(--widget-beige);
}

.widget-datetime-summary__service-name {
    margin: 0;
    letter-spacing: 0.03em;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 120%;
    opacity: 0.6;
}

.widget-datetime-summary__price {
    margin: 0;
    color: var(--widget-orange);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-datetime-picker__label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--widget-navy);
}

.widget-date {
    position: relative;
}

.widget-date__field {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--widget-brown);
    border-radius: 0 0 20px 0;
    background: var(--widget-white);
    font-family: var(--font-family);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.widget-date.is-open .widget-date__field {
    border-color: var(--widget-meta);
}

.widget-date__icon,
.widget-date__arrow {
    flex-shrink: 0;
}

.widget-date__value {
    flex: 1;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--widget-navy);
    opacity: 0.6;
}

.widget-date__value.is-filled {
    color: var(--widget-navy);
}

.widget-date.is-open .widget-date__arrow {
    transform: rotate(180deg);
}

.widget-calendar {
    position: relative;
    z-index: 5;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid var(--widget-photo);
    border-radius: var(--widget-radius-sm);
    background: var(--widget-white);
    box-shadow: 0 8px 24px var(--widget-navy-12);
}

.widget-calendar__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.widget-calendar__month {
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-calendar__prev,
.widget-calendar__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: absolute;
    top: 19px;
}

.widget-calendar__prev {
    left: 32px;
}

.widget-calendar__next {
    right: 32px;
}

.widget-calendar__next svg, .widget-calendar__prev svg {
    display: block;
    width: 10px;
    height: 16px;
}

.widget-calendar__weekdays,
.widget-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 0 90px;
}

.widget-calendar__weekdays {
    margin-bottom: 8px;
}

.widget-calendar__weekdays span {
    text-align: center;
    text-transform: uppercase;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
}

.widget-calendar__day {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    height: 29px;
    margin: 0 auto;
    aspect-ratio: auto;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    width: 100%;
    line-height: 153%;
    letter-spacing: 0.02em;
    color: var(--widget-navy);
}

.widget-calendar__day:disabled {
    color: var(--widget-connector);
    cursor: default;
}

.widget-calendar__day.is-selected {
    background: var(--widget-navy);
    color: var(--widget-white);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
    border-radius: 10px;
}

.widget-datetime__footer {
    flex-shrink: 0;
    padding-top: 16px;
    padding-bottom: 20px;
}

.widget-datetime__submit {
    width: 100%;
    min-height: 48px;
    padding: 14px 20px;
    border: 0;
    border-radius: 16px;
    background: var(--widget-orange);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--widget-white);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.widget-datetime__submit:hover {
    opacity: 0.9;
}

.widget-datetime__submit--desktop {
    display: none;
}

@media (min-width: 481px) {
    .widget-datetime__title--mobile {
        display: none;
    }

    .widget-datetime__title--desktop,
    .widget-datetime-summary__heading,
    .widget-datetime-picker__heading {
        display: block;
    }

    .widget-datetime-picker__label {
        display: none;
    }

    .widget-datetime-summary__heading {
        margin: 0 0 10px;
        color: var(--widget-navy);
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        line-height: 153%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .widget-datetime-summary {
        margin-bottom: 40px;
    }

    .widget-datetime-summary--doctor .widget-datetime-summary__top {
        flex-direction: row-reverse;
    }

    .widget-datetime-summary__card--service {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .widget-datetime-summary__service-name {
        flex: 1;
        font-size: 14px;
    }

    .widget-datetime-summary__price {
        flex-shrink: 0;
    }

    .widget-datetime__submit--mobile {
        display: none;
    }

    .widget-datetime__submit--desktop {
        display: block;
        border-radius: 0 0 0 20px;
    }

    .widget-date__field {
        min-height: 52px;
        padding: 14px 18px;
        border-color: var(--widget-divider);
        border-radius: 16px;
    }

    .widget-date.is-open .widget-date__field {
        border: 0.50px solid var(--widget-navy);
        border-radius: 0 0 20px 0;
    }
    .is-open div#widget-calendar {
        border: 0.50px solid var(--widget-navy);
        border-radius: 20px;
        margin-top: 10px;
    }
    .widget-calendar {
        margin-top: -1px;
        padding: 30px;
        border-color: var(--widget-divider);
        border-top: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: none;
    }

    .widget-calendar__head {
        justify-content: center;
        margin-bottom: 18px;
    }

    .widget-calendar__weekdays {
        margin-bottom: 12px;
        gap: 0;
        padding: 0 90px;
    }

    .widget-calendar__grid {
        gap: 6px 0;
    }

    .widget-calendar__day:not(:disabled) {
        color: var(--widget-navy);
    }

    .widget-calendar__day.is-selected {
        border-radius: 8px;
        background: var(--widget-navy);
        color: var(--widget-white);
    }
}

.widget-step--patient {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding-top: 40px;
}

.widget-patient {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.widget-patient__main {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.widget-patient__fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.widget-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.widget-field__label {
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-field__input {
    width: 100%;
    min-height: 34px;
    padding: 11px 20px 10px 40px;
    border: 0;
    border-radius: 0 0 20px 0;
    background: var(--widget-soft);
    font-family: var(--font-family);
    outline: none;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: var(--widget-meta);
}

.widget-field__input::placeholder {
    color: var(--widget-meta);
}

.widget-field__input:focus {
    box-shadow: 0 0 0 1px var(--widget-orange);
}

.widget-patient__row {
    display: flex;
    align-items: flex-end;
    gap: 19px;
}

.widget-field--birth {
    flex: 1 1 0;
    width: 50%;
    max-width: none;
    min-width: 0;
}

.widget-gender {
    display: flex;
    flex: 1 1 0;
    width: 50%;
    gap: 8px;
    min-width: 0;
    margin-top: 21px;
    position: relative;
}

.widget-gender__btn {
    flex: 1;
    min-height: 30px;
    padding: 10px 8px;
    border: 0;
    border-radius: 0 0 20px 0;
    background: var(--widget-input-bg);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--widget-meta);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.widget-gender__btn.is-active {
    background: var(--widget-orange);
    color: var(--widget-white);
    border-radius: 0 0 20px 0;
}

.widget-patient__consents {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 16px 0 28px;
}

.widget-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.widget-check__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.widget-check__box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-top: -1px;
    border: 0.5px solid var(--widget-navy);
    border-radius: 5px;
    background: var(--widget-white);
}

.widget-check__box img {
    display: none;
    width: 9px;
    height: 7px;
}

.widget-check__input:checked + .widget-check__box {
    border-color: var(--widget-navy);
    background: var(--widget-navy);
    box-shadow: none;
}

.widget-check__input:checked + .widget-check__box img {
    display: block;
}

.widget-check__text {
    color: var(--widget-navy);
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.02em;
}

.widget-check__text a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--widget-navy);
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.02em;
}

.widget-patient__footer {
    flex-shrink: 0;
    margin-top: auto;
    bottom: 0;
    padding-bottom: 70px;
    background: var(--widget-white);
}

.widget-patient__submit {
    width: 100%;
    min-height: 43px;
    padding: 13px 20px;
    border: 0;
    border-radius: 0 0 20px 0;
    background: var(--widget-orange);
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: var(--widget-white);
}

.widget-patient__submit:hover {
    opacity: 0.9;
}

@media (min-width: 481px) {
    .widget-patient__fields {
        gap: 30px;
    }

    .widget-patient__row {
        align-items: flex-start;
    }

    .widget-gender {
        gap: 12px;
    }

    .widget-gender__btn {
        height: 34px;
        font-weight: 400;
        font-size: 12px;
        line-height: 120%;
        letter-spacing: 0.02em;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
    }

    .widget-field--phone {
        order: 1;
    }

    .widget-field--email {
        order: 2;
    }

    .widget-field__input {
        min-height: 34px;
    }

    .widget-patient__consents {
        padding-top: 28px;
    }

    .widget-patient__submit {
        border-radius: 0 0 20px 0;
    }
}

.widget-success {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-height: 0;
    padding: 48px 24px 0;
    text-align: center;
}

.widget-success__close {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--widget-orange);
    cursor: pointer;
}

.widget-success__close img {
    display: block;
    width: 18px;
    height: 16px;
}

.widget-success__icon {
    flex-shrink: 0;
    width: 146px;
    height: 146px;
    margin-bottom: 30px;
}

.widget-success__icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.widget-success__title {
    margin: 0 0 10px;
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 153%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.widget-success__text {
    margin: 0 0 40px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--widget-connector);
}

.widget-success__details {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.widget-success__item {
    display: flex;
    align-items: flex-start;
    gap: 21px;
}

.widget-success__item + .widget-success__item {
    margin-top: 30px;
}

.widget-success__item-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 0px;
}

.widget-success__item-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.widget-success__item-label {
    color: var(--widget-meta);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0.02em;
}

.widget-success__item-value {
    color: var(--widget-navy);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 153%;
    letter-spacing: 0.02em;
}

.widget-success__btn {
    width: 100%;
    margin: auto 0 0;
    min-height: 43px;
    padding: 13px 20px;
    border: 0;
    background: var(--widget-orange);
    color: var(--widget-white);
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
}

.widget-success__btn:hover {
    opacity: 0.9;
}

@media (min-width: 481px) {
    .widget-success {
        padding: 40px;
    }

    .widget-success__title {
        font-size: 24px;
    }

    .widget-success__text {
        font-size: 18px;
    }

    .widget-success__item-value {
        font-size: 16px;
    }

    .widget-success__btn {
        border-radius: 0 0 20px 0;
    }
}
@media (max-width: 770px) {
    .widget-header__title {
        font-size: 16px;
    }

    .widget-header__close {
        width: 22px;
        height: 22px;
        top: 30px;
        right: 20px;
    }
    .widget-header__close img {
        width: 14px;
        height: 12px;
        top: 30px;
    }

    header.widget-header {
        padding: 30px;
    }

    h3.widget-start__heading {
        display: none;
    }

    span.widget-option__label {
        font-size: 16px;
    }

    span.widget-option__icon {
        max-width: 29px;
    }

    .widget-option__icon img {
        width: 100%;
    }

    button.widget-option {
        grid-template-columns: 29px 1fr 22px;
        padding: 0px 30px;
        gap: 20px;
        min-height: 42px;
    }

    span.widget-option__next {
        width: 22px;
        height: 22px;
    }

    .widget-option__next img {
        width: 11px;
        height: 10px;
    }

    .widget-start {
        padding: 30px 20px;
    }

    button.widget-header__home {
        top: 35px;
        left: 20px;
        font-size: 10px;
    }

    nav.widget-stepper {
        padding-top: 29px;
    }
    span.widget-stepper__num {
        font-size: 12px;
        height: 22px;
        width: 22px;
    }

    .widget-stepper__item::before, .widget-stepper__item:not(:last-child)::after {
        top: 11px;
    }

    .widget-stepper__item:not(:last-child)::after {
        left: calc(49% + 14px);
    }

    .widget-stepper--steps-5 .widget-stepper__item:not(:last-child)::after {
        width: calc(100% - 30px);
    }

    .widget-stepper--steps-4 .widget-stepper__item:not(:last-child)::after {
        width: calc(100% - 30px);
    }

    span.widget-stepper__label {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 10px;
        line-height: 81%;
        letter-spacing: 0.02em;
        text-align: center;
        color: var(--widget-navy);
    }

    li.widget-stepper__item {
        width: 20%;
        max-width: 20%;
    }
    .widget-stepper--steps-4 li.widget-stepper__item {
        width: 25%;
        max-width: 25%;
    }
    .widget-stepper__item::before {
        left: calc(50% - 11px);
    }

    nav.widget-stepper {
        padding: 29px 14px 20px;
    }

    .widget-step__back, .widget-clinic__back {
        font-size: 10px;
        gap: 4px;
    }

    .widget-step__back img, .widget-clinic__back img {
        width: 10px;
        height: 10px;
    }

    .widget-step--patient .widget-step__back,
    .widget-step--patient .widget-step__title {
        display: none;
    }

    .widget-step__title, .widget-clinic__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .widget-search__input {
        height: 34px;
        padding: 6px 0 5px 51px;
    }

    .widget-search {
        margin-bottom: 10px;
    }

    .widget-clinic-card {
        padding: 10px 20px;
    }

    .widget-clinic-card__name {
        font-family: var(--font-family);
        font-size: 12px;
        margin-bottom: 5px;
    }

    .widget-clinic-card__address {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .widget-clinic-card__metro-item {
        font-size: 10px;
        width: 100%;
    }

    .widget-clinic-card__metro {
        gap: 5px;
    }

    ul.widget-clinic__list {
        gap: 10px;
    }

    .widget-specialist-item {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--widget-navy);
        border: 0.50px solid var(--widget-card-border);
        border-radius: 20px;
        padding: 8px 20px;
        line-height: 18px;
        min-height: 34px;
    }

    .widget-service-card__name {
        font-size: 12px;
        margin-right: 7px;
    }

    .widget-service-card {
        border: 0.50px solid var(--widget-card-border);
        border-radius: 20px;
        padding: 10px 10px 10px 20px;
        position: relative;
        min-height: auto;
    }

    span.widget-service-card__next {
        position: absolute;
        right: 10px;
        width: 17px;
        height: 17px;
    }

    .widget-service-card__next img {
        width: 9px;
        height: 8px;
    }

    span.widget-service-card__body {
        gap: 5px;
    }

    .widget-doctor-card__photo {
        width: 79px;
        height: 79px;
    }

    .widget-doctor-card {
        border: 0.50px solid var(--widget-brown);
        border-radius: 20px;
        padding: 10px 20px;
    }

    .widget-doctor-card__specialty {
        font-family: var(--font-family);
        font-weight: 350;
        font-size: 10px;
        line-height: 120%;
        margin-bottom: 2px;
    }

    .widget-doctor-card__name {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--widget-navy);
        margin-bottom: 5px;
    }

    .widget-doctor-card__meta {
        font-family: var(--font-family);
        font-weight: 350;
        font-size: 10px;
        line-height: 120%;
        color: var(--widget-navy);
        margin-bottom: 0;
    }

    button.widget-doctor-card__choose {
        max-width: 100%;
        height: 24px;
        font-size: 10px;
        letter-spacing: 0.02em;
        text-align: center;
        padding: 0;
    }

    .widget-doctor-list {
        gap: 10px;
    }
    .widget-datetime-summary__card {

        border-radius: 20px;
        padding: 10px 20px;
        gap: 5px;
    }

    .widget-datetime-summary__top {display: flex;flex-direction: row-reverse;}

    .widget-datetime-summary__photo {height: 79px;width: 79px;border-radius: 600px;}

    .widget-datetime-summary__meta {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .widget-datetime-summary__name {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .widget-datetime-summary {
        margin-bottom: 10px;
    }

    .widget-datetime-summary__service-name {
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        opacity: 1;
    }

    p.widget-datetime-summary__price {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--widget-orange);
    }

    .widget-datetime-picker__label {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 10px;
        line-height: 81%;
        letter-spacing: 0.02em;
        margin-bottom: 5px;
    }

    button#widget-date-field {
        min-height: 30px;
        padding: 7px 20px 6px 10px;
        display: flex;
        align-items: center;
    }

    span.widget-date__value.is-filled {
        font-family: var(--font-family);
        font-weight: 350;
        font-size: 14px;
        line-height: 120%;
    }

    img.widget-date__icon {
        width: 14px;
        height: 14px;
    }

    .widget-datetime__submit {
        border-radius: 0 0 20px 0;
        background: var(--widget-orange);
        min-height: 30px;
        padding: 0;
        line-height: 120%;
        letter-spacing: 0.02em;
        text-align: center;
    }

    .widget-step.widget-step--datetime {
        display: flex;
        justify-content: flex-start;
    }

    .widget-calendar__month {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--widget-navy);
    }

    .widget-calendar__weekdays {
        padding: 0;
    }

    .widget-calendar__grid {
        padding: 0;
    }

    .widget-calendar__prev,
    .widget-calendar__next {
        width: 8px;
        height: 16px;
        top: 15px;
    }

    .widget-calendar__prev {
        left: 20px;
    }

    .widget-calendar__next {
        right: 20px;
    }

    .widget-calendar__next svg, .widget-calendar__prev svg {
        width: 8px;
        height: 13px;
    }

    .widget-calendar__weekdays span {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        color: var(--widget-navy);
    }

    button.widget-calendar__day {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        color: var(--widget-navy);
        width: 28px;
        height: 18px;
    }

    .widget-calendar__day.is-selected {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        color: var(--widget-white);
    }

    .widget-calendar {
        border: 0.50px solid var(--widget-navy);
        border-radius: 20px;
        box-shadow: none;
        margin-top: 10px;
    }
    .widget-step.widget-step--patient {
        padding: 30px 20px;
    }

    .widget-field__label {
        font-size: 10px;
    }

    input.widget-field__input {
        border-radius: 0 0 20px 0;
        height: 35px;
        padding: 10px;
    }

    .widget-patient__fields {
        gap: 10px;
    }

    .widget-field--birth {
        width: 100%;
        flex: auto;
    }

    .widget-patient__row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .widget-gender {
        margin-top: 0px;
        gap: 4px;
    }

    button.widget-gender__btn {
        font-weight: 400;
        font-size: 12px;
        line-height: 120%;
        height: 35px;
        letter-spacing: 0.02em;
    }

    label.widget-field.widget-field--email {
        order: 100;
    }

    button.widget-patient__submit {
        height: 35px;
        min-height: 35px;
        font-size: 14px;
        padding: 0;
    }
    .widget-success {
        padding: 12px 20px;
    }

    button.widget-success__close {
        top: 12px;
        right: 12px;
        width: 22px;
        height: 22px;
    }

    .widget-success__icon {
        margin-top: 8px;
        margin-bottom: 20px;
        width: 61px;
        height: 61px;
    }

    .widget-success__title {
        font-size: 16px;
        line-height: 120%;
        margin-bottom: 5px;
    }

    .widget-success__text {
        font-size: 10px;
        text-align: center;
        max-width: 167px;
        margin-bottom: 20px;
    }

    .booking-widget__screen[data-screen="success"]{
        border: none;
    }
    span.widget-success__item-label {
        font-size: 12px;
    }

    .widget-success__item-body {
        gap: 3px;
    }

    span.widget-success__item-value {
        font-size: 10px;
    }

    img.widget-success__item-icon {
        width: 16px;
        height: 16px;
    }

    li.widget-success__item {
        gap: 10px;
    }

    .widget-success__item + .widget-success__item {
        margin-top: 10px;
    }

    .widget-success__close img {
        width: 11px;
        height: 10px;
    }

    button.widget-success__btn {
        border-radius: 0 0 20px 0px;
        height: 30px;
        min-height: auto;
        padding: 0;
    }

    .widget-datetime-specialty {
        margin-top: 20px;
    }

    .widget-datetime-clinic__name {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--widget-navy);
    }

    .widget-datetime-clinic__metro-item {
        display: none;
    }

    .widget-datetime-clinic__address {
        font-family: var(--font-family);
        font-weight: 300;
        font-size: 10px;
        line-height: 120%;
    }

    .widget-datetime-clinic__top {
        gap: 0;
        margin-bottom: 5px;
    }

    button.widget-datetime-spec {
        min-height: 20px;
        border: 0.50px solid var(--widget-navy);
        border-radius: 0 20px 0 0;
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 10px;
        line-height: 120%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        text-align: center;
        color: var(--widget-navy);
    }

    .widget-datetime-clinic {
        padding: 10px 20px;
    }

    .widget-datetime-service-cta__label {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 12px;
        line-height: 153%;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--widget-navy);
    }

    button.widget-datetime-service-cta__btn {
        min-height: 35px;
    }

    .widget-datetime-service {
        margin-bottom: 20px;
    }

    .widget-datetime-service__heading {
        margin-bottom: 5px;
    }

    .widget-datetime-service__label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .widget-select-btn {
        min-height: 30px;
        height: auto;
        padding: 7px 20px 6px 10px;
    }

    .widget-select-value {
        font-weight: 350;
        font-size: 12px;
        line-height: 120%;
    }

    .widget-select-option {
        font-size: 12px;
        padding: 8px 10px;
    }

    .widget-datetime-specialty__heading, .widget-datetime-service-cta__heading {
        margin-bottom: 5px;
    }

    .widget-clinic-card__toggle {
        width: 22px;
        height: 22px;
    }

    .widget-clinic-card__toggle svg {
        width: 11px;
        height: 10px;
    }

    .widget-clinic-doctor-card {
        padding: 10px;
    }

    .widget-clinic-doctor-card__specialty {
        font-size: 10px;
        margin-bottom: 2px;
        margin-top: 0px;
    }

    .widget-clinic-doctor-card__name {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .widget-clinic-doctor-card__photo {
        width: 53px;
        height: 53px;
    }

    .widget-clinic-doctor-card__meta {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .widget-clinic-doctor-card__choose {
        min-width: 100%;
        height: 24px;
        min-height: 24px;
        font-size: 10px;
    }
}

.infoclinic-clinics-note{
    margin: 15px 0;
}
.infoclinic-slot {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 30px;
    background: #fff;
    margin-bottom: 12px;
}

.infoclinic-slot.is-selected {
    border-color: #c05a17;
}

.infoclinic-slot__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 20px;
}

.infoclinic-slot__name {
    color: #063152;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.infoclinic-slot__address {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0.6;
    color: #063152;
}

.infoclinic-times {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.infoclinic-time {
    width: 84px;
    height: 40px;
    padding: 0;
    background: var(--db-white);
    color: var(--db-navy);
    font-family: var(--db-font);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 0.50px solid var(--db-border);
    border-radius: 20px;
    font-weight: 300;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
}

.infoclinic-time:hover {
    border-color: var(--db-navy);
}

.infoclinic-time.is-selected {
    background: var(--db-navy);
    border-color: var(--db-navy);
    color: var(--db-white);
}

.infoclinic-time:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.infoclinic-no-slots {
    margin: 8px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.infoclinic-period-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.infoclinic-periods {
    position: relative;
    display: flex;
    margin-bottom: 16px;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
}

.infoclinic-period-slider {
    position: absolute;
    top: 4px;
    left: var(--ic-period-x, 4px);
    width: var(--ic-period-width, 33%);
    height: calc(100% - 8px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: left 0.2s ease, width 0.2s ease;
    pointer-events: none;
    z-index: 0;
}

.infoclinic-period {
    position: relative;
    z-index: 1;
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-radius: 10px;
}

.infoclinic-period.is-active {
    color: #111827;
}

.widget-datetime-slots{
    margin-top: 20px;
}

.doctor-booking-reviews {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.doctor-booking-reviews[hidden] { display: none; }
.doctor-booking-reviews__overlay {
    position: absolute;
    inset: 0;
    background: var(--widget-navy-45);
}
.doctor-booking-reviews__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(80vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    border: 0.5px solid var(--widget-border);
    margin-top:110px
}
.doctor-booking-reviews__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--db-orange);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.doctor-booking-reviews__title {
    margin: 0 36px 4px 0;
    font-size: 22px;
}
.doctor-booking-reviews__doctor {
    margin: 0 0 16px;
    color: #5a6d80;
}
.doctor-booking-reviews__item + .doctor-booking-reviews__item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e6edf3;
}
.doctor-booking-reviews__meta {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
    color: #5a6d80;
    font-size: 14px;
}
.doctor-booking-reviews__score { font-weight: 600; color: #063152; }
.doctor-booking-reviews__text { margin: 0; white-space: pre-line; }
.doctor-booking-reviews__reply {
    margin: 8px 0 0;
    padding: 8px 12px;
    background: #f4f7fa;
    border-radius: 8px;
}

.doctor-booking-reviews__stars {
    display: inline-flex;
    gap: 2px;
    vertical-align: middle;
}
.doctor-booking-reviews__star {
    width: 16px;
    height: 16px;
    background: #d7dee6;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.doctor-booking-reviews__star.is-full { background: #ed9256; }
.doctor-booking-reviews__star.is-half {
    background: linear-gradient(90deg, #ed9256 50%, #d7dee6 50%);
}
.doctor-booking-reviews__text { margin: 0; white-space: pre-line; }
.doctor-booking-reviews__reply {
    margin: 8px 0 0;
    padding: 8px 12px;
    background: #f4f7fa;
    border-radius: 8px;
}

.doctor-booking-reviews__score {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}
.db-star {
    display: inline-flex;
    width: 16px;
    height: 16px;
    position: relative;
}
.db-star__icon { display: block; fill: #d5dde5; }
.db-star.is-full .db-star__icon { fill: var(--widget-orange); }
.db-star.is-half .db-star__icon { fill: #d5dde5; }
.db-star.is-half::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    background: var(--widget-orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2l1.76 3.56 3.93.57-2.84 2.77.67 3.91L8 10.16 4.48 12l.67-3.91L2.3 5.33l3.93-.57L8 1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2l1.76 3.56 3.93.57-2.84 2.77.67 3.91L8 10.16 4.48 12l.67-3.91L2.3 5.33l3.93-.57L8 1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.doctor-booking__calendar-head {
    display: grid;
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
    gap: 8px;
}
.doctor-booking__calendar-month {
    text-align: center;
}
.doctor-booking__calendar-prev,
.doctor-booking__calendar-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.doctor-booking__calendar-prev[hidden],
.doctor-booking__calendar-next[hidden] {
    visibility: hidden;
    pointer-events: none;
}

.doctor-booking__summary-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.doctor-booking-about__content {
    font-size: 15px;
    line-height: 1.5;
    color: #063152;
}
.doctor-booking-about__content div { margin: 0; }
.booking-popup__dialog {
    position: relative;
}

.booking-popup__loader {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #063152;
    font-size: 15px;
    font-weight: 500;
    border-radius: 20px 0 0 20px;
}

.booking-popup__loader[hidden] {
    display: none !important;
}

.booking-popup__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #D9DFE3;
    border-top-color: #ed9256;
    border-radius: 50%;
    animation: abc-popup-spin 0.7s linear infinite;
}

.booking-popup.is-loading .booking-widget {
    pointer-events: none;
}

@keyframes abc-popup-spin {
    to { transform: rotate(360deg); }
}

.doctor-booking-about__content b { font-weight: 600; }
.clinic-booking__services{
    margin: 0 0 40px;
}

.booking-popup--inline .widget-clinic__item{
    margin:0!important;
    padding: 0!important;
}
.booking-popup--inline .widget-clinic__item:before{
    display: none;
}

.widget-select.is-error .widget-select-btn,
.widget-select-btn.is-error {
    border-color: #c0392b;
}
.widget-select-error {
    margin: 8px 0 0;
    color: #c0392b;
    font-size: 14px;
    line-height: 1.3;
}

.widget-datetime__error {
    width: 100%;
    margin: 0 0 10px;
    color: #c0392b;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}
.widget-datetime__footer {
    flex-wrap: wrap;
}

.widget-date__field.is-error {
    border-color: #c0392b;
}
