/*
 * AtinabWeb Material Account Portal
 * Scoped to the WooCommerce customer account experience.
 * No global theme typography/layout overrides live in this file.
 */

body.aw-material-account-page{
    --md-primary:var(--aw-account-accent,#26c6da);
    --md-primary-strong:#0499ad;
    --md-primary-container:#dff8fb;
    --md-on-primary:#ffffff;
    --md-on-primary-container:#07363d;
    --md-surface:#ffffff;
    --md-surface-dim:#eef2f7;
    --md-surface-container-low:#f8fafc;
    --md-surface-container:#f3f6f9;
    --md-surface-container-high:#edf1f5;
    --md-surface-container-highest:#e7ecf1;
    --md-on-surface:#17202a;
    --md-on-surface-variant:#5e6875;
    --md-outline:#c6cdd6;
    --md-outline-variant:#e0e5eb;
    --md-error:#ba1a1a;
    --md-error-container:#ffdad6;
    --md-success:#087f5b;
    --md-success-container:#d8f8e9;
    --md-warning:#925400;
    --md-warning-container:#ffddb0;
    --md-info:#1555a3;
    --md-info-container:#dbe8ff;
    --md-shadow-1:0 1px 2px rgba(24,39,58,.06),0 1px 3px rgba(24,39,58,.08);
    --md-shadow-2:0 4px 12px rgba(24,39,58,.07),0 2px 4px rgba(24,39,58,.05);
    --md-shadow-3:0 10px 30px rgba(24,39,58,.10),0 4px 10px rgba(24,39,58,.06);
    --md-radius-xs:10px;
    --md-radius-sm:14px;
    --md-radius-md:18px;
    --md-radius-lg:24px;
    --md-radius-xl:30px;
    --md-ease:cubic-bezier(.2,0,0,1);
    margin:0;
    min-height:100vh;
    overflow-x:hidden;
    background:#f4f6f8!important;
    color:var(--md-on-surface)!important;
    font-family:var(--aw-main-font,"Vazir","Vazirmatn","IRANSans",Tahoma,Arial,sans-serif)!important;
}
body.aw-material-account-page *{box-sizing:border-box}
body.aw-material-account-page a{text-decoration:none}
body.aw-material-account-page button,
body.aw-material-account-page input,
body.aw-material-account-page select,
body.aw-material-account-page textarea{font-family:inherit}
body.aw-material-account-page :focus-visible{outline:3px solid rgba(38,198,218,.28);outline-offset:3px}
body.aw-material-account-page img{max-width:100%;height:auto}
body.aw-material-account-page.aw-account-drawer-open{overflow:hidden}

.aw-account-skip-link{
    position:fixed;top:10px;right:10px;z-index:100001;
    padding:10px 14px;border-radius:12px;background:var(--md-on-surface);color:#fff!important;
    transform:translateY(-180%);transition:transform .2s var(--md-ease)
}
.aw-account-skip-link:focus{transform:translateY(0)}

/* App shell */
body.aw-material-account-page .aw-ecom-shell{
    display:grid!important;
    grid-template-columns:292px minmax(0,1fr)!important;
    direction:rtl;
    min-height:100vh;
    background:#f4f6f8!important;
}
body.aw-material-account-page .aw-ecom-main{min-width:0;min-height:100vh;background:transparent!important}

/* Material navigation drawer */
body.aw-material-account-page .aw-ecom-sidebar{
    position:sticky!important;
    top:0!important;
    height:100vh!important;
    z-index:40!important;
    display:flex!important;
    flex-direction:column;
    padding:18px 14px 16px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:var(--md-surface)!important;
    color:var(--md-on-surface)!important;
    border-left:1px solid var(--md-outline-variant)!important;
    border-radius:0!important;
    box-shadow:none!important;
}
body.aw-material-account-page .aw-ecom-sidebar:before{display:none!important}
body.aw-material-account-page .aw-ecom-sidebar-head{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    padding:2px 4px 16px!important;margin:0!important;
    border:0!important
}
body.aw-material-account-page .aw-ecom-brand{display:flex;align-items:center;gap:11px;min-width:0;color:var(--md-on-surface)!important}
body.aw-material-account-page .aw-ecom-logo{
    width:48px!important;height:48px!important;flex:0 0 48px!important;
    border-radius:16px!important;background:var(--md-primary-container)!important;
    color:var(--md-on-primary-container)!important;box-shadow:none!important;overflow:hidden
}
body.aw-material-account-page .aw-ecom-logo img{width:100%;height:100%;object-fit:contain;padding:5px}
body.aw-material-account-page .aw-ecom-brand-copy{min-width:0}
body.aw-material-account-page .aw-ecom-brand strong{display:block;color:var(--md-on-surface)!important;font-size:15px!important;font-weight:900!important;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.aw-material-account-page .aw-ecom-brand small{display:block;margin-top:1px;color:var(--md-on-surface-variant)!important;font-size:11px!important;font-weight:700!important}
.aw-account-drawer-close{
    display:none;width:42px;height:42px;border:0;border-radius:999px;background:var(--md-surface-container);
    color:var(--md-on-surface);font-size:24px;line-height:1;align-items:center;justify-content:center;cursor:pointer
}

.aw-account-profile-card{
    position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center;gap:11px;
    padding:13px;margin:0 0 14px;border-radius:20px;background:var(--md-surface-container-low);
    border:1px solid var(--md-outline-variant)
}
.aw-account-profile-avatar{width:48px;height:48px;border-radius:16px;overflow:hidden;background:var(--md-primary-container);color:var(--md-on-primary-container);display:grid;place-items:center}
.aw-account-profile-avatar img{width:100%;height:100%;object-fit:cover}.aw-account-profile-avatar b{font-size:18px;font-weight:900}
.aw-account-profile-copy{min-width:0}.aw-account-profile-copy>span{display:block;color:var(--md-primary-strong);font-size:10px;font-weight:900;margin-bottom:2px}
.aw-account-profile-copy strong{display:block;color:var(--md-on-surface);font-size:13px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aw-account-profile-copy small{display:block;margin-top:3px;color:var(--md-on-surface-variant);font-size:10px;direction:ltr;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aw-account-profile-edit{width:38px;height:38px;border-radius:999px;display:grid;place-items:center;color:var(--md-on-surface-variant)!important;background:transparent;transition:background .18s var(--md-ease),color .18s var(--md-ease)}
.aw-account-profile-edit:hover{background:var(--md-primary-container);color:var(--md-on-primary-container)!important}.aw-account-profile-edit svg{width:18px;height:18px}
.aw-account-member-chip{grid-column:1/-1;display:inline-flex;justify-self:start;padding:6px 9px;border-radius:999px;background:var(--md-surface-container-high);color:var(--md-on-surface-variant);font-size:10px;font-weight:800}

body.aw-material-account-page .aw-ecom-nav{display:grid!important;gap:13px!important;margin:0!important;padding:0 2px 12px!important;overflow:visible!important;flex:1}
.aw-ecom-nav-group{display:grid;gap:5px}.aw-ecom-nav-group-title{display:block;padding:0 12px 3px;color:#8a949f;font-size:10px;font-weight:900;letter-spacing:.01em}
.aw-ecom-nav-group-items{display:grid;gap:4px}
body.aw-material-account-page .aw-ecom-nav-item{
    position:relative;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
    padding:6px 10px!important;border-radius:999px!important;background:transparent!important;color:var(--md-on-surface-variant)!important;
    box-shadow:none!important;transform:none!important;font-size:13px!important;font-weight:850!important;overflow:hidden
}
body.aw-material-account-page .aw-ecom-nav-item:after{content:"";position:absolute;inset:0;background:currentColor;opacity:0;transition:opacity .16s var(--md-ease);pointer-events:none}
body.aw-material-account-page .aw-ecom-nav-item:hover:after{opacity:.05}
body.aw-material-account-page .aw-ecom-nav-item:active:after{opacity:.10}
body.aw-material-account-page .aw-nav-icon{
    position:relative;z-index:1;width:38px!important;height:38px!important;flex:0 0 38px!important;margin:0!important;
    display:grid!important;place-items:center;border-radius:999px!important;background:transparent!important;color:inherit!important
}
body.aw-material-account-page .aw-nav-icon svg{width:20px!important;height:20px!important}
body.aw-material-account-page .aw-nav-label{position:relative;z-index:1;margin:0!important;flex:1}
body.aw-material-account-page .aw-ecom-nav-item em{
    position:relative;z-index:1;min-width:24px;height:24px;padding:0 7px;border-radius:999px;
    background:var(--md-surface-container-highest)!important;color:var(--md-on-surface-variant)!important;
    box-shadow:none!important;font-size:10px!important;font-style:normal;font-weight:900
}
body.aw-material-account-page .aw-ecom-nav-item.is-active{
    background:var(--md-primary-container)!important;color:var(--md-on-primary-container)!important;box-shadow:none!important
}
body.aw-material-account-page .aw-ecom-nav-item.is-active .aw-nav-icon{background:rgba(255,255,255,.55)!important;color:var(--md-primary-strong)!important}
body.aw-material-account-page .aw-ecom-nav-item.is-active em{background:#fff!important;color:var(--md-primary-strong)!important}

body.aw-material-account-page .aw-ecom-sidebar-foot{position:static!important;right:auto!important;left:auto!important;bottom:auto!important;margin-top:auto;padding-top:12px;border-top:1px solid var(--md-outline-variant)}
body.aw-material-account-page .aw-ecom-shop,
body.aw-material-account-page .aw-ecom-logout{display:flex!important;align-items:center;gap:10px;min-height:50px;padding:6px 9px!important;border-radius:18px!important}
body.aw-material-account-page .aw-ecom-shop{background:var(--md-primary-container)!important;border:0!important;color:var(--md-on-primary-container)!important}
body.aw-material-account-page .aw-ecom-shop .aw-nav-icon{background:#fff!important;color:var(--md-primary-strong)!important}
body.aw-material-account-page .aw-ecom-shop small{display:block;color:var(--md-on-surface-variant);font-size:10px;font-weight:750}.aw-ecom-shop strong{display:block;color:var(--md-on-primary-container)!important;font-size:12px!important;font-weight:900!important}
body.aw-material-account-page .aw-ecom-logout{margin-top:6px;color:var(--md-error)!important;background:transparent}.aw-ecom-logout .aw-nav-icon{background:var(--md-error-container)!important;color:var(--md-error)!important}

.aw-account-scrim{display:none;position:fixed;inset:0;z-index:35;border:0;background:rgba(12,18,28,.42);backdrop-filter:blur(2px);cursor:pointer}

/* Top app bar */
body.aw-material-account-page .aw-ecom-topbar{
    position:sticky!important;top:0!important;z-index:30!important;
    min-height:76px!important;display:grid!important;grid-template-columns:minmax(190px,.7fr) minmax(280px,520px) auto;align-items:center!important;gap:18px!important;
    padding:12px 22px!important;background:rgba(255,255,255,.92)!important;border:0!important;border-bottom:1px solid var(--md-outline-variant)!important;
    backdrop-filter:blur(18px)!important;box-shadow:none!important
}
body.aw-material-account-page .aw-ecom-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
body.aw-material-account-page .aw-ecom-title>div{min-width:0}
body.aw-material-account-page .aw-ecom-title span{display:block;color:var(--md-on-surface-variant)!important;font-size:10px!important;font-weight:850!important;margin:0 0 2px!important}
body.aw-material-account-page .aw-ecom-title h1{margin:0!important;color:var(--md-on-surface)!important;font-size:20px!important;line-height:1.45!important;font-weight:900!important;letter-spacing:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.aw-material-account-page .aw-ecom-menu-dot{
    width:44px!important;height:44px!important;display:none!important;flex:0 0 44px;align-items:center!important;justify-content:center!important;
    flex-direction:column;gap:4px!important;border:0!important;border-radius:999px!important;background:var(--md-surface-container)!important;box-shadow:none!important;cursor:pointer!important
}
body.aw-material-account-page .aw-ecom-menu-dot span{width:18px!important;height:2px!important;border-radius:99px!important;background:var(--md-on-surface)!important;margin:0!important}

body.aw-material-account-page .aw-ecom-search{
    width:100%!important;min-width:0!important;height:52px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;
    border:1px solid var(--md-outline)!important;border-radius:999px!important;background:var(--md-surface-container-low)!important;box-shadow:none!important;overflow:hidden!important;
    transition:border-color .18s var(--md-ease),box-shadow .18s var(--md-ease),background .18s var(--md-ease)
}
body.aw-material-account-page .aw-ecom-search:focus-within{border-color:var(--md-primary)!important;box-shadow:0 0 0 2px rgba(38,198,218,.13)!important;background:#fff!important}
.aw-ecom-search-icon{width:44px;height:100%;display:grid;place-items:center;color:var(--md-on-surface-variant)}.aw-ecom-search-icon svg{width:20px;height:20px}
body.aw-material-account-page .aw-ecom-search input{width:100%!important;height:100%!important;border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;padding:0 2px!important;color:var(--md-on-surface)!important;font-size:13px!important}
body.aw-material-account-page .aw-ecom-search input::placeholder{color:#8c96a2!important}
body.aw-material-account-page .aw-ecom-search button{width:auto!important;height:38px!important;margin-left:7px;padding:0 15px!important;border:0!important;border-radius:999px!important;background:var(--md-primary)!important;color:var(--md-on-primary)!important;font-size:11px!important;font-weight:900!important;cursor:pointer}

body.aw-material-account-page .aw-ecom-user-actions{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;justify-content:flex-end}
body.aw-material-account-page .aw-ecom-icon-btn{
    position:relative;width:46px!important;height:46px!important;display:grid!important;place-items:center;border-radius:999px!important;
    background:transparent!important;color:var(--md-on-surface-variant)!important;border:0!important;box-shadow:none!important;
    transition:background .18s var(--md-ease),color .18s var(--md-ease)
}
body.aw-material-account-page .aw-ecom-icon-btn:hover{background:var(--md-surface-container)!important;color:var(--md-on-surface)!important}
body.aw-material-account-page .aw-ecom-icon-btn svg{width:21px!important;height:21px!important}
body.aw-material-account-page .aw-ecom-icon-btn em{
    position:absolute;top:0;left:0;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border-radius:999px;
    background:var(--md-error)!important;color:#fff!important;border:2px solid #fff;box-shadow:none!important;font-size:9px!important;font-style:normal;font-weight:900
}
body.aw-material-account-page .aw-ecom-userbox{
    min-width:176px!important;max-width:220px;display:flex!important;align-items:center!important;gap:9px!important;padding:4px 5px 4px 11px!important;
    border:0!important;border-radius:999px!important;background:var(--md-surface-container)!important;color:var(--md-on-surface)!important;box-shadow:none!important
}
body.aw-material-account-page .aw-ecom-userbox img,
body.aw-material-account-page .aw-ecom-userbox b{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:999px!important;background:var(--md-primary-container)!important;color:var(--md-on-primary-container)!important}
body.aw-material-account-page .aw-ecom-userbox strong{display:block;color:var(--md-on-surface)!important;font-size:11px!important;font-weight:900!important;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.aw-material-account-page .aw-ecom-userbox small{display:block;margin-top:1px;color:var(--md-on-surface-variant)!important;font-size:9px!important;font-weight:750!important;direction:ltr;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}

/* Main content */
body.aw-material-account-page .aw-ecom-content{min-width:0;padding:22px 24px 36px!important;max-width:1660px;width:100%;margin:0 auto}
body.aw-material-account-page .aw-ecom-summary-row{
    display:grid!important;grid-template-columns:repeat(5,minmax(150px,1fr))!important;gap:12px!important;margin:0 0 16px!important
}
body.aw-material-account-page .aw-ecom-stat{
    min-height:112px!important;display:flex!important;align-items:center!important;gap:13px!important;position:relative;overflow:hidden;
    padding:16px!important;border-radius:22px!important;background:var(--md-surface)!important;border:1px solid var(--md-outline-variant)!important;box-shadow:var(--md-shadow-1)!important
}
body.aw-material-account-page .aw-ecom-stat:after{display:none!important}
body.aw-material-account-page .aw-ecom-stat i{
    width:46px!important;height:46px!important;flex:0 0 46px;display:grid!important;place-items:center!important;margin:0!important;border-radius:15px!important;font-style:normal
}
body.aw-material-account-page .aw-ecom-stat i svg{width:22px!important;height:22px!important}
body.aw-material-account-page .aw-ecom-stat>div{min-width:0}
body.aw-material-account-page .aw-ecom-stat span{display:block;color:var(--md-on-surface-variant)!important;font-size:10px!important;font-weight:800!important;line-height:1.6}
body.aw-material-account-page .aw-ecom-stat strong{display:block;margin-top:4px!important;color:var(--md-on-surface)!important;font-size:16px!important;font-weight:900!important;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.aw-material-account-page .aw-stat-purple i{background:var(--md-primary-container)!important;color:var(--md-primary-strong)!important}
body.aw-material-account-page .aw-stat-blue i{background:var(--md-info-container)!important;color:var(--md-info)!important}
body.aw-material-account-page .aw-stat-orange i,.aw-stat-coupon i{background:var(--md-warning-container)!important;color:var(--md-warning)!important}
body.aw-material-account-page .aw-stat-green i{background:var(--md-success-container)!important;color:var(--md-success)!important}

body.aw-material-account-page .aw-ecom-panel,
body.aw-material-account-page .aw-ecom-empty-state{
    padding:18px!important;border:1px solid var(--md-outline-variant)!important;border-radius:28px!important;background:var(--md-surface)!important;box-shadow:var(--md-shadow-1)!important
}
body.aw-material-account-page .aw-ecom-panel .aw-wc-account-layout{display:block!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce-MyAccount-navigation{display:none!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce-MyAccount-content{float:none!important;width:100%!important;min-height:420px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}

/* Dashboard hero and Material cards */
body.aw-material-account-page .aw-dashboard-headline{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;
    margin:0 0 16px!important;padding:22px 24px!important;border-radius:24px!important;background:var(--md-primary-container)!important;border:0!important
}
body.aw-material-account-page .aw-dashboard-headline>div{min-width:0}
body.aw-material-account-page .aw-dashboard-headline span,
body.aw-material-account-page .aw-card-head span{display:block;color:var(--md-primary-strong)!important;font-size:10px!important;font-weight:900!important;margin:0 0 4px!important}
body.aw-material-account-page .aw-dashboard-headline h2{margin:0 0 5px!important;color:var(--md-on-primary-container)!important;font-size:21px!important;font-weight:900!important;line-height:1.55!important}
body.aw-material-account-page .aw-dashboard-headline p{margin:0!important;color:#49636a!important;font-size:12px!important;line-height:1.9!important}
body.aw-material-account-page .aw-dashboard-primary-link{
    min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 18px!important;
    border-radius:999px!important;background:var(--md-primary)!important;color:var(--md-on-primary)!important;font-size:11px!important;font-weight:900!important;box-shadow:none!important;white-space:nowrap
}
body.aw-material-account-page .aw-dashboard-layout{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)!important;gap:14px!important;align-items:start!important}
body.aw-material-account-page .aw-dashboard-card{
    min-width:0;padding:18px!important;border:1px solid var(--md-outline-variant)!important;border-radius:24px!important;background:var(--md-surface)!important;box-shadow:none!important
}
body.aw-material-account-page .aw-card-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important}
body.aw-material-account-page .aw-card-head h3{margin:0!important;color:var(--md-on-surface)!important;font-size:15px!important;font-weight:900!important;line-height:1.5!important}
body.aw-material-account-page .aw-card-head a{min-height:34px;display:inline-flex;align-items:center;padding:0 12px;border-radius:999px;background:var(--md-primary-container);color:var(--md-primary-strong)!important;font-size:10px!important;font-weight:900!important}
body.aw-material-account-page .aw-order-list{display:grid;gap:7px!important}
body.aw-material-account-page .aw-order-row{
    min-height:64px;display:grid!important;grid-template-columns:44px minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px!important;
    padding:8px 10px!important;border-radius:16px!important;background:transparent!important;border:0!important;color:var(--md-on-surface)!important;box-shadow:none!important;
    transition:background .16s var(--md-ease)!important
}
body.aw-material-account-page .aw-order-row:hover{background:var(--md-surface-container-low)!important;transform:none!important;box-shadow:none!important}
body.aw-material-account-page .aw-order-thumb,
body.aw-material-account-page .aw-order-thumb img,
body.aw-material-account-page .aw-order-thumb b{width:44px!important;height:44px!important;border-radius:14px!important;background:var(--md-surface-container)!important;color:var(--md-primary-strong)!important}
body.aw-material-account-page .aw-order-info strong{color:var(--md-on-surface)!important;font-size:11px!important;font-weight:900!important}.aw-order-info small{color:var(--md-on-surface-variant)!important;font-size:9px!important}
body.aw-material-account-page .aw-order-total{color:var(--md-on-surface-variant)!important;font-size:10px!important;font-weight:850!important}
body.aw-material-account-page .aw-status,
body.aw-material-account-page .aw-ticket-status,
body.aw-material-account-page .aw-ticket-priority,
body.aw-material-account-page .aw-ticket-meta-pill{
    min-height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:4px 9px!important;border-radius:999px!important;font-size:9px!important;font-weight:900!important;box-shadow:none!important
}
body.aw-material-account-page .aw-status.is-success{background:var(--md-success-container)!important;color:var(--md-success)!important}
body.aw-material-account-page .aw-status.is-info{background:var(--md-info-container)!important;color:var(--md-info)!important}
body.aw-material-account-page .aw-status.is-warning{background:var(--md-warning-container)!important;color:var(--md-warning)!important}
body.aw-material-account-page .aw-status.is-danger{background:var(--md-error-container)!important;color:var(--md-error)!important}
body.aw-material-account-page .aw-status.is-muted{background:var(--md-surface-container-high)!important;color:var(--md-on-surface-variant)!important}

body.aw-material-account-page .aw-empty-box{min-height:170px!important;border:1px dashed var(--md-outline)!important;border-radius:20px!important;background:var(--md-surface-container-low)!important;padding:20px!important}
body.aw-material-account-page .aw-empty-box strong{color:var(--md-on-surface)!important;font-size:13px!important;font-weight:900!important}.aw-empty-box p{color:var(--md-on-surface-variant)!important;font-size:11px!important}
body.aw-material-account-page .aw-line-chart svg{height:190px!important}.aw-chart-grid{stroke:var(--md-outline-variant)!important}.aw-chart-line{stroke:var(--md-primary)!important;filter:none!important}.aw-chart-dot{stroke:var(--md-primary)!important}
body.aw-material-account-page .aw-chart-kpis span{padding:11px!important;border:0!important;border-radius:15px!important;background:var(--md-surface-container-low)!important;color:var(--md-on-surface-variant)!important}
body.aw-material-account-page .aw-chart-kpis strong{color:var(--md-on-surface)!important}

/* Profile/actions */
body.aw-material-account-page .aw-profile-card{text-align:center!important}
body.aw-material-account-page .aw-profile-card>img{border:4px solid var(--md-primary-container)!important;box-shadow:none!important}
body.aw-material-account-page .aw-profile-actions a,
body.aw-material-account-page .aw-profile-actions span{border:0!important;border-radius:16px!important;background:var(--md-surface-container-low)!important;color:var(--md-on-surface-variant)!important;box-shadow:none!important}

/* Product, coupon, notification and article widgets */
body.aw-material-account-page .aw-product-mini-card,
body.aw-material-account-page .aw-coupon-chip,
body.aw-material-account-page .aw-notification-item,
body.aw-material-account-page .aw-article-item,
body.aw-material-account-page .aw-ticket-row{
    border:1px solid var(--md-outline-variant)!important;border-radius:18px!important;background:var(--md-surface-container-low)!important;box-shadow:none!important;transform:none!important
}
body.aw-material-account-page .aw-product-mini-card:hover,
body.aw-material-account-page .aw-coupon-chip:hover,
body.aw-material-account-page .aw-notification-item:hover,
body.aw-material-account-page .aw-article-item:hover,
body.aw-material-account-page .aw-ticket-row:hover{background:#fff!important;box-shadow:var(--md-shadow-1)!important;transform:none!important}
body.aw-material-account-page .aw-product-mini-thumb{background:var(--md-surface)!important}
body.aw-material-account-page .aw-product-mini-title,
body.aw-material-account-page .aw-notification-item strong,
body.aw-material-account-page .aw-coupon-chip strong,
body.aw-material-account-page .aw-article-body strong,
body.aw-material-account-page .aw-ticket-row-main strong{color:var(--md-on-surface)!important}
body.aw-material-account-page .aw-product-mini-price,
body.aw-material-account-page .aw-notification-item p,
body.aw-material-account-page .aw-coupon-chip small,
body.aw-material-account-page .aw-article-body small,
body.aw-material-account-page .aw-ticket-row-main small{color:var(--md-on-surface-variant)!important}
body.aw-material-account-page .aw-product-mini-actions .button,
body.aw-material-account-page .aw-mini-wishlist-remove{min-height:36px!important;border-radius:999px!important;background:var(--md-primary-container)!important;color:var(--md-primary-strong)!important;box-shadow:none!important}

/* WooCommerce account content */
body.aw-material-account-page .aw-ecom-panel .woocommerce{color:var(--md-on-surface)!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce h2,
body.aw-material-account-page .aw-ecom-panel .woocommerce h3,
body.aw-material-account-page .aw-ecom-panel .woocommerce h4,
body.aw-material-account-page .aw-ecom-panel .woocommerce legend{color:var(--md-on-surface)!important;font-weight:900!important;letter-spacing:0!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce p{color:var(--md-on-surface-variant)!important;font-size:12px!important;line-height:2!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce a:not(.button){color:var(--md-primary-strong)!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce mark{padding:3px 8px;border-radius:999px;background:var(--md-primary-container)!important;color:var(--md-on-primary-container)!important}

/* Material data tables */
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders{
    width:100%!important;border:1px solid var(--md-outline-variant)!important;border-collapse:separate!important;border-spacing:0!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important
}
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table thead,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders thead{background:var(--md-surface-container-low)!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table th,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table td,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders th,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders td{
    padding:13px 14px!important;border:0!important;border-bottom:1px solid var(--md-outline-variant)!important;text-align:right!important;vertical-align:middle!important
}
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table tr:last-child td{border-bottom:0!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table th,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders th{color:var(--md-on-surface-variant)!important;font-size:10px!important;font-weight:900!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table td,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders td{color:var(--md-on-surface)!important;font-size:11px!important;font-weight:700!important}

/* Material outlined fields */
body.aw-material-account-page .aw-ecom-panel .woocommerce form .form-row{margin:0 0 15px!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce form .form-row label,
body.aw-material-account-page .aw-ticket-create-form label,
body.aw-material-account-page .aw-ticket-reply-form label{display:block!important;margin:0 0 6px!important;color:var(--md-on-surface-variant)!important;font-size:10px!important;font-weight:850!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="text"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="email"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="password"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="tel"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="number"],
body.aw-material-account-page .aw-ecom-panel .woocommerce textarea,
body.aw-material-account-page .aw-ecom-panel .woocommerce select,
body.aw-material-account-page .aw-ticket-create-form input,
body.aw-material-account-page .aw-ticket-create-form select,
body.aw-material-account-page .aw-ticket-create-form textarea,
body.aw-material-account-page .aw-ticket-reply-form textarea{
    width:100%!important;min-height:52px!important;padding:11px 14px!important;border:1px solid var(--md-outline)!important;border-radius:12px!important;
    background:#fff!important;color:var(--md-on-surface)!important;outline:0!important;box-shadow:none!important;font-size:12px!important;
    transition:border-color .16s var(--md-ease),box-shadow .16s var(--md-ease)!important
}
body.aw-material-account-page .aw-ecom-panel .woocommerce textarea,
body.aw-material-account-page .aw-ticket-create-form textarea,
body.aw-material-account-page .aw-ticket-reply-form textarea{min-height:120px!important;resize:vertical!important;line-height:1.9!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce input:focus,
body.aw-material-account-page .aw-ecom-panel .woocommerce textarea:focus,
body.aw-material-account-page .aw-ecom-panel .woocommerce select:focus,
body.aw-material-account-page .aw-ticket-create-form input:focus,
body.aw-material-account-page .aw-ticket-create-form select:focus,
body.aw-material-account-page .aw-ticket-create-form textarea:focus,
body.aw-material-account-page .aw-ticket-reply-form textarea:focus{border-color:var(--md-primary)!important;box-shadow:0 0 0 2px rgba(38,198,218,.12)!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce fieldset{margin:18px 0 0!important;padding:16px!important;border:1px solid var(--md-outline-variant)!important;border-radius:20px!important;background:var(--md-surface-container-low)!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce fieldset legend{padding:0 7px!important;font-size:12px!important}

/* Material buttons */
body.aw-material-account-page .aw-ecom-panel .woocommerce a.button,
body.aw-material-account-page .aw-ecom-panel .woocommerce button.button,
body.aw-material-account-page .aw-ecom-panel .woocommerce input.button,
body.aw-material-account-page .aw-ecom-panel .woocommerce .button,
body.aw-material-account-page .aw-btn,
body.aw-material-account-page .aw-ticket-submit{
    min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 17px!important;
    border:0!important;border-radius:999px!important;background:var(--md-primary)!important;color:var(--md-on-primary)!important;font-size:10px!important;font-weight:900!important;line-height:1.2!important;
    box-shadow:none!important;cursor:pointer!important;transition:box-shadow .16s var(--md-ease),filter .16s var(--md-ease)!important
}
body.aw-material-account-page .aw-ecom-panel .woocommerce a.button:hover,
body.aw-material-account-page .aw-ecom-panel .woocommerce button.button:hover,
body.aw-material-account-page .aw-ecom-panel .woocommerce input.button:hover,
body.aw-material-account-page .aw-ecom-panel .woocommerce .button:hover,
body.aw-material-account-page .aw-btn:hover,
body.aw-material-account-page .aw-ticket-submit:hover{filter:brightness(.97)!important;box-shadow:var(--md-shadow-1)!important;transform:none!important}
body.aw-material-account-page .aw-btn-ghost{background:var(--md-primary-container)!important;color:var(--md-primary-strong)!important;border:0!important}

/* Notices, addresses, payment cards */
body.aw-material-account-page .aw-ecom-panel .woocommerce-Address,
body.aw-material-account-page .aw-ecom-panel .woocommerce-message,
body.aw-material-account-page .aw-ecom-panel .woocommerce-error,
body.aw-material-account-page .aw-ecom-panel .woocommerce-info{
    margin:0 0 14px!important;padding:14px 16px!important;border:0!important;border-radius:18px!important;background:var(--md-info-container)!important;color:var(--md-info)!important;box-shadow:none!important;font-size:11px!important;line-height:1.9!important
}
body.aw-material-account-page .aw-ecom-panel .woocommerce-message{background:var(--md-success-container)!important;color:var(--md-success)!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce-error{background:var(--md-error-container)!important;color:var(--md-error)!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce-info:before,
body.aw-material-account-page .aw-ecom-panel .woocommerce-message:before,
body.aw-material-account-page .aw-ecom-panel .woocommerce-error:before{display:none!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce-Address{background:var(--md-surface-container-low)!important;color:var(--md-on-surface)!important;border:1px solid var(--md-outline-variant)!important}
body.aw-material-account-page .aw-ecom-panel address{padding:14px!important;border:0!important;border-radius:16px!important;background:var(--md-surface-container-low)!important;color:var(--md-on-surface-variant)!important;line-height:2!important}

/* Tickets */
body.aw-material-account-page .aw-ticket-create-card,
body.aw-material-account-page .aw-ticket-create-form,
body.aw-material-account-page .aw-ticket-reply-form,
body.aw-material-account-page .aw-ticket-single-head{padding:16px!important;border:1px solid var(--md-outline-variant)!important;border-radius:22px!important;background:#fff!important;box-shadow:none!important}
body.aw-material-account-page .aw-ticket-form-hero{padding:14px!important;border:0!important;border-radius:18px!important;background:var(--md-primary-container)!important}
body.aw-material-account-page .aw-ticket-form-hero>span{background:#fff!important;color:var(--md-primary-strong)!important;box-shadow:none!important}
body.aw-material-account-page .aw-ticket-message{border:0!important;border-radius:20px!important;background:var(--md-surface-container-low)!important;box-shadow:none!important}
body.aw-material-account-page .aw-ticket-message.is-agent{background:var(--md-primary-container)!important}

/* Login / OTP account page */
body.aw-material-account-page .aw-ecom-login-shell{
    min-height:100vh!important;display:grid!important;grid-template-columns:minmax(320px,500px) minmax(340px,520px)!important;align-items:center!important;justify-content:center!important;
    gap:18px!important;padding:26px!important;background:#f4f6f8!important
}
body.aw-material-account-page .aw-ecom-login-copy,
body.aw-material-account-page .aw-ecom-login-form .aw-otp-card,
body.aw-material-account-page .aw-ecom-empty-state{padding:clamp(24px,3vw,38px)!important;border:1px solid var(--md-outline-variant)!important;border-radius:28px!important;background:#fff!important;box-shadow:var(--md-shadow-2)!important}
body.aw-material-account-page .aw-ecom-login-copy{min-height:510px!important;position:relative;overflow:hidden;background:var(--md-primary-container)!important}
body.aw-material-account-page .aw-ecom-login-copy:before{content:""!important;position:absolute;left:-100px;bottom:-110px;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.42)!important}
.aw-login-kicker{position:relative;z-index:1;display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:#fff;color:var(--md-primary-strong);font-size:10px;font-weight:900;margin-bottom:16px}
body.aw-material-account-page .aw-ecom-login-copy h1{position:relative;z-index:1;margin:0 0 12px!important;color:var(--md-on-primary-container)!important;font-size:clamp(28px,4vw,48px)!important;font-weight:900!important;line-height:1.3!important;letter-spacing:0!important}
body.aw-material-account-page .aw-ecom-login-copy p{position:relative;z-index:1;margin:0 0 20px!important;color:#49636a!important;font-size:13px!important;line-height:2!important}
body.aw-material-account-page .aw-ecom-login-copy ul{position:relative;z-index:1;list-style:none;margin:0;padding:0;display:grid;gap:10px}
body.aw-material-account-page .aw-ecom-login-copy li{padding-right:24px;color:var(--md-on-primary-container)!important;font-size:12px!important;font-weight:800!important;line-height:1.9!important}
body.aw-material-account-page .aw-ecom-login-copy li:before{background:var(--md-primary-strong)!important;width:7px!important;height:7px!important}
body.aw-material-account-page .aw-ecom-login-brand{color:var(--md-on-primary-container)!important}.aw-ecom-login-brand strong{color:var(--md-on-primary-container)!important}.aw-ecom-login-brand small{color:#49636a!important}
body.aw-material-account-page .aw-otp-card h1,
body.aw-material-account-page .aw-otp-card h2{color:var(--md-on-surface)!important;font-size:26px!important;font-weight:900!important}
body.aw-material-account-page .aw-otp-kicker{background:var(--md-primary-container)!important;color:var(--md-primary-strong)!important}
body.aw-material-account-page .aw-otp-desc{color:var(--md-on-surface-variant)!important}
body.aw-material-account-page .aw-otp-form input{height:54px!important;border:1px solid var(--md-outline)!important;border-radius:12px!important;background:#fff!important;color:var(--md-on-surface)!important;box-shadow:none!important}
body.aw-material-account-page .aw-otp-form input:focus{border-color:var(--md-primary)!important;box-shadow:0 0 0 2px rgba(38,198,218,.12)!important}
body.aw-material-account-page .aw-otp-input-group{border:1px solid var(--md-outline)!important;border-radius:12px!important;background:#fff!important}
body.aw-material-account-page .aw-otp-input-group span{background:var(--md-primary-container)!important;color:var(--md-primary-strong)!important}

/* Bottom navigation for phones */
.aw-account-bottom-nav{display:none}

/* Standard WooCommerce My Account fallback when custom portal page template is not assigned. */
body.woocommerce-account:not(.aw-commerce-account-page) .aw-wc-account-layout{
    width:min(1240px,calc(100% - 32px));margin:42px auto;display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;direction:rtl
}
body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-navigation,
body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-content{
    float:none!important;width:100%!important
}
body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:12px;border:1px solid #e0e5eb;border-radius:24px;background:#fff;display:grid;gap:4px}
body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-navigation li{margin:0!important;padding:0!important;border:0!important}
body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-navigation a{min-height:46px;display:flex;align-items:center;padding:0 15px;border-radius:999px;color:#5e6875;font-size:13px;font-weight:850}
body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-navigation .is-active a{background:#dff8fb;color:#07363d}
body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-content{padding:20px!important;border:1px solid #e0e5eb;border-radius:24px;background:#fff;box-shadow:0 1px 3px rgba(24,39,58,.06)}

/* Admin bar offsets */
body.admin-bar.aw-material-account-page .aw-ecom-sidebar{top:32px!important;height:calc(100vh - 32px)!important}
body.admin-bar.aw-material-account-page .aw-ecom-topbar{top:32px!important}

@media (max-width:1420px){
    body.aw-material-account-page .aw-ecom-shell{grid-template-columns:270px minmax(0,1fr)!important}
    body.aw-material-account-page .aw-ecom-summary-row{grid-template-columns:repeat(3,minmax(160px,1fr))!important}
    body.aw-material-account-page .aw-dashboard-layout{grid-template-columns:minmax(0,1fr)!important}
    body.aw-material-account-page .aw-dashboard-bottom-grid{grid-template-columns:1fr 1fr!important}
    body.aw-material-account-page .aw-product-card-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media (max-width:1080px){
    body.aw-material-account-page .aw-ecom-shell{display:block!important}
    body.aw-material-account-page .aw-ecom-sidebar{
        position:fixed!important;top:0!important;right:0!important;bottom:0!important;width:min(320px,88vw)!important;height:100vh!important;
        transform:translateX(105%);transition:transform .24s var(--md-ease)!important;box-shadow:var(--md-shadow-3)!important;border-left:0!important;z-index:50!important
    }
    body.aw-material-account-page.aw-account-drawer-open .aw-ecom-sidebar{transform:translateX(0)}
    body.aw-material-account-page.aw-account-drawer-open .aw-account-scrim{display:block}
    .aw-account-drawer-close{display:flex}
    body.aw-material-account-page .aw-ecom-menu-dot{display:flex!important}
    body.aw-material-account-page .aw-ecom-topbar{grid-template-columns:minmax(170px,.7fr) minmax(240px,1fr) auto!important}
    body.admin-bar.aw-material-account-page .aw-ecom-sidebar{top:0!important;height:100vh!important}
    body.aw-material-account-page .aw-dashboard-bottom-grid{grid-template-columns:1fr!important}
}

@media (max-width:820px){
    body.aw-material-account-page .aw-ecom-topbar{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:10px 14px!important}
    body.aw-material-account-page .aw-ecom-search{grid-column:1/-1;grid-row:2;margin-top:2px!important;height:48px!important}
    body.aw-material-account-page .aw-ecom-userbox{min-width:0!important;width:44px!important;height:44px!important;padding:2px!important;background:transparent!important}
    body.aw-material-account-page .aw-ecom-userbox span{display:none!important}
    body.aw-material-account-page .aw-ecom-userbox img,body.aw-material-account-page .aw-ecom-userbox b{width:40px!important;height:40px!important}
    body.aw-material-account-page .aw-ecom-content{padding:16px 14px 90px!important}
    body.aw-material-account-page .aw-ecom-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
    body.aw-material-account-page .aw-ecom-stat{min-height:94px!important;padding:12px!important;gap:9px!important;border-radius:18px!important}
    body.aw-material-account-page .aw-ecom-stat i{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:13px!important}
    body.aw-material-account-page .aw-ecom-stat strong{font-size:14px!important}
    body.aw-material-account-page .aw-ecom-panel{padding:12px!important;border-radius:22px!important}
    body.aw-material-account-page .aw-dashboard-headline{display:block!important;padding:18px!important;border-radius:20px!important}
    body.aw-material-account-page .aw-dashboard-primary-link{width:100%;margin-top:13px}
    body.aw-material-account-page .aw-dashboard-card{padding:14px!important;border-radius:20px!important}
    body.aw-material-account-page .aw-product-card-grid,
    body.aw-material-account-page .aw-product-card-grid--compact,
    body.aw-material-account-page .aw-wishlist-page .aw-product-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table,
    body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders{display:block!important;overflow-x:auto!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch}
    .aw-account-bottom-nav{
        position:fixed;right:10px;left:10px;bottom:10px;z-index:31;height:64px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;
        padding:5px;border:1px solid var(--md-outline-variant);border-radius:22px;background:rgba(255,255,255,.96);box-shadow:var(--md-shadow-3);backdrop-filter:blur(18px)
    }
    .aw-account-bottom-nav a{min-width:0;height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:17px;color:var(--md-on-surface-variant)!important}
    .aw-account-bottom-nav a span{width:30px;height:28px;border-radius:999px;display:grid;place-items:center}.aw-account-bottom-nav a svg{width:18px;height:18px}
    .aw-account-bottom-nav a small{max-width:100%;font-size:8px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .aw-account-bottom-nav a.is-active{color:var(--md-on-primary-container)!important}.aw-account-bottom-nav a.is-active span{background:var(--md-primary-container)}
    body.admin-bar.aw-material-account-page .aw-ecom-topbar{top:46px!important}
    body.aw-material-account-page .aw-ecom-login-shell{grid-template-columns:1fr!important;padding:14px!important}
    body.aw-material-account-page .aw-ecom-login-copy{min-height:auto!important}
}

@media (max-width:560px){
    body.aw-material-account-page .aw-ecom-title h1{font-size:17px!important}
    body.aw-material-account-page .aw-ecom-title>div>span{display:none!important}
    body.aw-material-account-page .aw-action-notifications{display:none!important}
    body.aw-material-account-page .aw-ecom-summary-row{grid-template-columns:1fr 1fr!important}
    body.aw-material-account-page .aw-ecom-stat{min-width:0}body.aw-material-account-page .aw-ecom-stat:nth-child(1){grid-column:1/-1}
    body.aw-material-account-page .aw-order-row{grid-template-columns:42px minmax(0,1fr)!important}.aw-order-total,.aw-status{grid-column:2!important;justify-self:start!important}
    body.aw-material-account-page .aw-product-card-grid,
    body.aw-material-account-page .aw-product-card-grid--compact,
    body.aw-material-account-page .aw-wishlist-page .aw-product-card-grid{grid-template-columns:1fr!important}
    body.aw-material-account-page .aw-ecom-login-copy,
    body.aw-material-account-page .aw-ecom-login-form .aw-otp-card{padding:22px!important;border-radius:22px!important}
    body.aw-material-account-page .aw-ecom-login-copy h1{font-size:28px!important}
    body.woocommerce-account:not(.aw-commerce-account-page) .aw-wc-account-layout{grid-template-columns:1fr;width:min(100% - 20px,1240px);margin:22px auto}
    body.woocommerce-account:not(.aw-commerce-account-page) .woocommerce-MyAccount-navigation ul{display:flex;overflow:auto;gap:6px;scrollbar-width:none}.woocommerce-MyAccount-navigation li{min-width:max-content}
}

@media (prefers-reduced-motion:reduce){
    body.aw-material-account-page *,body.aw-material-account-page *:before,body.aw-material-account-page *:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}

/* Account editor / profile avatar — scoped to Material customer portal */
body.aw-material-account-page .aw-account-edit-form{display:grid;gap:16px;margin:0!important}
body.aw-material-account-page .aw-account-settings-card{margin:0!important;padding:22px!important;border:1px solid var(--md-outline-variant)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--md-shadow-1)!important;min-width:0}
body.aw-material-account-page fieldset.aw-account-settings-card{display:block!important}
body.aw-material-account-page .aw-account-settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--md-outline-variant)}
body.aw-material-account-page .aw-account-settings-heading span{display:block;margin-bottom:4px;color:var(--md-primary-strong);font-size:10px;font-weight:900}
body.aw-material-account-page .aw-account-settings-heading h2{margin:0!important;color:var(--md-on-surface)!important;font-size:18px!important;font-weight:900!important;line-height:1.7!important}
body.aw-material-account-page .aw-account-settings-heading p{margin:4px 0 0!important;color:var(--md-on-surface-variant)!important;font-size:11px!important;line-height:1.9!important}
body.aw-material-account-page .aw-account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
body.aw-material-account-page .aw-account-field{margin:0!important;min-width:0}
body.aw-material-account-page .aw-account-field--wide{grid-column:1/-1}
body.aw-material-account-page .aw-account-field label{display:block;margin:0 0 7px!important;color:var(--md-on-surface)!important;font-size:11px!important;font-weight:850!important}
body.aw-material-account-page .aw-account-field small{display:block;margin-top:6px;color:var(--md-on-surface-variant);font-size:9px;line-height:1.8}
body.aw-material-account-page .aw-account-field input{height:52px!important;margin:0!important;border:1px solid var(--md-outline)!important;border-radius:13px!important;background:#fff!important;color:var(--md-on-surface)!important;padding:0 14px!important;font-size:12px!important;box-shadow:none!important;outline:0!important;transition:border-color .18s ease,box-shadow .18s ease!important}
body.aw-material-account-page .aw-account-field input:focus{border-color:var(--md-primary)!important;box-shadow:0 0 0 3px rgba(38,198,218,.11)!important}
body.aw-material-account-page .aw-account-field .required{color:#d92d20}
body.aw-material-account-page .aw-avatar-editor{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;padding:4px}
body.aw-material-account-page .aw-avatar-preview{position:relative;width:132px;height:132px;border-radius:38px;overflow:hidden;display:grid;place-items:center;background:var(--md-primary-container);color:var(--md-on-primary-container);border:4px solid #fff;box-shadow:0 0 0 1px var(--md-outline-variant),var(--md-shadow-2)}
body.aw-material-account-page .aw-avatar-preview img{width:100%;height:100%;display:block;object-fit:cover}
body.aw-material-account-page .aw-avatar-preview b{font-size:42px;font-weight:900}
body.aw-material-account-page .aw-avatar-status{position:absolute;right:7px;bottom:7px;width:22px;height:22px;border-radius:50%;border:3px solid #fff;background:#16a34a;box-shadow:0 3px 9px rgba(15,23,42,.16)}
body.aw-material-account-page .aw-avatar-editor-copy strong{display:block;color:var(--md-on-surface);font-size:14px;font-weight:900}
body.aw-material-account-page .aw-avatar-editor-copy>p{max-width:620px;margin:6px 0 15px!important;color:var(--md-on-surface-variant)!important;font-size:10px!important;line-height:2!important}
body.aw-material-account-page .aw-avatar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
body.aw-material-account-page .aw-avatar-file-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
body.aw-material-account-page .aw-material-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;border:0;border-radius:999px;font:inherit;font-size:10px;font-weight:900;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
body.aw-material-account-page .aw-material-button svg{width:17px;height:17px}
body.aw-material-account-page .aw-material-button--filled{background:var(--md-primary)!important;color:var(--md-on-primary)!important;box-shadow:var(--md-shadow-1)}
body.aw-material-account-page .aw-material-button--filled:hover{transform:translateY(-1px);box-shadow:var(--md-shadow-2)}
body.aw-material-account-page .aw-material-button--text{background:var(--md-error-container,#fde8e7)!important;color:var(--md-error,#a42622)!important;padding-inline:14px}
body.aw-material-account-page .aw-avatar-file-meta{display:block;margin-top:10px;color:var(--md-on-surface-variant);font-size:9px;line-height:1.7}
body.aw-material-account-page .aw-avatar-editor.is-dragging .aw-avatar-preview{box-shadow:0 0 0 4px rgba(38,198,218,.16),var(--md-shadow-2);transform:scale(1.02)}
body.aw-material-account-page .aw-avatar-editor.has-new-file .aw-avatar-status{background:#f59e0b}
body.aw-material-account-page .aw-account-password-card{border:1px solid var(--md-outline-variant)!important}
body.aw-material-account-page .aw-account-form-actions{display:flex;align-items:center;justify-content:flex-start;padding-top:2px}
body.aw-material-account-page .aw-account-save-button{min-height:48px!important;border:0!important;border-radius:999px!important;padding:0 24px!important;background:var(--md-primary)!important;color:var(--md-on-primary)!important;font-size:11px!important;font-weight:900!important;box-shadow:var(--md-shadow-1)!important}
body.aw-material-account-page .aw-account-save-button:hover{box-shadow:var(--md-shadow-2)!important;transform:translateY(-1px)}
/* Safety net: never show the floating cart trigger inside the customer portal. */
body.aw-material-account-page .aw-floating-cart{display:none!important}

@media (max-width:700px){
    body.aw-material-account-page .aw-account-settings-card{padding:16px!important;border-radius:20px!important}
    body.aw-material-account-page .aw-account-settings-heading{margin-bottom:16px;padding-bottom:13px}
    body.aw-material-account-page .aw-account-form-grid{grid-template-columns:1fr;gap:12px}
    body.aw-material-account-page .aw-account-field--wide{grid-column:auto}
    body.aw-material-account-page .aw-avatar-editor{grid-template-columns:1fr;text-align:center;justify-items:center;gap:16px}
    body.aw-material-account-page .aw-avatar-editor-copy{width:100%}
    body.aw-material-account-page .aw-avatar-editor-copy>p{margin-inline:auto!important}
    body.aw-material-account-page .aw-avatar-actions{justify-content:center}
    body.aw-material-account-page .aw-account-form-actions{display:block}
    body.aw-material-account-page .aw-account-save-button{width:100%!important}
}

/* =========================================================
 * v1.5.2 — Material 3 Compact Density
 * Removes oversized empty surfaces while keeping the portal
 * fully scoped and compatible with WooCommerce endpoints.
 * ======================================================= */
body.aw-material-account-page{
    --md-surface-canvas:#f6f8fb;
    --md-surface-card:#ffffff;
    --md-compact-gap:10px;
    background:var(--md-surface-canvas)!important;
}

/* The outer endpoint container should not create a second giant white card. */
body.aw-material-account-page .aw-ecom-panel{
    min-height:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
body.aw-material-account-page .aw-ecom-panel .woocommerce-MyAccount-content{
    min-height:0!important;
}

/* Compact Material app content. */
body.aw-material-account-page .aw-ecom-content{
    padding:16px 18px 28px!important;
}
body.aw-material-account-page .aw-ecom-summary-row{
    gap:10px!important;
    margin-bottom:12px!important;
}
body.aw-material-account-page .aw-ecom-stat{
    min-height:88px!important;
    gap:11px!important;
    padding:12px 13px!important;
    border-radius:18px!important;
    box-shadow:none!important;
    background:var(--md-surface-card)!important;
    transition:background .18s var(--md-ease),border-color .18s var(--md-ease),transform .18s var(--md-ease)!important;
}
body.aw-material-account-page .aw-ecom-stat:hover{
    background:var(--md-surface-container-low)!important;
    border-color:var(--md-outline)!important;
    transform:translateY(-1px)!important;
}
body.aw-material-account-page .aw-ecom-stat i{
    width:42px!important;
    height:42px!important;
    flex-basis:42px!important;
    border-radius:14px!important;
}
body.aw-material-account-page .aw-ecom-stat span{font-size:9px!important}
body.aw-material-account-page .aw-ecom-stat strong{margin-top:2px!important;font-size:14px!important}

/* Compact dashboard composition. */
body.aw-material-account-page .aw-dashboard-headline{
    margin-bottom:12px!important;
    padding:15px 17px!important;
    border-radius:20px!important;
}
body.aw-material-account-page .aw-dashboard-headline h2{font-size:18px!important;margin-bottom:3px!important}
body.aw-material-account-page .aw-dashboard-headline p{font-size:10px!important;line-height:1.75!important}
body.aw-material-account-page .aw-dashboard-primary-link{min-height:38px!important;padding-inline:15px!important}
body.aw-material-account-page .aw-dashboard-layout{gap:10px!important}
body.aw-material-account-page .aw-dashboard-card{
    padding:14px!important;
    border-radius:20px!important;
}
body.aw-material-account-page .aw-card-head{margin-bottom:10px!important}
body.aw-material-account-page .aw-card-head h3{font-size:14px!important}
body.aw-material-account-page .aw-card-head a{min-height:30px;padding-inline:10px}
body.aw-material-account-page .aw-order-list{gap:4px!important}
body.aw-material-account-page .aw-order-row{min-height:56px;padding:6px 8px!important;border-radius:14px!important}
body.aw-material-account-page .aw-order-thumb,
body.aw-material-account-page .aw-order-thumb img,
body.aw-material-account-page .aw-order-thumb b{width:40px!important;height:40px!important;border-radius:12px!important}
body.aw-material-account-page .aw-empty-box{min-height:112px!important;padding:14px!important;border-radius:18px!important}
body.aw-material-account-page .aw-line-chart svg{height:150px!important}
body.aw-material-account-page .aw-chart-kpis{gap:7px!important}
body.aw-material-account-page .aw-chart-kpis span{padding:8px 9px!important;border-radius:12px!important}

/* Dense Material cards and lists. */
body.aw-material-account-page .aw-product-mini-card,
body.aw-material-account-page .aw-coupon-chip,
body.aw-material-account-page .aw-notification-item,
body.aw-material-account-page .aw-article-item,
body.aw-material-account-page .aw-ticket-row{
    border-radius:15px!important;
}
body.aw-material-account-page .aw-notification-list,
body.aw-material-account-page .aw-article-list,
body.aw-material-account-page .aw-ticket-list,
body.aw-material-account-page .aw-coupon-list{gap:7px!important}

/* Compact WooCommerce content. */
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders{
    border-radius:18px!important;
}
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table th,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.shop_table td,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders th,
body.aw-material-account-page .aw-ecom-panel .woocommerce table.my_account_orders td{
    padding:10px 12px!important;
}
body.aw-material-account-page .aw-ecom-panel .woocommerce form .form-row{margin-bottom:10px!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="text"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="email"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="password"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="tel"],
body.aw-material-account-page .aw-ecom-panel .woocommerce input[type="number"],
body.aw-material-account-page .aw-ecom-panel .woocommerce select,
body.aw-material-account-page .aw-ticket-create-form input,
body.aw-material-account-page .aw-ticket-create-form select{
    min-height:46px!important;
    padding:9px 12px!important;
}
body.aw-material-account-page .aw-ecom-panel .woocommerce textarea{min-height:96px!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce fieldset{margin-top:12px!important;padding:13px!important;border-radius:17px!important}
body.aw-material-account-page .aw-ecom-panel .woocommerce-Address,
body.aw-material-account-page .aw-ecom-panel .woocommerce-message,
body.aw-material-account-page .aw-ecom-panel .woocommerce-error,
body.aw-material-account-page .aw-ecom-panel .woocommerce-info{margin-bottom:10px!important;padding:11px 13px!important;border-radius:15px!important}

/* Support desk: use horizontal space instead of vertical whitespace. */
body.aw-material-account-page .aw-ticket-page-head{margin-bottom:10px!important}
body.aw-material-account-page .aw-ticket-create-form,
body.aw-material-account-page .aw-ticket-create-card{
    margin-bottom:12px!important;
    padding:13px!important;
    border-radius:20px!important;
    background:var(--md-surface-card)!important;
}
body.aw-material-account-page .aw-ticket-form-hero{
    gap:10px!important;
    margin-bottom:11px!important;
    padding:10px 11px!important;
    border-radius:15px!important;
}
body.aw-material-account-page .aw-ticket-form-hero>span{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    border-radius:13px!important;
}
body.aw-material-account-page .aw-ticket-form-hero svg{width:19px!important;height:19px!important}
body.aw-material-account-page .aw-ticket-form-hero strong{font-size:14px!important}
body.aw-material-account-page .aw-ticket-form-hero p{margin-top:2px!important;font-size:10px!important;line-height:1.65!important}
body.aw-material-account-page .aw-ticket-form-layout{
    display:grid;
    grid-template-columns:minmax(320px,.9fr) minmax(420px,1.35fr);
    gap:11px;
    align-items:stretch;
}
body.aw-material-account-page .aw-ticket-form-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    align-content:start;
}
body.aw-material-account-page .aw-ticket-field--subject{grid-column:1/-1}
body.aw-material-account-page .aw-ticket-create-form label,
body.aw-material-account-page .aw-ticket-reply-form label{gap:5px!important;margin:0!important}
body.aw-material-account-page .aw-ticket-message-label{
    margin:0!important;
    min-height:100%;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr);
}
body.aw-material-account-page .aw-ticket-create-form textarea{
    min-height:100%!important;
    height:100%!important;
    padding:11px 12px!important;
    line-height:1.75!important;
}
body.aw-material-account-page .aw-ticket-submit-row{
    margin-top:10px!important;
    padding-top:10px;
    border-top:1px solid var(--md-outline-variant);
}
body.aw-material-account-page .aw-ticket-submit-row small{font-size:9px!important}
body.aw-material-account-page .aw-ticket-submit{min-height:38px!important;margin:0!important;padding-inline:15px!important}
body.aw-material-account-page .aw-ticket-list-modern{gap:7px!important}
body.aw-material-account-page .aw-ticket-list-modern .aw-ticket-row{
    min-height:58px;
    padding:8px 10px!important;
    box-shadow:none!important;
}
body.aw-material-account-page .aw-ticket-row-icon{width:40px!important;height:40px!important;border-radius:13px!important}
body.aw-material-account-page .aw-ticket-row-icon svg{width:19px!important;height:19px!important}
body.aw-material-account-page .aw-ticket-single{gap:10px!important}
body.aw-material-account-page .aw-ticket-single-head{padding:12px!important;border-radius:17px!important}
body.aw-material-account-page .aw-ticket-thread{gap:8px!important}
body.aw-material-account-page .aw-ticket-message{padding:11px!important;border-radius:17px!important}
body.aw-material-account-page .aw-ticket-reply-form{padding:12px!important;border-radius:18px!important}
body.aw-material-account-page .aw-ticket-reply-form textarea{min-height:100px!important}

/* Account editor density. */
body.aw-material-account-page .aw-account-edit-form{gap:11px!important}
body.aw-material-account-page .aw-account-settings-card{
    padding:16px!important;
    border-radius:20px!important;
    box-shadow:none!important;
}
body.aw-material-account-page .aw-account-settings-heading{
    margin-bottom:13px!important;
    padding-bottom:11px!important;
}
body.aw-material-account-page .aw-account-settings-heading h2{font-size:16px!important}
body.aw-material-account-page .aw-account-settings-heading p{line-height:1.7!important}
body.aw-material-account-page .aw-account-form-grid{gap:10px!important}
body.aw-material-account-page .aw-account-field label{margin-bottom:5px!important}
body.aw-material-account-page .aw-account-field input{height:46px!important}
body.aw-material-account-page .aw-avatar-editor{grid-template-columns:112px minmax(0,1fr)!important;gap:16px!important;padding:0!important}
body.aw-material-account-page .aw-avatar-preview{width:104px!important;height:104px!important;border-radius:30px!important}
body.aw-material-account-page .aw-avatar-preview b{font-size:34px!important}
body.aw-material-account-page .aw-avatar-editor-copy>p{margin:4px 0 10px!important;line-height:1.7!important}
body.aw-material-account-page .aw-avatar-file-meta{margin-top:6px!important}
body.aw-material-account-page .aw-account-save-button{min-height:42px!important;padding-inline:20px!important}

@media (min-width:1081px){
    body.aw-material-account-page .aw-ecom-shell{grid-template-columns:258px minmax(0,1fr)!important}
    body.aw-material-account-page .aw-ecom-sidebar{padding:12px 10px!important}
    body.aw-material-account-page .aw-ecom-sidebar-head{padding:0 4px 10px!important}
    body.aw-material-account-page .aw-ecom-logo{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:13px!important}
    body.aw-material-account-page .aw-ecom-brand strong{font-size:13px!important}
    body.aw-material-account-page .aw-ecom-brand small{font-size:9px!important}
    body.aw-material-account-page .aw-account-profile-card{
        grid-template-columns:42px minmax(0,1fr) 34px;
        gap:8px;
        padding:9px;
        margin-bottom:10px;
        border-radius:16px;
    }
    body.aw-material-account-page .aw-account-profile-avatar{width:42px;height:42px;border-radius:13px}
    body.aw-material-account-page .aw-account-profile-edit{width:34px;height:34px}
    body.aw-material-account-page .aw-account-member-chip{padding:4px 7px;font-size:8px}
    body.aw-material-account-page .aw-ecom-nav{gap:8px!important;padding-bottom:8px!important}
    body.aw-material-account-page .aw-ecom-nav-group{gap:3px!important}
    body.aw-material-account-page .aw-ecom-nav-group-title{padding:0 9px 2px;font-size:9px!important}
    body.aw-material-account-page .aw-ecom-nav-group-items{gap:2px!important}
    body.aw-material-account-page .aw-ecom-nav-item{
        min-height:42px!important;
        gap:7px!important;
        padding:4px 8px!important;
        border-radius:16px!important;
        font-size:11px!important;
    }
    body.aw-material-account-page .aw-nav-icon{width:32px!important;height:32px!important;flex-basis:32px!important}
    body.aw-material-account-page .aw-nav-icon svg{width:18px!important;height:18px!important}
    body.aw-material-account-page .aw-ecom-nav-item em{min-width:21px;height:21px;font-size:8px!important}
    body.aw-material-account-page .aw-ecom-sidebar-foot{padding-top:8px!important}
    body.aw-material-account-page .aw-ecom-shop,
    body.aw-material-account-page .aw-ecom-logout{min-height:44px!important;border-radius:15px!important}

    body.aw-material-account-page .aw-ecom-topbar{
        min-height:64px!important;
        grid-template-columns:minmax(170px,.65fr) minmax(260px,480px) auto!important;
        gap:12px!important;
        padding:8px 18px!important;
    }
    body.aw-material-account-page .aw-ecom-title h1{font-size:17px!important}
    body.aw-material-account-page .aw-ecom-search{height:46px!important}
    body.aw-material-account-page .aw-ecom-search button{height:34px!important;padding-inline:13px!important}
    body.aw-material-account-page .aw-ecom-icon-btn{width:40px!important;height:40px!important}
    body.aw-material-account-page .aw-ecom-userbox{min-width:158px!important;max-width:190px!important;padding:3px 4px 3px 9px!important}
    body.aw-material-account-page .aw-ecom-userbox img,
    body.aw-material-account-page .aw-ecom-userbox b{width:36px!important;height:36px!important;flex-basis:36px!important}
}

@media (max-width:1180px) and (min-width:821px){
    body.aw-material-account-page .aw-ticket-form-layout{grid-template-columns:1fr!important}
    body.aw-material-account-page .aw-ticket-message-label{min-height:auto}
    body.aw-material-account-page .aw-ticket-create-form textarea{min-height:110px!important;height:auto!important}
}

@media (max-width:820px){
    body.aw-material-account-page .aw-ecom-content{padding:12px 10px 84px!important}
    body.aw-material-account-page .aw-ecom-summary-row{gap:7px!important;margin-bottom:9px!important}
    body.aw-material-account-page .aw-ecom-stat{min-height:78px!important;padding:9px!important;border-radius:16px!important}
    body.aw-material-account-page .aw-ecom-stat i{width:36px!important;height:36px!important;flex-basis:36px!important;border-radius:12px!important}
    body.aw-material-account-page .aw-dashboard-headline{padding:13px!important;margin-bottom:9px!important}
    body.aw-material-account-page .aw-dashboard-card{padding:11px!important;border-radius:17px!important}
    body.aw-material-account-page .aw-ticket-form-layout{grid-template-columns:1fr!important;gap:9px!important}
    body.aw-material-account-page .aw-ticket-form-grid{grid-template-columns:1fr!important}
    body.aw-material-account-page .aw-ticket-field--subject{grid-column:auto}
    body.aw-material-account-page .aw-ticket-create-form textarea{min-height:105px!important;height:auto!important}
    body.aw-material-account-page .aw-ticket-submit-row{display:grid!important;gap:7px!important}
    body.aw-material-account-page .aw-ticket-submit{width:100%!important}
    body.aw-material-account-page .aw-account-settings-card{padding:13px!important;border-radius:17px!important}
}

@media (max-width:700px){
    body.aw-material-account-page .aw-avatar-editor{grid-template-columns:1fr!important;gap:12px!important}
}

/* Final compact polish for portal widgets. */
body.aw-material-account-page .aw-portal-section{display:grid!important;gap:10px!important}
body.aw-material-account-page .aw-product-card-grid,
body.aw-material-account-page .aw-product-card-grid--compact{gap:9px!important}
body.aw-material-account-page .aw-product-mini-thumb{height:110px!important;padding:9px!important}
body.aw-material-account-page .aw-product-mini-thumb img{max-height:92px!important}
body.aw-material-account-page .aw-product-mini-body{padding:9px!important}
body.aw-material-account-page .aw-product-mini-title{height:38px!important;font-size:11px!important;line-height:1.7!important}
body.aw-material-account-page .aw-product-mini-price{margin-top:3px!important;min-height:18px!important;font-size:10px!important}
body.aw-material-account-page .aw-product-mini-actions{margin-top:7px!important;gap:6px!important}
body.aw-material-account-page .aw-coupon-chip,
body.aw-material-account-page .aw-notification-item{padding:9px!important;gap:9px!important}
body.aw-material-account-page .aw-article-item{padding:7px!important;gap:9px!important}
body.aw-material-account-page .aw-article-thumb{width:48px!important;height:48px!important;border-radius:13px!important}

@media (min-width:1081px){
    body.aw-material-account-page .aw-ecom-summary-row{grid-template-columns:repeat(5,minmax(130px,1fr))!important}
}
