*{box-sizing:border-box;margin:0;padding:0;font-family:'Vazirmatn',sans-serif}
body{direction:rtl;background:#0b0d16;color:#fff;min-height:100vh;overflow-x:hidden}
body:before{content:'';position:fixed;top:-160px;right:-160px;width:520px;height:520px;background:#7c4dff;filter:blur(190px);opacity:.28;z-index:-1}
body:after{content:'';position:fixed;bottom:-160px;left:-160px;width:500px;height:500px;background:#22c55e;filter:blur(220px);opacity:.12;z-index:-1}
a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 28px));margin:auto}
.top-date{text-align:center;color:#cbd5e1;padding:13px 0;font-size:14px}
.glass-header{position:sticky;top:12px;z-index:50;margin-bottom:36px}.header-inner{background:rgba(24,27,42,.78);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.09);border-radius:24px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 22px 70px rgba(0,0,0,.28)}
.brand{display:flex;align-items:center;gap:12px}.logo{width:48px;height:48px;border-radius:17px;background:linear-gradient(135deg,#7c4dff,#a78bfa);display:flex;align-items:center;justify-content:center;overflow:hidden}.logo img{width:100%;height:100%;object-fit:contain}.brand strong{font-size:22px}
.menu{display:flex;align-items:center;gap:8px}.menu a{color:#cbd5e1;padding:10px 13px;border-radius:13px}.menu a:hover{background:rgba(255,255,255,.07);color:#fff}.auth-actions{display:flex;gap:10px;align-items:center}
.btn{border:0;background:#7c4dff;color:#fff;padding:12px 16px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-family:inherit}.btn.gray{background:#374151}.btn.green{background:#22c55e}.btn.orange{background:#f59e0b}.btn.blue{background:#3b82f6}.btn:disabled{opacity:.5;cursor:not-allowed}
.mobile-menu-btn{display:none}.hero{text-align:center;padding:42px 0 26px}.hero h1{font-size:42px;line-height:1.7;margin-bottom:8px}.hero p{color:#cbd5e1;line-height:2;font-size:17px;max-width:760px;margin:auto}
.steps{max-width:850px;margin:22px auto 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step-dot{background:#181b2a;border:1px solid rgba(255,255,255,.07);border-radius:20px;padding:14px;display:flex;align-items:center;gap:10px;color:#94a3b8}.step-dot b{width:34px;height:34px;border-radius:12px;background:#11131c;display:flex;align-items:center;justify-content:center}.step-dot.active{background:rgba(124,77,255,.16);border-color:#7c4dff;color:#fff}.step-dot.active b{background:#7c4dff}
.checkout-card{background:rgba(24,27,42,.86);border:1px solid rgba(255,255,255,.08);border-radius:30px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.28);margin-bottom:42px}.step-panel{display:none}.step-panel.active{display:block}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:20px}.panel-title h2{font-size:22px}.panel-title p{color:#94a3b8;line-height:1.8;margin-top:5px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.choice{background:#11131c;border:1px solid rgba(255,255,255,.07);border-radius:20px;padding:18px;cursor:pointer;transition:.2s;min-height:132px;display:flex;flex-direction:column;justify-content:space-between}.choice:hover,.choice.selected{border-color:#7c4dff;background:rgba(124,77,255,.15);transform:translateY(-2px)}.choice img{width:46px;height:46px;border-radius:15px;object-fit:cover}.choice i{font-size:28px;color:#a78bfa}.choice strong{display:block;margin-top:14px}.choice span{display:block;color:#94a3b8;font-size:13px;margin-top:6px;line-height:1.7}
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product{background:#11131c;border:1px solid rgba(255,255,255,.07);border-radius:22px;padding:18px;cursor:pointer;transition:.2s}.product:hover,.product.selected{border-color:#22c55e;background:rgba(34,197,94,.12)}.product .thumb{width:100%;height:135px;border-radius:17px;object-fit:cover;background:#0b0d16;margin-bottom:14px}.product h3{font-size:17px;margin-bottom:8px}.product p{color:#94a3b8;line-height:1.8;font-size:13px}.price{margin-top:12px;color:#72ff9d;font-weight:900}.stock{margin-top:8px;color:#cbd5e1;font-size:13px}
.summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}.summary-box,.pay-box{background:#11131c;border:1px solid rgba(255,255,255,.07);border-radius:22px;padding:18px}.summary-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06)}.summary-row:last-child{border:0}.summary-row span{color:#94a3b8}.pay-methods{display:grid;gap:10px;margin-top:12px}.pay-method{display:flex;align-items:center;gap:12px;background:#0b0d16;border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:13px;cursor:pointer}.pay-method.selected{border-color:#7c4dff;background:rgba(124,77,255,.14)}.pay-method input{accent-color:#7c4dff}
.pay-note{margin-top:14px;background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.2);color:#fbbf24;padding:12px;border-radius:14px;line-height:1.8;font-size:13px}.nav-buttons{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.alert{padding:14px 16px;border-radius:15px;margin-bottom:16px;line-height:1.8}.alert.danger{background:rgba(239,68,68,.15);color:#ff7272;border:1px solid rgba(239,68,68,.25)}.alert.success{background:rgba(34,197,94,.15);color:#72ff9d;border:1px solid rgba(34,197,94,.25)}
.footer{margin-top:42px;padding:28px 0;border-top:1px solid rgba(255,255,255,.08);color:#94a3b8;text-align:center;line-height:2}.footer strong{color:#fff}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.products-grid{grid-template-columns:repeat(2,1fr)}.summary{grid-template-columns:1fr}.hero h1{font-size:32px}}
@media(max-width:768px){.top-date{padding-top:78px}.glass-header{position:fixed;top:10px;right:10px;left:10px;margin:0}.header-inner{border-radius:20px}.menu{display:none;position:absolute;top:78px;right:0;left:0;background:#181b2a;border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:12px;flex-direction:column}.menu.active{display:flex}.menu a{width:100%;text-align:center}.mobile-menu-btn{display:inline-flex}.auth-actions .login-label{display:none}.brand strong{font-size:18px}.hero{padding-top:16px}.hero h1{font-size:25px}.steps{grid-template-columns:1fr}.checkout-card{padding:16px;border-radius:22px}.grid,.products-grid{grid-template-columns:1fr}.panel-title{flex-direction:column}.nav-buttons{display:grid;grid-template-columns:1fr}.btn{width:100%}}
