@font-face{font-family:NRT;src:url('/fonts/NRT-Bold.ttf') format('truetype');font-display:swap;font-weight:100 900}html body,html body button,html body input,html body select,html body textarea{font-family:NRT,Speda,Tajawal,Arial,sans-serif!important}.v5-btn,.v5-productpick{border:1px solid var(--border);border-radius:11px;background:var(--bg3);color:var(--text);padding:11px 12px;font:inherit;cursor:pointer;min-height:42px}.v5-btn:active,.v5-productpick:active{transform:scale(.97)}.v5-dept{display:flex;gap:7px;flex-wrap:wrap;padding:10px 12px}.v5-dept button{flex:1;white-space:normal}.v5-dept button.active{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}html body #adm-products[data-v5mode=list] #v4SingleForm,html body #adm-products[data-v5mode=list] #v74MassImportBox,html body #adm-products[data-v5mode=list] .v4-product-tabs,html body #adm-products[data-v5mode=list] details.admin-form{display:none!important}html body #adm-products[data-v5mode=add] #admProdGroups,html body #adm-products[data-v5mode=bulk] #admProdGroups,html body #adm-products[data-v5mode=add] #admProdSearch,html body #adm-products[data-v5mode=bulk] #admProdSearch,html body #adm-products .v4-product-tabs{display:none!important}#adm-v5{padding:12px}#adm-v5 h3{margin:8px 0}#adm-v5 input,#adm-v5 select,#adm-v5 textarea,#v5ChatPanel input,.v5-filters input:not([type=checkbox]),.v5-filters select,#v5CategoryDept{width:100%;margin:5px 0;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;min-width:0}.v5-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0}.v5-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v5-kpi{padding:12px;border-radius:12px;background:var(--bg2);border:1px solid var(--border);display:grid;gap:6px}.v5-kpi strong{font-size:20px;color:var(--accent)}.v5-filters{margin-top:8px}.v5-filters summary{cursor:pointer;color:var(--text);padding:5px}.v5-filters[open]{background:var(--bg2);padding:8px;border-radius:12px}.v5-filters label{display:flex;gap:7px;align-items:center}.v5-ad,.v5-deal{margin:12px;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--bg2);color:var(--text);display:grid;gap:7px}.v5-ad img{max-width:100%;max-height:200px;object-fit:contain;border-radius:9px}.v5-ad a{color:var(--accent)}.v5-deal strong{font-variant-numeric:tabular-nums;letter-spacing:2px}.v5-deal b{color:var(--accent);font-size:22px}.v5-promo{position:fixed;top:calc(10px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:20000;padding:16px;border:1px solid var(--accent);border-radius:16px;background:var(--bg2);color:var(--text);box-shadow:0 12px 35px #0004;max-width:90vw;animation:v5pop .3s ease}.v5-offline{position:fixed;top:0;left:0;right:0;z-index:20001;text-align:center;background:#a85c00;color:#fff;padding:6px}.v5-chat-toggle{position:fixed;bottom:calc(90px + env(safe-area-inset-bottom));right:12px;z-index:1100;background:var(--accent);color:var(--on-accent);border:0;border-radius:24px;padding:13px 15px;box-shadow:0 5px 18px #0004}.admin-panel-active .v5-chat-toggle,.admin-panel-active .v5-chat{display:none!important}.v5-chat{position:fixed;z-index:10001;right:12px;bottom:calc(145px + env(safe-area-inset-bottom));width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 180px);overflow:auto;background:var(--bg2);color:var(--text);border:1px solid var(--border);border-radius:18px;padding:13px;box-shadow:0 12px 40px #0005}.v5-chat[hidden],.v5-offline[hidden]{display:none!important}.v5-chat-messages{max-height:33vh;overflow:auto;display:flex;flex-direction:column;gap:8px}.v5-msg{padding:10px;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;background:var(--bg3)}.v5-msg.user{align-self:flex-end;background:var(--accent);color:var(--on-accent)}.v5-msg img{width:100%;border-radius:8px}.v5-productpick{width:100%;text-align:start;margin-top:5px}.v5-chat small{display:block;color:var(--text3)}html body #qvOverlay .qv-modal{border-radius:20px!important;background:var(--bg2)!important;color:var(--text)!important}html body #qvOverlay button{border-radius:12px!important;min-height:44px!important}html body #qvOverlay .btn-primary{background:var(--accent)!important;color:var(--on-accent)!important}html body #heroSlider .hero-slide.active .hs-media{animation:v5slide 5.5s ease-out both!important}html body .hero-slide.active .hs-content{animation:v5headline .5s ease-out both!important}@keyframes v5slide{from{transform:scale(1.055);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes v5headline{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes v5pop{from{opacity:0;top:0}to{opacity:1;top:10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}#relatedStrip{scroll-snap-type:x proximity}#relatedStrip .prod-card{scroll-snap-align:start}
/* V6: compact product detail and messenger-style chat. */
html body .v6-chat{display:flex;flex-direction:column;position:fixed;inset:auto 12px calc(78px + env(safe-area-inset-bottom)) auto;width:min(420px,calc(100vw - 24px));height:min(680px,calc(100dvh - 105px));max-height:calc(100dvh - 105px);padding:0!important;overflow:hidden;border-radius:20px!important;background:var(--bg)!important;box-shadow:0 12px 45px #0005;z-index:20010!important;direction:rtl}
html[dir=ltr] body .v6-chat{direction:ltr}.v6-chat-head{display:flex;align-items:center;gap:10px;padding:12px;background:#075e54;color:#fff;flex:none}.v6-chat-avatar{border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:#e1f3ea;color:#075e54;font-size:23px}.v6-chat-identity{flex:1;min-width:0}.v6-chat-identity h3{font-size:16px;margin:0;color:#fff!important}.v6-chat-identity small{font-size:11px;color:#dcf4ea!important}.v6-chat-icon{border:0;background:#ffffff20;color:#fff;border-radius:50%;height:34px;width:34px;font-size:20px}.v6-chat .v5-chat-messages{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:12px 10px;background:var(--bg);gap:10px;display:flex}.v6-chat .v5-msg{max-width:85%;align-self:flex-start;border-radius:4px 14px 14px 14px;background:var(--bg2);color:var(--text);padding:9px 11px;font-size:14px;line-height:1.55;border:1px solid var(--border)}.v6-chat .v5-msg.user{align-self:flex-end;background:#d9fdd3!important;color:#16382c!important;border-color:transparent;border-radius:14px 4px 14px 14px}body:not(.light) .v6-chat .v5-msg.user{background:#005c4b!important;color:#fff!important}.v6-chat .v5-msg img{display:block;max-height:280px;width:auto;max-width:100%;margin-top:5px;object-fit:contain}.v6-chat .v5-productpick{font-size:12px}.v6-chat-privacy{flex:none;padding:6px 12px;font-size:10px;line-height:1.4;color:var(--text3);background:var(--bg2);border-top:1px solid var(--border)}.v6-composer{display:flex;align-items:center;gap:7px;flex:none;padding:8px;background:var(--bg2)}html body #v5ChatPanel .v6-composer input{flex:1;width:0;min-width:0;margin:0;border-radius:22px;padding:10px 12px;background:var(--bg);color:var(--text);font-size:16px}.v6-send,.v6-attach{flex:none;width:42px;height:42px;border:0;border-radius:50%;display:grid;place-items:center;font-size:21px;background:#075e54;color:#fff}.v6-attach{background:var(--bg3);color:var(--text)}.v6-typing{opacity:.75}.v6-chat [hidden]{display:none!important}.v6-chat button:disabled{opacity:.5}.v6-cart-option{display:block;width:100%;margin:7px 0;padding:7px;border-radius:9px;border:1px solid var(--border);background:var(--bg2);color:var(--text);font:inherit}
html body #page-product .pd-body{padding:14px!important;margin:10px 12px!important;border-radius:15px!important}html body #page-product .pd-name{font-size:18px!important;margin-bottom:8px!important}html body #page-product .pd-price{font-size:23px!important;margin:8px 0!important}html body #page-product .pd-desc:empty,html body #page-product .pd-opt-desc:empty,html body #qvDesc:empty{display:none!important}html body #page-product .pd-options{margin:8px 0 0!important}html body #page-product .pd-options h4{margin:5px 0!important}html body #page-product .pd-opt-pill{padding:7px 10px!important;min-height:34px!important;font-size:13px!important}html body #page-product .pd-actions{display:grid!important;grid-template-columns:104px 42px minmax(0,1fr)!important;gap:6px!important;padding:7px!important;margin:8px 12px!important;align-items:center!important;border-radius:14px!important;min-height:0!important}html body #page-product .pd-actions .qty-box{display:flex!important;gap:4px!important;min-width:0!important;padding:3px!important;height:42px!important;justify-content:center!important}html body #page-product .pd-actions .qty-box button{width:26px!important;height:29px!important;min-width:0!important;padding:0!important}html body #page-product .pd-actions .qty-box input{width:28px!important;min-width:0!important;padding:0!important;font-size:14px!important}html body #page-product .pd-actions .btn-wish{width:42px!important;height:42px!important;padding:0!important;min-height:0!important}html body #page-product .pd-actions .btn-primary{width:100%!important;height:42px!important;min-height:0!important;padding:4px!important;font-size:12px!important;white-space:nowrap!important;gap:4px!important;line-height:1.3!important}html body #page-product .pd-actions .btn-primary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}html body #qvOverlay .qv-modal{max-width:390px!important;max-height:82dvh!important;padding:14px!important;overflow-y:auto!important}html body #qvOverlay .qv-img{height:min(34dvh,250px)!important;min-height:0!important;margin-bottom:8px!important}html body #qvOverlay .qv-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}html body #qvOverlay .qv-actions button{min-height:42px!important;padding:6px!important;font-size:13px!important}html body #qvOverlay .qv-desc{margin:5px 0!important;font-size:12px!important}html body #page-product .pd-code-row{gap:5px!important;padding:6px!important}.v6-push-btn{margin:8px 0;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--bg3);color:var(--text);font:inherit;cursor:pointer}
@media(max-width:480px){html body .v6-chat{inset:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding-bottom:env(safe-area-inset-bottom)!important;}.v6-chat-head{padding-top:calc(12px + env(safe-area-inset-top));}.v6-chat .v5-chat-messages{padding-bottom:10px;}}
