/* Только оформление элементов личного кабинета WooCommerce. */
body.woocommerce-account .woocommerce a {
    color: var(--c-main);
}
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
    margin-bottom: 20px;
    padding: 15px 18px;
    border: 1px solid #cfe2e9;
    border-radius: 9px;
    background: #edf7fa;
}
body.woocommerce-account .woocommerce-error {
    border-color: #efd0ce;
    background: #fff5f4;
}
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce-EditAccountForm {
    border-color: #d5e3e8;
    border-radius: 12px;
    background: #f7fbfc;
}
body.woocommerce-account .woocommerce form .form-row label {
    color: #244352;
    font-weight: 700;
}
body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row select,
body.woocommerce-account .woocommerce form .form-row textarea {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #bdcfd7;
    border-radius: 7px;
    background: #fff;
    font: inherit;
}
body.woocommerce-account .woocommerce form .form-row textarea {
    min-height: 105px;
    resize: vertical;
}
body.woocommerce-account .woocommerce form .form-row input:focus,
body.woocommerce-account .woocommerce form .form-row select:focus,
body.woocommerce-account .woocommerce form .form-row textarea:focus {
    border-color: var(--c-main);
    outline: 2px solid rgba(19, 125, 173, .15);
}
body.woocommerce-account .woocommerce form .password-input input[type="password"],
body.woocommerce-account .woocommerce form .password-input input[type="text"] {
    padding-right: 52px;
}
body.woocommerce-account .woocommerce form .show-password-input {
    top: 50%;
    right: 7px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 6px;
    background: #e8f3f8;
    color: #137dad;
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease;
}
body.woocommerce-account .woocommerce form .show-password-input::after {
    margin: 0;
    font-size: 17px;
    line-height: 1;
}
body.woocommerce-account .woocommerce form .show-password-input:hover,
body.woocommerce-account .woocommerce form .show-password-input.display-password {
    background: #137dad;
    color: #fff;
}
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button {
    padding: 11px 18px;
    border: 1px solid var(--c-main);
    border-radius: 7px;
    background: var(--c-main);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: none;
    box-shadow: none;
}
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover {
    border-color: #07577d;
    background: #07577d;
    color: #fff;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0 0 24px;
    padding: 10px;
    border: 1px solid #d5e3e8;
    border-radius: 11px;
    background: #f7fbfc;
    list-style: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    list-style: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
    margin-top: 4px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 10px 14px;
    border-radius: 7px;
    color: #244352;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: var(--c-main);
    color: #fff;
}
body.woocommerce-account .woocommerce table.shop_table {
    border-color: #d5e3e8;
    border-radius: 9px;
    overflow: hidden;
}
body.woocommerce-account .woocommerce table.shop_table th {
    background: #eef6f8;
    color: #244352;
}
body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table td {
    border-color: #dfeaed;
    padding: 13px;
}
body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-EditAccountForm fieldset {
    border-color: #d5e3e8;
    border-radius: 9px;
    background: #f7fbfc;
}
body.woocommerce-account .woocommerce-Address-title h3,
body.woocommerce-account .woocommerce-EditAccountForm legend {
    color: #244352;
}

@media screen and (max-width: 760px) {
    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2 {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-bottom: 18px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li + li {
        margin-top: 0;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        white-space: nowrap;
    }
}
