*{box-sizing:border-box}body{color:#0f1111;background:#f0f0f1;margin:0;font-family:IRANSans,Vazir,Segoe UI,Tahoma,sans-serif;line-height:1.6}.cart-container{max-width:1280px;margin:0 auto;padding:24px 16px}.cart-topbar{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.cart-topbar h1{align-items:center;gap:10px;margin:0;font-size:22px;font-weight:800;display:flex}.cart-topbar h1:before{content:"";background:#ef4056;border-radius:2px;width:4px;height:26px}.cart-topbar .back{color:#1672dd;border-radius:8px;padding:8px 16px;font-size:14px;font-weight:600;text-decoration:none;transition:background .15s}.cart-topbar .back:hover{background:#fff}.cart-grid{grid-template-columns:1fr 380px;align-items:start;gap:20px;display:grid}@media (width<=960px){.cart-grid{grid-template-columns:1fr}}.cart-items{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000f}.cart-items-head{color:#62666d;background:#fafafa;border-bottom:1px solid #f0f0f1;justify-content:space-between;align-items:center;padding:16px 20px;font-size:14px;display:flex}.cart-items-head .free-ship{color:#00a049;align-items:center;gap:4px;font-weight:700;display:flex}.cart-item{border-bottom:1px solid #f0f0f1;gap:20px;padding:24px 20px;transition:background .15s;display:flex}.cart-item:last-child{border-bottom:none}.cart-item:hover{background:#fafafa}.item-image{background:#fff;border:1px solid #f0f0f1;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:140px;height:140px;padding:10px;display:flex}.item-image img{object-fit:contain;max-width:100%;max-height:100%}.item-main{flex-direction:column;flex:1;gap:12px;min-width:0;display:flex}.item-title{color:#0f1111;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;font-weight:700;line-height:1.75;display:-webkit-box;overflow:hidden}.item-features{flex-wrap:wrap;gap:8px;display:flex}.feature-chip{color:#00a049;background:#e6f7ee;border-radius:20px;align-items:center;gap:3px;padding:4px 10px;font-size:11px;font-weight:600;display:flex}.item-bottom{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-top:auto;display:flex}.qty-control{background:#f5f5f5;border-radius:10px;align-items:center;gap:4px;padding:4px;display:inline-flex}.qty-btn{color:#ef4056;cursor:pointer;background:#fff;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:18px;font-weight:700;transition:all .15s;display:flex;box-shadow:0 1px 3px #0000000d}.qty-btn:hover{color:#fff;background:#ef4056}.qty-btn:disabled{color:#ccc;cursor:not-allowed;background:#fafafa}.qty-value{text-align:center;min-width:34px;font-size:15px;font-weight:800}.item-price-block{text-align:left;flex-direction:column;align-items:flex-end;gap:4px;display:flex}.price-final{color:#0f1111;direction:ltr;align-items:center;gap:4px;font-size:19px;font-weight:800;display:flex}.price-final .unit{color:#62666d;font-size:11px;font-weight:400}.price-unit-row{color:#62666d;font-size:12px}.item-remove{color:#ef4056;cursor:pointer;background:#fef2f4;border:none;border-radius:8px;flex-shrink:0;align-self:flex-start;padding:8px;font-size:16px;transition:all .15s}.item-remove:hover{color:#fff;background:#ef4056}.summary{background:#fff;border-radius:16px;position:sticky;top:90px;overflow:hidden;box-shadow:0 2px 8px #0000000f}.summary-header{background:#fafafa;border-bottom:1px solid #f0f0f1;padding:18px 20px;font-size:16px;font-weight:800}.summary-body{padding:20px}.summary-row{justify-content:space-between;padding:10px 0;font-size:14px;display:flex}.summary-row .label{color:#62666d}.summary-row .value{font-weight:600}.summary-row.total{border-top:2px dashed #f0f0f1;margin-top:12px;padding-top:16px;font-size:17px;font-weight:800}.summary-row.total .value{color:#ef4056;font-size:20px}.customer-section{border-top:1px solid #f0f0f1;margin-top:24px;padding-top:20px}.customer-section-title{align-items:center;gap:6px;margin-bottom:14px;font-size:14px;font-weight:700;display:flex}.customer-card{background:linear-gradient(135deg,#fef8f9,#fff);border:1.5px solid #fde2e7;border-radius:12px;align-items:center;gap:12px;padding:14px;display:flex}.customer-avatar{color:#fff;background:linear-gradient(135deg,#ef4056,#ff6b7e);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:16px;font-weight:800;display:flex}.customer-info{flex:1;min-width:0}.customer-info .name{color:#0f1111;margin-bottom:2px;font-size:14px;font-weight:700}.customer-info .phone{color:#62666d;text-align:right;direction:ltr;font-family:monospace;font-size:12px}.customer-info .edit-link{color:#1672dd;font-size:11px;text-decoration:none}.customer-info .edit-link:hover{text-decoration:underline}.login-required{text-align:center;background:#fff8e6;border:1.5px dashed #ffb020;border-radius:12px;padding:16px}.login-required .icon{margin-bottom:8px;font-size:28px}.login-required .title{color:#0f1111;margin-bottom:4px;font-size:14px;font-weight:700}.login-required .desc{color:#62666d;margin-bottom:12px;font-size:12px}.login-required .login-btn{color:#fff;background:#ef4056;border-radius:10px;padding:10px 24px;font-size:13px;font-weight:700;text-decoration:none;transition:background .15s;display:inline-block}.login-required .login-btn:hover{background:#d6394a}.checkout-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4056,#ff6b7e);border:none;border-radius:12px;width:100%;margin-top:20px;padding:16px;font-family:inherit;font-size:15px;font-weight:800;transition:all .2s;box-shadow:0 4px 14px #ef405659}.checkout-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #ef405673}.checkout-btn:disabled{box-shadow:none;cursor:not-allowed;background:#ccc;transform:none}.secure-note{text-align:center;color:#62666d;justify-content:center;align-items:center;gap:4px;margin-top:14px;font-size:11px;display:flex}.empty-state{text-align:center;background:#fff;border-radius:20px;max-width:600px;margin:40px auto;padding:80px 20px;box-shadow:0 2px 8px #0000000f}.empty-icon{background:linear-gradient(135deg,#f5f5f5,#fafafa);border-radius:50%;justify-content:center;align-items:center;width:140px;height:140px;margin:0 auto 24px;font-size:64px;display:flex}.empty-state h2{margin-bottom:12px;font-size:22px}.empty-state p{color:#62666d;margin-bottom:28px;font-size:15px}.empty-btn{color:#fff;background:#ef4056;border-radius:12px;padding:13px 36px;font-weight:700;text-decoration:none;transition:background .15s;display:inline-block}.empty-btn:hover{background:#d6394a}.loading{text-align:center;color:#62666d;padding:100px 20px;font-size:14px}.spinner{border:4px solid #f0f0f1;border-top-color:#ef4056;border-radius:50%;width:48px;height:48px;margin:0 auto 20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.toast{color:#fff;opacity:0;z-index:9999;background:#00a049;border-radius:12px;align-items:center;gap:8px;padding:14px 24px;font-size:14px;font-weight:700;transition:all .3s;display:flex;position:fixed;bottom:24px;left:24px;transform:translateY(20px);box-shadow:0 8px 24px #00000040}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#ef4056}.payment-overlay{z-index:6000;backdrop-filter:blur(8px);background:#000000bf;justify-content:center;align-items:center;padding:16px;display:none;position:fixed;inset:0}.payment-overlay.open{display:flex}.payment-modal{text-align:center;background:#fff;border-radius:24px;width:100%;max-width:420px;padding:40px 32px;animation:.35s cubic-bezier(.68,-.55,.27,1.55) pop;box-shadow:0 30px 80px #00000080}@keyframes pop{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}.payment-spinner{border:5px solid #f0f0f1;border-top-color:#ef4056;border-radius:50%;width:72px;height:72px;margin:0 auto 24px;animation:.8s linear infinite spin}.payment-modal h3{margin:0 0 8px;font-size:19px}.payment-modal p{color:#62666d;margin:0;font-size:14px}@media (width<=600px){.cart-topbar h1{font-size:18px}.cart-item{flex-wrap:wrap;gap:12px;padding:16px;position:relative}.item-image{width:90px;height:90px}.item-title{font-size:13px}.price-final{font-size:16px}.summary{position:static}.item-remove{position:absolute;top:12px;left:12px}}
