*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#080808;color:#f4f4f4;font-family:Vazirmatn,Tahoma,sans-serif;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.topbar{position:sticky;top:0;z-index:20;height:74px;padding:0 5%;display:flex;align-items:center;gap:28px;background:rgba(8,8,8,.9);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}.brand{border:0;background:none;font-size:24px;font-weight:800;letter-spacing:-1px}.brand span{font-weight:400}.topbar nav{display:flex;gap:5px;flex:1}.topbar nav button{background:none;border:0;padding:10px 13px;color:#a5a5a5;border-radius:10px}.topbar nav button:hover{background:#111;color:#fff}.top-actions{display:flex;gap:8px;align-items:center}.language-switch,.account-btn{border:1px solid #252525;background:#101010;border-radius:11px;padding:9px 12px}.screen{width:min(1180px,90%);margin:auto;padding:50px 0 80px}.hero-center{min-height:620px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.eyebrow{font-size:11px;letter-spacing:3px;color:#777;text-transform:uppercase}.eyebrow span{color:#fff}.hero-center h1{font-size:clamp(42px,7vw,82px);line-height:1;margin:18px 0 14px;letter-spacing:-4px}.hero-center p{color:#999;font-size:17px}.hero-search{display:flex;width:min(650px,100%);gap:8px;margin:28px 0 15px}.hero-search input,.filterbar input,.filterbar select,.panel-input{background:#101010;border:1px solid #222;color:#eee;border-radius:13px;padding:13px 15px;outline:none;width:100%}.hero-search input:focus,.panel-input:focus{border-color:#555}.hero-actions{display:flex;gap:10px}.btn{border:1px solid #252525;background:#111;border-radius:13px;padding:12px 18px}.btn.primary{background:#f4f4f4;color:#080808;border-color:#f4f4f4;font-weight:700}.btn.ghost:hover,.small-btn:hover{background:#171717}.wide{width:100%}.category-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.category-row button{background:#101010;border:1px solid #202020;border-radius:999px;padding:10px 16px;color:#bbb}.section-head,.admin-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.section-head h2,.admin-head h2{font-size:34px;margin:8px 0}.filterbar{display:flex;gap:9px;margin-bottom:18px}.filterbar select{width:180px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product-card{background:#0d0d0d;border:1px solid #1c1c1c;border-radius:20px;overflow:hidden;transition:.2s}.product-card:hover{transform:translateY(-3px);border-color:#303030}.product-cover{height:230px;background-size:cover;background-position:center;position:relative}.product-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.65))}.product-cover>span{position:absolute;z-index:1;top:12px;right:12px;background:rgba(0,0,0,.65);padding:6px 9px;border-radius:999px;font-size:11px}.heart{position:absolute;z-index:2;left:12px;top:10px;background:rgba(0,0,0,.65);border:1px solid #444;border-radius:50%;width:38px;height:38px;font-size:22px}.product-body{padding:16px}.product-body h3{margin:7px 0;font-size:21px}.muted{color:#858585}.product-meta{display:flex;gap:14px;color:#8c8c8c;font-size:12px;margin:12px 0}.product-foot{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.product-foot b{font-size:15px}.small-btn,.mini-btn{border:1px solid #272727;background:#111;border-radius:10px;padding:9px 11px}.panel-card{background:#0d0d0d;border:1px solid #1d1d1d;border-radius:18px;padding:18px}.empty{padding:70px;text-align:center;color:#777;border:1px dashed #242424;border-radius:18px}.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:50;display:flex;align-items:center;justify-content:center;padding:20px}.modal-card{position:relative;width:min(650px,100%);max-height:90vh;overflow:auto;background:#0c0c0c;border:1px solid #292929;border-radius:22px;padding:22px}.close-btn{position:absolute;left:16px;top:13px;border:0;background:#171717;border-radius:50%;width:35px;height:35px;font-size:22px}.detail-cover{width:100%;height:260px;object-fit:cover;border-radius:16px;margin-bottom:16px}.highlight{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.highlight span{padding:8px 10px;border-radius:9px;background:#151515;color:#aaa}.detail-foot{display:flex;justify-content:space-between;align-items:center}.booking-total{font-size:22px;font-weight:800;margin:14px 0}.auth-box{width:min(450px,100%);margin:80px auto;display:grid;gap:10px}.link-btn{border:0;background:none;color:#aaa;padding:10px}.order-list{display:grid;gap:12px}.order-card{display:flex;align-items:center;gap:15px;padding:12px;border:1px solid #1c1c1c;border-radius:16px;background:#0d0d0d}.order-card img{width:110px;height:80px;object-fit:cover;border-radius:12px}.grow{flex:1}.status{font-size:11px;padding:5px 8px;border-radius:999px;background:#171717}.status.confirmed,.status.completed{border:1px solid #355;border-color:#343}.status.cancelled{opacity:.55}.stack{display:grid;gap:10px}.panel-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.stat{font-size:28px;font-weight:800;margin-top:7px}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.admin-nav-btn{border:1px solid #252525;background:#101010;padding:10px 12px;border-radius:11px}.role-special{border-color:#444}.admin-table{display:grid;gap:8px}.table-row{display:flex;align-items:center;gap:12px;padding:12px;background:#0d0d0d;border:1px solid #1c1c1c;border-radius:13px}.table-row small{display:block;color:#777;margin-top:3px}.status-select{background:#111;color:#ddd;border:1px solid #292929;border-radius:9px;padding:8px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}.wide-field{grid-column:1/-1}.role-list{display:grid;gap:12px}.role-editor{padding:15px;border:1px solid #1e1e1e;background:#0d0d0d;border-radius:16px}.role-user-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.avatar{width:38px;height:38px;border-radius:12px;background:#1a1a1a;display:grid;place-items:center;font-weight:800}.perm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.perm{padding:10px;border:1px solid #222;background:#111;border-radius:10px;color:#aaa;font-size:12px}.security-check,.activity-row{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #1b1b1b}.toast{position:fixed;z-index:100;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#f4f4f4;color:#080808;padding:11px 16px;border-radius:12px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}body.ltr{direction:ltr}body.ltr .product-cover>span{right:auto;left:12px}body.ltr .heart{left:auto;right:12px}.topbar body.ltr{}.account-shell{max-width:900px;margin:auto}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr)}.panel-grid{grid-template-columns:repeat(2,1fr)}.topbar nav{display:none}}
@media(max-width:620px){.topbar{height:auto;min-height:64px;padding:10px 4%;flex-wrap:wrap}.topbar nav{order:3;display:flex;width:100%;overflow:auto}.screen{width:92%;padding-top:28px}.hero-center{min-height:560px}.hero-center h1{letter-spacing:-2px}.hero-search{flex-direction:column}.hero-actions{flex-direction:column;width:100%}.hero-actions .btn{width:100%}.product-grid{grid-template-columns:1fr}.filterbar{flex-direction:column}.filterbar select{width:100%}.panel-grid,.form-grid{grid-template-columns:1fr}.perm-grid{grid-template-columns:1fr}.table-row{flex-wrap:wrap}}


/* Unknow Shop upgrade: persistent current-page refresh */
.floating-refresh{position:fixed;right:22px;bottom:22px;width:52px;height:52px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(12,12,12,.92);color:#fff;font-size:25px;cursor:pointer;z-index:9999;box-shadow:0 12px 35px rgba(0,0,0,.35);backdrop-filter:blur(12px);transition:transform .2s ease,opacity .2s ease,background .2s ease}
.floating-refresh:hover{transform:translateY(-3px) rotate(18deg);background:rgba(30,30,30,.98)}
.floating-refresh.spinning{animation:shopRefreshSpin .8s linear infinite;pointer-events:none;opacity:.75}
@keyframes shopRefreshSpin{to{transform:rotate(360deg)}}
@media(max-width:600px){.floating-refresh{right:14px;bottom:14px;width:48px;height:48px;border-radius:14px}}
.count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f4f4f4;color:#080808;font-size:10px;font-weight:800;margin-inline-start:5px}.catalog-info{display:flex;justify-content:space-between;align-items:center;margin:-5px 0 16px;color:#777;font-size:12px}.card-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.stock-warning{position:absolute;z-index:3;bottom:12px;right:12px;background:#111;color:#eee;border:1px solid #444;padding:6px 9px;border-radius:9px;font-size:10px;font-style:normal}.no-cover{background:radial-gradient(circle at 50% 35%,#222,#0c0c0c 65%)}.cart-list{display:grid;gap:12px}.cart-item{display:flex;align-items:center;gap:14px;padding:14px;background:#0d0d0d;border:1px solid #1c1c1c;border-radius:18px}.cart-item img{width:100px;height:80px;object-fit:cover;border-radius:12px}.cart-item small{display:block;color:#777;margin-top:5px}.qty{display:flex;align-items:center;gap:10px;margin-top:10px}.qty button{width:30px;height:30px;border-radius:9px;border:1px solid #292929;background:#111}.cart-summary{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:15px}.cart-summary>b{font-size:24px}.site-footer{width:min(1180px,90%);margin:0 auto;padding:28px 0 36px;border-top:1px solid #171717;color:#666;display:flex;gap:18px;justify-content:center;font-size:12px}.site-footer b{color:#aaa}.admin-filter{display:flex;gap:8px;margin-bottom:12px}.admin-filter .panel-input{flex:1}.user-cell{display:flex;align-items:center;gap:10px}.user-cell small{display:block;color:#777}.account-welcome{margin-bottom:4px}.dashboard-tip{margin-top:14px}.setting-row{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:620px){.cart-item{flex-wrap:wrap}.cart-item img{width:80px;height:65px}.cart-summary{flex-direction:column;align-items:stretch}.site-footer{flex-wrap:wrap}.card-actions{justify-content:flex-start}.catalog-info{margin-top:4px}}
body.light-theme{background:#f4f4f4;color:#161616}body.light-theme .topbar{background:rgba(244,244,244,.9);border-bottom-color:#ddd}body.light-theme .topbar nav button{color:#666}body.light-theme .panel-card,body.light-theme .product-card,body.light-theme .order-card,body.light-theme .cart-item,body.light-theme .modal-card,body.light-theme .role-editor,body.light-theme .table-row{background:#fff;border-color:#ddd}body.light-theme .panel-input,body.light-theme .filterbar select,body.light-theme .filterbar input,body.light-theme .small-btn,body.light-theme .mini-btn,body.light-theme .admin-nav-btn,body.light-theme .language-switch,body.light-theme .account-btn{background:#fff;color:#161616;border-color:#d5d5d5}body.light-theme .muted,body.light-theme .catalog-info,body.light-theme .site-footer{color:#777}body.light-theme .site-footer{border-top-color:#ddd}


#accountBtn{display:inline-flex;align-items:center;gap:7px}
#accountBtn{display:inline-flex;align-items:center;gap:7px}
body.light-theme #accountBtn::before{filter:none}

.review-box{margin-top:20px;padding-top:18px;border-top:1px solid #202020;display:grid;gap:9px}.review-list{display:grid;gap:8px;margin-top:12px}.review-item{padding:10px;border:1px solid #202020;border-radius:11px;display:grid;gap:5px}.review-item small{color:#777}.panel-input{box-sizing:border-box}
.topbar nav button.nav-icon-btn{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.nav-icon-btn img{width:20px;height:20px;object-fit:contain;display:block;filter:none;opacity:.92}
.nav-icon-btn:hover img{opacity:1;transform:scale(1.06)}
body.light-theme .nav-icon-btn img{filter:none}
@media(max-width:620px){.nav-icon-btn img{width:18px;height:18px}.topbar nav button.nav-icon-btn{padding:8px 10px}}

.nav-icon-btn img,.account-action img{filter:none !important;opacity:1;width:21px;height:21px;object-fit:contain;flex:0 0 21px}
.account-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.account-action{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:48px;text-align:right}
.account-action img{width:22px;height:22px}
.account-action span{flex:1}
.file-field{display:grid;gap:10px}
.file-picker{position:relative;display:flex;align-items:center;justify-content:center;min-height:52px;border:1px dashed #3a3a3a;background:#111;border-radius:13px;padding:0 14px;color:#eee;cursor:pointer}
.file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer}
.file-picker:hover{border-color:#666;background:#161616}
.image-preview{min-height:100px;border:1px solid #222;border-radius:14px;background:#0a0a0a;display:flex;align-items:center;justify-content:center;color:#666;overflow:hidden}
.image-preview img{width:100%;height:180px;object-fit:cover;display:block}
body.light-theme .file-picker{background:#fff;color:#222;border-color:#ccc}
body.light-theme .image-preview{background:#f7f7f7;border-color:#ddd}
@media(max-width:620px){.account-action-grid{grid-template-columns:1fr}}

.role-user-row{border:1px solid #1c1c1c;background:#0d0d0d;border-radius:16px;overflow:hidden}.role-user-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:0;background:transparent;color:inherit;text-align:inherit}.role-user-toggle:hover{background:#121212}.role-user-toggle .role-user-head{margin:0;flex:1}.role-chevron{font-size:22px;color:#888;min-width:24px;text-align:center}.role-editor-collapsed{display:none;border-top:1px solid #202020}.role-editor-collapsed.open{display:block}.role-editor-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.role-editor-title small{display:block;color:#777;margin-top:4px}.role-label{display:block;color:#888;font-size:12px;margin:8px 0}.role-user-row .role-editor{border:0;border-radius:0;background:transparent}.role-user-row .perm-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:620px){.role-user-row .perm-grid{grid-template-columns:1fr 1fr}}

.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.icon-btn img{width:20px;height:20px;object-fit:contain}
.auth-box{display:grid;gap:10px}
.auth-field{display:flex;align-items:center;gap:9px;min-width:0}
.auth-field>img{width:21px;height:21px;flex:0 0 21px;object-fit:contain;opacity:.95}
.auth-field .panel-input{flex:1;min-width:0}
.auth-phone{text-align:right;direction:rtl}
.auth-phone::placeholder{text-align:right;direction:rtl}
.social-links{display:flex;align-items:center;justify-content:center;gap:10px;margin-inline-start:6px}
.social-link{width:34px;height:34px;border:1px solid #222;border-radius:11px;background:#101010;display:grid;place-items:center;transition:.2s}
.social-link:hover{transform:translateY(-2px);background:#171717;border-color:#444}
.social-link img{width:19px;height:19px;object-fit:contain}
body.light-theme .social-link{background:#fff;border-color:#ddd}
@media(max-width:620px){.social-links{width:100%;margin-inline-start:0}.auth-field>img{width:20px;height:20px;flex-basis:20px}}

.auth-field.hidden{display:none!important}
.auth-field .panel-input{direction:rtl;text-align:right}
.auth-field input[type="password"]{direction:ltr;text-align:right}
.auth-field input[type="email"]{direction:rtl!important;text-align:right!important}
.auth-phone{direction:rtl!important;text-align:right!important}
.auth-phone::placeholder,.auth-field input[type="email"]::placeholder{text-align:right!important;direction:rtl!important}
.admin-back-row{display:flex;justify-content:flex-start;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid #202020}
.admin-back-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid #292929;background:#111;color:#eee;border-radius:11px;padding:9px 13px}
.admin-back-btn img,.admin-detail-actions img{width:19px;height:19px;object-fit:contain;color:currentColor}
.admin-back-btn:hover{background:#181818;border-color:#444}
.admin-detail-actions{margin-bottom:8px}
.admin-detail-actions .icon-btn{width:auto}
.floating-support{position:fixed;left:22px;bottom:86px;width:54px;height:54px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(12,12,12,.94);color:#fff;display:grid;place-items:center;z-index:9998;box-shadow:0 12px 35px rgba(0,0,0,.35);backdrop-filter:blur(12px);transition:transform .2s ease,background .2s ease}
.floating-support img{width:25px;height:25px;object-fit:contain;filter:none}
.floating-support:hover{transform:translateY(-3px);background:#1d1d1d}
/* Explicit light-mode contrast: never hide button labels */
body.light-theme button,.light-theme .btn,.light-theme .small-btn,.light-theme .mini-btn,.light-theme .admin-nav-btn,.light-theme .language-switch,.light-theme .account-btn,.light-theme .category-row button,.light-theme .link-btn,.light-theme .status-select,.light-theme .admin-back-btn{color:#161616!important}
body.light-theme .btn.primary{background:#161616!important;color:#fff!important;border-color:#161616!important}
body.light-theme .btn.ghost,.light-theme .small-btn,.light-theme .mini-btn,.light-theme .admin-nav-btn,.light-theme .language-switch,.light-theme .account-btn,.light-theme .category-row button,.light-theme .admin-back-btn{background:#fff!important;border-color:#d2d2d2!important}
body.light-theme .btn.ghost:hover,body.light-theme .small-btn:hover,body.light-theme .mini-btn:hover,body.light-theme .admin-nav-btn:hover,body.light-theme .admin-back-btn:hover{background:#ededed!important;color:#111!important}
body.light-theme .floating-support,body.light-theme .floating-refresh{background:#fff!important;color:#111!important;border-color:#d2d2d2!important}
body.light-theme .floating-support img{filter:invert(1)}
@media(max-width:600px){.floating-support{left:14px;bottom:76px;width:50px;height:50px}.floating-refresh{bottom:14px}}

.brand{display:inline-flex;align-items:center;gap:0;font-weight:900;letter-spacing:.5px}


.user-list{display:grid;gap:10px}
.user-profile-row{border:1px solid #1c1c1c;background:#0d0d0d;border-radius:16px;overflow:hidden}
.user-profile-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:0;background:transparent;color:inherit;text-align:inherit}
.user-profile-toggle:hover{background:#121212}
.user-profile-head{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.user-profile-chevron{font-size:22px;color:#888;min-width:24px;text-align:center}
.user-profile-collapsed{display:none;border-top:1px solid #202020}
.user-profile-collapsed.open{display:block}
.user-profile-card{padding:14px}
.user-profile-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.user-profile-title h3{margin:0}
.profile-value{word-break:break-word}
.profile-loading,.profile-error{padding:16px;color:#888}
.profile-error{display:flex;align-items:center;justify-content:space-between;gap:10px}
.danger-btn{border-color:#5b2626!important}
.admin-back-btn{background:#111!important;color:#fff!important;border-color:#333!important}
.admin-back-btn img{filter:brightness(0) invert(1)!important}
.floating-support img{filter:brightness(0) invert(1)!important}
body.light-theme .admin-back-btn{background:#111!important;color:#fff!important;border-color:#333!important}
body.light-theme .floating-support{background:#111!important;color:#fff!important;border-color:#333!important}
body.light-theme .floating-support img{filter:brightness(0) invert(1)!important}
.social-link img{object-fit:contain}
body.light-theme .social-link img{filter:brightness(0) invert(1)}

/* Adaptive icon contrast */
.nav-icon-btn img,.account-action img,.auth-field>img,.icon-btn img,.social-link img{filter:none!important}
.admin-back-btn img{filter:brightness(0) invert(1)!important}
.floating-support{left:22px;bottom:22px;width:52px;height:52px;border-radius:16px;background:rgba(12,12,12,.92);color:#fff}
.floating-support img{filter:brightness(0) invert(1)!important}
.social-link img{filter:none!important}
body.light-theme .nav-icon-btn img,body.light-theme .account-action img,body.light-theme .auth-field>img,body.light-theme .icon-btn img,body.light-theme .social-link img{filter:brightness(0)!important}
body.light-theme #accountBtn::before{filter:brightness(0)!important}
body.light-theme .admin-back-btn{background:#fff!important;color:#111!important;border-color:#d2d2d2!important}
body.light-theme .admin-back-btn img{filter:brightness(0)!important}
body.light-theme .floating-support{left:22px;bottom:22px;background:#111!important;color:#fff!important;border-color:#333!important}
body.light-theme .floating-support img{filter:brightness(0) invert(1)!important}
@media(max-width:600px){.floating-support{left:14px;bottom:14px;width:48px;height:48px;border-radius:14px}}
/* Keep authentication email/phone controls strictly RTL */
.auth-field input[type="email"],.auth-field input[type="tel"]{direction:rtl!important;text-align:right!important;text-align-last:right!important}


.brand i,.logo-o{font-style:normal;color:#ff4d4d}
.brand{white-space:nowrap}
.hero-logo{font-size:clamp(58px,11vw,132px);line-height:.95;letter-spacing:-6px;margin:8px 0 18px;font-weight:900}
.hero-logo small{font-size:.22em;letter-spacing:3px;font-weight:800;vertical-align:middle}
.site-footer-name{font-weight:900;color:#aaa;white-space:nowrap}
.social-link img{width:22px;height:22px;object-fit:contain}
/* All interface/social icons follow the active theme: white on dark, black on light. */
.nav-icon-btn img,.account-action img,.auth-field>img,.icon-btn img,.admin-back-btn img,.floating-support img,.social-link img{filter:brightness(0) invert(1)!important}
body.light-theme .nav-icon-btn img,body.light-theme .account-action img,body.light-theme .auth-field>img,body.light-theme .icon-btn img,body.light-theme .admin-back-btn img,body.light-theme .floating-support img,body.light-theme .social-link img{filter:brightness(0)!important}
.social-link-vibe img,.social-link-vibe:hover img{filter:none!important}
.social-link-vibe{overflow:hidden}
.social-link-vibe img{width:100%;height:100%;object-fit:cover;border-radius:10px}
body.light-theme .brand,body.light-theme .site-footer-name{color:#161616}
body.light-theme .hero-logo{color:#161616}
body.light-theme .hero-logo .logo-o,body.light-theme .brand .logo-o,body.light-theme .site-footer-name .logo-o{color:#ff4d4d}

.topbar{position:sticky}
.menu-btn{position:absolute;right:5%;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid #252525;background:#101010;border-radius:12px;display:grid;place-content:center;gap:5px;padding:0;z-index:3}
.menu-btn span{display:block;width:20px;height:2px;border-radius:4px;background:#fff;transition:.2s}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.side-menu{position:fixed;top:0;right:0;width:min(390px,92vw);height:100dvh;background:#0b0b0b;border-left:1px solid #252525;z-index:10001;transform:translateX(105%);transition:transform .25s ease;box-shadow:-24px 0 70px rgba(0,0,0,.45);padding:22px;overflow:auto}
.side-menu.open{transform:translateX(0)}
.menu-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:10000;backdrop-filter:blur(3px)}
.side-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid #202020;margin-bottom:12px}
.side-menu-head h3{margin:5px 0 0;font-size:24px}
.menu-close{width:40px;height:40px;border:1px solid #292929;background:#141414;color:#fff;border-radius:12px;font-size:25px;line-height:1}
.side-menu-list{display:grid;gap:7px}
.side-menu-item{width:100%;display:flex;align-items:center;gap:12px;border:1px solid transparent;background:transparent;color:#eee;padding:12px 13px;border-radius:13px;text-align:right;transition:.18s}
.side-menu-item:hover{background:#151515;border-color:#252525;transform:translateX(-2px)}
.side-menu-item img{width:21px;height:21px;object-fit:contain;filter:brightness(0) invert(1);flex:0 0 21px}
.side-menu-item span{flex:1}
.side-menu-item b{font-size:10px;color:#888;font-weight:600}
body.light-theme .menu-btn{background:#fff;border-color:#d5d5d5}
body.light-theme .menu-btn span{background:#111}
body.light-theme .side-menu{background:#fff;border-left-color:#ddd;box-shadow:-24px 0 70px rgba(0,0,0,.18)}
body.light-theme .side-menu-head{border-bottom-color:#ddd}
body.light-theme .menu-close{background:#f4f4f4;border-color:#ddd;color:#111}
body.light-theme .side-menu-item{color:#111}
body.light-theme .side-menu-item:hover{background:#f3f3f3;border-color:#ddd}
body.light-theme .side-menu-item img{filter:brightness(0)}
.updates-list{display:grid;gap:14px;max-width:900px;margin:auto}
.update-card h3{margin:7px 0 9px}
.update-card ul{margin:12px 0 0;padding-inline-start:20px;color:#999;line-height:2}
.update-badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#171717;border:1px solid #292929;color:#aaa;font-size:10px;letter-spacing:1px}
body.light-theme .update-badge{background:#f1f1f1;border-color:#ddd;color:#555}
body.light-theme .update-card ul{color:#666}
@media(max-width:620px){.menu-btn{right:4%;width:42px;height:42px}.side-menu{padding:18px}.topbar .brand{margin-inline:auto}}


.topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}
.topbar nav{grid-column:2;display:flex;justify-content:center;align-items:center;flex:initial}
.top-actions{grid-column:1;justify-self:start;display:flex;align-items:center;gap:8px}
.menu-btn{right:5%;left:auto}
.side-menu{right:0;left:auto;border-left:1px solid #252525;border-right:0;transform:translateX(105%)}
.side-menu.open{transform:translateX(0)}
body.ltr .menu-btn{left:5%;right:auto}
body.ltr .side-menu{left:0;right:auto;border-right:1px solid #252525;border-left:0;transform:translateX(-105%)}
body.ltr .side-menu.open{transform:translateX(0)}
body.ltr .side-menu-item{text-align:left}
body.ltr .side-menu-item:hover{transform:translateX(2px)}
@media(max-width:900px){.topbar nav{display:flex;overflow:auto;min-width:0}.topbar nav button{padding:8px 9px}.topbar{grid-template-columns:1fr auto 1fr}}
@media(max-width:620px){.topbar{grid-template-columns:1fr auto 1fr}.topbar nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:flex-start;overflow:auto}.top-actions{grid-column:1;grid-row:1}.menu-btn{right:4%}.topbar nav button.nav-icon-btn{padding:8px 10px}body.ltr .menu-btn{left:4%;right:auto}}


.topbar{position:sticky;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}
.topbar nav{grid-column:2;grid-row:1;display:flex;justify-content:center;align-items:center;min-width:0}
.top-actions{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:8px}
.menu-btn{right:5%;left:auto}
body.ltr .menu-btn{left:5%;right:auto}
body.ltr .top-actions{grid-column:3;justify-self:end}
body.ltr .topbar nav{grid-column:2}
body.ltr .top-actions{direction:ltr}
.menu-btn{z-index:4}
.page-loader{position:fixed;inset:0;z-index:20000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(8,8,8,.78);backdrop-filter:blur(7px);color:#fff;font-size:13px}
.page-loader.hidden{display:none}
.loader-ring{width:42px;height:42px;border:3px solid rgba(255,255,255,.18);border-top-color:#fff;border-radius:50%;animation:unknow-spin .8s linear infinite}
@keyframes unknow-spin{to{transform:rotate(360deg)}}
body.light-theme .page-loader{background:rgba(255,255,255,.78);color:#111}
body.light-theme .loader-ring{border-color:rgba(0,0,0,.14);border-top-color:#111}

/* Responsive polish + Font Awesome icon system */
.ui-icon{display:inline-grid;place-items:center;width:1.25em;height:1.25em;line-height:1;flex:0 0 auto;font-size:1em}
.nav-icon-btn .ui-icon,.side-menu-item .ui-icon,.icon-btn .ui-icon,.account-action .ui-icon{font-size:1.05rem}
.menu-close,.close-btn,.floating-refresh,.floating-backtop{display:grid;place-items:center}
.menu-close,.close-btn{font-size:0}.menu-close::before,.close-btn::before{font:900 1.15rem/1 'Font Awesome 6 Free';content:'\f00d'}
.floating-refresh,.floating-backtop{font-size:0;color:transparent;text-indent:-9999px;overflow:hidden}.floating-refresh::before{font:900 1rem/1 'Font Awesome 6 Free';content:'\f2f1';color:#fff;text-indent:0}.floating-backtop::before{font:900 1rem/1 'Font Awesome 6 Free';content:'\f062';color:#fff;text-indent:0}
body.light-theme .floating-refresh::before,body.light-theme .floating-backtop::before{color:#111}
.topbar{min-height:74px;height:auto;padding-block:12px}
.topbar .brand{min-width:0}
.hero-search input{min-width:0}
.card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.modal{padding:16px}
.modal-card{width:min(760px,100%);max-height:min(90dvh,900px);overflow:auto}
@media(max-width:900px){
  .screen{width:min(100% - 32px,1180px);padding-top:32px}
  .topbar{padding-inline:16px;gap:10px}
  .topbar nav{max-width:100%;scrollbar-width:none}.topbar nav::-webkit-scrollbar{display:none}
  .topbar nav button{font-size:12px}
  .hero-center{min-height:calc(100dvh - 150px);padding:40px 0}
  .hero-center h1{letter-spacing:-2px}
}
@media(max-width:620px){
  .screen{width:calc(100% - 24px);padding:24px 0 60px}
  .topbar{padding-inline:12px}
  .topbar .brand{font-size:20px}
  .top-actions{gap:4px}.language-switch,.account-btn{padding:8px 9px}
  .topbar nav{gap:2px}.topbar nav button{padding:8px 9px;font-size:11px}
  .topbar nav button span{display:none}.topbar nav button{min-width:40px;justify-content:center}
  .hero-center{min-height:auto;padding:64px 0 40px}.hero-center p{font-size:14px;line-height:1.9}
  .hero-search{flex-direction:column}.hero-search .btn{width:100%}
  .section-head,.catalog-info,.cart-summary{align-items:stretch;flex-direction:column}
  .section-head{gap:14px}.section-head .btn{width:100%}
  .filterbar,.form-grid,.support-toolbar{grid-template-columns:1fr!important;display:grid}
  .table-wrap{overflow-x:auto}.table-row{min-width:620px}
  .account-action-grid{grid-template-columns:1fr}
  .site-footer{width:calc(100% - 24px);text-align:center;line-height:1.8}
  .modal{padding:8px}.modal-card{border-radius:18px;padding:18px!important}
  .auth-panel,.auth-modal{width:100%;max-width:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:620px){
  .topbar{grid-template-columns:1fr auto 1fr}
  .topbar nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:center;overflow:auto}
  .top-actions{grid-column:1;grid-row:1;justify-self:start}
  body.ltr .top-actions{grid-column:3;justify-self:end}
  .menu-btn{right:4%}
  body.ltr .menu-btn{left:4%;right:auto}
}


html{direction:rtl}
body{direction:rtl;text-align:start}
.topbar{position:sticky;isolation:isolate}
.topbar nav{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;flex:none;justify-content:center}
.top-actions{position:absolute;left:5%;top:50%;transform:translateY(-50%);z-index:3}
.menu-btn{position:absolute;right:5%;left:auto;top:50%;transform:translateY(-50%);z-index:4}
body.ltr{direction:ltr;text-align:start}
body.ltr .top-actions{left:auto;right:5%}
body.ltr .menu-btn{left:5%;right:auto}
body.ltr .topbar nav{left:50%;right:auto}
body.ltr .side-menu{left:0;right:auto;border-right:1px solid #252525;border-left:0;transform:translateX(-105%)}
body.ltr .side-menu.open{transform:translateX(0)}
body.ltr .side-menu-item{text-align:left}
body:not(.ltr) .side-menu{text-align:right}
input,select,textarea{direction:inherit;text-align:start}
.auth-field .panel-input{direction:inherit!important;text-align:start!important;text-align-last:start!important}
.auth-field input[type="email"],.auth-field input[type="tel"]{direction:ltr!important;text-align:start!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.topbar nav button,.top-actions button,.menu-btn{min-height:42px}
.page-loader{background:rgba(8,8,8,.68);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.loader-card{min-width:170px;padding:24px 28px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(15,15,15,.92);display:flex;flex-direction:column;align-items:center;gap:12px;box-shadow:0 20px 70px rgba(0,0,0,.35)}
.loader-card small{min-height:16px;color:#888;font-size:11px}
.offline-bar{position:fixed;top:82px;left:50%;transform:translateX(-50%);z-index:10002;padding:9px 14px;border:1px solid #444;border-radius:12px;background:#111;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.25);font-size:12px}
.password-strength{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:-4px 0 4px;align-items:center}
.password-strength i{height:4px;border-radius:99px;background:#262626}
.password-strength[data-level="1"] i:nth-child(1),.password-strength[data-level="2"] i:nth-child(-n+2),.password-strength[data-level="3"] i:nth-child(-n+3),.password-strength[data-level="4"] i{background:currentColor}
.password-strength span{grid-column:1/-1;color:#777;font-size:10px;min-height:13px}
body.is-loading{overflow:hidden}
img{max-width:100%}
@media(max-width:900px){.topbar nav{position:static;transform:none;width:100%;justify-content:center}.topbar{justify-content:center}.top-actions{left:4%}.menu-btn{right:4%}body.ltr .top-actions{left:auto;right:4%}body.ltr .menu-btn{left:4%;right:auto}}
@media(max-width:620px){.topbar{display:flex;position:sticky;padding-top:10px;padding-bottom:10px}.topbar nav{order:3;overflow-x:auto;justify-content:flex-start}.top-actions{top:10px;transform:none}.menu-btn{top:10px;transform:none}.offline-bar{top:72px;max-width:92vw;text-align:center}.loader-card{min-width:150px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
body.light-theme .loader-card{background:rgba(255,255,255,.94);border-color:#ddd;color:#111}
body.light-theme .loader-card small{color:#777}
body.light-theme .offline-bar{background:#fff;color:#111;border-color:#ccc}

.update-card{position:relative}
.update-info-btn{position:absolute;inset-inline-end:16px;top:16px;width:34px;height:34px;border-radius:50%;border:1px solid #303030;background:#151515;color:#fff;font-weight:900;display:grid;place-items:center}
.update-info-btn:hover{transform:scale(1.05);background:#222}
.update-card .update-badge{padding-inline-end:12px}
.update-admin-list{display:grid;gap:10px;margin-top:16px}
.update-admin-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px;border:1px solid #202020;background:#0d0d0d;border-radius:15px}
.update-admin-row .grow{min-width:0}
.update-admin-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}
.update-type{font-size:10px;padding:4px 8px;border-radius:999px;background:#171717;border:1px solid #292929;color:#aaa}
.update-details{white-space:pre-wrap;line-height:1.9;color:#aaa}
.update-form-note{font-size:11px;color:#777;margin-top:-4px}
body.light-theme .update-info-btn{background:#fff;color:#111;border-color:#ccc}
body.light-theme .update-admin-row{background:#fff;border-color:#ddd}
body.light-theme .update-type{background:#f2f2f2;border-color:#ddd;color:#555}
body.light-theme .update-details{color:#555}
@media(max-width:620px){.update-admin-row{align-items:flex-start;flex-direction:column}.update-admin-row .small-btn{width:100%}}

@media(min-width:621px){
  .topbar nav{left:50%!important;right:auto!important;transform:translate(-50%,-50%)!important;justify-content:center!important}
}
@media(max-width:620px){
  .topbar nav{justify-content:center!important}
}
.checkout-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;padding-inline-end:42px}
.checkout-head h2{margin:7px 0 0;font-size:30px}
.checkout-stepper{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:4px 0 22px}
.checkout-step{position:relative;border:1px solid #292929;background:#111;color:#777;border-radius:14px;padding:10px 7px;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;transition:.18s}
.checkout-step:disabled{opacity:1;cursor:not-allowed}
.checkout-step-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid #333;background:#181818;color:#888;font-size:13px;font-weight:800}
.checkout-step.current{border-color:#666;color:#fff;background:#171717}
.checkout-step.current .checkout-step-icon{border-color:#777;color:#fff}
.checkout-step.done{border-color:#315c42;color:#d6f1de;background:#102016}
.checkout-step.done .checkout-step-icon{border-color:#4d9b68;background:#4d9b68;color:#fff}
.checkout-stage{min-height:250px}
.checkout-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.checkout-field{display:grid;gap:7px}
.checkout-field>span{font-size:12px;color:#aaa}
.checkout-field .panel-input{width:100%}
.checkout-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.checkout-review-grid h3{font-size:13px;margin:4px 0}
.checkout-review-grid p{margin:0 0 13px;color:#aaa;line-height:1.8;word-break:break-word}
.checkout-line,.checkout-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #1c1c1c}
.checkout-total{border-bottom:0;margin-top:6px;padding-top:14px;font-size:17px}
.checkout-payment-card{text-align:center;max-width:520px;margin:10px auto;padding:28px 20px;border:1px solid #242424;background:#101010;border-radius:20px}
.checkout-payment-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;margin:0 auto 14px;background:#191919;border:1px solid #303030;font-size:26px}
.checkout-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px;padding-top:15px;border-top:1px solid #1c1c1c}
.checkout-actions:has(.btn:only-child){justify-content:flex-end}
body.light-theme .checkout-step{background:#fff;border-color:#ddd;color:#777}
body.light-theme .checkout-step.current{background:#f5f5f5;border-color:#aaa;color:#111}
body.light-theme .checkout-step.current .checkout-step-icon{border-color:#aaa;color:#111;background:#fff}
body.light-theme .checkout-step.done{background:#effaf2;border-color:#b7d9c0;color:#245d35}
body.light-theme .checkout-step-icon{background:#f5f5f5;border-color:#ddd}
body.light-theme .checkout-payment-card{background:#fff;border-color:#ddd}
body.light-theme .checkout-payment-icon{background:#f5f5f5;border-color:#ddd}
@media(max-width:700px){
  .checkout-stepper{gap:5px}
  .checkout-step{font-size:10px;padding:8px 4px}
  .checkout-step-icon{width:27px;height:27px}
  .checkout-form-grid,.checkout-review-grid{grid-template-columns:1fr}
}

.product-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:0 14px 40px rgba(0,0,0,.18)}
.product-cover{min-height:210px;background-size:cover;background-position:center}
.order-enhanced{align-items:flex-start}
.order-timeline{display:flex;gap:8px;margin:10px 0;color:#555}
.order-timeline span{opacity:.35}.order-timeline span.active{opacity:1;color:#49a66a}
.danger{border-color:#633!important}
@media(max-width:620px){.product-cover{min-height:180px}.order-enhanced{flex-direction:column}}

.logo-intro{position:fixed;inset:0;z-index:19999;display:flex;align-items:center;justify-content:center;background:rgba(5,5,5,.92);backdrop-filter:blur(14px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease,visibility .45s ease}
.logo-intro.show{opacity:1;visibility:visible}
.logo-intro-stage{position:relative;width:min(310px,62vw);aspect-ratio:1;display:grid;place-items:center;perspective:900px}
.logo-intro-stage img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 22px rgba(212,164,55,.28));animation:logoIntroSpin 1.35s cubic-bezier(.2,.75,.25,1) both}
.logo-intro-glow{position:absolute;inset:13%;border-radius:50%;background:radial-gradient(circle,rgba(212,164,55,.18),transparent 68%);animation:introPulse 1.5s ease both}
@keyframes logoIntroSpin{0%{opacity:0;transform:rotateY(-90deg) rotateZ(-5deg) scale(.72)}35%{opacity:1}100%{opacity:1;transform:rotateY(0) rotateZ(0) scale(1)}}
@keyframes introPulse{0%{opacity:0;transform:scale(.65)}50%{opacity:1}100%{opacity:0;transform:scale(1.18)}}
.scroll-down{margin:2px auto 28px;border:0;background:none;color:#aaa;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:130px;padding:8px 12px;transition:transform .2s ease,color .2s ease}
.scroll-down:hover{transform:translateY(3px);color:#fff}
.scroll-down strong{font-size:10px;letter-spacing:3px;font-weight:700}
.scroll-mouse{width:22px;height:34px;border:1.5px solid currentColor;border-radius:13px;display:block;position:relative}
.scroll-mouse i{position:absolute;top:6px;left:50%;width:3px;height:7px;border-radius:99px;background:currentColor;transform:translateX(-50%);animation:scrollWheel 1.2s ease-in-out infinite}
.scroll-arrow{font-size:17px;line-height:12px;animation:scrollArrow 1.2s ease-in-out infinite}
@keyframes scrollWheel{0%,100%{opacity:.35;transform:translate(-50%,0)}50%{opacity:1;transform:translate(-50%,7px)}}
@keyframes scrollArrow{0%,100%{opacity:.4;transform:translateY(0)}50%{opacity:1;transform:translateY(4px)}}
body.light-theme .logo-intro{background:rgba(250,250,250,.94)}
body.light-theme .scroll-down{color:#333}
body.light-theme .scroll-down:hover{color:#000}
@media(prefers-reduced-motion:reduce){.logo-intro-stage img,.logo-intro-glow,.scroll-mouse i,.scroll-arrow{animation:none!important}.logo-intro.show{transition:none}}

.support-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.ticket-list,.ticket-admin-list{display:grid;gap:9px}.ticket-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:inherit;padding:15px;border:1px solid #242424;border-radius:14px;background:#0d0d0d;color:inherit;cursor:pointer}.ticket-card:hover{border-color:#444;transform:translateY(-1px)}.ticket-card>div{display:grid;gap:5px;min-width:0}.ticket-card small{color:#888}.unread-badge{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#d97706;color:#fff;font-size:11px}.ticket-thread{display:grid;gap:10px;max-height:420px;overflow:auto;padding:4px;margin:12px 0}.ticket-message{max-width:82%;padding:12px 14px;border:1px solid #282828;border-radius:14px;background:#101010;justify-self:start}.ticket-message.mine{justify-self:end;background:#171717;border-color:#383838}.ticket-message.internal{border-style:dashed;background:#17130d}.ticket-message p{margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}.ticket-message small{color:#777}.ticket-admin-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.ticket-admin-controls .btn{grid-column:span 4}.support-head h2{margin:2px 0}.admin-ticket-row{display:flex}.admin-ticket-row>span{display:flex;align-items:center;gap:7px}@media(max-width:700px){.ticket-admin-controls{grid-template-columns:1fr 1fr}.ticket-admin-controls .btn{grid-column:span 2}.ticket-message{max-width:94%}.support-head{align-items:flex-start;flex-direction:column}}
body.light-theme .ticket-card{background:#fff;border-color:#ddd}body.light-theme .ticket-card:hover{border-color:#bbb}body.light-theme .ticket-message{background:#fafafa;border-color:#ddd}body.light-theme .ticket-message.mine{background:#f2f2f2}body.light-theme .ticket-message.internal{background:#fff9ed}


.account-action img{display:block!important;visibility:visible!important;opacity:1!important}
.account-action-grid .account-action{min-height:52px}
.account-action-grid .account-action img{width:23px!important;height:23px!important;flex:0 0 23px!important}
.social-link-vibe{width:40px!important;height:40px!important;min-width:40px;border-radius:50%!important;padding:0!important;overflow:hidden!important;display:grid!important;place-items:center!important;background:#101010!important}
.social-link-vibe img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:50%!important;filter:none!important}
body.light-theme .social-link-vibe{background:#fff!important;border-color:#ddd!important}

/* Keep the primary navigation geometrically centered in both languages. */
.topbar{position:sticky!important;display:flex!important;justify-content:center!important;align-items:center!important}
.topbar nav{position:absolute!important;left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%)!important;width:max-content!important;max-width:calc(100vw - 190px)!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:5px!important;direction:inherit!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
.topbar nav::-webkit-scrollbar{display:none}
.topbar nav button.nav-icon-btn{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;gap:7px!important;white-space:nowrap!important;direction:inherit!important}
.topbar nav button.nav-icon-btn img{order:0!important}
.topbar nav button.nav-icon-btn span{order:1!important}
body.ltr .topbar nav{left:50%!important;right:auto!important}
body.ltr .topbar nav button.nav-icon-btn{direction:ltr!important}
body:not(.ltr) .topbar nav button.nav-icon-btn{direction:rtl!important}
.support-toolbar{display:flex;gap:8px;margin:10px 0 14px}
.support-toolbar .panel-input{flex:1;min-width:0}
.ticket-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70vw}
.ticket-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.field-label{display:grid;gap:6px;color:#999;font-size:12px}
.ticket-reply-box{display:grid;gap:8px}
@media(max-width:900px){.topbar nav{max-width:calc(100vw - 150px)!important}.topbar nav button{padding:8px 8px!important}}
@media(max-width:620px){.topbar{height:74px!important;min-height:74px!important;padding:0 4%!important;display:flex!important;flex-wrap:nowrap!important}.topbar nav{position:absolute!important;left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%)!important;width:calc(100vw - 140px)!important;max-width:calc(100vw - 140px)!important;justify-content:center!important;overflow-x:auto!important}.topbar nav button.nav-icon-btn{padding:7px 7px!important;font-size:11px!important;gap:5px!important}.topbar nav button.nav-icon-btn img{width:18px!important;height:18px!important}.top-actions{position:absolute!important;left:4%!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important}.menu-btn{position:absolute!important;right:4%!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important}.ltr .top-actions{left:auto!important;right:4%!important}.ltr .menu-btn{left:4%!important;right:auto!important}.support-toolbar{flex-direction:column}}


.topbar{position:relative;display:flex;align-items:center;justify-content:center;min-height:64px}
.topbar nav{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:5px;flex:none;width:max-content;max-width:calc(100vw - 260px)}
.top-actions{position:absolute;right:5%;display:flex;align-items:center;gap:8px}
body.ltr .top-actions{right:auto;left:5%}
.topbar .menu-btn{z-index:5}
.nav-icon-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important}
body.ltr .nav-icon-btn img{order:0}
body:not(.ltr) .nav-icon-btn img{order:0}
.account-action img{filter:brightness(0) invert(1)!important}
body.light-theme .account-action img{filter:brightness(0)!important}
.account-action{color:#fff!important}
body.light-theme .account-action{color:#161616!important}
.account-action-grid .account-action{min-height:54px}
.social-link-vibe{width:44px!important;height:44px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#000!important;border:1px solid rgba(255,255,255,.16)!important;padding:0!important;box-sizing:border-box}
.social-link-vibe img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block}
body.light-theme .social-link-vibe{background:#fff!important;border-color:#d2d2d2!important}
.floating-support img{filter:brightness(0) invert(1)!important}
body.light-theme .floating-support img{filter:brightness(0)!important}
.ticket-card{cursor:pointer}
@media(max-width:900px){
  .topbar nav{max-width:calc(100vw - 180px);overflow-x:auto;scrollbar-width:none}
  .topbar nav::-webkit-scrollbar{display:none}
  .topbar nav button{padding:8px 8px}
}
@media(max-width:620px){
  .topbar{min-height:112px}
  .topbar nav{top:58px;max-width:94vw}
  .top-actions{top:10px}
}

 :root{--bg:#080808;--panel:#0d0d0d;--panel2:#101010;--text:#f4f4f4;--muted:#8d8d8d;--border:#222;--accent:#e22;--accent2:#ffb000;--button:#f4f4f4;--buttonText:#080808}
html[data-theme="purple"]{--bg:#09060d;--panel:#110c18;--panel2:#171021;--text:#f8f0ff;--muted:#ad94bd;--border:#332044;--accent:#b45cff;--accent2:#e6a7ff}
html[data-theme="ocean"]{--bg:#061016;--panel:#0a171f;--panel2:#0d202b;--text:#eefaff;--muted:#8eafbd;--border:#1b3948;--accent:#27aee4;--accent2:#7de4ff}
html[data-theme="emerald"]{--bg:#06100b;--panel:#0a1710;--panel2:#0d2115;--text:#effff5;--muted:#8fb7a0;--border:#1c3c28;--accent:#28d17c;--accent2:#9affc8}
html[data-theme="sunset"]{--bg:#120a06;--panel:#1a0e08;--panel2:#24130b;--text:#fff5ef;--muted:#c29b88;--border:#4a2819;--accent:#ff7a2f;--accent2:#ffd05c}
html[data-theme="light"]{--bg:#f4f5f7;--panel:#fff;--panel2:#eef0f3;--text:#111318;--muted:#626875;--border:#d8dce2;--accent:#111827;--accent2:#d97706;--button:#111318;--buttonText:#fff}
html[data-theme="aurora"]{--bg:#070a12;--panel:#0c1120;--panel2:#11182b;--text:#f4f7ff;--muted:#9da9c5;--border:#273452;--accent:#6d7cff;--accent2:#47e6c5}
html[data-theme="gold"]{--bg:#090909;--panel:#11100c;--panel2:#18150d;--text:#fff9e8;--muted:#b7a980;--border:#3a321f;--accent:#d4af37;--accent2:#ffe08a}
html[data-theme="botanical"]{--bg:#07100a;--panel:#0d1710;--panel2:#122219;--text:#effff2;--muted:#9ab7a0;--border:#29402e;--accent:#6fbd63;--accent2:#c7f29b}
html[data-theme="butter"]{--bg:#161305;--panel:#201d0a;--panel2:#2b2710;--text:#fffbea;--muted:#c8bc83;--border:#4a421c;--accent:#f1d15b;--accent2:#fff1a6}
html[data-theme="coastal"]{--bg:#06131a;--panel:#0b1e28;--panel2:#102b37;--text:#effcff;--muted:#8db6c1;--border:#214652;--accent:#2fb7c8;--accent2:#8be9ef}
html[data-theme="industrial"]{--bg:#0d1012;--panel:#15191c;--panel2:#1d2327;--text:#f3f5f6;--muted:#9ba5ab;--border:#343d42;--accent:#a9b4ba;--accent2:#e06b3c}
html[data-theme="desert"]{--bg:#171008;--panel:#21160c;--panel2:#2c1e11;--text:#fff5e8;--muted:#c2a687;--border:#4b3420;--accent:#d28b52;--accent2:#f3c17c}
html[data-theme="cobalt"]{--bg:#050a18;--panel:#0a1125;--panel2:#101a35;--text:#f1f6ff;--muted:#8ea4c8;--border:#20345e;--accent:#397dff;--accent2:#8fb7ff}
html[data-theme="lagoon"]{--bg:#031313;--panel:#071d1c;--panel2:#0b2826;--text:#edffff;--muted:#8db8b5;--border:#1d4743;--accent:#20d4bd;--accent2:#8fffe8}
html[data-theme="jewel"]{--bg:#100713;--panel:#1b0b20;--panel2:#28102e;--text:#fff2ff;--muted:#bf9bc3;--border:#4b2750;--accent:#e25cc8;--accent2:#7ee7ff}
html[data-theme="lavender"]{--bg:#100d19;--panel:#171329;--panel2:#201b37;--text:#f7f2ff;--muted:#afa5c6;--border:#39315a;--accent:#9b7cff;--accent2:#d8c8ff}
html[data-theme="metallic"]{--bg:#0a0d10;--panel:#11161b;--panel2:#192026;--text:#f5f7f8;--muted:#9da7ae;--border:#343d44;--accent:#c8d0d6;--accent2:#6ed2ff}
html[data-theme="romance"]{--bg:#17090f;--panel:#210d15;--panel2:#2c121c;--text:#fff3f7;--muted:#c49eaa;--border:#4e2937;--accent:#f06b91;--accent2:#ffb5c9}
html[data-theme="neon"]{--bg:#05070b;--panel:#0a0d14;--panel2:#101522;--text:#f4fbff;--muted:#93a4b4;--border:#263247;--accent:#00e5ff;--accent2:#ff2bd6}
body{background:var(--bg);color:var(--text)}.topbar,.panel-card,.product-card,.modal-card{background:var(--panel);border-color:var(--border)}.topbar{background:color-mix(in srgb,var(--bg) 90%,transparent)}.muted{color:var(--muted)}.btn,.small-btn,.mini-btn,.language-switch,.account-btn,.category-row button{background:var(--panel2);border-color:var(--border);color:var(--text)}.btn.primary{background:var(--button);color:var(--buttonText);border-color:var(--button)}.btn:hover,.small-btn:hover,.mini-btn:hover,.category-row button:hover{border-color:var(--accent)}.product-card:hover{border-color:var(--accent);box-shadow:0 12px 35px color-mix(in srgb,var(--accent) 18%,transparent)}.hero-logo .logo-o{color:var(--accent)}.panel-input,.hero-search input,.filterbar input,.filterbar select{background:var(--panel2);color:var(--text);border-color:var(--border)}
.appearance-panel .section-head{margin-bottom:8px}.theme-setting-row{align-items:flex-start;gap:18px}.theme-setting-row>div:first-child{min-width:150px;padding-top:8px}.theme-setting-row small{display:block;margin-top:4px}.theme-swatch-grid{display:grid;grid-template-columns:repeat(10,minmax(42px,1fr));gap:9px;flex:1}.theme-swatch{height:44px;min-width:42px;padding:4px;border:1px solid var(--border);border-radius:13px;background:var(--panel2);cursor:pointer;transition:.18s ease;box-shadow:none}.theme-swatch:hover{transform:translateY(-2px);border-color:var(--accent)}.theme-swatch.selected{border:2px solid var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 18%,transparent)}.theme-preview{display:block;width:100%;height:100%;border-radius:9px;border:1px solid rgba(255,255,255,.16)}.theme-preview-midnight{background:linear-gradient(135deg,#050505,#242424)}.theme-preview-purple{background:linear-gradient(135deg,#150a22,#b45cff)}.theme-preview-ocean{background:linear-gradient(135deg,#061016,#27aee4)}.theme-preview-emerald{background:linear-gradient(135deg,#06100b,#28d17c)}.theme-preview-sunset{background:linear-gradient(135deg,#1a0b05,#ff7a2f)}.theme-preview-light{background:linear-gradient(135deg,#fff,#dfe3e8)}.theme-preview-aurora{background:linear-gradient(135deg,#071022,#27c9b4,#6d7cff)}.theme-preview-gold{background:linear-gradient(135deg,#090909,#d4af37)}.theme-preview-botanical{background:linear-gradient(135deg,#07100a,#6fbd63)}.theme-preview-butter{background:linear-gradient(135deg,#161305,#f1d15b)}.theme-preview-coastal{background:linear-gradient(135deg,#06131a,#2fb7c8)}.theme-preview-industrial{background:linear-gradient(135deg,#0d1012,#a9b4ba)}.theme-preview-desert{background:linear-gradient(135deg,#171008,#d28b52)}.theme-preview-cobalt{background:linear-gradient(135deg,#050a18,#397dff)}.theme-preview-lagoon{background:linear-gradient(135deg,#031313,#20d4bd)}.theme-preview-jewel{background:linear-gradient(135deg,#100713,#e25cc8)}.theme-preview-lavender{background:linear-gradient(135deg,#100d19,#9b7cff)}.theme-preview-metallic{background:linear-gradient(135deg,#0a0d10,#c8d0d6)}.theme-preview-romance{background:linear-gradient(135deg,#17090f,#f06b91)}.theme-preview-neon{background:linear-gradient(135deg,#05070b,#00e5ff,#ff2bd6)}
.store-card{display:flex;flex-direction:column;gap:12px}.store-card-top{display:flex;align-items:center;gap:12px}.store-mark{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--panel2);border:1px solid var(--border);flex:none}.store-meta{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px}.store-reason{padding:12px;border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,var(--panel2));border:1px solid var(--border)}.admin-store-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.admin-store-list{display:grid;gap:8px}.store-admin-row{width:100%;display:flex;align-items:center;gap:12px;text-align:start;padding:14px;border:1px solid var(--border);border-radius:15px;background:var(--panel);color:var(--text)}.store-admin-row:hover{border-color:var(--accent);transform:translateY(-1px)}.store-admin-row small{display:block;color:var(--muted);margin-top:4px}.store-detail-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.store-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.btn.danger{border-color:#9d3030;background:#321010;color:#ffb0b0}.store-owner-preview{margin:12px 0}@media(max-width:800px){.theme-grid{grid-template-columns:repeat(2,1fr)}.store-detail-grid{grid-template-columns:1fr}.store-admin-row{align-items:flex-start}}
.store-create-form{margin-top:12px}.store-create-form label{display:block;margin-bottom:6px;color:var(--muted);font-size:12px}.store-form-intro{margin:4px 0 16px}.store-create-form .panel-input{min-height:46px}.store-create-form textarea.panel-input{resize:vertical}.store-create-form select.panel-input{min-height:46px}


html[dir="rtl"] .topbar { position: sticky; }
html[dir="rtl"] .top-actions { position: absolute; left: 5%; right: auto; }
html[dir="ltr"] .top-actions { position: absolute; right: 5%; left: auto; }



.top-actions{z-index:100!important;pointer-events:auto!important}
.top-actions .language-switch,.top-actions .account-btn{position:relative;z-index:101!important;pointer-events:auto!important}
.topbar nav{z-index:4!important}
#accountBtn{cursor:pointer!important}

/* ================= ADVANCED TICKET CENTER ================= */
.ticket-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.ticket-stat{padding:14px;border:1px solid var(--line,#292929);border-radius:16px;background:rgba(255,255,255,.025);display:grid;gap:5px}.ticket-stat b{font-size:24px}.ticket-stat span{font-size:12px;color:#8d8d8d}.ticket-stat.unread{border-color:rgba(90,150,255,.35)}.ticket-stat.urgent{border-color:rgba(255,80,80,.35)}.ticket-stat.overdue{border-color:rgba(245,170,40,.4)}.support-sla-strip{display:flex;gap:18px;flex-wrap:wrap;margin:8px 0 12px;padding:10px 13px;border:1px solid var(--line,#292929);border-radius:13px;color:#aaa;font-size:12px}.ticket-meta-strip{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid var(--line,#292929);color:#999;font-size:12px}.ticket-overdue{color:#e6a23c!important}.ticket-attachment{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;margin:4px 4px 4px 0;border:1px solid var(--line,#333);border-radius:9px;color:inherit;text-decoration:none;font-size:12px}.ticket-attachment:hover{border-color:var(--accent,#fff)}.ticket-rating{margin-top:14px;padding:14px;border:1px solid var(--line,#292929);border-radius:14px;display:grid;gap:9px}.rating-stars{display:flex;gap:4px}.rating-stars button{font-size:28px;background:none;border:0;color:#f3c34d;cursor:pointer}.ticket-timeline{margin-top:14px;border:1px solid var(--line,#292929);border-radius:14px;padding:10px}.ticket-timeline summary{cursor:pointer;font-weight:700}.ticket-timeline p{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px}.ticket-timeline p:last-child{border-bottom:0}.canned-reply-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:10px 0}.ticket-file-picker{display:grid;gap:6px}.ticket-file-picker input,.ticket-reply-box input[type=file],.panel-card input[type=file]{padding:9px;border:1px dashed var(--line,#333);border-radius:11px;background:rgba(255,255,255,.02);color:inherit}.ticket-admin-controls{grid-template-columns:repeat(5,1fr)}.ticket-admin-controls .btn{grid-column:span 5}.admin-thread{max-height:520px}.ticket-card{transition:.16s ease}.ticket-card:hover{transform:translateY(-1px)}body.light-theme .ticket-stat,body.light-theme .support-sla-strip,body.light-theme .ticket-meta-strip,body.light-theme .ticket-rating,body.light-theme .ticket-timeline{background:#fff;border-color:#ddd}@media(max-width:800px){.ticket-stats-grid{grid-template-columns:repeat(2,1fr)}.ticket-admin-controls{grid-template-columns:1fr 1fr}.ticket-admin-controls .btn{grid-column:span 2}}@media(max-width:520px){.ticket-stats-grid{grid-template-columns:1fr 1fr}.canned-reply-row{grid-template-columns:1fr}.ticket-stats-grid .ticket-stat{padding:10px}.ticket-stat b{font-size:20px}}


/* UX and visual refinements */
:root{--scroll-progress:0%;--ease:cubic-bezier(.2,.75,.2,1)}
html{scroll-behavior:smooth}
html::before{content:"";position:fixed;inset:0 0 auto 0;height:3px;width:var(--scroll-progress);background:linear-gradient(90deg,var(--accent),var(--accent2));z-index:2147483646;pointer-events:none;box-shadow:0 0 16px color-mix(in srgb,var(--accent) 45%,transparent)}
body{min-height:100vh;overflow-x:hidden}
::selection{background:var(--accent);color:var(--buttonText,#000)}
.topbar{backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);box-shadow:0 10px 40px rgba(0,0,0,.14)}
.topbar nav{gap:5px}
.nav-icon-btn,.account-btn,.language-switch,.menu-btn{transition:transform .2s var(--ease),background .2s,border-color .2s,box-shadow .2s}
.nav-icon-btn:hover,.account-btn:hover,.language-switch:hover{transform:translateY(-2px);box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 13%,transparent)}
.hero-center{animation:heroIn .7s var(--ease) both}
@keyframes heroIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
.product-grid{align-items:stretch}
.product-card{position:relative;overflow:hidden;transition:transform .24s var(--ease),box-shadow .24s var(--ease),border-color .2s;background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 96%,white 4%),var(--panel))}
.product-card::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 65%);transform:translateX(-120%);transition:transform .55s var(--ease);pointer-events:none}
.product-card:hover{transform:translateY(-7px) scale(1.008)}
.product-card:hover::after{transform:translateX(120%)}
.product-cover{position:relative;overflow:hidden}
.product-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s var(--ease),filter .3s}
.product-card:hover .product-cover-image{transform:scale(1.055)}
.product-cover>span,.product-cover>.heart,.product-cover>.stock-warning{position:relative;z-index:2}
.heart{transition:transform .18s,background .18s,color .18s!important}
.heart:hover{transform:scale(1.1)!important}
.heart.is-favorite{color:#ff527d!important;text-shadow:0 0 14px rgba(255,82,125,.28)}
.btn,.small-btn,.mini-btn{transition:transform .18s var(--ease),box-shadow .18s,border-color .18s,background .18s}
.btn:not(:disabled):hover,.small-btn:not(:disabled):hover,.mini-btn:not(:disabled):hover{transform:translateY(-2px)}
.btn:active,.small-btn:active,.mini-btn:active{transform:translateY(0) scale(.98)}
.btn:disabled,.small-btn:disabled,.mini-btn:disabled{opacity:.48;cursor:not-allowed!important;transform:none!important}
.panel-card{box-shadow:0 18px 50px rgba(0,0,0,.12)}
.panel-input{transition:border-color .18s,box-shadow .18s,background .18s}
.panel-input:focus,.hero-search input:focus,.filterbar input:focus,.filterbar select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent)}
.search-kbd{position:absolute;inset-inline-end:86px;top:50%;transform:translateY(-50%);padding:3px 7px;border:1px solid var(--border);border-radius:7px;background:var(--panel2);color:var(--muted);font:600 10px/1 Vazirmatn,system-ui;pointer-events:none}
.hero-search{position:relative}
.catalog-info-actions{display:flex;gap:8px;align-items:center}
.skeleton-card{border:1px solid var(--border);border-radius:18px;padding:12px;background:var(--panel);overflow:hidden;min-height:300px}
.skeleton-cover,.skeleton-line{background:linear-gradient(90deg,color-mix(in srgb,var(--panel2) 85%,white 0%),color-mix(in srgb,var(--panel2) 55%,white 7%),color-mix(in srgb,var(--panel2) 85%,white 0%));background-size:220% 100%;animation:shimmer 1.25s linear infinite;border-radius:10px}
.skeleton-cover{height:175px;margin-bottom:16px;border-radius:14px}.skeleton-line{height:13px;margin:10px 0}.skeleton-line.wide{width:82%}.skeleton-line.short{width:45%}
@keyframes shimmer{to{background-position:-220% 0}}
.empty{border:1px dashed var(--border);border-radius:18px;padding:32px 18px;text-align:center;background:color-mix(in srgb,var(--panel) 88%,var(--accent) 3%);grid-column:1/-1}
.empty .empty-icon{font-size:40px;margin-bottom:8px}
.floating-backtop{position:fixed;right:24px;bottom:94px;width:44px;height:44px;border-radius:14px;border:1px solid var(--border);background:var(--panel);color:var(--text);display:grid;place-items:center;opacity:0;pointer-events:none;transform:translateY(12px);transition:.22s var(--ease);z-index:500;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.floating-backtop.show{opacity:1;pointer-events:auto;transform:none}
.floating-backtop:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-2px)}
.offline-bar{position:fixed;left:50%;top:82px;transform:translateX(-50%);z-index:2000;padding:10px 16px;border:1px solid #d59a32;border-radius:12px;background:#241a08;color:#ffd98a;box-shadow:0 14px 30px rgba(0,0,0,.3);font-size:12px}
body.light-theme .offline-bar{background:#fff7e5;color:#805700;border-color:#e0b25a}
.modal{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:rgba(0,0,0,.58)}
.modal-card{animation:modalIn .24s var(--ease) both}
@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.side-menu{box-shadow:0 20px 70px rgba(0,0,0,.35)}
.side-menu-item{transition:transform .18s var(--ease),background .18s,border-color .18s}
.side-menu-item:hover{transform:translateX(-3px);border-color:var(--accent)}
html[dir="ltr"] .side-menu-item:hover{transform:translateX(3px)}
.status{white-space:nowrap}
.admin-nav{position:sticky;top:74px;z-index:20;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.admin-nav-btn{transition:transform .18s var(--ease),border-color .18s,background .18s}
.admin-nav-btn:hover{transform:translateY(-2px)}
.table-row,.user-row,.role-user-row,.store-admin-row,.ticket-card{transition:transform .18s var(--ease),border-color .18s,background .18s,box-shadow .18s}
.table-row:hover,.user-row:hover,.role-user-row:hover{box-shadow:0 10px 28px rgba(0,0,0,.09)}
@media(max-width:900px){.topbar nav .nav-icon-btn span{display:none}.theme-swatch-grid{grid-template-columns:repeat(5,minmax(42px,1fr))}.search-kbd{display:none}.admin-nav{top:62px;overflow-x:auto;flex-wrap:nowrap}.admin-nav-btn{white-space:nowrap}.floating-backtop{right:16px;bottom:88px}}
@media(max-width:560px){.hero-search{display:flex;gap:8px}.hero-search input{min-width:0}.catalog-info{gap:8px;flex-wrap:wrap}.catalog-info-actions{margin-inline-start:auto}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{border-radius:15px}.product-cover{min-height:150px}.card-actions{flex-wrap:wrap}.card-actions .small-btn{flex:1;min-width:0}.floating-backtop{width:40px;height:40px;border-radius:12px}.floating-support{left:16px!important;bottom:88px!important}}
@media(max-width:390px){.product-grid{grid-template-columns:1fr}.product-cover{min-height:190px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}

.quick-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.quick-admin-action{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;text-align:start;padding:16px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(145deg,var(--panel),var(--panel2));color:var(--text);cursor:pointer;transition:.22s var(--ease);box-shadow:0 10px 28px rgba(0,0,0,.08)}.quick-admin-action span{grid-row:1/3;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 12%,var(--panel2));color:var(--accent);font-size:18px}.quick-admin-action b{font-size:14px}.quick-admin-action small{color:var(--muted);margin-top:3px}.quick-admin-action:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:0 16px 34px color-mix(in srgb,var(--accent) 10%,transparent)}.system-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--border);border-radius:999px;font-size:11px;color:var(--muted);background:var(--panel2)}.system-pill i{width:7px;height:7px;border-radius:50%;background:#56d364;box-shadow:0 0 12px rgba(86,211,100,.5)}.system-pill.bad i{background:#ff5757;box-shadow:0 0 12px rgba(255,87,87,.45)}.admin-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stat-card{position:relative;overflow:hidden}.stat-card>span{position:absolute;inset-inline-end:14px;bottom:10px;font-size:28px;opacity:.12}.stat-card.revenue .stat{font-size:22px}.dashboard-tip{display:flex;align-items:center;gap:15px;margin-top:14px}.tip-orb{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 13%,var(--panel2));color:var(--accent);font-size:22px;flex:none}@media(max-width:900px){.quick-admin-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.quick-admin-grid{grid-template-columns:1fr}.dashboard-tip{align-items:flex-start}}

/* =========================================================
   UNKNØW PRO / 800-FEATURE COMMAND CENTER
   ========================================================= */
:root{--scroll-progress:0%;--pro-glow:rgba(255,55,64,.18)}
body:before{content:"";position:fixed;inset:0 0 auto 0;height:3px;width:var(--scroll-progress);background:linear-gradient(90deg,var(--accent,#ff3038),#fff0);z-index:9999;pointer-events:none;transform-origin:left}
.pro-shell{width:min(1400px,calc(100% - 28px));margin:0 auto;padding:30px 0 90px}
.pro-hero{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px;border:1px solid color-mix(in srgb,var(--accent,#ff3038) 30%,var(--line,#292929));background:radial-gradient(circle at 10% 0,var(--pro-glow),transparent 45%),linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.01));overflow:hidden;position:relative}
.pro-hero:after{content:"800";position:absolute;left:-25px;bottom:-65px;font-size:190px;font-weight:900;opacity:.035;pointer-events:none}
.pro-hero h2{font-size:clamp(28px,4vw,52px);margin:8px 0}
.pro-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(70px,1fr));gap:8px;min-width:290px;text-align:center;z-index:1}
.pro-hero-stats b{font-size:30px}.pro-hero-stats span{font-size:11px;color:var(--muted,#999)}
.pro-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;gap:10px;margin:15px 0;padding:14px;position:sticky;top:74px;z-index:20;backdrop-filter:blur(18px);background:color-mix(in srgb,var(--panel,#101010) 82%,transparent)}
.pro-progress{height:8px;border-radius:999px;background:#191919;overflow:hidden;margin:12px 0 20px}.pro-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--accent,#ff3038),#fff);border-radius:inherit;transition:width .35s ease}
.pro-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.pro-chapter{padding:18px;transition:.22s ease}.pro-chapter:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent,#ff3038) 35%,var(--line,#292929));box-shadow:0 15px 45px rgba(0,0,0,.18)}
.pro-chapter-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.pro-chapter-head h3{margin:2px 0;font-size:19px}.pro-count{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.05);font-size:12px;color:var(--muted,#aaa)}
.pro-feature-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pro-feature{border:1px solid var(--line,#292929);background:rgba(255,255,255,.025);color:inherit;border-radius:11px;padding:10px;text-align:right;display:flex;align-items:center;gap:8px;cursor:pointer;transition:.16s ease;font-family:inherit}.pro-feature:hover{border-color:var(--accent,#ff3038);transform:translateX(-2px)}.pro-feature.active{background:color-mix(in srgb,var(--accent,#ff3038) 12%,transparent);border-color:color-mix(in srgb,var(--accent,#ff3038) 42%,var(--line,#292929))}.pro-check{font-size:15px;min-width:18px;color:var(--accent,#ff3038)}.pro-feature b{font-size:10px;color:var(--muted,#888);margin-left:4px}
.pro-menu-mark{color:var(--accent,#ff3038);font-size:19px;width:24px;text-align:center}
.command-palette{position:fixed;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(12px);z-index:1000;display:grid;place-items:start center;padding-top:13vh}.command-palette.hidden{display:none}.command-card{width:min(650px,calc(100% - 28px));padding:15px;border:1px solid var(--line,#292929);background:var(--panel,#101010);border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.55)}.command-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted,#999);font-size:11px;margin-bottom:10px}.command-top kbd,.search-kbd{padding:4px 8px;border:1px solid var(--line,#292929);border-radius:7px;background:#171717;color:#aaa}.command-item{width:100%;border:0;background:transparent;color:inherit;padding:13px;border-radius:12px;text-align:right;font:inherit;display:flex;gap:10px;align-items:center;cursor:pointer}.command-item:hover{background:rgba(255,255,255,.06);color:var(--accent,#ff3038)}
@media(max-width:900px){.pro-chapters{grid-template-columns:1fr}.pro-toolbar{grid-template-columns:1fr 1fr;position:static}.pro-toolbar .btn{width:100%}.pro-hero{align-items:flex-start;flex-direction:column}.pro-hero-stats{width:100%}}
@media(max-width:600px){.pro-shell{width:min(100% - 18px,1400px)}.pro-toolbar{grid-template-columns:1fr}.pro-feature-list{grid-template-columns:1fr}.pro-hero{padding:22px}.pro-hero-stats{min-width:0}.pro-chapter{padding:14px}}
@media(prefers-reduced-motion:reduce){.pro-chapter,.pro-feature,.pro-progress i{transition:none!important}}
.feature-list-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.notification-card{width:100%;display:flex;gap:14px;text-align:start;border:1px solid var(--line);background:var(--panel);padding:16px;border-radius:18px;color:inherit;cursor:pointer}.notification-card.unread{border-color:color-mix(in srgb,var(--accent) 55%,var(--line))}.notification-dot{width:9px;height:9px;border-radius:50%;background:var(--accent);margin-top:7px;flex:0 0 auto}.notification-card:not(.unread) .notification-dot{opacity:.18}.notification-card p{margin:6px 0}.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.chip,.tiny-feature{border:1px solid var(--line);background:transparent;color:inherit;border-radius:999px;padding:7px 10px;cursor:pointer}.product-extra-actions{display:flex;gap:7px;margin-top:9px}.tiny-feature{font-size:11px;padding:6px 9px}.category-feature{display:flex;gap:14px;align-items:flex-start}.category-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 14%,transparent);font-size:22px}.compare-card .compare-cover{height:150px;border-radius:14px;overflow:hidden;background:var(--surface)}.compare-card img{width:100%;height:100%;object-fit:cover}.feature-table{display:grid;gap:8px}.inventory-row{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:var(--panel);padding:12px 14px;border-radius:15px}.inventory-row .inventory-input{max-width:110px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.audit-line{padding:9px 0;border-bottom:1px solid var(--line)}.header-tool-btn{position:relative;border:1px solid var(--line);background:var(--panel);color:inherit;border-radius:12px;width:40px;height:40px;cursor:pointer}.header-tool-btn i{position:absolute;top:2px;right:2px;min-width:15px;height:15px;border-radius:10px;background:#e33;color:#fff;font-size:9px;font-style:normal}.a11y-large{font-size:112%}.a11y-contrast{filter:contrast(1.12)}.a11y-reduced *, .a11y-reduced *::before,.a11y-reduced *::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.a11y-focus :focus-visible{outline:3px solid var(--accent)!important;outline-offset:3px}.a11y-compact .panel-card{padding:12px}.a11y-compact .product-card{border-radius:12px}.feature-list-grid .panel-card,.notification-card,.inventory-row,.compare-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.feature-list-grid .panel-card:hover,.notification-card:hover,.inventory-row:hover,.compare-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 50%,var(--line));box-shadow:0 10px 30px rgba(0,0,0,.12)}
@media(max-width:700px){.inventory-row{align-items:flex-start;flex-wrap:wrap}.inventory-row .inventory-input{margin-inline-start:auto}.product-extra-actions{flex-wrap:wrap}.feature-list-grid{grid-template-columns:1fr}}
.coupon-box{margin-top:12px}.coupon-inline{display:flex;gap:8px;align-items:center}.coupon-inline .panel-input{min-width:150px}.danger{border-color:#c44!important;color:#e77!important}
@media(max-width:640px){.coupon-inline{width:100%}.coupon-inline .panel-input{min-width:0;flex:1}}


/* Account button and dropdown */
.account-menu-wrap{position:relative;display:inline-flex;align-items:center}
.account-btn{position:relative;display:inline-flex;align-items:center;gap:9px;min-width:154px;height:46px;padding:5px 12px 5px 9px!important;border-radius:16px!important;border:1px solid color-mix(in srgb,var(--accent) 55%,var(--border))!important;background:linear-gradient(135deg,color-mix(in srgb,var(--panel2) 92%,var(--accent)),var(--panel2))!important;color:var(--text)!important;box-shadow:0 8px 28px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease!important}
.account-btn::before{content:"";position:absolute;inset:-1px;border-radius:17px;padding:1px;background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 75%,transparent),transparent 42%,color-mix(in srgb,var(--accent2) 55%,transparent));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:.8}
.account-btn:hover,.account-btn[aria-expanded="true"]{transform:translateY(-2px);border-color:var(--accent)!important;box-shadow:0 12px 34px color-mix(in srgb,var(--accent) 18%,transparent),inset 0 1px 0 rgba(255,255,255,.08)}
.account-btn-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent2) 75%,var(--accent)));box-shadow:0 0 18px color-mix(in srgb,var(--accent) 38%,transparent)}
.account-btn-avatar img{width:19px;height:19px;filter:brightness(0) invert(1)!important}
.account-btn-chevron{font-size:21px;line-height:1;transform:translateY(-2px);opacity:.9;transition:transform .2s ease}
.account-btn[aria-expanded="true"] .account-btn-chevron{transform:rotate(180deg) translateY(2px)}
.account-dropdown{position:absolute;top:calc(100% + 12px);inset-inline-end:0;width:290px;padding:10px;border:1px solid color-mix(in srgb,var(--accent) 58%,var(--border));border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--panel) 96%,var(--accent)),var(--panel2));box-shadow:0 22px 60px rgba(0,0,0,.48),0 0 34px color-mix(in srgb,var(--accent) 12%,transparent);backdrop-filter:blur(20px);z-index:80;transform-origin:top right;animation:accountDropdownIn .18s ease-out}
.account-dropdown::before{content:"";position:absolute;top:-7px;inset-inline-end:40px;width:13px;height:13px;background:var(--panel);border-top:1px solid var(--accent);border-inline-start:1px solid var(--accent);transform:rotate(45deg)}
.account-dropdown-item{width:100%;min-height:52px;display:flex;align-items:center;gap:12px;padding:8px 11px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--text);text-align:inherit;direction:rtl;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.account-dropdown-item img{width:22px;height:22px;flex:0 0 22px;filter:brightness(0) invert(1)!important;opacity:.92}
.account-dropdown-item span{flex:1;font-size:14px;font-weight:600}
.account-dropdown-item>b{font-size:21px;font-weight:400;line-height:1;color:var(--muted);transform:translateY(-1px)}
.account-dropdown-item:hover{background:color-mix(in srgb,var(--accent) 14%,var(--panel2));border-color:color-mix(in srgb,var(--accent) 32%,transparent);transform:translateX(-2px);box-shadow:0 7px 20px color-mix(in srgb,var(--accent) 8%,transparent)}
.account-dropdown-item.active{background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 32%,var(--panel2)),color-mix(in srgb,var(--accent2) 18%,var(--panel2)));border-color:color-mix(in srgb,var(--accent) 55%,transparent);box-shadow:0 8px 25px color-mix(in srgb,var(--accent) 12%,transparent)}
.account-dropdown-item.active img{filter:brightness(0) invert(1)!important}
.account-dropdown-item.logout{color:#ff6d7a}
.account-dropdown-item.logout img{filter:none!important}
.account-dropdown-item.logout:hover{background:rgba(255,70,88,.09);border-color:rgba(255,70,88,.3)}
.account-dropdown-divider{height:1px;margin:7px 5px;background:linear-gradient(90deg,transparent,var(--border),transparent)}
@keyframes accountDropdownIn{from{opacity:0;transform:translateY(-7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
body.light-theme .account-btn-avatar img,html[data-theme="light"] .account-btn-avatar img{filter:brightness(0) invert(1)!important}
body.light-theme .account-dropdown-item img,html[data-theme="light"] .account-dropdown-item img{filter:brightness(0)!important}
body.light-theme .account-dropdown-item.active img,html[data-theme="light"] .account-dropdown-item.active img{filter:brightness(0)!important}
@media(max-width:620px){.account-btn{min-width:48px;width:48px;padding:5px!important;justify-content:center;border-radius:15px!important}.account-btn #accountBtnLabel,.account-btn-chevron{display:none}.account-dropdown{inset-inline-end:0;width:min(290px,calc(100vw - 28px))}}

/* ===== ACCOUNT MENU — exact visual treatment from approved Figma concept ===== */
.account-menu-wrap{position:relative;display:inline-flex;align-items:center}
.account-btn{
  direction:ltr!important;
  position:relative!important;
  display:grid!important;
  grid-template-columns:42px 1fr 24px!important;
  align-items:center!important;
  gap:10px!important;
  width:264px!important;
  min-width:264px!important;
  height:52px!important;
  padding:4px 11px!important;
  border:1px solid rgba(73,93,255,.9)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#07143b 0%,#07112d 48%,#101a43 100%)!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(80,102,255,.12),0 8px 28px rgba(25,48,180,.22),inset 0 1px 0 rgba(255,255,255,.08)!important;
  overflow:visible!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.account-btn::before{
  content:""!important;
  position:absolute!important;
  inset:-1px!important;
  border-radius:999px!important;
  padding:1px!important;
  background:linear-gradient(105deg,#3b66ff 0%,#4168ff 48%,#873dff 100%)!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask-composite:xor!important;
  mask-composite:exclude!important;
  pointer-events:none!important;
  opacity:1!important;
}
.account-btn:hover,.account-btn[aria-expanded="true"]{
  transform:translateY(-1px)!important;
  border-color:#6879ff!important;
  box-shadow:0 0 0 1px rgba(93,108,255,.25),0 0 30px rgba(57,73,255,.28),0 12px 34px rgba(20,35,130,.3),inset 0 1px 0 rgba(255,255,255,.1)!important;
}
.account-btn-avatar{
  width:38px!important;height:38px!important;flex:0 0 38px!important;
  border-radius:50%!important;
  display:grid!important;place-items:center!important;
  background:radial-gradient(circle at 35% 30%,#7a57ff,#3439e9 58%,#172273 100%)!important;
  border:1px solid rgba(119,130,255,.95)!important;
  box-shadow:0 0 18px rgba(67,73,255,.42),inset 0 0 12px rgba(255,255,255,.08)!important;
}
.account-btn-avatar img{width:21px!important;height:21px!important;filter:brightness(0) invert(1)!important}
.account-btn #accountBtnLabel,.account-btn [data-i18n="account"]{
  min-width:0!important;
  text-align:center!important;
  direction:rtl!important;
  font-size:16px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.account-btn-chevron{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;height:28px!important;
  font-size:26px!important;font-weight:300!important;line-height:1!important;
  color:#e8edff!important;opacity:1!important;
  transform:translateY(-2px)!important;
  transition:transform .2s ease!important;
}
.account-btn[aria-expanded="true"] .account-btn-chevron{transform:rotate(180deg) translateY(2px)!important}

.account-dropdown{
  top:calc(100% + 12px)!important;
  inset-inline-end:0!important;
  width:360px!important;
  padding:12px!important;
  border:1px solid rgba(62,91,255,.95)!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,rgba(5,17,49,.98),rgba(5,13,33,.98) 70%,rgba(9,17,48,.98))!important;
  box-shadow:0 26px 70px rgba(0,0,0,.55),0 0 38px rgba(48,62,255,.17),inset 0 1px 0 rgba(255,255,255,.05)!important;
  backdrop-filter:blur(22px)!important;
}
.account-dropdown::before{
  top:-7px!important;
  inset-inline-end:42px!important;
  width:13px!important;height:13px!important;
  background:#07112d!important;
  border-top:1px solid #4b61ff!important;
  border-inline-start:1px solid #4b61ff!important;
}
.account-dropdown-item{
  min-height:66px!important;
  padding:9px 16px!important;
  gap:14px!important;
  border:1px solid transparent!important;
  border-radius:16px!important;
  background:transparent!important;
  direction:rtl!important;
}
.account-dropdown-item img{
  width:28px!important;height:28px!important;flex:0 0 28px!important;
  filter:brightness(0) invert(1)!important;opacity:1!important;
}
.account-dropdown-item span{font-size:16px!important;font-weight:600!important;color:#f3f5ff!important}
.account-dropdown-item>b{font-size:29px!important;font-weight:300!important;color:#aebcff!important;line-height:1!important}
.account-dropdown-item:hover{
  background:linear-gradient(100deg,rgba(48,72,235,.32),rgba(99,48,255,.5))!important;
  border-color:rgba(92,108,255,.9)!important;
  transform:none!important;
  box-shadow:0 0 24px rgba(48,65,255,.16),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.account-dropdown-item.active{
  background:linear-gradient(100deg,rgba(35,58,201,.62),rgba(102,48,255,.9))!important;
  border-color:rgba(94,105,255,.95)!important;
  box-shadow:0 8px 28px rgba(55,60,230,.2),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.account-dropdown-divider{height:1px!important;margin:8px 8px!important;background:linear-gradient(90deg,transparent,rgba(69,93,190,.55),transparent)!important}
.account-dropdown-item.logout{color:#fff!important}
.account-dropdown-item.logout span{color:#fff!important}
.account-dropdown-item.logout img{filter:brightness(0) invert(1)!important}
.account-dropdown-item.logout:hover{background:rgba(255,64,92,.1)!important;border-color:rgba(255,80,105,.4)!important}

html[data-theme="light"] .account-btn{
  background:linear-gradient(135deg,#f5f7ff,#e9edff 55%,#f4f0ff)!important;
  color:#10152d!important;
  border-color:#6677ff!important;
  box-shadow:0 8px 28px rgba(52,72,180,.13),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
html[data-theme="light"] .account-btn #accountBtnLabel{color:#11152d!important}
html[data-theme="light"] .account-btn-chevron{color:#1b2450!important}
html[data-theme="light"] .account-dropdown{
  background:linear-gradient(145deg,rgba(248,250,255,.99),rgba(235,240,255,.99))!important;
  border-color:#7080ff!important;
  box-shadow:0 26px 70px rgba(30,44,110,.2),0 0 30px rgba(65,82,220,.1)!important;
}
html[data-theme="light"] .account-dropdown::before{background:#f1f4ff!important;border-color:#7080ff!important}
html[data-theme="light"] .account-dropdown-item span{color:#12172c!important}
html[data-theme="light"] .account-dropdown-item img{filter:none!important}
html[data-theme="light"] .account-dropdown-item>b{color:#4c5aaf!important}
html[data-theme="light"] .account-dropdown-item:hover{background:linear-gradient(100deg,rgba(89,108,255,.12),rgba(132,83,255,.16))!important}
html[data-theme="light"] .account-dropdown-item.active{background:linear-gradient(100deg,#dfe5ff,#e9dcff)!important;border-color:#8290ff!important}
html[data-theme="light"] .account-dropdown-item.logout span{color:#b5233c!important}
html[data-theme="light"] .account-dropdown-item.logout img{filter:none!important}

@media(max-width:760px){
  .account-btn{width:58px!important;min-width:58px!important;grid-template-columns:1fr!important;padding:5px!important}
  .account-btn #accountBtnLabel,.account-btn-chevron{display:none!important}
  .account-btn-avatar{margin:auto!important}
  .account-dropdown{width:min(360px,calc(100vw - 24px))!important;inset-inline-end:0!important}
}

/* Account menu */
.account-menu-wrap{position:relative!important;display:inline-flex!important;align-items:center!important;z-index:120!important}
.account-menu-wrap.is-open{z-index:250!important}
.account-btn{cursor:pointer!important;user-select:none!important;-webkit-tap-highlight-color:transparent!important}
.account-btn:focus-visible{outline:2px solid #7180ff!important;outline-offset:3px!important}
.account-dropdown{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.account-dropdown.hidden{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.account-dropdown.is-open{animation:accountDropdownInFinal .22s cubic-bezier(.2,.8,.2,1) both!important}
.account-dropdown::after{content:""!important;position:absolute!important;top:-12px!important;inset-inline-end:34px!important;width:24px!important;height:18px!important;background:transparent!important}
.account-dropdown-item{cursor:pointer!important;-webkit-tap-highlight-color:transparent!important}
.account-dropdown-item:focus-visible{outline:2px solid #7180ff!important;outline-offset:-2px!important}
@keyframes accountDropdownInFinal{from{opacity:0;transform:translateY(-10px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){
  .account-menu-wrap{position:relative!important}
  .account-btn{width:58px!important;min-width:58px!important;height:58px!important;grid-template-columns:1fr!important}
  .account-dropdown{top:calc(100% + 12px)!important;inset-inline-end:0!important;width:min(360px,calc(100vw - 24px))!important}
}

#accountBtn::before{content:none!important;display:none!important;background:none!important;width:0!important;height:0!important}


.account-btn{
  width:224px!important;
  min-width:224px!important;
  height:48px!important;
  grid-template-columns:36px 1fr!important;
  gap:9px!important;
  padding:4px 10px!important;
}
.account-btn-avatar{width:34px!important;height:34px!important;flex-basis:34px!important}
.account-btn-avatar img{width:19px!important;height:19px!important}
.account-btn-chevron{display:none!important}
.account-btn.is-logged-out{
  width:158px!important;
  min-width:158px!important;
  height:44px!important;
  grid-template-columns:32px 1fr!important;
  gap:8px!important;
  padding:4px 9px!important;
}
.account-btn.is-logged-out .account-btn-avatar{width:30px!important;height:30px!important;flex-basis:30px!important}
.account-btn.is-logged-out .account-btn-avatar img{width:17px!important;height:17px!important}
.account-btn.is-logged-out #accountBtnLabel{font-size:14px!important;font-weight:700!important;text-align:center!important}
.account-btn.is-logged-out:hover{transform:translateY(-1px)!important}
@media(max-width:760px){
  .account-btn.is-logged-out{width:142px!important;min-width:142px!important;height:42px!important}
  .account-btn.is-logged-out #accountBtnLabel{font-size:13px!important}
}

/* Authentication screen */
.auth-screen{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  min-height:calc(100vh - 74px)!important;
  margin:0!important;
  padding:52px 20px 70px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:
    radial-gradient(ellipse at 50% 58%,rgba(86,72,40,.08),transparent 34%),
    radial-gradient(ellipse at 12% 80%,rgba(62,38,28,.20),transparent 30%),
    radial-gradient(ellipse at 90% 35%,rgba(37,31,28,.22),transparent 35%),
    linear-gradient(145deg,#171616 0%,#0e0e0e 48%,#151414 100%)!important;
}
.auth-screen::before,
.auth-screen::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;filter:blur(2px);
}
.auth-screen::before{
  width:720px;height:360px;left:-150px;bottom:-40px;
  background:linear-gradient(145deg,rgba(68,45,36,.30),rgba(19,17,17,.04) 65%);
  clip-path:polygon(0 45%,24% 12%,48% 34%,67% 0,100% 40%,87% 100%,0 100%);
  opacity:.75;
}
.auth-screen::after{
  width:620px;height:330px;right:-100px;top:120px;
  background:linear-gradient(155deg,rgba(53,46,41,.25),rgba(14,14,14,0) 70%);
  clip-path:polygon(18% 0,100% 16%,100% 100%,48% 76%,0 100%,7% 30%);
  opacity:.7;
}
.auth-page-bg{position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(circle at 25% 42%,rgba(255,255,255,.018),transparent 23%),radial-gradient(circle at 76% 70%,rgba(255,255,255,.016),transparent 28%)}
.auth-figma-card{
  position:relative!important;width:min(448px,calc(100vw - 32px))!important;
  margin:0!important;padding:42px 44px 28px!important;
  display:flex!important;flex-direction:column!important;gap:0!important;
  border:1px solid rgba(255,255,255,.10)!important;border-radius:25px!important;
  background:linear-gradient(145deg,rgba(18,18,18,.96),rgba(12,12,12,.97))!important;
  box-shadow:0 30px 80px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.025)!important;
  backdrop-filter:blur(18px)!important;
}
.auth-close{left:auto!important;right:16px!important;top:14px!important;width:30px!important;height:30px!important;background:transparent!important;color:#777!important;font-size:24px!important}
.auth-close:hover{color:#fff!important;background:#171717!important}
.auth-brand-mark{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#5146f5,#4032d8);box-shadow:0 12px 28px rgba(77,68,255,.25);color:#fff;font-size:23px;margin-bottom:19px}
.auth-brand-line{display:flex;align-items:center;gap:9px;color:#f7f7f7;font-size:17px;margin-bottom:18px}
.auth-brand-icon{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;background:#4d43eb;color:#fff;font-size:13px}
.auth-heading h2{font-size:29px;line-height:1.25;margin:0 0 5px;font-weight:800;letter-spacing:-.7px}
.auth-heading p{margin:0 0 22px;color:#858585;font-size:13px}
.auth-mode-fields{display:flex;flex-direction:column;gap:13px}
.figma-field{display:flex;flex-direction:column;gap:7px;color:#f0f0f0;font-size:12px;font-weight:600}
.figma-input-wrap{position:relative;display:flex;align-items:center;height:43px;border:1px solid #252525;border-radius:12px;background:#101010;transition:border-color .18s,box-shadow .18s}
.figma-input-wrap:focus-within{border-color:#4d43eb;box-shadow:0 0 0 3px rgba(77,67,235,.09)}
.figma-input-wrap>img{width:18px;height:18px;margin-inline:12px;opacity:.72;filter:brightness(0) invert(1)}
.figma-input-wrap .panel-input{border:0!important;background:transparent!important;padding:10px 10px 10px 0!important;height:41px!important;border-radius:12px!important;box-shadow:none!important;direction:ltr!important;text-align:left!important}
.figma-input-wrap .panel-input::placeholder{color:#707070}
.figma-field small{font-size:9px;color:#646464;margin-top:-3px}
.password-eye{position:absolute;right:8px;width:30px;height:30px;border:0;background:transparent;color:#777;font-size:15px}
.password-eye:hover{color:#bbb}
.auth-options-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:1px 0 1px}
.remember-option,.terms-option{display:flex;align-items:center;gap:8px;color:#999;font-size:11px;cursor:pointer}
.remember-option input,.terms-option input{display:none}
.remember-option span,.terms-option span{width:18px;height:18px;border-radius:5px;border:1px solid #444;background:#171717;display:inline-grid;place-items:center;position:relative}
.remember-option input:checked+span,.terms-option input:checked+span{background:#5649ed;border-color:#5649ed}
.remember-option input:checked+span::after,.terms-option input:checked+span::after{content:"✓";font-size:11px;color:#fff}
.forgot-btn{border:0;background:none;color:#6658ff;font-size:11px;padding:3px}
.forgot-btn:hover,.auth-bottom-switch button:hover{color:#8a7fff}
.auth-primary-btn{height:45px;border:0;border-radius:11px;background:linear-gradient(100deg,#4e42ed,#6757f7);color:#fff;font-size:14px;font-weight:800;box-shadow:0 12px 26px rgba(83,70,240,.22);transition:transform .18s,box-shadow .18s;margin-top:3px}
.auth-primary-btn:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(83,70,240,.30)}
.auth-primary-btn span{font-size:18px;margin-inline-start:7px}
.auth-or{display:flex;align-items:center;gap:12px;color:#6d6d6d;font-size:10px;margin:13px 0 9px}
.auth-or::before,.auth-or::after{content:"";height:1px;background:#2a2a2a;flex:1}
.auth-social-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.auth-social-row button{height:42px;border:1px solid #282828;border-radius:11px;background:#111;color:#ddd;font-size:11px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:7px;transition:.18s}
.auth-social-row button:hover{border-color:#444;background:#161616;transform:translateY(-1px)}
.auth-social-row button span{font-size:17px;line-height:1}.social-google{font-size:15px!important}
.auth-secure{height:38px;margin-top:11px;border:1px solid #252525;border-radius:11px;background:#111;display:flex;align-items:center;padding:0 13px;color:#858585;font-size:11px;gap:8px}.auth-secure span{color:#00d6a0;font-size:16px}
.auth-bottom-switch{text-align:center;color:#777;font-size:11px;margin-top:13px}.auth-bottom-switch button{border:0;background:none;color:#6154ff;font-weight:700;font-size:11px;padding:0 3px}
.auth-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.auth-register-grid .figma-field{min-width:0}
#authRegisterFields .figma-input-wrap{height:42px}
#authRegisterFields{gap:11px}
#authRegisterFields .auth-primary-btn{margin-top:1px}
#authRegisterFields .password-strength{margin:0!important}
#authRegisterFields .auth-secure{margin-top:1px}

html[data-theme="light"] .auth-screen{background:linear-gradient(145deg,#efefef,#dedede 48%,#e9e7e4)!important}
html[data-theme="light"] .auth-figma-card{background:rgba(250,250,250,.97)!important;border-color:#d8d8d8!important;box-shadow:0 28px 70px rgba(0,0,0,.16)!important}
html[data-theme="light"] .auth-heading h2,html[data-theme="light"] .auth-brand-line,html[data-theme="light"] .figma-field{color:#181818}
html[data-theme="light"] .auth-heading p,html[data-theme="light"] .figma-field small,html[data-theme="light"] .auth-bottom-switch,html[data-theme="light"] .remember-option{color:#777}
html[data-theme="light"] .figma-input-wrap,html[data-theme="light"] .auth-social-row button,html[data-theme="light"] .auth-secure{background:#f5f5f5;border-color:#ddd;color:#222}
html[data-theme="light"] .figma-input-wrap>img{filter:brightness(0)}
html[data-theme="light"] .auth-social-row button{color:#222}

@media(max-width:620px){
 .auth-screen{padding:24px 12px 45px!important;min-height:calc(100vh - 62px)!important}
 .auth-figma-card{width:min(448px,100%)!important;padding:34px 22px 24px!important;border-radius:20px!important}
 .auth-heading h2{font-size:25px}.auth-social-row{gap:6px}.auth-social-row button{font-size:10px}.auth-register-grid{grid-template-columns:1fr}
}


.auth-brand-mark .brand-bag-icon, .auth-brand-icon.brand-bag-icon{
  display:grid;place-items:center;position:relative;color:#fff;font-size:0;
}
.auth-brand-mark .brand-bag-icon::before, .auth-brand-icon.brand-bag-icon::before{
  content:"";width:15px;height:13px;border:1.8px solid #fff;border-radius:2.5px;position:absolute;top:9px;left:50%;transform:translateX(-50%);
}
.auth-brand-mark .brand-bag-icon::after, .auth-brand-icon.brand-bag-icon::after{
  content:"";width:7px;height:5px;border:1.8px solid #fff;border-bottom:0;border-radius:4px 4px 0 0;position:absolute;top:5px;left:50%;transform:translateX(-50%);
}
.auth-brand-mark .brand-bag-icon::before{width:17px;height:15px;top:20px}
.auth-brand-mark .brand-bag-icon::after{width:8px;height:6px;top:15px}
.auth-brand-line b{letter-spacing:-.2px}
.figma-field,.figma-field>span,.figma-field small,.auth-options-row,.remember-option,.forgot-btn,.terms-option,.auth-bottom-switch,.auth-secure{direction:rtl;text-align:right}
.figma-input-wrap{direction:rtl}
.figma-input-wrap>img{order:2;margin-inline:12px 12px}
.figma-input-wrap .panel-input{order:1!important;direction:rtl!important;text-align:right!important;padding:10px 0 10px 10px!important}
.figma-input-wrap .panel-input::placeholder{text-align:right}
.auth-phone{direction:rtl!important;text-align:right!important}
.auth-social-single{grid-template-columns:1fr!important}
.auth-social-single button{width:100%}
.social-google{font-family:Arial,sans-serif!important;font-weight:800;font-size:16px!important}
.auth-or{direction:rtl}
.auth-secure{justify-content:flex-start}
@media(max-width:620px){.auth-social-single{grid-template-columns:1fr!important}}

.auth-brand-mark .brand-bag-icon,.auth-brand-icon.brand-bag-icon{font-size:0!important;background:none!important;border:0!important;}
.auth-brand-mark .brand-bag-icon::before,.auth-brand-mark .brand-bag-icon::after,.auth-brand-icon.brand-bag-icon::before,.auth-brand-icon.brand-bag-icon::after{content:none!important;display:none!important;}
.auth-brand-mark{color:#fff!important;}
.auth-brand-bag{display:block;width:27px;height:27px;color:#fff;}
.auth-brand-bag.small{width:18px;height:18px;}
.auth-brand-icon{display:grid!important;place-items:center!important;}
.google-auth-btn{direction:rtl!important;}
.google-logo{width:18px!important;height:18px!important;display:block!important;flex:0 0 18px!important;filter:none!important;}
.google-auth-btn span{font-size:12px!important;line-height:1!important;}

/* Auth form polish: keep icon controls separate from input text in both directions. */
.auth-screen{min-height:calc(100svh - 74px)!important;overflow:visible!important;overscroll-behavior:auto}
.auth-figma-card{max-height:none!important;overflow:visible!important;overscroll-behavior:auto;scrollbar-width:auto}
.figma-input-wrap .panel-input{min-width:0;padding-inline:0 42px!important}
.figma-input-wrap .panel-input[type="password"],
.figma-input-wrap .panel-input[type="text"]#authPassword,
.figma-input-wrap .panel-input[type="password"]#authRegPassword{padding-inline-end:42px!important}
.password-eye{z-index:2;display:grid;place-items:center;min-width:38px;min-height:38px;width:38px;height:38px;right:5px!important;border-radius:9px;color:#9b9b9b;font-size:15px}
.password-eye:hover,.password-eye:focus-visible{background:rgba(255,255,255,.07);color:#fff;outline:2px solid #756bff;outline-offset:1px}
.auth-options-row{flex-wrap:wrap}
.remember-option,.terms-option{min-height:44px}
.forgot-btn,.auth-bottom-switch button{min-height:40px}
.auth-primary-btn{min-height:48px}
.auth-register-grid .figma-input-wrap .panel-input{padding-inline:0!important}
@media(max-width:620px){
  .auth-screen{min-height:calc(100svh - 62px)!important;padding:16px 12px 28px!important;align-items:flex-start!important}
  .auth-figma-card{width:min(448px,100%)!important;max-height:calc(100svh - 106px);padding:42px 20px 22px!important;}
  .auth-heading h2{font-size:24px}
  .auth-options-row{align-items:flex-start;gap:4px}
  .remember-option,.forgot-btn{font-size:11px}
}
@media(max-height:700px){.auth-screen{padding-top:16px!important;padding-bottom:20px!important;align-items:flex-start!important}}
@media(prefers-reduced-motion:reduce){.figma-input-wrap,.auth-primary-btn,.auth-social-row button{transition:none!important}}

/* Storefront auth redesign */
.auth-screen{align-items:center!important;gap:clamp(32px,7vw,112px);padding:clamp(28px,5vh,64px) max(5vw,24px)!important}
body.auth-view-active .topbar{position:sticky!important;top:0;z-index:20;height:68px!important;min-height:68px!important;padding:0 24px!important;justify-content:space-between!important}
body.auth-view-active .topbar nav{display:none!important}
body.auth-view-active .topbar .top-actions{position:absolute!important;left:24px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important}
body.auth-view-active .topbar .menu-btn{position:absolute!important;right:24px!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important}
body.auth-view-active.ltr .topbar .top-actions{left:auto!important;right:24px!important}
body.auth-view-active.ltr .topbar .menu-btn{left:24px!important;right:auto!important}
.auth-story{position:relative;display:flex;flex:1 1 480px;max-width:570px;min-height:490px;flex-direction:column;justify-content:center;overflow:hidden;padding:clamp(30px,5vw,66px);border:1px solid rgba(255,255,255,.08);border-radius:32px;background:radial-gradient(ellipse at 18% 82%,rgba(101,79,255,.20),transparent 45%),linear-gradient(145deg,#151515,#0d0d0d 70%);isolation:isolate}
.auth-story::before,.auth-story::after{position:absolute;z-index:-1;content:"";border:1px solid rgba(255,255,255,.07);border-radius:50%;pointer-events:none}
.auth-story::before{width:420px;height:420px;right:-150px;top:-165px;box-shadow:0 0 0 34px rgba(255,255,255,.018),0 0 0 70px rgba(255,255,255,.012)}
.auth-story::after{width:240px;height:240px;left:-105px;bottom:-110px;background:radial-gradient(circle,rgba(92,75,226,.17),transparent 70%)}
.auth-story-kicker{display:flex;align-items:center;gap:9px;width:max-content;padding:9px 13px;border:1px solid rgba(151,140,255,.2);border-radius:999px;background:rgba(92,75,226,.09);color:#c3bcff;font-size:12px}
.auth-story h1{margin:26px 0 14px;font-size:clamp(34px,4vw,54px);line-height:1.4;letter-spacing:-1.8px}
.auth-story h1 span{color:#a69cff}
.auth-story>p{max-width:390px;margin:0;color:#a3a3a3;font-size:15px;line-height:2}
.auth-story-proof{display:flex;align-items:center;gap:13px;margin-top:34px}
.auth-proof-icon{display:grid;width:46px;height:46px;place-items:center;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:rgba(255,255,255,.045);color:#bbb2ff;font-size:17px}
.auth-story-proof b,.auth-story-proof small{display:block}.auth-story-proof b{font-size:13px}.auth-story-proof small{margin-top:5px;color:#858585;font-size:11px}
.auth-story-decoration{position:absolute;left:30px;bottom:25px;display:flex;align-items:center;gap:17px;color:rgba(184,174,255,.30);font-size:13px}.auth-story-decoration i:nth-child(2){font-size:23px;transform:rotate(-12deg)}.auth-story-decoration i:nth-child(3){font-size:7px}
.auth-figma-card{flex:0 1 440px;width:min(440px,calc(100vw - 32px))!important;padding:38px 38px 30px!important;border-color:rgba(255,255,255,.09)!important;border-radius:25px!important;background:linear-gradient(155deg,rgba(20,20,20,.98),rgba(11,11,11,.98))!important;box-shadow:0 30px 90px rgba(0,0,0,.40),inset 0 1px rgba(255,255,255,.035)!important}
.auth-form-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px;color:#f7f7f7;font-size:15px;font-weight:800;letter-spacing:.4px}
.auth-form-brand>span:last-child small{display:block;margin-top:2px;color:#848484;font-size:9px;letter-spacing:2px}
.auth-form-brand-icon{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(155,143,255,.23);border-radius:12px;background:linear-gradient(145deg,rgba(102,83,255,.23),rgba(75,61,190,.08));color:#b6adff;font-size:16px}
.auth-heading h2{font-size:27px;letter-spacing:-.4px}.auth-heading p{margin:5px 0 18px;font-size:13px;line-height:1.8}
.auth-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 23px;padding:4px;border:1px solid #252525;border-radius:13px;background:#0c0c0c}
.auth-mode-tab{min-height:42px;border:0;border-radius:9px;background:transparent;color:#8a8a8a;font-size:13px;font-weight:700;transition:background .18s,color .18s,box-shadow .18s}
.auth-mode-tab:hover{color:#eee}.auth-mode-tab.active{background:#1a1830;color:#c6c0ff;box-shadow:inset 0 0 0 1px rgba(132,118,255,.18)}
.auth-mode-fields{gap:15px}.figma-field{gap:8px;font-size:12px}.figma-field>span{color:#d5d5d5}
.figma-input-wrap,.auth-register-grid .figma-input-wrap{height:48px!important;border-color:#292929;border-radius:12px;background:#0d0d0d}
.figma-input-wrap:focus-within{border-color:#796eff;box-shadow:0 0 0 3px rgba(121,110,255,.12)}
.figma-input-wrap>img{width:17px;height:17px;opacity:.62}
.figma-input-wrap .panel-input{height:46px!important;font-size:13px}
.figma-field small{font-size:10px;color:#858585}
.password-eye{width:40px;height:40px;right:4px!important;color:#929292}
.auth-options-row{gap:8px}.remember-option{font-size:11px}.forgot-btn{font-size:11px}
.auth-primary-btn{height:49px;margin-top:4px;border-radius:12px;background:linear-gradient(105deg,#6356eb,#8174ff);box-shadow:0 10px 26px rgba(92,78,225,.2);font-size:14px}
.auth-primary-btn:hover{box-shadow:0 13px 30px rgba(92,78,225,.3)}
.auth-bottom-switch{margin-top:4px;padding-top:16px;border-top:1px solid rgba(255,255,255,.07);text-align:center;font-size:12px}
.auth-bottom-switch button{min-height:40px;color:#aaa1ff;font-size:12px}
#authRegisterFields{gap:13px}.auth-register-grid{gap:10px}.auth-register-grid .figma-field{min-width:0}
.auth-register-grid .figma-field>span{font-size:11px}
#authRegisterFields .terms-option{padding:3px 0;font-size:11px}
/* Keep leading field icons out of RTL placeholder text; reserve a fixed icon gutter. */
.auth-screen .figma-input-wrap{position:relative;display:flex;min-width:0;direction:rtl}
.auth-screen .figma-input-wrap>img{position:absolute;right:14px;top:50%;z-index:1;width:17px;height:17px;margin:0!important;transform:translateY(-50%);pointer-events:none}
.auth-screen .figma-input-wrap>.panel-input{flex:1 1 auto;width:0!important;min-width:0!important;padding:10px 44px 10px 42px!important;text-align:right!important;direction:rtl!important}
.auth-screen .figma-input-wrap>.password-eye{right:auto!important;left:4px;top:50%;transform:translateY(-50%)}
.auth-screen .figma-input-wrap>.panel-input::placeholder{text-align:right}
body.ltr .auth-screen .figma-input-wrap{direction:ltr}
body.ltr .auth-screen .figma-input-wrap>img{right:auto;left:14px}
body.ltr .auth-screen .figma-input-wrap>.panel-input{padding:10px 42px 10px 44px!important;text-align:left!important;direction:ltr!important}
body.ltr .auth-screen .figma-input-wrap>.password-eye{left:auto;right:4px!important}
html[data-theme="light"] .auth-story{border-color:rgba(0,0,0,.08);background:radial-gradient(ellipse at 18% 82%,rgba(101,79,255,.14),transparent 45%),linear-gradient(145deg,#fff,#f2f1f8)}
html[data-theme="light"] .auth-story h1,html[data-theme="light"] .auth-story-proof b{color:#191820}
html[data-theme="light"] .auth-story>p,html[data-theme="light"] .auth-story-proof small{color:#666570}
html[data-theme="light"] .auth-form-brand{color:#191820}
html[data-theme="light"] .auth-mode-tabs{background:#eeeef3;border-color:#dddde5}
html[data-theme="light"] .auth-mode-tab.active{background:#fff;color:#5143ce;box-shadow:0 1px 4px #00000014}
html[data-theme="light"] .figma-input-wrap,html[data-theme="light"] .auth-register-grid .figma-input-wrap{background:#fff;border-color:#d9d9e1}
@media(max-width:900px){.auth-screen{gap:24px!important}.auth-story{min-height:430px;padding:34px}.auth-story h1{font-size:36px}.auth-figma-card{flex-basis:410px;padding-inline:30px!important}}
@media(max-width:700px){.auth-screen{display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:20px 14px 32px!important}.auth-story{display:none}.auth-figma-card{flex:0 1 448px;width:min(448px,100%)!important;max-height:none;padding:32px 24px 24px!important;border-radius:22px!important}.auth-form-brand{margin-bottom:23px}.auth-mode-tabs{margin-bottom:20px}.auth-register-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){body.auth-view-active .topbar{height:64px!important;min-height:64px!important;padding:0 16px!important}body.auth-view-active .topbar .top-actions{left:16px!important;right:auto!important;top:50%!important}body.auth-view-active .topbar .menu-btn{right:16px!important;left:auto!important;top:50%!important}body.auth-view-active.ltr .topbar .top-actions{left:auto!important;right:16px!important}body.auth-view-active.ltr .topbar .menu-btn{left:16px!important;right:auto!important}}
@media(max-width:380px){.auth-figma-card{padding:30px 18px 22px!important}.auth-register-grid{grid-template-columns:1fr}.auth-options-row{align-items:flex-start}.auth-options-row>*{max-width:48%}}
@media(max-height:720px) and (min-width:701px){.auth-screen{align-items:flex-start!important;padding-top:20px!important;padding-bottom:20px!important}.auth-story{min-height:calc(100svh - 114px)}}

/* Consolidated auth form layout: consistent field rhythm and no cramped split names. */
.auth-figma-card{gap:0!important}
.auth-form-brand{margin-bottom:22px}
.auth-heading{margin:0}
.auth-mode-tabs{margin:2px 0 24px}
.auth-mode-fields{width:100%;gap:18px!important}
.auth-register-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;width:100%}
.auth-screen .figma-field{width:100%;min-width:0;gap:8px!important}
.auth-screen .figma-field>span{display:block;line-height:1.6;font-size:12px}
.auth-screen .figma-input-wrap{width:100%;height:52px!important;min-height:52px;border:1px solid #2b2b2b;border-radius:14px;background:#101010;box-shadow:inset 0 1px rgba(255,255,255,.018)}
.auth-screen .figma-input-wrap>img{right:16px;width:18px;height:18px;opacity:.58}
.auth-screen .figma-input-wrap>.panel-input{height:50px!important;padding:10px 48px 10px 48px!important;font-size:13px;line-height:1.5}
.auth-screen .figma-input-wrap>.password-eye{left:6px;width:38px;height:38px;min-width:38px;min-height:38px;border-radius:10px}
.auth-screen .figma-field small{margin:0 2px;color:#90909a;font-size:10px;line-height:1.6}
.auth-screen #passwordStrength{margin-top:2px!important}
.auth-screen .auth-options-row{margin:0;min-height:44px;align-items:center}
.auth-screen .auth-primary-btn{width:100%;margin-top:2px}
.auth-screen .auth-bottom-switch{margin-top:3px;padding-top:16px}
body.ltr .auth-screen .figma-input-wrap>img{left:16px}
body.ltr .auth-screen .figma-input-wrap>.panel-input{padding:10px 48px 10px 48px!important}
body.ltr .auth-screen .figma-input-wrap>.password-eye{right:6px!important}
@media(max-width:700px){
  .auth-figma-card{padding:30px 24px 24px!important}
  .auth-mode-fields{gap:17px!important}
  .auth-register-grid{grid-template-columns:minmax(0,1fr)!important;gap:15px!important}
  .auth-screen .figma-input-wrap{height:50px!important;min-height:50px}
  .auth-screen .figma-input-wrap>.panel-input{height:48px!important}
}
@media(max-width:380px){.auth-figma-card{padding:28px 18px 22px!important}.auth-options-row{gap:2px!important}.auth-options-row>*{max-width:none!important}}

/* Dedicated /s/admin Figma-style staff login */
body.admin-portal .topbar, body.admin-portal #menuBackdrop, body.admin-portal #sideMenu{display:none!important}
.admin-auth-screen{position:relative;min-height:calc(100vh - 40px);display:flex!important;align-items:center;justify-content:center;padding:40px 18px;overflow:hidden}
.admin-auth-page-bg{position:absolute;inset:0;background:radial-gradient(circle at 50% 15%,rgba(86,72,255,.16),transparent 36%),radial-gradient(circle at 15% 80%,rgba(92,42,20,.18),transparent 35%),linear-gradient(135deg,#171616 0%,#0b0b0b 52%,#15100f 100%)}
.admin-auth-page-bg:before,.admin-auth-page-bg:after{content:"";position:absolute;border-radius:50%;filter:blur(70px);opacity:.45}.admin-auth-page-bg:before{width:420px;height:420px;background:#3e36ff;left:-170px;top:12%}.admin-auth-page-bg:after{width:360px;height:360px;background:#8c4d31;right:-140px;bottom:8%}
.admin-auth-card{position:relative;z-index:1;width:min(480px,100%);background:rgba(10,10,10,.92);border:1px solid rgba(255,255,255,.1);border-radius:28px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.55),0 0 50px rgba(67,58,255,.09);backdrop-filter:blur(20px)}
.admin-auth-close{left:18px;top:18px}.admin-auth-logo{display:flex;align-items:baseline;gap:10px;margin-bottom:20px;font-weight:900;letter-spacing:-1px}.admin-auth-logo span{font-size:25px}.admin-auth-logo small{font-size:10px;letter-spacing:3px;color:#7c72ff}.admin-auth-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#5043ff,#6a56ff);box-shadow:0 12px 30px rgba(77,65,255,.35);margin-bottom:20px}.admin-auth-icon span{font-size:27px;color:#fff}.admin-auth-card .auth-heading{text-align:right;margin-bottom:24px}.admin-auth-card .auth-heading h2{font-size:34px;margin:8px 0 4px}.admin-auth-card .auth-heading p{margin:0;color:#858585;line-height:1.8}.admin-auth-fields{display:grid;gap:13px}.admin-login-btn{margin-top:5px}.admin-auth-note{font-size:12px;color:#707070;text-align:center;line-height:1.8;margin:0}.admin-auth-note b{color:#a9a3ff}
@media(max-width:620px){.admin-auth-card{padding:26px 20px;border-radius:22px}.admin-auth-card .auth-heading h2{font-size:28px}.admin-auth-screen{padding:20px 12px}}

/* Isolate the admin sign-in screen while the app initializes. */
html.admin-entry body{overflow:hidden!important;}
html.admin-entry .topbar,
html.admin-entry .site-footer,
html.admin-entry #toast,
html.admin-entry #pageLoader,
html.admin-entry #offlineBar,
html.admin-entry #logoIntro,
html.admin-entry #sideMenu,
html.admin-entry #menuBackdrop,
html.admin-entry #refreshBtn,
html.admin-entry #backTopBtn,
html.admin-entry #supportBtn,
html.admin-entry .screen:not(#adminAuth),
html.admin-entry #modal{display:none!important;}
html.admin-entry #adminAuth{display:flex!important;}
html.admin-entry .admin-auth-screen{width:100%!important;max-width:none!important;margin:0!important;min-height:100vh!important;}

\n/* V10 Update 2.15 — Keep the admin portal isolated from storefront screens. */
body.admin-portal {
  overflow-x:hidden!important;
}
body.admin-portal #app {
  min-height:100vh!important;
}
body.admin-portal .screen:not(#account):not(#adminAuth),
body.admin-portal .site-footer {
  display:none!important;
}
body.admin-portal #account {
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:34px 28px 80px!important;
}
body.admin-portal #account .admin-nav {
  position:sticky;
  top:0;
  z-index:50;
}
body.admin-portal #account .account-welcome {
  margin-top:0!important;
}


/* Admin sign-in and panel visibility */
.admin-auth-screen.hidden {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

html:not(.admin-entry) .admin-auth-screen.hidden {
  display:none!important;
}

body:not(.admin-portal) #adminAuth {
  display:none!important;
}

body.admin-portal #adminAuth {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

body.admin-portal #account {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

body.admin-portal #account .panel-card {
  visibility:visible!important;
  opacity:1!important;
}

body.admin-portal #accountActions {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

body.admin-portal #accountActions .admin-nav,
body.admin-portal #accountActions .admin-back-row,
body.admin-portal #accountActions .admin-panel {
  visibility:visible!important;
  opacity:1!important;
}

body.admin-portal #accountActions .admin-panel {
  display:block!important;
  min-height:120px!important;
  margin-top:16px!important;
  color:#f4f4f4!important;
}

body.admin-portal #accountActions .admin-panel * {
  visibility:visible;
}

html.admin-entry body #adminAuth,
html.admin-entry #adminAuth {
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}


/* Isolate sign-in screens and preserve the cursor */

/* Both auth sections use display:flex!important for their layouts.
   Re-apply the global hidden state with higher specificity. */
html body .screen.hidden,
html body .auth-screen.hidden,
html body .admin-auth-screen.hidden {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Normal login must never exist visually inside the admin portal. */
body.admin-portal #auth {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Admin portal must never inherit the normal login screen. */
body.admin-portal #adminAuth {
  display:none!important;
}






/* Feedback while admin sign-in is submitting */
.admin-login-btn:disabled{opacity:.65;cursor:wait!important;transform:none!important}
.admin-login-btn.is-loading{position:relative}

/* Shared theme tokens: keep every screen and dynamically-rendered feature in sync. */
html[data-theme]{--line:var(--border);--surface:var(--panel);--accent-soft:color-mix(in srgb,var(--accent) 14%,var(--panel2));color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
html[data-theme] body{background:var(--bg)!important;color:var(--text)!important}
html[data-theme] .topbar,html[data-theme] .site-footer,html[data-theme] .side-menu,
html[data-theme] .panel-card,html[data-theme] .product-card,html[data-theme] .order-card,html[data-theme] .cart-item,
html[data-theme] .modal-card,html[data-theme] .account-dropdown,html[data-theme] .role-editor,html[data-theme] .table-row,
html[data-theme] .notification-card,html[data-theme] .ticket-card,html[data-theme] .ticket-message,
html[data-theme] .checkout-payment-card,html[data-theme] .checkout-payment-icon,html[data-theme] .store-admin-row,
html[data-theme] .inventory-row,html[data-theme] .compare-card,html[data-theme] .auth-figma-card,
html[data-theme] .auth-story,html[data-theme] .admin-auth-card,html[data-theme] .account-shell,
html[data-theme] .account-dropdown-item,html[data-theme] .floating-support,html[data-theme] .floating-refresh,
html[data-theme] .floating-backtop,html[data-theme] .loader-card,html[data-theme] .offline-bar,
html[data-theme] .image-preview,html[data-theme] .store-mark,html[data-theme] .checkout-summary,
html[data-theme] .checkout-step,html[data-theme] .search-kbd,html[data-theme] .cart-summary{
  background-color:var(--panel)!important;border-color:var(--border)!important;color:var(--text)
}
html[data-theme] .topbar{background:color-mix(in srgb,var(--bg) 92%,transparent)!important}
html[data-theme] .muted,html[data-theme] .catalog-info,html[data-theme] .site-footer,
html[data-theme] .auth-heading p,html[data-theme] .auth-story>p,html[data-theme] .figma-field small{color:var(--muted)!important}
html[data-theme] .panel-input,html[data-theme] .hero-search input,html[data-theme] .filterbar input,
html[data-theme] .filterbar select,html[data-theme] .status-select,html[data-theme] .figma-input-wrap,
html[data-theme] .inventory-input{background:var(--panel2)!important;border-color:var(--border)!important;color:var(--text)!important}
html[data-theme] .panel-input::placeholder,html[data-theme] input::placeholder,html[data-theme] textarea::placeholder{color:var(--muted)!important;opacity:.85}
html[data-theme] .btn,html[data-theme] .small-btn,html[data-theme] .mini-btn,html[data-theme] .admin-nav-btn,
html[data-theme] .language-switch,html[data-theme] .account-btn,html[data-theme] .header-tool-btn,
html[data-theme] .category-row button,html[data-theme] .menu-btn,html[data-theme] .theme-mode-tab{
  background:var(--panel2);border-color:var(--border);color:var(--text)
}
html[data-theme] .btn.primary,html[data-theme] .auth-primary-btn{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--buttonText,#fff)!important}
html[data-theme] .btn:hover,html[data-theme] .small-btn:hover,html[data-theme] .mini-btn:hover,
html[data-theme] .admin-nav-btn:hover,html[data-theme] .header-tool-btn:hover{border-color:var(--accent)!important}
html[data-theme] .auth-screen{background:radial-gradient(ellipse at 15% 80%,color-mix(in srgb,var(--accent) 14%,transparent),transparent 38%),linear-gradient(145deg,var(--bg),var(--panel2))!important}
html[data-theme] .auth-story{background:radial-gradient(ellipse at 18% 82%,color-mix(in srgb,var(--accent) 20%,transparent),transparent 48%),linear-gradient(145deg,var(--panel),var(--bg))!important}
html[data-theme] .auth-mode-tabs{background:var(--panel2)!important;border-color:var(--border)!important}
html[data-theme] .auth-mode-tab.active{background:color-mix(in srgb,var(--accent) 18%,var(--panel2))!important;color:var(--accent2)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent)!important}
html[data-theme] .auth-story h1 span,html[data-theme] .auth-story-kicker,html[data-theme] .auth-form-brand-icon,
html[data-theme] .auth-bottom-switch button,html[data-theme] .forgot-btn{color:var(--accent2)!important}
html[data-theme] .theme-swatch.selected{border-color:var(--accent)!important}
html[data-theme] .header-tool-btn{color:var(--text)!important}
html[data-theme] .floating-support img,html[data-theme] .nav-icon-btn img,html[data-theme] .side-menu-item img,
html[data-theme] .account-btn-avatar img{filter:brightness(0) invert(1)}
html[data-theme="light"] .floating-support img,html[data-theme="light"] .nav-icon-btn img,
html[data-theme="light"] .side-menu-item img,html[data-theme="light"] .account-btn-avatar img{filter:brightness(0)}
.header-tool-btn>i:first-child{position:static!important;display:grid;place-items:center;min-width:0;height:auto;border-radius:0;background:transparent;color:inherit;font-size:17px;font-style:normal}
.header-tool-btn #headerUnread:not(.hidden){position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid var(--panel);border-radius:999px;background:#e33;color:#fff;font:700 9px/1 Vazirmatn,Tahoma,sans-serif}
html[data-theme="light"] body.light-theme .topbar,html[data-theme="light"] body.light-theme .site-footer,
html[data-theme="light"] body.light-theme .side-menu,html[data-theme="light"] body.light-theme .panel-card,
html[data-theme="light"] body.light-theme .product-card,html[data-theme="light"] body.light-theme .order-card,
html[data-theme="light"] body.light-theme .modal-card,html[data-theme="light"] body.light-theme .ticket-card,
html[data-theme="light"] body.light-theme .auth-figma-card,html[data-theme="light"] body.light-theme .auth-story{
  background-color:var(--panel)!important;color:var(--text)!important;border-color:var(--border)!important
}
.license-notice{position:sticky;top:0;z-index:1000;padding:12px 18px;text-align:center;background:#5b2614;color:#fff;border-bottom:1px solid #e39c56;font:inherit;font-size:14px;font-weight:600;line-height:1.6}
.license-notice.hidden{display:none}
.owner-license-messages{position:relative;z-index:999;display:grid;gap:8px;padding:10px 16px;background:#171526;border-bottom:1px solid #514394}
.owner-license-message{display:flex;align-items:center;justify-content:space-between;gap:14px;width:min(1100px,100%);margin:auto;padding:12px 16px;border:1px solid #6558ac;border-radius:12px;background:#211d38;color:#f5f1ff}
.owner-license-message p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.owner-license-message small{color:#c3badf}
.owner-license-message .btn{flex:none}
.owner-license-messages.hidden{display:none}
@media(max-width:600px){.owner-license-message{align-items:flex-start;flex-direction:column}}

/* V10 Update 2.16 — Responsive stability pass.
   Frontend-only: no backend, routes, ports, dependencies, or deployment settings changed. */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%}
input,select,textarea,button{min-width:0}
.screen,.site-footer{box-sizing:border-box}
.panel-card,.product-card,.order-card,.cart-item,.table-row,.role-editor,.store-admin-row,.ticket-card,.notification-card,.inventory-row,.compare-card{min-width:0}
.product-body,.grow,.table-row>*,.ticket-card>div,.notification-card>div,.inventory-row>*,.store-admin-row>*,.order-card>*{min-width:0}
.product-body h3,.muted,.table-row small,.ticket-card small,.notification-card p,.store-admin-row small{overflow-wrap:anywhere}

@media (max-width: 900px){
  .screen{width:calc(100% - 32px);max-width:1180px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .perm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ticket-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-detail-grid{grid-template-columns:1fr}
  .topbar{gap:8px;padding-inline:12px}
  .topbar nav{max-width:calc(100vw - 190px)!important;overflow-x:auto!important}
  .topbar nav button.nav-icon-btn{flex:0 0 auto}
  .section-head,.admin-head{align-items:flex-start}
  .cart-item{align-items:flex-start}
  .order-card{align-items:flex-start}
}

@media (max-width: 700px){
  .screen{width:calc(100% - 24px);padding-top:24px;padding-bottom:56px}
  .hero-center{padding:48px 0 34px;min-height:auto}
  .hero-center h1{font-size:clamp(34px,10vw,54px);line-height:1.08;letter-spacing:-1.5px}
  .hero-center p{font-size:14px;line-height:1.9}
  .hero-search,.hero-actions,.detail-foot,.product-foot,.support-head,.cart-summary,.admin-head-actions{width:100%;flex-direction:column;align-items:stretch}
  .hero-search .btn,.hero-actions .btn,.detail-foot .btn,.product-foot .btn,.admin-head-actions .btn{width:100%}
  .product-grid,.panel-grid,.form-grid,.perm-grid,.quick-admin-grid,.feature-list-grid{grid-template-columns:1fr}
  .filterbar{display:grid;grid-template-columns:1fr;gap:8px}
  .filterbar select{width:100%}
  .table-row{flex-wrap:wrap;align-items:flex-start}
  .table-row>*{max-width:100%}
  .table-row .grow{flex:1 1 100%}
  .order-card{flex-wrap:wrap}
  .order-card img{width:88px;height:66px;flex:0 0 auto}
  .cart-item{flex-wrap:wrap}
  .cart-item img{width:76px;height:62px;flex:0 0 auto}
  .cart-item .grow{flex:1 1 calc(100% - 100px)}
  .qty{flex-wrap:wrap}
  .empty{padding:42px 18px}
  .panel-card{padding:15px}
  .modal{padding:8px}
  .modal-card{width:100%;max-height:calc(100svh - 16px);padding:17px!important;border-radius:18px}
  .site-footer{width:calc(100% - 24px);padding-bottom:28px;flex-wrap:wrap;text-align:center;justify-content:center}
  .support-toolbar{display:flex;flex-direction:column}
  .ticket-admin-controls{grid-template-columns:1fr 1fr}
  .ticket-admin-controls .btn{grid-column:span 2}
  .ticket-message{max-width:94%}
  .canned-reply-row{grid-template-columns:1fr}
  .inventory-row{align-items:flex-start;flex-wrap:wrap}
  .inventory-row .inventory-input{max-width:100%;width:100%;margin-inline-start:0}
  .store-admin-row{align-items:flex-start;flex-wrap:wrap}
  .store-admin-actions{width:100%}
  .store-admin-actions .btn{flex:1 1 100%}
  .account-action-grid{grid-template-columns:1fr}
  .role-user-head{flex-wrap:wrap}
  .security-check,.activity-row{align-items:flex-start;flex-wrap:wrap}
}

@media (max-width: 560px){
  .topbar{min-height:74px!important;height:74px!important;padding-inline:10px!important}
  .topbar nav{top:50%!important;width:calc(100vw - 128px)!important;max-width:calc(100vw - 128px)!important;justify-content:flex-start!important}
  .topbar nav button.nav-icon-btn{min-width:40px!important;padding:7px 8px!important}
  .topbar nav button.nav-icon-btn span{display:none!important}
  .top-actions{left:10px!important;right:auto!important;top:50%!important}
  body.ltr .top-actions{left:auto!important;right:10px!important}
  .menu-btn{right:10px!important;left:auto!important;top:50%!important}
  body.ltr .menu-btn{left:10px!important;right:auto!important}
  .language-switch{padding:8px 9px}
  .account-btn{min-width:46px!important;width:46px!important;height:42px!important;padding:5px!important;justify-content:center}
  .account-btn #accountBtnLabel,.account-btn-chevron{display:none!important}
  .section-head,.admin-head{gap:10px}
  .section-head h2,.admin-head h2{font-size:26px}
  .product-cover{height:190px;min-height:0}
  .product-body{padding:13px}
  .product-body h3{font-size:18px}
  .product-foot{gap:10px}
  .card-actions{width:100%;justify-content:stretch}
  .card-actions>*{flex:1 1 100%}
  .auth-register-grid{grid-template-columns:1fr!important}
  .auth-options-row{flex-direction:column;align-items:stretch;gap:8px}
  .auth-options-row>*{max-width:none!important;width:100%}
  .ticket-stats-grid{grid-template-columns:1fr 1fr}
  .ticket-stat{min-width:0}
  .ticket-stat b{font-size:20px}
}

@media (max-width: 380px){
  .screen{width:calc(100% - 18px)}
  .topbar nav{width:calc(100vw - 116px)!important;max-width:calc(100vw - 116px)!important}
  .top-actions{left:8px!important}
  body.ltr .top-actions{left:auto!important;right:8px!important}
  .menu-btn{right:8px!important}
  body.ltr .menu-btn{left:8px!important;right:auto!important}
  .language-switch{padding-inline:7px}
  .floating-refresh,.floating-support,.floating-backtop{width:46px!important;height:46px!important}
  .ticket-stats-grid{grid-template-columns:1fr}
  .panel-card{padding:13px}
  .auth-figma-card{padding-inline:16px!important}
}

@media (hover:none){
  .product-card:hover,.ticket-card:hover,.store-admin-row:hover,.notification-card:hover,.inventory-row:hover,.compare-card:hover{transform:none}
}


/* Product Extensions */
.extension-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.extension-card{display:flex;align-items:center;gap:12px;text-align:inherit;width:100%;padding:14px;border:1px solid #242424;background:#101010;color:inherit;border-radius:16px;transition:.18s;cursor:pointer}
.extension-card:hover{border-color:#444;transform:translateY(-2px);background:#141414}
.extension-card.active{border-color:#666;box-shadow:0 0 0 1px rgba(255,255,255,.04) inset}
.extension-card>span:nth-child(2){flex:1;min-width:0}.extension-card b,.extension-card small{display:block}.extension-card small{color:#8f8f8f;font-size:11px;margin-top:4px}.extension-card>i{color:#777;font-size:12px}.extension-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#181818;border:1px solid #292929;font-size:16px;flex:0 0 auto}
.extension-editor{display:grid;gap:12px;margin:18px 0}.extension-editor label{display:grid;gap:7px;color:#aaa;font-size:13px}.extension-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.extension-check,.extension-toggle{display:flex!important;align-items:center;gap:8px!important;color:#aaa!important}.extension-check input,.extension-toggle input{accent-color:#fff}.extension-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.extension-modal-head{margin-bottom:4px}.extension-help{padding:12px;border:1px dashed #292929;border-radius:12px}.product-extension-badges{position:absolute;z-index:3;right:12px;left:12px;bottom:12px;display:flex;gap:5px;flex-wrap:wrap;pointer-events:none}.product-extension-badge{font-style:normal;font-size:10px;padding:5px 8px;border-radius:999px;background:rgba(0,0,0,.72);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px)}.old-price{text-decoration:line-through;color:#777;font-size:12px;font-weight:500;margin-inline-end:5px}.discounted-price{font-weight:800}.product-extension-badge.featured-badge{border-color:#666}
html[data-theme="light"] .extension-card,body.light-theme .extension-card{background:#fff;border-color:#ddd}html[data-theme="light"] .extension-icon,body.light-theme .extension-icon{background:#f4f4f4;border-color:#ddd}html[data-theme="light"] .extension-help,body.light-theme .extension-help{border-color:#ddd}
@media (max-width:760px){.extension-grid{grid-template-columns:1fr}.extension-form-grid{grid-template-columns:1fr}.extension-editor-actions>*{flex:1 1 100%}}

/* UNKNOW SHOP HOME UPDATE */
.account-btn{min-width:132px!important;height:40px!important;padding:4px 9px 4px 7px!important;border-radius:13px!important;gap:7px!important}
.account-btn-avatar{width:28px!important;height:28px!important;flex-basis:28px!important}
.account-btn-avatar img{width:17px!important;height:17px!important}
.account-btn #accountBtnLabel{font-size:13px!important}

.home-screen{padding-top:22px}
.home-hero{min-height:auto!important;padding:12px 0 30px!important;justify-content:flex-start!important}
.home-hero .hero-logo{font-size:clamp(36px,5vw,58px)!important;letter-spacing:-3px!important;margin:4px 0 6px!important}
.home-hero p{font-size:14px!important;margin:0;color:var(--muted)}
.home-category-section,.home-featured-section{margin-top:12px}
.home-section-head{margin-bottom:16px}
.home-section-head h2{font-size:27px!important;margin:5px 0!important}
.home-section-head h2 span{color:var(--accent)}
.home-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.home-category-card{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:16px;padding:17px;text-align:right;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:125px;transition:.2s;cursor:pointer}
.home-category-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 12px 28px color-mix(in srgb,var(--accent) 12%,transparent)}
.home-category-card b{font-size:15px}.home-category-card small{font-size:11px;color:var(--muted)}
.home-category-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 13%,var(--panel2));color:var(--accent);font-size:17px;margin-bottom:4px}
.home-featured-section{margin-top:38px;padding-bottom:25px}
.featured-carousel{position:relative;min-height:350px;border:1px solid var(--border);border-radius:24px;background:var(--panel);overflow:hidden;display:flex;align-items:center;padding:20px 62px}
.featured-slide{width:100%;display:grid;grid-template-columns:1.08fr .92fr;direction:ltr;align-items:center;gap:34px}
.featured-info{direction:rtl;text-align:right;padding:12px 8px}.featured-category{font-size:12px;color:var(--muted);margin-top:12px}.featured-info h3{font-size:34px;margin:8px 0 12px}.featured-info p{color:var(--muted);line-height:2;font-size:14px;min-height:54px;max-width:600px}.featured-price{font-size:24px;font-weight:900;margin:18px 0}.featured-actions{display:flex;gap:9px;justify-content:flex-start;flex-wrap:wrap}.featured-image{direction:rtl;height:300px;border-radius:20px;overflow:hidden;background:var(--panel2);border:1px solid var(--border);display:grid;place-items:center}.featured-image img{width:100%;height:100%;object-fit:cover}.featured-no-image{font-size:45px;color:var(--muted)}
.featured-arrow{position:absolute;z-index:3;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:var(--panel2);color:var(--text);display:grid;place-items:center;transition:.2s}.featured-arrow:hover{border-color:var(--accent);color:var(--accent);transform:scale(1.05)}.featured-prev{right:16px}.featured-next{left:16px}
.featured-dots{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:6px;direction:ltr}.featured-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:var(--muted);opacity:.45}.featured-dots button.active{width:22px;border-radius:99px;background:var(--accent);opacity:1}.featured-carousel.empty{justify-content:center}.featured-empty{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--muted)}.featured-empty i{font-size:30px;color:var(--accent)}
@media(max-width:760px){.home-screen{padding-top:15px}.home-hero{padding-bottom:22px!important}.home-hero .hero-logo{font-size:36px!important}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-category-card{min-height:112px;padding:13px}.featured-carousel{padding:15px 48px 34px;min-height:0}.featured-slide{grid-template-columns:1fr;gap:14px}.featured-image{order:-1;height:210px}.featured-info{padding:0 4px}.featured-info h3{font-size:25px}.featured-info p{min-height:auto;margin-bottom:5px}.featured-price{font-size:21px;margin:12px 0}.featured-prev{right:8px}.featured-next{left:8px}}
@media(max-width:480px){.account-btn{min-width:112px!important;width:auto!important;height:38px!important}.account-btn-avatar{width:26px!important;height:26px!important;flex-basis:26px!important}.account-btn #accountBtnLabel{font-size:12px!important}.home-category-grid{grid-template-columns:1fr 1fr}.home-section-head{align-items:flex-start!important}.home-section-head .small-btn{padding:8px 9px}.featured-carousel{padding-inline:42px}.featured-image{height:180px}}

/* ===== Wallet + smooth featured carousel ===== */
.wallet-shell{max-width:1100px;margin:0 auto;padding-bottom:40px}
.wallet-balance-card{position:relative;overflow:hidden;border-radius:28px;padding:28px;background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--accent) 9%,var(--panel)));border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border));box-shadow:0 18px 55px rgba(0,0,0,.18)}
.wallet-balance-card:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;inset-inline-end:-100px;top:-120px;background:color-mix(in srgb,var(--accent) 13%,transparent);filter:blur(2px)}
.wallet-balance-label{color:var(--muted);font-size:13px}.wallet-balance-value{font-size:40px;font-weight:900;margin:8px 0}.wallet-balance-sub{font-size:12px;color:var(--muted)}
.wallet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.wallet-action{min-height:58px;border:1px solid var(--border);border-radius:16px;background:var(--panel2);color:var(--text);display:flex;align-items:center;justify-content:center;gap:10px;font-weight:800;cursor:pointer;transition:.2s}.wallet-action:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:0 12px 30px color-mix(in srgb,var(--accent) 12%,transparent)}.wallet-action.primary{background:var(--button);color:var(--buttonText);border-color:var(--button)}
.wallet-sections{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.wallet-list{display:grid;gap:9px}.wallet-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--border);border-radius:15px;background:var(--panel2)}.wallet-row-main{min-width:0}.wallet-row-main b,.wallet-row-main small{display:block}.wallet-row-main small{color:var(--muted);margin-top:4px}.wallet-amount{font-weight:900;white-space:nowrap}.wallet-amount.deposit{color:#55c58a}.wallet-amount.withdraw{color:#e47a7a}.wallet-status{font-size:11px;padding:5px 9px;border-radius:999px;background:var(--panel);border:1px solid var(--border)}
.wallet-card-visual{border-radius:24px;padding:22px;color:#fff;background:linear-gradient(135deg,#1c1c1c,#383838);border:1px solid rgba(255,255,255,.15);box-shadow:0 20px 45px rgba(0,0,0,.25);position:relative;overflow:hidden}.wallet-card-visual:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-80px;top:-95px;background:rgba(255,255,255,.08)}.wallet-card-brand{font-weight:900;letter-spacing:.5px}.wallet-card-number{font-size:22px;letter-spacing:2px;margin:32px 0 22px;direction:ltr;text-align:center}.wallet-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px}.wallet-card-meta small{display:block;opacity:.65;margin-bottom:4px}.wallet-card-meta b{display:block;word-break:break-word}
.wallet-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wallet-note{padding:12px;border:1px dashed var(--border);border-radius:14px;color:var(--muted);font-size:12px;line-height:1.9}.wallet-file{display:grid;gap:8px}.wallet-file input{width:100%}
.featured-slide-next{animation:featuredInNext .42s cubic-bezier(.22,.8,.25,1) both}.featured-slide-prev{animation:featuredInPrev .42s cubic-bezier(.22,.8,.25,1) both}@keyframes featuredInNext{from{opacity:0;transform:translateX(42px)}to{opacity:1;transform:translateX(0)}}@keyframes featuredInPrev{from{opacity:0;transform:translateX(-42px)}to{opacity:1;transform:translateX(0)}}
.account-btn{min-width:132px!important;height:40px!important;padding:4px 10px 4px 7px!important;border-radius:13px!important;gap:7px!important}.account-btn-avatar{width:28px!important;height:28px!important;flex-basis:28px!important}.account-btn-avatar img{width:17px!important;height:17px!important}.account-btn #accountBtnLabel{font-size:13px!important}
.admin-wallet-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.admin-wallet-stat{padding:15px;border:1px solid var(--border);border-radius:16px;background:var(--panel2)}.admin-wallet-stat b{display:block;font-size:22px;margin-top:4px}.wallet-admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.wallet-admin-tabs .active{border-color:var(--accent);color:var(--accent)}.wallet-admin-request{cursor:pointer;text-align:inherit;width:100%;border:1px solid var(--border);background:var(--panel2);color:var(--text);border-radius:16px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;transition:.2s}.wallet-admin-request:hover{border-color:var(--accent);transform:translateY(-1px)}.wallet-admin-request small{display:block;color:var(--muted);margin-top:5px}.wallet-admin-users{display:grid;gap:10px}.wallet-admin-user{border:1px solid var(--border);border-radius:16px;background:var(--panel2);overflow:hidden}.wallet-admin-user>button{width:100%;border:0;background:transparent;color:var(--text);padding:15px;display:flex;justify-content:space-between;text-align:right;cursor:pointer}.wallet-admin-user-detail{display:none;padding:0 15px 15px;border-top:1px solid var(--border)}.wallet-admin-user.open .wallet-admin-user-detail{display:block}
@media(max-width:760px){.wallet-sections{grid-template-columns:1fr}.wallet-actions{grid-template-columns:1fr}.wallet-form-grid{grid-template-columns:1fr}.wallet-balance-value{font-size:32px}.admin-wallet-stats{grid-template-columns:1fr}.wallet-card-number{font-size:18px}}
