* { box-sizing: border-box; }
body { margin:0; font-family: Arial, sans-serif; background:#f6f6f6; color:#121212; }

.topbar { background:#d62828; color:#fff; padding:14px 16px; position:sticky; top:0; z-index:10; }
.topbar-inner { display:flex; justify-content:space-between; gap:12px; align-items:center; }

.brand .title { font-weight:900; font-size:20px; }
.brand .subtitle { font-size:12px; opacity:.9; margin-top:2px; }

/* FLUID LAYOUT */
.fluid{
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Main layout now fills the screen */
.layout {
  width: 100%;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 14px;
}

.section-title { margin:6px 0 12px; font-size:18px; }

.menu-top { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.filters { display:flex; gap:10px; flex-wrap:wrap; }
.select, .input {
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #ddd;
  background:#fff;
  font-weight:700;
}

/* Quick Order Section */
.quickWrap{
  padding: 12px 14px 0;
}
.quickInner{
  width: 100%;
}
.quickCard{
  background:#fff;
  border-radius:16px;
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
  padding:14px;
}
.quickTitle{ font-weight:900; font-size:18px; }
.quickSub{ font-size:12px; opacity:.75; margin-top:4px; }

.quickGrid{
  margin-top:12px;
  display:grid;
  gap:12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quickTile{
  position: relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid #eee;
  background:#fafafa;
  cursor:pointer;
  min-height:140px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
}
.quickTile img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(1.05);
  transform: scale(1.02);
}
.quickTile::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.65) 100%);
}
.quickTileContent{
  position:relative;
  z-index:1;
  width:100%;
  padding:12px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.quickTileText{
  color:#fff;
}
.quickTileText .h{
  font-weight:900;
  font-size:16px;
}
.quickTileText .p{
  font-size:12px;
  opacity:.9;
  margin-top:3px;
}
.quickBadge{
  background: rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  padding:10px 12px;
  border-radius:999px;
  font-weight:900;
  white-space:nowrap;
  backdrop-filter: blur(8px);
}

.grid { display:grid; gap:12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card { background:#fff; border-radius:14px; box-shadow:0 3px 10px rgba(0,0,0,0.08); overflow:hidden; display:flex; flex-direction:column; }
.card-img { width:100%; height:160px; object-fit:cover; cursor:pointer; }
.card-body { padding:12px; display:grid; gap:10px; }
.card-title { margin:0; font-size:16px; font-weight:900; }
.card-price { font-weight:900; font-size:18px; }

.cart {
  background:#fff;
  border-radius:14px;
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
  padding:14px;
  position: sticky;
  top: 72px;
  height: calc(100vh - 92px);
  overflow:auto;
}

.cart-head { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.cart-title { margin:0; font-size:18px; font-weight:900; }
.cart-meta { font-size:12px; opacity:.7; margin-top:2px; }
.cart-badge { font-weight:900; background:#f1f1f1; padding:8px 10px; border-radius:999px; }
.cart-items { margin-top:12px; display:flex; flex-direction:column; gap:10px; }
.empty { padding:12px; background:#f5f5f5; border-radius:12px; text-align:center; opacity:.85; }

.cart-row { border:1px solid #eee; border-radius:12px; padding:10px; display:grid; grid-template-columns:1fr auto; gap:10px; }
.name { font-weight:900; }
.small { font-size:12px; opacity:.7; }

.right { display:grid; gap:6px; justify-items:end; }
.qty { display:inline-flex; align-items:center; border:1px solid #eee; border-radius:999px; overflow:hidden; }
.qtybtn { width:36px; height:34px; border:none; background:#f2f2f2; cursor:pointer; font-weight:900; }
.qtynum { min-width:34px; text-align:center; font-weight:900; padding:0 10px; }

.line { font-weight:900; }
.remove { border:none; background:#ffe0e0; border-radius:10px; padding:8px 10px; cursor:pointer; font-weight:900; width:auto; }

.cart-summary { margin-top:12px; border-top:1px solid #eee; padding-top:10px; display:grid; gap:8px; }
.row { display:flex; justify-content:space-between; font-weight:800; }
.row.total { font-size:18px; }

.pay { margin-top:12px; display:grid; gap:10px; }
.hint { font-size:12px; opacity:.8; text-align:center; min-height:16px; }

/* Buttons */
.btn { border:none; border-radius:12px; padding:12px 12px; cursor:pointer; font-weight:900; width:100%; }
.btn.primary { background:#fcbf49; }
.btn.success { background:#2a9d8f; color:#fff; }
.btn.warning { background:#457b9d; color:#fff; }
.btn.ghost { background:rgba(255,255,255,.18); color:#fff; width:auto; }

/* Responsive */
@media (max-width: 1040px){
  .layout { grid-template-columns:1fr; }
  .cart { position:relative; top:auto; height:auto; }
}
/* Featured Center Dish */
.featuredDish{
  display:flex;
  justify-content:center;
  padding: 20px 20px 0;
}

.featuredCard{
  position:relative;
  width: 100%;
  max-width: 700px;
  height: 280px;
  border-radius: 20px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.featuredCard img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .3s ease;
}

.featuredCard:hover img{
  transform: scale(1.05);
}

.featuredOverlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:20px;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.7));
  color:#fff;
}

.featuredTitle{
  font-size:22px;
  font-weight:900;
}

.featuredSub{
  font-size:14px;
  opacity:.9;
  margin-top:4px;
}
