 :root{--navy:#102b42;--navy2:#173d59;--blue:#285b7a;--ink:#172b3a;--muted:#71808b;--line:#e4e9ed;--bg:#f7f9fa;--white:#fff;--gold:#d5a65b;--shadow:0 16px 45px rgba(16,43,66,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Cairo",Arial,sans-serif}button,input,textarea,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}a{text-decoration:none;color:inherit}.topbar{height:78px;padding:0 clamp(18px,6vw,88px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;color:var(--navy)}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--navy);color:#fff;font-size:25px;font-weight:800}.brand strong{display:block;font-size:21px;line-height:1.1}.brand small{font-size:9px;letter-spacing:3px;color:var(--gold);font-weight:800}.top-actions{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:700}.outline-btn{border:1px solid #cbd5dc;background:#fff;color:var(--navy);padding:9px 16px;border-radius:10px;cursor:pointer}.hero{min-height:360px;background:linear-gradient(115deg,#0d263b,#1c4a69);color:#fff;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;padding:55px clamp(22px,9vw,130px);overflow:hidden;position:relative}.hero-copy{position:relative;z-index:2}.eyebrow{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.4px}.hero h1{font-size:clamp(38px,5vw,62px);margin:10px 0 4px;line-height:1.3}.hero p{color:#d7e2e9;margin:0 0 25px}.primary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--gold);color:#172b3a;font-weight:800;padding:11px 22px;border-radius:11px;cursor:pointer;transition:.2s}.primary-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}.hero-art{height:255px;position:relative;display:grid;place-items:center}.hero-art:before{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.22);border-radius:50%;box-shadow:0 0 0 30px rgba(255,255,255,.035),0 0 0 65px rgba(255,255,255,.025)}.hero-stamp{position:relative;width:190px;height:190px;border-radius:50%;display:grid;place-content:center;text-align:center;border:2px solid rgba(255,255,255,.7);background:linear-gradient(145deg,#f4e7ce,#c38e4b);color:var(--navy);font-size:34px;font-weight:900;box-shadow:var(--shadow);transform:rotate(-8deg)}.hero-stamp small{font-size:10px;letter-spacing:4px}.hero-bubble{position:absolute;border-radius:50%;background:rgba(255,255,255,.12)}.bubble-one{width:25px;height:25px;top:12%;right:12%}.bubble-two{width:12px;height:12px;bottom:10%;left:10%}.section{padding:55px clamp(18px,7vw,100px)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:23px}.section-heading h2{font-size:29px;margin:2px 0 0;color:var(--navy)}.muted{color:var(--muted);font-size:13px}.toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap}.searchbox{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 13px;min-width:min(100%,310px);height:46px;flex:1;max-width:440px}.searchbox span{font-size:25px;color:var(--muted)}.searchbox input{border:0;outline:0;width:100%;background:transparent}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:30px;padding:8px 15px;cursor:pointer;font-size:13px}.filter.active{background:var(--navy);color:#fff;border-color:var(--navy)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;cursor:pointer;transition:.22s;box-shadow:0 3px 15px rgba(16,43,66,.035)}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{width:100%;height:205px;object-fit:cover;background:#e9eef1;display:block}.product-info{padding:16px}.product-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-info h3{margin:0;color:var(--navy);font-size:17px}.tag{font-size:10px;color:#8b672d;background:#fbf3e5;border-radius:30px;padding:4px 9px;white-space:nowrap}.product-info p{color:var(--muted);font-size:12px;line-height:1.8;margin:8px 0 12px;min-height:42px}.product-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f2f4;padding-top:10px}.price-preview{font-weight:800;color:var(--navy);font-size:14px}.details-link{font-size:12px;color:var(--blue);font-weight:800}.empty-state{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #cbd5dc;border-radius:16px;padding:35px;color:var(--muted)}.empty-state strong{color:var(--navy)}.branches-section{background:#eef3f6}.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.branch-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.branch-card h3{margin:0 0 8px;color:var(--navy)}.branch-card p{margin:6px 0;color:var(--muted);font-size:13px}.branch-card a{color:var(--blue);font-weight:700;font-size:13px}footer{background:#0d263b;color:#d8e2e8;text-align:center;padding:27px 15px;font-size:12px}footer p{margin:6px 0 0;color:#9fb1be}.footer-brand{font-size:20px;font-weight:800}.footer-brand span{font-size:9px;letter-spacing:3px;color:var(--gold)}.dialog{position:fixed;inset:0;background:rgba(6,20,31,.62);z-index:20;display:grid;place-items:center;padding:18px;overflow:auto}.hidden{display:none!important}.dialog-card{background:#fff;border-radius:18px;width:min(100%,560px);max-height:94vh;overflow:auto;padding:25px;position:relative;box-shadow:0 20px 70px rgba(0,0,0,.25)}.close-btn{position:absolute;left:15px;top:12px;border:0;background:#edf1f3;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer;color:var(--navy);z-index:2}.product-dialog-card{padding:0;overflow:hidden}.product-dialog-card>img{width:100%;height:260px;object-fit:cover;background:#e9eef1}.dialog-content{padding:23px}.dialog-content h2{margin:3px 0;color:var(--navy)}.dialog-content p{color:var(--muted);line-height:1.9}.price-list{display:grid;gap:8px}.price-row{display:flex;justify-content:space-between;padding:10px 12px;background:#f4f7f8;border-radius:9px;font-weight:700}.admin-card{width:min(100%,760px)}.admin-card h2{margin:3px 0 8px;color:var(--navy)}.stack{display:grid;gap:13px}.stack label{display:grid;gap:6px;font-size:13px;font-weight:700;color:var(--ink)}input,textarea,select{border:1px solid #dce3e8;border-radius:9px;padding:10px 11px;outline:none;background:#fff;min-width:0}input:focus,textarea:focus,select:focus{border-color:#7295ad;box-shadow:0 0 0 3px rgba(40,91,122,.09)}.full{width:100%}.error{color:#b42318;font-size:12px;margin:0}.success{color:#16804a;font-size:12px}.admin-heading,.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.admin-tabs{display:flex;gap:7px;overflow:auto;border-bottom:1px solid var(--line);margin:20px 0}.tab{border:0;background:none;padding:11px 13px;color:var(--muted);white-space:nowrap;cursor:pointer;border-bottom:2px solid transparent}.tab.active{color:var(--navy);border-color:var(--gold);font-weight:800}.panel-title h3{color:var(--navy)}.admin-list{display:grid;gap:8px}.admin-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:10px}.admin-row img{width:54px;height:54px;object-fit:cover;border-radius:8px;background:#eef1f3}.admin-row .row-main{flex:1;min-width:0}.admin-row strong{display:block;color:var(--navy);font-size:13px}.admin-row small{color:var(--muted)}.row-actions{display:flex;gap:6px}.mini-btn{border:1px solid var(--line);background:#fff;padding:6px 9px;border-radius:7px;cursor:pointer;font-size:11px}.mini-btn.danger{color:#b42318}.inline-form{display:flex;gap:7px}.inline-form input{width:150px}.tab-panel{padding-bottom:10px}.edit-card{width:min(100%,520px)}.check-label{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important}.check-label input{width:17px;height:17px}.small{font-size:11px}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);background:var(--navy);color:#fff;padding:11px 18px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;z-index:50;font-size:13px}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:800px){.hero{grid-template-columns:1fr .7fr;padding:42px 25px}.hero-stamp{width:145px;height:145px;font-size:26px}.hero-art:before{width:190px;height:190px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image{height:175px}}
@media(max-width:560px){.topbar{height:66px;padding:0 15px}.top-actions{gap:12px;font-size:12px}.outline-btn{padding:7px 10px}.hero{grid-template-columns:1fr;min-height:330px;padding:38px 22px}.hero-art{position:absolute;left:-28px;bottom:-30px;opacity:.32;width:180px;height:180px}.hero-stamp{width:135px;height:135px}.hero h1{font-size:42px}.section{padding:38px 15px}.section-heading h2{font-size:24px}.product-grid{gap:11px}.product-image{height:135px}.product-info{padding:11px}.product-info h3{font-size:14px}.product-info p{font-size:11px;min-height:55px}.tag{font-size:9px}.price-preview{font-size:12px}.details-link{font-size:11px}.branch-grid{grid-template-columns:1fr}.toolbar{align-items:stretch}.filters{flex-wrap:nowrap;overflow:auto;padding-bottom:4px}.filter{flex-shrink:0}.admin-card{padding:20px 15px}.admin-row{flex-wrap:wrap}.row-actions{margin-right:auto}.dialog{padding:9px}.product-dialog-card>img{height:210px}}
