:root{
  --bg:#0a0f1c;
  --panel:#111827;
  --card:#1f2937;
  --text:#f3f4f6;
  --muted:#9ca3af;

  --blue:#3b82f6;
  --green:#22c55e;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* LAYOUT */
.container{
  display:flex;
  height:100vh;
}

/* LEFT MENU */
.left{
  flex:2;
  padding:24px;
  overflow:auto;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.topbar h1{
  font-size:34px;
  font-weight:900;
}

.topbar input{
  padding:14px;
  border-radius:14px;
  border:none;
  background:#111827;
  color:white;
  width:280px;
}

/* MENU GRID */
.menu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:14px;
}

.menu-item{
  background:var(--card);
  border-radius:18px;
  padding:18px;
  cursor:pointer;
  transition:0.2s;
  border:1px solid rgba(255,255,255,0.06);
}

.menu-item:hover{
  transform:translateY(-4px);
  border-color:var(--blue);
}

.menu-name{
  font-size:18px;
  font-weight:800;
}

.menu-stock{
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
}

.menu-price{
  font-size:22px;
  font-weight:900;
  margin-top:10px;
  color:#22c55e;
}

/* RIGHT CART */
.right{
  width:380px;
  background:var(--panel);
  padding:24px;
  display:flex;
  flex-direction:column;
  border-left:1px solid rgba(255,255,255,0.06);
}

.cart-header{
  font-size:26px;
  font-weight:900;
  margin-bottom:18px;
}

.cart{
  flex:1;
  overflow:auto;
}

.cart-item{
  background:var(--card);
  padding:14px;
  border-radius:16px;
  margin-bottom:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.cart-name{
  font-weight:700;
}

.cart-option{
  font-size:11px;
  color:var(--muted);
}

.cart-controls button{
  width:30px;
  height:30px;
  border:none;
  border-radius:10px;
  background:#374151;
  color:white;
}

/* SUMMARY */
.summary{
  margin-top:14px;
}

.summary-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
}

.total{
  font-size:22px;
  font-weight:900;
}

/* PAY BUTTON */
.pay-btn{
  width:100%;
  padding:16px;
  border:none;
  border-radius:16px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:white;
  font-size:18px;
  font-weight:900;
}
