/* ==========================================================
   Subham Asthu — premium heritage theme (Phase 1–3 UI upgrade)
   Mobile-first. Bottom nav < 768px, sticky top nav + wide grid >= 768px.
   ========================================================== */

/* Palette: Royal Maroon / Antique Gold / Ivory Cream / Deep Brown */
:root {
  --maroon: #741C20;
  --maroon-deep: #4F1215;
  --cream: #FFF9EF;
  --parchment: #F6EBD6;
  --white: #FFFFFF;
  --gold: #C49A39;
  --gold-soft: rgba(196, 154, 57, 0.45);
  --ink: #542D29;
  --muted: #7A5A55;
  --radius: 12px;
  --nav-h: 64px;
  --font-head-ta: "Noto Serif Tamil", serif;
  --font-body-ta: "Hind Madurai", "Noto Sans Tamil", sans-serif;
  --font-en: "Plus Jakarta Sans", "Noto Sans Tamil", sans-serif;
  --shadow-card: 0 6px 20px rgba(116, 28, 32, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body-ta);
  font-size: 16.5px;
  line-height: 1.7;
  /* keep content clear of the mobile bottom bar */
  padding-bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px));
}

html[data-lang="en"] body { font-family: var(--font-en); line-height: 1.7; }

h1, h2, h3 {
  font-family: var(--font-head-ta);
  color: var(--maroon);
  line-height: 1.35;
  margin: 0 0 0.6em;
}
html[data-lang="en"] h1,
html[data-lang="en"] h2,
html[data-lang="en"] h3 { font-family: var(--font-en); }

h1 { font-size: 2rem; font-weight: 700; }
h2 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.6em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid var(--gold-soft);
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.6em; }

a { color: var(--maroon); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Language switching: only one language's copy is shown at a time */
html:not([data-lang="en"]) .en,
html[data-lang="en"] .ta { display: none !important; }

/* Layout */
.wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }

/* ---------- Header: one compact row ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 2px 10px rgba(116, 28, 32, 0.07);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 6px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--maroon);
  text-decoration: none;
}
/* .site-header prefix outranks the later .lamp rule in admin.css (56px, cover) */
.site-header .lamp { width: 48px; height: 48px; flex: none; object-fit: contain; border-radius: 50%; border: 1.5px solid #C49A39; background: var(--white); box-shadow: none; }
.brand-name {
  font-family: var(--font-head-ta);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
html[data-lang="en"] .brand-name { font-family: var(--font-en); font-size: 1.25rem; }

/* Language toggle: தமிழ் | EN */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  flex: none;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-toggle button {
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  min-height: 44px;
  min-width: 64px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--maroon);
  cursor: pointer;
}
.lang-toggle button.is-active { background: var(--maroon); color: var(--white); }
.lang-toggle .sep { color: var(--gold); font-weight: 700; }

/* ---------- Top navigation (desktop only; lives in the header row) ---------- */
.site-nav { display: none; }
.nav-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.nav-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-body-ta);
  white-space: nowrap;
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-inner a:hover { background: rgba(196, 154, 57, 0.16); }
.nav-inner a[aria-current="page"] { background: rgba(116, 28, 32, 0.08); color: var(--maroon); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.nav-inner a[data-nav="login"] { border: 1.5px solid var(--gold); color: var(--maroon); font-weight: 600; margin-left: 4px; }

/* ---------- Bottom navigation (mobile app bar) ---------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--gold);
  box-shadow: 0 -4px 14px rgba(116, 28, 32, 0.1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--nav-h);
  padding: 6px 2px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav a[aria-current="page"] { color: var(--maroon); }
.bottom-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 22%;
  right: 22%;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.bottom-nav a[aria-current="page"] svg { stroke: var(--maroon); fill: rgba(197, 155, 39, 0.25); }

/* ---------- Main + cards ---------- */
main { flex: 1; padding: 28px 0 40px; }
.page > * + * { margin-top: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 4vw, 36px);
}
.card h1:first-child { margin-top: 0; }

/* ---------- Home ---------- */
.home-section { padding-top: 12px; }
.section-title { margin-top: 0; font-size: 1.45rem; }
.page[data-page="home"] .section-title { border-bottom: 0; padding-bottom: 0; margin-bottom: 18px; }
.page[data-page="home"] .section-title::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 10px; background: var(--gold); border-radius: 2px; }

/* 1. Compact hero */
.hero {
  padding: clamp(22px, 3.2vw, 34px) clamp(20px, 4vw, 40px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 0%, rgba(196, 154, 57, 0.28), transparent 50%),
    linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  border-bottom: 3px solid var(--gold);
}
.hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-text { max-width: 720px; }
.hero-seal { display: none; flex: none; width: 150px; height: 150px; object-fit: contain; padding: 6px; border-radius: 50%; background: var(--cream); border: 3px solid rgba(196, 154, 57, 0.7); box-shadow: 0 0 0 6px rgba(196, 154, 57, 0.18); }
@media (min-width: 768px) { .hero-seal { display: block; } }
.hero-text h1 { margin-bottom: 0.4em; font-size: clamp(1.6rem, 3.6vw, 2.25rem); color: var(--cream); }
.hero-text p { margin-bottom: 1.1em; color: #F3E3C2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { text-decoration: none; }
.hero .btn-gold { background: var(--gold); color: #3A1E1B; border-color: var(--gold); }
.hero .btn-gold:hover { background: #D4AA49; filter: none; }
.hero .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255, 249, 239, 0.8); }
.hero .btn-ghost:hover { background: rgba(255, 249, 239, 0.12); filter: none; }

/* 2. Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--maroon);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cat-tile svg, .why-card svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cat-tile strong { font-family: var(--font-head-ta); font-size: 1.05rem; line-height: 1.45; }
html[data-lang="en"] .cat-tile strong { font-family: var(--font-en); }
.cat-tile .explore { margin-top: auto; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.cat-tile:hover { border-color: var(--maroon); box-shadow: var(--shadow-card); }

/* 3. Featured poojas */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.feature-card {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  color: var(--maroon);
  text-decoration: none;
}
.feature-card strong { font-family: var(--font-head-ta); font-size: 1.05rem; line-height: 1.5; }
html[data-lang="en"] .feature-card strong { font-family: var(--font-en); }
.feature-card:hover { border-color: var(--maroon); }
.section-more { margin: 16px 0 0; font-weight: 600; }

/* 4. Steps */
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { display: block; margin: 0; padding: 18px 18px 18px 72px; position: relative; background: var(--white); border: 1px solid var(--gold-soft); border-radius: var(--radius); }
.steps strong { display: block; margin-bottom: 4px; color: var(--maroon); font-family: var(--font-head-ta); font-size: 1.1rem; }
html[data-lang="en"] .steps strong { font-family: var(--font-en); }
.step-no { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--maroon); color: var(--cream); font-weight: 700; }

/* 5 + 8. Callout and support bands */
.callout, .support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(20px, 3vw, 30px);
  background: #FCF1DA;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}
.callout h2, .support h2 { margin: 0 0 6px; padding: 0; border: 0; font-size: 1.3rem; }
.callout p, .support p { margin: 0; }
.callout .btn { text-decoration: none; }
.support { background: var(--white); }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.support .btn { text-decoration: none; }

/* 6 + 7. Why / trust cards */
.why-grid, .trust-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.why-card, .trust-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--white); border: 1px solid var(--gold-soft); border-radius: var(--radius); }
.why-card strong, .trust-card strong { color: var(--maroon); font-family: var(--font-head-ta); font-size: 1.1rem; }
html[data-lang="en"] .why-card strong, html[data-lang="en"] .trust-card strong { font-family: var(--font-en); }
.trust-card { border-top: 3px solid var(--gold); }

/* FAQ accordion */
.faq-item {
  margin-bottom: 12px;
  background: linear-gradient(180deg, var(--cream), #FBF1DC);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 16px 18px;
  color: var(--maroon);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item > div { padding: 0 18px 16px; }
.faq-item > div p:last-child { margin-bottom: 0; }

/* Footer: admin-editable text_footer wins; the built-in line shows only until/unless it is empty */
.site-footer [data-setting]:not(:empty) ~ .footer-static { display: none; }
.site-footer {
  background: var(--maroon-deep);
  border-top: 3px solid var(--gold);
  padding: 22px 0;
  color: #F3E3C2;
  font-size: 1rem;
  text-align: center;
}
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: #F3E3C2; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-bottom: 12px !important; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Forms & buttons (Phase 2: account screens) ---------- */
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; margin-bottom: 6px; color: var(--maroon); font-weight: 600; }
.field input, .field select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  font: inherit;
  font-size: 1.15rem;
  color: var(--ink);
  background: #FFFEFB;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  box-shadow: inset 0 2px 4px rgba(122, 28, 28, 0.06);
}
.field input:focus, .field select:focus { outline: 3px solid rgba(197, 155, 39, 0.5); border-color: var(--maroon); }
.field input[name="pin"], .field input[name="pin2"], .field input[name="code"] { letter-spacing: 0.3em; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 160px;
  padding: 10px 24px;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--maroon);
  border: 2px solid var(--maroon);
  border-radius: 999px;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn { text-decoration: none; }
.btn-outline { background: var(--white); color: var(--maroon); border-color: var(--maroon); box-shadow: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab {
  min-height: 48px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 600;
  color: var(--maroon);
  background: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
}
.tab.is-active { background: var(--maroon); color: var(--white); }
.form-msg { min-height: 1.5em; margin: 16px 0 0; font-weight: 600; }
.form-msg.is-error { color: #A11D1D; }
.form-msg.is-ok { color: #2E6B2E; }

/* ---------- Pooja list & detail (Phase 3) ---------- */
.pooja-group { margin-top: 8px; }
.pooja-group > h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}
/* category medallions beside each section heading */
.pooja-group > h2::before {
  content: "";
  flex: none;
  width: 56px;
  height: 56px;
  background: center / contain no-repeat;
  filter: drop-shadow(0 4px 5px rgba(122, 28, 28, 0.25));
}
.cat-daily_monthly > h2::before { background-image: url("../img/cat-daily.svg"); }
.cat-annual_vratam > h2::before { background-image: url("../img/cat-festival.svg"); }
.cat-home_subha_homa > h2::before { background-image: url("../img/cat-homa.svg"); }
.cat-samskara_pitru > h2::before { background-image: url("../img/cat-samskara.svg"); }

.pooja-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pooja-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 56px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #FFFFFF, var(--cream));
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(122, 28, 28, 0.07);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pooja-card:hover { border-color: var(--maroon); transform: translateY(-2px); }
.pooja-card strong { color: var(--maroon); font-family: var(--font-head-ta); font-weight: 700; font-size: 1.1rem; line-height: 1.5; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(197, 155, 39, 0.16);
  border: 1px solid var(--gold-soft);
  color: var(--maroon);
  font-size: 0.95rem;
  font-weight: 600;
}
.back { display: inline-block; margin-bottom: 12px; font-weight: 600; min-height: 44px; }
.check-list { padding-left: 1.4em; }
.mantra {
  margin: 0 0 1em;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, #FBF1DC, var(--cream));
  border-radius: 0 10px 10px 0;
  color: var(--maroon);
  font-family: "Noto Sans Tamil", sans-serif;
  font-size: 1.15rem;
  line-height: 2;
}
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-wide { flex: 1 1 260px; }
.order-form { margin-top: 20px; padding-top: 8px; border-top: 1px dashed rgba(197, 155, 39, 0.6); }
.order-form .btn { margin-top: 4px; }

/* ---------- Partner directory, booking & portal (Phase 4) ---------- */
.filters { display: grid; gap: 0 16px; margin-bottom: 8px; }
.filters .field { margin-bottom: 12px; }
.partner-card .partner-pin { margin: 0; color: var(--muted); font-size: 1rem; }
.partner-card .btn { margin-top: 4px; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 10px; color: var(--ink); cursor: pointer; }
.check-row input { width: 22px; height: 22px; accent-color: var(--maroon); flex: none; }
.check-group { margin: 0 0 18px; padding: 12px 14px; border: 1.5px solid var(--gold); border-radius: 10px; background: #FFFEFB; }
.check-group legend { padding: 0 6px; color: var(--maroon); font-weight: 600; }
.sub-card, .demo-bar {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius);
  background: #FFFBF1;
}
.demo-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.demo-bar .field { margin: 0; min-width: 200px; }
.sub-card h2 { margin-top: 0; }
.sub-card .form-msg { margin-top: 10px; }
.sub-card .btn { margin: 8px 8px 0 0; }
.sub-card .field { max-width: 240px; }
#booking-box form .btn, #portal-box .btn { margin-top: 6px; }
#portal-box .pooja-card .action-row { margin-top: 12px; }
#portal-box .pooja-card .btn { min-width: 0; min-height: 48px; }

@media (min-width: 600px) {
  .filters { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Branded PDF sheet (unchanged): rendered off-screen, one A4 block per page ---------- */
/* Branded PDF sheet: rendered off-screen, one A4 block per page */
.pdf-root { position: fixed; left: -10000px; top: 0; width: 794px; }
.pdf-page {
  position: relative;
  width: 794px;
  height: 1123px;
  padding: 56px 64px;
  overflow: hidden;
  background: #FFFFFF;
  border: 6px solid var(--gold);
  color: var(--ink);
  font-family: "Noto Sans Tamil", "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  line-height: 1.8;
}
.pdf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.pdf-lamp { width: 52px; height: 56px; }
.pdf-brand { font-family: "Hind Madurai", sans-serif; font-size: 2rem; font-weight: 700; color: var(--maroon); }
.pdf-page h1 { font-size: 2rem; }
.pdf-wm {
  position: absolute;
  top: 46%;
  left: -120px;
  width: 1040px;
  text-align: center;
  transform: rotate(-30deg);
  font-size: 34px;
  color: rgba(122, 28, 28, 0.06);
  pointer-events: none;
}
.pdf-foot {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 28px;
  padding-top: 10px;
  border-top: 1px solid var(--gold);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}


/* ---------- Small phones ---------- */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .lang-toggle button { min-width: 56px; padding: 0 10px; }
  .brand-name { font-size: 1.25rem; }
  .pooja-group > h2::before { width: 48px; height: 48px; }
}

/* ---------- Tablet / desktop: sticky top nav, multi-column grid ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .site-nav { display: block; order: 3; flex-basis: 100%; }
  .nav-inner { flex-wrap: nowrap; overflow-x: auto; }
  .wrap { width: min(100% - 64px, 1180px); }
  main { padding: 36px 0 56px; }

  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pooja-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

  /* readable measure for long text and forms */
  .page[data-page="about"] .card,
  .page[data-page="faq"] .card,
  .page[data-page="disclaimers"] .card,
  .page[data-page="pooja"] .card { max-width: 900px; margin-inline: auto; }
  .page[data-page="login"] .card { max-width: 580px; margin-inline: auto; }
  .page[data-page="partner"] .card,
  .page[data-page="bookings"] #booking-box,
  .page[data-page="bookings"] #my-bookings { max-width: 900px; margin-inline: auto; }
}

/* Wide screens: brand, nav and language toggle share one row (nav never overlaps the brand) */
@media (min-width: 1120px) {
  .header-inner { flex-wrap: nowrap; gap: 16px; width: min(100% - 32px, 1320px); }
  .site-nav { order: 0; flex: 0 1 auto; margin-left: auto; min-width: 0; border-left: 1px solid var(--gold-soft); padding-left: 10px; }
  .nav-inner { overflow: visible; }
}

@media (min-width: 1100px) {
  .pooja-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pooja-card, .cat-tile { transition: none; }
}
