body.is-loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    background: rgba(0,0,0,.3);
}
body.is-loading:after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 6px solid currentColor;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
    z-index: 9999;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 1024px){
    .fancybox__container {
        --fancybox-bg: rgba(0,0,0,0);
        --fancybox-color: #fff;
    }
    .fancybox__thumbs {
        --f-thumb-border-radius: 8px;
        --f-thumb-outline-color: #26312d;
    }
    .fancybox__thumbs.is-classic {
        --f-thumb-gap: 12px;
    }

    .f-thumbs.is-horizontal .f-thumbs__track {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .fancybox__slide {
        padding-top: 60px;
        padding-left: 60px;
        padding-right: 60px;
    }
    .fancybox__container {
        background: #fff;
        top: 5%;
        /*left: 5%;*/
        bottom: 5%;
        /*right: 5%;*/
        right: var(--fancybox-scrollbar-compensate);
        margin: 0 auto;
        max-width: 1240px;
    }
    .fancybox__nav {
        --f-button-width: 26px;
        --f-button-height: 26px;
        --f-button-color: #fff;
        --f-button-hover-color: #fff;
        --f-button-bg: #0b291f;
        --f-button-hover-bg: #1d4739;
        --f-button-svg-width: 14px;
        --f-button-svg-height: 14px;
        opacity: 1 !important;
    }
    .fancybox__toolbar {
        opacity: 1 !important;
    }
    .fancybox__toolbar__column.is-right .f-button {
        color: #999999;
        background: transparent;
        display: flex;
        align-items: center;
        width: max-content;
        gap: 5px;
        font-size: 14px;
        line-height: 1;
        font-weight: 400;
        padding-right: 1rem;
        padding-top: 1rem;
    }
    .fancybox__toolbar__column.is-right .f-button svg {
        width: 18px;
        height: 18px;
        color: #39423f;
    }
    .fancybox__toolbar__column.is-right .f-button:before {
        content: '';
        display: inline-block;
    }
    .fancybox__toolbar__column.is-right .f-button:hover {
        color: #39423f;
    }
    html.with-fancybox body:after {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1049;
        background: #000;
        opacity: .5;
        pointer-events: none;
    }
}

.header a.tel-link {
    color: #024C48;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    display: flex;
    align-items: center;
}
.header a.tel-link svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    display: inline-block;
}

.sanatoriums .sanatoriums-list a {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sanatoriums .sanatoriums-list .txt-wrapper {
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    display: flex;
}

.booking .main .inner-wrapper.conditions ul.conditions-list {
    display: flex;
    flex-wrap: wrap;
    grid-gap: initial;
    gap: 25px;
}
.booking .main .inner-wrapper.conditions ul.conditions-list li:first-child {
    padding-bottom: 25px;
    border-bottom: 1px solid rgb(235, 235, 235);
}
.booking .main .inner-wrapper.conditions ul.conditions-list li {
    position: relative;
    margin-top: 0;
    padding-top: 0;
    flex: 1 1 calc(50% - 15px);
    border-top: 0;
    padding-bottom: 25px;
}
.booking .main .inner-wrapper.conditions ul.conditions-list li:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgb(235, 235, 235);
}

@media (min-width: 768px){
    section.callback form h3 {
        font-size: 36px;
    }
    section.callback form p {
        font-size: 16px;
    }
}
@media (max-width: 767px){
    section.callback form h3 br {
        display: none;
    }
    section.callback form p br {
        display: none;
    }

    .booking .main div.inner-wrapper.conditions {
        padding: 20px;
    }
    .booking .main .inner-wrapper.conditions ul.conditions-list li:first-child {
        padding-bottom: 20px;
    }
    .booking .main .inner-wrapper.conditions ul.conditions-list li {
        flex: 1 1 100%;
        padding-bottom: 20px;
    }
    .booking .main .inner-wrapper.conditions ul.conditions-list li:last-child {
        padding-bottom: 0;
    }
    .booking .main .inner-wrapper.conditions ul.conditions-list li:last-child:after {
        display: none;
    }
}

@media (min-width: 992px){
    .header .container {
        background-color: rgba(42,158,151,.05);
        padding: 12px 20px;
        border-radius: 16px;
        position: relative;
    }
    .header .weather-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        padding: 8px 15px;
        white-space: nowrap;
        margin-left: 60px;
        background-color: transparent !important;
    }
    .header .weather-wrapper .img-wrapper {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255,255,255,.15);
        margin-right: 12px;
        flex-shrink: 0;
    }
    .header .weather-wrapper .img-wrapper svg,
    .header .weather-wrapper .img-wrapper img {
        width: 30px;
        height: 30px;
    }
    .header .weather-wrapper__info {
        flex: 1;
    }
    .header .weather-wrapper .txt {
        font-size: 12px;
        line-height: 1.2;
        font-weight: 400;
        margin: 0;
        color: var(--text-secondary);
    }
    .header .weather-wrapper .temp {
        font-size: 18px;
        line-height: 1.2;
        font-weight: 600;
        color: var(--text-primary);
        margin: 8px 0 0;
    }

    .header .mobile-menu nav {
        margin-right: 50px;
        margin-left: auto;
    }
    .header .mobile-menu nav a {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        display: inline-block;
        vertical-align: top;
        color: #02291B;
    }
    .header .mobile-menu nav a:not(:first-child) {
        margin-left: 40px;
    }
}
@media (max-width: 991px){
    .header .weather-wrapper {
        display: none;
    }
    .header div.mobile-menu {
        padding-top: 20px;
    }
    .header a.tel-link {
        margin-top: 40px;
    }

    .header button.mobile-menu-btn {
        border: 0;
        padding: 0;
        width: 32px;
        height: 32px;
    }
    .header.active button.mobile-menu-btn {
        border: 0;
    }
    .header button.mobile-menu-btn .close {
        display: inline-block;
        vertical-align: top;
        line-height: 1;
    }
    .header.active .mobile-menu-btn span.open {
        color: inherit;
        display: inline-block;
        vertical-align: top;
        line-height: 1;
    }
}

ul.shop_navigation {
    display: none;
}
.order-final {
    grid-column: 1/3;
}
.order-final h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #02291B;
    margin: 0 0 30px;
}
.order-final__text {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}
.order-final__text > *:first-child {
    margin-top: 0;
}
.order-final__text > *:last-child {
    margin-bottom: 0;
}
.order-final h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text-primary);
    margin: 30px 0 20px;
}
.order-final__info {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
}
.order-final__info p {
    margin: 15px 0;
}
.order-final__info > *:last-child {
    margin-bottom: 0;
}
.order-final__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 20px;
}
.order-final__header h2 {
    margin: 0;
}
.order-final .shop_cart {
    width: 100%;
    border-collapse: collapse;
    border: 0;
}
.order-final .shop_cart th {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    padding: 12px;
    background-color: var(--bg-primmary);
}
.order-final .shop_cart td {
    padding: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    border-bottom: 1px solid rgb(235, 235, 235);
}
.order-final .shop_cart td:first-child,
.order-final .shop_cart th:first-child{
    text-align: left;
    min-width: 200px;
}
.order-final .shop_cart td:last-child,
.order-final .shop_cart td:nth-last-child(2),
.order-final .shop_cart th:last-child,
.order-final .shop_cart th:nth-last-child(2){
    text-align: right;
}
.order-final .shop_cart td a {
    color: var(--accent-green);
}
.order-final__complete {
    /*text-transform: uppercase;*/
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 8px 16px;
    background: var(--accent-green);
    color: #fff;
    letter-spacing: .02em;
    border-radius: 4px;
}
.order-final .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid var(--accent-green);
    background: var(--accent-green);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}
@media (max-width: 767px){
    .order-final .table {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .order-final__header {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }
}