/* MenuCliQ v4.1 — Home + Restaurant page */

/* -------- Home hero (more compact + warm gradient friendly) -------- */
.welcome-hero{
  padding:20px 20px 6px; text-align:left;
}
.welcome-hero h1{
  font-family:"Syne",system-ui,sans-serif;
  font-size:1.6rem; font-weight:800; letter-spacing:-.02em;
  line-height:1.15; margin-bottom:8px;
}
.welcome-hero h1 span{ color:var(--orange); }
.welcome-hero p{
  color:var(--text-dim); font-size:.92rem; max-width:38ch; line-height:1.5;
}

.loc-cta{
  margin:18px 14px 16px;
  background:linear-gradient(135deg,#ffe8d4 0%,#ffd5ab 100%);
  border:1px solid rgba(249,115,22,.25);
  border-radius:var(--radius-lg);
  padding:18px 18px;
  box-shadow:0 4px 14px rgba(249,115,22,.12);
  display:flex; gap:14px; align-items:center;
}
.loc-cta .pin-icon{ width:48px; height:48px; border-radius:50%; background:#fff; display:grid; place-items:center; flex-shrink:0; box-shadow:0 3px 10px rgba(249,115,22,.28); }
.loc-cta .cta-txt{ flex:1; min-width:0; }
.loc-cta h3{ font-size:.98rem; font-weight:700; margin-bottom:2px; color:#7c2d12; }
.loc-cta p{ font-size:.8rem; color:#9a3412; margin-bottom:10px; }
.loc-cta .btn{ padding:9px 16px; font-size:.85rem; border-radius:10px; }

/* Restaurant list */
.restaurant-list{ display:flex; flex-direction:column; gap:12px; padding:0 14px; }
.rest-card{ background:var(--surface); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .15s,box-shadow .15s; cursor:pointer; display:flex; gap:12px; padding:10px; align-items:stretch; }
.rest-card:active{ transform:scale(.98); box-shadow:var(--shadow); }
.rest-logo{ flex-shrink:0; width:108px; height:108px; border-radius:12px; background:#eceef2; overflow:hidden; position:relative; }
.rest-logo img{ width:100%; height:100%; object-fit:cover; }
.rest-logo .closed-tag{ position:absolute; inset:auto 0 0 0; background:rgba(220,38,38,.92); color:#fff; font-size:.65rem; font-weight:700; padding:3px 6px; text-align:center; letter-spacing:.04em; text-transform:uppercase; }
.rest-logo .open-tag{ position:absolute; top:6px; left:6px; background:rgba(22,163,74,.95); color:#fff; font-size:.6rem; font-weight:700; padding:2px 7px; border-radius:10px; letter-spacing:.04em; text-transform:uppercase; }
.rest-body{ flex:1; min-width:0; display:flex; flex-direction:column; padding:2px 4px 2px 0; gap:3px; }
.rest-name{ font-size:1.02rem; font-weight:700; display:flex; align-items:center; gap:7px; line-height:1.2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rest-meta{ font-size:.8rem; color:var(--text-dim); display:flex; align-items:center; gap:6px; flex-wrap:wrap; line-height:1.3; }
.rest-meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--text-mute); }
.rest-meta .distance{ color:var(--orange); font-weight:600; }
.rest-desc{ font-size:.8rem; color:var(--text-dim); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.35; margin-top:2px; }

.empty{ text-align:center; padding:48px 24px; color:var(--text-dim); }
.empty h3{ font-size:1rem; margin-bottom:6px; color:var(--text); }
.empty p{ font-size:.85rem; }

/* SEO block — tighter */
.home-seo{
  margin-top:22px; padding:20px 16px 0;
  background:#ffffff;
  border-top:1px solid var(--border-soft);
  border-radius:20px 20px 0 0;
}
.home-seo h2{
  font-family:"Syne",system-ui,sans-serif;
  font-size:1.15rem; font-weight:800; letter-spacing:-.01em;
  margin:0 0 10px;
}
.home-seo p{
  font-size:.9rem; color:var(--text-dim);
  line-height:1.55; margin-bottom:10px;
}
.faq-block{ margin-top:10px; }
.faq-item{ border:1px solid var(--border); border-radius:12px; background:#fff; padding:12px 14px; margin-bottom:8px; }
.faq-item h3{ font-size:.92rem; font-weight:700; color:var(--text); margin-bottom:4px; }
.faq-item p{ font-size:.85rem; line-height:1.5; color:var(--text-dim); margin:0; }

.owner-cta{
  margin-top:14px;
  background:linear-gradient(135deg,#fff4ea,#ffe8d4);
  border:1px solid rgba(249,115,22,.2);
  border-radius:14px;
  padding:16px 16px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.owner-cta h3{ font-size:.95rem; font-weight:700; margin-bottom:3px; color:#7c2d12; }
.owner-cta p{ font-size:.78rem; color:#9a3412; margin:0; max-width:26ch; }
.owner-cta .btn{ padding:8px 14px; font-size:.82rem; flex-shrink:0; }

/* ========================== MENU ========================== */
.menu-search{ position:sticky; top:0; z-index:20; background:var(--bg-soft); padding:10px 14px 8px; }
.menu-search input{ width:100%; height:42px; border:1px solid var(--border); background:#fff; border-radius:12px; padding:0 14px 0 40px; font-size:.92rem; outline:none; transition:border-color .15s, box-shadow .15s; }
.menu-search .search-icon{ position:absolute; left:26px; top:50%; transform:translateY(-50%); color:var(--text-mute); pointer-events:none; }
.menu-search input:focus{ border-color:var(--orange); box-shadow:0 0 0 3px rgba(249,115,22,.12); }

.cat-chips{ display:flex; gap:8px; padding:4px 14px 10px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.cat-chips::-webkit-scrollbar{ display:none; }
.chip{ flex:0 0 auto; padding:8px 14px; border:1px solid var(--border); border-radius:20px; background:#fff; font-size:.82rem; font-weight:500; color:var(--text); white-space:nowrap; transition:background .15s, color .15s, border-color .15s; }
.chip.active{ background:var(--orange); color:#fff; border-color:var(--orange); }

/* Sub-category horizontal scroller */
.subcat-scroller{
  display:flex; gap:14px; padding:14px 14px 10px; overflow-x:auto;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
  background:#fff; border-bottom:1px solid var(--border-soft);
}
.subcat-scroller::-webkit-scrollbar{ display:none; }
.subcat-item{
  flex:0 0 auto;
  width:74px;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  cursor:pointer;
}
.subcat-img{
  width:68px; height:68px; border-radius:50%;
  background:#eceef2 center/cover no-repeat;
  border:2.5px solid transparent;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  position:relative;
  transition:transform .15s, border-color .15s;
}
.subcat-item.active .subcat-img{
  border-color:var(--orange);
  transform:scale(1.05);
  box-shadow:0 4px 14px rgba(249,115,22,.3);
}
.subcat-name{
  font-size:.72rem; font-weight:500; color:var(--text);
  text-align:center; line-height:1.2;
  max-width:74px;
  overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap;
}
.subcat-item.active .subcat-name{ color:var(--orange); font-weight:700; }
.subcat-count{
  position:absolute; top:-4px; right:-4px;
  background:var(--orange); color:#fff;
  font-size:.6rem; font-weight:700;
  padding:1px 5px; border-radius:10px;
  border:2px solid #fff; line-height:1.1;
}

/* Main category header: "Street Food  12" with orange underline */
.menu-cat-header{
  padding:18px 14px 6px;
  background:var(--bg-soft);
}
.menu-cat-header .title{
  font-family:"Syne",system-ui,sans-serif;
  font-size:1.5rem; font-weight:800; letter-spacing:-.01em;
  display:inline-flex; align-items:baseline; gap:8px;
}
.menu-cat-header .count{
  font-size:.9rem; font-weight:600; color:var(--text-mute);
  letter-spacing:0;
}
.menu-cat-header .rule{
  height:2px; background:var(--orange);
  margin-top:6px; width:60%; max-width:200px; border-radius:2px;
}

/* Sub-category divider: — KACHORI */
.menu-subcat-header{
  padding:16px 14px 6px;
  font-size:.78rem; font-weight:700;
  color:var(--orange);
  text-transform:uppercase; letter-spacing:.1em;
  display:flex; align-items:center; gap:8px;
}
.menu-subcat-header::before{
  content:""; width:14px; height:2px; background:var(--orange);
  border-radius:2px;
}

/* 3D Dish cards (grid unchanged at 3 cols on mobile) */
.dish-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:0 10px 14px; }
.dish-card{ background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(17,20,24,.06), 0 4px 14px rgba(17,20,24,.04); position:relative; display:flex; flex-direction:column; cursor:pointer; transition:transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s; }
.dish-card:hover{ transform:translateY(-2px); box-shadow:0 4px 8px rgba(17,20,24,.08), 0 12px 28px rgba(249,115,22,.12); }
.dish-card:active{ transform:scale(.97); }
.dish-card.unavailable{ opacity:.55; }
.dish-img-wrap{ position:relative; width:100%; aspect-ratio:1/1; background:radial-gradient(circle at 30% 30%, #fff 0%, #f1f2f5 60%, #d8dce3 100%); overflow:hidden; }
.dish-img-wrap::after{ content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.25) 0%, transparent 40%), radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.12) 0%, transparent 40%); }
.dish-img-wrap img{ width:100%; height:100%; object-fit:cover; filter:drop-shadow(0 6px 8px rgba(0,0,0,.25)); transition:transform .35s cubic-bezier(.2,.8,.2,1); }
.dish-card:hover .dish-img-wrap img{ transform:scale(1.08) rotate(-1deg); }
.dish-card .food-dot{ position:absolute; top:6px; left:6px; background:#fff; z-index:2; }
.dish-badge{ position:absolute; top:6px; right:6px; background:rgba(249,115,22,.95); color:#fff; font-size:.58rem; font-weight:700; padding:2px 6px; border-radius:6px; text-transform:uppercase; letter-spacing:.03em; z-index:2; }
.dish-info{ padding:6px 8px 8px; }
.dish-name{ font-size:.78rem; font-weight:600; line-height:1.2; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:1.9em; }
.dish-prices{ display:flex; gap:4px; margin-top:3px; flex-wrap:wrap; }
.dish-price{ font-size:.75rem; font-weight:700; }
.dish-price.half{ color:var(--veg); }
.dish-price.full{ color:var(--orange); }
.dish-price.single{ color:var(--orange); }
.dish-price .lbl{ font-size:.6rem; font-weight:500; opacity:.85; margin-right:1px; }

#tab-menu,#tab-contact,#tab-book,#tab-live,#tab-profile{ padding-bottom:40px; }

@media (min-width:520px){ .dish-grid{ grid-template-columns:repeat(4,1fr); } }
@media (min-width:768px){ .dish-grid{ grid-template-columns:repeat(5,1fr); gap:12px; padding:0 14px 20px; } .dish-name{ font-size:.85rem; } .dish-price{ font-size:.85rem; } }

/* Restaurant hero + tabs (restaurant page — tabs STAY sticky) */
.rest-hero{ position:relative; aspect-ratio:16/9; background:#eceef2; overflow:hidden; }
.rest-hero img{ width:100%; height:100%; object-fit:cover; }
.rest-hero .back-btn{ position:absolute; top:14px; left:14px; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; box-shadow:var(--shadow); z-index:3; }
.rest-hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(to bottom,transparent 45%,rgba(0,0,0,.55)); }
.rest-hero .hero-meta{ position:absolute; left:14px; right:14px; bottom:14px; color:#fff; z-index:2; }
.rest-hero .hero-meta h1{ font-size:1.4rem; font-weight:800; letter-spacing:-.02em; text-shadow:0 1px 2px rgba(0,0,0,.4); }
.rest-hero .hero-meta .sub{ font-size:.82rem; opacity:.94; margin-top:2px; }

.rest-tabs{ display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--border); padding:0 10px; background:#fff; position:sticky; top:0; z-index:10; scrollbar-width:none; }
.rest-tabs::-webkit-scrollbar{ display:none; }
.rest-tabs .tab{ padding:12px 14px; font-size:.87rem; font-weight:600; color:var(--text-dim); white-space:nowrap; position:relative; }
.rest-tabs .tab.active{ color:var(--orange); }
.rest-tabs .tab.active::after{ content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:3px; background:var(--orange); border-radius:3px 3px 0 0; }

.info-list{ padding:14px; }
.info-row{ display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:1px solid var(--border-soft); color:inherit; }
.info-row:last-child{ border-bottom:0; }
.info-row .icon{ width:38px; height:38px; border-radius:50%; background:var(--orange-soft); color:var(--orange); display:grid; place-items:center; flex-shrink:0; }
.info-row .icon.gmap{ background:linear-gradient(135deg,#4285f4,#34a853); color:#fff; }
.info-row .txt{ flex:1; min-width:0; }
.info-row .txt .label{ font-size:.72rem; color:var(--text-mute); }
.info-row .txt .value{ font-size:.9rem; font-weight:500; color:var(--text); word-break:break-word; }

.hours-grid{ display:grid; grid-template-columns:90px 1fr; gap:2px 14px; padding:0 16px 4px; }
.hours-grid .day{ font-size:.82rem; color:var(--text-dim); padding:6px 0; }
.hours-grid .time{ font-size:.88rem; font-weight:500; color:var(--text); padding:6px 0; }
.hours-grid .day.today,.hours-grid .time.today{ color:var(--orange); font-weight:700; }

.social-row{ display:flex; gap:10px; padding:10px 14px 20px; overflow-x:auto; scrollbar-width:none; flex-wrap:wrap; }
.social-row::-webkit-scrollbar{ display:none; }
.social-pill{ flex:0 0 auto; padding:9px 14px; border-radius:20px; background:var(--orange-soft); color:var(--orange); font-size:.8rem; font-weight:600; display:inline-flex; align-items:center; gap:8px; text-transform:capitalize; }
.social-pill svg{ width:16px; height:16px; }

.coming-soon{ text-align:center; padding:50px 24px; color:var(--text-dim); }
.coming-soon .emoji{ font-size:2.6rem; margin-bottom:10px; }
.coming-soon h3{ font-size:1.05rem; color:var(--text); margin-bottom:6px; }

/* Footer note + Powered by */
.end-note{margin:24px 14px 6px;padding:18px 18px;background:#111418;color:rgba(255,255,255,.82);border-radius:16px;font-size:.82rem;line-height:1.6}
.end-note h4{color:#fff;font-size:.95rem;font-weight:700;margin-bottom:10px}
.end-note ul{padding-left:18px}
.end-note li{margin:5px 0}
.powered-by{text-align:center;padding:14px 14px 30px;font-size:.8rem;color:var(--text-mute)}
.powered-by b{color:var(--orange);font-weight:700}

/* BOOK TABLE */
.book-wrap{ padding:14px; }
.floor-section{ background:linear-gradient(180deg,#0c1220 0%,#111828 100%); color:#fff; padding:18px 16px 24px; margin-bottom:12px; border-radius:16px; }
.floor-section .heading{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px; }
.floor-section .heading .title{ font-size:.98rem; font-weight:700; letter-spacing:.02em; }
.floor-section .heading .stats{ font-size:.72rem; display:flex; gap:10px; }
.floor-section .stats .num-total{ color:rgba(255,255,255,.72); }
.floor-section .stats .num-occ{ color:#fb923c; font-weight:700; }
.floor-section .stats .num-free{ color:#4ade80; font-weight:700; }

.table-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; }
@media (min-width:520px){ .table-grid{ grid-template-columns:repeat(3, 1fr); } }
@media (min-width:768px){ .table-grid{ grid-template-columns:repeat(4, 1fr); } }

.table-cell{ aspect-ratio:1/1; border-radius:12px; background:rgba(16, 50, 38, .5); border:1.5px solid rgba(76, 222, 128, .35); display:flex; flex-direction:column; justify-content:center; align-items:center; position:relative; cursor:pointer; transition:transform .14s, border-color .15s, background .15s; }
.table-cell:active{ transform:scale(.96); }
.table-cell .label{ font-family:"Syne",system-ui,sans-serif; font-size:1.1rem; font-weight:800; letter-spacing:.02em; color:#86efac; }
.table-cell .seats{ font-size:.68rem; color:rgba(255,255,255,.7); text-transform:uppercase; letter-spacing:.06em; margin-top:3px; }
.table-cell.occupied{ background:rgba(69,26,3,.7); border-color:rgba(251,146,60,.7); }
.table-cell.occupied .label{ color:#fb923c; }
.table-cell .timer{ font-size:.64rem; color:#fed7aa; margin-top:4px; font-weight:600; }
.table-cell.reserved{ background:rgba(80, 10, 10, .6); border-color:rgba(239, 68, 68, .6); }
.table-cell.reserved .label{ color:#fca5a5; }
.table-cell.reserved .timer{ color:#fecaca; }
.table-cell.selected{ border-color:#fff; border-width:2.5px; background:var(--orange); box-shadow:0 0 0 3px rgba(249,115,22,.35); }
.table-cell.selected .label, .table-cell.selected .seats, .table-cell.selected .timer{ color:#fff; }

/* Booking form modal */
.book-form h3{ font-size:1.05rem; font-weight:700; margin-bottom:4px; }
.book-form .sum{ color:var(--text-dim); font-size:.82rem; margin-bottom:14px; }
.slot-scroll{ display:flex; gap:8px; overflow-x:auto; padding:2px 2px 12px; scrollbar-width:none; }
.slot-scroll::-webkit-scrollbar{ display:none; }
.slot-chip{ flex:0 0 auto; padding:10px 14px; border-radius:10px; background:#fff; border:1.5px solid var(--border); font-size:.82rem; font-weight:600; white-space:nowrap; transition:background .14s, border-color .14s, color .14s; }
.slot-chip.active{ background:var(--orange); color:#fff; border-color:var(--orange); }
.slot-chip:disabled{ opacity:.5; }

/* ========== SEE LIVE — 3-col grid ========== */
.live-header{
  padding:18px 16px 10px;
  display:flex; justify-content:space-between; align-items:center;
}
.live-header h2{ font-family:"Syne",system-ui,sans-serif; font-size:1.15rem; font-weight:800; }
.live-header .live-pill{ display:inline-flex; align-items:center; gap:6px; background:#fef2f2; color:#dc2626; padding:4px 10px; border-radius:20px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.live-header .live-pill::before{ content:""; width:6px; height:6px; border-radius:50%; background:#dc2626; animation:livePulse 1.6s infinite ease-out; }
.live-header .live-pill.offline{ background:#f3f4f6; color:#6b7280; }
.live-header .live-pill.offline::before{ background:#9ca3af; animation:none; }

.live-subtitle{ padding:0 16px 14px; font-size:.82rem; color:var(--text-dim); }

.live-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  padding:0 10px 20px;
}
@media (min-width:520px){ .live-grid{ grid-template-columns:repeat(4, 1fr); } }
@media (min-width:768px){ .live-grid{ grid-template-columns:repeat(5, 1fr); gap:12px; padding:0 14px 20px; } }

.live-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column;
  animation:live-slide-in .4s cubic-bezier(.2,.8,.2,1) both;
  position:relative;
}
@keyframes live-slide-in{
  from{ transform:translateY(-14px) scale(.9); opacity:0; }
  to  { transform:translateY(0) scale(1); opacity:1; }
}
.live-card.just-in::after{
  content:""; position:absolute; inset:0;
  border-radius:12px;
  box-shadow:0 0 0 2.5px var(--orange);
  animation:live-glow 1.2s ease-out forwards;
  pointer-events:none;
}
@keyframes live-glow{
  0%  { box-shadow:0 0 0 3px rgba(249,115,22,.7); opacity:1; }
  100%{ box-shadow:0 0 0 3px rgba(249,115,22,0); opacity:0; }
}
.live-card .img{
  width:100%; aspect-ratio:1/1;
  background:radial-gradient(circle at 30% 30%, #fff 0%, #f1f2f5 60%, #d8dce3 100%);
  background-size:cover; background-position:center;
  position:relative;
}
.live-card .img.has-img{
  background:#eceef2 center/cover no-repeat;
}
.live-card .img .food-dot{
  position:absolute; top:6px; left:6px; background:#fff; z-index:2;
}
.live-card .info{ padding:6px 8px 8px; }
.live-card .name{
  font-size:.78rem; font-weight:600; line-height:1.2;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; min-height:1.9em;
  margin-bottom:3px;
}
.live-card .when{
  font-size:.66rem; color:var(--text-mute);
  font-weight:500;
}

/* ========== PROFILE ========== */
.profile-head{
  position:relative;
  padding:22px 16px 16px;
  text-align:center;
}
.profile-avatar{
  width:80px; height:80px; border-radius:50%;
  background:var(--orange-grad); color:#fff;
  display:grid; place-items:center;
  font-family:"Syne",system-ui,sans-serif; font-size:1.8rem; font-weight:800;
  margin:0 auto 10px;
  box-shadow:0 6px 18px rgba(249,115,22,.28);
}
.profile-head h2{ font-size:1.1rem; font-weight:700; }
.profile-head p{ font-size:.85rem; color:var(--text-dim); margin-top:2px; }

/* Small logout icon top-right of profile area */
.profile-logout-btn{
  position:absolute;
  top:18px; right:16px;
  width:36px; height:36px; border-radius:50%;
  background:var(--bg-soft);
  display:grid; place-items:center;
  color:var(--text-dim);
  transition:background .15s, color .15s;
}
.profile-logout-btn:active{ background:#fee2e2; color:#dc2626; }
.profile-logout-btn svg{ width:16px; height:16px; }

.booking-card{
  background:#fff; border:1px solid var(--border);
  border-radius:14px; padding:14px; display:flex; gap:12px;
  margin-bottom:10px;
}
.booking-card .logo{ width:52px; height:52px; border-radius:10px; background:#eceef2 center/cover no-repeat; flex-shrink:0; }
.booking-card .info{ flex:1; min-width:0; }
.booking-card .rname{ font-weight:700; font-size:.95rem; line-height:1.2; }
.booking-card .line{ font-size:.8rem; color:var(--text-dim); margin-top:3px; }
.booking-card .tag{ display:inline-block; background:var(--orange-soft); color:var(--orange); font-size:.68rem; font-weight:700; padding:2px 8px; border-radius:8px; margin-top:4px; text-transform:uppercase; letter-spacing:.04em; }
.booking-card .tag.seated{ background:#dcfce7; color:#15803d; }
.booking-card .tag.cancelled{ background:#fee2e2; color:#b91c1c; }
.booking-card .tag.completed{ background:#e5e7eb; color:#374151; }

/* ============================================================
   Home search + food-type filters  (Updates 2 & 3)
   ============================================================ */
.home-search-wrap{ display:flex; gap:10px; align-items:stretch; margin-top:16px; }
.home-search{ position:relative; flex:1; min-width:0; }
.home-search .search-icon{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--text-mute); pointer-events:none; }
.home-search input{ width:100%; height:46px; border:1px solid var(--border); background:#fff; border-radius:14px; padding:0 40px 0 42px; font-size:.95rem; outline:none; box-shadow:var(--shadow-sm); transition:border-color .15s, box-shadow .15s; }
.home-search input:focus{ border-color:var(--orange); box-shadow:0 0 0 3px rgba(249,115,22,.12); }
.home-search-clear{ position:absolute; right:8px; top:50%; transform:translateY(-50%); width:30px; height:30px; border-radius:50%; display:grid; place-items:center; color:var(--text-mute); background:rgba(17,20,24,.05); }
.home-search-clear:active{ background:rgba(17,20,24,.12); }
.home-filter-btn{ flex:0 0 auto; position:relative; width:46px; height:46px; border-radius:14px; border:1px solid var(--border); background:#fff; color:var(--text); display:grid; place-items:center; box-shadow:var(--shadow-sm); transition:background .15s,border-color .15s,color .15s; }
.home-filter-btn.has-active{ background:var(--orange); border-color:var(--orange); color:#fff; }
.home-filter-btn .filter-count{ position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 4px; border-radius:9px; background:var(--orange-dark); color:#fff; font-size:.62rem; font-weight:700; display:grid; place-items:center; border:2px solid var(--bg-soft); }
.home-filter-btn.has-active .filter-count{ background:#fff; color:var(--orange); }

.home-filter-chips{ display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.ftype-chip{ display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border:1px solid var(--border); border-radius:20px; background:#fff; font-size:.84rem; font-weight:600; color:var(--text); transition:background .15s,border-color .15s,box-shadow .15s; }
.ftype-chip .food-dot{ width:13px; height:13px; }
.ftype-chip.active{ border-color:var(--orange); background:var(--orange-soft); box-shadow:0 0 0 2px rgba(249,115,22,.18) inset; }

/* Egg food-dot variant (veg = green, non-veg = red already defined in app.css) */
.food-dot.egg{ border-color:#d97706; }
.food-dot.egg::after{ background:#d97706; }

/* Dish-search hit line on a restaurant card */
.rest-dish-hit{ font-size:.8rem; color:var(--text-dim); display:flex; align-items:center; gap:6px; line-height:1.35; margin-top:3px; }
.rest-dish-hit b{ color:var(--orange-dark); font-weight:700; }
.rest-dish-hit .dish-hit-dot{ width:6px; height:6px; border-radius:50%; background:var(--orange); flex:0 0 auto; }

/* ============================================================
   Restaurant menu: sticky toolbar (search + categories + sub-cats)
   stays pinned below the sticky tab bar.  (Update 5)
   ============================================================ */
.menu-toolbar{ position:sticky; top:var(--rest-tabs-h, 46px); z-index:25; background:var(--bg-soft); box-shadow:0 6px 10px -8px rgba(17,20,24,.18); }
/* the search bar is sticky via the wrapper now — drop its own sticky */
.menu-toolbar .menu-search{ position:relative; top:auto; z-index:auto; }
.menu-toolbar .cat-chips{ padding-top:2px; }
.menu-toolbar .subcat-scroller:not(.hidden){ padding-bottom:8px; }

/* Pulse-highlight a dish reached via a home-page dish search deep link */
@keyframes dishPulse{ 0%{ box-shadow:0 0 0 0 rgba(249,115,22,.0); } 18%{ box-shadow:0 0 0 4px rgba(249,115,22,.55); } 100%{ box-shadow:0 0 0 0 rgba(249,115,22,0); } }
.dish-card.dish-highlight{ animation:dishPulse 1.3s ease-out 2; border:1px solid var(--orange); }

/* ============================================================
   Bottom-nav label typography fix — labels were rendering
   vertically compressed on Home / Business / Contact.  (Update 4)
   ============================================================ */
.bottom-nav a{ font-family:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.bottom-nav a span{ display:block; line-height:1.3; font-size:.7rem; font-weight:600; letter-spacing:.005em; font-stretch:normal; transform:none; }
