#sidebar {
    display: none;
}

/* Авторизация ----------- */
.login input {
    background-color: #fff !important;
}
p.form-row.form-group {
    /* display: flex; */
    /* align-items: center; */
}
.woocommerce-form-login__rememberme {
    padding: 0 !important;
}
.nm-login-form-divider:before {
    height: 2px !important;
    background: #FFD4D4 !important;
}
#nm-show-register-button {
    border: none;
    text-transform: uppercase;
}
.nm-login-form-divider span {
    background-color: #FFD4D4;
    border-radius: 20px;
    padding: 3px 10px 5px;
}
/* ----------- Авторизация */
.nm-page-sidebar .col-content {
    width: 100%;
}

.woocommerce-MyAccount-content {
    background-color: #fff;
    padding: 25px 20px !important;
    box-shadow: 1px 3px 10px 5px rgb(31 31 31 / 9%);
    border-radius: 20px;
    margin: 0 0 70px !important;
}

.wpb_text_column p {
    text-indent: 0;
    margin-top: 0px;
    margin-bottom: 10px !important;
}

.wpb_text_column table {
    margin: 0px auto 0;
}

nav.woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    padding: 5px 0;
}

nav.woocommerce-MyAccount-navigation {
    background-color: #fff;
    padding: 25px 20px !important;
    box-shadow: 1px 3px 10px 5px rgb(31 31 31 / 9%);
    border-radius: 20px;
    margin: 0 0 70px;
}

.page .woocommerce {
    display: flex;
    gap: 20px;
    /* flex-wrap: wrap; */
    margin-top: 35px;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    font-weight: 600;
    color: #9f1641 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    color: #00210B !important;
    font-weight: 600;
}

.nm-MyAccount-user {
    border-radius: 20px;
    background-color: #C9CFDA;
    border: none !important;
    margin-bottom: 21px;
    padding: 15px 21px 14px;
}

/* заказы */
.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    align-items: center;
    flex-wrap: wrap;
}

a.woocommerce-button.button.view,
#nm-show-register-button,
#nm-show-login-button {
    border-radius: 20px;
    background-color: #605566;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 25px;
    margin: 0;
    color: #ffffff;
    border: none;
}

a.woocommerce-button.button.view:hover,
a.woocommerce-button.button.view:focus,
#nm-show-register-button:hover,
#nm-show-register-button:focus,
#nm-show-login-button:hover,
#nm-show-login-button:focus {
    background-color: #4B4350;
    opacity: 1;
}

.woocommerce-button.button.invoice,
.woocommerce-button.woocommerce-button--next.woocommerce-Button.woocommerce-Button--next.button  {
    border-radius: 20px;
    padding: 14px 25px;
}

a.woocommerce-button.button.pay {
    border-radius: 20px;
    background-color: #CD0040;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 25px;
    margin: 0;
}

a.woocommerce-button.button.pay:hover {
    color: #fff;
    background-color: #9f1641;
    opacity: 1;
}

a.woocommerce-button.button.cancel {
    border-radius: 20px;
    background-color: #97153e;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 25px;
    margin: 0;
    color: #fff;
}

a.woocommerce-button.button.cancel:hover {
    color: #fff;
    background-color: #7e0d31;
    opacity: 1;
}

table.woocommerce-orders-table.woocommerce-MyAccount-orders thead th {
    padding: 8px;
}

.wpb_text_column th:first-child {
    border-radius: 20px 0 0 0 !important;
}

.wpb_text_column th:last-child {
    border-radius: 0 20px 0 0 !important;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    display: flex;
    gap: 10px;
}

/* оформление заказа из лк */
table.shop_table th,
table.shop_table td {
    border-radius: 0px 0 0;
    border-top: none !important;
    border-left: none !important;
    border-bottom: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

table.shop_table tfoot tr:first-child th {
    border-radius: 20px 0 0 0;
}

table.shop_table tfoot tr:first-child td {
    border-radius: 0 20px 0 0;
}

table.shop_table tfoot tr:last-child td {
    border-radius: 0 0 20px 0;
}

table.shop_table tfoot tr:last-child th {
    border-radius: 0 0 0 20px;
}

input#place_order {
    border-radius: 20px;
    background-color: #CD0040;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 25px;
    margin: 0;
}

input#place_order:hover {
    color: #fff;
    background-color: #9f1641;
    opacity: 1;
}

/*загрузки*/
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

/*платежный адрес*/
.woocommerce-MyAccount-content .woocommerce-Message {
    margin-bottom: 20px !important;
}

.woocommerce-Address a.edit {
    border-radius: 20px;
    background-color: #CD0040;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    padding: 14px 25px;
    display: inline-block;
}

.woocommerce-Address a.edit:hover {
    color: #fff;
    background-color: #9f1641;
    opacity: 1;
}

address {
    font-style: inherit;
    font-size: 14px;
    margin-top: 10px;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input.input-text,
select,
textarea {
    border-radius: 20px !important;
    border: 2px solid #C9CFDA !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input.input-text:focus,
select:focus,
textarea:focus {
    border: 2px solid #4b4350 !important;
}

button.button {
    border-radius: 20px;
    background-color: #CD0040;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    padding: 14px 25px;
}

button.button:hover {
    color: #fff;
    background-color: #9f1641;
    opacity: 1;
}

/* Заказы */
p.nm-order-info {
    background-color: #CD0040;
    border-radius: 20px;
    color: #fff;
}
.woocommerce-order-details th {
    background-color: #fff !important;
}

@media (max-width: 991px) {
    .page .woocommerce {
        gap: 0px;
        flex-wrap: wrap;
    }

    .page .woocommerce>div,
    .page .woocommerce>nav {
        width: 100%;
    }

    nav.woocommerce-MyAccount-navigation {
        margin: 0 0 20px;
    }
}

@media (max-width: 748px) {

    a.woocommerce-button.button.view,
    a.woocommerce-button.button.pay,
    a.woocommerce-button.button.cancel,
    #nm-show-login-button {
        padding: 10px 15px;
    }

    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
        flex-direction: column;
    }

    td.product-name {
        padding-right: 0 !important;
    }
}