.order-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

.order-modal__close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0
}

.order-modal__step {
    margin-bottom: 170px;
    animation-name: circle-out-square;
    animation-duration: 0.5s;
}

.order-modal__content {
    background-color: #fff;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    padding: 48px 101px 40px 100px;
    border: 1px solid #888;
    width: 80%;
    max-width: 985px;
    position: relative;
    /*height: 35rem;*/
    border-radius: 1rem;
}

.order-modal__title {
    font-weight: 500;
    font-size: 38px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 568px;
}

.order-modal__sub-text {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
}

.back-method {
    margin-bottom: 32px;
}

.client-method {
    margin-bottom: 32px;
}

.order_clue {
    font-weight: 400;
    font-size: 24px;
    color: #2b2d33;
}

.order-modal__buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.order-modal__next-btn {
    color: #2b2d33;
    border-radius: 56px;
    line-height: 92%;
    padding: 18px 113px;
    font-size: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #FDE000;
    cursor: pointer;
    height: 58px;
}

.order-modal__prev-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 40px;
    flex-direction: row-reverse;
    font-size: 24px;
    line-height: 92%;
    font-weight: 500;
}

.order-modal__prev-btn img {
    transform: rotate(180deg);
    width: 37px;
    height: 37px;
}
.d_none {

}
@keyframes circle-to-square {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
@keyframes circle-out-square {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.child-one {
    animation-name: circle-to-square;
    animation-duration: 0.5s;
}
.order-modal__next-btn img {
    position: absolute;
    width: 37px;
    height: 37px;
    top: 10px;
    right: 18px;
}

.order-columns-date {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.order-columns-date__time {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
}

.order-columns-date__time::before {
    content: '';
    position: absolute;
    top: 0;
    left: -21%;
    height: 280px;
    width: 1px;
    background: #c8ccd0;
}

.order-columns-date__time-item {
    padding: 8px 10px;
    font-weight: 400;
    font-size: 14px;
    color: #2b2d33;
    border-radius: 24px;
    background: #f6f7f8;
    line-height: 172%;
}

.active-time {
    background: #fde000;
}

.order-columns-date .vanilla-calendar {
    min-width: 401px !important;
    min-height: 396px;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-day__btn {
    font-size: 20px !important;
    min-height: 40px !important;
    width: 100%;
    max-width: 40px !important;
    min-width: 40px;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-header {
    margin-bottom: 24px;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-month {
    font-size: 24px;
    font-weight: 500;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-year {
    font-size: 24px;
    font-weight: 500;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-week {
    margin-bottom: 16px !important;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-week__day {
    line-height: 80%;
    font-weight: 400;
    font-size: 20px;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-day__btn_prev, [data-calendar-theme=light] .vanilla-calendar-day__btn_next {
    display: none;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-day__btn_disabled {
    color: #0f172a;
    background: #fff !important;
}

.order-columns-date .vanilla-calendar .vanilla-calendar-day__btn {
    background: #f6f7f8;
}

.order-modal__title2 {
    font-weight: 500;
    font-size: 32px;
    color: #2b2d33;
}

.order-modal__step-selected-body {
    display: flex;
    gap: 16px;
    border: 2px solid #c8ccd0;
    border-radius: 24px;
    font-weight: 400;
    font-size: 16px;
    color: #000;
    padding: 14px 70px;
    max-width: 379px;
    margin-bottom: 32px;
    margin-left: auto;
}

.order-modal__step-cleaner-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviews-popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(246, 247, 248, 0.6);
    transition: 0.3s;
}

.customer-order-slider {
    position: relative;
    margin-bottom: 100px;
    margin-top: 160px;
}

.active-popup {
    display: block;
}

.reviews-popup-btn {
    position: absolute;
    top: -38px;
    right: 175px;
}

.reviews-popup-btn img {
    width: 30px;
    height: 30px;
}

.vanilla-calendar-time {
    display: none !important;
}

.cleaner-item-mobile-text {
    display: none;
}

.order_next_date_time_mobile {
    display: none;
}
.loading {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
    position: relative;
    overflow: visible;
}

.loading::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 4px solid #333;
    border-top-color: #666;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.loading::after {
    display: none;
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


@media (max-width: 1148px) {
    .order-columns-date {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .order-columns-date__time::before {
        content: '';
        position: absolute;
        top: -18px;
        left: 23px;
        height: 1px;
        width: 280px;
        background: #c8ccd0;
    }
}

@media (max-width: 1148px) {


}

@media (max-width: 1148px) {

    /*.f_item__texts_bottom {*/
    /*    display: none;*/
    /*}*/
    /*.f_item__texts_bottom_items {*/
    /*    display: none;*/
    /*}*/
    .cleaner-item-mobile-text {
        display: block;
        margin-top: 13px;
    }

    .f_item__texts_bottom_left_p {
        display: none;
    }
}

@media (max-width: 991px) {

    .reviews-popup-btn {
        right: 66px;
    }
}

@media (max-width: 768px) {
    .order-modal__content {
        width: 100%;
        padding: 17px 31px 10px 31px !important;
    }

    .order-modal__title {
        font-weight: 500;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .order-modal__sub-text {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .back-method {
        margin-bottom: 5px !important;
    }

    .client-method {
        margin-bottom: 16px !important;
    }

    .order_clue {
        display: inline-block;
        font-weight: 400;
        font-size: 14px;
        margin-left: 31px;
    }

    .u-checkbox__p {
        font-weight: 500 !important;
        font-size: 14px !important;
    }

    .order-modal__next-btn {
        font-size: 16px;
        padding: 13px 56px;
        height: 40px;
    }

    .order_next_date_time_mobile {
        display: flex;
    }

    .hidden-btn {
        display: none;
    }

    .order-columns-date__time::before {
        display: none;
    }

    .order-columns-date__time {
        display: none;
        max-height: 312px;
        overflow-y: scroll;
    }

    .time_mobile {
        display: grid !important;
        max-width: 296px;
        grid-template-columns: repeat(3, 1fr);
        margin: 0 auto;
        margin-bottom: 70px;
    }

    .order-modal__prev-btn {
        font-size: 16px;
    }

    .order-modal__prev-btn img {
        font-size: 16px;
        width: 24px;
        height: 24px;
    }

    .order-modal__next-btn img {
        position: absolute;
        width: 24px;
        height: 24px;
        top: 8px;
        right: 18px;
    }


    .vanilla-calendar-time {
        display: block !important;
    }


    .vanilla-calendar-time__content {
        display: flex !important;
        justify-content: center;
    }

    .order-modal__subtitle {
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 24px;
        text-align: start;

    }

    .vanilla-calendar-time__hours input, .vanilla-calendar-time__minutes input {
        font-weight: 400;
    }


    .order-columns-date .vanilla-calendar .vanilla-calendar-month {
        font-size: 16px;
        font-weight: 500;
    }

    .order-columns-date .vanilla-calendar .vanilla-calendar-year {
        font-size: 16px;
        font-weight: 500;
    }

    .order-columns-date .vanilla-calendar .vanilla-calendar-week__day {

        font-size: 14px;
    }

    .order-columns-date .vanilla-calendar {
        min-width: 280px !important;
        min-height: 324px;
    }

    .vanilla-calendar-time {
        border-color: #fff !important;
    }

    .order-columns-date .vanilla-calendar .vanilla-calendar-day__btn {
        font-size: 14px !important;
    }

    .order-modal__title2 {
        font-size: 16px;
        color: #2b2d33;
    }

    .f_item__rating picture:not(:nth-child(5)) {
        display: none !important;
    }

    .f_item__texts_top_right .f_item__rating img, .f_item__texts_top_right .f_item__rating picture {
        width: 20px;
    }

    .f_item__texts_top_right .f_item__rating {
        justify-content: flex-end;
    }

    .f_item-container {
        display: flex !important;
    }

    .f_item__texts_top_left {
        flex-direction: column;
    }

    .f_item__review-item {
        font-size: 12px;
    }

    .order-modal__step {
        margin-bottom: 76px;
    }
}

@media (max-width: 639px) {
    .f_item__img {
        width: 150px;
        min-width: 150px;
        height: 150px;
    }

}

@media (max-width: 600px) {
    .f_item__texts_top {
        position: static !important;
        flex-direction: row !important;
    }

    .f_item__img {
        margin-right: 11px;
    }

    .reviews-popup-btn {
        top: 0;
        left: 44px;
        z-index: 10;
    }
}

@media (max-width: 565px) {
    .f_item__img {
        width: 48px;
        min-width: 48px;
        height: 48px;
    }

    .order-columns-date__time-item {
        font-size: 14px;
        line-height: 30px;
        padding: 4px 6px;
    }

    .f_item__texts_top_left {
        margin-bottom: 0 !important;
    }

    .f_item__texts_top_left .f_item__verified {
        font-size: 10px;
        flex-direction: column;
    }

    .f_item__texts_top {
        margin-bottom: 10px;
    }

    .f_item__texts_top_left {

        gap: 8px;
    }

    .cleaner-item-mobile-text {
        font-size: 12px;
    }
}

@media (max-width: 425px) {
    .f_item__img {
        width: 48px;
        min-width: 48px;
        height: 48px;
    }
}

@media (max-width: 400px) {
    /*.order-modal__content {*/
    /*    padding: 32px 29px 32px 16px !important;*/
    /*}*/

    .f_item__texts_top {
        max-width: 184px;
    }
}

@media (max-width: 360px) {
    .f_item__texts_top {
        max-width: 145px;
    }
}