@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&family=Hind+Siliguri:wght@400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:       #FDFAF5;
  --bg2:      #F5EFE4;
  --accent:   #C4622D;
  --accent2:  #E8945A;
  --dark:     #1C1208;
  --text:     #2E1F0F;
  --muted:    #7A6652;
  --border:   #E2D5C3;
  --white:    #FFFFFF;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
  --font-bn:      'Hind Siliguri', sans-serif;
  --r:    10px;
  --r-lg: 18px;
  --shadow: 0 2px 16px rgba(28,18,8,0.08);
  --nav-h: 60px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
h1,h2,h3 { font-family: var(--font-display); line-height: 1.2; }

/* ── UTILITY ────────────────────────────────────────────── */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: 0.92rem; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a84f22; transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 50px; font-weight: 600; font-size: 0.82rem; background: var(--accent); color: #fff; transition: background 0.2s; }
.btn-sm:hover { background: #a84f22; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: 0.92rem; transition: all 0.2s; }
.btn-wa:hover { background: #1ebe5b; }

/* ── ANNOUNCE BAR ───────────────────────────────────────── */
.announce-bar { background: var(--dark); color: rgba(255,255,255,0.8); text-align: center; padding: 9px 20px; font-size: 0.8rem; font-family: var(--font-bn); }
.announce-bar span { color: var(--accent2); font-weight: 600; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar { position: sticky; top: 0; z-index: 900; height: var(--nav-h); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.navbar.scrolled { border-color: var(--border); box-shadow: 0 2px 12px rgba(28,18,8,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: var(--font-display); font-size: 1.35rem; color: var(--text); font-weight: 700; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 6px; background: var(--dark); color: #fff; padding: 8px 16px; border-radius: 50px; font-size: 0.86rem; font-weight: 600; transition: background 0.2s; }
.cart-btn:hover { background: var(--accent); }
.cart-count { display: none; position: absolute; top: -6px; right: -6px; background: var(--accent); color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: 0.68rem; font-weight: 700; align-items: center; justify-content: center; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); z-index: 899; padding: 28px 24px; flex-direction: column; gap: 20px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.15rem; font-weight: 600; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ── HERO ───────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,18,8,0.9) 0%, rgba(28,18,8,0.25) 55%, transparent 100%); }
.hero-content { position: relative; z-index: 2; padding: 48px 20px; width: 100%; max-width: 640px; margin: 0 auto; text-align: center; }
.hero-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 18px; font-family: var(--font-bn); }
.hero h1 { font-size: clamp(2.2rem, 8vw, 4rem); color: #fff; margin-bottom: 14px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-sub { font-size: clamp(0.9rem, 2.5vw, 1.05rem); color: rgba(255,255,255,0.78); margin-bottom: 30px; font-family: var(--font-bn); }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── TRUST STRIP ────────────────────────────────────────── */
.trust-strip { background: var(--dark); padding: 18px 0; }
.trust-inner { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.78); font-size: 0.83rem; }

/* ── FEATURED (homepage) ────────────────────────────────── */
.featured-section { background: var(--bg2); }
.section-title { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--text); margin-bottom: 6px; }
.section-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 40px; font-family: var(--font-bn); }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.feat-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform 0.22s, box-shadow 0.22s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(28,18,8,0.12); }
.feat-card-body { padding: 22px; }
.feat-tag { display: inline-block; background: var(--bg2); color: var(--accent); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; }
.feat-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.feat-bn { font-family: var(--font-bn); font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.feat-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; line-height: 1.5; }
.feat-footer { display: flex; align-items: center; justify-content: space-between; }
.feat-price { font-size: 1.15rem; font-weight: 700; color: var(--accent); font-family: var(--font-display); }

/* ── CAT NAV PILLS ──────────────────────────────────────── */
.cat-nav-wrap { position: sticky; top: var(--nav-h); z-index: 80; background: var(--white); border-bottom: 1px solid var(--border); padding: 0 20px; }
.cat-nav { display: flex; gap: 0; max-width: 1100px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-btn { padding: 14px 18px; font-size: 0.86rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; transition: all 0.18s; background: none; cursor: pointer; }
.cat-nav-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.cat-nav-btn:hover { color: var(--text); }

/* ── FOOD MENU SECTIONS ─────────────────────────────────── */
.menu-page-layout { display: grid; grid-template-columns: 1fr; }
.food-menu { max-width: 800px; margin: 0 auto; padding: 28px 20px 120px; width: 100%; }
.menu-section { margin-bottom: 40px; }
.menu-section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.menu-items-list { display: flex; flex-direction: column; }
.menu-item-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.menu-item-row:last-child { border-bottom: none; }
.mir-info { flex: 1; }
.mir-info h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 2px; font-family: var(--font-body); }
.mir-bn { font-family: var(--font-bn); font-size: 0.78rem; color: var(--muted); margin-bottom: 3px; }
.mir-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.4; margin-bottom: 6px; }
.mir-price { font-size: 1rem; font-weight: 700; color: var(--text); }
.mir-action { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 80px; }
.add-item-btn { background: var(--white); color: var(--accent); border: 2px solid var(--accent); padding: 7px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; transition: all 0.18s; white-space: nowrap; }
.add-item-btn:hover { background: var(--accent); color: #fff; }
.qty-control { display: flex; align-items: center; gap: 10px; background: var(--accent); border-radius: 50px; padding: 6px 12px; }
.qty-control button { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.25); color: #fff; font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.qty-control button:hover { background: rgba(255,255,255,0.4); }
.qty-control span { color: #fff; font-weight: 700; font-size: 0.9rem; min-width: 16px; text-align: center; }

/* ── STICKY CART BAR ────────────────────────────────────── */
#sticky-cart-bar { display: none; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 800; background: var(--dark); color: #fff; border-radius: 50px; padding: 14px 24px; display: none; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 8px 32px rgba(28,18,8,0.3); min-width: 300px; max-width: calc(100vw - 32px); }
#sticky-cart-bar .scb-left { font-size: 0.88rem; }
#sticky-cart-bar .scb-count { font-weight: 700; display: block; }
#sticky-cart-bar .scb-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
#sticky-cart-bar .scb-right { display: flex; align-items: center; gap: 16px; }
#sticky-cart-bar .scb-total { font-size: 1.05rem; font-weight: 700; color: var(--accent2); }
#sticky-cart-bar .scb-btn { background: #25D366; color: #fff; padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 0.88rem; white-space: nowrap; transition: background 0.2s; }
#sticky-cart-bar .scb-btn:hover { background: #1ebe5b; }

/* ── ORDER / CART PAGE ──────────────────────────────────── */
.order-page { padding: 40px 0 80px; }
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-section-title { font-size: 1.25rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.cart-empty-state { text-align: center; padding: 56px 20px; color: var(--muted); }
.cart-empty-state .empty-emoji { font-size: 3rem; margin-bottom: 14px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); gap: 12px; flex-wrap: wrap; }
.cart-row-info { flex: 1; }
.cart-row-info strong { display: block; font-size: 0.93rem; }
.cart-bn { display: block; font-family: var(--font-bn); font-size: 0.78rem; color: var(--muted); }
.cart-row-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--bg2); color: var(--text); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background 0.18s; }
.qty-btn:hover { background: var(--border); }
.qty-num { font-weight: 700; min-width: 18px; text-align: center; font-size: 0.92rem; }
.cart-item-total { font-weight: 700; color: var(--accent); min-width: 56px; text-align: right; font-size: 0.92rem; }
.remove-btn { color: var(--muted); font-size: 0.8rem; padding: 3px 7px; border-radius: 4px; transition: color 0.18s; }
.remove-btn:hover { color: #c0392b; }
.order-summary-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; position: sticky; top: calc(var(--nav-h) + 16px); }
.summary-title { font-size: 1.05rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.summary-total { display: flex; justify-content: space-between; padding: 14px 0 18px; font-weight: 700; font-size: 1.05rem; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: 0.88rem; font-family: var(--font-body); background: var(--bg); color: var(--text); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 72px; }
.cod-note { background: var(--bg2); border-radius: var(--r); padding: 11px 13px; font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; font-family: var(--font-bn); border-left: 3px solid var(--accent); }
.place-order-btn { width: 100%; padding: 15px; background: #25D366; color: #fff; border-radius: 50px; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background 0.2s, transform 0.15s; cursor: pointer; border: none; }
.place-order-btn:hover { background: #1ebe5b; transform: translateY(-1px); }

/* ── THANK YOU ──────────────────────────────────────────── */
.ty-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.ty-box { max-width: 500px; }
.ty-icon { font-size: 4rem; margin-bottom: 20px; }
.ty-box h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 12px; }
.ty-box p { color: var(--muted); font-family: var(--font-bn); margin-bottom: 28px; line-height: 1.8; }
.ty-wa { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 13px 26px; border-radius: 50px; font-weight: 700; margin-bottom: 14px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,0.62); padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand h3 { font-family: var(--font-display); color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.footer-brand h3 span { color: var(--accent2); }
.footer-brand p { font-size: 0.83rem; line-height: 1.7; font-family: var(--font-bn); }
.footer-col h4 { color: #fff; font-size: 0.88rem; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.83rem; margin-bottom: 9px; transition: color 0.2s; font-family: var(--font-bn); }
.footer-col a:hover { color: var(--accent2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.76rem; }
.footer-bottom a { color: var(--accent2); font-weight: 600; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ── CAT SECTION (homepage) ─────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--r-lg); padding: 24px 16px; text-align: center; transition: all 0.2s; cursor: pointer; display: block; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-emoji { font-size: 2rem; margin-bottom: 10px; }
.cat-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 3px; }
.cat-time { font-size: 0.75rem; color: var(--muted); font-family: var(--font-bn); }

/* ── TOAST ──────────────────────────────────────────────── */
#toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(60px); background: var(--dark); color: #fff; padding: 11px 22px; border-radius: 50px; font-size: 0.86rem; font-weight: 600; z-index: 9999; transition: transform 0.3s, opacity 0.3s; opacity: 0; white-space: nowrap; pointer-events: none; }
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feat-card-body { padding: 14px; }
  .cat-grid { gap: 10px; }
  .cat-card { padding: 18px 10px; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary-box { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-inner { gap: 18px; }
  #sticky-cart-bar { min-width: 280px; padding: 12px 18px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .featured-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .menu-item-row { gap: 10px; }
}

/* ── SECTION HEADER WITH IMAGE ──────────────────────────── */
.section-header {
  position: relative;
  height: 160px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 8px;
}
.section-header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.menu-section:hover .section-header-img { transform: scale(1.03); }
.section-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28,18,8,0.78) 0%, rgba(28,18,8,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
}
.section-header-overlay h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.section-header-overlay span {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
}

/* ── FEATURED CARDS WITH IMAGE ──────────────────────────── */
.feat-card-img-wrap {
  position: relative;
  display: block;
  height: 160px;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.feat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.feat-card:hover .feat-card-img { transform: scale(1.06); }
.feat-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* ── HOME CATEGORY IMAGE CARDS ──────────────────────────── */
.cat-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-img-card {
  position: relative;
  height: 180px;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.cat-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-img-card:hover img { transform: scale(1.06); }
.cat-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,18,8,0.82) 0%, rgba(28,18,8,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.cat-img-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

@media (max-width: 600px) {
  .cat-img-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-img-card { height: 140px; }
  .section-header { height: 120px; }
  .feat-card-img-wrap { height: 130px; }
}
