:root{--bg:#fff;--surface:#fff;--soft:#f8fafc;--text:#111827;--muted:#667085;--line:#e5e7eb;--primary:#111827;--accent:#4f46e5;--accent-soft:#eef2ff;--shadow:0 14px 38px rgba(17,24,39,.07);--shadow-soft:0 8px 22px rgba(17,24,39,.045);--safe:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html{background:#fff;scroll-behavior:smooth}body{min-height:100vh;background:#fff;color:var(--text);font-family:'Noto Sans Arabic',system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;padding-bottom:96px}a{color:inherit;text-decoration:none}.heroicon{width:27px;height:27px;stroke-width:1.9}.cat-header{position:sticky;top:0;z-index:30;min-height:68px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:10px 18px;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(229,231,235,.90);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.cat-header strong{grid-column:2;justify-self:center;max-width:min(50vw,330px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:950;letter-spacing:-.04em}.cat-icon-btn{width:42px;height:42px;border-radius:999px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft);font-size:18px;font-weight:950}.cat-icon-btn:first-child{grid-column:3;justify-self:end}.cat-icon-btn.cart{grid-column:1;justify-self:start;position:relative}.cat-icon-btn.cart span{position:absolute;top:-6px;left:-6px;min-width:22px;height:22px;border-radius:999px;background:#dc2626;color:#fff;border:2px solid #fff;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;font-size:11px;font-weight:950}.cat-page{width:min(100%,1160px);margin:0 auto;padding:18px 18px 40px}.cat-highlights{display:flex;gap:18px;overflow-x:auto;padding:4px 4px 24px;margin-bottom:8px;scroll-snap-type:x mandatory;scrollbar-width:none}.cat-highlights::-webkit-scrollbar{display:none}.cat-highlight{flex:0 0 96px;display:grid;justify-items:center;gap:8px;text-align:center;scroll-snap-align:start}.cat-highlight span{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;color:#111827;background:radial-gradient(circle at 32% 25%,#fff 0 20%,rgba(255,255,255,.40) 23%,transparent 42%),linear-gradient(145deg,#f9fafb,#eef2ff);border:3px solid #fff;outline:1px solid #e5e7eb;box-shadow:0 12px 28px rgba(17,24,39,.10),inset 0 -12px 22px rgba(79,70,229,.08)}.cat-highlight strong{font-size:12px;line-height:1.35;font-weight:950}.cat-groups{display:grid;gap:16px}.cat-group{scroll-margin-top:84px;background:#fff;border:1px solid #edf0f4;border-radius:28px;box-shadow:var(--shadow-soft);padding:16px}.cat-group-head{display:grid;grid-template-columns:58px minmax(0,1fr)auto;gap:12px;align-items:center;margin-bottom:14px}.cat-orb{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;color:#111827;background:#f8fafc;border:1px solid #edf0f4}.cat-group h2{font-size:clamp(20px,3vw,28px);line-height:1.25;font-weight:950;letter-spacing:-.03em}.cat-group p{color:#667085;font-size:13px;font-weight:800;line-height:1.6;margin-top:4px}.cat-view-all{min-height:40px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#111827;color:#fff;font-size:12px;font-weight:950}.cat-sub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cat-sub-card{min-height:116px;display:grid;grid-template-rows:auto 1fr auto;align-content:start;gap:9px;padding:14px;border-radius:22px;background:#fff;border:1px solid #edf0f4;box-shadow:0 6px 18px rgba(17,24,39,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.cat-sub-card:hover{transform:translateY(-3px);border-color:#d8dde6;box-shadow:0 16px 34px rgba(17,24,39,.08)}.cat-sub-card span{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;color:#111827;background:#f8fafc;border:1px solid #edf0f4}.cat-sub-card .heroicon{width:24px;height:24px}.cat-sub-card strong{min-height:38px;color:#111827;font-size:13px;font-weight:950;line-height:1.45}.cat-sub-card em{font-style:normal;color:#667085;font-size:11px;font-weight:900}.cat-sub-empty,.cat-empty{min-height:160px;border:1px dashed #d0d5dd;border-radius:22px;background:#fff;display:grid;place-items:center}.cat-sub-empty svg,.cat-empty svg{width:120px;height:120px}.cat-bottom-nav{position:fixed;left:50%;bottom:calc(10px + var(--safe));transform:translateX(-50%);width:min(420px,calc(100% - 20px));z-index:40;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:7px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 18px 42px rgba(17,24,39,.13);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.cat-bottom-nav a{position:relative;min-height:58px;border-radius:18px;display:grid;place-items:center;gap:2px;color:#667085;font-weight:950}.cat-bottom-nav span{font-size:22px;line-height:1}.cat-bottom-nav em{font-style:normal;font-size:11px}.cat-bottom-nav a.active,.cat-bottom-nav a:hover{color:#111827;background:#f8fafc}.cat-bottom-nav strong{position:absolute;top:4px;left:20px;min-width:18px;height:18px;border-radius:999px;background:#dc2626;color:#fff;border:2px solid #fff;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;font-size:10px}
@media (min-width:901px){body{padding-bottom:0}.cat-bottom-nav{display:none}.cat-page{padding-bottom:48px}}
@media (max-width:900px){.cat-page{padding:14px 12px 116px}.cat-header{min-height:62px;padding:8px 12px}.cat-header strong{font-size:16px;max-width:190px}.cat-icon-btn{width:38px;height:38px}.cat-highlights{gap:12px;padding-bottom:20px}.cat-highlight{flex-basis:82px}.cat-highlight span{width:68px;height:68px}.cat-group{border-radius:24px;padding:14px}.cat-group-head{grid-template-columns:52px minmax(0,1fr);gap:10px}.cat-orb{width:52px;height:52px;border-radius:18px}.cat-view-all{grid-column:1/-1;width:100%}.cat-sub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cat-sub-card{min-height:108px;padding:12px;border-radius:18px}.cat-sub-card span{width:40px;height:40px;border-radius:14px}.cat-sub-card strong{font-size:12.5px}}
