.account-page{min-height:100vh;background:linear-gradient(135deg,#fffaff 0%,#f7efff 54%,#fff2f8 100%);display:flex;flex-direction:column}.account-topbar{height:82px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.72);border-bottom:1px solid rgba(226,210,242,.75);backdrop-filter:blur(14px)}.account-topbar .logo{color:var(--wine-900)}.account-topbar .logo svg{width:28px;height:28px}.account-back{display:inline-flex;align-items:center;gap:12px;color:#76518b;font-size:13px;font-weight:700;transition:color .2s,transform .2s}.account-back b{width:32px;height:32px;border:1px solid #e4d5f1;border-radius:50%;display:grid;place-items:center;color:#8b3fe8;font-size:17px;transition:background .2s,color .2s}.account-back:hover{color:#6d28d9;transform:translateX(-3px)}.account-back:hover b{background:#8b3fe8;color:#fff}.account-main{flex:1;display:grid;place-items:center;padding:54px 24px 64px}.account-layout{width:min(100%,1080px);display:grid;grid-template-columns:minmax(0,.9fr) minmax(410px,1.1fr);min-height:585px;border-radius:30px;overflow:hidden;box-shadow:0 30px 80px -42px rgba(83,25,120,.48);background:#fff}.account-visual{position:relative;overflow:hidden;background:linear-gradient(145deg,#421579 0%,#7027bb 46%,#d06cae 115%);color:#fff;padding:58px 52px;isolation:isolate}.account-visual::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 12% 82%,rgba(255,185,231,.28),transparent 30%),radial-gradient(circle at 88% 16%,rgba(218,187,255,.22),transparent 26%)}.visual-content{position:relative;z-index:2;margin-top:66px;max-width:340px}.visual-kicker{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.7px;color:#ffe1f5}.visual-content h1{font-size:40px;line-height:1.48;margin:12px 0 15px;font-weight:800;letter-spacing:-1px}.visual-content h1 em{font-family:'Vazirmatn',sans-serif;font-size:1.1em;font-weight:800;color:#ffd1ed;letter-spacing:0}.visual-content p{font-size:14px;line-height:2;color:rgba(255,255,255,.78);max-width:285px}.visual-orbit{position:absolute;border:1px solid rgba(255,255,255,.25);border-radius:50%;z-index:0}.orbit-one{width:360px;height:360px;left:-160px;bottom:-120px}.orbit-two{width:260px;height:260px;right:-140px;top:-90px}.visual-sparkle{position:absolute;color:#ffd9f0;z-index:1;font-size:26px;animation:accountSparkle 3.6s ease-in-out infinite}.sparkle-one{right:58px;top:72px}.sparkle-two{left:74px;bottom:82px;font-size:20px;animation-delay:1.3s}.visual-dots{display:flex;gap:7px;margin-top:30px}.visual-dots i{width:7px;height:7px;background:rgba(255,255,255,.42);border-radius:50%}.visual-dots i:first-child{width:24px;border-radius:5px;background:#fff}.account-card{padding:44px clamp(28px,5vw,62px);display:flex;flex-direction:column;justify-content:center}.account-progress{display:flex;align-items:center;gap:10px;color:#a492b1;font-size:11px;font-weight:700;margin-bottom:30px}.account-progress span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.account-progress i{width:28px;height:28px;border-radius:50%;border:1px solid #e1d6eb;display:grid;place-items:center;font-style:normal;font-size:11px;background:#fff}.account-progress span.active{color:#7b28c4}.account-progress span.active i,.account-progress span.done i{color:#fff;border-color:#9d55db;background:linear-gradient(135deg,#7027bb,#d06cae)}.account-progress b{height:1px;width:36px;background:#e6dced;display:block}.account-progress b.filled{background:linear-gradient(90deg,#8b3fe8,#d06cae)}.account-heading .eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;color:#b060c7;letter-spacing:.9px}.account-heading .eyebrow::before{content:'';width:18px;height:1px;background:#d88bc9}.account-heading h2{margin:8px 0 9px;color:#32134d;font-size:28px;font-weight:800}.account-heading p{margin:0;color:#887593;font-size:13px;line-height:1.9}.account-form{margin-top:26px}.account-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#513a61;font-weight:700}.account-form>label+label{margin-top:10px}.account-form input{font:inherit;font-size:14px;color:#351748;border:1px solid #e6d9ef;background:#fff;border-radius:13px;padding:14px 16px;outline:none;transition:border .25s,box-shadow .25s,transform .25s}.account-form input:focus{border-color:#b46bdd;box-shadow:0 0 0 4px rgba(180,107,221,.12);transform:translateY(-1px)}.account-form input::placeholder{color:#b8abbf;font-weight:400}.field-error{min-height:16px;color:#c34376;font-size:11px;font-weight:600}.password-wrap{position:relative}.password-wrap input{width:100%;padding-left:68px}.password-toggle{position:absolute;left:9px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#8b3fe8;font:inherit;font-size:11px;font-weight:800;cursor:pointer;padding:6px}.account-form-meta{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.account-form-meta a,.account-register a{color:#8b3fe8;font-size:11px;font-weight:800;transition:color .2s}.account-form-meta a:hover,.account-register a:hover{color:#5e16a5}.remember-me{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;color:#8f7b9c!important;font-size:11px!important;font-weight:500!important;cursor:pointer}.remember-me input{width:15px;height:15px;padding:0;accent-color:#8b3fe8}.account-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:13px;padding:15px;background:linear-gradient(100deg,#6d28d9,#c054b6);color:#fff;font:inherit;font-size:14px;font-weight:800;box-shadow:0 16px 28px -17px #7f31bd;cursor:pointer;transition:transform .25s,box-shadow .25s,filter .25s}.account-submit span{font-size:18px}.account-submit:hover{transform:translateY(-3px);box-shadow:0 20px 34px -17px #7f31bd;filter:saturate(1.1)}.account-submit:active{transform:scale(.98)}.account-submit:disabled{opacity:.72;cursor:default;transform:none}.account-register{text-align:center;color:#9a8ba4;font-size:11px;margin-top:18px}.account-privacy{display:flex;justify-content:center;align-items:center;gap:7px;color:#a18fa8;font-size:11px;margin:17px 0 0}.account-privacy span{color:#bd67c3;font-size:18px}.form-message{margin:13px 0 0;padding:10px 12px;border-radius:11px;background:#f8f0ff;color:#75409a;font-size:11px;text-align:center;line-height:1.8}.account-footer{padding:22px clamp(20px,5vw,72px);display:flex;justify-content:space-between;gap:15px;color:#9a8ba4;font-size:11px}.account-footer a{color:#8b3fe8;font-weight:700}.phone-confirmed{display:flex;align-items:center;gap:10px;margin-top:24px;padding:12px 14px;border:1px solid #ecdef4;background:#fdf8ff;border-radius:13px;color:#9a88a5;font-size:11px}.phone-confirmed strong{color:#54266c;font-size:13px}.phone-confirmed a{margin-right:auto;color:#8b3fe8;font-weight:800}.details-card{padding-top:38px;padding-bottom:38px}.details-card .account-progress{margin-bottom:26px}.profile-form{margin-top:22px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.profile-grid label{margin-bottom:4px}.profile-grid label em{font-style:normal;font-size:10px;color:#ae9ab7;font-weight:400}.profile-full{grid-column:1/-1}.consent{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;margin:8px 0 18px;font-size:11px!important;color:#8f7b9c!important;font-weight:500!important}.consent input{width:16px;height:16px;accent-color:#8b3fe8}.consent a{color:#8b3fe8;font-weight:700}.profile-success{margin:14px 0 0;padding:12px;border-radius:11px;background:#ecfbf2;color:#24804b;text-align:center;font-size:12px;animation:accountFade .4s both}.profile-note{display:flex;align-items:center;gap:12px;margin-top:42px;color:rgba(255,255,255,.82);font-size:12px;line-height:1.8}.profile-note span:first-child{width:34px;height:34px;border:1px solid rgba(255,255,255,.4);border-radius:12px;display:grid;place-items:center;color:#ffd2eb;font-size:20px}.account-layout-details .visual-content{margin-top:75px}@keyframes accountSparkle{0%,100%{opacity:.6;transform:translateY(0) rotate(0)}50%{opacity:1;transform:translateY(-9px) rotate(10deg)}}@keyframes accountFade{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(max-width:820px){.account-layout{grid-template-columns:1fr;max-width:560px}.account-visual{min-height:245px;padding:35px 34px}.visual-content,.account-layout-details .visual-content{margin-top:0;max-width:100%}.visual-content h1{font-size:30px;margin:8px 0}.visual-content p{margin:0;max-width:380px}.visual-dots,.profile-note{display:none}.orbit-one{width:300px;height:300px;bottom:-220px}.orbit-two{width:230px;height:230px;top:-150px}.account-card{padding:36px 30px}.details-card{padding-top:30px}.account-main{padding:35px 18px}.account-topbar{height:70px}.account-footer{padding-inline:24px}}@media(max-width:500px){.account-back span{display:none}.account-back b{width:36px;height:36px}.account-topbar{padding-inline:18px}.account-card{padding:28px 20px}.account-heading h2{font-size:24px}.account-progress{margin-bottom:28px;gap:7px}.account-progress b{width:20px}.profile-grid{grid-template-columns:1fr}.profile-full{grid-column:auto}.phone-confirmed{flex-wrap:wrap}.phone-confirmed a{margin-right:0;margin-left:auto}.account-footer{flex-direction:column;align-items:center;text-align:center;gap:8px}}

/* هم‌راستاسازی دقیق عنوان و فیلدهای فرم پروفایل */
.profile-grid label{align-self:start;min-width:0}.profile-grid .field-label{display:flex;align-items:baseline;gap:4px;min-height:20px;line-height:1.45}.profile-grid .field-label em{font-style:normal;font-size:10px;color:#ae9ab7;font-weight:400}.profile-grid label>input{margin-top:0}

.profile-main{flex:1;padding:54px 24px 68px;display:grid;place-items:center}.profile-shell{width:min(100%,1080px);border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 30px 80px -42px rgba(83,25,120,.48)}.profile-hero{position:relative;display:flex;align-items:center;gap:18px;padding:34px clamp(24px,5vw,58px);overflow:hidden;color:#fff;background:linear-gradient(120deg,#421579,#7027bb 54%,#d06cae)}.profile-hero-glow{position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.2);border-radius:50%;left:-90px;top:-150px}.profile-avatar{width:68px;height:68px;flex:none;display:grid;place-items:center;border:5px solid rgba(255,255,255,.2);border-radius:24px;background:linear-gradient(145deg,#f7b4dd,#fff0fa);color:#7027bb;font-size:27px;font-weight:900;box-shadow:0 14px 30px -14px #32134d}.profile-hero .visual-kicker{position:relative;color:#ffe1f5}.profile-hero h1{position:relative;margin:6px 0 5px;font-size:27px}.profile-hero p{position:relative;margin:0;color:rgba(255,255,255,.75);font-size:12px}.profile-logout{margin-right:auto;position:relative;border:1px solid rgba(255,255,255,.28);border-radius:12px;padding:11px 16px;background:rgba(255,255,255,.1);color:#fff;font:inherit;font-size:11px;font-weight:700;cursor:pointer;transition:.2s}.profile-logout:hover{background:rgba(255,255,255,.2);transform:translateY(-2px)}.profile-content{display:grid;grid-template-columns:250px 1fr;min-height:400px}.profile-sidebar{padding:30px 22px;background:#fcf8ff;border-left:1px solid #f0e5f5}.profile-nav{display:flex;align-items:center;gap:11px;padding:13px 15px;margin-bottom:8px;border-radius:12px;color:#8f7b9c;font-size:12px;font-weight:700;text-decoration:none}.profile-nav span{font-size:18px;color:#bd67c3}.profile-nav.active{color:#7027bb;background:#f2e5fb;box-shadow:0 8px 18px -16px #7f31bd}.profile-benefit{margin-top:45px;padding:18px 15px;border:1px solid #eadcf3;border-radius:16px;background:#fff}.profile-benefit strong{color:#54266c;font-size:12px}.profile-benefit p{margin:8px 0 0;color:#9a8ba4;font-size:11px;line-height:1.9}.profile-panel{padding:35px clamp(25px,5vw,58px)}.profile-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #f0e8f4;padding-bottom:20px;margin-bottom:23px}.profile-panel-heading h2{margin:8px 0 0;color:#32134d;font-size:24px}.profile-status{display:flex;align-items:center;gap:7px;color:#24804b;font-size:11px;font-weight:700}.profile-status i{width:8px;height:8px;border-radius:50%;background:#4fc477;box-shadow:0 0 0 4px #e8f8ed}.profile-save{max-width:210px;margin-top:12px}.profile-page .profile-grid{gap:0 18px}.profile-page .profile-grid label{margin-bottom:12px}.profile-page .profile-success{max-width:300px}.account-register-page .account-main{padding-top:46px}.account-register-page .details-card{padding-top:42px;padding-bottom:38px}.account-register-page .profile-grid{gap:0 15px}.account-register-page .profile-grid label{margin-bottom:5px}.account-register-page .profile-grid label em{font-size:10px;color:#ae9ab7;font-style:normal;font-weight:400}.account-register-page .profile-form{margin-top:24px}
@media(max-width:820px){.profile-main{padding:30px 18px 45px}.profile-content{grid-template-columns:1fr}.profile-sidebar{display:flex;align-items:center;gap:8px;padding:15px 18px;border-left:0;border-bottom:1px solid #f0e5f5}.profile-nav{margin:0;padding:10px 11px}.profile-benefit{display:none}.profile-panel{padding:28px 24px}.profile-hero{padding:28px 24px}.account-register-page .account-main{padding-top:30px}.account-register-page .account-card{padding-top:30px}.account-register-page .profile-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.profile-hero{align-items:flex-start;flex-wrap:wrap}.profile-avatar{width:56px;height:56px;border-radius:18px;font-size:22px}.profile-hero h1{font-size:23px}.profile-hero p{font-size:11px}.profile-logout{width:100%;margin:4px 0 0}.profile-sidebar{overflow-x:auto}.profile-nav{white-space:nowrap}.profile-panel{padding:25px 18px}.profile-panel-heading{align-items:flex-start;flex-direction:column}.profile-page .profile-grid,.account-register-page .profile-grid{grid-template-columns:1fr}.profile-save{max-width:none}.account-register-page .account-card{padding:28px 20px}.account-register-page .account-heading h2{font-size:24px}}

.profile-dashboard{width:min(100%,1180px);margin:0 auto;flex:1;padding:42px 24px 70px}.profile-dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.profile-dashboard-head h1{margin:8px 0 5px;color:#32134d;font-size:30px}.profile-dashboard-head p{margin:0;color:#887593;font-size:13px}.profile-continue{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:12px;background:#fff;color:#7b28c4;font-size:12px;font-weight:800;box-shadow:0 10px 25px -20px #6d28d9;transition:.2s}.profile-continue:hover{transform:translateY(-2px);background:#f7efff}.profile-dashboard-grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;align-items:start}.profile-reference-sidebar{position:sticky;top:20px;padding:0;border:1px solid #ecdef4;border-radius:20px;background:#fff;box-shadow:0 20px 45px -35px rgba(83,25,120,.4);overflow:hidden}.sidebar-user{display:flex;align-items:center;gap:11px;padding:22px 18px;background:linear-gradient(145deg,#fcf7ff,#fff)}.sidebar-user .profile-avatar{width:48px;height:48px;border:3px solid #f0d8ee;border-radius:16px;font-size:19px;box-shadow:none}.sidebar-user strong{display:block;color:#45205f;font-size:13px}.sidebar-user small{display:block;margin-top:5px;color:#aa9ab0;font-size:10px;direction:ltr;text-align:right}.sidebar-edit{margin-right:auto;border:0;background:transparent;color:#8b3fe8;font-size:18px;cursor:pointer}.profile-menu{padding:8px 12px 15px}.profile-menu-item{width:100%;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #f3edf6;padding:15px 9px;background:transparent;color:#63506d;font:inherit;font-size:12px;text-decoration:none;text-align:right;cursor:pointer;transition:.2s}.profile-menu-item:last-child{border-bottom:0}.profile-menu-item span{width:23px;color:#9b4bc8;font-size:20px;text-align:center}.profile-menu-item i{margin-right:auto;min-width:19px;height:19px;padding:2px 5px;border-radius:7px;background:#f2e5fb;color:#8b3fe8;font-size:10px;font-style:normal;text-align:center}.profile-menu-item:hover,.profile-menu-item.active{color:#7027bb;background:#fbf5ff}.profile-menu-item.active{border-radius:10px;border-bottom-color:transparent;box-shadow:inset -3px 0 #c054b6}.profile-logout-link{color:#a04a75;margin-top:5px}.profile-logout-link span{color:#d06cae}.profile-dashboard-main{display:grid;gap:18px;min-width:0}.dashboard-card{border:1px solid #ecdef4;border-radius:20px;background:#fff;box-shadow:0 20px 45px -38px rgba(83,25,120,.42);overflow:hidden}.dashboard-card-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 25px 16px}.dashboard-card-title h2{margin:0;color:#32134d;font-size:18px}.dashboard-card-title h2::after{content:'';display:block;width:44px;height:3px;margin-top:11px;border-radius:4px;background:linear-gradient(90deg,#8b3fe8,#d06cae)}.dashboard-card-title a{color:#8b3fe8;font-size:11px;font-weight:800}.dashboard-card-title a span{font-size:17px;margin-right:4px}.order-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #f4edf7;margin:0 25px 22px}.order-stat{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;padding:22px 10px;color:#887593}.order-stat+ .order-stat{border-right:1px solid #f1eaf4}.order-stat strong{color:#43205c;font-size:20px}.order-stat span{font-size:11px}.stat-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;font-size:20px}.stat-purple{background:#f2e7fc;color:#9145c9}.stat-pink{background:#fce8f2;color:#d35c97}.stat-gold{background:#fff4db;color:#c68b32}.wishlist-card{min-height:218px}.beauty-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:11px 25px 28px;text-align:center}.empty-sparkle{width:54px;height:54px;display:grid;place-items:center;margin-bottom:10px;border-radius:18px;background:linear-gradient(145deg,#f9e6f5,#f0e4fb);color:#b04fc2;font-size:29px}.beauty-empty strong{color:#54266c;font-size:13px}.beauty-empty p{margin:7px 0 13px;color:#a18fa8;font-size:11px}.beauty-empty a{color:#8b3fe8;font-size:11px;font-weight:800}.recommendation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:0 25px 25px}.recommendation-product{display:flex;flex-direction:column;min-width:0;border:1px solid #f0e6f5;border-radius:15px;overflow:hidden;background:#fff;color:#54266c;transition:.2s}.recommendation-product:hover{transform:translateY(-3px);box-shadow:0 14px 25px -22px #7f31bd}.recommendation-product img{width:100%;height:135px;object-fit:cover;background:#fbf7fd}.recommendation-product strong{padding:10px 11px 3px;font-size:11px}.recommendation-product span{padding:0 11px 12px;color:#a18fa8;font-size:10px}.profile-details-card .profile-form{padding:0 25px 25px}.profile-details-card .profile-grid{gap:0 16px}.profile-details-card .profile-grid label{margin-bottom:7px}.profile-details-card .profile-save{max-width:190px;margin-top:10px}
@media(max-width:850px){.profile-dashboard{padding:30px 18px 50px}.profile-dashboard-grid{grid-template-columns:1fr}.profile-reference-sidebar{position:static}.profile-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px}.profile-menu-item{border:0;border-radius:10px;padding:11px 8px;justify-content:center;flex-direction:column;gap:4px;text-align:center;font-size:10px}.profile-menu-item.active{box-shadow:inset 0 -3px #c054b6}.profile-menu-item i{position:absolute;margin:0;transform:translate(22px,-17px)}.profile-logout-link{margin-top:0}.sidebar-user{padding:16px 18px}}
@media(max-width:540px){.profile-dashboard{padding:23px 14px 40px}.profile-dashboard-head{align-items:flex-start;flex-direction:column;margin-bottom:20px}.profile-dashboard-head h1{font-size:25px}.profile-continue{width:100%;justify-content:center}.profile-menu{grid-template-columns:repeat(3,1fr)}.profile-menu-item:nth-child(n+4){display:none}.dashboard-card-title{padding:18px 17px 13px}.dashboard-card-title h2{font-size:15px}.order-stats{margin:0 12px 14px}.order-stat{flex-direction:column;gap:5px;padding:16px 5px}.order-stat strong{font-size:17px}.order-stat span{font-size:9px}.stat-icon{width:34px;height:34px;font-size:17px}.recommendation-grid{grid-template-columns:1fr 1fr;padding:0 14px 17px}.recommendation-product:last-child{display:none}.recommendation-product img{height:115px}.profile-details-card .profile-form{padding:0 17px 18px}.profile-details-card .profile-grid{grid-template-columns:1fr}}
.customer-orders-card{overflow:hidden}.customer-order-list{padding:0 25px 18px}.customer-order-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid #f3edf6}.customer-order-row strong,.customer-order-row small{display:block}.customer-order-row strong{color:#4b2160;font-size:12px}.customer-order-row small{color:#a18fa8;font-size:10px;margin-top:6px}.customer-order-row>div:last-child{text-align:left}.customer-order-row b{display:block;color:#7027bb;font-size:12px;margin-bottom:6px}.order-live-status{display:inline-flex;padding:4px 8px;border-radius:7px;font-size:9px;background:#f2edf5;color:#81678a}.order-live-status.status-1{background:#fff4da;color:#b07d1c}.order-live-status.status-2{background:#eaf2ff;color:#5377ad}.order-live-status.status-3{background:#f3eafd;color:#814aaa}.order-live-status.status-4{background:#e3f6ee;color:#21825f}.order-live-status.status-5{background:#fff0f0;color:#c1575a}
@media(max-width:540px){.customer-order-list{padding:0 17px 12px}.customer-order-row{align-items:flex-start;flex-direction:column}.customer-order-row>div:last-child{text-align:right;width:100%}}

/* Animated customer data panels */
.animated-panel{animation:panelRise .65s both}.wishlist-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0 25px 25px}.wishlist-product{display:flex;flex-direction:column;gap:5px;color:#54266c;border:1px solid #f0e6f5;border-radius:15px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}.wishlist-product:hover{transform:translateY(-6px);box-shadow:0 16px 30px -24px #7f31bd}.wishlist-product-image{position:relative;height:130px;background:#fbf7fd}.wishlist-product-image img{width:100%;height:100%;object-fit:cover}.wishlist-product-image span{position:absolute;top:8px;left:8px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#c65498;font-size:17px;box-shadow:0 4px 12px #7f31bd22}.wishlist-product strong{padding:5px 10px 0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wishlist-product small{padding:0 10px 12px;color:#8b3fe8;font-size:10px;font-weight:800}.profile-extra-card{overflow:hidden}.review-history,.address-history{display:grid;gap:10px;padding:0 25px 22px}.review-history-item,.address-card{padding:16px;border:1px solid #f0e6f5;border-radius:15px;background:linear-gradient(110deg,#fff,#fff9fd);animation:panelSlide .55s both}.review-history-item:nth-child(2),.address-card:nth-child(2){animation-delay:.1s}.review-stars{color:#d99b37;letter-spacing:2px;font-size:16px}.review-history-item strong,.review-history-item p,.review-history-item small{display:block}.review-history-item strong{margin-top:5px;color:#54266c;font-size:12px}.review-history-item p{margin:7px 0;color:#796583;font-size:11px;line-height:2}.review-history-item small,.address-card small{color:#a18fa8;font-size:9px}.address-card{display:flex;align-items:flex-start;gap:13px}.address-pin{display:grid;place-items:center;width:37px;height:37px;flex:none;border-radius:12px;background:#f4e7fc;color:#9145c9;font-size:21px}.address-card strong{color:#54266c;font-size:12px}.address-card p{margin:6px 0;color:#796583;font-size:11px;line-height:1.9}.address-edit-link{display:inline-block;margin:0 25px 22px;color:#8b3fe8;font-size:11px;font-weight:800}.pd-wish-btn.active{background:#fff0f7;color:#c64d91;transform:scale(1.04)}.pd-wish-btn.active svg{fill:currentColor;stroke:currentColor;animation:heartPop .35s ease}.pd-wish-btn{transition:transform .2s ease,background .2s ease,color .2s ease}@keyframes panelRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes panelSlide{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}@keyframes heartPop{0%{transform:scale(.6)}70%{transform:scale(1.18)}100%{transform:scale(1)}}
@media(max-width:700px){.wishlist-product-grid{grid-template-columns:repeat(2,1fr);padding:0 17px 18px}.wishlist-product-image{height:120px}.review-history,.address-history{padding:0 17px 17px}.address-edit-link{margin-inline:17px}}

.customer-order-row{display:block}.customer-order-row summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;cursor:pointer;list-style:none}.customer-order-row summary::-webkit-details-marker{display:none}.customer-order-row summary:after{content:'⌄';color:#a47bb5;font-size:17px;transition:transform .25s}.customer-order-row[open] summary:after{transform:rotate(180deg)}.order-history-detail{padding:0 0 17px;border-top:1px dashed #eadff0;animation:panelSlide .35s ease}.order-history-items{display:grid;gap:7px;padding:13px 0}.order-history-items span{display:flex;justify-content:space-between;gap:10px;color:#78627f;font-size:10px}.order-history-items b{color:#7027bb;font-weight:800}.order-history-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#a18fa8;font-size:9px;line-height:1.8}.order-history-meta span{display:inline-block}

/* Premium profile information and interaction history */
.profile-info-redesign{overflow:hidden}.profile-info-hero{display:flex;align-items:center;gap:16px;padding:26px 28px;background:linear-gradient(120deg,#fbf2ff,#fff5fa);border-bottom:1px solid #f0e4f5}.profile-info-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;background:linear-gradient(145deg,#8b3fe8,#d06cae);color:#fff;font-size:28px;font-weight:900;box-shadow:0 12px 26px #8b3fe844}.profile-info-hero h2{margin:5px 0;color:#32134d;font-size:20px}.profile-info-hero p{margin:0;color:#9a88a4;font-size:11px}.profile-edit-badge{margin-right:auto;padding:8px 12px;border-radius:999px;background:#fff;color:#8b3fe8;font-size:10px;font-weight:800}.profile-info-redesign .profile-form{padding:25px 28px 30px}.profile-input-card{position:relative;display:flex;flex-direction:column;gap:9px;padding:13px 14px 12px;border:1px solid #eee2f4;border-radius:16px;background:#fff;color:#796583;font-size:11px;font-weight:800;transition:.25s}.profile-input-card:focus-within{border-color:#c777d4;box-shadow:0 8px 24px #9d51b51c,0 0 0 3px #cf8bda1a;transform:translateY(-2px)}.profile-input-card input{width:100%;padding:0;border:0;background:transparent;color:#43205c;font:inherit;font-size:12px;outline:0}.input-icon{position:absolute;left:13px;top:12px;color:#b05fc6;font-size:17px}.profile-input-card>span:not(.input-icon){padding-left:26px}.profile-feedback-split{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 25px 25px}.profile-feedback-split h3{margin:0 0 12px;color:#54266c;font-size:13px}.profile-muted{color:#a18fa8;font-size:11px}.profile-reply{margin-top:8px;padding:8px 10px;border-radius:9px;background:#f9effd;color:#7d4e91;font-size:10px;line-height:1.8}.question-history-item{border-right:3px solid #d06cae}.profile-input-card em{font-style:normal;color:#b4a1bb;font-weight:500}.profile-info-redesign .profile-save{height:46px;max-width:220px}
@media(max-width:650px){.profile-info-hero{align-items:flex-start;flex-wrap:wrap;padding:21px 18px}.profile-info-avatar{width:52px;height:52px;border-radius:17px;font-size:23px}.profile-info-hero h2{font-size:17px}.profile-edit-badge{margin-right:0}.profile-info-redesign .profile-form{padding:18px}.profile-feedback-split{grid-template-columns:1fr;padding:0 17px 18px}}

/* Customer dashboard refresh — font intentionally inherits the existing site font */
.profile-dashboard{position:relative;isolation:isolate;padding-top:54px}.profile-dashboard:before,.profile-dashboard:after{content:'';position:absolute;z-index:-1;border-radius:50%;filter:blur(2px);pointer-events:none}.profile-dashboard:before{width:320px;height:320px;top:30px;right:-145px;background:radial-gradient(circle,#f5c8ed66 0%,transparent 68%)}.profile-dashboard:after{width:280px;height:280px;left:-130px;top:560px;background:radial-gradient(circle,#d8c4fa66 0%,transparent 70%)}.profile-dashboard-head{position:relative;padding:24px 28px;border:1px solid #ecd9f5;border-radius:26px;background:linear-gradient(115deg,#fff,#fff5fd 48%,#f8f0ff);box-shadow:0 20px 45px -35px #7b28c477;overflow:hidden}.profile-dashboard-head:after{content:'✦';position:absolute;left:28px;bottom:-16px;color:#e8b7e2;font-size:100px;opacity:.35}.profile-dashboard-head h1{font-size:34px;background:linear-gradient(100deg,#552080,#c44c9d);-webkit-background-clip:text;background-clip:text;color:transparent}.profile-dashboard-head p{color:#886092}.profile-continue{position:relative;z-index:1;border:1px solid #e7c9ef;background:linear-gradient(120deg,#fff,#fdf3ff);color:#7b28c4;box-shadow:0 12px 27px -20px #b44ac1}.profile-reference-sidebar{border-color:#ead7f3;box-shadow:0 22px 50px -34px #6e2a9270}.sidebar-user{background:linear-gradient(135deg,#fff3fc,#f5edff);border-bottom:1px solid #f1e1f5}.sidebar-user .profile-avatar{background:linear-gradient(145deg,#f4b8df,#d9c3fb);color:#7027bb;border-color:#fff;box-shadow:0 8px 18px #a74bba33}.profile-menu-item{border-bottom-color:#f4e8f7}.profile-menu-item span{color:#b04fc2}.profile-menu-item:hover,.profile-menu-item.active{color:#7027bb;background:linear-gradient(90deg,#fcf4ff,#fff3fa)}.profile-menu-item.active{box-shadow:inset -4px 0 #c054b6,0 8px 18px -18px #8b3fe8}.profile-menu-item i{background:linear-gradient(135deg,#f5e6ff,#ffe8f4);color:#9b3fc0}.dashboard-card{border-color:#ecdff4;box-shadow:0 20px 48px -37px #6f2b9470}.dashboard-card-title{background:linear-gradient(100deg,#fff,#fff9ff);border-bottom:1px solid #f6eaf8}.dashboard-card-title h2{color:#43205c}.dashboard-card-title h2:after{background:linear-gradient(90deg,#7130a2,#d06cae,#ef9fc8);height:4px}.order-summary-card{background:linear-gradient(135deg,#fff,#fff7fd)}.order-stat{color:#8c7096}.order-stat strong{color:#54266c}.stat-purple{background:#f2e5ff;color:#8742cc;box-shadow:inset 0 0 0 1px #e7d2fa}.stat-pink{background:#ffe8f4;color:#cd568f;box-shadow:inset 0 0 0 1px #f7d2e5}.stat-gold{background:#fff2df;color:#c78831}.customer-order-row{border-color:#f3e7f7}.customer-order-row:hover{background:#fff8fd}.order-live-status{box-shadow:0 3px 10px #7c3d9a12}.wishlist-card{background:linear-gradient(135deg,#fff,#fff4fb)}.wishlist-product{border-color:#f0dced;background:linear-gradient(145deg,#fff,#fff8fd)}.wishlist-product:hover{box-shadow:0 18px 35px -24px #bc4e9e;transform:translateY(-7px)}.wishlist-product-image{background:linear-gradient(135deg,#faf1ff,#fff0f8)}.wishlist-product-image span{color:#d14e99}.recommendations-card{background:linear-gradient(135deg,#fff,#fdf6ff)}.recommendation-product{border-color:#eedff3}.recommendation-product:hover{box-shadow:0 16px 32px -22px #9145c9}.profile-extra-card{background:linear-gradient(135deg,#fff,#fff8fc)}.review-history-item,.address-card{border-color:#efdeF4;background:linear-gradient(110deg,#fff,#fff7fc);box-shadow:0 8px 20px -20px #a346ad}.review-history-item:hover,.address-card:hover{border-color:#dbb4e4;transform:translateY(-2px)}.address-pin{background:linear-gradient(135deg,#f5e6ff,#ffe8f4);color:#a04cc1}.profile-info-redesign{border-color:#e7d3f0;background:#fff}.profile-info-hero{background:linear-gradient(115deg,#fff1fb,#f5edff 65%,#fff)}.profile-info-avatar{background:linear-gradient(145deg,#7130a2,#d06cae);box-shadow:0 15px 28px -14px #7130a2}.profile-edit-badge{background:linear-gradient(120deg,#f3e5ff,#ffeaf5);color:#8b3fe8}.profile-input-card{border-color:#eadcf2;background:linear-gradient(145deg,#fff,#fffafe)}.profile-input-card:focus-within{border-color:#c56dd0;box-shadow:0 10px 25px #9d51b51c,0 0 0 4px #cf8bda1c}.input-icon{color:#b04fc2}.profile-info-redesign .profile-save{background:linear-gradient(100deg,#7130a2,#bd4d9c,#e184b2);box-shadow:0 18px 30px -18px #8b3fe8}.profile-info-redesign .profile-save:hover{filter:saturate(1.2) brightness(1.04)}
@media(max-width:850px){.profile-dashboard{padding:32px 18px 56px}.profile-dashboard-head{padding:22px 20px;border-radius:22px}.profile-dashboard-head h1{font-size:29px}.profile-dashboard-grid{gap:16px}.profile-reference-sidebar{box-shadow:0 14px 30px -25px #6e2a9270}.profile-menu{background:linear-gradient(100deg,#fff8ff,#fff4fa)}.profile-menu-item{padding:12px 8px}.profile-menu-item span{font-size:18px}.dashboard-card{border-radius:18px}.dashboard-card-title{padding:19px 20px 14px}}
@media(max-width:540px){.profile-dashboard{padding:20px 12px 42px}.profile-dashboard-head{align-items:flex-start;gap:15px;padding:20px 16px;margin-bottom:17px}.profile-dashboard-head h1{font-size:25px;line-height:1.5}.profile-dashboard-head p{font-size:11px}.profile-continue{width:100%;justify-content:center;padding:11px}.profile-menu{grid-template-columns:repeat(3,1fr);gap:3px;padding:6px}.profile-menu-item{padding:10px 4px;gap:3px;font-size:9px;line-height:1.4}.profile-menu-item span{width:auto;font-size:17px}.profile-menu-item i{transform:translate(18px,-15px);font-size:9px;min-width:17px}.dashboard-card-title{padding:16px 15px 12px}.dashboard-card-title h2{font-size:14px}.order-stats{margin:0 12px 15px}.order-stat{padding:14px 3px}.order-stat strong{font-size:16px}.order-stat span{font-size:8px}.wishlist-product-grid{gap:9px;padding-inline:14px}.wishlist-product-image{height:112px}.profile-info-hero{padding:20px 16px;gap:11px}.profile-info-hero p{line-height:1.8}.profile-info-redesign .profile-form{padding:16px}.profile-input-card{padding:12px}.profile-feedback-split{gap:14px}}
@media(prefers-reduced-motion:reduce){.profile-dashboard *,.profile-dashboard *:before,.profile-dashboard *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Avatar picker */
.avatar-picker{margin-bottom:22px;padding:16px;border:1px solid #ecdaf4;border-radius:18px;background:linear-gradient(120deg,#fff8fd,#f8f1ff)}.avatar-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.avatar-picker-heading strong,.avatar-picker-heading small{display:block}.avatar-picker-heading strong{color:#54266c;font-size:12px}.avatar-picker-heading small{margin-top:4px;color:#a18fa8;font-size:10px}.avatar-picker-heart{color:#d06cae;font-size:25px}.avatar-options{display:flex;flex-wrap:wrap;gap:11px}.avatar-option{position:relative;width:67px;height:67px;border-radius:21px;cursor:pointer}.avatar-option input{position:absolute;opacity:0;pointer-events:none}.avatar-option img{width:100%;height:100%;display:block;object-fit:cover;border-radius:21px;border:3px solid #fff;box-shadow:0 5px 14px #7130a21c;transition:.25s}.avatar-option:hover img{transform:translateY(-4px) scale(1.03);box-shadow:0 12px 20px #7130a233}.avatar-option input:checked+img{border-color:#c054b6;box-shadow:0 0 0 3px #f0c9ec,0 12px 22px #7130a233;transform:translateY(-3px)}.avatar-option span{position:absolute;right:-4px;bottom:-4px;width:21px;height:21px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:linear-gradient(135deg,#7130a2,#d06cae);color:#fff;font-size:11px;opacity:0;transform:scale(.5);transition:.2s}.avatar-option input:checked~span{opacity:1;transform:scale(1)}.profile-avatar img,.profile-info-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.account-avatar{object-fit:cover;border-radius:50%}
@media(max-width:540px){.avatar-picker{padding:13px}.avatar-options{gap:8px}.avatar-option{width:57px;height:57px;border-radius:18px}.avatar-option img{border-radius:18px}}

/* Avatar scale refinement */
.profile-avatar{width:58px;height:58px;border-radius:18px;padding:0;overflow:hidden}.profile-avatar img{transform:scale(1.12)}.profile-info-avatar{width:76px;height:76px;border-radius:25px;padding:0;overflow:hidden}.profile-info-avatar img{transform:scale(1.1)}.avatar-option{width:75px;height:75px}.avatar-option img{border-width:2px}.avatar-option input:checked+img{box-shadow:0 0 0 3px #f0c9ec,0 12px 22px #7130a233}
@media(max-width:540px){.profile-avatar{width:53px;height:53px}.profile-info-avatar{width:68px;height:68px;border-radius:22px}.avatar-option{width:64px;height:64px}}

/* Mobile customer dashboard layout refinement */
@media(max-width:540px){
  .profile-dashboard-grid{display:flex;flex-direction:column;gap:13px}
  .profile-reference-sidebar{position:relative;top:auto;width:100%;border-radius:20px}
  .sidebar-user{padding:14px 16px}
  .profile-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:9px;background:linear-gradient(135deg,#fff9ff,#fff4fa)}
  .profile-menu-item{min-height:58px;justify-content:center;flex-direction:column;gap:3px;border:1px solid #f0e0f5!important;border-radius:14px;padding:7px 5px;background:#fff!important;color:#70557b;font-size:9px;text-align:center;box-shadow:0 7px 14px -15px #7130a2;transition:.22s}
  .profile-menu-item span{height:21px;line-height:1;color:#ae4fbc;font-size:18px}
  .profile-menu-item i{position:absolute;margin:0;transform:translate(23px,-18px);min-width:17px;height:17px;padding:1px 4px;border-radius:7px;font-size:8px}
  .profile-menu-item.active{border-color:#e4c9ee!important;box-shadow:inset 0 -3px #c054b6,0 8px 15px -14px #7130a2;background:linear-gradient(135deg,#fcf3ff,#fff4fb)!important;color:#7027bb}
  .profile-menu-item.profile-logout-link{grid-column:1/-1;min-height:43px;flex-direction:row;gap:7px;margin-top:2px;border-color:#f1d8e7!important;background:linear-gradient(100deg,#fff4fa,#fff)!important;color:#b04f78;font-size:10px}
  .profile-menu-item.profile-logout-link span{font-size:17px;color:#cf6697}
  .profile-dashboard-main{width:100%;display:flex;flex-direction:column;gap:13px}
  .dashboard-card{width:100%;border-radius:19px}
  #summary{order:0}
  #orders{order:1}
  #wishlist{order:2}
  #reviews{order:3}
  #addresses{order:4}
  #recommendations{order:5}
  #profileEditForm{order:6}
  .order-summary-card .dashboard-card-title{padding-bottom:9px}
  .order-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 10px 12px;border:0}
  .order-stat{min-height:82px;flex-direction:column;gap:5px;padding:10px 4px;border:1px solid #f0dff5!important;border-radius:14px;background:linear-gradient(145deg,#fff,#fff7fc);box-shadow:0 7px 16px -16px #7130a2}
  .order-stat strong{font-size:16px;color:#54266c}.order-stat span{font-size:8px;text-align:center;line-height:1.5}.stat-icon{width:29px;height:29px;border-radius:10px;font-size:15px}
  .customer-order-list{padding:0 14px 10px}
  .customer-order-row summary{padding:13px 3px;gap:8px}
  .customer-order-row summary>div:first-child{min-width:0}.customer-order-row strong{font-size:11px}.customer-order-row small{font-size:9px;white-space:nowrap}.customer-order-row b{font-size:11px;white-space:nowrap}.order-history-detail{padding-bottom:13px}.order-history-items span{font-size:9px}.order-history-meta{display:grid;gap:4px;font-size:8px}
  .wishlist-card .dashboard-card-title{padding-bottom:12px}.wishlist-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 14px 15px}.wishlist-product-image{height:105px}.wishlist-product strong{font-size:10px}.wishlist-product small{font-size:9px}
  .beauty-empty{padding:17px 16px 22px}.empty-sparkle{width:46px;height:46px;border-radius:15px;font-size:24px}
}

/* Mobile profile: preserve desktop-style right navigation rail */
@media(max-width:540px){
  .profile-dashboard{padding:20px 10px 42px}
  .profile-dashboard-grid{display:grid;grid-template-columns:minmax(132px,36%) minmax(0,1fr);align-items:start;gap:10px;direction:rtl}
  .profile-reference-sidebar{position:sticky;top:12px;width:auto;border-radius:18px;box-shadow:0 16px 32px -26px #6e2a9270;overflow:hidden}
  .sidebar-user{display:block;padding:13px 8px;text-align:center;background:linear-gradient(145deg,#fcf7ff,#fff4fb)}
  .sidebar-user .profile-avatar{width:49px;height:49px;margin:0 auto 7px;border-radius:16px}
  .sidebar-user strong{font-size:10px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sidebar-user small{margin-top:3px;font-size:8px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sidebar-edit{position:absolute;top:9px;left:8px;font-size:14px}
  .profile-menu{display:block;padding:7px 7px 9px;background:linear-gradient(180deg,#fffaff,#fff5fb)}
  .profile-menu-item{min-height:0;display:flex;flex-direction:row;justify-content:flex-start;gap:6px;margin:3px 0;border:1px solid transparent!important;border-bottom:0;padding:10px 5px;border-radius:11px;background:transparent!important;color:#73577f;font-size:8px;line-height:1.5;text-align:right;white-space:normal}
  .profile-menu-item span{width:18px;flex:none;height:auto;font-size:16px;line-height:1;color:#ae4fbc}
  .profile-menu-item i{position:static;margin-right:auto;transform:none;min-width:15px;height:15px;padding:1px 3px;border-radius:6px;font-size:7px;line-height:13px}
  .profile-menu-item:hover,.profile-menu-item.active{border-color:#ead5f0!important;background:linear-gradient(135deg,#fcf2ff,#fff1f8)!important;box-shadow:inset -3px 0 #c054b6,0 7px 13px -14px #7130a2;color:#7027bb}
  .profile-menu-item.profile-logout-link{display:flex;grid-column:auto;min-height:0;margin-top:8px;padding:10px 5px;border-color:#f1d8e7!important;background:linear-gradient(100deg,#fff4fa,#fff)!important;font-size:8px;color:#b04f78}
  .profile-menu-item.profile-logout-link span{font-size:15px}
  .profile-dashboard-main{width:100%;min-width:0;display:flex;flex-direction:column;gap:10px}
  .dashboard-card{min-width:0;width:100%;border-radius:17px}
  .dashboard-card-title{padding:14px 12px 10px}
  .dashboard-card-title h2{font-size:12px}
  .dashboard-card-title a,.dashboard-card-title .profile-status{font-size:8px}
  #summary{order:0}#orders{order:1}#wishlist{order:2}#reviews{order:3}#addresses{order:4}#recommendations{order:5}#profileEditForm{order:6}
  .order-stats{grid-template-columns:1fr;margin:0 8px 10px;gap:5px}
  .order-stat{min-height:60px;display:grid;grid-template-columns:28px 1fr;grid-template-rows:1fr 1fr;align-items:center;gap:0 6px;padding:7px 5px;text-align:right}
  .order-stat .stat-icon{grid-row:1/-1;width:27px;height:27px}
  .order-stat strong{font-size:12px}.order-stat span{font-size:7px;text-align:right}
  .customer-order-list{padding-inline:9px}.customer-order-row summary{padding:10px 2px}.customer-order-row strong{font-size:9px}.customer-order-row small{font-size:7px}.customer-order-row b{font-size:9px}.order-live-status{font-size:7px!important;padding:3px 4px!important}
  .wishlist-product-grid{gap:6px;padding-inline:9px}.wishlist-product-image{height:86px}.wishlist-product strong{font-size:8px}.wishlist-product small{font-size:7px}
  .profile-feedback-split{grid-template-columns:1fr!important;gap:10px}.review-history-item{padding:9px!important}.review-history-item strong,.review-history-item p{font-size:8px!important}.review-history-item small{font-size:7px!important}
  .profile-info-hero{padding:14px 11px}.profile-info-hero h2{font-size:12px!important}.profile-info-hero p{font-size:8px!important}
  .profile-info-redesign .profile-form{padding:10px}.profile-input-card{padding:9px}.profile-input-card label{font-size:8px}.profile-input-card input,.profile-input-card textarea{font-size:9px!important;padding:8px!important}
}
@media(max-width:370px){
  .profile-dashboard-grid{grid-template-columns:minmax(116px,38%) minmax(0,1fr);gap:8px}
  .profile-menu-item{font-size:7px;padding-inline:3px}.profile-menu-item span{font-size:14px;width:16px}.sidebar-user strong{font-size:9px}
}

/* Final mobile profile UX: full-width content + touch-friendly horizontal navigation */
@media(max-width:540px){
  .profile-dashboard{width:100%;padding:16px 12px 42px}
  .profile-dashboard-head{display:block;margin-bottom:12px;padding:18px 16px;border-radius:20px;background:linear-gradient(135deg,#fffaff,#f9efff);box-shadow:0 14px 28px -25px #7130a2}
  .profile-dashboard-head h1{font-size:22px;line-height:1.45;margin:5px 0 3px}
  .profile-dashboard-head p{font-size:10px;line-height:1.8}
  .profile-continue{display:flex;width:100%;margin-top:13px;padding:10px 13px;font-size:10px;justify-content:center;border:1px solid #eadcf2}
  .profile-dashboard-grid{display:flex;flex-direction:column;gap:12px;direction:rtl}
  .profile-reference-sidebar{position:static;width:100%;border-radius:18px;box-shadow:0 14px 30px -26px #6e2a9270;overflow:hidden}
  .sidebar-user{display:flex;align-items:center;gap:10px;padding:11px 13px;text-align:right;background:linear-gradient(110deg,#fffaff,#fff2fa)}
  .sidebar-user .profile-avatar{width:44px;height:44px;margin:0;border-radius:14px;flex:none}
  .sidebar-user strong{font-size:11px;line-height:1.5}
  .sidebar-user small{margin-top:2px;font-size:8px;text-align:right}
  .sidebar-edit{position:static;margin-right:auto;font-size:17px;padding:5px}
  .profile-menu{display:flex;gap:7px;overflow-x:auto;padding:9px 10px 11px;background:#fff;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .profile-menu::-webkit-scrollbar{display:none}
  .profile-menu-item{position:relative;flex:0 0 auto;width:auto;min-width:78px;min-height:62px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;margin:0;border:1px solid #eee0f4!important;border-radius:14px;padding:8px 9px;background:#fff!important;color:#765980;font-size:9px;line-height:1.35;text-align:center;white-space:nowrap;box-shadow:0 6px 14px -15px #7130a2;transition:.2s}
  .profile-menu-item span{width:auto;height:20px;color:#ae4fbc;font-size:19px;line-height:1}
  .profile-menu-item i{position:absolute;top:5px;left:5px;margin:0;transform:none;min-width:16px;height:16px;padding:1px 4px;border-radius:7px;background:#f2e5fb;color:#8b3fe8;font-size:8px;line-height:14px}
  .profile-menu-item:hover,.profile-menu-item.active{border-color:#dfc1eb!important;background:linear-gradient(135deg,#fcf2ff,#fff1f8)!important;box-shadow:inset 0 -3px #c054b6,0 9px 15px -14px #7130a2;color:#7027bb}
  .profile-menu-item.profile-logout-link{width:104px;min-width:104px;min-height:62px;display:flex;flex-direction:column;gap:5px;margin:0;border-color:#f1d8e7!important;background:linear-gradient(100deg,#fff4fa,#fff)!important;color:#b04f78;font-size:9px}
  .profile-menu-item.profile-logout-link span{font-size:18px;color:#cf6697}
  .profile-dashboard-main{width:100%;min-width:0;display:flex;flex-direction:column;gap:12px}
  .dashboard-card{width:100%;border-radius:18px}
  .dashboard-card-title{padding:15px 14px 11px}
  .dashboard-card-title h2{font-size:14px}
  .dashboard-card-title a,.dashboard-card-title .profile-status{font-size:8px}
  .order-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 10px 12px;border:0}
  .order-stat{min-height:78px;display:flex;flex-direction:column;gap:4px;padding:9px 3px;border:1px solid #f0dff5!important;border-radius:13px;background:linear-gradient(145deg,#fff,#fff7fc);box-shadow:0 7px 16px -16px #7130a2}
  .order-stat strong{font-size:15px}.order-stat span{font-size:8px;line-height:1.4;text-align:center}.stat-icon{width:28px;height:28px;border-radius:9px;font-size:14px}
  .customer-order-list{padding:0 11px 10px}.customer-order-row summary{padding:12px 2px;gap:8px}.customer-order-row strong{font-size:10px}.customer-order-row small{font-size:8px}.customer-order-row b{font-size:10px;white-space:nowrap}.order-live-status{font-size:8px!important;padding:3px 5px!important}
  .wishlist-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 14px}.wishlist-product-image{height:112px}.wishlist-product strong{font-size:10px}.wishlist-product small{font-size:9px}
  .profile-feedback-split{grid-template-columns:1fr!important;gap:12px}.review-history-item{padding:10px!important}.review-history-item strong{font-size:10px!important}.review-history-item p{font-size:9px!important;line-height:1.8}.review-history-item small{font-size:8px!important}
  .profile-info-hero{padding:17px 14px}.profile-info-hero h2{font-size:14px!important}.profile-info-hero p{font-size:9px!important;line-height:1.8}
  .profile-info-redesign .profile-form{padding:12px}.profile-input-card{padding:10px}.profile-input-card label{font-size:9px}.profile-input-card input,.profile-input-card textarea{font-size:10px!important;padding:9px!important}
}
@media(max-width:370px){
  .profile-menu-item{min-width:72px;padding-inline:7px;font-size:8px}.profile-menu-item.profile-logout-link{min-width:95px;width:95px}.profile-menu{gap:5px;padding-inline:7px}
  .profile-dashboard{padding-inline:8px}.order-stat strong{font-size:13px}.order-stat span{font-size:7px}
}

/* Mobile profile navigation: show every option without horizontal scrolling */
@media(max-width:540px){
  .profile-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;overflow:visible;padding:9px 10px 11px}
  .profile-menu-item{width:auto;min-width:0;min-height:65px;padding:8px 3px;white-space:normal;word-break:normal;font-size:8px;line-height:1.45}
  .profile-menu-item span{font-size:18px}
  .profile-menu-item i{top:4px;left:3px}
  .profile-menu-item.profile-logout-link{width:auto;min-width:0;min-height:65px;grid-column:auto;margin:0;font-size:8px}
  .profile-menu-item.profile-logout-link span{font-size:17px}
}
@media(max-width:370px){
  .profile-menu{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding-inline:7px}
  .profile-menu-item{min-height:61px;padding-inline:2px;font-size:7px}
  .profile-menu-item span{font-size:16px}
  .profile-menu-item.profile-logout-link{width:auto;min-width:0;font-size:7px}
}

@media(max-width:540px){.profile-menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.profile-menu-item{font-size:9px}.profile-menu-item.profile-logout-link{font-size:9px}}
@media(max-width:370px){.profile-menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.profile-menu-item{font-size:8px}}

@media(max-width:540px){.profile-menu-item:nth-child(n+4){display:flex}}

/* Compact mobile profile navigation: one clean control, expandable sections */
.mobile-menu-toggle{display:none}
@media(max-width:540px){
  .profile-menu{position:relative;display:block;overflow:visible;padding:9px 10px;background:#fff}
  .mobile-menu-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;border:1px solid #eadcf2;border-radius:14px;background:linear-gradient(135deg,#fffaff,#fff2fa);color:#6d2b83;font:inherit;font-size:10px;font-weight:800;box-shadow:0 8px 18px -16px #7130a2;cursor:pointer}
  .mobile-menu-current{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#54266c}
  .mobile-menu-toggle b{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#9b4bc8;font-size:9px}.mobile-menu-toggle i{font-style:normal;font-size:15px;line-height:10px;transition:transform .2s}.profile-menu.is-open .mobile-menu-toggle i{transform:rotate(180deg)}
  .profile-menu .profile-menu-item{display:none;width:100%;min-height:0;flex-direction:row;justify-content:flex-start;gap:9px;margin:5px 0 0;padding:10px 11px;border:1px solid #eee0f4!important;border-radius:11px;background:#fff!important;color:#765980;font-size:9px;text-align:right;box-shadow:none}
  .profile-menu .profile-menu-item span{width:20px;height:auto;font-size:17px;line-height:1;text-align:center}.profile-menu .profile-menu-item i{position:static;margin-right:auto;transform:none}
  .profile-menu.is-open .profile-menu-item{display:flex;animation:profileMenuIn .2s ease both}.profile-menu.is-open .profile-menu-item:nth-of-type(2){animation-delay:.02s}.profile-menu.is-open .profile-menu-item:nth-of-type(3){animation-delay:.04s}.profile-menu.is-open .profile-menu-item:nth-of-type(4){animation-delay:.06s}
  .profile-menu .profile-menu-item.active{display:flex;border-color:#dfc1eb!important;background:linear-gradient(135deg,#fcf2ff,#fff1f8)!important;box-shadow:inset -3px 0 #c054b6;color:#7027bb}
  .profile-menu .profile-menu-item.profile-logout-link{display:none;min-height:0;width:100%;margin-top:7px;flex-direction:row;font-size:9px;color:#b04f78}.profile-menu.is-open .profile-menu-item.profile-logout-link{display:flex}
}
@keyframes profileMenuIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}

/* Mobile profile identity centered above the compact menu */
@media(max-width:540px){
  .profile-reference-sidebar .sidebar-user{justify-content:center;flex-direction:column;gap:5px;padding:15px 12px 12px;text-align:center}
  .profile-reference-sidebar .sidebar-user .profile-avatar{margin:0 auto;width:48px;height:48px}
  .profile-reference-sidebar .sidebar-user strong{font-size:12px;text-align:center}
  .profile-reference-sidebar .sidebar-user small{font-size:8px;text-align:center}
  .profile-reference-sidebar .sidebar-edit{position:absolute;top:10px;left:10px;margin:0}
}

/* Mobile profile: identity card only; hide the account-section menu */
@media(max-width:540px){
  .profile-reference-sidebar{background:transparent;border:0;box-shadow:none;overflow:visible}
  .profile-reference-sidebar .sidebar-user{width:100%;border:1px solid #eadcf2;border-radius:18px;background:linear-gradient(135deg,#fffaff,#fff1fa);box-shadow:0 14px 28px -24px #7130a2}
  .profile-reference-sidebar .profile-menu{display:none!important}
}
