
/* =========================================================
   ZASH Kitchen My Account — v4.2
   Premium black / gold WooCommerce account experience
   ========================================================= */

body.woocommerce-account .zash-page-wrap{
    background:
        radial-gradient(circle at 8% 0%,rgba(215,162,58,.10),transparent 24%),
        linear-gradient(180deg,#f7f3ea 0%,#f2efe9 100%);
    padding-top:48px;
    padding-bottom:64px;
}

body.woocommerce-account .zash-page-title{
    max-width:1180px;
    margin:0 auto 22px;
}

body.woocommerce-account .zash-page-title h1{
    margin:0;
    color:#12151c;
    font-family:Georgia,serif;
    font-size:clamp(38px,4.7vw,58px);
    letter-spacing:-1px;
}

body.woocommerce-account .zash-page-content{
    max-width:1180px;
    margin:0 auto;
    padding:0;
    background:transparent;
    border-radius:0;
}

/* ---------- logged-out login/register ---------- */

body.woocommerce-account:not(.logged-in) .woocommerce{
    background:#fff;
    border:1px solid #e4ded1;
    border-radius:22px;
    padding:28px;
    box-shadow:0 22px 55px rgba(19,24,32,.08);
}

body.woocommerce-account:not(.logged-in) .woocommerce h2{
    color:#111827;
    font-size:27px;
    margin-bottom:16px;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register{
    border:1px solid #eadfc9!important;
    border-radius:16px!important;
    padding:22px!important;
    background:#fffdf8;
}

body.woocommerce-account:not(.logged-in) .woocommerce input.input-text{
    min-height:48px;
    border:1px solid #d9dce2;
    border-radius:10px;
    padding:10px 12px;
    background:#fff;
}

body.woocommerce-account:not(.logged-in) .woocommerce input.input-text:focus{
    border-color:#d7a23a;
    box-shadow:0 0 0 3px rgba(215,162,58,.12);
    outline:0;
}

/* ---------- profile banner ---------- */

.zash-account-profile{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    margin-bottom:22px;
    padding:27px 30px;
    border:1px solid rgba(215,162,58,.34);
    border-radius:22px;
    color:#fff;
    background:
        radial-gradient(circle at 82% 22%,rgba(215,162,58,.18),transparent 26%),
        linear-gradient(135deg,#090d14 0%,#111824 54%,#17130d 100%);
    box-shadow:0 22px 54px rgba(15,19,27,.16);
}

.zash-account-profile:after{
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    right:-70px;
    bottom:-100px;
    border:1px solid rgba(215,162,58,.20);
    border-radius:50%;
}

.zash-account-profile-main{
    display:flex;
    align-items:center;
    gap:18px;
    min-width:0;
}

.zash-account-avatar{
    width:76px;
    height:76px;
    flex:0 0 76px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:2px solid #d7a23a;
    background:linear-gradient(145deg,#2a2113,#0e1118);
    color:#f1c96d;
    font-size:25px;
    font-weight:900;
    letter-spacing:1px;
    box-shadow:inset 0 0 0 5px rgba(215,162,58,.06);
}

.zash-account-eyebrow{
    display:block;
    margin-bottom:6px;
    color:#d7a23a;
    font-size:10px;
    font-weight:900;
    letter-spacing:2px;
}

.zash-account-profile h2{
    margin:0 0 5px;
    color:#fff;
    font-family:Georgia,serif;
    font-size:30px;
    line-height:1.1;
}

.zash-account-profile-copy p{
    margin:0;
    color:#abb4c2;
    font-size:13px;
    overflow-wrap:anywhere;
}

.zash-account-profile-meta{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:26px;
}

.zash-account-profile-meta>div{
    min-width:78px;
    text-align:center;
}

.zash-account-profile-meta strong,
.zash-account-profile-meta span{
    display:block;
}

.zash-account-profile-meta strong{
    color:#fff;
    font-size:18px;
}

.zash-account-profile-meta span{
    margin-top:3px;
    color:#929dac;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.7px;
}

.zash-account-shop-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    padding:0 19px;
    border-radius:10px;
    background:linear-gradient(135deg,#f0c467,#c88c20);
    color:#17120b!important;
    font-weight:900;
    box-shadow:0 10px 24px rgba(198,138,31,.2);
}

/* ---------- WooCommerce account two-column shell ---------- */

body.logged-in.woocommerce-account .woocommerce{
    display:grid;
    grid-template-columns:250px minmax(0,1fr);
    gap:22px;
    align-items:start;
}

/* Profile banner must span both columns. */
body.logged-in.woocommerce-account .woocommerce>.zash-account-profile{
    grid-column:1/-1;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation{
    width:auto;
    float:none;
    position:sticky;
    top:98px;
    padding:12px;
    border-radius:18px;
    background:linear-gradient(180deg,#0b1018,#111824);
    border:1px solid rgba(215,162,58,.23);
    box-shadow:0 16px 40px rgba(16,21,29,.11);
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul{
    margin:0;
    padding:0;
    list-style:none;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li{
    margin:3px 0;
    list-style:none;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:47px;
    padding:10px 13px 10px 42px;
    border-radius:10px;
    color:#c9d0da;
    font-size:13px;
    font-weight:750;
    transition:.18s ease;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a:before{
    position:absolute;
    left:14px;
    width:20px;
    text-align:center;
    color:#d7a23a;
    font-size:15px;
}

.woocommerce-MyAccount-navigation-link--dashboard a:before{content:"⌂"}
.woocommerce-MyAccount-navigation-link--orders a:before{content:"▣"}
.woocommerce-MyAccount-navigation-link--downloads a:before{content:"↓"}
.woocommerce-MyAccount-navigation-link--edit-address a:before{content:"⌖"}
.woocommerce-MyAccount-navigation-link--payment-methods a:before{content:"◈"}
.woocommerce-MyAccount-navigation-link--edit-account a:before{content:"◉"}
.woocommerce-MyAccount-navigation-link--customer-logout a:before{content:"↗"}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
    background:rgba(215,162,58,.08);
    color:#fff;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
    background:linear-gradient(135deg,#e4b34b,#c78c24);
    color:#17120b;
    box-shadow:0 8px 20px rgba(203,143,36,.18);
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:before{
    color:#17120b;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{
    margin-top:10px;
    padding-top:8px;
    border-top:1px solid rgba(255,255,255,.08);
}

/* ---------- account content ---------- */

body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
    width:auto;
    float:none;
    min-width:0;
    padding:27px;
    border-radius:18px;
    background:#fff;
    border:1px solid #e5dfd3;
    box-shadow:0 18px 46px rgba(20,25,34,.07);
}

.zash-account-dashboard-head{
    padding-bottom:19px;
    border-bottom:1px solid #eee8dc;
}

.zash-account-dashboard-head>span,
.zash-account-quick>div:first-child>span{
    color:#a76f11;
    font-size:10px;
    font-weight:900;
    letter-spacing:2px;
}

.zash-account-dashboard-head h2{
    margin:5px 0 7px!important;
    color:#12151b;
    font-size:30px;
}

.zash-account-dashboard-head p{
    margin:0!important;
    color:#6b7280;
}

.zash-account-stats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
    margin:19px 0;
}

.zash-account-stat{
    display:flex;
    align-items:center;
    gap:14px;
    min-height:118px;
    padding:17px;
    border-radius:15px;
    border:1px solid #e8e1d3;
    background:linear-gradient(145deg,#fffefb,#faf7f0);
    color:#111827!important;
    transition:.18s;
}

a.zash-account-stat:hover{
    transform:translateY(-2px);
    border-color:#d9af55;
    box-shadow:0 10px 24px rgba(33,28,18,.07);
}

.zash-stat-icon{
    width:47px;
    height:47px;
    flex:0 0 47px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#111722;
    color:#e5b750;
    font-size:20px;
    font-style:normal;
}

.zash-account-stat small,
.zash-account-stat strong,
.zash-account-stat em{
    display:block;
}

.zash-account-stat small{
    margin-bottom:2px;
    color:#8a8173;
    font-size:10px;
    font-weight:800;
    letter-spacing:.7px;
    text-transform:uppercase;
}

.zash-account-stat strong{
    color:#15181e;
    font-size:20px;
    line-height:1.2;
}

.zash-account-stat strong .woocommerce-Price-amount{
    color:inherit;
}

.zash-account-stat em{
    margin-top:6px;
    color:#9a7b3a;
    font-size:11px;
    font-style:normal;
}

.zash-account-quick{
    margin-top:18px;
    padding:19px;
    border-radius:15px;
    color:#fff;
    background:
        radial-gradient(circle at 100% 0,rgba(215,162,58,.15),transparent 30%),
        #0c111a;
}

.zash-account-quick{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.zash-account-quick h3{
    margin:4px 0 0!important;
    color:#fff;
    font-size:18px;
}

.zash-account-quick-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:7px;
}

.zash-account-quick-actions a{
    display:inline-flex;
    min-height:37px;
    align-items:center;
    padding:0 11px;
    border:1px solid rgba(215,162,58,.26);
    border-radius:9px;
    background:rgba(255,255,255,.035);
    color:#eef2f7!important;
    font-size:11px;
    font-weight:800;
}

.zash-account-quick-actions a:hover{
    background:#d7a23a;
    color:#15110b!important;
}

/* Hide generic Woo dashboard intro because custom dashboard now explains it. */
.woocommerce-account .woocommerce-MyAccount-content>p:first-of-type{
    color:#5e6673;
    line-height:1.7;
}

/* ---------- endpoint tables/forms ---------- */

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3{
    color:#15181d;
    font-family:Georgia,serif;
}

body.woocommerce-account .woocommerce-MyAccount-content table{
    border-collapse:separate!important;
    border-spacing:0;
    overflow:hidden;
    border:1px solid #e4ded3!important;
    border-radius:13px;
}

body.woocommerce-account .woocommerce-MyAccount-content table th{
    background:#101620;
    color:#e8bc5b;
    border:0!important;
    font-size:12px;
}

body.woocommerce-account .woocommerce-MyAccount-content table td{
    background:#fff;
    border-color:#eee8df!important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{
    padding:19px;
    border:1px solid #e6e0d6;
    border-radius:14px;
    background:#fffdf9;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea{
    min-height:47px;
    border:1px solid #d8dce2;
    border-radius:9px;
    padding:9px 11px;
    background:#fff;
}

body.woocommerce-account .woocommerce-MyAccount-content textarea{
    min-height:100px;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus{
    border-color:#d7a23a;
    box-shadow:0 0 0 3px rgba(215,162,58,.12);
    outline:0;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset{
    margin-top:20px;
    border:1px solid #e4ded2;
    border-radius:14px;
    padding:18px;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset legend{
    padding:0 8px;
    color:#8b5e0c;
    font-weight:800;
}

/* Notices */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error{
    border-radius:12px;
    background:#fff;
    border-left-color:#d7a23a;
    box-shadow:0 6px 18px rgba(17,24,39,.05);
}

/* ---------- responsive ---------- */

@media(max-width:900px){
    .zash-account-profile{
        align-items:flex-start;
        flex-direction:column;
    }

    .zash-account-profile-meta{
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
    }

    body.logged-in.woocommerce-account .woocommerce{
        grid-template-columns:1fr;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation{
        position:static;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:5px;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li{
        margin:0;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{
        margin:0;
        padding:0;
        border-top:0;
    }

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

    .zash-account-quick{
        align-items:flex-start;
        flex-direction:column;
    }

    .zash-account-quick-actions{
        justify-content:flex-start;
    }
}

@media(max-width:620px){
    body.woocommerce-account .zash-page-wrap{
        padding:30px 14px 44px;
    }

    body.woocommerce-account .zash-page-title h1{
        font-size:38px;
    }

    .zash-account-profile{
        padding:21px 18px;
        border-radius:17px;
    }

    .zash-account-avatar{
        width:62px;
        height:62px;
        flex-basis:62px;
        font-size:21px;
    }

    .zash-account-profile h2{
        font-size:24px;
    }

    .zash-account-profile-meta{
        gap:14px;
    }

    .zash-account-shop-btn{
        width:100%;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul{
        grid-template-columns:1fr 1fr;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation a{
        min-height:43px;
        font-size:11px;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
        padding:19px 15px;
    }

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

    .zash-account-stat{
        min-height:100px;
    }

    .zash-account-dashboard-head h2{
        font-size:25px;
    }
}
