/* Mahdafzar 1.5 — full-width account design, scoped to the actual account page. */
:root{--mdz-violet:#7437ea;--mdz-red:#ef315f;--mdz-blue:#3372f5;--mdz-black:#101421;--mdz-paper:#fff;--mdz-soft:#f6f7fc;--mdz-line:#e9eaf3}
body.mdz-account-page{--wd-container-w:100%}
body.mdz-account-page :is(#main-content.wd-content-layout,.content-layout-wrapper.container,.wd-content-area.site-content,.site-content,.entry-content){max-width:none!important;width:100%!important;min-width:0;}
body.mdz-account-page #main-content.wd-content-layout{padding-inline:clamp(12px,2.1vw,44px)!important;margin-inline:auto!important;display:block!important;}
body.mdz-account-page .wd-content-area.site-content{float:none!important;padding-inline:0!important;margin:0!important;}
body.mdz-account-page article.entry-content{padding:0!important;margin:0!important;}
body.mdz-account-page .entry-content>.woocommerce{max-width:none!important;width:100%!important}
body.mdz-account-page :is(.elementor-section.elementor-section-boxed>.elementor-container,.e-con-boxed>.e-con-inner){max-width:100%!important;width:100%!important}
/* Preserve the theme's actual header. We never hide #header, .whb-header or .site-header. */
.pp-host{width:100%;max-width:none!important}
.pp-host .pp-root.mdz-account{
  --pp-primary:var(--mdz-violet);--pp-secondary:var(--mdz-blue);--pp-info:var(--mdz-blue);
  --pp-background:#f6f7fc;--pp-border:#e8eaf4;--pp-text:#141728;--pp-muted:#71778a;
  width:100%!important;max-width:none!important;overflow:hidden;border:1px solid #e6e7f0;
  border-radius:0 0 25px 25px!important;margin:0!important;
  box-shadow:0 16px 58px rgba(18,20,43,.055);background:#f6f7fc!important
}
.pp-host .pp-root.mdz-account .mdz-account-hero{
 display:flex;align-items:center;justify-content:space-between;gap:28px;
 padding:clamp(20px,2.6vw,37px) clamp(19px,3.3vw,50px);
 min-height:170px;color:white;position:relative;isolation:isolate;overflow:hidden;
 background:linear-gradient(112deg,#181726 0%,#262044 55%,#191a30 100%);
 border-bottom:1px solid rgba(255,255,255,.1)
}
.pp-host .pp-root.mdz-account .mdz-account-hero:before{content:"";position:absolute;inset:auto -50px -200px auto;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,#8639dd70,transparent 67%);pointer-events:none;z-index:-1}
.pp-host .pp-root.mdz-account .mdz-account-hero:after{content:"";position:absolute;inset:-210px auto auto 9%;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,#2776f44a,transparent 70%);pointer-events:none;z-index:-1}
.pp-host .pp-root.mdz-account .mdz-hero-main{display:flex;align-items:center;gap:21px;min-width:0}
.pp-host .pp-root.mdz-account .mdz-hero-symbol{display:grid;place-items:center;flex:none;width:70px;height:70px;border-radius:23px;background:linear-gradient(140deg,#9446f6,#4f47d9);box-shadow:0 12px 38px #8b31e433;color:white;border:1px solid #ffffff47}
.pp-host .pp-root.mdz-account .mdz-hero-copy{min-width:0}
.pp-host .pp-root.mdz-account .mdz-hero-overline{font-size:10px;font-weight:800;color:#bcb3ec;letter-spacing:1.6px;display:block;margin-bottom:6px;direction:ltr;text-align:right}
.pp-host .pp-root.mdz-account .mdz-hero-copy h1{font-size:clamp(23px,2vw,34px);line-height:1.5;color:#fff!important;font-weight:850;margin:0}
.pp-host .pp-root.mdz-account .mdz-hero-copy p{font-size:13px;line-height:1.95;color:#cfcbdd;margin:5px 0 0}
.pp-host .pp-root.mdz-account .mdz-hero-side{display:flex;align-items:center;gap:22px;flex:none}
.pp-host .pp-root.mdz-account .mdz-hero-logo{display:flex;align-items:center;justify-content:center;max-width:200px;min-width:65px;max-height:70px}
.pp-host .pp-root.mdz-account .mdz-hero-logo img{display:block;object-fit:contain;max-width:185px;max-height:65px;width:auto;height:auto}
.pp-host .pp-root.mdz-account .mdz-hero-word{font-weight:900;white-space:nowrap;font-size:21px;line-height:1.4;color:white}
.pp-host .pp-root.mdz-account .mdz-hero-word span{display:block;font-size:9px;letter-spacing:2.3px;color:#afacd5;font-weight:700;direction:ltr}
.pp-host .pp-root.mdz-account .mdz-hero-shop{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;text-decoration:none;color:#fff;border:1px solid #ffffff38;padding:13px 19px;border-radius:14px;background:#ffffff13;font-size:12px;font-weight:800;transition:background .2s,transform .2s}
.pp-host .pp-root.mdz-account .mdz-hero-shop:hover{background:#ffffff24;color:white;transform:translateY(-2px)}
.pp-host .pp-root.mdz-account .pp-shell{grid-template-columns:clamp(236px,19vw,285px) minmax(0,1fr)!important;min-height:670px}
.pp-host .pp-root.mdz-account .pp-sidebar{background:#fff!important;padding:26px 15px 23px;gap:17px;border-inline-end:1px solid #eaebf3;border-radius:0}
.pp-host .pp-root.mdz-account .pp-sidebar-brand .pp-brand-mark{background:linear-gradient(135deg,#e42a59,#753ce9)!important;border-radius:16px;box-shadow:0 8px 23px #923bd52a}
.pp-host .pp-root.mdz-account .pp-sidebar-brand strong{color:#161828;font-weight:900;font-size:18px}
.pp-host .pp-root.mdz-account .pp-sidebar-brand small{color:#9294a5}
.pp-host .pp-root.mdz-account .pp-identity{background:linear-gradient(115deg,#fdf3f9,#f2f3ff 85%);border:1px solid #f0e8f7;border-radius:17px;padding:16px 13px;margin-inline:4px}
.pp-host .pp-root.mdz-account .pp-identity .pp-avatar{border:2px solid #fff;box-shadow:0 6px 20px #6934e51b}
.pp-host .pp-root.mdz-account .pp-nav{gap:4px}
.pp-host .pp-root.mdz-account .pp-nav-item{font-size:12.5px;min-height:47px;border-radius:12px;color:#656a7d;font-weight:660}
.pp-host .pp-root.mdz-account .pp-nav-item:hover{color:#6b38da;background:#f5f2fc}
.pp-host .pp-root.mdz-account .pp-nav-item.is-active{color:#6a36db;background:linear-gradient(95deg,#f2eefe,#f7f5ff);box-shadow:inset -3px 0 #8040e9;font-weight:900}
.pp-host .pp-root.mdz-account .pp-header{background:#fff!important;min-height:91px;border-bottom:1px solid #e9eaf1;border-radius:0;padding:20px clamp(19px,2.3vw,38px)}
.pp-host .pp-root.mdz-account .pp-header-title .pp-eyebrow{color:#8b6ec4;font-size:10px;letter-spacing:.5px;font-weight:750}
.pp-host .pp-root.mdz-account .pp-header-title h2{color:#141627;font-size:20px;font-weight:900}
.pp-host .pp-root.mdz-account .pp-header-actions .pp-icon-btn{border-radius:13px}
.pp-host .pp-root.mdz-account .pp-main{padding:clamp(18px,2.45vw,39px)!important;width:100%;max-width:none;}
.pp-host .pp-root.mdz-account .pp-welcome{min-height:154px;border:0!important;padding:clamp(20px,2.3vw,32px)!important;background:linear-gradient(112deg,#191a2e 0%,#312357 70%,#492d7a 100%)!important;border-radius:23px!important;box-shadow:0 14px 29px #24224a18;position:relative;overflow:hidden}
.pp-host .pp-root.mdz-account .pp-welcome:after{content:"";position:absolute;inset:auto auto -90px -70px;width:290px;height:290px;background:radial-gradient(circle,#ed37693d,transparent 70%);pointer-events:none}
.pp-host .pp-root.mdz-account .pp-welcome .pp-eyebrow{color:#c9afff;font-weight:800}
.pp-host .pp-root.mdz-account .pp-welcome h1{font-size:clamp(20px,1.65vw,28px);color:#fff;line-height:1.65;font-weight:900}
.pp-host .pp-root.mdz-account .pp-welcome p{color:#cbc7e1;font-size:12px;line-height:1.9}
.pp-host .pp-root.mdz-account .pp-welcome-art{width:85px;height:85px;background:#ffffff12;border:1px solid #ffffff34;color:#dfd3ff;border-radius:24px}
.pp-host .pp-root.mdz-account .pp-card,.pp-host .pp-root.mdz-account .pp-stat,.pp-host .pp-root.mdz-account .mdz-dashboard-link{background:#fff!important;border:1px solid #e9eaf3!important;box-shadow:0 7px 27px rgba(28,30,70,.032);border-radius:17px}
.pp-host .pp-root.mdz-account .pp-card{padding:clamp(17px,1.65vw,25px)}
.pp-host .pp-root.mdz-account .pp-stat{min-height:110px;transition:transform .2s,box-shadow .2s}
.pp-host .pp-root.mdz-account .pp-stat:hover,.pp-host .pp-root.mdz-account .mdz-dashboard-link:hover{transform:translateY(-3px);box-shadow:0 14px 30px #2c226d12;border-color:#d4c8fc!important}
.pp-host .pp-root.mdz-account .pp-tone-info .pp-stat-icon{color:#485af0;background:#eeefff}
.pp-host .pp-root.mdz-account .pp-tone-warning .pp-stat-icon{color:#e83b6a;background:#fff0f3}
.pp-host .pp-root.mdz-account .pp-tone-success .pp-stat-icon{color:#7b42e1;background:#f2edff}
.pp-host .pp-root.mdz-account .pp-card-heading h3{font-size:16px;font-weight:900;color:#181a2a}
.pp-host .pp-root.mdz-account .pp-card-heading a{color:#7437ea}
.pp-host .pp-root.mdz-account .mdz-dashboard-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.pp-host .pp-root.mdz-account .mdz-dashboard-link{padding:15px 12px;min-height:88px;gap:10px;transition:transform .2s,box-shadow .2s}
.pp-host .pp-root.mdz-account .mdz-dashboard-link:nth-child(1) .mdz-dash-icon{background:#fff0f4;color:#e52d61}
.pp-host .pp-root.mdz-account .mdz-dashboard-link:nth-child(2) .mdz-dash-icon{background:#f1edff;color:#7137e7}
.pp-host .pp-root.mdz-account .mdz-dashboard-link:nth-child(3) .mdz-dash-icon{background:#eaf2ff;color:#2871e9}
.pp-host .pp-root.mdz-account .mdz-dashboard-link:nth-child(4) .mdz-dash-icon{background:#f1effa;color:#443f80}
.pp-host .pp-root.mdz-account .mdz-dash-icon{width:43px;height:43px;border-radius:13px;flex:none}
.pp-host .pp-root.mdz-account .mdz-dash-text strong{font-size:12px;color:#262339;font-weight:850}
.pp-host .pp-root.mdz-account .mdz-dash-text small{font-size:10px;color:#8f90a5}
.pp-host .pp-root.mdz-account :is(.pp-btn:not(.pp-btn-ghost),.pp-login-brand .pp-brand-mark){background:linear-gradient(115deg,#793cef,#613cf1);border-color:transparent;color:#fff;border-radius:12px}
.pp-host .pp-root.mdz-account :is(input,textarea,select){border-radius:11px}
.pp-host .pp-root.mdz-account :is(input,textarea,select):focus{border-color:#9361ea;box-shadow:0 0 0 3px #8c53f022}
/* Mobile and tablet: new toolbar is fixed on every page, including home. Desktop: never show it. */
body .wd-toolbar{display:none!important}
.mdz-global-toolbar.pp-bottom-nav{background:#fffffff2;border-color:#e6e5f4;box-shadow:0 -8px 40px #1b1d3c18;--mdz-blue:#753ce7!important;}
.mdz-global-toolbar .mdz-toolbar-item.is-current{color:#753ce7;background:linear-gradient(125deg,#f3edff,#f3f2ff)}
.mdz-global-toolbar .mdz-toolbar-item:hover{color:#753ce7}
.mdz-global-toolbar .mdz-toolbar-cart .mdz-toolbar-count{background:#703be8}
.mdz-global-toolbar .mdz-toolbar-wishlist .mdz-toolbar-count{background:#ef315f}
@media (min-width:1025px){
 .mdz-global-toolbar.pp-bottom-nav{display:none!important;visibility:hidden!important;pointer-events:none!important}
 body.mdz-toolbar-mounted{padding-bottom:0!important}
}
@media(max-width:1280px) and (min-width:769px){.pp-host .pp-root.mdz-account .mdz-dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1024px){
 .mdz-global-toolbar.pp-bottom-nav{display:grid!important;width:min(640px,100%);border-radius:22px 22px 0 0;}
 body.mdz-toolbar-mounted{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 .pp-host .pp-root.mdz-account .mdz-hero-side{gap:12px}
 .pp-host .pp-root.mdz-account .mdz-account-hero{min-height:145px}
}
@media(max-width:767px){
 body.mdz-account-page #main-content.wd-content-layout{padding-inline:0!important}
 .pp-host .pp-root.mdz-account{border:0!important;border-radius:0!important;box-shadow:none!important}
 .pp-host .pp-root.mdz-account .mdz-account-hero{padding:21px 17px;min-height:135px;gap:13px}
 .pp-host .pp-root.mdz-account .mdz-hero-main{gap:12px}
 .pp-host .pp-root.mdz-account .mdz-hero-symbol{width:50px;height:50px;border-radius:15px}
 .pp-host .pp-root.mdz-account .mdz-hero-symbol svg{width:24px;height:24px}
 .pp-host .pp-root.mdz-account .mdz-hero-overline{font-size:7px;letter-spacing:.5px}
 .pp-host .pp-root.mdz-account .mdz-hero-copy h1{font-size:18px}
 .pp-host .pp-root.mdz-account .mdz-hero-copy p{font-size:10.5px;line-height:1.85}
 .pp-host .pp-root.mdz-account .mdz-hero-logo,.pp-host .pp-root.mdz-account .mdz-hero-word{display:none}
 .pp-host .pp-root.mdz-account .mdz-hero-shop{font-size:10px;padding:10px 12px;border-radius:10px}
 .pp-host .pp-root.mdz-account .pp-shell{display:block!important;min-height:0}
 .pp-host .pp-root.mdz-account .pp-main{padding:15px 13px 24px!important}
 .pp-host .pp-root.mdz-account .pp-header{min-height:73px;padding:13px 15px}
 .pp-host .pp-root.mdz-account .pp-header-title h2{font-size:17px}
 .pp-host .pp-root.mdz-account .pp-welcome{min-height:125px;padding:20px 16px!important;border-radius:16px!important}
 .pp-host .pp-root.mdz-account .pp-welcome h1{font-size:19px}
 .pp-host .pp-root.mdz-account .pp-welcome-art{width:52px;height:52px;border-radius:14px}
 .pp-host .pp-root.mdz-account .mdz-dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:15px}
 .pp-host .pp-root.mdz-account .mdz-dashboard-link{min-height:76px;padding:12px 9px}
 .pp-host .pp-root.mdz-account .mdz-dash-icon{width:35px;height:35px;border-radius:11px}
 .pp-host .pp-root.mdz-account .mdz-dash-icon svg{width:18px;height:18px}
 .pp-host .pp-root.mdz-account .mdz-dash-text strong{font-size:10.2px}
 .pp-host .pp-root.mdz-account .mdz-dash-text small{font-size:9px}
 .pp-host .pp-root.mdz-account .mdz-dashboard-link>.pp-icon{display:none}
 .pp-host .pp-root.mdz-account .pp-card{padding:16px 13px}
 .mdz-global-toolbar.pp-bottom-nav{width:100%;min-height:72px;border-radius:17px 17px 0 0}
}
@media(max-width:480px){
 .pp-host .pp-root.mdz-account .mdz-account-hero{flex-direction:column;align-items:stretch;gap:11px;padding:18px 14px}
 .pp-host .pp-root.mdz-account .mdz-hero-side{align-self:flex-start;padding-inline-start:62px}
 .pp-host .pp-root.mdz-account .mdz-hero-shop{padding:6px 10px;min-height:30px}
 .pp-host .pp-root.mdz-account .pp-welcome-art{display:none}
}
@media(max-width:359px){
 .pp-host .pp-root.mdz-account .mdz-dashboard-shortcuts{grid-template-columns:1fr}
 .pp-host .pp-root.mdz-account .mdz-dashboard-link{min-height:64px}
 .mdz-global-toolbar .mdz-toolbar-label{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.pp-host .pp-root.mdz-account :is(.pp-stat,.mdz-dashboard-link,.mdz-hero-shop){transition:none!important;transform:none!important}}
@media print{.pp-host .pp-root.mdz-account .mdz-account-hero{background:#fff!important;color:#171629!important}.mdz-global-toolbar.pp-bottom-nav{display:none!important}}
