.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    font-family: inherit;
    font-weight: 400;
    letter-spacing: normal;
    padding: .7em;
}

.woocommerce form .password-input,
.woocommerce-page form .password-input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
}

.woocommerce form>.form-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.woocommerce-MyAccount-content h3 {
    margin-top: 0;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
}

.woocommerce-MyAccount-navigation ul li a {
    padding: 1em;
    background: #f8f8f8;
    text-align: center;
    display: block;
    transition: all .5s var(--transition);
}

.woocommerce-MyAccount-navigation-link.is-active a {
    background: var(--theme-color-accent);
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--theme-color-accent);
    color: var(--theme-color-primary);
    font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-info::before {
    content: none;
}

.woocommerce-MyAccount-content .woocommerce-info {
    flex-direction: column-reverse;
    display: flex;
    gap: .5em;
    background: transparent;
    border: 1px solid var(--theme-color-grey);
    border-radius: 5px;
    padding: 1em;
}

.woocommerce-MyAccount-content .woocommerce-info .button {
    background: var(--theme-color-primary);
    color: #fff;
    max-width: max-content;
    font-weight: 400;
    transition: all .5s var(--transition);
}

.woocommerce-MyAccount-content .woocommerce-info .button:hover {
    background: var(--theme-color-accent);
}

.woocommerce-privacy-policy-text {
    display: none;
}

/**форма входа/регистрации **/
#customer_login {
    min-height: 390px;
    border-radius: 8px;
    width: 70%;
    max-width: 700px;
    margin: 0 auto;
}

.auth-tabs__panel {
    display: none;
}

.auth-tabs__panel.is-active {
    display: block;
}

.auth-tabs__title {
    cursor: pointer;
    font-size: 24px;
    font-weight: 400;
}

.auth-tabs__title.is-active {
    background: #fff;
    border-right: 2px solid var(--theme-color-beige);
    border-left: 2px solid var(--theme-color-beige);
    border-bottom: 2px solid transparent;
}

.auth-tabs__panel {
    display: block;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.auth-tabs__panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    transition:
        opacity .35s ease,
        transform .35s ease;
}

.woocommerce form.login,
.woocommerce form.register {
    border: 2px solid var(--theme-color-beige);
    padding: 20px;
    margin: 0;
    text-align: left;
    border-radius: 0 0 5px 5px;
}

.auth-tabs__content {
    position: relative;
    background: #fff;
}

/* вкладки */

.auth-tabs__title {
    cursor: pointer;
    position: relative;
    background: var(--theme-color-beige-light);
    padding: 10px;
    transition: color .25s ease;
}

.auth-tabs__title::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width .3s ease;
}

.auth-tabs__title.is-active::after {
    width: 100%;
}

.auth-tabs__nav {
    display: flex;
    gap: 0;
    transform: translateY(2px);
    z-index: 5;
    position: relative;
}

.auth-tabs__nav>div {
    flex-grow: 1;
    width: 50%;
    text-align: center;
    border-bottom: 2px solid var(--theme-color-beige);
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    gap: 5px;
    align-items: center;
}

button.woocommerce-button.button.woocommerce-form-login__submit {
    background: var(--theme-color-accent);
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    width: 280px;
}

p.woocommerce-LostPassword.lost_password {
    text-decoration: underline;
    font-size: 14px;
    text-align: center;
}

button.woocommerce-button.button.woocommerce-form-register__submit {
    background: var(--theme-color-accent);
    color: #fff;
    font-weight: 400;
    font-size: 18px;
}

.woocommerce-form-login__rememberme input {
    width: 16px;
    height: 16px;
}

.woocommerce-EditAccountForm>p {
    display: flex;
    flex-direction: column;
}

/* .edit-account fieldset {
    background: #f5f5f5;
    padding: 2em;
} */

.edit-account p button.button {
    width: max-content;
    border-radius: 5px;
    margin-top: 2em;
}

.password-change fieldset {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    margin-top: 1em;
    border-radius: 5px;
    border: 1px solid var(--theme-color-grey);
    transition: all .5s var(--transition)
}

.password-change.is-open fieldset {
    height: max-content;
    opacity: 1;

}

.change-toggle {
    cursor: pointer;
}

.change-toggle {
    background: var(--theme-color-grey);
    padding: .3em 1em;
    color: var(--white);
    border-radius: 5px;
    margin: 0;
}

.edit-account .clear {
    height: 2em;
}

.password-change fieldset h3 {
    margin: 1em .5em;
}

.password-change fieldset>p.woocommerce-form-row {
    padding: 1em;
}

.password-change {
    margin-top: 2em;
}

.password-change.is-open fieldset {
    display: block;
}

.woocommerce-form-row label {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-color-grey);
}

.my-order__title {
    background: #f5f5f5;
    padding: .5em;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.my-order__title h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.my-order__items {
    margin-top: 1em;
}

.my-order__item {
    display: flex;
    gap: 1em;
}

.my-order__items .my-order__item {
    margin-bottom: 1em;
}

.my-order__item-sku {
    margin-top: .5em;
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-color-grey);
}

.my-order__item-right {
    display: flex;
}

.my-order__item-right>div {
    flex: 1;
}

.my-order__title__right .my-order__delivery {
    color: #28A745;
}

.my-order__item-img {
    width: 73px;
    height: 73px;
}

.my-order__item-right__item._qty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #6C757D;
}

.my-order__item-name a {
    line-height: 1.2;
}

.my-order__item-right__item._total .label {
    margin-bottom: 0;
}

.my-order__item-right {
    width: calc(100% - 70px - 1em);
    gap: 1em;
}

.my-order__item-right__item._total {
    display: flex;
    justify-content: flex-end;
    align-self: center;
    gap: .5em;
}

.my-order__title__right svg {
    width: 16px;
    height: 16px;
    object-fit: contain;
    object-position: center;
    transform: rotate(-90deg);
    transition: all .5s var(--transition);
}

.my-order.is-open .my-order__title__right svg {
    transform: rotate(0deg);
}



.my-order .my-order__items {
    overflow: hidden;
    height: 0;
    transition: all .5s var(--transition);
}

.my-order.is-open .my-order__items {
    height: max-content;
}

.my-order__title__right {
    display: flex;
    align-items: center;
    gap: .5em;
}

.my-order__item-right__item._total {
    text-align: right;
    font-weight: 500;
}

.my-order__item-right__item._qty>div {
    text-align: right;
}


.my-order__item-right__item._total span {
    font-weight: 500;
}

.woocommerce-info .button.wc-forward {
    width: max-content;
    padding: .5em 1em;
}

.woocommerce-form.woocommerce-form-login .form-row {
    display: flex;
    flex-direction: column-reverse;
}

.login .form-row .woocommerce-button.button.woocommerce-form-login__submit {
    max-width: 100%;
    width: 100%;
    margin-top: 2em;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.woocommerce-privacy-policy-text {
    font-size: 12px;
    margin-bottom: 1em;
}

.register .form-row.submit-form button {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-top: 1em;
}

@media (max-width: 768px) {
    .my-order__item-right {
        flex-wrap: wrap;
    }

    .my-order__item-right>div {
        flex: unset;
    }

    .my-order__item-info,
    .my-order__item-right__item._qty {
        width: calc(50% - .5em);
    }

    .my-order__item-right__item._total {
        width: 100%;
    }

    .my-order__item:not(:last-child) {
        padding-bottom: 1em;
        border-bottom: 1px solid #bcbcbc;
    }

    #customer_login {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    .my-order__item-info,
    .my-order__item-right__item._qty {
        width: 100%;
    }

    .my-order__item-right__item._qty,
    .my-order__item-right__item._total {
        width: calc(50% - .5em);
    }

    .my-order__item-right__item._qty>div {
        text-align: left;
    }

    .my-order__item-right__item._qty,
    .my-order__item-right__item._total {
        width: 100%;
    }

    .auth-tabs__title {
        font-size: 18px;
    }

    .woocommerce form.login,
    .woocommerce form.register {
        padding: 0;
        margin: 0;
        margin-top: 0px;
        text-align: left;
        border-radius: 0 0 5px 5px;
        margin-top: 1em;
    }



}