/* Redeem theme — app.redeem.dz */
/* Noto Kufi Arabic — مستضاف محلياً (OFL): مجموعة عربية + لاتينية */
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/kufi-400.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/kufi-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/kufi-500.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/kufi-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/kufi-600.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/kufi-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/kufi-700.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/kufi-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--brand:#E60000;--brand-rgb:230,0,0;--brand-dark:var(--brand);--brand-soft:#fdecec;--ink:#25282B;--text:#25282B;--muted:#61656b;--hair:#e5e5ea;--soft:#686c73;
 --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--page-gutter:var(--s4);--card-pad:var(--s4);--card-gap:var(--s3);--section-gap:var(--s5);--tabbar-height:61px;
 --bg:#f5f5f7;--gray:#F2F2F2;--r:5px;--r-lg:22px;--r-pill:980px;--font:"Noto Kufi Arabic",Arial,Helvetica,sans-serif}
*{box-sizing:border-box} html,body{margin:0}
body{font-family:var(--font);color:var(--text);background:var(--bg);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none} button,input{font-family:inherit}
.wrap{max-width:1280px;margin-block:0;margin-inline:auto;padding-block:0;padding-inline:var(--page-gutter)}
svg.i{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
[dir=rtl] .flip{transform:scaleX(-1)} [dir=ltr] .flipltr{transform:scaleX(-1)}


/* ===== الرأس (مثل redeem.dz: شفّاف مضبّب، شعار، بحث في الوسط، أيقونات) ===== */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.72);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px);border-bottom:1px solid rgba(0,0,0,.05)}
.nav .row{display:flex;align-items:center;justify-content:space-between;gap:16px;height:60px}
.nav .logo img{height:34px;width:auto;display:block}
.nav .search{flex:1;max-width:560px;position:relative}
.nav .search .box{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5e7eb;border-radius:var(--r);height:38px;padding:0 12px;color:var(--muted,#61656b);box-shadow:0 1px 2px rgba(0,0,0,.04);transition:box-shadow .2s}
.nav .search .box:focus-within{box-shadow:0 4px 20px rgba(0,0,0,.06)}
.nav .search input{flex:1;border:0;outline:0;background:none;font:inherit;font-size:13px;font-weight:500;color:var(--ink);min-width:0}
.sugg{position:absolute;top:calc(100% + 8px);inset-inline:0;background:#fff;border:1px solid var(--hair);border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.12);padding:8px;display:none;z-index:60;max-height:70vh;overflow:auto}
.search.open .sugg{display:block}
.sugg .cap{font-size:11px;color:var(--soft);padding:4px 8px}
.sugg .chips{display:flex;flex-wrap:wrap;gap:6px;padding:2px 6px 8px}
.sugg .chips button{border:1px solid var(--hair);background:#fff;border-radius:var(--r-pill);padding:2px 10px;font-size:12px;cursor:pointer}
.sugg a.res{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:8px}
.sugg a.res:hover,.sugg a.res.act{background:var(--gray)}
.sugg a.res img{width:30px;height:38px;border-radius:5px;object-fit:cover}
.sugg a.res b{flex:1;font-weight:500;font-size:13px;color:var(--ink)}
.sugg a.res span{font-size:12px;color:var(--brand-ink,var(--brand-dark));font-weight:700}
.sugg mark{background:none;color:var(--brand-ink,var(--brand-dark));font-weight:700}
.nav .tools{display:flex;align-items:center;gap:8px}
.nav .tools .ico{width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #eee;color:#4b5563}
.nav .tools .ico:hover{color:var(--brand-ink,var(--brand-dark))}
.nav .tools .msearch{display:none;background:rgba(var(--brand-rgb,230,0,0),.05);border-color:rgba(var(--brand-rgb,230,0,0),.12);color:var(--brand-ink,var(--brand-dark))}
.nav .tools .lang{font-size:12px;font-weight:700;width:auto;padding:0 10px;border-radius:var(--r-pill)}

.dots,.qcats,.tabbar,.shead .all{display:none}
/* ===== زرّ البلد/اللغة/العملة ===== */
.loc{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 10px 0 9px;border:1px solid #eee;background:#fff;border-radius:var(--r);cursor:pointer;font:inherit;font-size:12px;font-weight:700;color:var(--ink);transition:box-shadow .2s,border-color .2s}
.loc:hover,.loc[aria-expanded=true]{border-color:#e0e0e4;box-shadow:0 3px 12px rgba(0,0,0,.07)}
.flag{display:inline-block;width:22px;height:16px;border-radius:3px;background:#e5e5ea center/cover;box-shadow:0 0 0 .5px rgba(0,0,0,.18);flex:none}
.loc .sep{width:1px;height:14px;background:#e5e5ea}
.loc .cur{color:var(--brand-ink,var(--brand-dark));min-width:12px;text-align:center}
.loc .chev{width:13px;height:13px;color:var(--soft);transition:transform .2s}
.loc[aria-expanded=true] .chev{transform:rotate(180deg)}
.lp-back{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.08);opacity:0;pointer-events:none;transition:opacity .2s}
.lp-back.on{opacity:1;pointer-events:auto}
/* لوحة بأسلوب Apple: رمادي فاتح، مقاطع (Segmented)، قائمة مجمّعة */
.lp{position:fixed;z-index:91;top:var(--lpT,64px);left:var(--lpL,auto);right:var(--lpR,auto);width:380px;height:auto;max-height:calc(100vh - 84px);display:flex;flex-direction:column;gap:12px;padding:12px 14px 14px;background:rgba(255,255,255,.97);backdrop-filter:saturate(180%) blur(30px);-webkit-backdrop-filter:saturate(180%) blur(30px);border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.08);opacity:0;transform:translateY(-6px) scale(.985);transform-origin:top;pointer-events:none;visibility:hidden;transition:opacity .18s,transform .18s,visibility .18s}
.lp.on{opacity:1;transform:none;pointer-events:auto;visibility:visible}
.lp.exp{height:min(600px,calc(100vh - 84px))}
.cbox:not(.open){flex:none}
.cbox:not(.open) .sbox,.cbox:not(.open) ul{display:none}
.cbox .csel{display:flex;align-items:center;gap:10px;width:calc(100% - 12px);height:48px;margin:6px;padding:0 12px;background:#fff;border:0;border-radius:10px;font:inherit;font-size:14px;color:var(--ink);cursor:pointer;text-align:start;flex:none}
.cbox .csel:hover{background:#fafafc}
.cbox .csel .nm{flex:1;min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cbox .csel em{font-style:normal;font-size:11.5px;color:var(--muted,#61656b)}
.cbox .csel .pin{width:13px;height:13px;color:#34c759;flex:none}
.cbox .csel .chev{width:16px;height:16px;color:var(--muted,#61656b);transition:transform .2s;flex:none}
.cbox.open .csel .chev{transform:rotate(180deg)}
.cbox.open .csel{margin-bottom:0}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lp .hd{display:flex;align-items:center;justify-content:space-between;min-height:30px}
.lp .hi,.lp .gi,.lp .inf{display:grid;place-items:center;color:var(--muted,#61656b);cursor:help;flex:none}
.lp .hi{width:30px;height:30px}.lp .hi svg.i{width:19px;height:19px}
.lp .gi,.lp .inf{width:22px;height:22px}.lp .gi svg.i,.lp .inf svg.i{width:17px;height:17px}
.lp .inf:hover,.lp .inf:focus-visible{color:var(--ink)}
.lp .x{width:30px;height:30px;border-radius:50%;border:0;background:#ebebf0;color:#6e6e73;display:grid;place-items:center;cursor:pointer;padding:0}
.lp .x svg.i{width:14px;height:14px;stroke-width:2.6}
.lp .x:hover{background:#e0e0e5}
.grp{display:flex;align-items:center;gap:10px}
.seg{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:2px;background:#ebebf0;border-radius:9px}
.seg button{height:32px;padding:0 6px;border:0;background:none;border-radius:7px;font:inherit;font-size:12.5px;font-weight:500;color:var(--ink);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .15s,box-shadow .15s}
.seg button.on{background:#fff;font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.04)}
.seg button small{margin-inline-start:4px;font-size:10.5px;font-weight:500;color:var(--muted,#61656b)}
.cbox{flex:1;min-height:0;display:flex;flex-direction:column;background:#f2f2f7;border-radius:12px;overflow:hidden}
.cbox .sbox{display:flex;align-items:center;gap:6px;height:36px;margin:8px;padding:0 10px;background:#e3e3e8;border-radius:9px;color:var(--muted,#61656b);flex:none}
.cbox .sbox svg.i{width:15px;height:15px}
.cbox .sbox input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:13px;color:var(--ink)}
.cbox ul{flex:1;min-height:0;overflow:auto;list-style:none;margin:0;padding:0 8px 8px;overscroll-behavior:contain;scrollbar-width:thin}
.cbox li{position:relative;display:flex;align-items:center;gap:10px;height:44px;padding:0 12px;background:#fff;cursor:pointer;font-size:13.5px;color:var(--ink)}
.cbox li:first-child{border-radius:10px 10px 0 0}.cbox li:last-child{border-radius:0 0 10px 10px}.cbox li:only-child{border-radius:10px}
.cbox li+li:before{content:"";position:absolute;top:0;inset-inline:44px 0;height:.5px;background:#d8d8dc}
.cbox li:hover,.cbox li.act{background:#f7f7fa}
.cbox li .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cbox li.on .nm{font-weight:600}
.cbox li em{font-style:normal;font-size:11.5px;color:var(--muted,#61656b)}
.cbox li .pin{width:13px;height:13px;color:#34c759;flex:none}
.cbox li .ok{width:17px;height:17px;color:var(--brand-ink,var(--brand-dark));stroke-width:2.6;visibility:hidden;flex:none}
.cbox li.on .ok{visibility:visible}
.cbox .none{padding:24px;text-align:center;color:var(--muted,#61656b);font-size:12.5px}
.lp .grab{display:none}
.lp .save{flex:none;height:44px;border:0;border-radius:12px;background:var(--action,#E60000);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.lp .save:hover{background:var(--action-hover,#E60000)}
/* ===== السلايدر الجديد (Epic) ===== */
.hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px;padding-top:18px}
.stage{position:relative;border-radius:var(--r-lg);aspect-ratio:16/8.4;background:#111;isolation:isolate;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
.stage::-webkit-scrollbar{display:none}
.sl{position:relative;flex:0 0 100%;height:100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}
.sl .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;transform:scale(1.04);transition:transform 6s ease}
.sl.on .bg{transform:scale(1)}
.sl:after{content:"";position:absolute;inset:0;background:linear-gradient(to left,rgba(0,0,0,.72) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,0) 75%),linear-gradient(to top,rgba(0,0,0,.55),transparent 45%)}
[dir=ltr] .sl:after{background:linear-gradient(to right,rgba(0,0,0,.72) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,0) 75%),linear-gradient(to top,rgba(0,0,0,.55),transparent 45%)}
.sl .art{position:absolute;inset-inline-end:7%;top:50%;transform:translateY(-50%) rotate(-4deg);height:76%;aspect-ratio:430/553;border-radius:16px;object-fit:cover;box-shadow:0 30px 60px rgba(0,0,0,.45);z-index:1}
[dir=ltr] .sl .art{transform:translateY(-50%) rotate(4deg)}
.sl .cap{position:absolute;inset-inline-start:0;bottom:0;z-index:2;padding:0 32px 30px;max-width:460px;color:#fff}
.sl .kick{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;opacity:.9;margin-bottom:6px}
.sl h3{margin:0 0 6px;font-size:26px;line-height:1.25}
.sl p{margin:0 0 4px;font-size:14px;color:rgba(255,255,255,.88)}
.sl .price{font-size:13px;color:rgba(255,255,255,.8);margin-bottom:16px}
.sl .price b{color:#fff;font-size:15px}
.sl .ctas{display:flex;gap:8px;align-items:center}
.sl .buy{background:#fff;color:var(--ink);border-radius:10px;height:44px;padding:0 22px;display:inline-flex;align-items:center;font-size:14px;font-weight:600}
.sl .ctas .ico{width:44px;height:44px;border-radius:10px;background:rgba(255,255,255,.16);color:#fff;backdrop-filter:blur(8px)}
.sl .ctas .ico.on svg.i{fill:currentColor}
.list{display:flex;flex-direction:column;gap:6px;min-height:0}
.list button{position:relative;display:flex;align-items:center;gap:12px;padding:8px 10px;border:0;background:none;border-radius:12px;cursor:pointer;text-align:start;font:inherit;color:var(--ink);overflow:hidden;flex:1;min-height:0}
.list button:hover{background:#ebebee}
.list button .p{position:absolute;inset:0;background:#e9e9ec;transform:scaleX(0);transform-origin:var(--o,right);z-index:0}
[dir=ltr] .list button .p{--o:left}
.list button.on{background:#e4e4e8}
.list button.on .p{background:#d9d9de;animation:fill 6s linear forwards}
.stagewrap.paused .list button.on .p{animation-play-state:paused}
@keyframes fill{to{transform:scaleX(1)}}
.list img{position:relative;z-index:1;width:42px;height:54px;border-radius:8px;object-fit:cover;flex:none}
.list b{position:relative;z-index:1;font-size:13px;font-weight:500;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@keyframes belt{to{transform:translateX(50%)}}

/* ===== الأقسام ===== */
main.cats{padding-top:24px}
section.sec{margin-bottom:28px}
.shead{display:flex;align-items:center;gap:8px;border-bottom:1px solid #f0f0f2;padding-bottom:8px;margin-bottom:12px}
.shead svg.i{color:var(--brand);width:17px;height:17px;opacity:.9}
.shead h2{margin:0;font-size:16px;font-weight:700;color:var(--ink)}
.slider{position:relative}
.track{--n:7;--g:12px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--n) - 1)*var(--g))/var(--n));gap:var(--g);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:6px 0 14px;cursor:grab;-webkit-overflow-scrolling:touch}
.track.dragging,.stage.dragging{cursor:grabbing;scroll-snap-type:none!important}
.dragging img{pointer-events:none}
.card{scroll-snap-stop:normal}
.track::-webkit-scrollbar{display:none}
.card{scroll-snap-align:start;position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid rgba(255,255,255,.4);border-radius:var(--r);padding:10px;box-shadow:0 2px 12px rgba(0,0,0,.03);transition:transform .5s,box-shadow .5s,border-color .3s;isolation:isolate;overflow:hidden}
.card:hover{transform:translateY(-4px);box-shadow:0 8px 18px rgba(0,0,0,.1);border-color:rgba(var(--brand-rgb,230,0,0),.4)}
.card .im{aspect-ratio:430/553;border-radius:var(--r);overflow:hidden;background:#f3f4f6;position:relative}
.card img{width:100%;height:100%;object-fit:contain;display:block}
.card .hot{position:absolute;top:16px;inset-inline-start:16px;z-index:3;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#fb923c,#ea580c);color:#fff;display:grid;place-items:center;box-shadow:0 4px 10px rgba(234,88,12,.35);cursor:help}
.card .hot svg.i{width:14px;height:14px;fill:currentColor}
.card .out{position:absolute;inset:auto 8px 8px;z-index:3;background:rgba(255,255,255,.92);color:var(--muted);font-size:10.5px;border-radius:var(--r-pill);padding:0 8px;width:max-content}
.card.oos .im{opacity:.55}
.card h3{margin:8px 4px 0;font-size:14px;font-weight:600;color:#25282B;line-height:1.3;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.card .pr{display:flex;align-items:baseline;gap:4px;margin:3px 4px 2px}
.card .pr small{font-size:9.5px;color:var(--muted,#61656b);font-weight:500}
.card .pr b{font-size:12.5px;color:var(--brand-ink,var(--brand-dark))}
.slider .arr{position:absolute;top:var(--ay,40%);transform:translateY(-50%);z-index:5;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);box-shadow:0 4px 12px rgba(0,0,0,.1);color:var(--ink);display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .2s}
.slider:hover .arr,.arr:focus-visible{opacity:1}
.arr.prev{inset-inline-start:-10px}.arr.next{inset-inline-end:-10px}
.arr:hover{background:#fff;color:var(--brand-ink,var(--brand-dark))}
.arr svg.i{width:18px;height:18px}
.arr[disabled]{display:none}

/* ===== تطبيقات الدردشة: مثل redeem.dz — البطاقة الوسطى أكبر، إطار أبيض، عنوان أبيض بخطّ ===== */
.chatsec{position:relative;padding:22px 0 26px;margin:30px 0}
.chatsec:before{content:"";position:absolute;inset:0;margin-inline:calc(50% - 50vw);background:radial-gradient(120% 90% at 0% 100%,#fbe3e5 0%,transparent 55%),linear-gradient(180deg,#fdf1f2,#f8f8fa);z-index:-1}
.chatsec .slider{container-type:inline-size}
.track.banners{--cw:calc((100cqi - 2*var(--g))/3);display:flex;gap:var(--g);padding:22px calc((100cqi - var(--cw))/2) 26px;scroll-snap-type:x mandatory;align-items:center}
.bn{flex:0 0 var(--cw);scroll-snap-align:center;position:relative;display:block;background:#fff;padding:8px;border-radius:8px;box-shadow:0 6px 22px rgba(0,0,0,.07);transform:scale(.92);transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s}
.bn.on{transform:scale(1.04);box-shadow:0 14px 34px rgba(0,0,0,.13);z-index:2}
.bn img{width:100%;height:auto;aspect-ratio:700/341;object-fit:cover;display:block;border-radius:5px}
.bn span{position:absolute;bottom:24px;inset-inline-start:24px;color:#fff;font-size:15px;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.bn span:after{content:"";display:block;width:30px;height:3px;border-radius:2px;background:rgba(255,255,255,.85);margin-top:4px;margin-inline-start:auto}
[dir=ltr] .bn span:after{margin-inline-start:0}

.chat{position:relative;margin:36px 0;padding:28px 0 32px}
.chat:before{content:"";position:absolute;inset:0;margin-inline:calc(50% - 50vw);background:linear-gradient(90deg,#fdecec,#eef2ff);z-index:-1}
.chat .belt{display:flex;gap:14px;width:max-content;animation:belt 36s linear infinite}
[dir=ltr] .chat .belt{animation-direction:reverse}
.chat .run{overflow:hidden}
.chat .run:hover .belt{animation-play-state:paused}
.chat a{flex:none;width:300px;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.06);position:relative}
.chat a img{width:100%;aspect-ratio:700/341;object-fit:cover;display:block}
.chat a span{position:absolute;bottom:8px;inset-inline-start:8px;background:rgba(255,255,255,.92);border-radius:var(--r-pill);padding:1px 10px;font-size:11.5px;font-weight:600;color:var(--ink)}

/* ===== نصّ SEO ===== */
.seo{max-width:960px;margin:20px auto 0;padding:0 16px 10px}
.seo h1{font-size:18px;margin:0 0 8px;color:var(--ink)}
.seo p{margin:0;color:#555;font-size:14px;line-height:1.9}

/* ===== التذييل الجديد ===== */
footer{background:var(--gray);color:var(--muted);font-size:12px;line-height:1.8;margin-top:40px}
/* Footer always at the bottom (owner, 2026-11-27): the page is at least one screen tall and the content grows,
   so short pages (cart, sign-in, empty lists) no longer leave the footer half way up with empty space under it.
   Fixed / absolute children (tab bar, toast, panels, skip link) are out of the flow and unaffected. */
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>*{flex-shrink:0}
body>.wrap,body>main{width:100%}
body>main{flex:1 0 auto}
footer .wrap{padding-block:30px 20px}
footer .top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:24px}
footer h4{color:var(--ink);font-size:12.5px;margin:0 0 6px;font-weight:600}
footer a{display:block} footer a:hover{color:var(--ink)}
footer .soc{display:flex;gap:4px;margin-top:10px}
footer .soc .ico{background:#fff;color:var(--ink)}
footer .pay{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
footer .pay span{background:#fff;border-radius:6px;padding:1px 8px;font-size:11px;color:var(--ink)}
footer .copy{border-top:1px solid #d9d9de;margin-top:22px;padding-top:12px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
footer .flogo{height:26px;width:auto;margin-bottom:6px;display:block}

.toast{position:fixed;bottom:24px;inset-inline:16px;margin-inline:auto;width:max-content;max-width:calc(100% - 32px);transform:translateY(20px);background:rgba(36,36,36,.95);color:#fff;border-radius:var(--r-pill);padding:9px 16px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:80}
.toast.on{opacity:1;transform:translateY(0)}

@media (max-width:1100px){.track{--n:5}}
@media (max-width:900px){
  .hero{grid-template-columns:minmax(0,1fr)}.list{flex-direction:row;overflow-x:auto;scrollbar-width:none}.list button{flex:none;width:150px;padding:6px}.list img{width:34px;height:44px}
  .track{--n:4}
  footer .top{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  /* ——— نمط التطبيق ——— */
  .wrap{padding-inline:var(--page-gutter)}
  body{background:#f5f5f7;padding-block-end:0}
  /* الرأس: 52px، شعار صغير، أيقونات بلا إطار */
  .nav{background:rgba(245,245,247,.82);border-bottom-color:transparent;transition:box-shadow .2s,border-color .2s}
  .nav.scrolled{border-bottom-color:rgba(0,0,0,.06);background:rgba(255,255,255,.88)}
  .nav .row{height:52px;gap:8px}
  .nav .logo{flex:none;min-width:0}
  .nav .logo img{height:22px;max-width:120px}
  .nav .tools{gap:2px}
  .nav .tools .ico{width:38px;height:38px;border:0;background:transparent;color:var(--ink)}
  .nav .tools .msearch{display:grid;background:transparent;color:var(--ink)}
  .nav .tools .acc{display:none}
  .nav .tools .lang{height:28px;font-size:11px;padding:0 10px;background:rgba(0,0,0,.06);margin-inline-start:4px}
  .nav .search{display:none;position:absolute;top:100%;inset-inline:0;max-width:none;padding:6px 14px 10px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px)}
  .nav.sopen .search{display:block}
  .nav .search .box{height:42px;border-radius:12px;background:var(--gray);border:0;box-shadow:none}
  .nav .search .sugg{inset-inline:14px;border-radius:14px}
  /* البطل: بطاقة واحدة بعرض الشاشة + نقاط تقدّم */
  .hero{display:block;position:relative;padding-top:8px}
  .stage{aspect-ratio:1/1.08;border-radius:22px;box-shadow:0 12px 30px rgba(0,0,0,.16)}
  .sl .art{height:40%;top:29%;inset-inline-end:auto;left:50%;transform:translate(-50%,-50%) rotate(-4deg);border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,.5)}
  [dir=ltr] .sl .art{transform:translate(-50%,-50%) rotate(4deg)}
  .sl:after{background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.45) 38%,rgba(0,0,0,.05) 70%)!important}
  .sl .cap{padding:0 16px 36px;max-width:none}
  .sl .kick{font-size:10px;padding:0 9px;border-radius:var(--r-pill);background:rgba(255,255,255,.18);backdrop-filter:blur(6px);margin-bottom:6px}
  .sl h3{font-size:20px;margin-bottom:2px}
  .sl p{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sl .price{font-size:12px;margin-bottom:10px}.sl .price b{font-size:14px}
  .sl .ctas{width:100%}
  .sl .buy{flex:1;justify-content:center;height:44px;border-radius:12px;font-size:14px}
  .sl .ctas .ico{width:44px;height:44px;border-radius:12px}
  .list{display:none}
  .dots{display:flex;position:absolute;bottom:14px;left:50%;transform:translateX(-50%);gap:5px;z-index:4}
  .dots button{width:6px;height:6px;padding:0;border:0;border-radius:var(--r-pill);background:rgba(255,255,255,.45);position:relative;overflow:hidden;transition:width .3s;cursor:pointer}
  .dots button.on{width:22px}
  .dots button.on:after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:var(--o,right);animation:fill 6s linear forwards}
  [dir=ltr] .dots button.on:after{--o:left}
  .stagewrap.paused .dots button.on:after{animation-play-state:paused}
  /* اختصارات الأقسام: أيقونات دائرية مثل التطبيقات */
  .qcats{display:flex;overflow-x:auto;scrollbar-width:none;gap:2px;margin:18px -14px 0;padding:0 10px;scroll-snap-type:x proximity}
  .qcats::-webkit-scrollbar{display:none}
  .qcats a{flex:none;width:70px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10.5px;font-weight:500;color:var(--ink);text-align:center;line-height:1.3;scroll-snap-align:start;-webkit-tap-highlight-color:transparent}
  .qcats i{width:54px;height:54px;border-radius:18px;background:#fff;display:grid;place-items:center;color:var(--brand-ink,var(--brand-dark));box-shadow:0 2px 10px rgba(0,0,0,.05);transition:transform .15s}
  .qcats a:active i{transform:scale(.92)}
  .qcats svg.i{width:22px;height:22px}
  /* الماركات: كبسولات صغيرة */
  /* الأقسام */
  main.cats{padding-top:20px}
  section.sec{margin-bottom:24px;scroll-margin-top:64px}
  .shead{border:0;padding:0;margin-bottom:10px;gap:6px}
  .shead svg.i{width:16px;height:16px}
  .shead h2{font-size:15px;flex:1}
  .track{gap:10px;margin-inline:-14px;padding:2px 14px 4px;scroll-padding-inline:14px}
  .card{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible;-webkit-tap-highlight-color:transparent}
  .card:hover{transform:none;box-shadow:none}
  .card .im{aspect-ratio:430/553;border-radius:14px;box-shadow:0 3px 12px rgba(0,0,0,.07);transition:transform .15s}
  .card:active .im{transform:scale(.96)}
  .card .hot{top:6px;inset-inline-start:6px;width:22px;height:22px}
  .card .hot svg.i{width:12px;height:12px}
  .card .out{inset:auto 6px 6px;font-size:9.5px}
  .card h3{font-size:13px;margin:8px 2px 0;font-weight:600}
  .card .pr{margin:1px 2px 0;gap:4px}.card .pr small{font-size:10px}.card .pr b{font-size:13px}
  .card .hot{top:8px;inset-inline-start:8px;width:26px;height:26px}.card .hot svg.i{width:14px;height:14px}
  .slider .arr{display:none}
  /* الدردشة */
  .chat{margin:26px 0;padding:18px 0 20px}
  .chat .shead{margin-bottom:12px}
  .chat a{width:210px;border-radius:14px}
  .chat a span{font-size:10.5px}
  /* SEO والتذييل */
  .seo{padding:0 14px}.seo h1{font-size:15px}.seo p{font-size:12.5px;line-height:1.85}
  footer{margin-top:28px}
  footer .top{grid-template-columns:1fr;gap:0}
  footer .top>div:first-child{padding-bottom:14px}
  footer .top>div:not(:first-child){border-top:1px solid #dcdce0}
  footer .top h4{display:flex;justify-content:space-between;padding:12px 0;margin:0;cursor:pointer}
  footer .top h4:after{content:"+";font-size:18px;font-weight:300;transition:transform .2s}
  footer .top div.open h4:after{transform:rotate(45deg)}
  footer .top>div:not(:first-child) a{display:none;padding:4px 0}
  footer .top>div.open a{display:block}
  /* الشريط السفلي */
  .tabbar{display:flex;position:fixed;bottom:0;inset-inline:0;z-index:60;justify-content:space-around;background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-top:1px solid rgba(0,0,0,.07);padding-inline:var(--s2);padding-block:var(--s2) calc(var(--s2) + env(safe-area-inset-bottom))}
  .tabbar a,.tabbar button{position:relative;width:56px;height:44px;border:0;background:none;border-radius:12px;display:grid;place-items:center;color:var(--muted,#61656b);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .tabbar svg.i{width:23px;height:23px}
  .tabbar .on{color:var(--brand-ink,var(--brand-dark))}
  .tabbar .on svg.i{stroke-width:2.2}
  .tabbar .n{position:absolute;top:5px;inset-inline-end:10px;min-width:16px;height:16px;border-radius:8px;background:var(--action,#E60000);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;padding:0 4px;border:2px solid #fff;box-sizing:content-box;line-height:1}
  .toast{bottom:calc(78px + env(safe-area-inset-bottom))}
  /* زرّ البلد: علم + رمز العملة فقط، واللوحة تصعد من الأسفل */
  .loc{height:32px;padding:0 9px 0 7px;gap:6px;border:0;background:rgba(0,0,0,.05)}
  .loc .code,.loc .sep,.loc .chev{display:none}
  .loc .flag{width:20px;height:14px}
  .lp-back{background:rgba(0,0,0,.3)}
  .lp.exp{height:calc(100dvh - 28px)}
  .lp{top:auto;bottom:0;left:0;right:0;width:auto;height:auto;max-height:calc(100dvh - 28px);gap:10px;border-radius:14px 14px 0 0;padding:0 14px calc(12px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .2s,visibility .3s}
  .lp.on{transform:none}
  .lp .grab{display:block;flex:none;align-self:stretch;height:18px;margin:0 -14px -6px;border:0;padding:0;background:none;cursor:grab;touch-action:none}
  .lp .grab:before{content:"";display:block;width:36px;height:5px;border-radius:3px;background:#d1d1d6;margin:7px auto 0}
  .lp .hd{touch-action:none}
  .cbox ul{scrollbar-width:none}.cbox ul::-webkit-scrollbar{display:none}
  html.lp-open,html.lp-open body{overflow:hidden}
  .seg button{height:34px;font-size:13px}
  .cbox li{height:46px;font-size:14px}
  .cbox .sbox input{font-size:16px} /* يمنع تكبير iOS عند التركيز */
  /* سوايبر الصفوف: 3 بطاقات كاملة بلا قصّ على الحواف */
  .track.banners{--cw:76cqi;--g:10px;margin:0;padding:14px calc((100cqi - var(--cw))/2) 18px}
  .bn{padding:5px;border-radius:7px}.bn span{bottom:16px;inset-inline-start:16px;font-size:13px}
  .chatsec{margin:20px 0;padding:16px 0 10px}
  .track{--n:2;--g:12px;margin-inline:0;padding:4px 0 6px;scroll-padding-inline:0;cursor:auto}
  /* اختصارات الأقسام: شبكة 4×2 كاملة بلا تمرير */
  .qcats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 6px;overflow:visible;margin:18px 0 0;padding:0}
  .qcats a{width:auto}
  /* شارة السلّة على زاوية الأيقونة لا فوقها */
  .tabbar .n{top:4px;inset-inline-start:calc(50% + 4px);inset-inline-end:auto;min-width:10px;height:14px;padding:0 3px;font-size:9.5px;border-radius:9px}
}
/* هواتف قصيرة أو أفقية: ارتفاع كامل، رأس مدمج، عناصر أصغر لتبقى القائمة أطول */
@media (max-width:640px) and (max-height:640px){
  .lp.exp{height:calc(100dvh - 6px)}
  .lp{max-height:calc(100dvh - 6px);gap:7px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
  .lp .grab{height:14px;margin-bottom:-4px}.lp .grab:before{margin-top:5px}
  .lp .hd{min-height:26px}.lp .hd .x{width:26px;height:26px}.lp .hi{width:26px;height:26px}
  .seg button{height:30px;font-size:12.5px}
  .cbox .sbox{height:34px;margin:6px}
  .cbox li{height:42px}
  .lp .save{height:40px}
}
@media (hover:none){.card:hover{transform:none}.card:hover img{transform:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* ===== tooltip ===== */
.rd-tip{position:fixed;z-index:9999;pointer-events:none;background:rgba(36,36,36,.96);color:#fff;font:500 12px/1.4 var(--font,"Noto Kufi Arabic",Arial,sans-serif);padding:6px 10px;border-radius:8px;white-space:nowrap;max-width:240px;box-shadow:0 6px 20px rgba(0,0,0,.18);opacity:0;transform:translateY(-3px) scale(.97);transition:opacity .14s ease,transform .14s ease}
.rd-tip.on{opacity:1;transform:none}
.rd-tip.up{transform:translateY(3px) scale(.97)} .rd-tip.up.on{transform:none}
.rd-tip:before{content:"";position:absolute;left:var(--ax,50%);top:-4px;width:8px;height:8px;background:inherit;transform:translateX(-50%) rotate(45deg);border-radius:1px}
.rd-tip.up:before{top:auto;bottom:-4px}
.rd-tip small{display:block;color:#bdbdc2;font-size:11px;font-weight:400}
[data-tip]{position:relative}
.ico{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;border:0;background:none;color:inherit;cursor:pointer;padding:0;position:relative;transition:background .15s}
.ico:hover{background:rgba(0,0,0,.06)}
.ico:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(var(--brand-rgb,230,0,0),.25)}
.ico:active{transform:scale(.94)}
.ico .dot{position:absolute;top:2px;inset-inline-end:1px;background:var(--action,#E60000);color:#fff;font-size:9px;font-weight:700;border-radius:980px;min-width:15px;height:15px;display:grid;place-items:center;padding:0 3px}
.ico .flag{width:20px;height:14px}
.ico.sm{width:30px;height:30px}.ico.sm svg.i{width:15px;height:15px}.ico:disabled{opacity:.35;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.rd-tip{transition:none}}

/* القالب */
.flag{background-image:var(--f)}
.skip{position:absolute;inset-inline-start:8px;top:-60px;z-index:100;background:#000;color:#fff;padding:8px 14px;border-radius:8px}
.skip:focus{top:8px}
.page-main{max-width:1280px;margin:0 auto;padding:24px 16px 40px;min-height:50vh}
.admin-bar .nav{top:32px}
@media (max-width:782px){.admin-bar .nav{top:46px}}


/* ===== تجربة خطّ النظام (SF على أجهزة Apple فقط — لا نوزّع ملفات SF: ترخيص Apple يمنع ذلك) ===== */
body.font-sf{--font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","SF Arabic","Noto Kufi Arabic","Segoe UI",Roboto,Arial,sans-serif}
body.font-sf .rd-tip{font-family:var(--font)}
body.font-sf{letter-spacing:-.003em}

/* ===== long names: one line, "…" at the end, full name in a tooltip (hover / focus / tap) =====
   unicode-bidi:plaintext gives Latin names LTR (… on the right) and Arabic names RTL (… on the left),
   while the block stays aligned to the page's side. */
.card h3,.pp .opt b,.bi-name,.co-items li b,.dsh-box .t b,.lib-row .t b,.woocommerce-table__product-name a,.order_details .product-name a,.rdf-pop li span,.dd-list .nm,.dd-btn .nm,.sugg a.res b{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;unicode-bidi:plaintext;-webkit-line-clamp:unset}
:is(.card h3,.pp .opt b,.bi-name,.co-items li b,.dsh-box .t b,.lib-row .t b,.woocommerce-table__product-name a,.order_details .product-name a,.rdf-pop li span,.dd-list .nm,.dd-btn .nm,.sugg a.res b){text-align:start}
.pp .opt b{width:100%}
.woocommerce-table__product-name,.order_details .product-name{max-width:0;width:100%}
[data-trunc]{cursor:help}
a [data-trunc],a[data-trunc],button [data-trunc]{cursor:pointer}

/* header bag (large screens; phones use the bottom bar) */
.nav .tools .cartb{position:relative;display:grid;place-items:center}
.nav .tools .cartb .n{position:absolute;top:-3px;inset-inline-end:-3px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--action,#E60000);color:#fff;font-size:10px;font-weight:700;line-height:1;display:grid;place-items:center;border:2px solid #fff;box-sizing:content-box}
@media (max-width:640px){.nav .tools .cartb{display:none}}
/* product images: uniform 1.6:1 (old portrait pictures sit whole inside, on light grey) */
.card .im{aspect-ratio:1.6/1;background:#f3f4f6}
.card img{object-fit:contain}
@media (max-width:900px){.card .im{aspect-ratio:1.6/1}}
.list img{width:56px;height:35px;object-fit:contain;background:#f3f4f6}
.sugg a.res img{width:48px;height:30px;object-fit:contain;background:#f3f4f6}
/* home rows: 4 products per view (landscape 1.6:1 images) — 3 on tablets, 2 on phones */
.track:not(.banners){--n:4}
@media (max-width:900px){.track:not(.banners){--n:3}}
@media (max-width:560px){.track:not(.banners){--n:2}}
/* product type badge in the picture's corner */
.tbadge{position:absolute;z-index:2;top:10px;inset-inline-start:10px;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:700;line-height:1;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12);pointer-events:none}
.tbadge svg.i{width:12px;height:12px;color:#fff}
.tbadge.t-code{background:#5b5bd6}.tbadge.t-topup{background:#12b76a}.tbadge.t-card{background:#1d1d1f}.tbadge.t-sub{background:#f79009}.tbadge.t-account{background:#0e9384}
.card .im{position:relative}.card .tbadge{top:6px;inset-inline-start:6px;height:20px;padding:0 7px;font-size:10.5px}.card .tbadge svg.i{width:11px;height:11px}
.pp .media{position:relative}
@media (max-width:560px){.card .tbadge span{display:none}.card .tbadge{width:22px;padding:0;justify-content:center}}
/* cards: the «hot» flame keeps the start corner, the type badge goes to the opposite corner (no overlap) */
.card .tbadge{inset-inline-start:auto;inset-inline-end:6px}
/* small pictures (home / store cards): the type badge is an icon only; the word shows on hover */
.card .tbadge{width:24px;height:24px;padding:0;justify-content:center;pointer-events:auto}
.card .tbadge span{display:none}
.card .tbadge svg.i{width:13px;height:13px}
.card .im .tbadge{inset-inline-start:auto;inset-inline-end:6px}

/* back to top: appears after scrolling, ring = page progress */
.totop{position:fixed;z-index:55;bottom:24px;inset-inline-end:24px;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:var(--ink);box-shadow:0 6px 20px rgba(0,0,0,.12),0 0 0 1px rgba(0,0,0,.05);display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px) scale(.9);transition:opacity .25s,transform .25s,visibility .25s,color .2s;-webkit-tap-highlight-color:transparent}
.totop.on{opacity:1;visibility:visible;transform:none}
.totop:hover{color:var(--brand-ink,var(--brand-dark));transform:translateY(-2px)}
.totop:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.totop svg.i{width:20px;height:20px;transform:rotate(180deg);stroke-width:2.2}
.totop .ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);pointer-events:none}
.totop .ring circle{fill:none;stroke:var(--brand);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:138.2;stroke-dashoffset:var(--o,138.2);transition:stroke-dashoffset .1s linear}
@media (max-width:640px){.totop{bottom:calc(72px + env(safe-area-inset-bottom));inset-inline-end:14px;width:42px;height:42px}.totop svg.i{width:18px;height:18px}}
@media (prefers-reduced-motion:reduce){.totop,.totop .ring circle{transition:none}}

.sugg a.res img{width:48px;height:auto;max-height:48px;object-fit:contain;background:none;border-radius:6px;flex:none}

/* Product listing cards: centered names; prices hidden visually only. */
html[dir] a.card>h3{text-align:center!important}
a.card>.pr{display:none}

/* Product type badges: shared quiet UI; compact cards retain their icon-only size. */
.tbadge{border:1px solid #e5e5e5;border-radius:5px;color:#25282B;font-weight:500;box-shadow:none}
.tbadge[class]{background:#fff}
.tbadge svg.i,.card .tbadge svg.i{color:var(--brand)}
.pp .media>.tbadge{top:12px;inset-inline-start:12px;inset-inline-end:auto;height:auto;min-height:30px;padding:6px 10px;gap:7px;font-size:12px;line-height:1.5}
.pp .media>.tbadge svg.i{width:15px;height:15px}

/* ===== home slider: text + 2×2 products (2026-11-23) ===== */
.hx{position:relative;margin-top:18px;padding:30px;background:#fff;border:1px solid #ececec;border-radius:22px}
.hx-stage{display:grid}
.hx-sl{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:32px;align-items:center;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .45s ease,transform .45s ease,visibility .45s}
.hx-sl.on{opacity:1;visibility:visible;transform:none}
.hx-kick{display:inline-block;padding:4px 12px;border-radius:999px;background:#fdecec;color:var(--brand-ink,#E60000);font-size:12px;font-weight:600}
.hx-txt h2{margin:14px 0 10px;font-size:clamp(24px,2.9vw,38px);line-height:1.35;font-weight:700;color:#25282B}
.hx-txt p{max-width:46ch;margin:0 0 22px;font-size:15px;line-height:1.85;color:#5c5c5c}
.hx-ctas{display:flex;flex-wrap:wrap;gap:10px}
.hx-buy{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 24px;border-radius:12px;background:var(--action,#E60000);color:#fff;font-size:14px;font-weight:600;transition:background .2s}
.hx-buy:hover{background:var(--action-hover,#E60000);color:#fff}
.hx-buy svg.i{width:16px;height:16px}
.hx-feat{display:flex;flex-wrap:wrap;gap:8px 18px;margin:24px 0 0;padding:0;list-style:none;font-size:12.5px;color:var(--muted,#61656b)}
.hx-feat li{display:flex;align-items:center;gap:6px;margin:0}
.hx-feat svg.i{width:16px;height:16px;color:var(--brand)}
.hx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hx-tile{display:block;min-width:0;padding:8px;background:#fafafa;border:1px solid #efefef;border-radius:16px;color:#25282B;transition:transform .2s ease,border-color .2s ease}
.hx-tile:hover{transform:translateY(-3px);border-color:#d9d9d9;color:#25282B}
.hx-im{display:block;aspect-ratio:1.6;overflow:hidden;border-radius:11px;background:#f0f0f0}
.hx-im img{display:block;width:100%;height:100%;object-fit:cover}
.hx-tile b{display:block;margin:8px 4px 0;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-tile small{display:block;margin:1px 4px 2px;font-size:11.5px;color:var(--muted,#61656b)}
.hx-dots{display:flex;gap:6px;margin-top:22px}
.hx-dots button{width:8px;height:8px;padding:0;border:0;border-radius:8px;background:#d9d9d9;cursor:pointer;transition:width .3s ease,background .3s ease}
.hx-dots button.on{width:26px;background:var(--action,#E60000)}
@media (max-width:820px){.hx{padding:18px;border-radius:18px}.hx-sl{grid-template-columns:minmax(0,1fr);gap:18px}.hx-txt p{margin-bottom:16px;font-size:14px}.hx-feat{margin-top:16px}.hx-grid{gap:10px}.hx-dots{justify-content:center;margin-top:16px}}
@media (prefers-reduced-motion:reduce){.hx-sl,.hx-tile,.hx-dots button{transition:none}}

/* home slider v2: shorter, pictures only, distinct background (2026-11-23) */
.hx{padding:22px 26px;background:#121212;border:0;color:#fff;overflow:hidden;isolation:isolate}
.hx:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(60% 90% at 85% 10%,rgba(var(--brand-rgb,230,0,0),.38),transparent 65%),radial-gradient(45% 70% at 10% 100%,rgba(var(--brand-rgb,230,0,0),.18),transparent 70%)}
[dir=rtl] .hx:before{transform:scaleX(-1)}
.hx-sl{gap:26px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hx-kick{background:rgba(var(--brand-rgb,230,0,0),.18);color:var(--brand,#E60000)}
.hx-txt h2{margin:10px 0 6px;font-size:clamp(20px,2.3vw,30px);color:#fff}
.hx-txt p{margin:0 0 16px;font-size:14px;line-height:1.75;color:rgba(255,255,255,.72)}
.hx-buy{min-height:42px;padding:0 20px}
.hx-feat{margin-top:16px;color:rgba(255,255,255,.65)}
.hx-feat svg.i{color:var(--brand)}
.hx-grid{gap:10px;max-width:440px;justify-self:end;width:100%}
[dir=rtl] .hx-grid{justify-self:start}
.hx-tile{padding:0;background:none;border:0;border-radius:12px;overflow:hidden}
.hx-tile:hover{transform:translateY(-3px) scale(1.02);border:0}
.hx-im{border-radius:12px;background:#1f1f1f;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.hx-dots{margin-top:14px}
.hx-dots button{background:rgba(255,255,255,.28)}
.hx-dots button.on{background:var(--action,#E60000)}
@media (max-width:820px){.hx{padding:16px}.hx-sl{grid-template-columns:minmax(0,1fr);gap:14px}.hx-grid{max-width:none;justify-self:stretch}.hx-feat{display:none}.hx-txt p{margin-bottom:12px}}

/* home slider v3: light, warm brand background (2026-11-23) */
.hx{background:#fff6f6;color:#25282B;box-shadow:inset 0 0 0 1px #fbe1e2}
.hx:before{background:radial-gradient(55% 85% at 88% 0%,rgba(var(--brand-rgb,230,0,0),.16),transparent 70%),radial-gradient(40% 70% at 5% 100%,rgba(255,170,90,.18),transparent 70%),radial-gradient(circle at 1px 1px,rgba(var(--brand-rgb,230,0,0),.10) 1px,transparent 1.5px) 0 0/18px 18px}
.hx-kick{background:var(--action,#E60000);color:#fff}
.hx-txt h2{color:#25282B}
.hx-txt p{color:#5c5c5c}
.hx-feat{color:#6b6b6b}
.hx-feat svg.i{color:var(--brand)}
.hx-im{background:#fff;box-shadow:0 6px 18px rgba(var(--brand-rgb,230,0,0),.10),0 0 0 1px rgba(0,0,0,.05)}
.hx-dots button{background:rgba(var(--brand-rgb,230,0,0),.22)}
.hx-dots button.on{background:var(--action,#E60000)}

/* home slider: dark style (ريديم › السلايدر) */
.hx.hx-dark{background:#121212;color:#fff;box-shadow:none}
.hx.hx-dark:before{background:radial-gradient(60% 90% at 85% 10%,rgba(var(--brand-rgb,230,0,0),.38),transparent 65%),radial-gradient(45% 70% at 10% 100%,rgba(var(--brand-rgb,230,0,0),.18),transparent 70%)}
.hx.hx-dark .hx-kick{background:rgba(var(--brand-rgb,230,0,0),.18);color:var(--brand,#E60000)}
.hx.hx-dark .hx-txt h2{color:#fff}
.hx.hx-dark .hx-txt p{color:rgba(255,255,255,.72)}
.hx.hx-dark .hx-feat{color:rgba(255,255,255,.65)}
.hx.hx-dark .hx-feat svg.i{color:var(--brand)}
.hx.hx-dark .hx-im{background:#1f1f1f;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.hx.hx-dark .hx-dots button{background:rgba(255,255,255,.28)}
.hx.hx-dark .hx-dots button.on{background:var(--action,#E60000)}

/* home slider: centred content + side arrows like the category rows (2026-11-23) */
.hx{padding:22px 68px}
.hx-stage{max-width:1000px;margin-inline:auto}
.hx-sl{grid-template-columns:minmax(0,520px) minmax(0,440px);justify-content:center}
.hx .hx-grid,[dir=rtl] .hx .hx-grid{justify-self:stretch;max-width:none}
.hx-dots{justify-content:center}
.hx-arr{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 4px 12px rgba(0,0,0,.1);color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:color .2s,background .2s}
.hx-arr:hover{background:#fff;color:var(--brand-ink,var(--brand-dark))}
.hx-arr svg.i{width:18px;height:18px}
.hx-arr.prev{inset-inline-start:14px}.hx-arr.next{inset-inline-end:14px}
@media (max-width:820px){.hx{padding:16px}.hx-sl{grid-template-columns:minmax(0,1fr)}.hx-arr{display:none}}

/* footer bottom row: social glyphs + payment logos (owner, 2026-11-23) */
@font-face{font-family:RedeemContactSocial;src:url("contact-social-icons.woff2") format("woff2");font-style:normal;font-weight:400;font-display:block;unicode-range:U+F133,U+F162-F163,U+F175,U+F180}
footer .fsoc-row{display:flex;align-items:center;gap:2px}
footer .fsoc{display:inline-grid;place-items:center;width:34px;height:34px;color:#666;text-decoration:none;transition:color .2s}
footer .fsoc:hover{color:#25282B}
footer .fsoc .rdz-contact-social{display:inline-block;width:18px;height:18px;font-family:RedeemContactSocial!important;font-size:18px;font-style:normal;font-weight:400;line-height:18px;text-align:center;-webkit-font-smoothing:antialiased}
footer .rdz-social-fb:before{content:"\f180"}footer .rdz-social-ig:before{content:"\f163"}footer .rdz-social-youtube:before{content:"\f162"}footer .rdz-social-whatsapp:before{content:"\f175"}footer .rdz-social-tiktok:before{content:"\f133"}
footer .fpay{display:block;height:32px;width:auto;max-width:100%}

/* footer: contact list under the logo, like the main site (owner, 2026-11-23) */
footer .finfo{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px}
footer .finfo li{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:13px;line-height:1.5}
footer .finfo img{flex:none;width:16px;height:16px;display:block}
footer .finfo a{display:inline;color:inherit}
footer .finfo a:hover{color:var(--brand-ink,#E60000)}

/* footer: collapsible links panel (owner, 2026-11-23) */
footer .top[hidden]{display:none}
footer:has(.top[hidden]) .wrap{padding-block:14px}
footer .top[hidden]+.copy{border-top:0;margin-top:0;padding-top:0}
footer .ftog{flex:none;width:40px;height:40px;padding:0;border:1px solid #d9d9de;border-radius:50%;background:#f7f7f8;color:#8a8a8f;display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
footer .ftog:hover,footer .ftog.on{color:var(--ink);border-color:#c4c4ca}
footer .ftog:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
footer .ftog svg.i{width:18px;height:18px;stroke-width:2;transform:rotate(180deg)}
footer .ftog.on svg.i{transform:none}
/* the links toggle sits on the footer's top edge, half above it, like a tab on the dividing line (owner, 2026-11-27) */
footer{position:relative}
footer .ftog{position:absolute;inset-block-start:0;inset-inline:0;margin-inline:auto;transform:translateY(-50%);inline-size:32px;block-size:32px;min-inline-size:0;min-block-size:0;z-index:2}
footer .ftog::after{content:"";position:absolute;inline-size:42px;block-size:42px;inset-block-start:50%;inset-inline-start:50%;margin-block-start:-21px;margin-inline-start:-21px;border-radius:50%}   /* touch area stays 42px */
footer .ftog svg.i{width:15px;height:15px}

/* footer bottom row on phones: everything centered in one column (owner, 2026-11-23) */
@media (max-width:640px){footer .copy{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px}footer .fsoc-row{justify-content:center}footer .fpay{margin-inline:auto}footer .ftog{order:-1}}

/* footer link columns: an icon before each link (owner, 2026-11-23) */
footer .flink{display:flex;align-items:center;gap:8px;padding-block:2px}
footer .flink svg.i{flex:none;width:15px;height:15px;color:#9a9aa0;stroke-width:1.8}
footer .flink:hover svg.i{color:var(--ink)}

/* footer column titles: red with an icon (owner, 2026-11-23) */
footer h4.fhead{display:flex;align-items:center;gap:8px;color:var(--brand-ink,#E60000);margin-bottom:8px}
footer h4.fhead svg.i{flex:none;width:17px;height:17px;color:var(--brand);stroke-width:2}

/* footer links panel only: grey dotted background (owner, 2026-11-23) */
footer .top{position:relative;isolation:isolate;overflow:hidden;padding:22px 24px;border-radius:22px;background:#f8f8f9;box-shadow:inset 0 0 0 1px #e6e6e9}
footer .top:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(55% 85% at 88% 0%,rgba(255,255,255,.9),transparent 70%),radial-gradient(circle at 1px 1px,rgba(0,0,0,.09) 1px,transparent 1.5px) 0 0/18px 18px}
@media (max-width:640px){
  footer .top{padding:16px}
  footer .top h4.fhead{justify-content:flex-start}
  footer .top h4.fhead:after{margin-inline-start:auto}
  footer .top>div.open a.flink{display:flex}
  footer .top>div:not(:first-child){border-top-color:#e6e6e9}
}

/* home section headers: «تصفّح الكل» link at the end (owner, 2026-11-24) */
.shead .sall{margin-inline-start:auto;display:grid;place-items:center;width:32px;height:32px;border:1px solid #e6e6e9;border-radius:50%;background:#fff;color:#8a8a8f;text-decoration:none}
.shead .sall svg.i{width:15px;height:15px;color:currentColor;opacity:1}
.shead .sall:hover{color:var(--ink);border-color:#c4c4ca}

/* appearance segment in the language/currency panel (owner, 2026-11-24) */
.seg.seg-theme{grid-template-columns:repeat(2,minmax(0,1fr))}
.seg.seg-theme button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.seg.seg-theme svg.i{width:15px;height:15px}

/* ===== Redeem loader (Tesla-measured: veil 70%, ring 1.5s linear, R pulse 1.5s) — owner 2026-11-24 =====
   .rl  = the mark (ring + R); .rl-veil = full-screen veil used by RDZ_LOADER.show() */
.rl{--rl-s:64px;--rl-w:7px;--rl-c:92,94,98;position:relative;display:inline-grid;place-items:center;width:var(--rl-s);height:var(--rl-s);flex:none}
.rl::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(var(--rl-c),.16) 0deg,rgba(var(--rl-c),.16) 30deg,rgba(var(--rl-c),.95) 360deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - var(--rl-w)),#000 calc(100% - var(--rl-w) + 1px));mask:radial-gradient(farthest-side,transparent calc(100% - var(--rl-w)),#000 calc(100% - var(--rl-w) + 1px));animation:rl-rot 1.5s linear infinite}
.rl::after{content:"";width:calc(var(--rl-s) * .375);height:calc(var(--rl-s) * .293);background:rgb(var(--rl-c));-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='16.1 68.7 479.8 374.6'%3E%3Cpath d='M495.9,180.3c0-62.2-51-111.6-111.6-111.6H16.1c47.8,47.8,113.2,74.9,180.1,74.9h186.5c20.7,0,38.3,17.5,38.3,38.3s-17.5,36.7-38.3,36.7H164.4l149.8,149.8c47.8,47.8,113.2,74.9,180.1,74.9L344.5,293.5h36.7C444.9,291.9,495.9,242.5,495.9,180.3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='16.1 68.7 479.8 374.6'%3E%3Cpath d='M495.9,180.3c0-62.2-51-111.6-111.6-111.6H16.1c47.8,47.8,113.2,74.9,180.1,74.9h186.5c20.7,0,38.3,17.5,38.3,38.3s-17.5,36.7-38.3,36.7H164.4l149.8,149.8c47.8,47.8,113.2,74.9,180.1,74.9L344.5,293.5h36.7C444.9,291.9,495.9,242.5,495.9,180.3z'/%3E%3C/svg%3E") center/contain no-repeat;animation:rl-pulse 1.5s ease-in-out infinite}
.rl.sm{--rl-s:34px;--rl-w:4px}
@keyframes rl-rot{to{transform:rotate(1turn)}}
@keyframes rl-pulse{0%{opacity:0}20%{opacity:.7}100%{opacity:0}}
.rl-veil{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;align-content:center;gap:14px;background:rgba(255,255,255,.7);opacity:0;visibility:hidden;transition:opacity .5s,visibility .5s}
.rl-veil.on{opacity:1;visibility:visible}
.rl-veil p{margin:0;font-size:13px;font-weight:600;color:#5C5E62;text-align:center;padding:0 24px}
html[data-theme="dark"] .rl{--rl-c:220,221,226}
html[data-theme="dark"] .rl-veil{background:rgba(28,29,33,.7)}
html[data-theme="dark"] .rl-veil p{color:#a3a4a8}
@media (prefers-reduced-motion:reduce){.rl::before{animation-duration:3s}.rl::after{animation:none;opacity:.6}}
/* «preparing your order» / «checking your payment» boxes: the mark replaces the small red spinner */
.dl-ic.proc{background:none!important}
.dl-ic.proc .dl-sp{display:none}
.dl-ic.proc::before{content:"";display:none}
/* loading shimmer (Tesla-style), shared: product pictures until they arrive (app.js marks .sk-img) + the product page placeholders */
@keyframes rdz-sk{0%{background-position:100% 0}100%{background-position:0 0}}
.card .im.sk-img,.pp .media.sk-img{background:linear-gradient(90deg,#ececf0 0%,#f7f7f9 40%,#ececf0 80%) 0 0/300% 100%;animation:rdz-sk 1.3s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.card .im.sk-img,.pp .media.sk-img{animation:none}}
/* header: favourites heart + cart, same size; the count is a small white circle with a red number at the top corner (owner 11-26) */
.nav .tools .favb,.nav .tools .cartb{position:relative;display:grid;place-items:center;width:42px;height:42px}
.nav .tools .favb svg.i,.nav .tools .cartb svg.i{width:20px;height:20px}
.nav .tools .favb .n,.nav .tools .cartb .n{position:absolute;inset-block-start:-6px;inset-inline-start:-6px;inset-inline-end:auto;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:var(--brand-ink,var(--brand-dark));font-size:11px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:none}
.nav .tools .favb .n[hidden],.nav .tools .cartb .n[hidden]{display:none!important}

/* Sliders keep their logical start; reduced motion still permits manual navigation. */
.slider .arr[hidden],[data-review-step][hidden]{display:none!important}
.track:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.track,.stage{scroll-behavior:auto}.sl .bg,.bn,.arr{transition:none}.list button.on .p,.dots button.on:after{animation:none}}

/* One secondary control for pagination, loading and disclosure. */
:root{--control-size:44px;--surface:#fff;--focus:var(--ink)}
.rdz-more{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;gap:8px;inline-size:var(--control-size);min-inline-size:var(--control-size);block-size:var(--control-size);min-block-size:var(--control-size);padding:0;border:1px solid var(--hair);border-radius:var(--r);background:var(--surface);color:var(--ink);font:inherit;line-height:1;cursor:pointer;text-decoration:none;box-shadow:none;transition:background .15s,border-color .15s}
.rdz-more svg.i{inline-size:18px;block-size:18px;color:inherit}
.rdz-more:hover:not(:disabled):not([aria-disabled=true]){background:var(--gray);border-color:var(--muted);color:var(--ink)}
.rdz-more:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.rdz-more:disabled,.rdz-more[aria-disabled=true]{opacity:.5;cursor:not-allowed}
.rdz-more:is(.busy,[aria-busy=true]){cursor:wait;pointer-events:none}
.rdz-more:is(.busy,[aria-busy=true]) svg.i{visibility:hidden}
.rdz-more:is(.busy,[aria-busy=true])::after{content:"";position:absolute;inline-size:16px;block-size:16px;box-sizing:border-box;border:2px solid var(--hair);border-block-start-color:currentColor;border-radius:50%;animation:rdz-more-spin .7s linear infinite}
.rdz-more[hidden]{display:none!important}
@keyframes rdz-more-spin{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.rdz-more,.rdz-more svg.i{transition:none}.rdz-more:is(.busy,[aria-busy=true])::after{animation:none;border-style:dotted}}

/* Shared spacing, surfaces and control roles; no data or feature state is owned here. */
:root{--action:var(--brand);--action-hover:#BD0000;--link-hover:#BD0000;--brand-ink:var(--brand-dark);--danger:#b42318;--success:#067647;--border:var(--hair);--shadow-sm:0 1px 3px rgba(0,0,0,.08);--shadow-panel:0 12px 32px rgba(0,0,0,.12);--space-1:var(--s2);--space-2:var(--s4);--space-3:var(--s5);--space-4:var(--s6);--field-size:var(--control-size)}
:where(button,a.ico,a.key){min-inline-size:40px;min-block-size:40px}
:where(button,a,summary,input,select,textarea):focus-visible{outline:2px solid var(--focus);outline-offset:3px}
:where(button):disabled{cursor:not-allowed}
:where(button)[hidden]{display:none!important}
:where(input,textarea)::placeholder{color:var(--muted);opacity:1}
:where(.shop,.pp,.st,.rdz-ct,.rdz-ibx,.rdz-legal,.rdz-about) :where(form,fieldset,section,article){min-inline-size:0}
:where(.pnote,.rdz-ct-hint,.legal-copy,.ab-story,.ab-review-grid blockquote,.op-note,.sec-why,.rdz-ibx-body){overflow-wrap:anywhere}
.nav .tools .ico{min-width:40px;min-height:40px}
.hx-dots{flex-wrap:wrap;gap:0}
.hx-dots button{position:relative;width:40px;height:40px;border-radius:var(--r);background:transparent}
.hx-dots button::after{content:"";position:absolute;inset:0;margin:auto;width:8px;height:8px;border-radius:8px;background:var(--hair);transition:width .2s,background .2s}
.hx-dots button.on{width:40px;background:transparent}
.hx-dots button.on::after{width:24px;background:var(--brand)}
@media(prefers-reduced-motion:reduce){.hx-dots button::after{transition:none}html:focus-within{scroll-behavior:auto}}

:where(.shop,.pp,.rdz-ct,.rdz-ibx) :where(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],select){min-block-size:var(--field-size)}

.nav .tools :is(.favb,.cartb) .n{color:var(--brand-dark)}
/* phones: the cart lives in the bottom tab bar only (owner, 2026-11-28); placed after the .favb/.cartb sizing rule, which re-showed it */
@media (max-width:640px){.nav .tools .cartb{display:none}}

.hx.hx-dark .hx-dots button,.hx.hx-dark .hx-dots button.on{background:transparent}
.hx.hx-dark .hx-dots button::after{background:#b2b3bb}
.hx.hx-dark .hx-dots button.on::after{background:var(--brand)}

/* Search uses the page direction for layout and isolates Latin product names. */
.sugg a.res{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;min-height:52px;text-align:start;direction:inherit}
.sugg a.res>img{grid-column:1;grid-row:1;inline-size:48px;max-block-size:40px}
.sugg a.res>b{grid-column:2;grid-row:1;direction:inherit;unicode-bidi:isolate;text-align:start;min-inline-size:0}
.sugg a.res>.sugg-type{grid-column:3;grid-row:1;min-inline-size:0;max-inline-size:150px}
.sugg .sugg-type .tbadge{position:static;display:inline-flex;max-inline-size:100%;height:28px;padding:0 7px;gap:5px;border:0;border-radius:var(--r);box-shadow:none;pointer-events:auto;color:#3838a3;background:#eeeefc;font-weight:500}
.sugg .sugg-type .tbadge svg.i{color:inherit;inline-size:14px;block-size:14px}
.sugg .sugg-type .tbadge span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;font:inherit;min-inline-size:0}
.sugg .sugg-type .t-topup{color:#067647;background:#e8f8ee}
.sugg .sugg-type .t-card{color:#34363b;background:#eceef1}
.sugg .sugg-type .t-sub{color:#8a4306;background:#fff2de}
.sugg .sugg-type .t-account{color:#08726b;background:#e4f5f3}
@media(max-width:640px){.sugg a.res{grid-template-columns:40px minmax(0,1fr) auto;gap:8px;padding-inline:4px}.sugg a.res>img{inline-size:40px}.sugg a.res>.sugg-type{max-inline-size:110px}.sugg .sugg-type .tbadge{font-size:10px;padding-inline:5px}}

.sugg a.res>b bdi{display:inline-block;max-inline-size:100%;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;unicode-bidi:isolate}

/* Hover roles follow the reference: deeper red actions and visible secondary controls. */
@media(hover:hover){
 :is(.nav .tools .ico,.hx-arr,.slider .arr,.shead .sall,.rdz-more,.shop .key,.shop .cr-btn,.shop .co-rm,.shop .op-cp,.shop .sec-ib,.shop .bi-rm):hover:not(:disabled):not([aria-disabled="true"]){background:var(--action-hover);border-color:var(--action-hover);color:#fff}
 :is(.nav .tools .ico,.hx-arr,.slider .arr,.shead .sall,.rdz-more,.shop .key,.shop .cr-btn,.shop .co-rm,.shop .op-cp,.shop .sec-ib,.shop .bi-rm):hover:not(:disabled):not([aria-disabled="true"]) svg.i{color:#fff}
 body :is(.pp .pcrumb a,.pp .phow a,footer .flink,footer .finfo a,.rdz-legal .legal-copy a):hover{color:var(--link-hover);text-decoration:underline;text-underline-offset:3px}
}


/* Spacing scale: shared page edges and a footer that owns the tab-bar clearance. */
@media(min-width:641px){:root{--card-pad:var(--s5);--section-gap:var(--s6)}}
@media(min-width:641px) and (max-width:1024px){:root{--page-gutter:var(--s5)}}
footer{margin-block-start:var(--s6)}
footer .wrap,footer:has(.top[hidden]) .wrap{padding-block:var(--s6) var(--s4)}
footer .top{gap:var(--s5);padding-block:var(--card-pad);padding-inline:var(--card-pad)}
footer .copy{margin-block-start:var(--s5);padding-block-start:var(--s5);gap:var(--s4)}
footer .top[hidden]+.copy{margin-block-start:0;padding-block-start:0}
footer .fsoc-row{gap:var(--s2)}
footer .fsoc{position:relative;inline-size:32px;block-size:32px}
footer .fsoc::after{content:"";position:absolute;inset-block:-4px;inset-inline:-4px}
footer .finfo{gap:var(--s3);margin-block-start:var(--s2)}
footer .flink{position:relative}
footer .flink::after{content:"";position:absolute;inset-inline:0;inset-block-start:50%;block-size:max(100%,40px);transform:translateY(-50%)}
.shead{margin-block-start:var(--s5);margin-block-end:var(--s3)}
.shead .sall{position:relative}
.shead .sall::after{content:"";position:absolute;inset-block:-4px;inset-inline:-4px}
@media(max-width:640px){
 footer .wrap,footer:has(.top[hidden]) .wrap{padding-block-end:calc(var(--s4) + var(--tabbar-height) + env(safe-area-inset-bottom))}
 footer .copy{gap:var(--s4)}
 footer .top{gap:0}
 footer .top>div:first-child{padding-block-end:var(--s4)}
 .qcats{row-gap:var(--s4);margin-block-start:var(--s5)}
 .seo{padding-inline:var(--page-gutter)}
 .totop{inset-block-end:calc(var(--tabbar-height) + var(--s4) + env(safe-area-inset-bottom));inset-inline-end:var(--page-gutter)}
}

/* The desktop search field must shrink between the logo and tools on tablets. */
.nav .search,.nav .search .box{min-inline-size:0}

/* Framed fields (owner, 2026-11-28): when the frame around an input shows the focus (:focus-within), the input itself
   draws no second box. Add any new framed field's class here. Number arrows are hidden everywhere (amounts are typed). */
html body :is(.tsheet-amt,.ctu-amt,.lib-q) input:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}
input[type=number]{-moz-appearance:textfield;appearance:textfield}
input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}


/* Cloudflare Turnstile holder (every protected form): full width, so the «flexible» widget lines up with the inputs */
.rdz-ts{inline-size:100%;max-inline-size:100%}
.rdz-ts iframe{max-inline-size:100%}
/* search history (2026-12-01) */
.sugg .hist-cap{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sugg .hist-clear{border:0;background:none;color:var(--soft);font-size:11px;cursor:pointer;padding:2px 4px;text-decoration:underline}
.sugg .hist-clear:hover{color:var(--text)}
.sugg .hchip{display:inline-flex;align-items:center;border:1px solid var(--hair);border-radius:var(--r-pill);background:#fff;overflow:hidden}
.sugg .chips .hchip button{border:0;background:none;border-radius:0;min-width:0;min-height:0;box-shadow:none}
.sugg .chips .hchip button::before,.sugg .chips .hchip button::after{display:none}
.sugg .chips .hchip button{display:inline-flex;align-items:center;align-self:stretch}
.sugg .chips .hchip .hdel{padding:0 8px 0 4px;color:var(--soft);font-size:14px;line-height:1}
[dir=rtl] .sugg .chips .hchip .hdel{padding:0 4px 0 8px}
.sugg .chips .hchip .hdel:hover{color:#EB1C24}
.sugg .chips .hchip .hdel .i{width:12px;height:12px}
.search.open .sugg:empty,.sugg:empty{display:none}
.sugg .chips .hchip a{display:inline-flex;align-items:center;padding:2px 10px;font-size:12px;color:inherit;text-decoration:none}
.sugg .res .hist-ic{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:8px;background:var(--card2,#f3f3f5);color:var(--soft)}
.sugg .res .hist-ic .i{width:16px;height:16px}
.sugg .res .hist-mark{display:inline-flex;align-items:center;color:var(--soft)}
.sugg .res .hist-mark .i{width:14px;height:14px}
.sugg .chips.hist{row-gap:10px}
/* home slider trial (owner 2026-12-01): light tones of the four pictures of the shown slide — one tone per corner */
.hx-tone{position:absolute;inset:0;z-index:-1;border-radius:inherit;opacity:0;transition:opacity .6s ease;pointer-events:none;background:radial-gradient(95% 125% at 100% 0%,var(--t1),transparent 72%),radial-gradient(95% 125% at 0% 0%,var(--t2),transparent 72%),radial-gradient(95% 125% at 100% 100%,var(--t3),transparent 72%),radial-gradient(95% 125% at 0% 100%,var(--t4),transparent 72%),#fff}
.hx-tone.on{opacity:1}
.hx:has(.hx-tone){background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.hx:has(.hx-tone):before{display:none}
/* dark mode / dark slider style: the same hues, dark, with light dots */
:is(html[data-theme="dark"],.dk) .hx:has(.hx-tone),.hx.hx-dark:has(.hx-tone){background:#1c1d21}
:is(html[data-theme="dark"],.dk) .hx-tone,.hx.hx-dark .hx-tone{background:radial-gradient(95% 125% at 100% 0%,var(--d1),transparent 72%),radial-gradient(95% 125% at 0% 0%,var(--d2),transparent 72%),radial-gradient(95% 125% at 100% 100%,var(--d3),transparent 72%),radial-gradient(95% 125% at 0% 100%,var(--d4),transparent 72%),#1c1d21}
:is(html[data-theme="dark"],.dk) .hx-tone:before,.hx.hx-dark .hx-tone:before{background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.09) 1px,transparent 1.5px) 0 0/18px 18px}
.hx-tone:before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 1px 1px,rgba(var(--brand-rgb,230,0,0),.10) 1px,transparent 1.5px) 0 0/18px 18px}
