/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOMER PORTAL  (public_html/index.html)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Root ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Vesper design tokens (uiCookies, free for personal & commercial use):
     charcoal, sage and warm off-white with a soft brass accent */
  --ink:        #22272b;
  --ink-2:      #2c3237;
  --ink-line:   rgba(246,242,234,.14);
  --sage:       #8ea58f;
  --sage-600:   #5f7b66;
  --sage-700:   #4b6452;
  --sage-800:   #384b3e;
  --sage-100:   #dfe7dc;
  --sage-50:    #edf1e9;
  --brass:      #b48f58;
  --brass-300:  #d7bd8c;
  --brass-700:  #7a5d32;
  --paper:      #f6f2ea;
  --paper-2:    #eee8dc;
  --heading:    #1f2427;
  --line:       rgba(34,39,43,.12);
  --line-2:     rgba(34,39,43,.2);
  --live:       #ad4a33;
  /* Kumkum red for buttons and page banners (a Bhagavathi temple) */
  --kumkum:     #9b1c20;
  --kumkum-700: #7d1519;
  --kumkum-900: #5c0f12;
  --ease:       cubic-bezier(.22,.61,.36,1);

  /* Names used throughout this stylesheet, mapped onto the Vesper palette */
  --maroon:    var(--sage-700);   /* primary accent */
  --maroon-d:  var(--ink);
  --red-50:    var(--sage-50);
  --gold:      var(--brass);
  --saffron:   var(--brass-300);
  --cream:     var(--paper);
  --spice:     #2a2e32;           /* body text */
  --spice-mid: #4a5056;
  --spice-lt:  #5b6166;
  --pepper:    var(--ink);
  --rose:      var(--sage-600);
  --mint:      #1B6B3A;
  --card:      #fffcf7;
  --border:    #e2dccf;
  --muted:     #5b6166;
  --shadow-sm: 0 1px 2px rgba(34,39,43,.05), 0 4px 14px rgba(34,39,43,.05);
  --shadow:    0 2px 4px rgba(34,39,43,.04), 0 18px 40px -18px rgba(34,39,43,.28);
  --shadow-lg: 0 30px 70px -30px rgba(34,39,43,.45);
  --r:         18px;
  --r-sm:      10px;
  --r-lg:      28px;
  --nav-h:     76px;
  --font-d:    'Cormorant Garamond', 'Noto Serif Malayalam', 'Iowan Old Style', Georgia, serif;
  --font-b:    'Instrument Sans', 'Noto Serif Malayalam', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ml:   'Noto Serif Malayalam', serif;
}
html { scroll-behavior: smooth; scrollbar-gutter: stable; } /* same page width with or without a scrollbar */
body {
  font-family: var(--font-b); background: var(--cream); color: var(--spice);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  min-height: 100vh; overflow-x: hidden;
  display: flex; flex-direction: column;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--heading); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
::selection { background: var(--sage-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
button { font-family: var(--font-b); cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: var(--font-b); outline: none; }

/* ── Scrollbar ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ── Utility ───────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
body:not(.signed-in) .signed-in-only { display: none !important; } /* body.signed-in is set by updateNavAuth() */
.flex  { display: flex; }
.col   { flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.grow  { flex: 1; }
.center { align-items: center; justify-content: center; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 23px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  border: 1.5px solid transparent; user-select: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-fire, .btn-ink, .btn-dark { background: var(--kumkum); color: #fff; border-color: var(--kumkum); }
.btn-fire:hover, .btn-ink:hover, .btn-dark:hover { background: var(--kumkum-700); border-color: var(--kumkum-700); color: #fff; box-shadow: 0 10px 24px -12px rgba(155,28,32,.65); }
.btn-outline-ink { background: transparent; color: var(--kumkum); border-color: rgba(155,28,32,.4); }
.btn-outline-ink:hover { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.btn-ghost { background: transparent; color: var(--kumkum); border-color: rgba(155,28,32,.4); }
.btn-ghost:hover { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.btn-outline {
  background: transparent; color: var(--maroon); border-color: var(--maroon);
}
.btn-outline:hover { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff; box-shadow: 0 4px 18px rgba(220,38,38,.3);
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(220,38,38,.4); }
.btn-danger:active { transform: translateY(0); }
.btn-icon {
  width: 38px; height: 38px; border-radius: 50%; padding: 0; justify-content: center;
  font-size: 18px;
}

/* ── Page sections ─────────────────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; flex: 1; }

/* ── NAV ───────────────────────────────────────────────────────────────────── */
#siteNav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(246,242,234,.88); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  padding: 0 clamp(16px, 4vw, 64px);
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
#siteNav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(34,39,43,.5); }
.nav-logo {
  font-family: var(--font-d); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; flex-shrink: 0;
}
.nav-logo span { color: var(--ink); }
.nav-logo-mark { font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--ink);
  background: none; text-decoration: none; cursor: pointer; position: relative; transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-dd { position: relative; }
.nav-dd-btn svg { transition: transform .2s; }
.nav-dd:hover .nav-dd-btn svg, .nav-dd:focus-within .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--card); border-radius: var(--r); padding: 8px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s;
}
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-item {
  display: block; padding: 10px 14px; border-radius: 9px; font-size: 14px;
  color: var(--spice); text-decoration: none; transition: background .15s, color .15s;
}
.nav-dd-item:hover { background: var(--sage-50); color: var(--ink); }
.nav-dd-sep { height: 1px; background: var(--border); margin: 6px 10px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 50%; background: transparent; color: var(--spice);
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.nav-icon-btn:hover { background: var(--sage-50); color: var(--ink); }
#navUserName { font-size: 14px; font-weight: 600; color: var(--spice); }

.cart-btn {
  position: relative; padding: 10px 20px; background: var(--kumkum);
  color: #fff; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.cart-btn:hover { background: var(--kumkum-700); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--brass-300); color: var(--ink); border-radius: 50%;
  width: 20px; height: 20px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--paper); transform: scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.show { transform: scale(1); }

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 16px + 4vw, 72px) clamp(16px, 5vw, 80px) clamp(64px, 32px + 5vw, 104px); }
.hero-ripples {
  position: absolute; width: 900px; height: 900px; right: -220px; top: -120px; pointer-events: none;
  fill: none; stroke: var(--brass); stroke-width: 1; opacity: .28;
}
.hero-grid {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-content { position: relative; }
.hero-eyebrow { font-family: var(--font-ml); letter-spacing: .04em; text-transform: none; animation: fadeUp .6s .05s both; }
.hero h1 {
  font-size: clamp(46px, 30px + 4.2vw, 82px); font-weight: 500; line-height: 1; margin-bottom: 8px;
  animation: fadeUp .6s .15s both;
}
.hero-tagline {
  font-family: var(--font-d); font-style: italic; font-weight: 500; color: var(--sage-700);
  font-size: clamp(30px, 20px + 2.6vw, 52px); line-height: 1.05; margin-bottom: 22px; animation: fadeUp .6s .2s both;
}
.hero-lead { font-size: 18px; color: var(--muted); max-width: 34rem; margin-bottom: 32px; animation: fadeUp .6s .3s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; animation: fadeUp .6s .4s both; }
.hero-figure { position: relative; margin: 0; padding-left: clamp(0px, 3vw, 40px); animation: fadeUp .7s .25s both; }
.arch {
  position: relative; overflow: hidden; aspect-ratio: 5 / 6;
  border-radius: var(--r-lg); background: var(--paper-2); box-shadow: var(--shadow-lg);
}
.arch::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  border: 1px solid rgba(246,242,234,.45); border-radius: calc(var(--r-lg) - 8px);
}
.hero-bg { position: absolute; inset: 0; background: url('../img/hero-chuttuvilakku.jpg') 60% 55%/cover no-repeat; }
@media(max-width:900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { padding-left: 0; max-width: 480px; width: 100%; margin: 0 auto; }
  .hero-ripples { right: -420px; top: auto; bottom: -200px; }
}
@media(max-width:575px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ── MENU PAGE ─────────────────────────────────────────────────────────────── */
.menu-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0; min-height: calc(100vh - var(--nav-h));
}
/* Sidebar */
.menu-sidebar {
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  overflow-y: auto; border-right: 1px solid var(--border);
  padding: 28px 0; background: var(--card);
}
.sidebar-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 0 20px; margin-bottom: 8px; margin-top: 20px;
}
.sidebar-section-label:first-child { margin-top: 0; }
.sidebar-cat {
  display: flex; align-items: center; gap: 12px; padding: 11px 20px;
  cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted);
  border-left: 3px solid transparent; transition: all .18s;
}
.sidebar-cat:hover { color: var(--spice); background: var(--cream); }
.sidebar-cat.active { color: var(--maroon); background: rgba(75,100,82,.06); border-left-color: var(--maroon); font-weight: 600; }
.sidebar-cat-icon { font-size: 18px; width: 24px; text-align: center; }
.sidebar-cat-count { margin-left: auto; font-size: 12px; color: var(--muted); }
/* Menu main area */
.menu-main { padding: 28px clamp(16px, 3vw, 40px); }
.menu-topbar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap;
}
.search-wrap {
  flex: 1; min-width: 200px; max-width: 380px;
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1.5px solid var(--border); border-radius: 99px;
  padding: 10px 18px; transition: border .2s;
}
.search-wrap:focus-within { border-color: var(--maroon); }
.search-wrap svg { color: var(--muted); flex-shrink: 0; }
.search-wrap input { border: none; background: transparent; font-size: 14px; width: 100%; color: var(--spice); }
.search-wrap input::placeholder { color: var(--muted); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: 99px; font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--border); background: var(--card); color: var(--muted);
  cursor: pointer; transition: all .18s; user-select: none;
}
.chip:hover { border-color: var(--maroon); color: var(--maroon); }
.chip.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
/* Featured banner */
.featured-banner {
  background: linear-gradient(115deg, var(--pepper) 0%, var(--spice-mid) 100%);
  border-radius: var(--r); padding: 28px 32px; margin-bottom: 32px;
  display: flex; align-items: flex-start; justify-content: flex-start; gap: 20px;
  overflow: hidden; position: relative;
  min-height: 140px;
}
.featured-banner::before {
  content: ''; position: absolute; right: -20px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(180,143,88,.12); pointer-events: none;
}
.featured-banner > div {
  max-width: calc(100% - 150px);
  position: relative;
  z-index: 1;
}
.featured-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.featured-name { font-family: var(--font-d); font-size: 28px; color: #fff; font-weight: 700; }
.featured-desc { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 6px; }
.featured-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.15);
  position: absolute;
  top: 16px;
  right: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,.2);
  z-index: 2;
}
/* Category section */
.cat-section { margin-bottom: 40px; }
.cat-heading {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--font-d); font-size: 26px; font-weight: 700; color: var(--spice);
}
.cat-heading-line { flex: 1; height: 1px; background: var(--border); }
/* Item cards */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.item-card {
  background: var(--card); border-radius: var(--r); border: 1px solid var(--line);
  overflow: hidden; transition: all .25s; cursor: pointer; position: relative;
}
.item-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.item-card-img-wrap { position: relative; height: 180px; overflow: hidden; background: var(--border); }
.item-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.item-card:hover .item-card-img { transform: scale(1.06); }
.item-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 52px; background: radial-gradient(circle at 50% 60%, rgba(180,143,88,.3), transparent 55%), linear-gradient(160deg, var(--maroon), var(--maroon-d)); }
.item-card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.item-badge { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 99px; letter-spacing: .03em; backdrop-filter: blur(6px); }
.badge-popular { background: rgba(180,143,88,.9); color: #fff; }
.badge-special { background: rgba(124,58,237,.85); color: #fff; }
.badge-veg { background: rgba(27,107,58,.88); color: #fff; }
.badge-vegan { background: rgba(27,107,58,.88); color: #fff; }
.badge-hot { background: rgba(192,57,43,.88); color: #fff; }
.fav-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  transition: all .2s; cursor: pointer;
}
.fav-btn:hover { transform: scale(1.15); }
.fav-btn.active { background: #FEE2E2; }
.item-card-body { padding: 16px; }
.item-card-name { font-weight: 700; font-size: 16px; margin-bottom: 5px; line-height: 1.3; }
.item-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-card-footer { display: flex; align-items: center; justify-content: space-between; }
.item-price { font-family: var(--font-d); font-size: 22px; font-weight: 700; color: var(--maroon); }
.item-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
/* Stepper */
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper-btn {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--maroon);
  color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: all .18s; line-height: 1;
}
.stepper-btn:hover { background: var(--maroon-d); transform: scale(1.1); }
.stepper-btn.minus { background: var(--cream); color: var(--spice); border: 1.5px solid var(--border); }
.stepper-qty { font-weight: 700; font-size: 15px; min-width: 20px; text-align: center; }
.add-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--maroon); color: #fff;
  border: none; font-size: 22px; font-weight: 400; display: flex; align-items: center; justify-content: center;
  transition: all .2s cubic-bezier(.34,1.56,.64,1); line-height: 1;
}
.add-btn:hover { background: var(--maroon-d); transform: scale(1.12); }

/* ── ITEM DETAIL MODAL ─────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(34,39,43,.55); backdrop-filter: blur(6px);
  z-index: 900; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-sheet {
  background: var(--card); border-radius: 24px 24px 0 0;
  max-height: 92vh; width: 100%; max-width: 600px;
  overflow-y: auto; transform: translateY(100%);
  transition: transform .4s cubic-bezier(.34,1,.64,1);
}
.modal-img { width: 100%; height: 280px; object-fit: cover; }
.modal-img-placeholder { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; font-size: 80px; background: radial-gradient(circle at 50% 60%, rgba(180,143,88,.3), transparent 55%), linear-gradient(160deg, var(--maroon), var(--maroon-d)); }
.modal-body { padding: 24px; }
.modal-name { font-family: var(--font-d); font-size: 32px; font-weight: 700; margin-bottom: 6px; }
.modal-price { font-family: var(--font-d); font-size: 28px; color: var(--maroon); font-weight: 700; margin-bottom: 14px; }
.modal-desc { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.modal-tag { padding: 5px 13px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.modal-tag.veg { background: #DCFCE7; color: #15803D; }
.modal-tag.spice { background: #FEF3C7; color: #92400E; }
.modal-tag.time { background: #DBEAFE; color: #1D4ED8; }
.modal-tag.cal { background: #F3E8FF; color: #6D28D9; }
.modal-tag.allergen { background: #FEE2E2; color: #B91C1C; }
.modal-instructions label { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; }
.modal-instructions textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 12px;
  padding: 10px 14px; font-size: 14px; resize: none; height: 72px;
  transition: border .2s; background: var(--cream); color: var(--spice);
}
.modal-instructions textarea:focus { border-color: var(--maroon); background: var(--card); }
.modal-footer {
  padding: 18px 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: sticky; bottom: 0; background: var(--card);
}
.modal-close-btn {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px); border: none; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ── CART PANEL ────────────────────────────────────────────────────────────── */
.cart-panel {
  position: fixed; right: 0; top: 0; bottom: 0; width: 400px;
  background: var(--card); box-shadow: -8px 0 40px rgba(34,39,43,.15);
  z-index: 700; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.34,1,.64,1);
  display: flex; flex-direction: column;
}
.cart-panel.open { transform: translateX(0); }
.cart-panel-overlay {
  position: fixed; inset: 0; z-index: 699; background: rgba(34,39,43,.4);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-panel-overlay.open { opacity: 1; pointer-events: all; }
.cart-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-header h2 { font-family: var(--font-d); font-size: 26px; font-weight: 700; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; gap: 12px; }
.cart-empty-icon { font-size: 56px; }
.cart-empty p { color: var(--muted); font-size: 15px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--border); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cart-item-note { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-item-price { font-weight: 700; font-size: 15px; color: var(--maroon); }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-summary { margin-bottom: 16px; }
.cart-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.cart-row.total { font-weight: 700; font-size: 17px; padding-top: 10px; border-top: 1px solid var(--border); margin-top: 5px; }
.cart-row .saffron { color: var(--maroon); }
.promo-wrap { display: flex; gap: 8px; margin-bottom: 14px; }
.promo-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; background: var(--cream); text-transform: uppercase;
  transition: border .2s;
}
.promo-input:focus { border-color: var(--maroon); background: var(--card); }
.promo-applied { font-size: 12px; color: var(--mint); font-weight: 600; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.promo-remove { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 13px; line-height: 1; padding: 2px 4px; border-radius: 4px; }
.promo-remove:hover { color: var(--rose); background: rgba(192,57,43,.08); }

/* ── CHECKOUT PAGE ─────────────────────────────────────────────────────────── */
.checkout-wrap { max-width: 860px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 40px) 80px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.checkout-card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; margin-bottom: 20px; }
.checkout-card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.checkout-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--maroon); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-card-title { font-size: 16px; font-weight: 700; }
.checkout-card-body { padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 6px; }
.form-control {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 11px 15px; font-size: 14px; background: var(--cream); color: var(--spice);
  transition: all .2s;
}
.form-control:focus { border-color: var(--maroon); background: var(--card); box-shadow: 0 0 0 3px rgba(75,100,82,.1); }
textarea.form-control { resize: vertical; min-height: 80px; }

.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%),
                    radial-gradient(circle at right center, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 22%);
  background-position: calc(100% - 32px) 50%, calc(100% - 24px) 50%, calc(100% - 18px) 50%;
  background-size: 8px 8px, 8px 8px, 12px 12px;
  background-repeat: no-repeat;
  padding-right: 42px;
  min-height: 42px;
}
.form-select:focus {
  border-color: var(--maroon);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(75,100,82,.1);
}

.modal-instructions label.form-label { margin-bottom: 6px; display: block; }
.modal-addons { display: flex; flex-direction: column; gap: 8px; }
.modal-addon-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--border); cursor: pointer;
  transition: border-color 0.15s;
}
.modal-addon-row:has(input:checked) { border-color: var(--maroon); background: rgba(180,143,88,.06); }
.modal-addon-row input[type="checkbox"] { accent-color: var(--maroon); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.modal-addon-name { flex: 1; font-size: 14px; font-weight: 500; color: var(--spice); }
.modal-addon-price { font-size: 13px; font-weight: 700; color: var(--maroon); }

.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-option { border: 2px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; transition: all .2s; text-align: center; }
.type-option:hover { border-color: var(--maroon); }
.type-option.selected { border-color: var(--maroon); background: rgba(75,100,82,.05); }
.type-option-icon { font-size: 28px; margin-bottom: 6px; }
.type-option-label { font-weight: 700; font-size: 14px; }
.type-option-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
/* Order summary sticky card */
.order-summary-card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: 24px; position: sticky; top: calc(var(--nav-h) + 20px); }
.summary-title { font-family: var(--font-d); font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.summary-item { display: flex; gap: 10px; margin-bottom: 14px; }
.summary-item-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--border); flex-shrink: 0; }
.summary-item-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.summary-item-qty { font-size: 12px; color: var(--muted); }
.summary-item-price { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--maroon); flex-shrink: 0; }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.summary-row.total { font-weight: 800; font-size: 18px; padding-top: 10px; color: var(--spice); }
.summary-row.total .saffron { color: var(--maroon); font-family: var(--font-d); font-size: 22px; }
.pay-note { background: var(--cream); border-radius: 10px; padding: 12px; margin: 16px 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }

/* ── CONFIRMATION PAGE ─────────────────────────────────────────────────────── */
.confirm-wrap { max-width: 520px; margin: 0 auto; padding: 60px 20px 80px; text-align: center; }
.confirm-icon { font-size: 72px; margin-bottom: 20px; animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { from{transform:scale(0)} to{transform:scale(1)} }
.confirm-title { font-family: var(--font-d); font-size: 42px; font-weight: 700; margin-bottom: 10px; }
.confirm-sub { color: var(--muted); font-size: 16px; margin-bottom: 32px; line-height: 1.6; }
.confirm-card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: 24px; text-align: left; margin-bottom: 24px; }
.confirm-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.confirm-row:last-child { border-bottom: none; }
.confirm-row strong { font-weight: 700; }

/* ── ORDER TRACKING ────────────────────────────────────────────────────────── */
.tracking-wrap { max-width: 560px; margin: 0 auto; padding: 40px 20px 80px; }
.tracking-status-card {
  background: linear-gradient(135deg, var(--pepper), var(--spice-mid));
  border-radius: 20px; padding: 32px; text-align: center; color: #fff; margin-bottom: 28px;
}
.tracking-status-emoji { font-size: 52px; margin-bottom: 12px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.tracking-status-title { font-family: var(--font-d); font-size: 34px; font-weight: 700; }
.tracking-status-sub { color: rgba(255,255,255,.65); margin-top: 6px; font-size: 15px; }
.tracking-eta { background: rgba(180,143,88,.2); border: 1px solid rgba(180,143,88,.4); border-radius: 99px; padding: 8px 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 14px; font-weight: 600; margin-top: 14px; }
.steps { position: relative; padding: 8px 0; }
.step { display: flex; gap: 16px; padding-bottom: 28px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step-line { position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--border); }
.step.done .step-line { background: var(--maroon); }
.step-dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; z-index: 1; transition: all .4s; }
.step.done .step-dot { background: var(--maroon); border-color: var(--maroon); animation: stepPop .4s cubic-bezier(.34,1.56,.64,1); }
.step.current .step-dot { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(75,100,82,.2); }
@keyframes stepPop { from{transform:scale(0.7)} to{transform:scale(1)} }
.step-info { padding-top: 8px; }
.step-title { font-weight: 700; font-size: 15px; }
.step-desc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.step.pending .step-title, .step.pending .step-desc { color: var(--muted); }

/* ── ORDERS HISTORY ────────────────────────────────────────────────────────── */
.history-wrap { max-width: 680px; margin: 0 auto; padding: 40px 20px 80px; }
.history-card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: 20px; margin-bottom: 14px; cursor: pointer; transition: all .2s; }
.history-card:hover { box-shadow: var(--shadow); border-color: var(--maroon); }
.history-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.history-order-id { font-family: monospace; font-size: 13px; color: var(--muted); }
.history-status { padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.status-received  { background: #DBEAFE; color: #1D4ED8; }
.status-preparing { background: #FEF3C7; color: #92400E; }
.status-ready     { background: #DCFCE7; color: #15803D; }
.status-completed { background: #F3E8FF; color: #6D28D9; }
.status-cancelled { background: #FEE2E2; color: #B91C1C; }

/* ── TOAST ─────────────────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--spice); color: #fff; border-radius: 99px;
  padding: 12px 22px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  transform: translateY(60px) scale(.9); opacity: 0;
  transition: all .4s cubic-bezier(.34,1.56,.64,1); pointer-events: none;
}
.toast.show { transform: translateY(0) scale(1); opacity: 1; }
.toast.success { background: #15803D; }
.toast.error   { background: #B91C1C; }

/* ── PAGE HEADER ───────────────────────────────────────────────────────────── */
.page-header { padding: 36px clamp(16px, 5vw, 80px) 0; margin-bottom: 4px; }
.page-header h2 { font-family: var(--font-d); font-size: 40px; font-weight: 700; }
.page-header p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); text-decoration: none; cursor: pointer; }
.breadcrumb a:hover { color: var(--maroon); }

/* ── ANIMATIONS ────────────────────────────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.animate-in { animation: fadeUp .5s ease both; }

.menu-closed-banner {
  background: linear-gradient(135deg, rgba(192,57,43,.12), rgba(192,57,43,.06));
  border: 1px solid rgba(192,57,43,.25);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rose);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── MOBILE AUTH (inside nav dropdown) ─────────────────────────────────────── */
.nav-mobile-auth { display: none; }
.nav-mobile-auth-divider { height: 1px; background: var(--border); margin: 8px 4px; }
.nav-mobile-user-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--cream); border-radius: 10px;
}
.nav-mobile-user-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.nav-mobile-user-text span:first-child { font-weight: 600; font-size: 14px; color: var(--spice); }
.nav-mobile-user-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }

/* ── HAMBURGER ──────────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background .2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--border); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--spice);
  border-radius: 2px;
  transition: all .3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */

/* Large tablet / small desktop: ≤1024px */
@media(max-width:1024px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
}

/* Tablet: ≤900px */
@media(max-width:900px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-sidebar { display: none; }
  .cart-panel { width: 100%; max-width: 420px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Large phones / tablet portrait: ≤768px — hamburger nav */
@media(max-width:768px) {
  .hero-lead { font-size: 16px; }
  .page-header { padding: 24px clamp(12px, 4vw, 32px) 0; }
  .page-header h2 { font-size: 30px; }
  .menu-main { padding: 20px clamp(12px, 3vw, 24px); }
}

/* Phones: ≤600px */
@media(max-width:600px) {
  .items-grid { grid-template-columns: 1fr; }
  .featured-img { display: none; }
  .featured-name { font-size: 22px; }
  .featured-banner { padding: 20px; }
  .featured-banner > div { max-width: 100%; }
  .cart-panel { max-width: 100%; }
  .cart-label { display: none; }
  .cart-btn { padding: 10px 14px; }
  .modal-name { font-size: 26px; }
  .modal-price { font-size: 22px; }
  .modal-img { height: 220px; }
  .tracking-status-title { font-size: 26px; }
  .confirm-title { font-size: 30px; }
  .history-card-top { flex-direction: column; gap: 6px; }
  .summary-row.total .saffron { font-size: 18px; }
  .checkout-wrap { padding: 24px clamp(12px, 4vw, 24px) 60px; }
}

/* Small phones: ≤480px */
@media(max-width:480px) {
  .cart-header h2 { font-size: 20px; }
  .menu-topbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: 100%; }
  .checkout-card-body { padding: 16px; }
  .auth-card { padding: 24px; }
  .modal-sheet { border-radius: 20px 20px 0 0; }
  .modal-body { padding: 16px; }
  .modal-footer { padding: 14px 16px; gap: 12px; }
  .type-toggle { grid-template-columns: 1fr 1fr; }
  .type-option { padding: 12px 8px; }
  .tracking-wrap, .history-wrap, .confirm-wrap { padding: 24px 16px 60px; }
}

/* Very small phones: ≤375px */
@media(max-width:375px) {
  .hero h1 { font-size: 40px; }
  .items-grid { gap: 12px; }
  .item-card-body { padding: 12px; }
  .stepper-btn { width: 28px; height: 28px; font-size: 16px; }
}

/* ── AUTH MODAL ─────────────────────────────────────────────────────────────── */
.auth-overlay { position:fixed;inset:0;background:rgba(34,39,43,.6);backdrop-filter:blur(8px);z-index:1000;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .3s; }
.auth-overlay.open { opacity:1;pointer-events:all; }
.auth-card { background:var(--card);border-radius:20px;padding:36px;width:100%;max-width:420px;box-shadow:var(--shadow-lg);position:relative;margin:16px; }
.auth-tabs { display:flex;border-bottom:1px solid var(--border);margin-bottom:24px; }
.auth-tab { flex:1;text-align:center;padding:12px;font-size:15px;font-weight:600;cursor:pointer;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;transition:all .2s; }
.auth-tab.active { color:var(--maroon);border-bottom-color:var(--maroon); }
.auth-close { position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;background:var(--cream);border:none;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center; }
.auth-err { color:var(--rose);font-size:13px;margin-top:6px;min-height:18px; }
.nav-user-avatar { width:30px;height:30px;border-radius:50%;background:var(--maroon);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0; }


/* ═══════════════════════════════════════════════════════════════════════════
   TEMPLE LAYOUT  (at-a-glance card, welcome, visit band, gallery, inner pages, footer)
   ═══════════════════════════════════════════════════════════════════════════ */
[lang="ml"] { font-family: var(--font-ml); }
.muted { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--sage-700);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
}
.text-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.time-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15px;
}
.time-row span { color: var(--muted); }
.time-row small { font-size: 12px; margin-left: 6px; }
.time-row strong { font-weight: 600; white-space: nowrap; }
.contact-row { margin-bottom: 14px; font-size: 15px; }
.contact-row small {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.contact-row a { color: var(--spice); font-weight: 600; text-decoration: none; }
.contact-row a:hover { color: var(--maroon); }

/* Generic home sections */
.section { padding: 88px clamp(16px, 5vw, 80px); }
.section.alt { background: var(--paper-2); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-family: var(--font-d); font-size: clamp(36px, 27px + 2.2vw, 54px); font-weight: 500; margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.left { text-align: left; margin-bottom: 0; }

/* Buttons used over photos */
.btn-gold { background: var(--brass-300); color: var(--ink); border-color: var(--brass-300); }
.btn-gold:hover { background: #e6d2aa; border-color: #e6d2aa; color: var(--ink); box-shadow: 0 10px 26px -12px rgba(215,189,140,.7); }
.btn-glass { background: transparent; color: var(--paper); border-color: rgba(246,242,234,.32); }
.btn-glass:hover { background: rgba(246,242,234,.1); border-color: var(--paper); color: #fff; }

.eyebrow, .kicker, .off-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-700); margin-bottom: 16px;
}
.eyebrow::before, .kicker::before, .off-eyebrow::before {
  content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7;
}
.kicker.light { color: var(--brass-300); }
.text-link.light { color: var(--brass-300); }
.text-link.light:hover { color: #fff; }

/* At a glance — white card overlapping the hero: quick links, temple day, office */
.glance-wrap { position: relative; z-index: 3; padding: 0 clamp(16px, 5vw, 80px) 48px; }
.glance {
  max-width: 1200px; margin: 0 auto; background: var(--card); border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 44px 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.glance-col { padding: 0 44px; display: flex; flex-direction: column; }
.glance-col + .glance-col { border-left: 1px solid var(--border); }
.glance-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-700);
}
.glance-label svg, .glance-icon svg {
  width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--sage-100); flex-shrink: 0;
  fill: none; stroke: var(--sage-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.glance-col h3 { font-family: var(--font-d); font-size: 28px; font-weight: 500; margin-bottom: 20px; }
.glance-col h3.glance-title { display: flex; align-items: center; gap: 14px; font-size: 26px; margin-bottom: 22px; }
.glance-icon { display: inline-flex; }
.glance-intro { color: var(--spice-mid); font-size: 15px; line-height: 1.7; margin-bottom: 22px; white-space: pre-line; }
.glance-links { display: grid; gap: 10px; margin-top: auto; }
.glance-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600;
  color: var(--kumkum); background: transparent; border: 1.5px solid rgba(155,28,32,.4);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.glance-links a:first-child { background: var(--kumkum); color: #fff; border-color: var(--kumkum); }
.glance-links a:hover { background: var(--kumkum-700); border-color: var(--kumkum-700); color: #fff; transform: translateY(-1px); }
.glance-times { display: grid; gap: 18px; margin-bottom: 20px; }
.glance-time { position: relative; padding-left: 22px; border-left: 1.5px solid var(--line-2); }
.glance-time::before {
  content: ''; position: absolute; left: -5px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.glance-time:first-child::before { background: var(--sage-600); }
.glance-time small {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.glance-time small span { letter-spacing: 0; text-transform: none; font-weight: 400; margin-left: 4px; }
.glance-time strong { font-family: var(--font-d); font-size: 24px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.glance .text-link { margin-top: auto; }

/* Welcome: offset-framed photo + numbered paths */
.welcome {
  max-width: 1100px; margin: 0 auto; padding: 96px clamp(16px, 5vw, 40px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center;
}
.welcome-photo { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.welcome-photo::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none; z-index: 1;
  border: 1px solid rgba(246,242,234,.45); border-radius: calc(var(--r) - 8px);
}
.welcome-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.welcome-text h2 { font-family: var(--font-d); font-size: clamp(36px, 27px + 2.2vw, 54px); font-weight: 500; line-height: 1.15; margin-bottom: 14px; }
.welcome-text > p { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 26px; }
.path-list { list-style: none; border-top: 1px solid var(--border); }
.path-list a {
  display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--border);
  color: var(--spice); text-decoration: none; transition: padding .2s, background .2s;
}
.path-list a:hover { padding-left: 12px; background: linear-gradient(90deg, var(--sage-50), transparent); }
.path-num { font-family: var(--font-d); font-size: 24px; font-weight: 500; color: var(--brass); width: 34px; flex-shrink: 0; }
.path-body { flex: 1; min-width: 0; }
.path-body strong { display: block; font-family: var(--font-d); font-size: 24px; font-weight: 600; line-height: 1.2; }
.path-body small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.path-arrow { color: var(--ink); font-size: 18px; transition: transform .2s; }
.path-list a:hover .path-arrow { transform: translateX(4px); }

/* Visit band */
.visit-band {
  position: relative; color: #fff; padding: 88px clamp(16px, 5vw, 80px);
  background: linear-gradient(90deg, rgba(34,39,43,.92) 0%, rgba(34,39,43,.75) 55%, rgba(34,39,43,.45) 100%),
    url('../img/kerala-fields.jpg') center/cover no-repeat;
}
.visit-inner { max-width: 1100px; margin: 0 auto; }
.visit-copy h2 { color: var(--paper); font-family: var(--font-d); font-size: clamp(34px, 26px + 1.8vw, 48px); font-weight: 500; margin-bottom: 12px; }
.visit-copy p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.8); margin-bottom: 24px; max-width: 460px; }

/* Home photo mosaic */
.mosaic-head { max-width: 1100px; margin: 0 auto 36px; text-align: center; }
.mosaic-head h2 { font-family: var(--font-d); font-size: clamp(36px, 27px + 2.2vw, 54px); font-weight: 500; }
.mosaic {
  max-width: 1100px; margin: 0 auto; display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px;
}
.mosaic .gallery-tile { width: auto; aspect-ratio: auto; border-radius: var(--r); box-shadow: none; }
.mosaic .gallery-tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-foot { text-align: center; margin-top: 26px; }

/* Section divider: brass hairlines fading out from a small lotus */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  max-width: 560px; margin: 0 auto; padding: 44px 24px; color: var(--brass);
}
.divider span { position: relative; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.divider span:last-child { background: linear-gradient(90deg, currentColor, transparent); }
.divider span::after {
  content: ''; position: absolute; top: -3.5px; width: 7px; height: 7px; transform: rotate(45deg);
  border: 1px solid currentColor; background: var(--paper);
}
.divider span:first-child::after { right: -3px; }
.divider span:last-child::after { left: -3px; }
.divider svg {
  width: 52px; height: 30px; flex-shrink: 0; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.lotus-fill { fill: rgba(180,143,88,.16); } /* lives in the shared SVG sprite, so it is targeted directly */
.hero + .divider { margin-top: -32px; }
.divider + .welcome, .divider + .section { padding-top: 40px; }
.divider + .glance-wrap { padding-top: 0; }
@media(max-width:600px) { .divider { padding: 32px 16px; } }

/* Gallery */
.gallery-tile {
  overflow: hidden; cursor: zoom-in; position: relative; background: var(--paper-2); border-radius: var(--r); margin: 0;
  box-shadow: var(--shadow-sm);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; font-size: 13px; color: #fff;
  background: linear-gradient(transparent, rgba(34,39,43,.85));
}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-grid .gallery-tile { aspect-ratio: 4/3; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2100; background: rgba(24,28,31,.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: 1100px; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 12px; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 18px;
}

/* Inner page banner + body */
.page-banner {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(215,120,60,.22), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(180,143,88,.18), transparent 60%),
    linear-gradient(160deg, var(--kumkum) 0%, var(--kumkum-900) 100%);
  padding: 40px;
  /* Same size on every page: fixed height, title kept to one line, description to two */
  height: 270px; display: flex; align-items: center;
}
/* Devanagari Om (ॐ) watermark on the right. It is the glyph outline from Noto Serif Devanagari
   (SIL Open Font License), cropped to its bounds so it centres exactly; a text glyph would sit high
   because of the font's line spacing. */
.page-banner::after {
  content: ''; position: absolute; right: clamp(16px, 6vw, 96px); top: 50%; transform: translateY(-50%);
  height: clamp(96px, 60px + 5vw, 150px); aspect-ratio: 827 / 838; opacity: .22; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2249 -838 827 838%22%3E%3Cpath transform=%22scale%281,-1%29%22 fill=%22%23b48f58%22 d=%22M720 102Q687 102 654.0 119.0Q621 136 592.5 162.5Q564 189 545 216L578 245Q602 220 630.0 200.5Q658 181 693 181Q723 181 743.5 195.5Q764 210 776.0 233.5Q788 257 793.0 283.5Q798 310 798 335Q798 368 790.5 397.0Q783 426 767.0 444.5Q751 463 726 463Q706 463 690.0 448.5Q674 434 659.5 411.0Q645 388 630.0 363.0Q615 338 597.0 315.5Q579 293 555.0 278.5Q531 264 498 264Q455 264 427.5 282.5Q400 301 372 333L380 344Q391 339 406.0 333.5Q421 328 437 328Q473 328 497.0 343.0Q521 358 538.5 381.0Q556 404 571.0 431.0Q586 458 601.5 481.5Q617 505 639.0 520.0Q661 535 693 535Q727 535 754.5 519.5Q782 504 806 477Q838 443 857.0 399.0Q876 355 876 295Q876 248 859.5 203.5Q843 159 808.5 130.5Q774 102 720 102ZM338 0Q272 0 217.0 40.0Q162 80 120.0 148.5Q78 217 49 300L99 321Q124 251 155.5 199.0Q187 147 225.0 118.0Q263 89 308 89Q365 89 391.5 118.5Q418 148 418 190Q418 226 400.5 259.0Q383 292 351 315L388 329Q402 319 414.0 308.0Q426 297 435 286Q466 257 481.5 219.5Q497 182 497 148Q497 102 476.0 68.5Q455 35 419.5 17.5Q384 0 338 0ZM288 271 242 353Q331 380 370.0 416.5Q409 453 409 487Q409 517 389.5 529.0Q370 541 342 541Q312 541 277.5 530.5Q243 520 213 504L167 592Q204 610 239.5 619.0Q275 628 308 628Q342 628 373.0 612.5Q404 597 433 563Q454 540 465.5 510.5Q477 481 477 451Q477 390 432.0 348.0Q387 306 288 271ZM586 615Q540 615 498.5 636.5Q457 658 426.5 698.0Q396 738 381 792L426 809Q446 753 481.5 720.5Q517 688 574 688Q625 688 658.0 719.0Q691 750 704 819L785 797Q774 738 746.0 697.0Q718 656 677.5 635.5Q637 615 586 615ZM571 739Q550 739 537.0 750.0Q524 761 524 788Q524 816 537.0 827.0Q550 838 571 838Q591 838 604.0 827.0Q617 816 617 788Q617 761 604.0 750.0Q591 739 571 739Z%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-banner-inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; }
.page-banner h1 { color: var(--paper); font-size: clamp(36px, 24px + 3vw, 64px); font-weight: 500; line-height: 1.1; margin-bottom: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-banner p { max-width: 36rem; font-size: 18px; line-height: 1.6; color: rgba(246,242,234,.8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.page-body { max-width: 960px; margin: 0 auto; padding: 64px clamp(16px, 5vw, 40px) 88px; }
.page-body.wide { max-width: 1200px; }
.content-block { margin-bottom: 56px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.content-block h2 { font-family: var(--font-d); font-size: clamp(32px, 24px + 1.8vw, 42px); font-weight: 500; margin-bottom: 14px; }
.content-block h3 { font-size: 24px; margin-bottom: 10px; }
.content-block p { color: var(--spice-mid); font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.content-block ul { padding-left: 20px; color: var(--spice-mid); line-height: 1.9; }
.content-block .note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.info-card h3 { font-family: var(--font-d); font-size: 26px; font-weight: 500; margin-bottom: 10px; }
.info-card p { margin-bottom: 0; }
.info-card a { color: var(--maroon); font-weight: 600; text-decoration: none; }
.info-card .btn { margin-top: 14px; }

/* Photo card on the left, text on the right (About sections, deities) */
.feature-row { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; }
.feature-row.no-photo { grid-template-columns: minmax(0, 1fr); }
.feature-card {
  margin: 0; border-radius: var(--r); overflow: hidden; background: var(--card);
  padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.feature-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }
.feature-text > :last-child { margin-bottom: 0; }
#deityList { max-width: 1060px; }
@media(max-width:760px) {
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .feature-card, .feature-row .deity-card, .feature-row .welcome-photo { max-width: 380px; width: 100%; margin: 0 auto; }
}

/* Presiding deities */
.deity-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 60%, #14181b 100%);
  color: #fff; padding: 42px 32px 36px; text-align: center; box-shadow: var(--shadow-lg);
}
.deity-card::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(215,189,140,.25);
  border-radius: 14px; pointer-events: none;
}
.deity-emblem {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(215,189,140,.45);
}
.deity-emblem svg { width: 40px; height: 40px; fill: none; stroke: var(--brass-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deity-ml { font-family: var(--font-ml); color: var(--brass-300); font-size: 15px; margin-bottom: 4px; }
.deity-name { font-family: var(--font-d); font-size: 30px; margin-bottom: 4px; }
.deity-ml-line { font-family: var(--font-ml); color: var(--brass-700); font-size: 17px; margin: -6px 0 16px; }

/* Devi stuti verse band */
.stuti {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(180,143,88,.22), transparent 70%), var(--pepper);
  color: #fff; padding: 72px clamp(16px, 6vw, 80px);
}
.stuti-mandala {
  position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  fill: none; stroke: var(--brass-300); stroke-width: .5; opacity: .1; pointer-events: none;
}
.stuti-inner { position: relative; max-width: 760px; margin: 0 auto; }
.stuti-om { font-size: 44px; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.stuti-verse { font-family: var(--font-ml); font-size: clamp(18px, 2.6vw, 24px); line-height: 1.9; color: var(--brass-300); margin-bottom: 18px; }
.stuti-translit { font-family: var(--font-d); font-style: italic; font-size: clamp(16px, 2.1vw, 20px); color: rgba(255,255,255,.75); line-height: 1.6; margin-bottom: 18px; }
.stuti-meaning { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 600px; margin: 0 auto; font-weight: 300; }
.stuti-source { margin-top: 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(180,143,88,.8); }

/* Announcements */
.announce-item {
  background: var(--card); border-left: 4px solid var(--maroon); border-radius: var(--r-sm);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.confirm-blessing { font-family: var(--font-d); font-style: italic; font-size: 20px; color: var(--maroon); margin: -18px 0 28px; }

/* Announcement popup */
.popup-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(34,39,43,.45); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 16px;
}
.popup-card {
  position: relative; width: 100%; max-width: 440px; background: var(--card); border-radius: 20px;
  overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.3); animation: fadeUp .35s both;
}
.popup-card img { width: 100%; max-height: 260px; object-fit: cover; }
.popup-head {
  padding: 30px 26px 22px; color: #fff;
  background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(142,165,143,.55), transparent 60%), var(--maroon-d);
}
.popup-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass-300); margin-bottom: 8px;
}
.popup-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-300); }
#popupTitle { font-family: var(--font-d); font-size: 28px; line-height: 1.2; }
.popup-body { padding: 22px 26px 24px; }
#popupBody { font-size: 15px; color: var(--spice-mid); line-height: 1.7; margin-bottom: 20px; white-space: pre-line; }
.popup-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.popup-actions .btn { justify-content: center; }
.popup-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; font-size: 15px;
}

/* Site search */
.search-overlay {
  position: fixed; inset: 0; z-index: 1500; background: rgba(34,39,43,.5); backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px;
}
.search-overlay.open { display: flex; }
.search-box { width: 100%; max-width: 640px; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--border); color: var(--muted); }
.search-input-row input { flex: 1; border: none; font-size: 17px; padding: 8px 0; color: var(--spice); background: transparent; min-width: 0; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-group { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 14px 6px; }
.search-result {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 11px 14px; border-radius: 10px; cursor: pointer; text-align: left; background: none; font-size: 15px; color: var(--spice);
}
.search-result:hover, .search-result:focus { background: var(--red-50); color: var(--maroon); }
.search-result small { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.search-empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(246,242,234,.7); margin-top: auto; }
.footer-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.footer-logo { height: 64px; width: auto; margin: 0 auto 14px; }
.footer-name { font-family: var(--font-d); font-size: 32px; font-weight: 500; color: var(--paper); margin-bottom: 6px; }
.footer-address { font-size: 14px; line-height: 1.7; }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px;
  margin: 28px 0 22px; padding: 16px 0; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
}
.footer-nav a { padding: 4px 2px; font-size: 14.5px; color: rgba(246,242,234,.8); text-decoration: none; transition: color .2s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-reach { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 14px; }
.footer-reach a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-reach a:hover { color: var(--brass-300); }
.footer-bottom {
  max-width: 960px; margin: 0 auto; padding: 0 0 18px;
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: rgba(246,242,234,.45);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(246,242,234,.55); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ── LAYOUT RESPONSIVE ─────────────────────────────────────────────────────── */
@media(max-width:1100px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; z-index: 498;
    box-shadow: 0 12px 28px rgba(34,39,43,.14);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 14px; border-radius: 10px; font-size: 16px; width: 100%; }
  .nav-link::after { display: none; }
  .nav-link.active { background: var(--red-50); }
  .nav-dd-btn { pointer-events: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; padding-top: 16px; background: none !important; }
  .nav-dd-btn svg { display: none; }
  .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 4px; min-width: 0; }
  .nav-dd-menu::before { display: none; }
  .nav-dd-item { font-size: 15px; padding: 10px 14px 10px 24px; }
  #navAuthBtn, #navUserInfo { display: none !important; }
  .nav-mobile-auth { display: block; width: 100%; }
  .cart-panel { top: var(--nav-h); }
}
@media(max-width:900px) {
  .welcome { grid-template-columns: minmax(0, 1fr); padding-top: 64px; padding-bottom: 64px; }
  .welcome-photo { max-width: 420px; }
  .glance { grid-template-columns: minmax(0, 1fr); padding: 8px 0; }
  .glance-col { padding: 28px 26px; }
  .glance-col + .glance-col { border-left: none; border-top: 1px solid var(--border); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

@media(max-width:600px) {
  :root { --nav-h: 64px; }
  .nav-logo { font-size: 18px; }
  .section { padding: 64px 16px; }
  .visit-band { padding: 64px 16px; }
  .page-banner { height: 230px; }
  .page-banner h1 { font-size: 34px; }
  .page-banner p { font-size: 16px; }
  .page-banner::after { opacity: .14; }
  .page-body { padding: 44px 16px 64px; }
  .deity-card { padding: 34px 22px 28px; }
  .popup-actions { grid-template-columns: 1fr; }
}

/* ── OFFERINGS LIST (rates & timings) ──────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.off-intro-wrap { background: var(--paper-2); padding: 64px clamp(16px, 5vw, 80px) 40px; }
.off-intro { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.off-title { font-family: var(--font-d); font-size: clamp(42px, 30px + 2.8vw, 62px); font-weight: 500; line-height: 1.1; margin-top: 10px; }
.off-rule { width: 64px; height: 2px; background: var(--maroon); opacity: .5; margin: 22px 0; }
.off-lead { font-size: 18px; color: var(--spice-mid); line-height: 1.7; max-width: 520px; margin-bottom: 20px; }
.off-count-pill {
  display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 99px;
  padding: 6px 16px; font-size: 13px; color: var(--spice-mid); box-shadow: var(--shadow-sm);
}
.off-book-card {
  position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm);
}
.off-book-card::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(142,165,143,.12), transparent 70%); pointer-events: none;
}
.off-book-card h3 { position: relative; font-family: var(--font-d); font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.off-book-card p { position: relative; font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.off-book-btn { position: relative; width: 100%; height: 48px; justify-content: center; border-radius: 12px; margin-top: 10px; text-decoration: none; }

.off-list-wrap { background: var(--paper-2); padding: 0 clamp(16px, 5vw, 80px) 88px; }
.off-list-wrap > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.off-search {
  display: flex; align-items: center; gap: 12px; background: var(--card); color: var(--muted);
  border: 1.5px solid var(--border); border-radius: 14px; padding: 16px 20px;
  transition: border-color .2s, box-shadow .2s; cursor: text;
}
.off-search:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(75,100,82,.12); }
.off-search input { flex: 1; min-width: 0; border: none; background: transparent; font-size: 18px; color: var(--spice); }
.off-jump { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.off-jump-label { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.off-jump-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.off-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px;
  background: transparent; border: 1px solid var(--line-2); font-size: 14px; color: var(--spice); white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.off-chip span { background: var(--paper-2); color: var(--spice-mid); border-radius: 99px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.off-chip:hover { border-color: var(--ink); color: var(--ink); }
.off-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.book-pill {
  display: inline-flex; align-items: center; border-radius: 99px; padding: 3px 11px;
  font-size: 12px; font-weight: 600; white-space: nowrap; margin-right: 4px;
}
.book-pill.online { background: var(--red-50); color: var(--maroon); border: 1px solid var(--sage-100); }
button.book-pill.online { cursor: pointer; transition: background .15s, color .15s; }
button.book-pill.online:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.book-pill.contact { background: var(--card); color: var(--spice-mid); border: 1px solid var(--line); }
button.book-pill.contact { cursor: pointer; transition: background .15s, color .15s; }
button.book-pill.contact:hover { background: var(--spice); color: #fff; border-color: var(--spice); }

.off-section { margin-top: 44px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.off-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.off-section-head h3 { font-family: var(--font-d); font-size: 32px; font-weight: 500; }
.off-section-head span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.off-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.off-row {
  display: grid; grid-template-columns: minmax(0, 2.4fr) 90px minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.3fr);
  gap: 20px; padding: 18px 24px; border-top: 1px solid var(--border); align-items: start;
}
.off-row:first-child { border-top: none; }
.off-row:not(.off-head):hover { background: var(--card); }
.off-head {
  background: var(--paper); padding: 12px 24px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.off-name h4 { font-family: var(--font-d); font-size: 23px; font-weight: 600; line-height: 1.2; }
.off-ml { font-size: 13px; color: var(--brass-700); margin-top: 2px; }
.off-name p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.off-cell { font-size: 15px; color: var(--spice); }
.off-cell small { display: block; font-size: 13px; color: var(--muted); }
.off-rate { text-align: right; }
.off-cell.off-rate { font-family: var(--font-d); font-size: 24px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.off-book { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.off-label { display: none; }
.off-empty { margin-top: 32px; padding: 48px 16px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--border); border-radius: 18px; }

@media(max-width:900px) {
  .off-intro { grid-template-columns: 1fr; gap: 28px; }
  .off-intro-wrap { padding-top: 44px; }
  .off-jump { align-items: flex-start; flex-direction: column; gap: 8px; }
  .off-jump-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .off-head { display: none; }
  .off-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; padding: 18px; }
  .off-name, .off-book { grid-column: 1 / -1; }
  .off-rate { text-align: left; }
  .off-label {
    display: block; font-family: var(--font-b); font-size: 10px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
  }
  .off-book { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .off-book .off-label { width: 100%; }
}
