/* Atayeb menu — ZUS-style: categories on the left, items on the right */
:root{--ivory:#FBF6EC;--card:#fff;--red:#8B1A1A;--red-d:#6E1212;--gold:#C9A24A;--gold-l:#F4EAD0;--ink:#2B1D14;--muted:#7A6A5C;--line:#EADFCB;--side:92px}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%;background:var(--ivory);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
.hide{display:none!important}

/* shell */
.mshell{display:flex;flex-direction:column;height:100vh;height:100dvh}
.mtop{background:var(--red);color:#fff;flex:none;position:relative;overflow:hidden}
.mtop:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 130%,rgba(201,162,74,.45),transparent 45%),radial-gradient(circle at 92% -30%,rgba(201,162,74,.3),transparent 40%)}
.mtop-in{position:relative;display:flex;align-items:center;gap:12px;padding:12px 14px;max-width:1000px;margin:0 auto}
.mlogo{width:46px;height:62px;flex:none;background:var(--ivory);border-radius:9px;border:2px solid var(--gold);display:flex;align-items:center;justify-content:center}
.mlogo img{width:34px}
.mbrand h1{font-family:"Cormorant Garamond",Georgia,serif;font-size:25px;line-height:1;letter-spacing:.4px}
.mbrand p{font-size:12px;opacity:.85;margin-top:3px}
.mbadge{margin-left:auto;text-align:center;background:var(--gold);color:var(--red-d);border-radius:12px;padding:6px 12px;min-width:70px;box-shadow:0 2px 0 rgba(0,0,0,.15)}
.mbadge small{display:block;font-size:9.5px;font-weight:800;letter-spacing:1px}
.mbadge b{font-size:22px;line-height:1.05;white-space:nowrap}
.mbadge b.long{font-size:15px;display:block;padding:3px 0}

.mbody{flex:1;display:flex;min-height:0;max-width:1000px;width:100%;margin:0 auto}
/* left: categories */
.mside{width:var(--side);flex:none;overflow-y:auto;background:#fff;border-right:1px solid var(--line);padding:6px 0 120px;scrollbar-width:none}
.mside::-webkit-scrollbar{display:none}
.mcat{width:100%;display:flex;flex-direction:column;align-items:center;gap:5px;padding:11px 4px;position:relative;color:var(--muted);font-size:11px;font-weight:600;line-height:1.2;text-align:center}
.mcat i{font-style:normal;width:44px;height:44px;border-radius:14px;background:var(--ivory);display:flex;align-items:center;justify-content:center;font-size:23px;transition:all .15s;border:1px solid var(--line)}
.mcat.on{color:var(--red)}
.mcat.on i{background:var(--red);border-color:var(--red);box-shadow:0 4px 12px rgba(139,26,26,.25);transform:scale(1.04)}
.mcat.on:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:var(--red)}

/* right: items */
.mmain{position:relative;flex:1;overflow-y:auto;padding:0 14px 130px;scroll-behavior:smooth;min-width:0}
.msearch{position:sticky;top:0;z-index:5;background:var(--ivory);padding:12px 0 8px}
.msearch input{width:100%;padding:11px 14px 11px 38px;border:1px solid var(--line);border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237A6A5C' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px center no-repeat;font:inherit;font-size:14.5px;color:var(--ink)}
.msec{scroll-margin-top:60px;padding-top:6px}
.msec h2{font-family:"Cormorant Garamond",Georgia,serif;color:var(--red);font-size:23px;margin:12px 0 4px;display:flex;align-items:center;gap:8px}
.msec h2 span{font-size:20px}
.msec .sub{color:var(--muted);font-size:12px;margin-bottom:8px}
.mrow{display:flex;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:10px;margin-bottom:10px;align-items:stretch}
.mrow.so{opacity:.55}
.mimg{width:104px;height:104px;flex:none;border-radius:12px;background:#fff;border:1px solid #F1EADB;overflow:hidden;position:relative;cursor:zoom-in;display:flex;align-items:center;justify-content:center}
.mimg img{width:100%;height:100%;object-fit:contain}
.mimg .ico{font-size:40px;opacity:.6}
.mimg .zm{position:absolute;right:5px;bottom:5px;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--line);font-size:11px;display:flex;align-items:center;justify-content:center;color:var(--red)}
.mimg .tag{position:absolute;left:5px;top:5px;background:var(--gold);color:var(--red-d);font-size:9.5px;font-weight:800;border-radius:6px;padding:2px 6px;letter-spacing:.3px}
.minfo{flex:1;display:flex;flex-direction:column;min-width:0;padding:2px 0}
.minfo .nm{font-weight:700;font-size:15px;line-height:1.3}
.minfo .ds{color:var(--muted);font-size:12px;margin-top:3px;line-height:1.35}
.mbot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px}
.mpr{font-weight:800;color:var(--red);font-size:15.5px}
.madd{width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;font-size:22px;font-weight:600;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(139,26,26,.25)}
.mstep{display:flex;align-items:center;gap:6px;background:var(--gold-l);border-radius:999px;padding:3px}
.mstep button{width:30px;height:30px;border-radius:50%;background:#fff;font-weight:800;color:var(--red);font-size:17px}
.mstep span{min-width:18px;text-align:center;font-weight:800}
.msold{font-size:12px;font-weight:700;color:var(--muted);background:var(--ivory);border:1px solid var(--line);border-radius:8px;padding:4px 8px}
.mempty{color:var(--muted);text-align:center;padding:40px 10px}
@media(min-width:720px){:root{--side:150px}.mcat{flex-direction:row;justify-content:flex-start;gap:10px;padding:10px 14px;font-size:13px;text-align:left}.mcat i{width:38px;height:38px;font-size:20px;flex:none}.mimg{width:120px;height:120px}}

/* cart bar + sheet */
.mbar{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 14px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--ivory) 35%);display:none}
.mbar.show{display:block}
.mbar button{width:100%;max-width:960px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;background:var(--red);color:#fff;border-radius:16px;padding:15px 18px;font-weight:700;font-size:15px;box-shadow:0 8px 22px rgba(139,26,26,.32)}
.mbar .cnt{background:var(--gold);color:var(--red-d);border-radius:8px;padding:2px 9px;margin-right:10px}
.ov{position:fixed;inset:0;background:rgba(43,29,20,.45);z-index:40;display:none}.ov.show{display:block}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--ivory);border-radius:22px 22px 0 0;max-height:92vh;overflow:auto;transform:translateY(105%);transition:transform .25s ease;max-width:760px;margin:0 auto}
.sheet.show{transform:none}
.sh-h{position:sticky;top:0;background:var(--ivory);padding:16px 16px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);z-index:2}
.sh-h h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:25px;color:var(--red)}
.x{width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--line);font-size:17px}
.sh-b{padding:10px 16px 22px}
.li{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px dashed var(--line)}
.li .n{flex:1;font-size:14px;font-weight:600}.li .n small{display:block;color:var(--muted);font-weight:500;margin-top:2px}
.li .t{font-weight:800;color:var(--red);min-width:72px;text-align:right}
.tot{display:flex;justify-content:space-between;font-size:18px;font-weight:800;padding:14px 0 6px}
.lbl{font-size:11.5px;font-weight:800;letter-spacing:.7px;color:var(--muted);margin:14px 0 6px;text-transform:uppercase}
.tbl{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--gold);border-radius:12px;padding:12px}.tbl b{font-size:22px;color:var(--red)}
textarea{width:100%;font:inherit;font-size:15px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);min-height:62px;resize:vertical}
.send{margin-top:16px;width:100%;background:#1F8A55;color:#fff;border-radius:14px;padding:16px;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;gap:10px}
.send:disabled{opacity:.6}
.hint{font-size:12.5px;color:var(--muted);margin-top:8px;line-height:1.45}
.done{text-align:center;padding:30px 10px}.done h4{font-family:"Cormorant Garamond",Georgia,serif;font-size:28px;color:var(--red);margin:10px 0}

/* lightbox */
.lb{position:fixed;inset:0;z-index:60;background:rgba(20,12,8,.82);display:none;align-items:center;justify-content:center;padding:16px}.lb.show{display:flex}
.lb-c{background:#fff;border-radius:20px;width:100%;max-width:520px;overflow:hidden;position:relative}
.lb-img{background:#fff;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}.lb-img img{width:100%;height:100%;object-fit:contain}.lb-img .ico{font-size:80px;opacity:.6}
.lb-b{padding:14px 16px 16px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--ivory)}
.lb-b .nm{font-weight:700;font-size:16px}.lb-b .pr{font-size:17px;font-weight:800;color:var(--red)}
.lb-x{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.95);border:1px solid var(--line);font-size:18px;z-index:2}

/* ---------- Tablet & laptop: big square cards + side cart ---------- */
@media(min-width:720px){
  :root{--side:190px}
  .mbody{max-width:1400px}
  .mtop-in{max-width:1400px;padding:14px 24px}
  .mside{padding:12px 10px 120px}
  .mcat{border-radius:14px;margin-bottom:4px;padding:10px 12px}
  .mcat.on{background:#FBE7E7}
  .mcat.on:before{display:none}
  .mmain{padding:0 24px 130px}
  .msearch{padding:16px 0 10px}
  .msearch input{max-width:520px;font-size:15px;padding:12px 16px 12px 40px}
  .msec h2{font-size:28px;margin:18px 0 4px}
  .msec .sub{font-size:13px;margin-bottom:14px}
  .mlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}
  .mrow{flex-direction:column;gap:0;padding:0;margin:0;border-radius:18px;overflow:hidden;transition:transform .15s,box-shadow .15s}
  .mrow:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(43,29,20,.12)}
  .mimg{width:100%;height:auto;aspect-ratio:1/1;border:0;border-bottom:1px solid var(--line);border-radius:0}
  .mimg img{padding:8px}
  .mimg .ico{font-size:52px}
  .mimg .zm{width:28px;height:28px;font-size:13px;right:10px;bottom:10px}
  .mimg .tag{left:10px;top:10px;font-size:11px;padding:3px 8px}
  .minfo{padding:10px 12px 12px}
  .minfo .nm{font-size:15px;min-height:40px}
  .mbot{padding-top:10px}
  .mpr{font-size:17px}
  .madd{width:42px;height:42px;font-size:24px}
  .mbot{flex-wrap:wrap;gap:6px}
  .mrow .mstep{gap:4px}
  .mrow .mstep button{width:28px;height:28px;font-size:15px}
  .mrow .mstep span{min-width:14px}
  .mbar button{max-width:520px;margin:0 0 0 auto}
}
@media(min-width:1200px){
  .mlist{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
  .mimg{aspect-ratio:5/4}
  .minfo .nm{font-size:14.5px;min-height:38px}
  .mpr{font-size:15.5px}
  .madd{width:36px;height:36px;font-size:21px}
}
/* cart opens as a side panel on wide screens */
@media(min-width:900px){
  .sheet{left:auto;right:0;top:0;bottom:0;width:440px;max-width:none;max-height:none;margin:0;border-radius:22px 0 0 22px;transform:translateX(105%);box-shadow:-10px 0 40px rgba(43,29,20,.18)}
  .sheet.show{transform:none}
  .lb-c{max-width:640px}
}

/* quick note chips */
.nchips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.nchip{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:6px 11px;font-size:12.5px;font-weight:600;line-height:1.2;cursor:pointer;transition:.12s}
.nchip:hover{border-color:var(--gold)}
.nchip.on{background:var(--red);border-color:var(--red);color:#fff}

/* per-item notes */
.inote{flex-basis:100%;margin:-2px 0 4px}
.inote-t{font-size:12px;font-weight:600;color:var(--muted);padding:2px 0;text-align:left}
.inote.has .inote-t{color:#9A5B00;font-weight:700}
.inote-b{display:none;padding:6px 0 4px}
.inote.open .inote-b{display:block}
.inote-c{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
.inote-c .nchip{padding:4px 9px;font-size:11.5px}
.inote-i{width:100%;font:inherit;font-size:13.5px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}
.li,.al{flex-wrap:wrap}
