/*
Theme Name:  PujaPath
Theme URI:   https://pujapath.in
Author:      PujaPath
Description: Modern Indian devotional booking theme for Hindu pujas, rituals and ceremonies.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: pujapath
Tags:        booking, religious, mobile-first, responsive
*/

/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ─── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --maroon:         #7A2635;
  --maroon-dark:    #541923;
  --maroon-support: #641F2C;
  --maroon-light:   #F2E5E7;
  --maroon-subtle:  #FAF3F4;

  --warm:           #F3F0EA;
  --surface:        #FAF9F6;
  --card:           #FFFFFF;
  --muted-surface:  #EAE6DE;

  --ink:            #272321;
  --ink-secondary:  #625C57;
  --ink-muted:      #8C857E;
  --ink-disabled:   #B5AEA7;

  --border:         #DED8D0;
  --border-light:   #E9E5DF;
  --border-strong:  #C9C1B8;

  --success:        #3F7655;
  --success-bg:     #E7F1EA;
  --warning:        #A66B24;
  --warning-bg:     #F7EEDD;
  --error:          #B43D3D;
  --error-bg:       #F8E7E7;
  --info:           #426B82;
  --info-bg:        #E7EFF3;

  --font-sans: 'Public Sans', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   18px;
  --radius-2xl:  24px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(39,35,33,.04);
  --shadow-md:  0 4px 12px rgba(39,35,33,.07);
  --shadow-lg:  0 12px 32px rgba(39,35,33,.10);
}

/* ─── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--warm);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Typography ───────────────────────────────────────────────────────────── */
.font-serif { font-family: var(--font-serif); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); font-weight: 700; line-height: 1.2; color: var(--ink); }
h1.serif, h2.serif { font-family: var(--font-serif); font-weight: 600; }

/* ─── Layout utilities ─────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-muted { color: var(--ink-muted); }
.text-secondary { color: var(--ink-secondary); }
.text-maroon { color: var(--maroon); }
.text-success { color: var(--success); }

/* ─── Site header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo .logo-mark {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--maroon); display: flex; align-items: center; justify-content: center;
}
.site-logo .logo-mark span { font-family: var(--font-serif); color: #fff; font-weight: 700; font-size: 17px; }
.site-logo .logo-text { font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.3px; }

.main-nav { display: none; }
@media (min-width: 900px) {
  .main-nav { display: flex; align-items: center; gap: 4px; }
  .main-nav a {
    padding: 8px 14px; border-radius: var(--radius-md);
    font-size: 14px; font-weight: 500; color: var(--ink-secondary);
    transition: background .15s, color .15s;
  }
  .main-nav a:hover { background: var(--warm); color: var(--ink); text-decoration: none; }
  .main-nav a.current { color: var(--maroon); font-weight: 600; }
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-book-header {
  display: none;
  background: var(--maroon); color: #fff;
  padding: 8px 18px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  transition: background .15s;
}
@media (min-width: 900px) { .btn-book-header { display: block; } }
.btn-book-header:hover { background: var(--maroon-dark); text-decoration: none; }

.hamburger {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-secondary); transition: background .15s;
}
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger:hover { background: var(--warm); }

/* mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
}
.mobile-nav.open { display: block; }
.mobile-nav-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 280px;
  background: var(--surface); box-shadow: -8px 0 32px rgba(39,35,33,.12);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border-light);
}
.mobile-nav-links { padding: 8px; flex: 1; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background .15s;
}
.mobile-nav-links a:hover { background: var(--warm); text-decoration: none; }
.mobile-nav-divider { height: 1px; background: var(--border-light); margin: 8px 16px; }
.mobile-nav-footer { padding: 16px 20px; border-top: 1px solid var(--border-light); }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; cursor: pointer;
  border-radius: var(--radius-md); transition: background .15s, border-color .15s, color .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-sm  { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-md  { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-lg  { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-full { width: 100%; }

.btn-primary   { background: var(--maroon); color: #fff; border: 2px solid transparent; }
.btn-primary:hover { background: var(--maroon-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--maroon); border: 2px solid var(--maroon); }
.btn-secondary:hover { background: var(--maroon-light); }
.btn-ghost     { background: transparent; color: var(--ink-secondary); border: 2px solid var(--border); }
.btn-ghost:hover { background: var(--warm); border-color: var(--border-strong); }

/* ─── Bottom navigation (mobile) ──────────────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  /* let the FAB float above the bar without clipping */
  overflow: visible;
  background: transparent; /* bar bg is on the inner strip */
}

/* Actual bar strip */
.bottom-nav-items {
  display: flex;
  width: 100%;
  height: 60px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 12px rgba(39,35,33,.08);
  /* iOS home-bar spacing */
  padding-bottom: env(safe-area-inset-bottom, 0);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

@media (max-width: 899px) {
  .bottom-nav { display: block; }
  body         { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

/* Each tab */
.bottom-nav-item {
  flex: 1;
  display: flex !important;   /* override button default */
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 0 0 8px;
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  position: relative;
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item:hover  { text-decoration: none; color: var(--ink-secondary); }
.bottom-nav-item.current { color: var(--maroon); }

/* Active top indicator line */
.bottom-nav-item.current::after {
  content: '';
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: var(--maroon);
}

/* Inline SVG size */
.bottom-nav-item > svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.bottom-nav-item span { line-height: 1; }

/* FAB centre button — sits above the bar */
.bottom-nav-item.is-fab {
  justify-content: flex-end;
  /* extra space above the bar for the circle */
  padding-bottom: 6px;
}
.book-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 4px 14px rgba(122,38,53,.40);
  /* lift above the bar */
  margin-bottom: 2px;
  transform: translateY(-10px);
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.book-fab svg { width: 20px; height: 20px; }
.bottom-nav-item.is-fab:hover  .book-fab,
.bottom-nav-item.is-fab:focus  .book-fab { transform: translateY(-12px); box-shadow: 0 6px 18px rgba(122,38,53,.45); }
.bottom-nav-item.is-fab.current .book-fab { background: var(--maroon-dark); }

/* ─── Cards ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 16px; }

/* puja card */
.puja-card { display: block; text-decoration: none; color: inherit; }
.puja-card:hover { text-decoration: none; }
.puja-card-img { position: relative; height: 160px; background: var(--muted-surface); overflow: hidden; }
.puja-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.puja-card:hover .puja-card-img img { transform: scale(1.04); }
.puja-card-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(255,255,255,.9); border-radius: var(--radius-pill);
  padding: 2px 10px; font-size: 11px; font-weight: 600; color: var(--ink);
}
.puja-card-category {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,.9); border-radius: var(--radius-pill);
  padding: 2px 8px; font-size: 10px; font-weight: 600; color: var(--ink-secondary);
}
.puja-card-body { padding: 14px 16px; }
.puja-card-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.puja-card-desc  { font-size: 12px; color: var(--ink-muted); margin-bottom: 10px; line-height: 1.4; }
.puja-card-meta  { display: flex; align-items: center; justify-content: space-between; }
.puja-card-price { font-size: 15px; font-weight: 700; color: var(--maroon); }
.puja-card-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.star { color: #A66B24; font-size: 12px; }

/* pandit card */
.pandit-card { padding: 16px; }
.pandit-card-inner { display: flex; gap: 14px; }
.pandit-avatar { position: relative; flex-shrink: 0; }
.pandit-avatar img {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover;
  background: var(--muted-surface);
}
.verified-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.verified-badge svg { width: 14px; height: 14px; }
.pandit-info { flex: 1; min-width: 0; }
.pandit-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.pandit-title-sub { font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.pandit-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--ink-secondary); margin-bottom: 8px; }
.pandit-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.tag {
  background: var(--warm); color: var(--ink-secondary);
  font-size: 11px; padding: 2px 8px; border-radius: var(--radius-pill);
}
.pandit-card-actions { display: flex; gap: 8px; }
.availability-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 3px; }
.available .availability-dot { background: var(--success); }
.unavailable .availability-dot { background: var(--ink-muted); }

/* ─── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--ink-secondary); text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: 6px;
}
.form-label .required { color: var(--error); margin-left: 2px; }
.form-control {
  display: block; width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; color: var(--ink); font-size: 14px; font-family: var(--font-sans);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.form-control:focus {
  outline: none; border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(122,38,53,.12);
}
.form-control::placeholder { color: var(--ink-muted); }
textarea.form-control { height: auto; padding: 12px 14px; resize: vertical; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C857E' stroke-width='1.75' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }
.form-hint  { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }

/* booking widget */
.booking-widget {
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border-light);
  padding: 24px; box-shadow: var(--shadow-lg);
}
.booking-widget h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.booking-widget-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .booking-widget-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .booking-widget-grid { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 440px; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--maroon-dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #2B0D15 0%, rgba(43,13,21,.55) 50%, transparent 100%); }
.hero-content { position: relative; z-index: 1; padding: 48px 0 40px; max-width: 680px; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,229,231,.8); margin-bottom: 10px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(26px, 5vw, 44px); font-weight: 600; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.hero-desc { font-size: clamp(14px, 2vw, 16px); color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 500px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Section headers ──────────────────────────────────────────────────────── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 20px; font-weight: 700; color: var(--ink); }
.section-link { font-size: 13px; font-weight: 600; color: var(--maroon); display: flex; align-items: center; gap: 4px; }
.section-link:hover { text-decoration: none; opacity: .8; }

/* ─── Horizontal scroll row ────────────────────────────────────────────────── */
.scroll-row { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .puja-card { flex: none; width: 172px; }

/* ─── Category grid ─────────────────────────────────────────────────────────── */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(8, 1fr); } }
.category-card {
  background: #fff; border-radius: var(--radius-lg); padding: 14px 8px;
  border: 1px solid var(--border-light); display: flex; flex-direction: column;
  align-items: center; gap: 6px; text-align: center; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.category-card:hover { border-color: rgba(122,38,53,.3); box-shadow: var(--shadow-sm); text-decoration: none; }
.category-icon { font-size: 26px; line-height: 1; }
.category-name { font-size: 11px; font-weight: 500; color: var(--ink-secondary); line-height: 1.3; }

/* ─── How it works ─────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); padding: 20px; display: flex; gap: 14px; }
.step-number {
  width: 36px; height: 36px; border-radius: 50%; background: var(--maroon-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 12px; font-weight: 700; color: var(--maroon);
}
.step-card h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.step-card p { font-size: 12px; color: var(--ink-muted); line-height: 1.5; }

/* ─── Trust section ─────────────────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(5, 1fr); } }
.trust-item { display: flex; gap: 12px; }
.trust-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--maroon-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; color: var(--maroon); }
.trust-item h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.trust-item p { font-size: 12px; color: var(--ink-muted); line-height: 1.5; }

/* ─── Testimonials ─────────────────────────────────────────────────────────── */
.testimonial-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); padding: 20px; }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 10px; }
.testimonial-text { font-size: 13px; color: var(--ink-secondary); font-style: italic; line-height: 1.7; margin-bottom: 12px; }
.testimonial-author { font-size: 13px; font-weight: 600; color: var(--ink); }
.testimonial-loc { font-weight: 400; color: var(--ink-muted); }

/* ─── Single puja / pandit ─────────────────────────────────────────────────── */
.single-hero-img { width: 100%; height: 280px; object-fit: cover; background: var(--muted-surface); }
@media (min-width: 768px) { .single-hero-img { height: 380px; } }

.single-content { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .single-content { grid-template-columns: 1fr 340px; align-items: start; } }

.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.meta-chip {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--ink-secondary);
}

.prose h2 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; }
.prose p  { font-size: 14px; color: var(--ink-secondary); line-height: 1.7; margin-bottom: 12px; }
.prose ul { margin-bottom: 12px; }
.prose ul li { font-size: 14px; color: var(--ink-secondary); padding: 4px 0 4px 20px; position: relative; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--maroon); }

.checklist li { font-size: 13px; color: var(--ink-secondary); padding: 4px 0 4px 22px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; font-size: 12px; color: var(--success); font-weight: 700; }

.price-box {
  background: var(--maroon-subtle); border: 1px solid var(--maroon-light);
  border-radius: var(--radius-lg); padding: 20px;
}
.price-box .from { font-size: 11px; color: var(--ink-muted); margin-bottom: 2px; }
.price-box .price { font-size: 28px; font-weight: 800; color: var(--maroon); line-height: 1; }
.price-box .note { font-size: 11px; color: var(--ink-muted); margin-top: 2px; margin-bottom: 16px; }

.sticky-cta {
  position: sticky; top: 80px;
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border-light);
  padding: 20px; box-shadow: var(--shadow-md);
}

/* ─── Packages ─────────────────────────────────────────────────────────────── */
.packages-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .packages-grid { grid-template-columns: repeat(3, 1fr); } }
.package-card {
  background: #fff; border: 2px solid var(--border-light);
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
}
.package-card.popular { border-color: var(--maroon); box-shadow: 0 4px 20px rgba(122,38,53,.12); }
.package-badge {
  background: var(--maroon); color: #fff; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; padding: 8px 16px;
  display: flex; justify-content: space-between;
}
.package-body { padding: 24px; }
.package-name { font-size: 22px; font-weight: 700; color: var(--ink); }
.package-price { font-size: 24px; font-weight: 800; color: var(--maroon); margin: 6px 0; }
.package-sub { font-size: 12px; color: var(--ink-muted); margin-bottom: 16px; }
.package-features { margin-bottom: 20px; }
.package-features li { font-size: 13px; color: var(--ink-secondary); padding: 4px 0 4px 22px; position: relative; }
.package-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.package-not-included li::before { content: '✕'; color: var(--error); }

/* ─── Booking form ─────────────────────────────────────────────────────────── */
.booking-section { background: var(--surface); }
.booking-form-wrap { background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border-light); padding: 32px; max-width: 680px; }
.booking-progress { display: flex; gap: 4px; margin-bottom: 24px; overflow-x: auto; }
.booking-step-pill {
  flex: none; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; background: var(--muted-surface); color: var(--ink-muted);
}
.booking-step-pill.active { background: var(--maroon-light); color: var(--maroon); }
.booking-step-pill.done { background: var(--success-bg); color: var(--success); }

/* ─── Contact ──────────────────────────────────────────────────────────────── */
.contact-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light);
  padding: 20px; display: flex; align-items: flex-start; gap: 14px;
}
.contact-icon-wrap {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-card .label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-card .desc  { font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.contact-card .value { font-size: 14px; font-weight: 600; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.75);
  padding: 48px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .logo-mark { background: rgba(242,229,231,.15); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65); padding: 3px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.4);
}

/* ─── Badges / pills ───────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600;
}
.badge-verified  { background: var(--info-bg);    color: var(--info);    }
.badge-available { background: var(--success-bg); color: var(--success); }
.badge-busy      { background: var(--muted-surface); color: var(--ink-muted); }
.badge-upcoming  { background: var(--info-bg);    color: var(--info);    }
.badge-completed { background: var(--success-bg); color: var(--success); }
.badge-cancelled { background: var(--error-bg);   color: var(--error);   }

/* ─── Accordion / FAQ ──────────────────────────────────────────────────────── */
.accordion-item { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border-light); margin-bottom: 8px; overflow: hidden; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px; text-align: left; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background .15s;
}
.accordion-trigger:hover { background: var(--warm); }
.accordion-trigger svg { flex-shrink: 0; transition: transform .2s; color: var(--ink-muted); }
.accordion-trigger.open svg { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 16px 16px; font-size: 13px; color: var(--ink-secondary); line-height: 1.7; border-top: 1px solid var(--border-light); padding-top: 14px; }
.accordion-body.open { display: block; }

/* ─── Alerts ───────────────────────────────────────────────────────────────── */
.alert { border-radius: var(--radius-md); padding: 12px 16px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.alert-info    { background: var(--info-bg);    color: var(--info);    border: 1px solid rgba(66,107,130,.2); }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(63,118,85,.2); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(166,107,36,.2); }
.alert-error   { background: var(--error-bg);   color: var(--error);   border: 1px solid rgba(180,61,61,.2); }

/* ─── Utilities ────────────────────────────────────────────────────────────── */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.py-2 { padding: 8px 0; } .py-4 { padding: 16px 0; }
.divider { height: 1px; background: var(--border-light); margin: 24px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─── Pagination ───────────────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-link {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; border: 1px solid var(--border); color: var(--ink-secondary);
  transition: background .15s, border-color .15s;
}
.page-link:hover { background: var(--warm); text-decoration: none; }
.page-link.current { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* ─── Single Puja layout ────────────────────────────────────────────────────── */
.puja-hero-wrap {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--maroon-dark);
}
@media (min-width: 768px) { .puja-hero-wrap { min-height: 460px; } }

.puja-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .45;
}
.puja-hero-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; background: var(--maroon-dark); opacity: 1;
}
.puja-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,13,21,.88) 0%, rgba(43,13,21,.45) 55%, transparent 100%);
}
.puja-hero-content {
  position: relative; z-index: 1;
  padding: 40px 0 36px;
  width: 100%;
}

/* Puja stats strip */
.puja-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 640px) { .puja-stats-strip { grid-template-columns: repeat(5, 1fr); } }
.puja-stat {
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid var(--border-light);
}
.puja-stat:last-child { border-right: none; }
.puja-stat-icon  { font-size: 18px; line-height: 1; margin-bottom: 2px; }
.puja-stat-value { font-size: 14px; font-weight: 700; color: var(--maroon); }
.puja-stat-label { font-size: 10px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 1px; }

/* Puja main layout */
.puja-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) { .puja-layout { grid-template-columns: 1fr 320px; } }

/* Included / Required side-by-side on wider screens */
@media (min-width: 640px) { .incl-grid { grid-template-columns: 1fr 1fr !important; } }

/* ─── Single Pandit layout ──────────────────────────────────────────────────── */
.pandit-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .pandit-layout { grid-template-columns: 1fr 320px; }
}

.pandit-sidebar { display: none; }
@media (min-width: 1024px) {
  .pandit-sidebar { display: block; position: sticky; top: 80px; }
}

/* Hero CTA buttons — hide on small screens (sidebar handles it) */
.hero-cta-btns { display: none; }
@media (min-width: 640px) { .hero-cta-btns { display: flex; } }

/* Stats strip */
.pandit-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (min-width: 640px) {
  .pandit-stats-strip { grid-template-columns: repeat(5, 1fr); }
}
.pandit-stat {
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid var(--border-light);
}
.pandit-stat:last-child { border-right: none; }
.pandit-stat-value {
  font-size: 20px; font-weight: 800; color: var(--maroon); line-height: 1;
}
.pandit-stat-label {
  font-size: 11px; color: var(--ink-muted); text-transform: uppercase;
  letter-spacing: .05em; margin-top: 3px;
}

/* Tab nav */
.pandit-tab-nav {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 16px;
}
.pandit-tab-nav::-webkit-scrollbar { display: none; }
.pandit-tab-btn {
  flex: none;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.pandit-tab-btn:hover { color: var(--ink); }
.pandit-tab-btn.active {
  color: var(--maroon);
  font-weight: 600;
  border-bottom-color: var(--maroon);
}

/* Blog single layout ────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr 300px !important; align-items: start; }
}
.blog-sidebar { display: none; }
@media (min-width: 1024px) { .blog-sidebar { display: block; position: sticky; top: 80px; } }

/* Hero title overlay only shows on large screens where text sits above image */
.hero-title-overlay { display: none; }
@media (min-width: 768px) { .hero-title-overlay { display: block; } }

/* Prose / entry-content typography */
.entry-content h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 32px 0 12px; }
.entry-content h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 24px 0 10px; }
.entry-content h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.entry-content p  { font-size: 16px; color: var(--ink-secondary); line-height: 1.8; margin-bottom: 16px; }
.entry-content ul,
.entry-content ol { margin: 0 0 16px 20px; }
.entry-content ul li,
.entry-content ol li { font-size: 15px; color: var(--ink-secondary); line-height: 1.7; margin-bottom: 4px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 4px solid var(--maroon); margin: 24px 0; padding: 12px 20px;
  background: var(--maroon-subtle); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.entry-content blockquote p { font-style: italic; color: var(--ink); margin: 0; font-size: 16px; }
.entry-content a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-md); margin: 20px 0; max-width: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.entry-content th { background: var(--warm); padding: 10px 14px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.entry-content td { padding: 10px 14px; border: 1px solid var(--border); color: var(--ink-secondary); }
.entry-content pre { background: var(--ink); color: #e8e2db; border-radius: var(--radius-md); padding: 16px; overflow-x: auto; font-size: 13px; margin: 20px 0; }
.entry-content code { background: var(--muted-surface); border-radius: 4px; padding: 2px 6px; font-size: 13px; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: none; border-top: 1px solid var(--border-light); margin: 32px 0; }

/* WP search form */
.search-form { display: flex; gap: 8px; }
.search-form .search-field  { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 13px; font-family: var(--font-sans); }
.search-form .search-field:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(122,38,53,.1); }
.search-form .search-submit { height: 40px; padding: 0 14px; background: var(--maroon); color: #fff; border: none; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; cursor: pointer; }

/* WP comments */
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 12px; }
.comment-author .avatar { border-radius: 50%; margin-right: 10px; float: left; }
.comment-author .fn { font-size: 14px; font-weight: 600; color: var(--ink); }
.comment-metadata { font-size: 12px; color: var(--ink-muted); clear: both; margin-bottom: 8px; }
.comment-content p { font-size: 14px; color: var(--ink-secondary); line-height: 1.7; margin: 0; }
.comment-reply-link { font-size: 12px; color: var(--maroon); font-weight: 600; }
.comment-form label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-secondary); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 14px; margin-bottom: 12px; }
.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(122,38,53,.1); }
.comment-form input[type=submit] { background: var(--maroon); color: #fff; border: none; padding: 11px 24px; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; cursor: pointer; }
#reply-title { font-size: 17px; font-weight: 600; margin-bottom: 16px; }

/* ─── WP core alignment classes ────────────────────────────────────────────── */
.alignwide { margin-left: -24px; margin-right: -24px; }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
figure.wp-block-image { margin: 20px 0; }
.wp-block-image img { border-radius: var(--radius-md); }
