

/* Start:/local/templates/lifeup/css/account.css?17730349689803*/
/*Общие*/
.account-container {
    display: flex;
    gap: 30px;
}

.account-content {
    width: 100%;
    padding: 0 20px 20px 20px;
}

.title .page_title {
    display: none;
}

.page-title {
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 30px;
}

.breadcrumbs {
    display: none !important;
}

/*Сайдбар*/
.account-sidebar {
    padding: 15px 0;
    height: auto;
    max-height: 225px;
    width: 250px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.account-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-sidebar ul li {
    padding: 0 !important;
}

.account-sidebar ul li:before {
    display: none;
}

.account-sidebar .sidebar-item-link {
    display: block;
    padding: 10px 15px 10px 25px;
    font-size: 16px;
    line-height: normal;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    cursor: pointer;
}

.account-sidebar .sidebar-item-link:hover {
    background-color: #00a0e3;
    color: #fff;
}

.account-sidebar .sidebar-item-link.active {
    background-color: #0090d1;
    color: #fff;
}


.btn {
    height: 50px;
    padding: 0 40px;
    background: #00a0e3;
    border-radius: 50px;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.btn:hover, .btn:focus, .btn.focus {
    color: #333;
    text-decoration: none;
    background: #0090d1;
}

.account-section.allows-mailing {
    grid-template-columns: 1fr !important;
}

.allows-mailing > div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.allows-mailing input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.allows-mailing label {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.allows-mailing label:before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: 1px solid #656565;
    transition: all 0.3s ease-in;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


.allows-mailing input:checked + label:after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #00a0e3;
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in;
    opacity: 1;
}

.allows-mailing input:not(:checked) + label:after {
    opacity: 0;
}

.allows-mailing label:hover:before {
    border-color: #333;
}

/*Статусы заказов*/

.status-new {
    border: 1px solid #00a0e3;
}


.status-processing {
    background-color: #fff9c4;
    border: 2px solid #fbc02d;
}

.status-shipped {
    background-color: #c8e6c9;
    border: 2px solid #388e3c;
}


.status-delivered {
    background-color: #ffebee;
    border: 2px solid #e57373;
}

.status-canceled {
    background-color: #ffccbc;
    border: 2px solid #f4511e;
}

.status-default {
    background-color: #f0f0f0;
    border: 2px solid #bdbdbd;
}

.section-title {
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 20px;
}

.account-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 30px;
    margin-bottom: 40px;
}

.account-section-info {
    grid-template-columns: 1fr 1fr 1fr;
}

.input-group label .required {
    color: #f0002d;
}

.account-section input:not([type="submit"]),
.user-addresses input:not([type="submit"]) {
    width: 100%;
    height: 45px;
    padding: 0 20px;
    border: 1px solid #d0d0d0;
    border-radius: 50px;
    transition: all 0.3s ease-in;
    margin-top: 10px;
}

/*Страница списка заказов*/
.sale-order-list-title {
    margin: 0 !important;
}

.order-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
}

.sale-order-list-container {
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    padding: 40px 20px;
}

.sale-order-list-inner-container {
    border: none;
    padding-bottom: 0;
}

.order-products {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 30px;
    margin-bottom: 30px;
}

.order-product {
    width: 100px;
    height: 100px;
    border: 1px solid #000;
}

.sale-order-list-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.sale-order-list-repeat-container {
    text-align: right;
    padding-right: 15px !important;
}

.sale-order-btns-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.sale-order-btns-container .btn {
    height: 35px;
    padding: 0 20px;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
}

.sale-order-list-repeat-link:before {
    display: none;
}

.sale-order-total-price-container {
    text-align: right;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: right;
    font-size: 16px;
    padding-right: 15px;
}

/*Страница деталей заказа*/
.container-fluid {
    padding: 0;
    margin: 0;
}

.sale-order-detail-general {
    border: none;
}

.sale-order-detail-title-container {
    margin-bottom: 40px;
}

.sale-order-detail-payment-options-order-content {
    margin-top: 0;
}

.sale-order-detail-about-order {
    margin: 0;
}


.sale-order-detail-about-order-title,
.sale-order-detail-payment-options-title,
.sale-order-detail-payment-options-shipment-composition-title,
.sale-order-detail-payment-options-order-content-title {
    background: none;
}

.sale-order-detail-about-order-inner-container {
    padding: 0;
    border: none;
}

.sale-order-detail-order-section {
    border: none;
}

.sale-order-detail-order-item-tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.sale-order-detail-order-item-imgcontainer {
    border: none;
}

.sale-order-detail-summary {
    border: 1px solid #00a0e3;
    padding: 15px;
    border-radius: 20px;
}

.sale-order-detail-summary-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.sale-order-detail-summary-item {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.sale-order-detail-summary-item strong {
    color: #333;
    font-weight: 500;
}

.sale-order-detail-summary-item span {
    color: #666;
}

.sale-order-detail-order-item-td {
    border: none;
}

.sale-order-detail-about-order-inner-container-repeat-button.btn {
    font-size: 14px;
    font-weight: 500;
}

/*Мои адреса*/
.user-addresses {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
}

.user-address-item {
    width: calc(50% - 20px);
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    padding: 40px 20px;
}

.user-address-item.main-address {
    border-color: #00a0e3;
}

.user-address-item .input-group:not(:last-child) {
    margin-bottom: 20px;
}


.user-address-btns {
    margin-top: 40px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.user-address-btns .btn {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
}

.user-address-btns-edit {
    display: none;
}


/* Мобильные стили */

.menu_header_account {
    display: none !important;
}

@media (max-width: 768px) {

    .menu_header {
        display: none !important;
    }

    .menu_header_account {
        display: flex !important;
    }

    .account-sidebar {
        display: none;
    }

    main {
        padding-top: 30px !important;
    }

    main .title {
        margin-bottom: 0;
    }

    /*Профиль*/
    .account-section-info {
        grid-template-columns: 1fr;
    }

    .account-section {
        grid-template-columns: 1fr;
    }

    .submit-group .btn {
        width: 100%;
    }

    /*Мои заказы*/
    .sale-order-list-header {
        flex-direction: column;
        gap: 20px;
    }

    .sale-order-list-header .order-status {
        order: -1;
    }

    .sale-order-btns-container {
        flex-direction: column;
    }

    .sale-order-total-price-container {
        text-align: center;
        justify-content: center;
    }

    /*Детали заказа*/
    .sale-order-detail .row {
        margin-left: 0;
        margin-right: 0;
    }

    .sale-order-detail .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .sale-order-detail-title-container {
        margin-bottom: 24px;
    }

    .sale-order-detail-summary-column,
    .sale-order-detail-about-order-inner-container-repeat {
        margin-top: 20px;
    }

    .sale-order-detail-about-order-inner-container-repeat-button.btn {
        width: 100%;
    }
}

@media (max-width: 991px) {
    /*Адреса*/
    .user-addresses {
        gap: 20px;
    }

    .user-address-item {
        width: 100%;
        padding: 24px 16px;
    }

    .user-address-btns {
        margin-top: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .user-address-btns .btn {
        width: 100%;
    }

    .sale-order-detail-order-item-tr {
        display: block;
    }

    .sale-order-detail-order-item-td {
        display: block;
        width: 100%;
    }
}

/* End */
/* /local/templates/lifeup/css/account.css?17730349689803 */
