.booking-flow-page {
    margin: 0;
    background: #f7f7f7;
    color: #0b0b0b;
    font-family: Roboto, Arial, sans-serif;
}

.booking-flow-page .site-header-wrapper {
    position: relative;
    z-index: 20;
}

.booking-flow {
    min-height: calc(100vh - 120px);
    padding: 126px 0 70px;
}

.booking-flow__container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.booking-flow__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #8a8a8a;
    font-size: 16px;
    line-height: 1.3;
}

.booking-flow__breadcrumbs a {
    color: #8a8a8a;
    text-decoration: none;
}

.booking-flow__breadcrumbs div {
    color: #df0014;
    font-weight: 700;
}

.booking-flow__breadcrumbs span {
    width: 8px;
    height: 8px;
    border-top: 2px solid #df0014;
    border-right: 2px solid #df0014;
    transform: rotate(45deg);
}

.booking-flow__title {
    margin: 0 0 22px;
    color: #000;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
}

.booking-flow__back {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #df0014;
    font-size: 16px;
    font-weight: 700;
}

.booking-flow__back span {
    width: 14px;
    height: 14px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.booking-flow__messages {
    margin: 0 0 20px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    color: #df0014;
    font-weight: 700;
}

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

.booking-flow-step__inner {
    width: 100%;
}

.booking-flow-step__inner--narrow,
.booking-flow-step__inner--form,
.booking-flow-step__inner--summary {
    width: min(680px, 100%);
    margin: 0 auto;
}

.booking-flow-step h2 {
    margin: 0 0 28px;
    color: #000;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.booking-flow-options {
    display: grid;
    gap: 14px;
}

.booking-flow-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 14px 58px 14px 18px;
    border: 1px solid #df0014;
    border-radius: 6px;
    background: #fff;
    color: #0b0b0b;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.booking-flow-option:hover,
.booking-flow-option.is-active {
    background: #df0014;
    color: #fff;
    box-shadow: 0 12px 28px rgba(223, 0, 20, .18);
}

.booking-flow-option:disabled,
.booking-flow-option.is-disabled,
.booking-flow-option:disabled:hover {
    cursor: not-allowed;
    border-color: #d8d8d8;
    background: #f3f3f3;
    color: #9a9a9a;
    box-shadow: none;
}

.booking-flow-option:disabled i,
.booking-flow-option.is-disabled i {
    opacity: .35;
}

.booking-flow-option-notice {
    margin: 12px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    color: #df0014;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.booking-flow-option i,
.booking-flow-next i {
    position: absolute;
    right: 22px;
    width: 18px;
    height: 18px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg);
}

.booking-flow-age {
    position: relative;
    margin: 14px 0 36px;
    padding: 0;
}

.booking-flow-age label {
    display: none;
}

.booking-flow-age select,
.booking-flow-form input,
.booking-flow-form textarea,
.booking-flow-form select,
.booking-flow-payment select {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    color: #222;
    font: inherit;
}

.booking-flow-age select {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.booking-flow-age__toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 66px;
    padding: 0 58px 0 22px;
    border: 0;
    border-radius: 36px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    color: #222;
    text-align: left;
    font: inherit;
    font-weight: 700;
}

.booking-flow-age__toggle:focus {
    outline: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12), 0 0 0 1px #df0014;
}

.booking-flow-age__toggle i {
    position: absolute;
    right: 26px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-right: 3px solid #df0014;
    border-bottom: 3px solid #df0014;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease;
}

.booking-flow-age.is-open .booking-flow-age__toggle {
    border-radius: 6px 6px 0 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.booking-flow-age.is-open .booking-flow-age__toggle i {
    transform: translateY(-35%) rotate(225deg);
}

.booking-flow-age__menu {
    position: absolute;
    z-index: 15;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 430px;
    overflow-y: auto;
    border-radius: 0 0 6px 6px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.booking-flow-age__menu button {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-top: 1px solid #e1e1e1;
    background: #fff;
    color: #111;
    text-align: center;
    font: inherit;
}

.booking-flow-age__menu button:hover,
.booking-flow-age__menu button.is-active {
    background: #f1f1f1;
}

.booking-flow-next {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    min-height: 56px;
    margin: 36px auto 0;
    padding: 0 62px 0 36px;
    border: 0;
    border-radius: 32px;
    background: #df0014;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.booking-flow-next:disabled {
    cursor: default;
    opacity: .45;
}

.booking-flow-next i {
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid currentColor;
    border-radius: 50%;
    transform: none;
}

.booking-flow-next i:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 9px;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.booking-flow-search {
    position: relative;
    display: block;
    margin: 0 0 18px;
}

.booking-flow-search[hidden],
.booking-flow-select-grid[hidden] {
    display: none !important;
}

.booking-flow-search span {
    position: absolute;
    left: 24px;
    top: 50%;
    width: 22px;
    height: 22px;
    border: 4px solid #df0014;
    border-radius: 50%;
    transform: translateY(-56%);
}

.booking-flow-search span:after {
    content: "";
    position: absolute;
    right: -11px;
    bottom: -9px;
    width: 13px;
    height: 4px;
    border-radius: 4px;
    background: #df0014;
    transform: rotate(45deg);
}

.booking-flow-search input {
    width: 100%;
    min-height: 66px;
    padding: 0 68px 0 86px;
    border: 0;
    border-radius: 36px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    font: inherit;
}

.booking-flow-search input[readonly] {
    cursor: default;
    color: #111;
    font-weight: 700;
}

.booking-flow-search__clear {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #df0014;
    transform: translateY(-50%);
}

.booking-flow-search__clear:before,
.booking-flow-search__clear:after {
    content: "";
    position: absolute;
    top: 13px;
    left: 6px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.booking-flow-search__clear:before {
    transform: rotate(45deg);
}

.booking-flow-search__clear:after {
    transform: rotate(-45deg);
}

.booking-flow-select-grid {
    display: block;
}

.booking-flow-select-grid.is-searching {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.booking-flow-select-block h3 {
    margin: 0 0 10px;
    color: #000;
    font-size: 18px;
    font-weight: 700;
}

.booking-flow-doctors,
.booking-flow-specializations {
    gap: 9px;
}

.booking-flow-specializations {
    display: block;
    column-count: 3;
    column-gap: 54px;
}

.booking-flow-select-grid.is-searching .booking-flow-specializations {
    display: block;
    column-count: 1;
}

.booking-flow-specialization {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    text-align: left;
    line-height: 1.35;
    font: inherit;
    break-inside: avoid;
    margin: 0 0 12px;
    transition: background-color .2s ease, color .2s ease;
}

.booking-flow-specialization:hover,
.booking-flow-specialization.is-active {
    color: #df0014;
}

.booking-flow-select-grid.is-searching .booking-flow-specialization {
    margin: 0 0 8px;
}

.booking-flow-doctors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 240px));
    gap: 20px;
}

.booking-flow-doctor-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 304px;
    padding: 0 0 16px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #111;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    text-align: center;
    font: inherit;
    transition: box-shadow .2s ease, transform .2s ease;
}

.booking-flow-doctor-card:hover,
.booking-flow-doctor-card.is-active {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
}

.booking-flow-doctor-card.is-active {
    outline: 2px solid #df0014;
}

.booking-flow-doctor-card__photo {
    display: block;
    width: 100%;
    height: 212px;
    overflow: hidden;
    background: #ddd;
}

.booking-flow-doctor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-flow-doctor-card__badges {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}

.booking-flow .doctor_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    color: #222;
    font-size: 13px;
    line-height: 1;
}

.booking-flow .doctor_badge--experience {
    gap: 7px;
    padding: 0 10px 0 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .08);
    white-space: nowrap;
}

.booking-flow .doctor_badge_group .doctor_badge--experience {
    padding-right: 12px;
}

.booking-flow .doctor_badge__icon,
.booking-flow .doctor_badge--icon {
    width: 28px;
    height: 28px;
    padding: 8px;
    border-radius: 50%;
    background: #df0014;
    color: #fff;
}

.booking-flow .doctor_badge__icon svg {
    width: 100%;
    height: 100%;
}

.booking-flow .doctor_badge--icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.booking-flow .doctor_badge_group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}

.booking-flow-doctor-card__body {
    display: block;
    padding: 12px 16px 0;
}

.booking-flow-doctor-card__body strong {
    display: block;
    color: #111;
    font-size: 18px;
    line-height: 1.15;
}

.booking-flow-doctor-card__body span {
    display: block;
    margin-top: 8px;
    color: #777;
    font-size: 14px;
    line-height: 1.25;
}

.booking-flow-services {
    margin-top: 34px;
}

.booking-flow-service-list {
    display: grid;
    width: min(700px, 100%);
    gap: 10px;
}

.booking-flow-service {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 64px;
    padding: 12px 52px 12px 16px;
    border: 1px solid #df0014;
    border-radius: 6px;
    background: #fff;
    color: #111;
    text-align: left;
    font: inherit;
}

.booking-flow-service.is-active,
.booking-flow-service:hover {
    background: #df0014;
    color: #fff;
}

.booking-flow-service:after {
    content: "";
    position: absolute;
    right: 22px;
    width: 16px;
    height: 16px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg);
}

.booking-flow-service__text strong {
    display: block;
    font-size: 15px;
}

.booking-flow-service__text span {
    display: block;
    margin-top: 2px;
    color: inherit;
    opacity: .72;
    font-size: 13px;
}

.booking-flow-service__price {
    white-space: nowrap;
    font-weight: 700;
}

.booking-flow-dates {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 18px;
}

.booking-flow-date-list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.booking-flow-date-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 14px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.booking-flow-date-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.booking-flow-date-arrow--prev img {
    transform: rotate(180deg);
}

.booking-flow-date {
    min-height: 58px;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: #fff;
    color: #808080;
    font: inherit;
}

.booking-flow-date:not(:disabled),
.booking-flow-date:not(:disabled) strong {
  color: #000;
}

.booking-flow-date strong,
.booking-flow-date > .booking-flow-date__availability {
    display: block;
}

.booking-flow-date strong {
    color: #777;
    font-size: 16px;
}

.booking-flow-date > .booking-flow-date__availability {
    margin-top: 2px;
    font-size: 12px;
}

.booking-flow-date__month--full {
    display: none;
}

@media (min-width: 1251px) {
    .booking-flow-date__month--short {
        display: none;
    }

    .booking-flow-date__month--full {
        display: inline;
    }
}

.booking-flow-date.is-active {
    background: #df0014;
    color: #fff;
}

.booking-flow-date.is-active strong {
    color: #fff;
}

.booking-flow-date:disabled {
    cursor: default;
    opacity: .6;
}

.booking-flow-schedule-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid #cfcfcf;
}

.booking-flow-dayparts {
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-flow-dayparts span {
    margin-right: 10px;
}

.booking-flow-dayparts button {
    min-width: 86px;
    min-height: 36px;
    border: 1px solid #df0014;
    border-radius: 20px;
    background: #fff;
    color: #df0014;
    font-weight: 700;
}

.booking-flow-dayparts button.is-active {
    background: #df0014;
    color: #fff;
}

.booking-flow-schedule {
    display: grid;
    gap: 28px;
}

.booking-flow-schedule-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 30px;
    padding: 38px 0;
    border-bottom: 1px solid #bdbdbd;
}

.booking-flow-schedule-doctor {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.booking-flow-schedule-doctor img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-flow-schedule-doctor h3 {
    margin: 0 0 4px;
    font-size: 25px;
    line-height: 1.1;
}

.booking-flow-schedule-doctor p {
    margin: 0 0 2px;
    font-size: 16px;
}

.booking-flow-schedule-doctor .booking-flow-schedule-price {
    color: #8a8a8a;
}

.booking-flow-schedule-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.booking-flow-schedule-badges .doctor_badge--experience {
    min-height: 42px;
    border-radius: 99px 8px 8px 99px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
    font-size: 14px;
}

.booking-flow-schedule-badges .doctor_badge__icon,
.booking-flow-schedule-badges .doctor_badge--icon {
    width: 42px;
    height: 42px;
}

.booking-flow-schedule-badges .doctor_badge_group {
    gap: 10px;
    margin-left: 0;
}

.booking-flow-schedule-times {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
    justify-content: flex-end;
}

.booking-flow-time {
    min-width: 92px;
    min-height: 36px;
    border: 1px solid #777;
    border-radius: 20px;
    background: #fff;
    color: #111;
    font-weight: 700;
}

.booking-flow-time.is-active,
.booking-flow-time:hover {
    border-color: #df0014;
    background: #df0014;
    color: #fff;
}

.booking-flow-step[data-booking-step="5"] {
    padding-bottom: 118px;
}

.booking-flow-slot-confirmation[hidden] {
    display: none !important;
}

.booking-flow-slot-confirmation {
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(860px, calc(100% - 40px));
    padding: 14px 16px 14px 22px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
    transform: translateX(-50%);
}

.booking-flow-slot-confirmation__text {
    min-width: 0;
}

.booking-flow-slot-confirmation__text span,
.booking-flow-slot-confirmation__text strong,
.booking-flow-slot-confirmation__text small {
    display: block;
}

.booking-flow-slot-confirmation__text span,
.booking-flow-slot-confirmation__text small {
    color: #777;
    font-size: 13px;
    line-height: 1.3;
}

.booking-flow-slot-confirmation__text strong {
    margin: 3px 0;
    color: #111;
    font-size: 18px;
    line-height: 1.2;
}

.booking-flow-slot-confirmation .booking-flow-next {
    flex: 0 0 auto;
    min-width: 224px;
    margin: 0;
}

.booking-flow-loader,
.booking-flow-empty {
    padding: 22px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    text-align: center;
}

.booking-flow-form {
    display: grid;
    /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
    gap: 10px 12px;
}

.booking-flow-form textarea,
.booking-flow-form select,
.booking-flow-form .booking-flow-note,
.booking-flow-form .booking-flow-next {
    grid-column: 1 / -1;
}

.booking-flow-form input,
.booking-flow-form textarea,
.booking-flow-form select,
.booking-flow-payment select {
    padding: 0 22px;
}

.booking-flow-form textarea {
    min-height: 84px;
    padding-top: 16px;
    resize: vertical;
}

.booking-flow-note {
    margin: 8px 0 0;
    color: #888;
    font-size: 15px;
}

.booking-flow-summary-card {
    padding: 34px 46px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.booking-flow-summary-doctor {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 30px;
}

.booking-flow-summary-doctor img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-flow-summary-doctor h3,
.booking-flow-summary-doctor p {
    margin: 0;
}

.booking-flow-summary-doctor h3 {
    font-size: 22px;
    line-height: 1.15;
}

.booking-flow-summary-doctor p {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.25;
}

.booking-flow-summary-meta {
    display: grid;
    grid-template-areas:
        "date-label time-label service-label"
        "date-value time-value service-value";
    grid-template-columns: 100px 76px minmax(0, 1fr);
    gap: 14px 28px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #8f8f8f;
}

.booking-flow-summary-meta__label {
    color: #111;
    font-size: 16px;
    line-height: 1.2;
}

.booking-flow-summary-meta__value {
    color: #000;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.booking-flow-summary-meta__label--date {
    grid-area: date-label;
}

.booking-flow-summary-meta__label--time {
    grid-area: time-label;
}

.booking-flow-summary-meta__label--service {
    grid-area: service-label;
}

.booking-flow-summary-meta__value--date {
    grid-area: date-value;
}

.booking-flow-summary-meta__value--time {
    grid-area: time-value;
}

.booking-flow-summary-meta__value--service {
    grid-area: service-value;
}

.booking-flow-summary-clinic {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 0 0 18px;
    border-bottom: 1px solid #8f8f8f;
    color: #111;
}

.booking-flow-summary-clinic span {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    background: #df0014;
    transform: rotate(-45deg);
}

.booking-flow-summary-clinic span:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.booking-flow-summary-clinic strong {
    font-size: 16px;
    font-weight: 400;
}

.booking-flow-summary-documents {
    margin-top: 18px;
}

.booking-flow-summary-documents > strong {
    display: block;
    margin-bottom: 14px;
    color: #000;
    font-size: 18px;
}

.booking-flow-summary-documents ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.booking-flow-summary-documents li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 38px;
    font-size: 16px;
    line-height: 1.3;
}

.booking-flow-summary-documents li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 17px;
    height: 9px;
    border-left: 2px solid #df0014;
    border-bottom: 2px solid #df0014;
    transform: rotate(-45deg);
}

.booking-flow-summary-documents li:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 1px;
    width: 17px;
    height: 9px;
    border-left: 2px solid #df0014;
    border-bottom: 2px solid #df0014;
    transform: rotate(-45deg);
}

.booking-flow-final {
    margin-top: 22px;
}

.booking-flow-payment {
    margin-bottom: 18px;
}

.booking-flow-payment h3 {
    margin: 0 0 12px;
}

.booking-flow-payment__regular {
    display: flex;
    gap: 12px;
}

.booking-flow-payment label,
.booking-flow-check {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #df0014;
    font-size: 14px;
}

.booking-flow-check {
    align-items: flex-start;
    margin: 10px 0;
}

.booking-flow-check input,
.booking-flow-payment input {
    width: 18px;
    height: 18px;
    accent-color: #df0014;
    flex: 0 0 auto;
}

.booking-flow-service-notice {
    margin: 18px 0 10px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    color: #df0014;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.booking-flow-privacy {
    margin-top: 14px;
}

.booking-flow-modal {
    position: relative;
    width: min(520px, calc(100vw - 40px));
    margin: 40px auto;
    padding: 34px;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.booking-flow-modal h2 {
    margin: 0 0 18px;
    color: #000;
    font-size: 24px;
}

.booking-flow-modal .pin-input {
    width: 160px;
    min-height: 58px;
    margin: 18px auto 6px;
    border: 1px solid #df0014;
    border-radius: 10px;
    text-align: center;
    font-size: 28px;
    letter-spacing: 8px;
}

.booking-flow-modal.is-verifying .pin-input,
.booking-flow-modal.is-verifying .error,
.booking-flow-modal.is-verifying .timer {
    display: none;
}

.booking-flow-modal.is-verifying .loader {
    display: block !important;
}

.booking-flow-modal__button {
    min-width: 170px;
    min-height: 44px;
    border: 0;
    border-radius: 24px;
    background: #df0014;
    color: #fff;
    font-weight: 700;
}

.booking-flow-page .mfp-close {
    color: #df0014;
}

@media (max-width: 1024px) {
    .booking-flow-select-grid,
    .booking-flow-schedule-card {
        grid-template-columns: 1fr;
    }

    .booking-flow-schedule-times {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .booking-flow {
        padding-top: 96px;
    }

    .booking-flow__container {
        width: min(100% - 24px, 1320px);
    }

    .booking-flow__title {
        font-size: 32px;
    }

    .booking-flow-step h2 {
        font-size: 22px;
    }

    .booking-flow-step[data-booking-step="5"] h2 {
        margin-bottom: 24px;
    }

    .booking-flow-specializations,
    .booking-flow-form {
        grid-template-columns: 1fr;
    }

    .booking-flow-summary-meta {
        grid-template-areas:
            "date-label time-label"
            "date-value time-value"
            "service-label service-label"
            "service-value service-value";
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 26px;
    }

    .booking-flow-summary-card {
        padding: 26px 20px;
        border: 1px solid #d8d8d8;
    }

    .booking-flow-summary-doctor {
        display: block;
        margin-bottom: 26px;
        text-align: left;
    }

    .booking-flow-summary-doctor img {
        display: block;
        width: 84px;
        height: 84px;
        margin: 0 auto 22px;
    }

    .booking-flow-summary-doctor h3 {
        font-size: 20px;
    }

    .booking-flow-summary-doctor p {
        font-size: 16px;
    }

    .booking-flow-summary-meta__label {
        font-size: 18px;
    }

    .booking-flow-summary-meta__value {
        font-size: 18px;
    }

    .booking-flow-summary-meta__label--service {
        margin-top: 22px;
        font-size: 16px;
    }

    .booking-flow-summary-clinic {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0 22px;
    }

    .booking-flow-summary-clinic span {
        width: 28px;
        height: 28px;
    }

    .booking-flow-summary-clinic span:after {
        top: 9px;
        left: 9px;
        width: 10px;
        height: 10px;
    }

    .booking-flow-summary-clinic strong,
    .booking-flow-summary-documents li {
        font-size: 15px;
    }

    .booking-flow-summary-documents > strong {
        font-size: 18px;
    }

    .booking-flow-specializations {
        column-count: 1;
    }

    .booking-flow-doctors {
        grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    }

    .booking-flow-doctor-card {
        min-height: 252px;
    }

    .booking-flow-doctor-card__photo {
        height: 132px;
    }

    .booking-flow-doctor-card__body strong {
        font-size: 16px;
    }

    .booking-flow-doctor-card__body span {
        font-size: 12px;
    }

    .booking-flow-dates {
        grid-template-columns: 28px minmax(0, 1fr) 28px;
        gap: 4px;
        align-items: end;
        margin-bottom: 12px;
    }

    .booking-flow-date-list {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 4px;
        min-width: 0;
        padding-bottom: 0;
    }

    .booking-flow-date {
        min-width: 0;
        min-height: 52px;
        padding: 4px 2px;
        border-radius: 8px 8px 0 0;
    }

    .booking-flow-date strong {
        font-size: 12px;
        line-height: 1.05;
    }

    .booking-flow-date > .booking-flow-date__availability {
        display: none;
    }

    .booking-flow-date-arrow {
        width: 28px;
        height: 28px;
        padding: 7px;
        margin-bottom: 9px;
    }

    .booking-flow-schedule-head {
        display: block;
        padding: 18px 0 22px;
    }

    .booking-flow-schedule-head [data-booking-date-caption] {
        margin-bottom: 14px;
        color: #7d7d7d;
    }

    .booking-flow-dayparts {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .booking-flow-dayparts span {
        flex: 0 0 100%;
        margin: 0 0 2px;
        font-size: 18px;
    }

    .booking-flow-dayparts button {
        min-width: 88px;
        min-height: 34px;
    }

    .booking-flow-payment__regular {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-flow-schedule {
        gap: 30px;
    }

    .booking-flow-schedule-card {
        display: block;
        padding: 0 0 36px;
    }

    .booking-flow-schedule-doctor {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .booking-flow-schedule-doctor img {
        width: 64px;
        height: 64px;
    }

    .booking-flow-schedule-doctor h3 {
        font-size: 18px;
    }

    .booking-flow-schedule-doctor p {
        font-size: 13px;
        line-height: 1.15;
    }

    .booking-flow-schedule-doctor .booking-flow-schedule-price {
        margin-top: 8px;
        font-size: 14px;
    }

    .booking-flow-schedule-badges {
        gap: 8px;
        margin-top: 6px;
    }

    .booking-flow-schedule-badges > .doctor_badge--experience:not(.doctor_badge--labeled-icon) {
        min-height: 0;
        color: #df0014;
        font-size: 14px;
        font-weight: 700;
    }

    .booking-flow .doctor_badge_group .doctor_badge--experience {
      min-height: 0;
      padding-right: 0;
      border-radius: 99px;
    }

    .booking-flow-schedule-badges .doctor_badge--labeled-icon > span:last-child {
        display: none;
    }

    .booking-flow-schedule-badges .doctor_badge__icon,
    .booking-flow-schedule-badges .doctor_badge--icon {
        width: 34px;
        height: 34px;
        min-height: 34px;
    }

    .booking-flow-schedule-times {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px 8px;
        margin-top: 22px;
        justify-content: stretch;
    }

    .booking-flow-time {
        min-width: 0;
        min-height: 36px;
    }

    .booking-flow-step[data-booking-step="5"] {
        padding-bottom: calc(174px + env(safe-area-inset-bottom));
    }

    .booking-flow-slot-confirmation {
        bottom: calc(12px + env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: calc(100% - 24px);
        padding: 14px;
    }

    .booking-flow-slot-confirmation__text strong {
        font-size: 16px;
    }

    .booking-flow-slot-confirmation .booking-flow-next {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        font-size: 17px;
    }

    .booking-flow-next {
        width: 100%;
    }
}
