@font-face{font-family:Cairo;font-weight:400;src:url(/cairo-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE80-FEFC}
@font-face{font-family:Cairo;font-weight:600;src:url(/cairo-arabic-600-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE80-FEFC}
@font-face{font-family:Cairo;font-weight:800;src:url(/cairo-arabic-800-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE80-FEFC}
@font-face{font-family:Cairo;font-weight:400;src:url(/cairo-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Cairo;font-weight:600;src:url(/cairo-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Cairo;font-weight:800;src:url(/cairo-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--brand:#0f766e;--ink:#1c1917;--mut:#78716c;--line:#e7e5e4;--bg:#faf8f5;--card:#fff;--ok:#15803d;--bad:#b91c1c}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Cairo,system-ui,sans-serif;font-size:16px;line-height:1.55}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--brand)}
.wrap{max-width:560px;margin:0 auto;padding:16px 16px 96px}
.wide{max-width:760px}
h1{font-size:26px;line-height:1.3;margin:0 0 8px;font-weight:800}
h2{font-size:19px;margin:0 0 10px;font-weight:800}
h3{font-size:16px;margin:0 0 6px;font-weight:600}
p{margin:0 0 10px}
.mut{color:var(--mut);font-size:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:var(--brand);color:#fff;border-radius:12px;padding:12px 18px;font-weight:600;cursor:pointer;min-height:48px;text-decoration:none;width:100%}
.btn.sec{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.ghost{background:transparent;color:var(--brand);border:1px solid var(--brand)}
.btn.sm{min-height:38px;padding:6px 12px;width:auto;font-size:14px}
.btn.bad{background:var(--bad)}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.row{display:flex;gap:10px;align-items:center}
.row>*{flex:1}
.row>.fit{flex:none}
label{display:block;font-weight:600;font-size:14px;margin:12px 0 4px}
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],textarea,select{width:100%;border:1px solid #d6d3d1;border-radius:12px;padding:11px 12px;background:#fff;min-height:48px}
input:focus,textarea:focus,select:focus{outline:2px solid var(--brand);outline-offset:1px}
.ltr{direction:ltr;text-align:left}
.tabs{position:fixed;bottom:0;inset-inline:0;background:#fff;border-top:1px solid var(--line);display:flex;padding-bottom:env(safe-area-inset-bottom);z-index:5}
.tabs button{flex:1;border:0;background:none;padding:8px 2px 6px;color:var(--mut);font-size:12px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer}
.tabs button.on{color:var(--brand);font-weight:800}
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.logo{font-weight:800;font-size:20px;display:flex;align-items:center;gap:8px}
.logo i{width:34px;height:34px;border-radius:10px;background:var(--brand);color:#fff;display:grid;place-items:center;font-style:normal}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}
.stat b{display:block;font-size:30px;line-height:1.1;font-weight:800}
.stat span{color:var(--mut);font-size:13px}
.bars{display:flex;align-items:flex-end;gap:6px;height:90px}
.bars div{flex:1;background:var(--brand);opacity:.85;border-radius:6px 6px 0 0;min-height:3px;position:relative}
.bars small{position:absolute;bottom:-20px;inset-inline:0;text-align:center;color:var(--mut);font-size:11px}
.li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.li:last-child{border:0}
.pill{display:inline-block;border-radius:99px;padding:2px 10px;font-size:12px;background:#f5f5f4;color:var(--mut)}
.pill.ok{background:#dcfce7;color:var(--ok)}
.err{background:#fef2f2;color:var(--bad);border:1px solid #fecaca;border-radius:12px;padding:10px 12px;margin:10px 0;font-size:14px}
.note{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:10px 12px;margin:10px 0;font-size:14px}
#toast{position:fixed;top:14px;inset-inline:14px;z-index:30;pointer-events:none}
#toast div{background:#1c1917;color:#fff;border-radius:12px;padding:12px 14px;margin:0 auto 8px;max-width:420px;box-shadow:0 8px 24px #0003;animation:in .2s}
@keyframes in{from{transform:translateY(-10px);opacity:0}}
/* loyalty card */
.lc{--b:var(--brand);background:var(--b);color:#fff;border-radius:22px;padding:18px;box-shadow:0 10px 30px -10px var(--b);position:relative;overflow:hidden}
.lc:before{content:"";position:absolute;inset-inline-end:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:#ffffff1c}
.lc .hd{display:flex;align-items:center;gap:12px;position:relative}
.lc .lg{width:48px;height:48px;border-radius:14px;background:#fff;color:var(--b);display:grid;place-items:center;overflow:hidden;flex:none}
.lc .lg img{width:100%;height:100%;object-fit:cover}
.lc .lg .ic{width:26px;height:26px}
.lc .bn{font-weight:800;font-size:20px;line-height:1.2}
.lc .rw{font-size:14px;opacity:.92}
.stamps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 6px;position:relative}
.stamp{aspect-ratio:1;border-radius:50%;border:2px dashed #ffffff88;display:grid;place-items:center;color:#fff0}
.stamp.on{background:#fff;border:2px solid #fff;color:var(--b);animation:pop .35s both}
.stamp .ic{width:55%;height:55%}
.stamp.gift{border-style:solid;color:#fff}
.stamp.gift.on{color:var(--b)}
@keyframes pop{from{transform:scale(.4)}60%{transform:scale(1.12)}}
.lc .cnt{display:flex;justify-content:space-between;font-weight:600;position:relative;margin-top:6px}
.pbar{height:14px;border-radius:99px;background:#ffffff40;margin:20px 0 8px;overflow:hidden;position:relative}
.pbar i{display:block;height:100%;background:#fff;border-radius:99px;transition:width .6s}
.big{font-size:44px;font-weight:800;line-height:1;position:relative}
.qrbox{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;text-align:center}
.qrbox svg{width:210px;height:210px;display:block;margin:0 auto}
.code6{font-size:34px;font-weight:800;letter-spacing:6px;direction:ltr;margin:6px 0 0}
.ring{height:6px;background:#e7e5e4;border-radius:9px;overflow:hidden;margin:10px 0 4px}
.ring i{display:block;height:100%;background:var(--brand);transition:width 1s linear}
.full{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#fff;background:var(--ok);animation:in .2s}
.full .ck{width:110px;height:110px;border-radius:50%;background:#fff;color:var(--ok);display:grid;place-items:center;margin-bottom:18px}
.full .ck .ic{width:64px;height:64px;stroke-width:3}
.full h1{font-size:30px}
.full .btn{background:#fff;color:var(--ok);max-width:320px;margin-top:22px}
.hero{background:linear-gradient(160deg,#0f766e,#134e4a);color:#fff;border-radius:24px;padding:26px 20px;margin-bottom:16px}
.hero h1{font-size:30px}
.hero .btn{background:#fff;color:#134e4a;margin-top:10px}
.hero .btn.ghost{background:transparent;color:#fff;border-color:#fff8}
.feat{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.feat .ic{background:#ccfbf1;color:#0f766e;border-radius:12px;padding:8px;width:42px;height:42px}
.sw{display:flex;flex-wrap:wrap;gap:8px}
.sw button{width:38px;height:38px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer}
.sw button.on{box-shadow:0 0 0 3px var(--ink)}
.ip{display:flex;flex-wrap:wrap;gap:8px}
.ip button{width:46px;height:46px;border-radius:12px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;cursor:pointer}
.ip button.on{border-color:var(--brand);background:#ccfbf1;color:var(--brand)}
.seg{display:flex;background:#f5f5f4;border-radius:12px;padding:4px;gap:4px}
.seg button{flex:1;border:0;background:none;border-radius:9px;padding:9px;cursor:pointer;font-weight:600;color:var(--mut)}
.seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 4px #0002}
.sw2{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tg{width:52px;height:30px;border-radius:99px;background:#d6d3d1;border:0;position:relative;cursor:pointer;flex:none}
.tg:after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:.2s}
.tg.on{background:var(--brand)}
.tg.on:after{inset-inline-start:25px}
video{width:100%;border-radius:16px;background:#000;aspect-ratio:1;object-fit:cover}
.num{font-size:34px;font-weight:800;text-align:center;letter-spacing:8px;direction:ltr}
.stp{display:flex;align-items:center;justify-content:center;gap:16px}
.stp button{width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:24px;cursor:pointer}
.stp b{font-size:32px;min-width:60px;text-align:center}
.print-only{display:none}
@media print{body *{visibility:hidden}.print-only,.print-only *{visibility:visible}.print-only{display:block;position:absolute;inset:0;text-align:center;padding:40px;background:#fff}.print-only svg{width:340px;height:340px}}
