:root{
  --bg:#fafafa;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --brand:#0f766e;
  --brand2:#0b5f59;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius:14px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}
.container{max-width:980px;margin:0 auto;padding:14px 14px 110px}
.topbar{
  position:sticky; top:0; z-index:10;
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:12px 14px;
  background:rgba(250,250,250,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.brand__title{font-weight:900; letter-spacing:.5px}
.brand__subtitle{font-size:12px;color:var(--muted)}

.hero__card{
  background:linear-gradient(135deg, rgba(15,118,110,.12), rgba(15,118,110,.04));
  border:1px solid rgba(15,118,110,.18);
  border-radius:var(--radius);
  padding:14px;
}
.hero__row{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.hero__headline{font-weight:800;font-size:18px}
.hero__text{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.35}
.hero__pill{
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 10px;
  font-size:12px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.section{margin-top:14px}
.h2{margin:0 0 10px 0;font-size:16px}

.cats{
  display:flex; gap:8px; overflow:auto; padding:10px 2px 2px;
}
.cat{
  white-space:nowrap;
  background:#fff;border:1px solid var(--line);
  padding:8px 10px;border-radius:999px;
  font-size:13px;color:#111;
}
.cat--active{border-color:rgba(15,118,110,.45); background:rgba(15,118,110,.06)}

.card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  padding:14px;
}

.grid{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width:720px){ .grid{grid-template-columns:1fr} }

.field span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.field input, .field select, .input{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  outline:none;
  background:#fff;
}
.field input:focus, .field select:focus, .input:focus{
  border-color:rgba(15,118,110,.45);
  box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}

.actions{display:flex; gap:10px; margin-top:10px; flex-wrap:wrap}
.hint{margin-top:10px;color:var(--muted);font-size:12px;line-height:1.35}

.btn{
  border:1px solid transparent;
  background:#111;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
}
.btn--primary{background:var(--brand)}
.btn--primary:hover{background:var(--brand2)}
.btn--ghost{background:#fff;color:#111;border:1px solid var(--line)}
.btn--full{width:100%}

.menuBlock{margin-top:12px}
.menuTitle{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  margin:0 0 10px 0;
  font-size:16px; font-weight:900;
}
.menuGrid{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width:720px){ .menuGrid{grid-template-columns:1fr} }

.item{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:12px; box-shadow: 0 2px 14px rgba(0,0,0,.03);
  display:flex; gap:10px; justify-content:space-between;
}
.item__left{min-width:0}
.item__name{font-weight:900}
.item__desc{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.35}
.item__price{margin-top:8px;font-weight:900}
.item__actions{display:flex; align-items:flex-end}
.item__btn{padding:10px 12px; border-radius:12px; font-weight:900}

.cartbar{
  position:fixed; left:0; right:0; bottom:0; z-index:20;
  background:#0b1220;
  color:#fff;
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
}
.cartbar__title{font-weight:900}
.cartbar__meta{color:rgba(255,255,255,.8);font-size:12px;margin-top:2px}

.drawer, .modal{position:fixed; inset:0; display:none; z-index:30}
.drawer[aria-hidden="false"], .modal[aria-hidden="false"]{display:block}
.drawer__overlay, .modal__overlay{position:absolute; inset:0; background:rgba(0,0,0,.45)}
.drawer__panel{
  position:absolute; right:0; top:0; bottom:0;
  width:min(420px, 92vw);
  background:#fff;
  box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.drawer__head{
  padding:12px 14px; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.drawer__title{font-weight:900}
.drawer__sub{font-size:12px;color:var(--muted)}
.drawer__body{padding:12px 14px; overflow:auto; flex:1}
.drawer__foot{padding:12px 14px; border-top:1px solid var(--line)}

.iconbtn{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  width:40px; height:40px;
  cursor:pointer;
  font-size:18px;
}

.cartItem{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  margin-bottom:10px;
}
.cartItem__top{display:flex; justify-content:space-between; gap:10px}
.cartItem__name{font-weight:900}
.cartItem__meta{color:var(--muted); font-size:12px; margin-top:6px; line-height:1.35}
.cartItem__controls{display:flex; gap:8px; margin-top:10px}
.pill{
  border:1px solid var(--line); background:#fff; border-radius:999px;
  padding:8px 10px; cursor:pointer; font-weight:800;
}

.modal__panel{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(520px, 92vw);
  background:#fff;
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.modal__head{
  padding:12px 14px; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.modal__title{font-weight:900}
.modal__sub{font-size:12px;color:var(--muted)}
.modal__body{padding:12px 14px}
.modal__foot{padding:12px 14px;border-top:1px solid var(--line)}
.miniTitle{margin-top:10px;font-weight:900;font-size:12px;color:#111}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:8px}
.chip{
  border:1px solid var(--line); background:#fff; border-radius:999px;
  padding:8px 10px; cursor:pointer; font-weight:800; font-size:12px;
}
.chip--on{border-color:rgba(15,118,110,.45); background:rgba(15,118,110,.06)}
.addons{display:flex; flex-direction:column; gap:8px; margin-top:8px}
.addon{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border:1px solid var(--line); border-radius:14px; padding:10px;
}
.addon small{color:var(--muted)}
.qtyRow{display:flex; align-items:center; justify-content:center; gap:10px; margin-top:12px}
.qty{font-weight:900; min-width:34px; text-align:center}
