@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&display=swap');
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:'Cairo',Tahoma,Arial,sans-serif;background:#f8fafc;color:#0f172a;direction:rtl} a{text-decoration:none;color:inherit} img{max-width:100%}
.menu-body{background:radial-gradient(circle at top left,#dff8ff 0,#f8fafc 28%,#fff 55%)}
.menu-shell{max-width:1180px;margin:auto;padding:18px 14px 70px}.hero{position:relative;overflow:hidden;border-radius:34px;padding:26px;min-height:310px;background:linear-gradient(135deg,#0f172a 0%,#111827 55%,#053747 100%);box-shadow:0 26px 70px rgba(15,23,42,.22);color:#fff}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 22%,rgba(245,158,11,.26),transparent 26%),radial-gradient(circle at 86% 12%,rgba(6,182,212,.28),transparent 30%);opacity:.95}.hero-inner{position:relative;display:grid;grid-template-columns:1fr 300px;gap:22px;align-items:center}.brand h1{font-size:clamp(30px,5vw,58px);line-height:1.1;margin:10px 0 4px;font-weight:900;letter-spacing:-1px}.brand h2{font-size:clamp(17px,2.5vw,26px);margin:0;color:#f59e0b;font-weight:800;direction:ltr;text-align:right}.hero p{max-width:560px;color:#dbeafe;font-size:17px;line-height:1.9}.brand-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.pill{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.09);color:#fff;border-radius:999px;padding:9px 14px;font-weight:800;backdrop-filter:blur(8px)}.logo-card{background:transparent;border-radius:30px;padding:0;min-height:210px;display:flex;align-items:center;justify-content:center;box-shadow:none}.logo-card img{max-height:230px;width:100%;object-fit:contain;border-radius:0;filter:drop-shadow(0 20px 34px rgba(0,0,0,.38))}.phone-pill{direction:ltr;unicode-bidi:isolate}.phone-pill bdi{direction:ltr;unicode-bidi:isolate}.toolbar{position:sticky;top:0;z-index:20;background:rgba(248,250,252,.9);backdrop-filter:blur(14px);padding:14px 0;margin:16px 0}.searchbox{display:grid;grid-template-columns:1fr auto;gap:10px}.searchbox input{width:100%;border:1px solid #e2e8f0;background:#fff;border-radius:20px;padding:15px 18px;font-family:inherit;font-size:16px;box-shadow:0 10px 30px rgba(15,23,42,.06);outline:none}.searchbox input:focus{border-color:#06b6d4;box-shadow:0 0 0 4px rgba(6,182,212,.12)}.chips{display:flex;gap:10px;overflow:auto;padding:12px 0 4px;scrollbar-width:none}.chips a{white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:9px 15px;font-weight:800;box-shadow:0 8px 20px rgba(15,23,42,.05)}.chips a:hover{background:#0f172a;color:#fff}.cat-section{margin-top:26px}.cat-title{display:flex;align-items:center;gap:12px;margin:0 0 15px}.cat-title .icon{width:52px;height:52px;border-radius:18px;background:#0f172a;color:#fff;display:grid;place-items:center;font-size:24px;box-shadow:0 12px 25px rgba(15,23,42,.18)}.cat-title h3{font-size:28px;margin:0;font-weight:900}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid #eef2f7;border-radius:28px;overflow:hidden;box-shadow:0 14px 35px rgba(15,23,42,.08);transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 22px 45px rgba(15,23,42,.14)}.product-img{height:168px;background:#f1f5f9;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:cover;display:block}.product-info{padding:14px 15px 16px}.product-info h4{font-size:18px;line-height:1.45;margin:0 0 9px;font-weight:900;min-height:50px}.product-info p{margin:0 0 10px;color:#64748b;font-size:13px;line-height:1.7}.price-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.price{background:linear-gradient(135deg,#f59e0b,#fb923c);color:#111827;font-weight:900;border-radius:16px;padding:8px 12px;min-width:76px;text-align:center}.currency{font-size:12px;color:#475569;font-weight:800}.empty-state{text-align:center;padding:35px;border-radius:30px;background:#fff;border:1px dashed #cbd5e1}.footer-note{text-align:center;color:#64748b;margin-top:35px}.expired{min-height:100vh;display:grid;place-items:center;padding:18px;background:#f8fafc}.expired-card{max-width:520px;background:#fff;border-radius:30px;padding:30px;text-align:center;box-shadow:0 20px 60px rgba(15,23,42,.12)}
.login-body,.admin-body{background:#f1f5f9}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:18px}.login-card{width:min(440px,100%);background:#fff;border-radius:30px;padding:28px;box-shadow:0 24px 70px rgba(15,23,42,.13)}.login-card h1{margin:0 0 8px;font-size:28px}.field{margin-bottom:14px}.field label{display:block;font-weight:800;margin-bottom:7px}.input,select,textarea{width:100%;border:1px solid #dbe3ef;border-radius:16px;padding:12px 13px;font-family:inherit;background:#fff;outline:none}.btn{border:0;border-radius:16px;padding:12px 16px;font-family:inherit;font-weight:900;cursor:pointer;display:inline-flex;gap:8px;align-items:center;justify-content:center}.btn-primary{background:#0f172a;color:#fff}.btn-accent{background:#f59e0b;color:#111827}.btn-danger{background:#ef4444;color:#fff}.btn-light{background:#e2e8f0;color:#0f172a}.btn-block{width:100%}.admin-layout{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.sidebar{background:#0f172a;color:#fff;padding:18px;position:sticky;top:0;height:100vh}.side-logo{background:rgba(255,255,255,.08);border-radius:22px;padding:12px;text-align:center;margin-bottom:15px}.side-logo img{max-height:90px;object-fit:contain}.sidebar a{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;color:#dbeafe;font-weight:800;margin-bottom:6px}.sidebar a:hover,.sidebar a.active{background:#fff;color:#0f172a}.main{padding:24px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.topbar h1{margin:0;font-size:30px;font-weight:900}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat{background:#fff;border-radius:24px;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.07)}.stat strong{font-size:26px}.panel{background:#fff;border-radius:26px;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.07);margin-bottom:18px}.panel h2{margin:0 0 14px;font-size:22px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0 9px}.table th{text-align:right;color:#64748b;font-size:13px;padding:0 12px}.table td{background:#f8fafc;padding:12px;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}.table td:first-child{border-radius:0 16px 16px 0;border-right:1px solid #eef2f7}.table td:last-child{border-radius:16px 0 0 16px;border-left:1px solid #eef2f7}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.preview-img{width:64px;height:54px;object-fit:cover;border-radius:12px;background:#e2e8f0}.alert{border-radius:16px;padding:12px 14px;margin-bottom:14px;font-weight:800}.alert-ok{background:#dcfce7;color:#166534}.alert-err{background:#fee2e2;color:#991b1b}.qr-paper{min-height:100vh;background:#e2e8f0;padding:30px}.qr-card{width:760px;max-width:100%;margin:auto;background:#fff;border-radius:34px;overflow:hidden;box-shadow:0 24px 80px rgba(15,23,42,.18);text-align:center}.qr-head{background:linear-gradient(135deg,#0f172a,#064e5f);color:#fff;padding:30px}.qr-head img{max-height:145px;background:transparent;border-radius:0;padding:0;filter:drop-shadow(0 14px 24px rgba(0,0,0,.32))}.qr-body{padding:28px}.qr-box{display:inline-block;padding:18px;border:8px solid #f59e0b;border-radius:28px;background:#fff}.qr-box img{width:260px;height:260px;display:block}.print-actions{text-align:center;margin-top:18px}@media print{.print-actions{display:none}.qr-paper{background:#fff;padding:0}.qr-card{box-shadow:none;width:100%;border-radius:0}}
@media(max-width:980px){.hero-inner{grid-template-columns:1fr}.logo-card{max-width:360px}.product-grid{grid-template-columns:repeat(2,1fr)}.admin-layout{grid-template-columns:1fr}.sidebar{height:auto;position:static}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.menu-shell{padding:10px 10px 55px}.hero{border-radius:26px;padding:18px}.brand h1{font-size:32px}.hero p{font-size:14px}.logo-card{min-height:150px;padding:12px}.logo-card img{max-height:160px}.product-grid{grid-template-columns:1fr;gap:12px}.product-card{display:grid;grid-template-columns:118px 1fr;border-radius:22px}.product-img{height:100%;min-height:118px}.product-info{padding:11px}.product-info h4{font-size:16px;min-height:auto}.cat-title h3{font-size:22px}.cat-title .icon{width:44px;height:44px}.toolbar{margin:10px 0;padding:10px 0}.admin-layout{display:block}.main{padding:14px}.topbar{display:block}.cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.sidebar{border-radius:0 0 28px 28px}.qr-paper{padding:10px}.qr-head{padding:20px}.qr-box img{width:210px;height:210px}}
