.notifPage{position:fixed;top:0;left:0;right:0;bottom:0;background:#f5f0eb;z-index:10000;transform:translateX(100%);transition:transform .38s cubic-bezier(.32,1.1,.45,1);display:flex;flex-direction:column;}
.notifPage.show{transform:translateX(0);}
.notifHeader{display:flex;align-items:center;justify-content:space-between;padding:54px 20px 14px;background:#f5f0eb;flex-shrink:0;}
.notifBackBtn{width:36px;height:36px;background:white;border-radius:10px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.07);}
.notifHeaderTitle{font-size:20px;font-weight:800;color:#1a1a1a;}
.notifMarkAllBtn{font-size:12px;font-weight:700;color:#c67b4f;background:rgba(198,123,79,.1);border:none;border-radius:20px;padding:7px 14px;cursor:pointer;font-family:'Poppins',sans-serif;transition:background .15s;}
.notifMarkAllBtn:active{background:rgba(198,123,79,.2);}
.notifFilterRow{display:flex;gap:8px;padding:0 20px 14px;overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none;flex-shrink:0;}
.notifFilterRow::-webkit-scrollbar{display:none;}
.notifFilterChip{flex-shrink:0;display:flex;align-items:center;gap:5px;padding:8px 16px;border-radius:20px;border:1.5px solid #e0d9d2;background:white;font-size:12px;font-weight:700;color:#aaa;cursor:pointer;font-family:'Poppins',sans-serif;transition:all .18s;}
.notifFilterChip.active{background:#c67b4f;border-color:#c67b4f;color:white;box-shadow:0 3px 12px rgba(198,123,79,.3);}
.notifChipCount{font-size:10px;font-weight:800;background:rgba(255,255,255,.35);border-radius:10px;padding:1px 6px;min-width:16px;text-align:center;}
.notifFilterChip:not(.active) .notifChipCount{background:#f0ebe5;color:#c67b4f;}
.notifScroll{flex:1;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none;padding:0 16px 40px;}
.notifScroll::-webkit-scrollbar{display:none;}
.notifGroupLabel{font-size:11px;font-weight:800;color:#bbb;text-transform:uppercase;letter-spacing:.6px;padding:16px 4px 8px;}
.notifCard{background:white;border-radius:18px;padding:14px 16px;margin-bottom:10px;display:flex;align-items:flex-start;gap:13px;cursor:pointer;transition:box-shadow .15s,transform .1s;position:relative;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.04);}
.notifCard:active{transform:scale(.985);}
.notifCard.unread{box-shadow:0 3px 16px rgba(0,0,0,.07);}
.notifCard.unread::before{content:'';position:absolute;top:0;right:0;bottom:0;width:3px;background:#c67b4f;border-radius:0 18px 18px 0;}
.notifIconWrap{width:48px;height:48px;border-radius:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.notifIconWrap svg{width:22px;height:22px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.notifIconWrap.order{background:#fff3ec;}.notifIconWrap.order svg{stroke:#c67b4f;}
.notifIconWrap.delivered{background:#e9faf0;}.notifIconWrap.delivered svg{stroke:#27ae60;}
.notifIconWrap.rating{background:#fef9ec;}.notifIconWrap.rating svg{stroke:#f39c12;}
.notifIconWrap.promo{background:#ffeef8;}.notifIconWrap.promo svg{stroke:#e91e8c;}
.notifIconWrap.wallet{background:#eef4ff;}.notifIconWrap.wallet svg{stroke:#3b82f6;}
.notifIconWrap.system{background:#f3f0ff;}.notifIconWrap.system svg{stroke:#7c3aed;}
.notifIconWrap.cancelled{background:#fff0f0;}.notifIconWrap.cancelled svg{stroke:#e74c3c;}
.notifContent{flex:1;min-width:0;}
.notifCardTop{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:3px;}
.notifTitle{font-size:13px;font-weight:700;color:#1a1a1a;line-height:1.4;}
.notifCard.unread .notifTitle{font-weight:800;}
.notifTime{font-size:10px;color:#bbb;white-space:nowrap;flex-shrink:0;margin-top:2px;}
.notifBody{font-size:12px;color:#888;line-height:1.6;}
.notifCard.unread .notifBody{color:#666;}
.notifUnreadDot{width:8px;height:8px;border-radius:50%;background:#c67b4f;flex-shrink:0;margin-top:4px;box-shadow:0 0 0 3px rgba(198,123,79,.2);}
.notifActions{display:flex;gap:6px;margin-top:10px;}
.notifActionBtn{padding:7px 14px;border-radius:20px;border:none;font-size:11px;font-weight:700;cursor:pointer;font-family:'Poppins',sans-serif;transition:all .15s;}
.notifActionBtn.primary{background:#c67b4f;color:white;box-shadow:0 3px 10px rgba(198,123,79,.25);}
.notifActionBtn.secondary{background:#f5f0eb;color:#555;}
.notifThumbStrip{display:flex;gap:5px;margin-top:9px;}
.notifThumb{width:38px;height:38px;border-radius:10px;object-fit:cover;border:2px solid white;box-shadow:0 2px 6px rgba(0,0,0,.1);}
.notifEmpty{display:flex;flex-direction:column;align-items:center;padding:70px 20px;text-align:center;}
.notifEmptyIcon{width:80px;height:80px;background:white;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:16px;box-shadow:0 4px 18px rgba(0,0,0,.05);}
.notifEmptyTitle{font-size:17px;font-weight:700;color:#1a1a1a;margin-bottom:6px;}
.notifEmptyDesc{font-size:13px;color:#aaa;line-height:1.6;max-width:240px;}
.notifPromoBadge{display:inline-flex;align-items:center;gap:4px;margin-top:8px;padding:5px 11px;border-radius:20px;background:linear-gradient(135deg,#e91e8c,#c67b4f);color:white;font-size:11px;font-weight:800;letter-spacing:.3px;}

.odOverlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:10010;opacity:0;pointer-events:none;transition:opacity .3s;}
.odOverlay.show{opacity:1;pointer-events:all;}
.odSheet{position:fixed;bottom:0;left:0;right:0;border-radius:26px 26px 0 0;z-index:10015;transform:translateY(100%);transition:transform .38s cubic-bezier(.32,1.1,.45,1);max-height:88vh;display:flex;flex-direction:column;overflow:hidden;}
.odSheet.show{transform:translateY(0);}
.odHandle{display:flex;justify-content:center;padding:12px 0 4px;flex-shrink:0;cursor:grab;}
.odHandle div{width:38px;height:4px;background:#ddd;border-radius:2px;}
.odHead{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 16px;flex-shrink:0;}
.odHeadId{font-size:18px;font-weight:800;color:#1a1a1a;}
.odHeadDate{font-size:12px;color:#aaa;margin-top:2px;}
.odHeadClose{width:34px;height:34px;background:white;border-radius:10px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.07);}
.odHeadClose svg{width:18px;height:18px;stroke:#555;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.odStatusRow{padding:0 20px 14px;flex-shrink:0;}
.odStatusPill{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:20px;font-size:12px;font-weight:700;}
.odStatusPill.active{background:#e8f8f0;color:#27ae60;}
.odStatusPill.completed{background:#e8f0fe;color:#1a6ef0;}
.odStatusPill.cancelled{background:#fff0f0;color:#e74c3c;}
.odStatusDot{width:8px;height:8px;border-radius:50%;background:currentColor;}
.odScroll{flex:1;overflow-y:auto;padding:0 16px 24px;-ms-overflow-style:none;scrollbar-width:none;}
.odScroll::-webkit-scrollbar{display:none;}
.odCard{background:white;border-radius:18px;padding:16px;margin-bottom:12px;box-shadow:0 2px 10px rgba(0,0,0,.04);}
.odCardTitle{font-size:11px;font-weight:800;color:#bbb;text-transform:uppercase;letter-spacing:.6px;margin-bottom:12px;}
.odProgress{padding:4px 0 8px;}
.odProgressSteps{display:flex;align-items:flex-start;justify-content:space-between;position:relative;}
.odProgressLine{position:absolute;top:13px;left:13px;right:13px;height:3px;z-index:0;}
.odProgressFill{position:absolute;top:0;left:0;height:100%;border-radius:2px;transition:width .6s ease;}
.odProgressStep{display:flex;flex-direction:column;align-items:center;gap:5px;z-index:1;position:relative;flex:1;}
.odProgressDot{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid #f0f0f0;background:white;}
.odProgressDot.active-step{background:white;}
.odProgressDot svg{width:11px;height:11px;stroke:white;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;opacity:0;}
.odProgressDot.done svg{opacity:1;}
.odProgressDot.active-step svg{opacity:1;}
.odProgressLabel{font-size:9px;font-weight:600;color:#ccc;text-align:center;line-height:1.3;}
.odItem{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f5f5f5;}
.odItem:last-child{border-bottom:none;}
.odItemImg{width:56px;height:56px;border-radius:13px;object-fit:cover;flex-shrink:0;}
.odItemInfo{flex:1;min-width:0;}
.odItemName{font-size:14px;font-weight:700;color:#1a1a1a;}
.odItemMeta{font-size:12px;color:#aaa;margin-top:2px;}
.odItemPrice{font-size:14px;font-weight:700;flex-shrink:0;}
.odMetaRow{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f7f7f7;}
.odMetaRow:last-child{border-bottom:none;}
.odMetaLabel{font-size:13px;color:#aaa;display:flex;align-items:center;gap:7px;}
.odMetaLabel svg{width:14px;height:14px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.odMetaValue{font-size:13px;font-weight:600;color:#1a1a1a;text-align:right;max-width:60%;}
.odSumRow{display:flex;justify-content:space-between;padding:7px 0;}
.odSumLabel{font-size:13px;color:#aaa;}
.odSumValue{font-size:13px;font-weight:600;color:#1a1a1a;}
.odSumDivider{height:1px;background:#f0f0f0;margin:8px 0;}
.odSumTotal{display:flex;justify-content:space-between;padding:4px 0;}
.odSumTotalLabel{font-size:15px;font-weight:700;color:#1a1a1a;}
.odSumTotalValue{font-size:20px;font-weight:800;}
.odBottom{padding:12px 16px 36px;flex-shrink:0;display:flex;gap:10px;}
.odBtn{flex:1;padding:14px;border-radius:15px;border:none;font-size:14px;font-weight:700;cursor:pointer;font-family:'Poppins',sans-serif;transition:transform .12s;}
.odBtn:active{transform:scale(.97);}
.odBtn.primary{color:white;box-shadow:0 5px 18px rgba(198,123,79,.3);}
.odBtn.secondary{background:white;color:#555;box-shadow:0 2px 8px rgba(0,0,0,.06);}
.odBtn.danger{background:#fff0f0;color:#e74c3c;}
.odProgressFill{background:linear-gradient(to right,#c67b4f,#e8a96d);}
html[dir="rtl"] .odProgressFill{left:auto;right:0;background:linear-gradient(to left,#c67b4f,#e8a96d);}
.odCancelSheet{position:fixed;bottom:0;left:0;right:0;background:white;border-radius:26px 26px 0 0;z-index:162;transform:translateY(100%);transition:transform .32s cubic-bezier(.32,1.1,.45,1);padding:14px 20px 40px;}
.odCancelSheet.show{transform:translateY(0);}
.odCancelHandle{display:flex;justify-content:center;margin-bottom:16px;}
.odCancelHandle div{width:38px;height:4px;background:#e0e0e0;border-radius:2px;}
.odCancelTitle{font-size:18px;font-weight:800;color:#1a1a1a;margin-bottom:6px;}
.odCancelSub{font-size:13px;color:#aaa;line-height:1.6;margin-bottom:20px;}

.bottomNav .bottomNavBtn{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;overflow:hidden;max-width:52px;transition:max-width .34s cubic-bezier(.32,.72,0,1),background .2s,color .2s;flex-shrink:0;white-space:nowrap;box-sizing:border-box;}
.bottomNav .bottomNavBtn.navTabExpanded{max-width:280px;}
.bottomNav .bottomNavBtn .navTabLabel{font-size:13px;font-weight:600;flex-shrink:0;}
.iconWrap{position:relative;display:inline-flex;align-items:center;justify-content:center;}
.iconBadge{position:absolute;top:-5px;right:-10px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ff4d4f;color:#fff;font-size:10px;font-weight:700;line-height:16px;display:none;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.6);}

@keyframes ndPop{from{opacity:0;transform:scale(.75);}to{opacity:1;transform:scale(1);}}
