/* ============================================================
   BEAN BLISS CAFE — style.css  (Mobile-First)
   ============================================================ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --green-dark:   #0d3d22;
  --green:        #1a5c35;
  --green-light:  #2d7a4a;
  --yellow:       #f5c518;
  --yellow-dark:  #d4a800;
  --white:        #ffffff;
  --off-white:    #f8f6f0;
  --text-dark:    #1a1a1a;
  --text-muted:   #666;
  --border:       #e5e5e5;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);
  --radius:     14px;
  --radius-lg:  20px;
  --transition: all 0.25s ease;

  /* Mobile tokens */
  --nav-h:        60px;
  --section-pad:  60px 0;
  --px:           18px;
  --cart-w:       100vw;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-family: var(--font-body); }

/* ─── UTILS ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--px); }

.section-label {
  font-weight: 600; font-size: 0.72rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--yellow-dark);
  margin-bottom: 10px; display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 14px;
}
.section-title em { color: var(--green); font-style: italic; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-header.light .section-label { color: var(--yellow); }
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-title em { color: var(--yellow); }
.section-desc { color: rgba(255,255,255,0.8); font-size: 0.95rem; max-width: 560px; margin: 0 auto; line-height: 1.65; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 700;
  font-size: 0.92rem; transition: var(--transition); cursor: pointer;
  border: 2px solid transparent; min-height: 50px; white-space: nowrap;
}
.btn-primary  { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:active  { background: var(--green-dark); transform: scale(0.97); }
.btn-tiffin  { background: var(--yellow); color: var(--green-dark); font-weight: 700; }
.btn-tiffin:active  { background: var(--yellow-dark); transform: scale(0.97); }
.btn-plan {
  background: transparent; color: var(--green); border: 2px solid var(--green);
  padding: 13px 28px; border-radius: 50px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 50px; font-size: 0.9rem; transition: var(--transition);
}
.btn-plan:active { background: var(--green); color: var(--white); }
.btn-full { width: 100%; }

/* ─── LOGO ──────────────────────────────────────────────── */
.nav-logo        { display: flex; align-items: center; gap: 9px; }
.nav-logo-img    { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--yellow); flex-shrink: 0; }
.brand-name      { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--green-dark); }
.footer-logo-wrap{ display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--yellow); }

.hero-logo-wrap {
  width: 170px; height: 170px; border-radius: 50%; overflow: hidden;
  border: 4px solid rgba(245,197,24,0.5);
  box-shadow: 0 0 50px rgba(245,197,24,0.25);
  animation: float 4s ease-in-out infinite;
  margin: 0 auto;
}
.hero-logo-img { width: 100%; height: 100%; object-fit: cover; }

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,92,53,0.1);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 var(--px); max-width: 1200px; margin: 0 auto;
}

/* Mobile menu — slides down */
.nav-links {
  display: none; flex-direction: column;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  padding: 12px var(--px) max(20px, env(safe-area-inset-bottom));
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  gap: 3px; z-index: 999;
  border-top: 1px solid var(--border);
}
.nav-links.open { display: flex; }

.nav-link {
  display: flex; align-items: center;
  padding: 13px 14px; border-radius: var(--radius);
  font-weight: 500; font-size: 0.95rem; color: var(--text-dark);
  transition: var(--transition); min-height: 50px;
}
.nav-link:active { background: var(--off-white); color: var(--green); }
.tiffin-nav-btn { background: var(--yellow); color: var(--green-dark) !important; font-weight: 700; justify-content: center; margin-top: 4px; }
.admin-link { color: var(--text-muted) !important; font-size: 0.85rem; }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px; margin-right: -10px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.hamburger span { display: block; width: 23px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: var(--transition); }

/* ─── CART OVERLAY & DRAWER ─────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100vw;
  background: var(--white); z-index: 1001; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  background: var(--green-dark); color: var(--white);
  flex-shrink: 0; min-height: 60px;
}
.cart-header h3 { font-family: var(--font-display); font-size: 1.15rem; }
.cart-close-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white);
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cart-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 0; }
.cart-empty { text-align: center; padding: 60px 24px; }
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 14px; opacity: 0.4; }
.cart-empty p { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 6px; }
.cart-empty small { font-size: 0.88rem; color: var(--text-muted); display: block; margin-bottom: 20px; }
.btn-go-menu { padding: 12px 28px; background: var(--green); color: var(--white); border-radius: 50px; font-weight: 700; font-size: 0.9rem; min-height: 48px; }

.cart-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 52px; height: 52px; border-radius: 10px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.cart-item-name  { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { font-size: 0.8rem; color: var(--green); font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 1.1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; color: var(--green-dark);
}
.qty-btn:active { background: var(--green); color: var(--white); border-color: var(--green); }
.qty-val { font-weight: 800; font-size: 0.95rem; min-width: 20px; text-align: center; }

.cart-footer {
  border-top: 1px solid var(--border); padding: 14px 18px;
  padding-bottom: max(22px, env(safe-area-inset-bottom));
  background: var(--off-white); flex-shrink: 0;
}
.cart-subtotal-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.92rem; color: var(--text-muted); }
.cart-subtotal-row strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-dark); }
.cart-note-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 12px; outline: none; background: var(--white); }
.cart-note-input:focus { border-color: var(--green); }
.btn-checkout { width: 100%; padding: 16px; background: var(--green); color: var(--white); border: none; border-radius: 50px; font-size: 1rem; font-weight: 700; cursor: pointer; min-height: 54px; margin-bottom: 10px; display: block; transition: var(--transition); }
.btn-checkout:active { background: var(--green-dark); transform: scale(0.98); }
.btn-clear-cart { width: 100%; padding: 12px; background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); border-radius: 50px; font-size: 0.88rem; font-weight: 600; min-height: 46px; }

/* Cart order summary */
.cart-order-box  { background: var(--off-white); border: 1.5px solid var(--green-light); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; }
.cart-order-label{ font-weight: 700; font-size: 0.85rem; color: var(--green); margin-bottom: 8px; }
.cart-order-item { font-size: 0.85rem; padding: 4px 0; display: flex; justify-content: space-between; }
.cart-order-total{ margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--text-muted); text-align: right; }
.cart-order-total strong { color: var(--green); font-size: 1rem; }

/* Cart FAB */
.cart-fab {
  position: fixed; right: 18px; z-index: 800;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-dark); color: var(--white);
  border: 3px solid var(--yellow);
  box-shadow: 0 6px 24px rgba(13,61,34,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: var(--transition); cursor: pointer;
}
.cart-fab:active { transform: scale(0.9); }
.cart-fab.has-items { animation: fab-bounce 0.4s ease; }
@keyframes fab-bounce { 0%{transform:scale(1)} 40%{transform:scale(1.18)} 100%{transform:scale(1)} }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--yellow); color: var(--green-dark);
  font-size: 0.68rem; font-weight: 800;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.cart-toast {
  position: fixed; bottom: 90px; left: 16px; right: 16px;
  background: var(--green-dark); color: var(--white);
  padding: 14px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  z-index: 1100; border-left: 4px solid var(--yellow);
  animation: toast-in 0.3s ease, toast-out 0.3s ease 1.8s forwards;
  box-shadow: var(--shadow-md); text-align: center;
}
@keyframes toast-in  { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes toast-out { from{opacity:1} to{opacity:0} }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 60%, #2d6e45 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 36px) var(--px) 64px;
  position: relative; overflow: hidden; text-align: center; gap: 28px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(245,197,24,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 15%, rgba(245,197,24,0.07) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; max-width: 480px; width: 100%; }
.hero-tagline {
  display: inline-block; background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.3); color: var(--yellow);
  padding: 6px 16px; border-radius: 50px; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px;
}
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 13vw, 5.5rem); font-weight: 700; color: var(--white); line-height: 1.05; margin-bottom: 14px; }
.hero-title em { color: var(--yellow); font-style: italic; }
.hero-sub { font-size: 0.97rem; color: rgba(255,255,255,0.75); margin-bottom: 28px; line-height: 1.65; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero-actions .btn { width: 100%; max-width: 280px; }

.hero-visual { position: relative; z-index: 2; }
.coffee-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(245,197,24,0.2); animation: pulse-ring 3s ease-in-out infinite; }
.ring1 { width: 220px; height: 220px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.ring2 { width: 180px; height: 180px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(245,197,24,0.12); animation-delay: 1s; }
@keyframes pulse-ring { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:0.6} 50%{transform:translate(-50%,-50%) scale(1.06);opacity:1} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.scroll-hint { display: none; }

/* ─── ABOUT ─────────────────────────────────────────────── */
.about { padding: var(--section-pad); background: var(--off-white); }
.about-grid { display: flex; flex-direction: column; gap: 32px; }
.about-image-block { position: relative; }
.about-img-box {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer;
}
.about-img-placeholder { text-align: center; color: var(--white); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; }
.about-img-placeholder p { font-family: var(--font-display); font-style: italic; font-size: 1rem; opacity: 0.8; }
.about-upload-overlay { position: absolute; inset: 0; background: rgba(13,61,34,0.55); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity 0.25s ease; cursor: pointer; }
.about-img-box:hover .about-upload-overlay,
.about-img-box:active .about-upload-overlay { opacity: 1; }
.about-upload-overlay span { font-size: 2rem; }
.about-upload-overlay p { color: var(--white); font-weight: 700; font-size: 0.9rem; }

.about-stat-card { display: inline-flex; gap: 12px; align-items: center; background: var(--yellow); padding: 14px 22px; border-radius: var(--radius); box-shadow: var(--shadow-md); margin-top: 14px; }
.about-stat-card strong { font-family: var(--font-display); font-size: 2rem; color: var(--green-dark); line-height: 1; }
.about-stat-card span { font-size: 0.85rem; color: var(--green-dark); font-weight: 600; }

.about-text p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 16px; }
.about-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.feature-pill { background: var(--white); border: 1px solid var(--border); padding: 8px 16px; border-radius: 50px; font-size: 0.87rem; font-weight: 500; color: var(--green); box-shadow: var(--shadow-sm); }

/* ─── MENU ──────────────────────────────────────────────── */
.menu { padding: var(--section-pad); background: var(--white); }

/* Scrollable tabs — no wrapping on small screens */
.menu-tabs { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 0 2px; scroll-snap-type: x mandatory; }
.menu-tabs::-webkit-scrollbar { display: none; }
.tab-btn { padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.88rem; color: var(--text-muted); background: var(--off-white); border: 2px solid transparent; transition: var(--transition); white-space: nowrap; flex-shrink: 0; scroll-snap-align: start; min-height: 44px; }
.tab-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* 2-column grid on mobile */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tab-content { display: none; }
.tab-content.active { display: grid; }

.menu-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; transition: var(--transition); display: flex; flex-direction: column; }
.menu-card:active { transform: scale(0.97); }
.menu-card-img { width: 100%; height: 108px; object-fit: cover; display: block; background: var(--green-dark); }
.menu-card-img-placeholder { width: 100%; height: 108px; background: linear-gradient(135deg, var(--green-dark), var(--green-light)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; }
.menu-card-img-placeholder .m-icon { font-size: 2.2rem; }
.menu-card-img-placeholder .m-hint { font-size: 0.62rem; color: rgba(255,255,255,0.45); }

.menu-card-body { padding: 10px 11px 12px; flex: 1; display: flex; flex-direction: column; }
.menu-card.featured .menu-card-body { background: var(--green-dark); color: var(--white); }
.menu-card.featured p { color: rgba(255,255,255,0.7); }
.menu-card.featured .menu-price { color: var(--yellow); }

.featured-badge { position: absolute; top: 8px; left: 8px; background: var(--yellow); color: var(--green-dark); font-size: 0.6rem; font-weight: 800; padding: 3px 8px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; z-index: 2; }
.menu-card h3 { font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 4px; line-height: 1.25; }
.menu-card p  { font-size: 0.73rem; color: var(--text-muted); line-height: 1.4; flex: 1; margin-bottom: 8px; }
.menu-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.06); gap: 6px; }
.menu-card.featured .menu-card-footer { border-color: rgba(255,255,255,0.1); }
.menu-price { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--green); flex-shrink: 0; }
.btn-add-cart { padding: 6px 11px; background: var(--green); color: var(--white); border: none; border-radius: 50px; font-size: 0.72rem; font-weight: 700; cursor: pointer; transition: var(--transition); white-space: nowrap; min-height: 30px; }
.btn-add-cart:active { background: var(--green-dark); transform: scale(0.95); }
.menu-card.featured .btn-add-cart { background: var(--yellow); color: var(--green-dark); }

.card-qty-controls { display: flex; align-items: center; gap: 4px; }
.card-qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--green-dark); flex-shrink: 0; }
.card-qty-btn:active { background: var(--green); color: var(--white); border-color: var(--green); }
.menu-card.featured .card-qty-btn { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.3); }
.card-qty-val { font-weight: 800; font-size: 0.9rem; min-width: 16px; text-align: center; color: var(--green-dark); }
.menu-card.featured .card-qty-val { color: var(--yellow); }

/* ─── TIFFIN ────────────────────────────────────────────── */
.tiffin { background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%); padding: var(--section-pad); position: relative; overflow: hidden; }
.tiffin-bg-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 90% 10%, rgba(245,197,24,0.08) 0%, transparent 40%), radial-gradient(circle at 10% 90%, rgba(245,197,24,0.05) 0%, transparent 40%); }
.tiffin .container { position: relative; z-index: 2; }

.plans-grid { display: flex; flex-direction: column; gap: 24px; max-width: 400px; margin: 0 auto; }
.plan-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; position: relative; width: 100%; }
.plan-card.featured { background: var(--yellow); box-shadow: 0 16px 50px rgba(0,0,0,0.15); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green-dark); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 5px 16px; border-radius: 50px; white-space: nowrap; }
.plan-card h4 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; color: var(--green-dark); }
.plan-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--green); margin-bottom: 16px; line-height: 1; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.plan-card.featured .plan-price { color: var(--green-dark); }
.plan-card ul { text-align: left; margin-bottom: 22px; }
.plan-card ul li { padding: 8px 0; font-size: 0.92rem; color: var(--text-muted); border-bottom: 1px solid rgba(26,92,53,0.07); }
.plan-card ul li:last-child { border: none; }
.plan-card.featured ul li { color: var(--green-dark); border-color: rgba(0,0,0,0.1); }
.plan-card.featured .btn-plan { background: var(--green); color: var(--white); border-color: var(--green); }

/* ─── GALLERY ───────────────────────────────────────────── */
.gallery { padding: var(--section-pad); background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); grid-auto-rows: 130px; gap: 10px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: var(--transition); }
.gallery-item span { font-size: 2rem; }
.gallery-item p { color: rgba(255,255,255,0.85); font-size: 0.75rem; font-weight: 600; }
.gallery-item:active { transform: scale(0.97); }
.gi-1 { background: linear-gradient(135deg, var(--green-dark), var(--green-light)); }
.gi-2 { background: linear-gradient(135deg, #8B5E3C, #6B4226); }
.gi-3 { background: linear-gradient(135deg, var(--green), #2d7a4a); }
.gi-4 { background: linear-gradient(135deg, #3D2B1F, #6B4226); grid-column: span 2; }
.gi-5 { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.gi-6 { background: linear-gradient(135deg, var(--green-dark), var(--green)); }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials { padding: var(--section-pad); background: var(--white); }
/* Horizontal scroll cards on mobile */
.testimonials-track { display: flex; gap: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 0 12px; scroll-snap-type: x mandatory; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 20px; flex: 0 0 80vw; max-width: 300px; scroll-snap-align: start; scroll-snap-stop: always; }
.stars { color: var(--yellow-dark); font-size: 0.95rem; margin-bottom: 12px; }
.testimonial-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 38px; height: 38px; background: var(--green); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.reviewer strong { display: block; font-size: 0.88rem; }
.reviewer span { font-size: 0.75rem; color: var(--text-muted); }

/* Dot scroll indicator */
.testimonials-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.testimonials-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); display: block; transition: var(--transition); }
.testimonials-dots span.active { background: var(--green); width: 20px; border-radius: 4px; }

/* ─── CONTACT ───────────────────────────────────────────── */
.contact { padding: var(--section-pad); background: var(--off-white); }
.contact-grid { display: flex; flex-direction: column; gap: 28px; }
.contact-info { display: flex; flex-direction: column; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border: none; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 1px; color: var(--green); margin-bottom: 3px; }
.contact-info-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 22px var(--px); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.contact-form h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 22px; color: var(--green-dark); }
.form-row { display: flex; flex-direction: column; gap: 0; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; background: var(--white); outline: none; transition: var(--transition);
  -webkit-appearance: none; min-height: 50px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-success { margin-top: 14px; background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; padding: 14px; border-radius: var(--radius); font-size: 0.9rem; }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer { background: var(--green-dark); color: rgba(255,255,255,0.75); padding: 48px 0 0; }
.footer .brand-name { color: var(--white); }
.footer-grid { display: flex; flex-direction: column; gap: 30px; padding-bottom: 34px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 4px; }
.footer-links h4,
.footer-contact h4 { font-family: var(--font-display); font-size: 1rem; color: var(--yellow); margin-bottom: 14px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 8px; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px var(--px);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.35);
}

/* ─── DESKTOP UPGRADES (768px+) ─────────────────────────── */
@media (min-width: 768px) {
  :root { --section-pad: 90px 0; --px: 32px; --cart-w: 420px; }

  /* Nav */
  .hamburger { display: none; }
  .nav-links { display: flex !important; flex-direction: row; position: static; box-shadow: none; padding: 0; background: none; border: none; gap: 2px; }
  .nav-link { padding: 7px 12px; min-height: auto; font-size: 0.88rem; }
  .nav-link:hover { background: var(--off-white); color: var(--green); }
  .tiffin-nav-btn { border-radius: 50px; margin: 0; }
  .tiffin-nav-btn:hover { background: var(--yellow-dark); }

  /* Hero */
  .hero { flex-direction: row; text-align: left; justify-content: space-between; padding: 120px 60px 80px; gap: 0; }
  .hero-content { max-width: 520px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .hero-logo-wrap { width: 220px; height: 220px; margin: 0; }
  .scroll-hint { display: flex; position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 8px; }
  .scroll-hint span { font-size: 0.72rem; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; }
  .scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: scroll-anim 2s ease-in-out infinite; }
  @keyframes scroll-anim { 0%,100%{opacity:0.3} 50%{opacity:1} }

  /* About */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .about-img-box { aspect-ratio: 4/5; }
  .about-stat-card { position: absolute; bottom: -20px; right: -20px; margin: 0; flex-direction: column; gap: 4px; text-align: center; }

  /* Menu */
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
  .menu-card-img, .menu-card-img-placeholder { height: 150px; }
  .menu-card h3 { font-size: 1.05rem; }
  .menu-card p  { font-size: 0.85rem; }
  .btn-add-cart { font-size: 0.82rem; padding: 8px 16px; }

  /* Tiffin */
  .plans-grid { flex-direction: row; max-width: 720px; gap: 24px; align-items: stretch; }
  .plan-card { flex: 1; }
  .plan-card.featured { transform: scale(1.03); }
  .plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .gallery-item span { font-size: 3rem; }
  .gallery-item p { font-size: 0.88rem; }
  .gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

  /* Testimonials */
  .testimonials-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; }
  .testimonial-card { flex: none; max-width: none; }
  .testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .testimonials-dots { display: none; }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-form { padding: 36px 32px; }

  /* Cart */
  .cart-drawer { width: var(--cart-w); }
  .cart-toast  { left: auto; right: 28px; width: auto; }

  /* Footer */
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  .footer-links a:hover { color: var(--yellow); }
}

@media (min-width: 1024px) {
  .hero-logo-wrap { width: 260px; height: 260px; }
  .menu-card-img, .menu-card-img-placeholder { height: 165px; }
  .btn-primary:hover  { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,92,53,0.35); }
  .btn-tiffin:hover   { background: var(--yellow-dark); transform: translateY(-2px); }
  .cart-fab:hover     { transform: scale(1.1); background: var(--green); }
  .menu-card:hover    { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,92,53,0.2); }
}

/* ============================================================
   MY TIFFIN RECORD SECTION
   ============================================================ */
.my-tiffin-record {
  padding: var(--section-pad);
  background: #f0fdf4;
}
.mtr-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Lookup card */
.mtr-lookup-card {
  max-width: 560px;
  margin: 0 auto 32px;
  background: var(--white);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.mtr-phone-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.mtr-phone-icon {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 4px;
}
.mtr-phone-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 1px;
}
.mtr-phone-input:focus { border-color: var(--green); }
.mtr-search-btn {
  width: 100%;
  padding: 14px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  min-height: 50px;
  border: none;
}
.mtr-search-btn:active { background: var(--green); transform: scale(0.98); }
.mtr-error {
  color: #dc2626;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
  margin-top: 8px;
}

/* Result panel */
.mtr-result {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: mtrFadeIn 0.4s ease;
}
@keyframes mtrFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Customer header */
.mtr-cust-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--green-dark);
  color: var(--white);
  position: relative;
}
.mtr-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mtr-cust-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.mtr-cust-plan { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.mtr-close-btn {
  margin-left: auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.mtr-close-btn:hover { background: rgba(255,255,255,0.25); color: var(--white); }

/* Month row */
.mtr-month-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.mtr-month-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 1.1rem; font-weight: 700;
  color: var(--green-dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.mtr-month-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.mtr-month-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.mtr-month-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  min-width: 140px;
  text-align: center;
}

/* Summary cards */
.mtr-summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 18px 0;
}
.mtr-summary-card {
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  border: 1.5px solid transparent;
}
.mtr-ate     { background: #dcfce7; border-color: #86efac; }
.mtr-noate   { background: #fee2e2; border-color: #fca5a5; }
.mtr-pending { background: #fef9c3; border-color: #fde68a; }
.mtr-total   { background: #dbeafe; border-color: #93c5fd; }
.mtr-s-icon  { font-size: 1.4rem; margin-bottom: 6px; }
.mtr-s-val   {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700;
  line-height: 1;
  color: var(--text-dark);
}
.mtr-s-lbl {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Day-by-day */
.mtr-days-wrap {
  margin: 18px 18px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.mtr-days-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  flex-wrap: wrap;
  gap: 8px;
}
.mtr-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
}
.mtr-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mtr-dot-ate  { background: #22c55e; }
.mtr-dot-no   { background: #ef4444; }
.mtr-dot-pend { background: #d1d5db; }

.mtr-days-list { max-height: 320px; overflow-y: auto; }
.mtr-day-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  gap: 10px;
}
.mtr-day-row:last-child { border-bottom: none; }
.mtr-day-row.mtr-day-ate   { background: #f0fdf4; }
.mtr-day-row.mtr-day-noate { background: #fef2f2; }
.mtr-day-row.mtr-day-pend  { background: #fafafa; }
.mtr-day-date  { font-weight: 700; color: var(--text-dark); min-width: 56px; }
.mtr-day-day   { font-size: 0.78rem; color: var(--text-muted); min-width: 28px; }
.mtr-meals-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.mtr-meal-pill {
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  white-space: nowrap;
}
.mtr-meal-ate   { background: #dcfce7; color: #166534; }
.mtr-meal-noate { background: #fee2e2; color: #991b1b; }
.mtr-meal-pend  { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }
.mtr-day-empty  { color: var(--text-muted); font-style: italic; font-size: 0.78rem; }

@media (min-width: 768px) {
  .mtr-phone-wrap { flex-direction: row; align-items: center; }
  .mtr-phone-wrap .mtr-phone-icon { display: none; }
  .mtr-phone-input { text-align: left; }
  .mtr-search-btn { width: auto; white-space: nowrap; padding: 14px 24px; }
  .mtr-summary-row { grid-template-columns: repeat(4, 1fr); }
}
