@charset "utf-8";

.user-container {
    display: flex;
    height: 100%;
}

.user-info {
    margin-right: 20px;
    flex: none;
    width: 250px;
}

.user-info-container {
    background: white;
    padding: 16px;
    border-radius: 4px;
    position: fixed;
    width: 218px;
}

.user-info>a {
    display: block;
}

.user-delete {
    top: calc(100% + 75px);
}

.user-exit {
    top: calc(100% + 20px);

}

.user-exit,
.user-delete {
    position: absolute;
    background: var(--light-gray-color);
    width: 100%;
    left: 0;
    line-height: 35px;
    color: white;
    text-align: center;
}

.user-save {
    line-height: 35px;
    background: var(--green-color);
    color: white;
}

.user-subscribe-push {
    display: none;
    line-height: 35px;
    margin-bottom: 16px;
    background: var(--green-color);
    color: white;
}

.user-unsubscribe-push {
    display: none;
    line-height: 35px;
    margin-bottom: 16px;
    background: var(--dark-gray-color);
    color: white;
}

.button-freeze {
    pointer-events: none;
    opacity: 0.5;
}

.user-data {
    width: 70%;
}

.order-empty {
    font-size: 20px;
    text-align: center;
    line-height: 2;
}

.user-phone,
.user-mail {
    margin: 16px 0;
}

.user-name,
.user-mail,
.user-phone {
    background: var(--background-color);
    border-radius: 4px;
    height: 30px;
    border: 1px solid var(--background-color);
    overflow: hidden;
}

.user-mail input,
.user-name input,
.user-phone input {
    padding-left: 10px;
    width: 100%;
}

.order {
    background: white;
    margin-bottom: 20px;
    border-radius: 4px;
    position: relative;
    padding: 10px;
    cursor: default;
}

.order b {
    font-size: 16px;
}

.order:last-child {
    margin-bottom: 0px;
}

.order-elements-show {
    content: "показать товары";
    background: var(--footer-color);
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 4px 0;
    cursor: pointer;
    display: block;
    margin: 0px -10px -10px -10px;
}

.order-elements-show:before {
    content: "показать товары";
}

.order[open] .order-elements-show:before {
    content: "скрыть товары";
}

.order-head {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 30px);
    align-items: center;
    margin-bottom: 10px;
}

.order-head-date {
    display: flex;
    align-items: center;
}

.order-head-date:before {
    content: "";
    display: inline-block;
    background: url(/public/img/el-info.svg) center no-repeat;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    margin-top: -2px;
}

/*.order-head[order-status="D"][order-pay="payed"] .order-head-pay:before {
    content: "Код для получения заказа: " attr(order-pay-code);
}*/

.order-head[order-status="F"][order-pay="payed"] .order-head-pay:before {
    content: "Онлайн оплата";
}

.order-head[order-status="N"][order-pay="payed"] .order-head-pay:before,
.order-head[order-status="D"][order-pay="payed"] .order-head-pay:before {
    content: "Оплачено";
}

.order-head[order-status="D"][order-pay="sber"] .order-head-pay:before,
.order-head[order-status="N"][order-pay="sber"] .order-head-pay:before {
    content: "Ожидание";
}

.order-head[order-status="F"][order-pay="cash"] .order-head-pay:before,
.order-head[order-status="D"][order-pay="cash"] .order-head-pay:before,
.order-head[order-status="N"][order-pay="cash"] .order-head-pay:before {
    content: "Оплата при получении";
}

.order-head-payment-code {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 5px;
}

.order-head-sber-pay {
    display: flex;
    width: 170px;
    background: #08A652;
    color: white;
    text-align: center;
    border-radius: 2px;
    font-size: 14px;
    line-height: 2;
    cursor: pointer;
    margin-top: 4px;
}

.order-head-sber-pay[wait] {
    background: darkgray;
    cursor: wait;
}

.order-head-sber-pay:before {
    content: "";
    background: no-repeat url(/local/img/Online_pay.svg);
    width: 16px;
    height: 16px;
    display: block;
    margin: 6px 10px 0px 10px;
    background-size: contain;
}

.order-head-status {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.head-status-cancel,
.head-status-name {
    width: 100px;
    text-align: center;
    background: var(--footer-color);
    border-radius: 2px;
    line-height: 24px;
    color: white;
}

.head-status-cancel {
    margin-right: 10px;
    cursor: pointer;
    color: inherit;
    display: none;
    width: auto;
    padding: 0 10px;
}

.head-status-cancel:before {
    content: "Отменить";
}

.order-head-status[order-status="N"] .head-status-cancel,
.order-head-status[order-status="D"] .head-status-cancel {
    display: block;
}

.order-head-status[order-status="N"] .head-status-name {
    background: var(--orange-color);
}

/* принят */
.order-head-status[order-status="D"] .head-status-name {
    background: var(--green-color);
}

/* готов */
.order-head-status[order-status="F"] .head-status-name {
    background: var(--dark-gray-color);
}

/* выполнен */
.order-head-status[order-status="C"] .head-status-name {
    color: inherit;
}

/* отменен */

.order-head-sum [price="cop"]:after {
    filter: contrast(0);
}

.order-head>div:nth-child(2n) {
    text-align: right;
}

.order-elements {
    display: none;
}

.order[open] .order-elements {
    display: block;
}

.order-el {
    margin-bottom: 10px;
    display: flex;
    border-top: 1px solid var(--footer-color);
    padding-top: 10px;
}

.order-el-img {
    width: 50px;
    flex: none;
    line-height: 0;
}

.order-el-img img {
    width: 100%;
}

.order-el>a {
    width: 100%;
    margin: 0 10px;
    padding-top: 10px;
}

.order-el-basket {
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.order-el-basket-price {}

.order-el-basket-count {}

.user-auth {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

.user-auth-container {
    background: white;
    padding: 20px;
    border-radius: 4px;
    width: 304px;
}

.user-auth[com="phone"] .user-auth-container-title:before {
    content: "Введите ваш телефон";
}

.user-auth[com="sms"] .user-auth-container-title:before {
    content: "Введите код из СМС";
}

.user-auth[wait]:after {
    content: attr(wait);
    font-size: 20px;
    margin-top: 10px;
    width: 55px;
}

.g-recaptcha.err {
    background: var(--background-color);
    border: 1px solid var(--background-color);
    border-radius: 4px;
    border-color: red;
}

.user-auth[com="phone"] .user-auth-container-but:before {
    content: "Получить код";
}

.user-auth[com="sms"] .user-auth-container-but:before {
    content: "Проверить код";
}

.user-auth[wait] .user-auth-container-but {
    background: var(--light-gray-color);
    cursor: wait;
    color: var(--dark-gray-color);
}

.favorite-empty {
    font-size: 20px;
    text-align: center;
    line-height: 2;
}

.favorite-container>.el {
    margin-bottom: 30px;
}

.favorite-container>.el:last-child {
    margin-bottom: 0px;
}

.user-but-email-notification, .user-but-push-notification {
    display: flex;
    cursor: pointer;
    position: relative;
    font-size: 13px;
    margin-bottom: 16px;
}

.user-but-email-notification[select]:before, .user-but-push-notification[select]:before {
    background: url(/public/img/select-arrow.svg) no-repeat center;
    border: none;
}

.user-but-email-notification:before, .user-but-push-notification:before {
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid #C1C1C1;
    border-radius: 1px;
    display: inline-block;
    margin-right: 10px;
    box-sizing: border-box;
}

.empty-user-data {
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

.empty-user-data img {
    height: 200px;
}

.empty-user-data-container div {
    font-size: 23px;
    color: #455A64;
}

.empty-user-data .img-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.user-links-container {
    display: none;
}

.order-checks-area {
    display: none;
}

.order-checks {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.order-checks-but {
    background-color: var(--green-color);
    max-width: 120px;
    cursor: pointer;
    color: white;
    text-align: center;
    padding: 4px 10px;
    border-radius: 2px;
}

.order-checks-area {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
}

.order-checks-area:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0e0e0ec4;
    opacity: 50%;
    z-index: -1;
    cursor: default;
}

.order-checks-area-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 2px;
    background-color: white;
    padding: 25px 20px;
    position: relative;
}

.order-checks-area-content a {
    background-color: var(--green-color);
    color: white;
    padding: 5px 20px;
    width: 182px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 2px;
}

.order-checks-area-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.order-checks-area-close::before {
    content: '';
    background: url(/local/img/close-btn-black.svg) no-repeat center;
    display: block;
    width: 15px;
    height: 15px;
}

@media (max-width: 600px) {
    .order-checks-area {
        left: calc(50% - 100px);
    }

    .order-checks-area-content a {
        font-size: 16px;
        padding: 10px 20px;
        min-width: 202px;
    }
}

.order-checks-area-content a:not(:first-child) {
    margin-top: 15px;
}

.order-checks-area-content a {
    margin-top: 20px;
}
