.popup-button {
    padding: 20px 50px;
    display: inline-block;
    background: #EF233C;
    color: white;
    text-decoration: none;
    transition: 0.35s ease-in-out;
    font-weight: 700;
}

.popup-button:hover {
    background: #dc1029;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: inherit;
    z-index: 10;
}

.modal {
    display: none;
}

.modal-content__title {
    font-weight: bold;
    margin-bottom: 35px;
    font-size: 25px;
}

.modal-content__body {
    font-size: 20px;
    margin-bottom: 48px;
}

.modal-content__btn-wrapper {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    width: 190px;
    max-width: 31%;
}

.modal-content__btn-wrapper_center {
    margin-left: 17px;
}

.modal-content__btn-wrapper_right {
    margin-left: 17px;
    float: right;
}

.popup-window.fancybox-content {
    max-width: 700px;
    padding: 65px 45px;
}

.modal-content__btn-wrapper.modal-content__btn-wrapper_big {
    width: 100%;
    max-width: 100%;
}

.modal-content__btn-wrapper.modal-content__btn-wrapper_big .btn {
    display: inline-block;
    width: 49%;
}

@media only screen and (max-width: 1000px) {
    .popup-window.fancybox-content p {
        font-size: 20px;
        line-height: initial;
    }
}

@media only screen and (max-width: 645px) {
    .popup-window.fancybox-content {
        text-align: center;
    }

    .modal-content__btn-wrapper {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .modal-content__btn-wrapper.modal-content__btn-wrapper_big {
        width: 100%;
        max-width: 100%;
    }

    .modal-content__btn-wrapper.modal-content__btn-wrapper_big .btn {
        display: block;
        width: 100%;
    }

    .modal-content__btn {
        width: 160px;
        display: inline-block;
    }
}

body.fancybox-active {
    height: 100%;
}


@media only screen and (max-width: 640px) {
    .lk-order-history .baskettable.retail .table-col:nth-child(2):before {
        content: 'Город';
    }
    .lk-order-history .baskettable.retail .table-col:nth-child(3):before {
        content: 'Дата и время';
    }
    .lk-order-history .baskettable.retail .table-col:nth-child(4):before {
        content: '';
    }

    .lk-order-history .baskettable.retail-my .table-col:nth-child(2):before {
        content: 'Город';
    }
    .lk-order-history .baskettable.retail-my .table-col:nth-child(3):before {
        content: 'Дата и время';
    }
    .lk-order-history .baskettable.retail-my .table-col:nth-child(4):before {
        content: 'Телефон';
    }
    .lk-order-history .baskettable.retail-my .table-col:nth-child(5):before {
        content: 'Товар';
    }
    .lk-order-history .baskettable.retail-my .table-col:nth-child(6):before {
        content: 'Статус';
    }
}
