/* rafaq-theme v2 (28/11/2026) - Rafaq logo colors, active only on rafaq.ae (html.rf) */
html.rf{--acc:#0B6E4F;--gold:#C9A227;--bg:#FAF9F6;--fr:#F3F1EA;--soft:#E7F0EB;--line:#E2E6E1;--ink:#1F2A26;--mut:#5E6A64}
html.rf body{background:var(--bg)}
html.rf .pc .sn{color:var(--acc)}
html.rf .ty{color:var(--acc)}
html.rf footer{background:#0B6E4F;color:#FAF9F6}
html.rf footer p{color:#E7F0EB}
html.rf footer a{color:#FAF9F6}
html.rf footer a:hover{color:#C9A227}
html.rf #nd55{background:#0B6E4F;background-image:none}
html.rf #nd55 .tag,html.rf #nd55 .go{color:#0B6E4F}
html.rf .btn.p:hover{background:#09593F}
html.rf ::selection{background:#C9A227;color:#1F2A26}
html.rf .bn{display:none}

/* 28/11: store-opening offer bar hidden (showcase not used) */
/* 28/11 11:15: bar shown again, links to /open/ via showcase redirect */

/* 28/11 11:20: gold accents from the logo (#C9A227); darker gold #A8841A for text on light bg */
html.rf{--gold:#C9A227;--gold-d:#A8841A;--gold-s:#F6EFD9}
html.rf header{border-bottom:3px solid var(--gold)}
html.rf .hero{border:1px solid #E9DDB0}
html.rf .hero .tag{background:var(--gold-s);color:#7A5F0E;border:1px solid var(--gold)}
html.rf .hero h1 bdi{color:var(--gold-d)}
html.rf .btn.s{border:1.5px solid var(--gold)}
html.rf .btn.s:hover{background:var(--gold-s)}
html.rf .chip:hover{border-color:var(--gold)}
html.rf .search:focus-within{border-color:var(--gold)}
html.rf .hd h2::after{content:"";display:block;width:48px;height:4px;border-radius:4px;background:var(--gold);margin-top:8px}
html.rf .pc .off{background:var(--gold);color:#1F2A26}
html.rf .nav a.ic i{background:var(--gold);color:#1F2A26}
html.rf footer{border-top:4px solid var(--gold)}
html.rf footer h3,html.rf footer h4{color:var(--gold)}

/* nd55 waving flag + gold shine 2026-11-28 */
html.rf #nd55{background:#0B6E4F;position:relative;overflow:hidden;padding-bottom:3px}
html.rf #nd55::after{content:"";position:absolute;inset:auto 0 0 0;height:3px;background:#C9A227}
html.rf #nd55::before{content:"";position:absolute;top:0;bottom:0;left:-40%;width:35%;background:linear-gradient(100deg,transparent,rgba(243,215,122,.28),transparent);animation:nd55sh 4.5s ease-in-out infinite;pointer-events:none;z-index:0}
html.rf #nd55 .w{position:relative;z-index:1}
html.rf #nd55 .tag{color:#0B6E4F;padding:4px 12px;display:inline-flex;align-items:center}
html.rf #nd55 .fl{position:relative;overflow:hidden;width:26px;height:17px;margin-inline-end:8px;border-radius:2px;background:linear-gradient(#00732f 0 33.3%,#fff 33.3% 66.6%,#111 66.6%);box-shadow:inset 8px 0 0 #c8102e,0 0 0 1px rgba(0,0,0,.18);transform-origin:left center;animation:nd55wv 1.6s ease-in-out infinite}
html.rf #nd55 .fl::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,0) 0,rgba(0,0,0,.22) 20%,rgba(255,255,255,.28) 40%,rgba(0,0,0,.18) 60%,rgba(255,255,255,.22) 80%,rgba(0,0,0,0) 100%);background-size:200% 100%;animation:nd55fold 1.6s linear infinite}
html.rf #nd55 .t b{color:#F3D77A}
html.rf #nd55 .u{background:rgba(0,0,0,.15);border-color:rgba(255,255,255,.3)}
html.rf #nd55 .go{color:#0B6E4F}
html.rf #nd55 .go:hover{background:#F6EFD9}
@keyframes nd55sh{0%{left:-40%}60%,100%{left:110%}}
@keyframes nd55wv{0%,100%{transform:perspective(60px) rotateY(-10deg) skewY(-2deg)}50%{transform:perspective(60px) rotateY(10deg) skewY(2deg)}}
@keyframes nd55fold{to{background-position:-200% 0}}
/* cats-circles-20261128: تصنيفات دوائر تمرر بالعرض فوق العروض (جوال بس) */
@media (max-width:700px){
html.rf #app>section:has(>.g.ct){order:-1;margin:4px 0 2px;padding:0}
html.rf #app>section:has(>.g.ct) .hd{margin:0 0 8px}
html.rf #app>section:has(>.g.ct) .hd h2{font-size:18px}
html.rf #app>section:has(>.g.ct) .hd p,html.rf #app>section:has(>.g.ct) .hd h2:after{display:none}
html.rf .g.ct{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px 2px 6px;margin:0 -2px}
html.rf .g.ct::-webkit-scrollbar{display:none}
html.rf .g.ct .tile{flex:0 0 70px;width:70px;display:flex;flex-direction:column;align-items:center;gap:6px;background:none!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0;scroll-snap-align:start;overflow:visible}
html.rf .g.ct .tile .fr{width:66px!important;height:66px!important;aspect-ratio:1/1;border-radius:50%!important;overflow:hidden;padding:0;border:2px solid #C9A227;box-shadow:0 0 0 2px #FAF9F6 inset;background:#F6EFD9;flex:none}
html.rf .g.ct .tile .fr img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%}
html.rf .g.ct .tile .tx{padding:0!important;text-align:center;display:block}
html.rf .g.ct .tile .tx b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.5px;line-height:1.35;font-weight:600;color:#1F2A26}
html.rf .g.ct .tile .tx small{display:none}
}
/* hide-chips-home-mobile-20261128: صف أزرار التصنيفات مخفي في الرئيسية على الجوال (الدوائر بداله) */
@media (max-width:700px){html.rf body:has(#app>section>.g.ct) #cats{display:none!important}}
/* shapes-20261128: شكل واحد للموقع = مربع/مستطيل بزوايا مدورة مثل لوقو رِفاق (بدل الكبسولات والدوائر) */
html.rf #nd55 .go,html.rf #cats .chip,html.rf #rfc-b,html.rf .ns>a{border-radius:12px!important}
html.rf .tag,html.rf .ty,html.rf .off,html.rf .nw{border-radius:8px!important}
html.rf img.lg,html.rf .ns>a>img,html.rf .ns>a>i,html.rf .g.ct .tile .fr,html.rf .g.ct .tile .fr img{border-radius:22%!important}
html.rf .ac .shr,html.rf .ac .fav{border-radius:12px!important}
