/* ==========================================================
   MH EVO - My Account
   ========================================================== */

/* ==========================================================
   Main Layout
   ========================================================== */

.woocommerce{
    width:100%;
}

.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content{
    box-sizing:border-box;
}

.woocommerce-MyAccount-navigation{
    float:left;
    width:240px;
    margin-left:20px;
}

.woocommerce-MyAccount-content{
    float:right;
    width:calc(100% - 300px);
    margin-left:0;
    padding-right:20px;
    min-width:0;
    box-sizing:border-box;
}

/* ==========================================================
   Account Navigation
   ========================================================== */

.woocommerce-MyAccount-navigation{
    background:#fff;

    border:1px solid #e5e7eb;
    border-radius:18px;

    padding:10px;

    box-sizing:border-box;
}

.woocommerce-MyAccount-navigation ul{
    margin:0;
    padding:0;

    list-style:none;
}

.woocommerce-MyAccount-navigation li{
    margin:0;
    padding:0;
}

.woocommerce-MyAccount-navigation a{
    display:block;

    padding:13px 16px;

    border-radius:10px;

    color:#111827;

    font-size:15px;
    font-weight:600;

    line-height:1.4;

    text-decoration:none;
}

.woocommerce-MyAccount-navigation a:hover{
    background:#f5f6f8;
}

.woocommerce-MyAccount-navigation .is-active a{
    background:#f1f3f5;

    color:#111827;
}

/* ==========================================================
   Mobile Navigation
   ========================================================== */

@media (max-width:767px){

    .woocommerce{
        display:block;
    }

    .woocommerce-MyAccount-navigation{
        float:none;

        width:calc(100% - 12px);

        margin:0 6px 24px;

        padding:8px 6px;

        border-radius:14px;

        overflow-x:auto;
        overflow-y:hidden;

        -webkit-overflow-scrolling:touch;
    }

    .woocommerce-MyAccount-navigation ul{
        display:flex;

        width:max-content;
        min-width:100%;

        gap:4px;

        padding:0 2px;
    }

    .woocommerce-MyAccount-navigation li{
        flex:0 0 auto;
    }

    .woocommerce-MyAccount-navigation a{
        padding:10px 14px;

        white-space:nowrap;

        font-size:14px;
    }

    .woocommerce-MyAccount-content{
    width:calc(100% - 24px);
    margin-left:12px;
    margin-right:12px;
    box-sizing:border-box;
    }

}

/* ==========================================================
   Dashboard Content
   ========================================================== */

.woocommerce-MyAccount-content{
    color:#374151;
}

.woocommerce-MyAccount-content > p{
    margin:0 0 20px;

    font-size:16px;
    line-height:1.7;
}

.woocommerce-MyAccount-content > p:first-child{
    margin-bottom:14px;

    color:#111827;

    font-size:18px;
}

.woocommerce-MyAccount-content > p:first-child strong{
    color:#111827;
}

.woocommerce-MyAccount-content > p a{
    color:#111827;

    font-weight:600;

    text-decoration:none;
}

.woocommerce-MyAccount-content > p a:hover{
    text-decoration:underline;
}

/* ==========================================================
   Orders
   ========================================================== */

.woocommerce-MyAccount-orders{
    width:100%;

    margin:0;

    border:1px solid #e5e7eb;
    border-radius:16px;

    border-collapse:separate;
    border-spacing:0;

    background:#fff;

    overflow:hidden;
}

.woocommerce-MyAccount-orders th,
.woocommerce-MyAccount-orders td{
    box-sizing:border-box;
}

.woocommerce-MyAccount-orders th{
    padding:14px 16px;

    border-bottom:1px solid #e5e7eb;

    background:#f8f9fa;

    color:#111827;

    font-size:13px;
    font-weight:700;

    line-height:1.4;
    text-align:left;
}

.woocommerce-MyAccount-orders td{
    padding:17px 16px;

    border-bottom:1px solid #eeeeee;

    color:#4b5563;

    font-size:14px;
    line-height:1.5;

    vertical-align:middle;
}

.woocommerce-MyAccount-orders tbody tr:last-child td,
.woocommerce-MyAccount-orders tbody tr:last-child th{
    border-bottom:0;
}

.woocommerce-MyAccount-orders tbody tr{
    transition:background-color .15s ease;
}

.woocommerce-MyAccount-orders tbody tr:hover{
    background:#fafafa;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number a{
    color:#111827;

    font-weight:700;

    text-decoration:none;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total{
    color:#111827;
    font-weight:700;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-status{
    color:#374151;
    font-weight:600;
}

.woocommerce-MyAccount-orders a{
    color:#111827;

    font-weight:600;

    text-decoration:none;
}

.woocommerce-MyAccount-orders a:hover{
    text-decoration:underline;
}

.woocommerce-MyAccount-orders .button{
    display:inline-block;

    padding:8px 14px;

    border:0;
    border-radius:10px;

    background:#f1f2f4;

    color:#111827;

    font-size:13px;
    font-weight:700;

    line-height:1.4;

    text-decoration:none;
}

.woocommerce-MyAccount-orders .button:hover{
    background:#e5e7eb;

    text-decoration:none;
}

/* ==========================================================
   My Account - Orders Mobile
   ========================================================== */

/* ==========================================================
   My Account - Orders Mobile
   ========================================================== */

@media (max-width:767px){

     .woocommerce-MyAccount-orders{
        width:100%;

        border:0;
        border-radius:0;
    }

    .woocommerce-MyAccount-orders thead{
        display:none;
    }

    .woocommerce-MyAccount-orders tbody{
        display:block;
    }

    .woocommerce-MyAccount-orders tbody tr{
        display:block;

        margin:0 0 16px;
        padding:16px;

        border:1px solid #e5e7eb;
        border-radius:14px;

        background:#fff;
    }

    .woocommerce-MyAccount-orders tbody td,
    .woocommerce-MyAccount-orders tbody th{
        display:flex;

        align-items:center;
        justify-content:space-between;

        width:100%;

        padding:10px 0;

        border:0;
        border-bottom:1px solid #f1f1f1;

        background:transparent;

        text-align:right;
    }

    .woocommerce-MyAccount-orders tbody td::before,
    .woocommerce-MyAccount-orders tbody th::before{
        content:attr(data-title);

        flex:0 0 auto;

        margin-right:16px;

        color:#111827;

        font-size:13px;
        font-weight:700;

        text-align:left;
    }

    .woocommerce-MyAccount-orders tbody th.woocommerce-orders-table__cell-order-number{
    display:flex !important;

    padding-top:0;
    }

    .woocommerce-MyAccount-orders tbody th.woocommerce-orders-table__cell-order-number a{
        color:#111827;

        font-weight:700;

        text-decoration:none;
    }

    .woocommerce-MyAccount-orders tbody td:last-child{
        border-bottom:0;

        padding-bottom:0;
    }

    .woocommerce-MyAccount-orders .button{
        display:inline-block;

        padding:8px 14px;

        border-radius:8px;

        font-weight:700;

        text-decoration:none;
    }

}

/* ==========================================================
   My Account - Tablet
   ========================================================== */

@media (min-width:768px) and (max-width:1024px){

    .woocommerce-MyAccount-navigation{
        float:left;
        width:220px;

        margin-left:10px;
    }

    .woocommerce-MyAccount-content{
        float:right;

        width:calc(100% - 250px);

        margin:0;

        min-width:0;
    }

}

/* ==========================================================
   My Account - Login
   ========================================================== */

body.woocommerce-account:not(.logged-in) .woocommerce{
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* Login title */
body.woocommerce-account:not(.logged-in) .woocommerce > h2{
    width:100%;
    max-width:560px;

    margin:0 auto 20px;

    box-sizing:border-box;

    color:#111827;

    font-size:28px;
    line-height:1.3;
}

/* Login form */
body.woocommerce-account:not(.logged-in) .woocommerce-form-login.login{
    width:calc(100% - 40px);
    max-width:560px;

    margin:0 auto 24px !important;
    padding:28px;

    box-sizing:border-box;

    border:1px solid #e5e7eb;
    border-radius:14px;

    background:#fff;
}

/* Form rows */
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row{
    margin:0 0 18px;
}

/* Labels */
body.woocommerce-account:not(.logged-in) .woocommerce-form-login label{
    display:block;

    margin-bottom:7px;

    color:#374151;

    font-size:16px;
    line-height:1.5;
}

/* Inputs */
body.woocommerce-account:not(.logged-in) .woocommerce-form-login input.input-text{
    width:100%;

    box-sizing:border-box;

    min-height:44px;

    padding:10px 12px;

    border:1px solid #d1d5db;
    border-radius:6px;

    background:#fff;

    font-size:15px;
}

/* Password wrapper */
body.woocommerce-account:not(.logged-in) .woocommerce-form-login .password-input{
    display:block;

    width:100%;
}

/* Remember me */
body.woocommerce-account:not(.logged-in)
.woocommerce-form-login .woocommerce-form-login__rememberme{
    display:inline-flex;
    align-items:center;

    width:auto;

    margin:0 12px 0 0;

    vertical-align:middle;
}

body.woocommerce-account:not(.logged-in)
.woocommerce-form-login .woocommerce-form-login__rememberme input{
    margin:0 5px 0 0;
}

/* Login button */
body.woocommerce-account:not(.logged-in)
.woocommerce-form-login .woocommerce-form-login__submit{
    display:inline-block;

    margin:0;

    padding:9px 16px;

    border:0;
    border-radius:8px;

    background:#f1f2f4;

    color:#111827;

    font-size:14px;
    font-weight:700;

    line-height:1.4;
}

/* Lost password */
body.woocommerce-account:not(.logged-in)
.woocommerce-form-login .lost_password{
    margin:12px 0 0;
}

body.woocommerce-account:not(.logged-in)
.woocommerce-form-login .lost_password a{
    color:#374151;

    font-size:15px;

    text-decoration:none;
}

body.woocommerce-account:not(.logged-in)
.woocommerce-form-login .lost_password a:hover{
    text-decoration:underline;
}


/* ==========================================================
   Login - Mobile
   ========================================================== */

@media (max-width:767px){

    body.woocommerce-account:not(.logged-in) .woocommerce > h2{
        width:calc(100% - 20px);

        margin-left:auto;
        margin-right:auto;

        font-size:24px;
    }

    body.woocommerce-account:not(.logged-in)
    .woocommerce-form-login.login{
        width:calc(100% - 20px);

        margin-left:auto !important;
        margin-right:auto !important;

        padding:20px;
    }

}

/* ==========================================================
   My Account - Lost Password
   ========================================================== */

.woocommerce-ResetPassword.lost_reset_password{
    width:100%;
    max-width:700px;

    margin:0 auto;
    padding:32px 40px;

    box-sizing:border-box;

    border:1px solid #e5e7eb;
    border-radius:18px;

    background:#fff;
}

/* Intro text */

.woocommerce-ResetPassword.lost_reset_password > p:first-child{
    margin:0 0 26px;

    color:#374151;

    font-size:16px;
    line-height:1.7;
}

/* Form rows */

.woocommerce-ResetPassword.lost_reset_password .form-row{
    margin:0 0 18px;
}

.woocommerce-ResetPassword.lost_reset_password label{
    display:block;

    margin:0 0 8px;

    color:#374151;

    font-size:15px;
    font-weight:500;

    line-height:1.5;
}

.woocommerce-ResetPassword.lost_reset_password .required{
    color:#dc2626;
}

.woocommerce-ResetPassword.lost_reset_password input.input-text{
    display:block;

    width:100%;

    min-height:44px;

    padding:10px 12px;

    box-sizing:border-box;

    border:1px solid #d1d5db;
    border-radius:8px;

    background:#fff;

    color:#374151;

    font-size:15px;
    line-height:1.4;

    outline:none;
}

.woocommerce-ResetPassword.lost_reset_password input.input-text:focus{
    border-color:#9ca3af;

    box-shadow:0 0 0 2px rgba(156,163,175,.12);
}

/* Button */

.woocommerce-ResetPassword.lost_reset_password button{
    display:inline-block;

    padding:10px 16px;

    border:0;
    border-radius:8px;

    background:#f1f2f4;

    color:#111827;

    font-size:14px;
    font-weight:700;

    line-height:1.4;

    cursor:pointer;
}

.woocommerce-ResetPassword.lost_reset_password button:hover{
    background:#e5e7eb;
}


/* ==========================================================
   Lost Password - Tablet
   ========================================================== */

@media (min-width:768px) and (max-width:1024px){

    .woocommerce-ResetPassword.lost_reset_password{
        width:calc(100% - 80px);

        max-width:700px;

        margin-left:auto;
        margin-right:auto;

        padding:28px 32px;
    }

}


/* ==========================================================
   Lost Password - Mobile
   ========================================================== */

@media (max-width:767px){

    .woocommerce-ResetPassword.lost_reset_password{
        width:calc(100% - 24px);

        max-width:none;

        margin-left:12px;
        margin-right:12px;

        padding:22px 18px;

        border-radius:14px;
    }

    .woocommerce-ResetPassword.lost_reset_password > p:first-child{
        margin-bottom:22px;

        font-size:14px;
        line-height:1.65;
    }

    .woocommerce-ResetPassword.lost_reset_password label{
        font-size:14px;
    }

    .woocommerce-ResetPassword.lost_reset_password input.input-text{
        min-height:42px;

        font-size:14px;
    }

    .woocommerce-ResetPassword.lost_reset_password button{
        padding:9px 14px;

        font-size:13px;
    }

}

/* ==========================================================
   Lost Password - Confirmation
   ========================================================== */

body.woocommerce-account:not(.logged-in)
.woocommerce:has(> .woocommerce-message){

    width:100%;
    max-width:700px;

    margin:0 auto;
    padding:0;

    box-sizing:border-box;

    border:1px solid #e5e7eb;
    border-radius:18px;

    background:#fff;

    overflow:hidden;
}


/* Success Notice */

body.woocommerce-account:not(.logged-in)
.woocommerce:has(> .woocommerce-message)
> .woocommerce-message{

    margin:0;

    padding:16px 20px;

    border:0;
    border-bottom:1px solid #e5e7eb;
    border-radius:0;

    background:#f8fafc;

    color:#374151;

    font-size:15px;
    line-height:1.5;
}


/* Confirmation Message */

body.woocommerce-account:not(.logged-in)
.woocommerce:has(> .woocommerce-message)
> p{

    margin:0;

    padding:24px 40px 30px;

    color:#374151;

    font-size:15px;
    line-height:1.7;
}


/* ==========================================================
   Lost Password Confirmation - Tablet
   ========================================================== */

@media (min-width:768px) and (max-width:1024px){

    body.woocommerce-account:not(.logged-in)
    .woocommerce:has(> .woocommerce-message){

        width:calc(100% - 80px);

        max-width:700px;

        margin-left:auto;
        margin-right:auto;
    }

    body.woocommerce-account:not(.logged-in)
    .woocommerce:has(> .woocommerce-message)
    > p{

        padding:22px 32px 26px;
    }

}


/* ==========================================================
   Lost Password Confirmation - Mobile
   ========================================================== */

@media (max-width:767px){

    body.woocommerce-account:not(.logged-in)
    .woocommerce:has(> .woocommerce-message){

        width:calc(100% - 24px);

        max-width:none;

        margin-left:12px;
        margin-right:12px;

        border-radius:14px;
    }

    body.woocommerce-account:not(.logged-in)
    .woocommerce:has(> .woocommerce-message)
    > .woocommerce-message{

        padding:13px 16px;

        font-size:14px;
        line-height:1.5;
    }

    body.woocommerce-account:not(.logged-in)
    .woocommerce:has(> .woocommerce-message)
    > p{

        padding:20px 18px 24px;

        font-size:14px;
        line-height:1.65;
    }

}

/* ==========================================================
   Lost Password Confirmation - Notice Alignment
   ========================================================== */

body.woocommerce-account:not(.logged-in)
.woocommerce:has(> .woocommerce-message)
> .woocommerce-message{
    display:flex;

    align-items:center;
    gap:10px;

    padding:16px 20px;

    box-sizing:border-box;

    border:0;
    border-bottom:1px solid #e5e7eb;

    background:#f8fafc;

    color:#374151;

    font-size:15px;
    line-height:1.5;
}

/* WooCommerce success icon */

body.woocommerce-account:not(.logged-in)
.woocommerce:has(> .woocommerce-message)
> .woocommerce-message::before{
    position:static;

    display:block;

    flex:0 0 auto;

    margin:0 2px 0 0;
}


/* ==========================================================
   Notice - Mobile
   ========================================================== */

@media (max-width:767px){

    body.woocommerce-account:not(.logged-in)
    .woocommerce:has(> .woocommerce-message)
    > .woocommerce-message{

        gap:8px;

        padding:13px 16px;

        font-size:14px;
    }

    body.woocommerce-account:not(.logged-in)
    .woocommerce:has(> .woocommerce-message)
    > .woocommerce-message::before{

        margin-right:2px;
    }

}
/* =========================================================
   MH EVO — My Account Dashboard
   ========================================================= */

/* Dashboard welcome */
.woocommerce-MyAccount-content > p:first-of-type{
    margin:0 0 24px;
    padding:24px 28px;
    background:#f8faf9;
    border:1px solid #e5e7eb;
    border-radius:18px;
    font-size:18px;
    line-height:1.6;
}

.woocommerce-MyAccount-content > p:first-of-type strong{
    font-weight:700;
}

/* Hide native explanatory paragraph.
 * Dashboard content is replaced by MH EVO sections below.
 */
.woocommerce-MyAccount-content > p:nth-of-type(2){
    display:none;
}

/* Dashboard section */
.mh-account-section{
    margin:0 0 28px;
}

.mh-account-section__header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin:0 0 14px;
}

.mh-account-section__header h2{
    margin:0;
    font-size:22px;
    line-height:1.3;
    font-weight:700;
}

.mh-account-section__header p{
    margin:5px 0 0;
    font-size:14px;
    line-height:1.5;
    color:#6b7280;
}

.mh-account-section__header > a{
    flex:0 0 auto;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

/* Recent orders */
.mh-account-orders-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.mh-account-order-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:18px 20px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
}

.mh-account-order-card__main{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
}

.mh-account-order-card__main strong{
    font-size:15px;
    font-weight:700;
}

.mh-account-order-card__main span{
    font-size:13px;
    color:#6b7280;
}

.mh-account-order-card__meta{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    flex-wrap:wrap;
    text-align:right;
}

.mh-account-order-card__meta > strong{
    font-size:15px;
    font-weight:700;
}

.mh-account-order-card__meta > a{
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

/* Order status */
.mh-account-status{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:5px 10px;
    border-radius:999px;
    background:#f3f4f6;
    color:#374151;
    font-size:12px;
    line-height:1;
    font-weight:600;
}

/* Quick access */
.mh-account-quick-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.mh-account-quick-card{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-height:100px;
    padding:18px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    text-decoration:none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.mh-account-quick-card strong{
    font-size:15px;
    line-height:1.4;
    font-weight:700;
}

.mh-account-quick-card span{
    font-size:13px;
    line-height:1.5;
    color:#6b7280;
}

.mh-account-quick-card:hover{
    border-color:#d1d5db;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
    transform:translateY(-1px);
}

/* Empty state */
.mh-account-empty{
    padding:24px;
    text-align:center;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
}

.mh-account-empty p{
    margin:0 0 14px;
}

.mh-account-empty a{
    font-weight:600;
    text-decoration:none;
}

/* Tablet */
@media (min-width:768px) and (max-width:1024px){

    .mh-account-section__header h2{
        font-size:21px;
    }

    .mh-account-order-card{
        padding:16px 18px;
    }

    .mh-account-quick-grid{
        gap:10px;
    }

}

/* Mobile */
@media (max-width:767px){

    .woocommerce-MyAccount-content > p:first-of-type{
        margin-bottom:20px;
        padding:18px 18px;
        border-radius:16px;
        font-size:16px;
        line-height:1.55;
    }

    .mh-account-section{
        margin-bottom:24px;
    }

    .mh-account-section__header{
        align-items:flex-start;
        gap:10px;
    }

    .mh-account-section__header h2{
        font-size:19px;
    }

    .mh-account-section__header p{
        font-size:13px;
    }

    .mh-account-section__header > a{
        font-size:13px;
        white-space:nowrap;
    }

    .mh-account-order-card{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
        padding:16px;
        border-radius:14px;
    }

    .mh-account-order-card__meta{
        width:100%;
        justify-content:flex-start;
        gap:8px 12px;
        text-align:left;
    }

    .mh-account-order-card__meta > a{
        margin-left:auto;
    }

    .mh-account-quick-grid{
        grid-template-columns:1fr;
        gap:10px;
    }

    .mh-account-quick-card{
        min-height:auto;
        padding:16px;
        border-radius:14px;
    }

}

/* =========================================================
   MH EVO — Account Welcome Component
   ========================================================= */

.mh-account-welcome{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:0 0 30px;
    padding:24px 28px;
    background:#f8faf9;
    border:1px solid #e5e7eb;
    border-radius:18px;
}

.mh-account-welcome__content{
    min-width:0;
}

.mh-account-welcome__title{
    margin:0;
    color:#111827;
    font-size:20px;
    line-height:1.4;
}

.mh-account-welcome__title strong{
    font-weight:700;
}

.mh-account-welcome__text{
    margin:6px 0 0;
    color:#6b7280;
    font-size:14px;
    line-height:1.6;
}

.mh-account-welcome__logout{
    flex:0 0 auto;
    color:#111827;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.mh-account-welcome__logout:hover{
    text-decoration:underline;
}

/* Hide native WooCommerce dashboard paragraphs */
.woocommerce-MyAccount-content > p:first-of-type,
.woocommerce-MyAccount-content > p:nth-of-type(2){
    display:none;
}

@media (max-width:767px){

    .mh-account-welcome{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
        margin-bottom:24px;
        padding:18px;
        border-radius:16px;
    }

    .mh-account-welcome__title{
        font-size:17px;
    }

    .mh-account-welcome__text{
        font-size:13px;
    }

    .mh-account-welcome__logout{
        font-size:13px;
    }

}

/* =========================================================
   MH EVO — My Account Desktop Visual Polish
   Visual-only adjustment. Preserve existing layout flow.
   ========================================================= */

@media (min-width:1025px){

    .woocommerce-account .woocommerce-MyAccount-navigation{
        position:relative;
        top:12px;
        left:-4px;
    }

    .woocommerce-account .woocommerce-MyAccount-content{
        position:relative;
        top:12px;
        padding-left:10px;
    }

}

/* =========================================================
   MH EVO — Orders Header
   ========================================================= */

.mh-account-orders-header{
    margin:0 0 22px;
}

.mh-account-orders-header h1{
    margin:0;
    color:#111827;
    font-size:28px;
    font-weight:700;
    line-height:1.25;
}

.mh-account-orders-header p{
    margin:6px 0 0;
    color:#6b7280;
    font-size:15px;
    line-height:1.5;
}

@media (max-width:767px){

    .mh-account-orders-header{
        margin-bottom:18px;
    }

    .mh-account-orders-header h1{
        font-size:22px;
    }

    .mh-account-orders-header p{
        font-size:14px;
    }

}

/* =========================================================
   MH EVO — Orders Desktop Polish
   ========================================================= */

@media (min-width:768px){

    .woocommerce-MyAccount-orders{
        border:1px solid #e1e5e9;
        border-radius:18px;
        box-shadow:0 2px 10px rgba(17,24,39,.025);
        overflow:hidden;
    }

    .woocommerce-MyAccount-orders th{
        padding:15px 16px;
        background:#f7f8f9;
        border-bottom:1px solid #e5e7eb;
        font-size:13px;
        line-height:1.4;
    }

    .woocommerce-MyAccount-orders td{
        padding:17px 16px;
        background:#fff;
        border-bottom:1px solid #f0f1f2;
    }

    .woocommerce-MyAccount-orders tbody tr:last-child td{
        border-bottom:0;
    }

    .woocommerce-MyAccount-orders tbody tr{
        transition:background-color .15s ease;
    }

    .woocommerce-MyAccount-orders tbody tr:hover td{
        background:#fafbfb;
    }

    .woocommerce-MyAccount-orders .button{
        min-height:40px;
        padding:9px 16px;
        border:1px solid #e5e7eb;
        border-radius:10px;
        background:#f5f6f7;
        font-size:13px;
        font-weight:700;
        line-height:1.4;
    }

    .woocommerce-MyAccount-orders .button:hover{
        background:#eef0f2;
        border-color:#dfe3e7;
        text-decoration:none;
    }

}


/* =========================================================
   MH EVO — Orders Status & Action Polish
   ========================================================= */

@media (min-width:768px){

    .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-status{
        font-weight:600;
        color:#374151;
    }

    .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-status{
        white-space:nowrap;
    }

    .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-status::first-letter{
        text-transform:uppercase;
    }

    .woocommerce-MyAccount-orders .button{
        white-space:nowrap;
    }

}


/* =========================================================
   MH EVO — Orders Status Polish
   ========================================================= */

@media (min-width:768px){

    /* Status */
    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-status{
        color:#374151;
        font-weight:600;
        white-space:nowrap;
    }

    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-status::before{
        content:"";
        display:inline-block;

        width:7px;
        height:7px;

        margin-right:8px;

        border-radius:50%;
        background:#9ca3af;

        vertical-align:middle;
    }

    /* Order number */
    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-number a{
        font-weight:700;
    }

    /* Total */
    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-total{
        color:#111827;
        font-weight:600;
    }

    /* Action */
    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-actions{
        text-align:right;
        white-space:nowrap;
    }

}
/* =========================================================
   MH EVO — My Account Orders Email Notice
   ========================================================= */

.woocommerce-MyAccount-content > .woocommerce-info{
    position:relative;

    width:100%;
    box-sizing:border-box;

    margin:0 0 22px;
    padding:16px 190px 16px 48px;

    border:1px solid #e5e7eb;
    border-radius:16px;

    background:#f8faf9;

    color:#374151;

    font-size:14px;
    line-height:1.55;
}

.woocommerce-MyAccount-content > .woocommerce-info::before{
    position:absolute;

    left:18px;
    top:50%;

    margin:0;

    transform:translateY(-50%);

    color:#6b7280;
}

.woocommerce-MyAccount-content > .woocommerce-info .wc-forward{
    position:absolute;

    top:50%;
    right:18px;

    margin:0;

    padding:9px 14px;

    border:1px solid #dfe3e7;
    border-radius:10px;

    background:#fff;

    color:#111827;

    font-size:13px;
    font-weight:700;

    line-height:1.4;

    text-decoration:none;
    white-space:nowrap;

    transform:translateY(-50%);
}

.woocommerce-MyAccount-content > .woocommerce-info .wc-forward:hover{
    background:#f1f3f4;
    border-color:#d7dce0;

    text-decoration:none;
}


/* =========================================================
   Orders Email Notice — Mobile
   ========================================================= */

@media (max-width:767px){

    .woocommerce-MyAccount-content > .woocommerce-info{
        margin-bottom:18px;

        padding:15px 16px 16px 44px;

        border-radius:14px;

        font-size:14px;
        line-height:1.55;
    }

    .woocommerce-MyAccount-content > .woocommerce-info::before{
        left:16px;
        top:19px;

        transform:none;
    }

    .woocommerce-MyAccount-content > .woocommerce-info .wc-forward{
        position:static;

        display:inline-block;

        margin:12px 0 0;

        padding:9px 14px;

        transform:none;
    }

}

/* =========================================================
   My Account Orders — Action Button Polish
   ========================================================= */

@media (min-width:768px){

    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__header-order-actions{
        width:110px;
        text-align:center;
    }

    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-actions{
        width:110px;
        padding-left:12px;
        padding-right:12px;
        text-align:center;
    }

    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-actions .button{
        display:inline-flex;
        align-items:center;
        justify-content:center;

        min-width:68px;
        height:38px;

        margin:0 auto;
        padding:8px 14px;

        border:1px solid #e5e7eb;
        border-radius:9px;

        background:#f3f4f6;
        color:#111827;

        font-size:13px;
        font-weight:700;
        line-height:1;

        text-decoration:none;
    }

    .woocommerce-MyAccount-orders
    .woocommerce-orders-table__cell-order-actions .button:hover{
        background:#e9ecef;
        border-color:#dfe3e7;
    }

}

/* MH EVO — My Account Address Cards */

.woocommerce-MyAccount-content > p:first-of-type{
    margin:0 0 24px;
    color:#4b5563;
    font-size:15px;
    line-height:1.6;
}

.woocommerce-MyAccount-content .woocommerce-Addresses{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    margin:0;
}

.woocommerce-MyAccount-content .woocommerce-Address{
    float:none;
    width:auto;
    box-sizing:border-box;
    margin:0;
    padding:22px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 20px rgba(0,0,0,.035);
}

.woocommerce-MyAccount-content .woocommerce-Address .title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:0 0 20px;
}

.woocommerce-MyAccount-content .woocommerce-Address .title h2{
    position:relative;
    margin:0;
    padding-left:52px;
    color:#111827;
    font-size:20px;
    font-weight:700;
    line-height:1.35;
}

.woocommerce-MyAccount-content .woocommerce-Address .title h2::before{
    position:absolute;
    top:50%;
    left:0;
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:50%;
    color:#166534;
    background:#eaf7ef;
    font-size:18px;
    line-height:1;
    transform:translateY(-50%);
}

.woocommerce-MyAccount-content
.woocommerce-Address:nth-child(1)
.title h2::before{
    content:"▤";
    color:#9a4f12;
    background:#fff0e4;
}

.woocommerce-MyAccount-content
.woocommerce-Address:nth-child(2)
.title h2::before{
    content:"➜";
    color:#08744d;
    background:#e8f7ef;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-height:38px;
    padding:8px 13px;
    border:1px solid #ff6b00;
    border-radius:9px;
    background:#fff;
    color:#ff6b00;
    font-size:13px;
    font-weight:700;
    line-height:1.2;
    text-decoration:none;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit:hover{
    background:#fff7f1;
    color:#e85f00;
}

.woocommerce-MyAccount-content .woocommerce-Address address{
    margin:0;
    padding:18px;
    border-radius:12px;
    background:#f8fafb;
    color:#374151;
    font-size:15px;
    font-style:normal;
    line-height:1.6;
}

.woocommerce-MyAccount-content .woocommerce-Address address strong{
    color:#111827;
    font-weight:700;
}

.woocommerce-MyAccount-content .mh-account-address-note{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-top:16px;
    padding:14px 15px;
    border-radius:12px;
    font-size:13px;
    line-height:1.5;
}

.woocommerce-MyAccount-content .mh-account-address-note__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 24px;
    width:24px;
    height:24px;
    border-radius:50%;
    font-size:13px;
    font-weight:700;
}

.woocommerce-MyAccount-content
.mh-account-address-note strong{
    display:block;
    margin:0 0 2px;
    font-size:13px;
    font-weight:700;
}

.woocommerce-MyAccount-content
.mh-account-address-note p{
    margin:0;
}

.woocommerce-MyAccount-content
.mh-account-address-note--billing{
    color:#7c3f12;
    background:#fff3e8;
}

.woocommerce-MyAccount-content
.mh-account-address-note--billing
.mh-account-address-note__icon{
    color:#fff;
    background:#d97706;
}

.woocommerce-MyAccount-content
.mh-account-address-note--shipping{
    color:#166534;
    background:#eaf7ef;
}

.woocommerce-MyAccount-content
.mh-account-address-note--shipping
.mh-account-address-note__icon{
    color:#fff;
    background:#15966a;
}

@media (max-width:767px){

    .woocommerce-MyAccount-content > p:first-of-type{
        margin-bottom:18px;
        font-size:14px;
    }

    .woocommerce-MyAccount-content .woocommerce-Addresses{
        display:flex;
        flex-direction:column;
        gap:18px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address{
        width:100%;
        padding:18px;
        border-radius:16px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .title{
        align-items:flex-start;
        gap:12px;
        margin-bottom:16px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .title h2{
        padding-left:46px;
        font-size:17px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .title h2::before{
        width:36px;
        height:36px;
        font-size:16px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .edit{
        min-height:34px;
        padding:7px 10px;
        font-size:12px;
        border-radius:8px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address address{
        padding:15px;
        font-size:14px;
        line-height:1.55;
    }

    .woocommerce-MyAccount-content .mh-account-address-note{
        gap:10px;
        margin-top:14px;
        padding:12px;
        font-size:12px;
        line-height:1.5;
    }

    .woocommerce-MyAccount-content .mh-account-address-note__icon{
        flex-basis:22px;
        width:22px;
        height:22px;
        font-size:12px;
    }

    .woocommerce-MyAccount-content
    .mh-account-address-note strong{
        font-size:12px;
    }
}

@media (min-width:768px) and (max-width:1024px){

    .woocommerce-MyAccount-content .woocommerce-Addresses{
        gap:16px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address{
        padding:18px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .title{
        gap:10px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .title h2{
        font-size:18px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .edit{
        padding:7px 10px;
        font-size:12px;
    }
}

/* MH EVO — Address Layout Reset */

.woocommerce-MyAccount-content .woocommerce-Addresses{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:24px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
.woocommerce-MyAccount-content .woocommerce-Addresses .u-column2{
    float:none !important;
    clear:none !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

@media (max-width:767px){

    .woocommerce-MyAccount-content .woocommerce-Addresses{
        display:flex !important;
        flex-direction:column !important;
        gap:18px !important;
    }

    .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
    .woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
    .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2{
        width:100% !important;
        max-width:none !important;
    }
}

@media (min-width:768px) and (max-width:1024px){

    .woocommerce-MyAccount-content .woocommerce-Addresses{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:16px !important;
    }
}

/* MH EVO — Address Card Order */

.woocommerce-MyAccount-content .woocommerce-Addresses > .woocommerce-Address:nth-child(1){
    grid-column:1 !important;
    grid-row:1 !important;
}

.woocommerce-MyAccount-content .woocommerce-Addresses > .woocommerce-Address:nth-child(2){
    grid-column:2 !important;
    grid-row:1 !important;
}

@media (max-width:767px){

    .woocommerce-MyAccount-content .woocommerce-Addresses > .woocommerce-Address:nth-child(1),
    .woocommerce-MyAccount-content .woocommerce-Addresses > .woocommerce-Address:nth-child(2){
        grid-column:auto !important;
        grid-row:auto !important;
    }
}

/* MH EVO — Address Edit Action Polish */

.woocommerce-MyAccount-content .woocommerce-Address .edit{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:7px;

    flex:0 0 auto;

    min-height:36px;
    padding:8px 12px;

    border:1px solid #e5e7eb;
    border-radius:9px;

    background:#fff;
    color:#374151;

    font-size:13px;
    font-weight:700;
    line-height:1.2;

    text-decoration:none;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit::before{
    content:"✎";
    font-size:13px;
    line-height:1;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit:hover{
    background:#f8fafb;
    border-color:#d1d5db;
    color:#111827;
}

@media (max-width:767px){
    .woocommerce-MyAccount-content .woocommerce-Address .edit{
        min-height:34px;
        padding:7px 10px;
        gap:6px;
        font-size:12px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .edit::before{
        font-size:12px;
    }
}

/* MH EVO — Address Tablet Header */

@media (min-width:768px) and (max-width:1024px){

    .woocommerce-MyAccount-content .woocommerce-Address .title{
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-start;
        gap:12px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .title h2{
        width:100%;
        padding-left:46px;
        font-size:18px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .title h2::before{
        width:36px;
        height:36px;
        font-size:16px;
    }

    .woocommerce-MyAccount-content .woocommerce-Address .edit{
        min-height:34px;
        padding:7px 11px;
        font-size:12px;
    }
}

/* =========================================================
   MH EVO — Edit Address Form
   ========================================================= */

.woocommerce-edit-address form {
	max-width: 820px;
	margin: 0 auto;
	padding: 28px;
	background: var(--mh-color-white);
	border: 1px solid var(--mh-color-border);
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

/* Native title */
.woocommerce-edit-address form > h2 {
	display: none;
}

/* Header */
.mh-address-form-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--mh-color-border);
}

.mh-address-form-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 16px;
}

.mh-address-form-icon svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mh-address-form-icon.is-billing {
	color: #f28b22;
	background: #fff1df;
}

.mh-address-form-icon.is-shipping {
	color: #2f8f6b;
	background: #e5f6ef;
}

.mh-address-form-heading {
	min-width: 0;
}

.mh-address-form-heading h2 {
	margin: 0 0 5px;
	font-family: var(--mh-font-heading, inherit);
	font-size: 25px;
	font-weight: var(--mh-weight-heading, 700);
	line-height: 1.25;
	color: var(--mh-color-text);
}

.mh-address-form-heading p {
	max-width: 620px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--mh-color-text-light);
}

/* Section heading */
.mh-address-form-section-heading {
	margin-bottom: 20px;
}

.mh-address-form-section-heading h3 {
	margin: 0 0 5px;
	font-family: var(--mh-font-subheading, inherit);
	font-size: 17px;
	font-weight: var(--mh-weight-subheading, 700);
	line-height: 1.4;
	color: var(--mh-color-text);
}

.mh-address-form-section-heading p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--mh-color-text-light);
}

/* Field wrapper */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 18px;
	row-gap: 0;
}

/* Default full-width fields */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row {
	width: 100%;
	float: none;
	margin: 0 0 18px;
	padding: 0;
	box-sizing: border-box;
}

/* First / last name */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row-first,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row-last {
	width: 100%;
	float: none;
}

/* Full width fields */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row-wide {
	grid-column: 1 / -1;
}

/* Labels */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper label {
	display: block;
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mh-color-text);
}

/* Inputs */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper input.input-text,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper select,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--mh-color-border);
	border-radius: 11px;
	background: #fff;
	color: var(--mh-color-text);
	font-family: var(--mh-font-body, inherit);
	font-size: 14px;
	line-height: 1.45;
	box-shadow: none;
	box-sizing: border-box;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper textarea {
	min-height: 110px;
	resize: vertical;
}

/* Country / readonly-looking fields */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .select2-container {
	width: 100% !important;
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .select2-container .select2-selection--single {
	height: 48px;
	border: 1px solid var(--mh-color-border);
	border-radius: 11px;
	background: #fff;
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .select2-selection__rendered {
	height: 46px;
	padding-left: 14px;
	line-height: 46px;
	font-size: 14px;
	color: var(--mh-color-text);
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .select2-selection__arrow {
	height: 46px;
	right: 8px;
}

/* Focus */
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper input.input-text:focus,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper select:focus,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper textarea:focus,
.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .select2-container--focus .select2-selection--single {
	border-color: #ff6b00;
	box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.10);
	outline: none;
}

/* Optional text */
.woocommerce-edit-address .optional {
	font-size: 12px;
	font-weight: 400;
	color: var(--mh-color-text-light);
}

/* Description */
.woocommerce-edit-address .description {
	margin-top: 6px;
	font-size: 12px;
	color: var(--mh-color-text-light);
}

/* Actions */
.woocommerce-edit-address .woocommerce-address-fields > p:last-child {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 10px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--mh-color-border);
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button {
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: 11px;
	background: #ff6b00;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button:hover {
	background: #e85f00;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(255, 107, 0, 0.18);
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button:focus-visible {
	outline: 3px solid rgba(255, 107, 0, 0.20);
	outline-offset: 2px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
	.woocommerce-edit-address form {
		max-width: none;
		margin: 0 8px;
		padding: 24px;
	}

	.mh-address-form-heading h2 {
		font-size: 23px;
	}
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
	.woocommerce-edit-address form {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 20px 16px;
		border-radius: 16px;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
	}

	.mh-address-form-header {
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 22px;
		padding-bottom: 20px;
	}

	.mh-address-form-icon {
		flex-basis: 46px;
		width: 46px;
		height: 46px;
		border-radius: 13px;
	}

	.mh-address-form-icon svg {
		width: 22px;
		height: 22px;
	}

	.mh-address-form-heading h2 {
		font-size: 20px;
	}

	.mh-address-form-heading p {
		font-size: 12px;
		line-height: 1.55;
	}

	.mh-address-form-section-heading {
		margin-bottom: 18px;
	}

	.mh-address-form-section-heading h3 {
		font-size: 16px;
	}

	.mh-address-form-section-heading p {
		font-size: 12px;
	}

	.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
		display: block;
	}

	.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row,
	.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row-first,
	.woocommerce-edit-address .woocommerce-address-fields__field-wrapper .form-row-last {
		width: 100%;
		margin-bottom: 16px;
	}

	.woocommerce-edit-address .woocommerce-address-fields__field-wrapper input.input-text,
	.woocommerce-edit-address .woocommerce-address-fields__field-wrapper select,
	.woocommerce-edit-address .woocommerce-address-fields__field-wrapper textarea {
		min-height: 46px;
		padding: 10px 12px;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child {
		margin-top: 4px;
		padding-top: 18px;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button {
		width: 100%;
		min-height: 48px;
	}
}

/* =========================================================
   MH EVO — Edit Address Action Bar
   ========================================================= */

.woocommerce-edit-address .woocommerce-address-fields {
	display: flex;
	flex-direction: column;
}

.woocommerce-edit-address .mh-address-back-button {
	order: 10;
	align-self: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 46px;
	margin: 0;
	padding: 11px 18px;
	border-radius: 11px;
	background: #f1f4f5;
	color: var(--mh-color-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child {
	order: 11;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	position: relative;
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--mh-color-border);
}

.woocommerce-edit-address .mh-address-back-button {
	position: absolute;
	left: 0;
	bottom: 0;
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button {
	min-height: 46px;
	margin: 0;
	padding: 11px 22px;
	border: 0;
	border-radius: 11px;
	background: #ff6b00;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
}

.woocommerce-edit-address .mh-address-back-button:hover {
	background: #e8ecee;
	color: var(--mh-color-text);
	text-decoration: none;
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button:hover {
	background: #e85f00;
}

.woocommerce-edit-address {
	margin-bottom: 0;
}

.woocommerce-edit-address form {
	margin-bottom: 0;
	padding-bottom: 16px;
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
	margin-bottom: 0;
}

@media (max-width: 767px) {

	.woocommerce-edit-address form {
		margin-bottom: 0;
		padding-bottom: 14px;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child {
		margin-top: 14px;
		padding-top: 14px;
		min-height: 46px;
	}

	.woocommerce-edit-address .mh-address-back-button {
		left: 0;
		bottom: 0;
		min-height: 46px;
		padding: 11px 16px;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button {
		min-height: 46px;
		padding: 11px 14px;
	}
}

/* =========================================================
   Bottom spacing
   ========================================================= */

.woocommerce-edit-address {
	margin-bottom: 0;
}

.woocommerce-edit-address form {
	margin-bottom: 0;
	padding-bottom: 20px;
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
	margin-bottom: 0;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

	.woocommerce-edit-address form {
		margin-bottom: 0;
		padding-bottom: 16px;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child {
		display: flex;
		align-items: stretch;
		justify-content: space-between;
		gap: 10px;
		padding-top: 16px;
	}

	.woocommerce-edit-address .mh-address-back-button {
		flex: 0 0 auto;
		min-height: 46px;
		padding: 11px 16px;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button {
		flex: 1 1 auto;
		min-width: 0;
		min-height: 46px;
		margin: 0;
		padding: 11px 14px;
	}
}

/* =========================================================
   MH EVO — Edit Address Action Bar — FINAL POSITION FIX
   ========================================================= */

.woocommerce-edit-address .woocommerce-address-fields {
	position: relative !important;
	padding-bottom: 58px !important;
	box-sizing: border-box !important;
}

.woocommerce-edit-address .mh-address-back-button {
	position: absolute !important;
	left: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	z-index: 5 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border-radius: 11px !important;
	background: #f1f4f5 !important;
	color: var(--mh-color-text) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	transform: none !important;
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child {
	position: absolute !important;
	right: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	z-index: 5 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	width: auto !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
	transform: none !important;
}

.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: #ff6b00 !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
	transform: none !important;
}

.woocommerce-edit-address .woocommerce-address-fields::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 58px !important;
	height: 1px !important;
	background: var(--mh-color-border) !important;
}

.woocommerce-edit-address form {
	margin-bottom: 0 !important;
	padding-bottom: 14px !important;
}

@media (max-width: 767px) {

	.woocommerce-edit-address .woocommerce-address-fields {
		padding-bottom: 58px !important;
	}

	.woocommerce-edit-address .woocommerce-address-fields::after {
		bottom: 58px !important;
	}

	.woocommerce-edit-address .mh-address-back-button {
		left: 0 !important;
		bottom: 0 !important;
		height: 46px !important;
		min-height: 46px !important;
		padding: 0 16px !important;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child {
		right: 0 !important;
		bottom: 0 !important;
		height: 46px !important;
		min-height: 46px !important;
	}

	.woocommerce-edit-address .woocommerce-address-fields > p:last-child .button {
		height: 46px !important;
		min-height: 46px !important;
		padding: 0 14px !important;
	}
}

/* =========================================================
   MH EVO — Account Details
   ========================================================= */

/* Main form card */
.woocommerce-EditAccountForm.edit-account {
	max-width: 820px;
	margin: 0 auto;
	padding: 28px;
	background: var(--mh-color-white);
	border: 1px solid var(--mh-color-border);
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

/* Header */
.mh-account-details-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--mh-color-border);
}

.mh-account-details-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: #eef3ff;
	color: #4267d5;
}

.mh-account-details-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mh-account-details-heading {
	min-width: 0;
}

.mh-account-details-heading h2 {
	margin: 0 0 5px;
	font-family: var(--mh-font-heading, inherit);
	font-size: 25px;
	font-weight: var(--mh-weight-heading, 700);
	line-height: 1.25;
	color: var(--mh-color-text);
}

.mh-account-details-heading p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--mh-color-text-light);
}

/* Personal section */
.mh-account-details-section {
	margin-bottom: 22px;
}

.mh-account-details-section h3,
.mh-account-details-security-heading h3 {
	margin: 0 0 5px;
	font-family: var(--mh-font-subheading, inherit);
	font-size: 17px;
	font-weight: var(--mh-weight-subheading, 700);
	line-height: 1.4;
	color: var(--mh-color-text);
}

.mh-account-details-section p,
.mh-account-details-security-heading p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--mh-color-text-light);
}

/* Personal information fields */
.woocommerce-EditAccountForm.edit-account {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 18px;
}

/* Header + section */
.woocommerce-EditAccountForm.edit-account > .mh-account-details-header,
.woocommerce-EditAccountForm.edit-account > .mh-account-details-section {
	grid-column: 1 / -1;
	width: 100%;
}

/* Form rows */
.woocommerce-EditAccountForm.edit-account > .form-row {
	float: none;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	box-sizing: border-box;
}

.woocommerce-EditAccountForm.edit-account > .form-row-wide {
	grid-column: 1 / -1;
}

/* Clear elements */
.woocommerce-EditAccountForm.edit-account > .clear {
	display: none;
}

/* Labels */
.woocommerce-EditAccountForm.edit-account label {
	display: block;
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mh-color-text);
}

.woocommerce-EditAccountForm.edit-account .required {
	color: #dc2626;
}

/* Inputs */
.woocommerce-EditAccountForm.edit-account input.input-text {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--mh-color-border);
	border-radius: 11px;
	background: #fff;
	color: var(--mh-color-text);
	font-family: var(--mh-font-body, inherit);
	font-size: 14px;
	line-height: 1.45;
	box-shadow: none;
	box-sizing: border-box;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}

/* Focus */
.woocommerce-EditAccountForm.edit-account input.input-text:focus {
	border-color: #ff6b00;
	box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.10);
	outline: none;
}

/* Display name helper */
.woocommerce-EditAccountForm.edit-account #account_display_name_description {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--mh-color-text-light);
}

.woocommerce-EditAccountForm.edit-account #account_display_name_description em {
	font-style: normal;
}

/* Security heading */
.woocommerce-EditAccountForm.edit-account > .mh-account-details-security-heading {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 22px;
	padding: 20px 0 0;
	border-top: 1px solid var(--mh-color-border);
}

.mh-account-details-security-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: #e5f6ef;
	color: #2f8f6b;
}

.mh-account-details-security-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Password fieldset */
.woocommerce-EditAccountForm.edit-account > fieldset {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-EditAccountForm.edit-account > fieldset > legend {
	display: none;
}

.woocommerce-EditAccountForm.edit-account > fieldset .form-row {
	float: none;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
}

/* Password input wrapper */
.woocommerce-EditAccountForm.edit-account .password-input {
	display: block;
	position: relative;
	width: 100%;
}

/* Preserve WooCommerce password toggle */
.woocommerce-EditAccountForm.edit-account .password-input input {
	padding-right: 48px;
}

/* Action area */
.woocommerce-EditAccountForm.edit-account > p:last-of-type {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 4px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--mh-color-border);
}

.woocommerce-EditAccountForm.edit-account .mh-account-details-back-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 46px;
	padding: 11px 18px;
	border-radius: 11px;
	background: #f1f4f5;
	color: var(--mh-color-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
}

.woocommerce-EditAccountForm.edit-account .mh-account-details-back-button:hover {
	background: #e8ecee;
	color: var(--mh-color-text);
	text-decoration: none;
}

.woocommerce-EditAccountForm.edit-account > p:last-of-type .button {
	min-height: 46px;
	margin: 0;
	padding: 11px 22px;
	border: 0;
	border-radius: 11px;
	background: #ff6b00;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
}

.woocommerce-EditAccountForm.edit-account > p:last-of-type .button:hover {
	background: #e85f00;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

	.woocommerce-EditAccountForm.edit-account {
		max-width: none;
		margin: 0 8px;
		padding: 24px;
	}

	.mh-account-details-heading h2 {
		font-size: 23px;
	}
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

	.woocommerce-EditAccountForm.edit-account {
		display: block;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 20px 16px;
		border-radius: 16px;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
	}

	.mh-account-details-header {
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 22px;
		padding-bottom: 20px;
	}

	.mh-account-details-icon {
		flex-basis: 46px;
		width: 46px;
		height: 46px;
		border-radius: 13px;
	}

	.mh-account-details-icon svg {
		width: 22px;
		height: 22px;
	}

	.mh-account-details-heading h2 {
		font-size: 20px;
	}

	.mh-account-details-heading p {
		font-size: 12px;
		line-height: 1.55;
	}

	.mh-account-details-section {
		margin-bottom: 18px;
	}

	.mh-account-details-section h3,
	.mh-account-details-security-heading h3 {
		font-size: 16px;
	}

	.mh-account-details-section p,
	.mh-account-details-security-heading p {
		font-size: 12px;
	}

	.woocommerce-EditAccountForm.edit-account > .form-row,
	.woocommerce-EditAccountForm.edit-account > fieldset .form-row {
		width: 100%;
		margin-bottom: 16px;
	}

	.woocommerce-EditAccountForm.edit-account input.input-text {
		min-height: 46px;
		padding: 10px 12px;
	}

	.woocommerce-EditAccountForm.edit-account > .mh-account-details-security-heading {
		align-items: flex-start;
		margin-top: 4px;
		margin-bottom: 18px;
		padding-top: 18px;
	}

	.mh-account-details-security-icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
		border-radius: 12px;
	}

	.woocommerce-EditAccountForm.edit-account > p:last-of-type {
		align-items: stretch;
		margin-top: 2px;
		padding-top: 16px;
	}

	.woocommerce-EditAccountForm.edit-account .mh-account-details-back-button {
		flex: 0 0 auto;
		min-height: 46px;
		padding: 11px 16px;
	}

	.woocommerce-EditAccountForm.edit-account > p:last-of-type .button {
		flex: 1 1 auto;
		min-width: 0;
		min-height: 46px;
		padding: 11px 14px;
	}
}


/* =========================================================
   MH EVO — Account Details Action Bar FINAL
   ========================================================= */

.woocommerce-EditAccountForm.edit-account {
	position: relative;
}

/* Back button occupies first action column */
.woocommerce-EditAccountForm.edit-account > .mh-account-details-back-button {
	grid-column: 1;
	grid-row: auto;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 46px;
	margin: 4px 0 0;
	padding: 18px 18px 0;
	border-top: 1px solid var(--mh-color-border);
	border-radius: 0;
	background: transparent;
	color: var(--mh-color-text);
	box-sizing: border-box;
}

/* Native Save paragraph occupies second action column */
.woocommerce-EditAccountForm.edit-account > p:last-of-type {
	grid-column: 2;
	grid-row: auto;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--mh-color-border);
	box-sizing: border-box;
}

/* Save button */
.woocommerce-EditAccountForm.edit-account > p:last-of-type .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0 22px;
	border-radius: 11px;
	background: #ff6b00;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
}

/* Back hover */
.woocommerce-EditAccountForm.edit-account > .mh-account-details-back-button:hover {
	background: #f1f4f5;
	color: var(--mh-color-text);
	text-decoration: none;
}

/* =========================================================
   Mobile — keep both actions side by side
   ========================================================= */

@media (max-width: 767px) {

	.woocommerce-EditAccountForm.edit-account {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 10px;
	}

	.woocommerce-EditAccountForm.edit-account > .mh-account-details-back-button {
		grid-column: 1;
		width: 100%;
		min-height: 46px;
		margin: 2px 0 0;
		padding: 16px 14px 0;
		border-top: 1px solid var(--mh-color-border);
		border-radius: 0;
		background: transparent;
	}

	.woocommerce-EditAccountForm.edit-account > p:last-of-type {
		grid-column: 2;
		width: 100%;
		min-height: 62px;
		margin: 0;
		padding: 16px 0 0;
		border-top: 1px solid var(--mh-color-border);
	}

	.woocommerce-EditAccountForm.edit-account > p:last-of-type .button {
		width: 100%;
		min-height: 46px;
		padding: 0 12px;
	}

}

/* =========================================================
   MH EVO — Account Details Action Bar — STRUCTURAL
   ========================================================= */

.woocommerce-EditAccountForm.edit-account > .mh-account-details-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 4px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--mh-color-border);
	box-sizing: border-box;
}

/* Back button */
.woocommerce-EditAccountForm.edit-account
.mh-account-details-actions
.mh-account-details-back-button {
	position: static !important;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: auto !important;
	min-height: 46px;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: #f1f4f5 !important;
	color: var(--mh-color-text) !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
}

/* Native Save paragraph */
.woocommerce-EditAccountForm.edit-account
.mh-account-details-actions
> p:last-child {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: auto;
	min-height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

/* Native Save button */
.woocommerce-EditAccountForm.edit-account
.mh-account-details-actions
> p:last-child .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 11px;
	background: #ff6b00;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
}

/* Hover */
.woocommerce-EditAccountForm.edit-account
.mh-account-details-actions
.mh-account-details-back-button:hover {
	background: #e8ecee !important;
	color: var(--mh-color-text) !important;
	text-decoration: none;
}

.woocommerce-EditAccountForm.edit-account
.mh-account-details-actions
> p:last-child .button:hover {
	background: #e85f00;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

	.woocommerce-EditAccountForm.edit-account
	.mh-account-details-actions {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		margin-top: 2px;
		padding-top: 16px;
	}

	.woocommerce-EditAccountForm.edit-account
	.mh-account-details-actions
	.mh-account-details-back-button {
		flex: 0 0 auto;
		min-height: 46px;
		padding: 0 16px !important;
	}

	.woocommerce-EditAccountForm.edit-account
	.mh-account-details-actions
	> p:last-child {
		flex: 1 1 auto;
		min-width: 0;
	}

	.woocommerce-EditAccountForm.edit-account
	.mh-account-details-actions
	> p:last-child .button {
		width: 100%;
		min-height: 46px;
		padding: 0 14px;
	}

}

/* =========================================================
   MH EVO — Account Details Email Field Fix
   ========================================================= */

.woocommerce-EditAccountForm.edit-account
> p.form-row-wide:has(#account_email) {
	grid-column: 1 / -1 !important;
	float: none !important;
	display: block !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.woocommerce-EditAccountForm.edit-account
> p.form-row-wide:has(#account_email) label {
	display: block !important;
	width: 100% !important;
	margin-bottom: 7px !important;
}

.woocommerce-EditAccountForm.edit-account
> p.form-row-wide:has(#account_email) #account_email {
	display: block !important;
	width: 100% !important;
}

@media (max-width: 767px) {

	.woocommerce-EditAccountForm.edit-account
	> p.form-row-wide:has(#account_email) {
		width: 100% !important;
	}
}

/* =========================================================
   MH EVO — Account Details Security Section Spacing
   ========================================================= */

.woocommerce-EditAccountForm.edit-account
> .mh-account-details-security-heading {
	margin-top: 14px !important;
	padding-top: 20px !important;
}

.woocommerce-EditAccountForm.edit-account
> .mh-account-details-security-heading + fieldset {
	margin-top: 2px !important;
}

@media (max-width: 767px) {

	.woocommerce-EditAccountForm.edit-account
	> .mh-account-details-security-heading {
		margin-top: 10px !important;
		padding-top: 18px !important;
	}
}

/* =========================================================
   MH EVO — Authentication Pages
   Login / Register / Lost Password
   ========================================================= */

/* ---------- Login + Register ---------- */

body.woocommerce-account:not(.logged-in) #customer_login {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: min(100%, 980px);
	margin: 0 auto;
	padding: 32px 24px 40px;
	box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 30px;
	background: var(--mh-color-white, #fff);
	border: 1px solid var(--mh-color-border, #e5e7eb);
	border-radius: 24px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
	box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) #customer_login h2 {
	margin: 0 0 24px;
	font-family: var(--mh-font-heading, Comfortaa, sans-serif);
	font-size: 28px;
	font-weight: var(--mh-weight-heading, 700);
	line-height: 1.2;
	color: var(--mh-color-text, #111827);
}

body.woocommerce-account:not(.logged-in) #customer_login form {
	margin: 0;
}

body.woocommerce-account:not(.logged-in) #customer_login .form-row {
	margin: 0 0 18px;
	padding: 0;
	width: 100%;
	float: none;
	box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) #customer_login label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mh-color-text, #111827);
}

body.woocommerce-account:not(.logged-in) #customer_login .input-text {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--mh-color-border, #e5e7eb);
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
	font-size: 15px;
	color: var(--mh-color-text, #111827);
}

body.woocommerce-account:not(.logged-in) #customer_login .input-text:focus {
	border-color: #ff6b00;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 107, 0, .12);
}

/* Login action row */
body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-login__submit {
	order: 2;
	width: 100%;
	min-height: 48px;
	margin: 0 !important;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: #ff6b00;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-login__submit:hover {
	background: #e85f00;
}

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-login .form-row:last-of-type {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
}

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-login__rememberme {
	order: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-login__rememberme input {
	margin: 0;
}

body.woocommerce-account:not(.logged-in)
#customer_login .lost_password {
	margin: 18px 0 0;
	text-align: center;
}

body.woocommerce-account:not(.logged-in)
#customer_login .lost_password a {
	font-size: 14px;
	font-weight: 600;
	color: var(--mh-color-text, #111827);
	text-decoration: none;
}

body.woocommerce-account:not(.logged-in)
#customer_login .lost_password a:hover {
	color: #ff6b00;
}

/* Register info / generated password notice */
body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-register p {
	line-height: 1.6;
}

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-register__submit {
	width: 100%;
	min-height: 48px;
	margin: 4px 0 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: #ff6b00;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-register__submit:hover {
	background: #e85f00;
}

/* Auth switch links */
.mh-auth-switch {
	margin: 20px 0 0 !important;
	padding-top: 18px !important;
	border-top: 1px solid var(--mh-color-border, #e5e7eb);
	text-align: center;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

.mh-auth-switch span {
	color: var(--mh-color-text-light, #9ca3af);
}

.mh-auth-switch a {
	margin-left: 4px;
	color: #ff6b00;
	font-weight: 700;
	text-decoration: none;
}

.mh-auth-switch a:hover {
	text-decoration: underline;
}

/* ---------- Lost Password ---------- */

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password {
	width: min(100%, 680px);
	margin: 40px auto;
	padding: 32px;
	background: var(--mh-color-white, #fff);
	border: 1px solid var(--mh-color-border, #e5e7eb);
	border-radius: 24px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password > p:first-child {
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--mh-color-text-light, #9ca3af);
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password .form-row {
	width: 100%;
	float: none;
	margin: 0 0 18px;
	padding: 0;
	box-sizing: border-box;
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mh-color-text, #111827);
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password .input-text {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--mh-color-border, #e5e7eb);
	border-radius: 12px;
	box-sizing: border-box;
	font-size: 15px;
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password .input-text:focus {
	border-color: #ff6b00;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 107, 0, .12);
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password button {
	width: 100%;
	min-height: 48px;
	margin: 4px 0 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: #ff6b00;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password button:hover {
	background: #e85f00;
}

.mh-auth-back-login {
	width: min(100%, 680px);
	margin: -20px auto 40px;
	text-align: center;
}

.mh-auth-back-login a {
	font-size: 14px;
	font-weight: 600;
	color: var(--mh-color-text, #111827);
	text-decoration: none;
}

.mh-auth-back-login a:hover {
	color: #ff6b00;
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) and (max-width: 1024px) {

	body.woocommerce-account:not(.logged-in) #customer_login {
		width: 100%;
		padding: 28px 18px 36px;
		gap: 18px;
	}

	body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
	body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
		padding: 24px;
		border-radius: 20px;
	}

	body.woocommerce-account:not(.logged-in) #customer_login h2 {
		font-size: 24px;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {

	body.woocommerce-account:not(.logged-in) #customer_login {
		display: flex !important;
		flex-direction: column;
		width: 100%;
		padding: 20px 12px 28px;
		gap: 16px;
	}

	body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
	body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
		width: 100% !important;
		padding: 22px 18px;
		border-radius: 18px;
	}

	body.woocommerce-account:not(.logged-in) #customer_login h2 {
		margin-bottom: 20px;
		font-size: 23px;
	}

	body.woocommerce-account:not(.logged-in) #customer_login label,
	body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password label {
		font-size: 13px;
	}

	body.woocommerce-account:not(.logged-in) #customer_login .input-text,
	body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password .input-text {
		min-height: 46px;
		font-size: 14px;
	}

	body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password {
		width: calc(100% - 24px);
		margin: 24px 12px 20px;
		padding: 22px 18px;
		border-radius: 18px;
	}

	body.woocommerce-account .woocommerce-ResetPassword.lost_reset_password > p:first-child {
		margin-bottom: 22px;
		font-size: 14px;
	}

	.mh-auth-back-login {
		width: calc(100% - 24px);
		margin: 0 12px 24px;
	}
}

/* =========================================================
   MH EVO — Authentication Experience — Modern Clean
   ========================================================= */

/* Auth page canvas. */
body.woocommerce-account.mh-account-auth--login .woocommerce,
body.woocommerce-account.mh-account-auth--register .woocommerce {
        width: 100%;
        max-width: 100%;
        margin: 0;
}

/* Keep only the active auth panel visible. */
body.mh-account-auth--login #customer_login .u-column2,
body.mh-account-auth--register #customer_login .u-column1 {
        display: none !important;
}

/* Single auth column. */
body.mh-account-auth--login #customer_login .u-column1,
body.mh-account-auth--register #customer_login .u-column2 {
        float: none;
        width: min(100%, 560px);
        margin: 40px auto 56px;
        padding: 0;
}

/* Remove old Woo two-column layout behavior. */
body.mh-account-auth--login #customer_login,
body.mh-account-auth--register #customer_login {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
}

/* Auth heading. */
body.mh-account-auth--login #customer_login h2,
body.mh-account-auth--register #customer_login h2 {
        margin: 0 0 18px;
        text-align: center;
        font-family: var(--mh-font-heading, "Comfortaa", sans-serif);
        font-size: 30px;
        line-height: 1.2;
        font-weight: 700;
        color: var(--mh-color-text, #111827);
}

/* Auth form card. */
body.mh-account-auth--login #customer_login form,
body.mh-account-auth--register #customer_login form {
        margin: 0;
        padding: 32px;
        background: var(--mh-color-white, #ffffff);
        border: 1px solid var(--mh-color-border, #e5e7eb);
        border-radius: 24px;
        box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

/* Form rows. */
body.mh-account-auth--login #customer_login .form-row,
body.mh-account-auth--register #customer_login .form-row {
        margin: 0 0 20px;
        padding: 0;
}

/* Labels. */
body.mh-account-auth--login #customer_login label,
body.mh-account-auth--register #customer_login label {
        display: block;
        margin: 0 0 8px;
        font-family: var(--mh-font-body, "Inter", sans-serif);
        font-size: 14px;
        line-height: 1.4;
        font-weight: 600;
        color: var(--mh-color-text, #111827);
}

/* Inputs. */
body.mh-account-auth--login #customer_login input.input-text,
body.mh-account-auth--register #customer_login input.input-text {
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        padding: 12px 14px;
        border: 1px solid var(--mh-color-border, #e5e7eb);
        border-radius: 12px;
        background: #fff;
        color: var(--mh-color-text, #111827);
        font-family: var(--mh-font-body, "Inter", sans-serif);
        font-size: 14px;
        line-height: 1.4;
        transition: border-color .2s ease, box-shadow .2s ease;
}

/* Input focus. */
body.mh-account-auth--login #customer_login input.input-text:focus,
body.mh-account-auth--register #customer_login input.input-text:focus {
        outline: none;
        border-color: #ff6b00;
        box-shadow: 0 0 0 3px rgba(255,107,0,.12);
}

/* Remember me. */
body.mh-account-auth--login
#customer_login .woocommerce-form-login__rememberme {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin: 0;
        font-weight: 400;
        cursor: pointer;
}

/* Remember checkbox. */
body.mh-account-auth--login
#customer_login .woocommerce-form-login__rememberme input {
        width: 16px;
        height: 16px;
        margin: 0;
}

/* Login / Register primary button. */
body.mh-account-auth--login #customer_login .woocommerce-form-login__submit,
body.mh-account-auth--register #customer_login .woocommerce-form-register__submit {
        width: 100%;
        min-height: 48px;
        margin: 0;
        padding: 12px 20px;
        border: 0;
        border-radius: 12px;
        background: #ff6b00;
        color: #fff;
        font-family: var(--mh-font-body, "Inter", sans-serif);
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

/* Button hover. */
body.mh-account-auth--login #customer_login .woocommerce-form-login__submit:hover,
body.mh-account-auth--register #customer_login .woocommerce-form-register__submit:hover {
        background: #e85f00;
        box-shadow: 0 8px 18px rgba(255,107,0,.18);
}

/* Login form action row. */
body.mh-account-auth--login
#customer_login form.login > p.form-row:last-of-type {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
}

/* Login button inside action row. */
body.mh-account-auth--login
#customer_login form.login > p.form-row:last-of-type button {
        order: 2;
        width: auto;
        min-width: 120px;
}

/* Lost password link. */
body.mh-account-auth--login
#customer_login .lost_password {
        margin: 6px 0 0;
        text-align: center;
}

/* Auth switch. */
.mh-auth-switch {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin: 22px 0 0;
        padding-top: 20px;
        border-top: 1px solid var(--mh-color-border, #e5e7eb);
        color: var(--mh-color-text-light, #9ca3af);
        font-size: 13px;
        line-height: 1.5;
}

/* Auth switch link. */
.mh-auth-switch a,
.mh-auth-back-login a {
        color: #ff6b00;
        font-weight: 700;
        text-decoration: none;
}

/* Auth switch hover. */
.mh-auth-switch a:hover,
.mh-auth-back-login a:hover {
        text-decoration: underline;
}

/* Lost password page. */
.woocommerce-account .lost_reset_password {
        width: min(100%, 560px);
        margin: 40px auto 56px;
        padding: 32px;
        box-sizing: border-box;
        background: var(--mh-color-white, #ffffff);
        border: 1px solid var(--mh-color-border, #e5e7eb);
        border-radius: 24px;
        box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

/* Lost password intro. */
.woocommerce-account .lost_reset_password > p:first-child {
        margin: 0 0 28px;
        color: var(--mh-color-text-light, #9ca3af);
        font-size: 14px;
        line-height: 1.7;
}

/* Lost password label. */
.woocommerce-account .lost_reset_password label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
}

/* Lost password input. */
.woocommerce-account .lost_reset_password input.input-text {
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        padding: 12px 14px;
        border: 1px solid var(--mh-color-border, #e5e7eb);
        border-radius: 12px;
}

/* Lost password button. */
.woocommerce-account .lost_reset_password button {
        min-height: 48px;
        padding: 12px 22px;
        border: 0;
        border-radius: 12px;
        background: #ff6b00;
        color: #fff;
        font-weight: 700;
}

/* Back to login. */
.mh-auth-back-login {
        width: min(100%, 560px);
        margin: -30px auto 56px;
        text-align: center;
        font-size: 14px;
}

/* Tablet. */
@media (min-width: 768px) and (max-width: 1024px) {
        body.mh-account-auth--login #customer_login .u-column1,
        body.mh-account-auth--register #customer_login .u-column2 {
                width: min(100% - 48px, 560px);
                margin-top: 32px;
        }
}

/* Mobile. */
@media (max-width: 767px) {
        body.mh-account-auth--login #customer_login .u-column1,
        body.mh-account-auth--register #customer_login .u-column2 {
                width: calc(100% - 24px);
                margin: 24px auto 40px;
        }

        body.mh-account-auth--login #customer_login h2,
        body.mh-account-auth--register #customer_login h2 {
                font-size: 24px;
        }

        body.mh-account-auth--login #customer_login form,
        body.mh-account-auth--register #customer_login form,
        .woocommerce-account .lost_reset_password {
                padding: 24px 20px;
                border-radius: 20px;
        }

        body.mh-account-auth--login
        #customer_login form.login > p.form-row:last-of-type {
                display: block;
        }

        body.mh-account-auth--login
        #customer_login form.login > p.form-row:last-of-type button {
                width: 100%;
                margin-top: 14px;
        }

        .mh-auth-switch {
                flex-direction: column;
                gap: 3px;
        }

        .woocommerce-account .lost_reset_password {
                width: calc(100% - 24px);
                margin: 24px auto 40px;
        }

        .mh-auth-back-login {
                width: calc(100% - 24px);
                margin: -18px auto 40px;
        }
}

/* =========================================================
   MH EVO — Authentication Final Position Polish
   ========================================================= */

/* ---------- Login / Register active card ---------- */

body.woocommerce-account.mh-account-auth--login
#customer_login {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important;
}

body.woocommerce-account.mh-account-auth--login
#customer_login .u-column1 {
        float: none !important;
        width: min(100%, 560px) !important;
        margin: 0 auto !important;
}

body.woocommerce-account.mh-account-auth--register
#customer_login {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important;
}

body.woocommerce-account.mh-account-auth--register
#customer_login .u-column2 {
        float: none !important;
        width: min(100%, 560px) !important;
        margin: 0 auto !important;
}

/* ---------- Lost Password explanation ---------- */

body.woocommerce-account
.woocommerce-ResetPassword.lost_reset_password > p:first-child {
        font-weight: 600;
        color: var(--mh-color-text, #111827);
        line-height: 1.7;
}

/* ---------- Responsive ---------- */

@media (max-width: 767px) {

        body.woocommerce-account.mh-account-auth--login
        #customer_login,
        body.woocommerce-account.mh-account-auth--register
        #customer_login {
                width: 100% !important;
                padding-left: 12px;
                padding-right: 12px;
        }

        body.woocommerce-account.mh-account-auth--login
        #customer_login .u-column1,
        body.woocommerce-account.mh-account-auth--register
        #customer_login .u-column2 {
                width: 100% !important;
        }

        body.woocommerce-account
        .woocommerce-ResetPassword.lost_reset_password > p:first-child {
                font-weight: 600;
                line-height: 1.65;
        }
}

/* =========================================================
   MH EVO — Login Password Field Fix
   ========================================================= */

body.woocommerce-account.mh-account-auth--login
#customer_login .woocommerce-form-login input[type="password"] {
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 44px 12px 14px !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: var(--mh-color-text, #111827) !important;
        border: 1px solid var(--mh-color-border, #e5e7eb) !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        appearance: none;
        -webkit-appearance: none;
}

body.woocommerce-account.mh-account-auth--login
#customer_login .woocommerce-form-login input[type="password"]:focus {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-color: #ff6b00 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(255, 107, 0, .12) !important;
}

@media (max-width: 767px) {
        body.woocommerce-account.mh-account-auth--login
        #customer_login .woocommerce-form-login input[type="password"] {
                min-height: 46px !important;
                padding-right: 42px !important;
        }
}

/* =========================================================
   MH EVO — My Account Email Verification Success Notice
   WooCommerce renders this notice directly inside
   .woocommerce-MyAccount-content.
   ========================================================= */

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
> .woocommerce-message {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 22px !important;
    padding: 15px 18px 15px 48px !important;
    border: 1px solid #cce8dc !important;
    border-radius: 16px !important;
    background: #f2faf6 !important;
    color: #166534 !important;
    font-family: var(--mh-font-body, "Inter", sans-serif) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    outline: none !important;
    box-shadow: none !important;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
> .woocommerce-message::before {
    position: absolute !important;
    left: 17px !important;
    top: 50% !important;
    margin: 0 !important;
    color: #84b51c !important;
    transform: translateY(-50%) !important;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
> .woocommerce-message:focus,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
> .woocommerce-message:focus-visible,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
> .woocommerce-message:active {
    border: 1px solid #cce8dc !important;
    outline: none !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content
    > .woocommerce-message {
        margin-bottom: 18px !important;
        padding: 14px 15px 14px 44px !important;
        border-radius: 14px !important;
        font-size: 13px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content
    > .woocommerce-message::before {
        left: 15px !important;
    }
}
