/* Divine Center — mobile app layout (mobile.html only) */
:root {
  --mahogany: #4a1c14;
  --orange: #d36b2b;
  --orange-hover: #b85a24;
  --cream: #fdf8f2;
  --cream-dark: #f5ebe0;
  --peach: #f5e6d8;
  --white: #ffffff;
  --text: #4a3a36;
  --text-muted: #6f5a54;
  --border: rgba(74, 28, 20, 0.1);
  --shadow-sm: 0 4px 20px rgba(74, 28, 20, 0.06);
  --shadow-md: 0 12px 40px rgba(74, 28, 20, 0.1);
  --font-serif: "Lora", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --radius-pill: 999px;
  --radius-lg: 16px;
  --hero-curve: clamp(3rem, 14vw, 5rem);
  --tabbar-h: 5.75rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --pad: 1rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body.m-app {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 1rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.m-app::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body.m-app::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -12%, rgba(211, 107, 43, 0.06), transparent 42%);
  z-index: -1;
}

/** Extra space when a sticky bottom bar sits above the tab navigation */
.m-app--with-sticky {
  padding-bottom: calc(5.25rem + var(--tabbar-h) + var(--safe-bottom) + 0.5rem);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid rgba(211, 107, 43, 0.55);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Shared typography & UI (matches desktop) ── */
.eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow--gems {
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.eyebrow--decor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.eyebrow__flourish {
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--orange);
  position: relative;
}

.eyebrow__flourish::before,
.eyebrow__flourish::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
  background: var(--cream);
}

.eyebrow__flourish::before {
  left: -2px;
}
.eyebrow__flourish::after {
  right: -2px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mahogany);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 var(--pad) 1rem;
}

.section-head--center,
.m-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.link-arrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  min-height: 2.65rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--accent {
  background: var(--orange);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  box-shadow: 0 8px 18px rgba(211, 107, 43, 0.24);
}

.btn--outline {
  background: transparent;
  color: var(--mahogany);
  border: 1.5px solid var(--mahogany);
  padding: 0.6rem 1.15rem;
}

.btn--icon {
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  padding: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.8rem 1.5rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn--block-sm {
  width: 100%;
  font-size: 0.75rem;
  padding: 0.55rem 1rem;
}

.form-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--orange);
  min-height: 1.125rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand__icon {
  flex-shrink: 0;
}

.brand--mark {
  gap: 0;
}

.brand--mark .brand__icon {
  width: auto;
  height: clamp(2.25rem, 6vw, 2.75rem);
  max-height: 2.75rem;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.2;
}

.brand__tagline {
  font-size: 0.5625rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}

/* ── Header ── */
.m-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem var(--pad);
  background: rgba(253, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.m-header__bell {
  position: relative;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--mahogany);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.m-header__bell-badge {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #e74c3c;
  border: 2px solid var(--white);
  box-sizing: content-box;
}

/* ── Hero ── */
.m-home-hero-stack__intro {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.65rem var(--pad);
  margin: 0;
  background: rgba(211, 107, 43, 0.08);
  border-bottom: 1px dashed rgba(211, 107, 43, 0.35);
}

.m-home-hero-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem var(--pad);
  background: var(--mahogany);
  color: var(--cream);
}

.m-home-hero-pick__badge {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
}

.m-home-hero-pick__name {
  font-size: 0.8125rem;
  font-weight: 600;
}

.m-hero {
  position: relative;
  padding: 0.5rem var(--pad) 1.5rem;
  min-height: 24rem;
  overflow: hidden;
}

.m-hero--a {
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 100%);
}

.m-hero--a__frame {
  border: 3px solid rgba(211, 107, 43, 0.2);
  box-shadow: 0 12px 32px rgba(74, 28, 20, 0.12);
}

.m-hero--a__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0.5rem 0 0;
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.m-hero--a__trust strong {
  color: var(--mahogany);
}

.m-hero--b {
  min-height: 22rem;
  padding: 0;
  display: flex;
  align-items: flex-end;
}

.m-hero--b .hero__petals {
  display: none;
}

.m-hero--b__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.m-hero--b__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.m-hero--b__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 21, 16, 0.35) 0%,
    rgba(74, 28, 20, 0.88) 55%,
    rgba(74, 28, 20, 0.95) 100%
  );
}

.m-hero--b__content {
  position: relative;
  z-index: 1;
  padding: 1.25rem var(--pad) 1.5rem;
  width: 100%;
  color: var(--cream);
}

.m-hero--b__eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}

.m-hero--b__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.12;
  color: var(--cream);
  margin: 0 0 0.85rem;
}

.m-hero--b__title em {
  font-style: normal;
  color: #f5c4a0;
}

.m-hero--b .hero__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  max-width: 22rem;
  text-shadow: 0 1px 12px rgba(26, 10, 6, 0.35);
}

.m-hero--b__card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  padding: 0.85rem 0.9rem 0.65rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.m-hero--b__card-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin: 0 0 0.5rem;
}

.m-hero--b__card .form-hint {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.m-hero--b__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.6875rem;
  font-weight: 600;
}

.m-hero--b__stats li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.m-hero--b__rupee {
  font-weight: 700;
}

.m-hero--b__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.m-hero--b__actions .btn {
  flex: 1 1 calc(50% - 0.25rem);
  justify-content: center;
  min-width: 0;
  font-size: 0.8125rem;
  padding: 0.55rem 0.65rem;
}

.m-hero--b__btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--cream);
  background: transparent;
}

.hero__petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    radial-gradient(ellipse 10px 14px at 18% 12%, #f0a8b8 0%, transparent 100%),
    radial-gradient(ellipse 8px 12px at 42% 8%, #e890a5 0%, transparent 100%),
    radial-gradient(ellipse 9px 13px at 68% 15%, #f5b8c8 0%, transparent 100%),
    radial-gradient(ellipse 7px 11px at 85% 22%, #e8a0b0 0%, transparent 100%);
}

.m-hero__body {
  position: relative;
  z-index: 3;
  max-width: 56%;
  padding-top: 0.25rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--mahogany);
  margin-bottom: 0.5rem;
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
}

.hero__text {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.m-hero__media {
  position: absolute;
  top: 0;
  right: -8%;
  width: 50%;
  height: 100%;
  z-index: 1;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.hero__image-wrap {
  width: 100%;
  max-width: 11rem;
  aspect-ratio: 4 / 4.6;
  border-radius: 0 0 0 var(--hero-curve);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

/* Search pill */
.search-pill {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 2.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.25rem 0.2rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

.search-pill__icon {
  flex-shrink: 0;
  color: #a89890;
  margin-right: 0.35rem;
  display: flex;
}

.search-pill__field {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 0.6875rem;
  color: var(--mahogany);
  background: transparent;
}

.search-pill__field::placeholder {
  color: #a09088;
}

.search-pill__submit {
  flex-shrink: 0;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  font-size: 0.6875rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--mahogany);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
}

/* ── Value bar (horizontal scroll, desktop styling) ── */
.m-values {
  background: var(--mahogany);
  padding: 1.25rem 0;
}

.m-values__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0.5rem;
}

.m-values__track::-webkit-scrollbar {
  display: none;
}

.value-bar__item {
  flex: 0 0 72%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
}

.value-bar__icon {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.value-bar__icon--rupee {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-bar__title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.value-bar__desc {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
  max-width: 10rem;
}

/* ── Puja icons (same PNGs as desktop) ── */
.m-pujas {
  padding: 1.5rem 0 1rem;
  background: var(--cream);
}

.m-pujas__scroll {
  display: flex;
  gap: 0.875rem;
  overflow-x: auto;
  padding: 0 var(--pad) 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.m-pujas__scroll::-webkit-scrollbar {
  display: none;
}

.puja-icons__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: opacity 0.2s, transform 0.2s;
}

.puja-icons__item.is-hidden {
  opacity: 0.35;
  transform: scale(0.92);
}

.puja-icons__ring {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 1px solid rgba(74, 28, 20, 0.28);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.puja-icons__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #fdf8f2;
}

.puja-icons__label {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.3;
  max-width: 4.75rem;
}

.m-link-btn {
  font-size: 0.6875rem !important;
  padding: 0.45rem 0.75rem !important;
}

/* ── Priest banner ── */
.m-priest-banner {
  margin: 0 var(--pad) 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, #fff9f4 0%, var(--peach) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.875rem;
  align-items: start;
  box-shadow: var(--shadow-sm);
}

.m-priest-banner__photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(211, 107, 43, 0.3);
  flex-shrink: 0;
}

.m-priest-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-priest-banner__title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.m-priest-banner__text {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.m-priest-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ── Stats ── */
.m-stats {
  padding: 0 var(--pad) 1.5rem;
}

.m-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.m-stats__grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.m-stats__icon {
  font-size: 1.125rem;
}

.m-stats__grid strong {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mahogany);
}

.m-stats__grid li > span:last-child {
  font-size: 0.5rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ── How it works ── */
.m-how {
  padding: 0 0 1.5rem;
}

.m-how__heading {
  text-align: center;
  padding: 0 var(--pad) 1rem;
}

.m-how__scroll {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 0 var(--pad) 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.m-how__scroll::-webkit-scrollbar {
  display: none;
}

.m-step {
  flex: 0 0 5.25rem;
  text-align: center;
  padding: 0 0.15rem;
}

.m-step__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 28, 20, 0.2);
  display: grid;
  place-items: center;
  color: var(--mahogany);
  background: var(--white);
}

.m-step h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--mahogany);
  margin-bottom: 0.15rem;
}

.m-step p {
  font-size: 0.5625rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.m-step__arrow {
  flex-shrink: 0;
  align-self: center;
  color: var(--orange);
  font-size: 1.125rem;
  padding: 0 0.15rem;
  opacity: 0.6;
}

/* ── Pandits carousel (same cards & photos as desktop) ── */
.m-pandits {
  padding: 1.5rem 0;
  background: var(--cream);
}

.m-pandits__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 var(--pad) 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.m-pandits__track::-webkit-scrollbar {
  display: none;
}

.pandit-card {
  flex: 0 0 min(260px, 82vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1rem 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pandit-card__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--peach);
  margin-bottom: 0.75rem;
}

.pandit-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.2rem;
}

.pandit-card__role {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.65rem;
  min-height: 2.2em;
}

.pandit-card__meta {
  width: 100%;
  font-size: 0.625rem;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 0.65rem;
}

.pandit-card__meta li {
  margin-bottom: 0.3rem;
}

.pandit-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.pandit-card__tag {
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--cream-dark);
  color: var(--mahogany);
  border: 1px solid var(--border);
}

.pandit-card__btn {
  width: 100%;
  padding: 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: var(--radius-pill);
}

/* ── Blog scroll (same images as desktop) ── */
.m-blog {
  padding: 1.5rem 0;
  background: var(--white);
}

.m-blog__scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.m-blog__scroll::-webkit-scrollbar {
  display: none;
}

.m-blog__scroll .blog-card {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--peach);
}

.blog-card__body {
  padding: 1rem;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.blog-card__excerpt {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Contact ── */
.m-contact {
  padding: 1.5rem var(--pad) 2rem;
  background: var(--cream);
}

.m-contact__illus {
  text-align: center;
  margin-bottom: 1rem;
}

.m-contact__illus img {
  width: 100%;
  max-width: 180px;
  margin-inline: auto;
  object-fit: contain;
}

.m-contact__lead {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0.35rem 0 1rem;
}

.field {
  display: block;
  margin-bottom: 0.875rem;
}

.field__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.3rem;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--mahogany);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(211, 107, 43, 0.35);
  border-color: var(--orange);
}

.detail-section,
.m-account-group,
.m-contact-form,
.m-support-action {
  box-shadow: 0 8px 22px rgba(74, 28, 20, 0.06);
}

.m-desktop-link {
  text-align: center;
  padding: 0 var(--pad) 1rem;
  font-size: 0.75rem;
}

.m-desktop-link a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ── Bottom tab bar ── */
.m-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.35rem 0.35rem calc(0.35rem + var(--safe-bottom));
  z-index: 500;
  box-shadow: 0 -4px 24px rgba(74, 28, 20, 0.08);
}

.m-tabbar--fab {
  align-items: flex-end;
}

.m-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.5625rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.25rem;
  min-width: 0;
}

.m-tab svg {
  display: block;
}

.m-tab--active {
  color: var(--orange);
  font-weight: 600;
}

.m-tab--active:not(.m-tab--fab) svg {
  stroke: var(--orange);
}

.m-tab--fab {
  position: relative;
  margin-top: -1.35rem;
  z-index: 2;
}

.m-tab__fab {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(211, 107, 43, 0.45);
  margin-bottom: 0.1rem;
}

.m-tab__fab img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center;
}

.m-tab__label {
  font-size: 0.5625rem;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  max-width: 4.25rem;
}

.m-tab--fab .m-tab__label {
  color: var(--mahogany);
  font-weight: 600;
  margin-top: 0.2rem;
}

.m-tab--fab.m-tab--active .m-tab__label {
  color: var(--orange);
}

/* ── Header menu ── */
.m-header__menu {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--mahogany);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.m-header .brand {
  flex: 1;
  justify-content: center;
}

.m-header--home {
  gap: 0.5rem;
}

.m-header--home .brand {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}

.m-header--home .brand--mark .brand__icon {
  height: clamp(2.125rem, 5.5vw, 2.5rem);
}

.m-header--home .m-header__loc {
  flex-shrink: 1;
  max-width: 7.5rem;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  font-size: 0.6875rem;
}


/* ── Drawer ── */
.m-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
  visibility: hidden;
}

.m-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.m-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 28, 20, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}

.m-drawer.is-open .m-drawer__backdrop {
  opacity: 1;
}

.m-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(280px, 82vw);
  background: var(--cream);
  padding: 1.25rem;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  box-shadow: 8px 0 32px rgba(74, 28, 20, 0.15);
}

.m-drawer.is-open .m-drawer__panel {
  transform: translateX(0);
}

.m-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.m-drawer__close {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--mahogany);
  width: 2rem;
  height: 2rem;
}

.m-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.m-drawer__nav a {
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  color: var(--mahogany);
  border-bottom: 1px solid var(--border);
}

body.drawer-open {
  overflow: hidden;
}

/* ── Puja grid (home) ── */
.m-puja-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 0.5rem;
  padding: 0 var(--pad);
}

.m-puja-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.m-puja-grid__item .puja-icons__ring {
  width: 3.75rem;
  height: 3.75rem;
}

.m-puja-grid__item .puja-icons__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-puja-grid__label {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.25;
}

/* ── Home gallery / testimonials / stories ── */
.m-home-gallery,
.m-testimonials,
.m-home-stories {
  padding-bottom: 1.25rem;
}

.m-home-gallery__scroll,
.m-testimonials__scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0 var(--pad) 0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.m-testimonials__scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.m-testimonials__scroll::-webkit-scrollbar {
  display: none;
}

.m-home-gallery__scroll .home-gallery__item {
  flex: 0 0 min(78vw, 16.5rem);
  scroll-snap-align: start;
  min-height: 11.5rem;
}

.m-home-gallery__scroll .home-gallery__item--featured {
  flex-basis: min(85vw, 18rem);
}

.home-gallery__item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.home-gallery__img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  display: block;
}

.home-gallery__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(74, 28, 20, 0.82) 100%);
}

.home-gallery__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.85rem;
  color: var(--cream);
}

.home-gallery__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 600;
}

.home-gallery__caption {
  display: block;
  font-size: 0.625rem;
  opacity: 0.88;
}

.m-testimonials__score {
  margin: -0.35rem var(--pad) 0.75rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.m-testimonials__score strong {
  color: var(--orange);
  font-family: var(--font-serif);
  font-size: 1.125rem;
}

.m-testimonials__scroll .testimonial-card {
  flex: 0 0 min(82vw, 18rem);
  scroll-snap-align: start;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.1rem;
  color: var(--orange);
}

.testimonial-card__quote p {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--mahogany);
  margin: 0;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.testimonial-card__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mahogany);
  color: var(--cream);
  font-size: 0.5625rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--mahogany);
  display: block;
}

.testimonial-card__meta {
  font-size: 0.5625rem;
  color: var(--text-muted);
  display: block;
}

.m-home-stories__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 var(--pad);
}

.blog-featured-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.blog-featured-card__media {
  aspect-ratio: 16 / 10;
  background: var(--peach);
  overflow: hidden;
}

.blog-featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-card__body {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-featured-card__cat {
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.blog-featured-card h3 {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.35;
  margin: 0;
}

.blog-featured-card__meta {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.m-home-stories__list .blog-featured-card--compact {
  flex-direction: row;
}

.m-home-stories__list .blog-featured-card--compact .blog-featured-card__media {
  width: 7rem;
  min-height: 5.5rem;
  flex-shrink: 0;
}

.m-home-stories__list .blog-featured-card--compact h3 {
  font-size: 0.75rem;
}

/* ── Promo banners ── */
.m-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0 var(--pad) 1.25rem;
}

.m-promo-card {
  border-radius: var(--radius-lg);
  padding: 0.875rem;
  min-height: 5.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 0.6875rem;
}

.m-promo-card--match {
  background: linear-gradient(145deg, #fff9f4, var(--peach));
  border: 1px solid var(--border);
}

.m-promo-card--priest {
  background: var(--mahogany);
  color: var(--cream);
}

.m-promo-card__eyebrow {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.m-promo-card strong {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  line-height: 1.25;
  display: block;
  margin-bottom: 0.25rem;
}

.m-promo-card__link {
  color: var(--orange);
  font-weight: 600;
}

.m-promo-card--priest span:last-child {
  opacity: 0.8;
  font-size: 0.5625rem;
}

/* ── Blog list (home) ── */
.m-blog__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 var(--pad);
}

.blog-list-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem;
  box-shadow: var(--shadow-sm);
}

.blog-list-item__thumb {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--peach);
}

.blog-list-item__body h3 {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.blog-list-item__body p {
  font-size: 0.625rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list-item__meta {
  font-size: 0.5625rem;
  color: var(--orange);
  margin-top: 0.25rem;
  display: block;
}

/* ── Subpages ── */
.m-subheader {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem var(--pad);
  background: rgba(253, 248, 242, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(74, 28, 20, 0.05);
}

.m-subheader__back {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--mahogany);
  text-align: center;
}

.m-subheader__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--mahogany);
}

.m-subheader__icon,
.m-subheader__spacer {
  justify-self: end;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: var(--mahogany);
}

.m-subheader__actions {
  display: flex;
  gap: 0.25rem;
  justify-self: end;
}

.m-page {
  width: 100%;
  margin: 0;
  padding: 0 0 1rem;
}

.m-page--detail,
.m-page--book {
  padding-bottom: 1rem;
}

.m-search--page {
  margin: 0.75rem var(--pad) 1rem;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  gap: 0.5rem;
}

.m-search--page .search-pill__field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.875rem;
  background: transparent;
}

.m-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0 var(--pad) 1rem;
  scrollbar-width: none;
}

.m-chips::-webkit-scrollbar {
  display: none;
}

.m-chips--wrap {
  flex-wrap: wrap;
  overflow: visible;
}

.m-chip {
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mahogany);
  min-height: 2.1rem;
}

.m-chip.is-active {
  background: var(--mahogany);
  color: var(--cream);
  border-color: var(--mahogany);
}

.m-list,
.m-stack {
  padding: 0 var(--pad) 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.m-puja-grid-list--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.m-puja-grid-list--cards .puja-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(74, 28, 20, 0.09);
}

.m-puja-grid-list--cards .puja-card__media-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 9.25rem;
}

.m-puja-grid-list--cards .puja-card__media-wrap .puja-media,
.m-puja-grid-list--cards .puja-card__media-wrap .puja-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-puja-grid-list--cards .puja-card__badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 1;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(253, 248, 242, 0.92);
  color: var(--mahogany);
}

.m-puja-grid-list--cards .puja-card__body {
  padding: 0.55rem 0.6rem 0.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.m-puja-grid-list--cards .puja-card__title {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 0.25rem;
  color: var(--mahogany);
}

.m-puja-grid-list--cards .puja-card__desc {
  font-size: 0.625rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
  flex: 1;
}

.m-puja-grid-list--cards .puja-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.5625rem;
  margin-bottom: 0.3rem;
}

.m-puja-grid-list--cards .puja-card__more {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.m-puja-grid-list {
  padding: 0 var(--pad) 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.m-pujas-hero {
  margin: 0.8rem var(--pad) 0.85rem;
  padding: 0.95rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(150deg, #4a1c14 0%, #7a3426 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(74, 28, 20, 0.22);
}

.m-pujas-hero__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.m-pujas-hero__title {
  margin-top: 0.28rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.25;
}

.m-pujas-hero__text {
  margin-top: 0.28rem;
  font-size: 0.73rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.m-pujas-sort {
  margin: 0 1rem 0.85rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(74, 28, 20, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.m-pujas-sort__btn {
  border-radius: 999px;
  min-height: 2rem;
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--text-muted);
}

.m-pujas-sort__btn.is-active {
  background: var(--mahogany);
  color: #fff;
}

.m-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  font-size: 0.875rem;
}

/* Pandit row (list page) */
.pandit-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.pandit-row__photo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--peach);
}

.pandit-row__body h3 {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.15rem;
}

.pandit-row__body > p {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.pandit-row__meta {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.pandit-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.pandit-row__tag {
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  background: var(--cream-dark);
  border-radius: 4px;
  color: var(--mahogany);
}

.pandit-row__btn {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  align-self: center;
}

/* Puja service card */
.puja-service-card {
  display: flex;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem;
  box-shadow: var(--shadow-sm);
}

.m-puja-grid-list .puja-service-card {
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.58rem;
  min-height: 100%;
  border-radius: 14px;
  border-color: rgba(74, 28, 20, 0.14);
  box-shadow: 0 12px 24px rgba(74, 28, 20, 0.09);
}

.puja-service-card .puja-media {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--peach);
}

.m-puja-grid-list .puja-service-card .puja-media {
  width: 100%;
  height: 9.5rem;
  border-radius: 10px;
}

.puja-service-card .puja-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.puja-service-card .puja-media.is-icon {
  background: var(--cream);
}

.puja-service-card .puja-media.is-icon img {
  object-fit: cover;
  filter: none;
}

.puja-service-card .puja-media.is-fallback {
  background: var(--mahogany);
  display: grid;
  place-items: center;
}

.puja-service-card .puja-media.is-fallback img {
  width: 55%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.puja-service-card__type {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin-bottom: 0.15rem;
}

.puja-service-card__meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.puja-service-card__quote,
.puja-card__quote {
  font-weight: 700;
  color: var(--orange);
}

.puja-service-card__body h3 {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.25rem;
}

.m-puja-grid-list .puja-service-card__body h3 {
  font-size: 0.9rem;
  line-height: 1.28;
  margin-bottom: 0.2rem;
}

.puja-service-card__body p {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.m-puja-grid-list .puja-service-card__body p {
  min-height: 2.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.puja-service-card__cta {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mahogany);
}

/* Detail pages */
.m-detail-hero {
  margin: 0 var(--pad) 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--peach);
}

.m-detail-hero .puja-media {
  width: 100%;
  height: 100%;
}

.m-detail-hero .puja-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-detail-hero .puja-media.is-icon {
  background: var(--cream);
}

.m-detail-hero .puja-media.is-icon img {
  object-fit: cover;
  filter: none;
}

.m-detail-hero .puja-media.is-fallback {
  display: grid;
  place-items: center;
  background: var(--mahogany);
}

.m-detail-hero .puja-media.is-fallback img {
  width: 40%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.m-detail-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mahogany);
  padding: 0 var(--pad);
  margin-bottom: 0.5rem;
}

.m-detail-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 0 var(--pad);
  margin-bottom: 1rem;
}

.m-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0 var(--pad) 1.25rem;
  text-align: center;
}

.m-info-row > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.35rem;
}

.m-info-row span:first-child {
  font-size: 1rem;
  display: block;
  margin-bottom: 0.2rem;
}

.m-info-row strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--mahogany);
}

.m-info-row > div > span:last-child {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.m-detail-sub {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  padding: 0 var(--pad);
  margin-bottom: 0.65rem;
  color: var(--mahogany);
}

.m-check-list {
  padding: 0 var(--pad) 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m-check-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text);
}

.m-check-list span {
  color: var(--orange);
  font-weight: 700;
}

.m-sticky-bar {
  position: fixed;
  bottom: var(--safe-bottom);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--pad);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(74, 28, 20, 0.08);
  z-index: 450;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.m-sticky-bar__label {
  font-size: 0.625rem;
  color: var(--text-muted);
  display: block;
}

.m-sticky-bar__price {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--mahogany);
}

.m-sticky-bar__meta {
  display: block;
  font-size: 0.64rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.m-sticky-bar--puja .btn {
  min-width: 8.5rem;
  justify-content: center;
}

.m-sticky-bar--pandit {
  display: block;
  padding: 0.65rem var(--pad) calc(0.7rem + env(safe-area-inset-bottom));
  gap: 0;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -10px 28px rgba(74, 28, 20, 0.12);
}

.pandit-sticky {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.pandit-sticky__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.pandit-sticky__copy {
  min-width: 0;
  flex: 1;
}

.pandit-sticky__eyebrow {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.12rem;
}

.pandit-sticky__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.22;
  color: var(--mahogany);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pandit-sticky__meta {
  display: block;
  margin-top: 0.14rem;
  font-size: 0.64rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.pandit-sticky__rating {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.38rem 0.55rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff9f3 0%, #fff3e8 100%);
  border: 1px solid rgba(211, 107, 43, 0.22);
}

.pandit-sticky__rating-star {
  font-size: 0.72rem;
  line-height: 1;
  color: #d68a2f;
}

.pandit-sticky__rating strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1;
  color: var(--mahogany);
}

.pandit-sticky__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  align-items: stretch;
}

.pandit-sticky__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-width: 4.35rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(74, 28, 20, 0.18);
  background: #fff;
  color: var(--mahogany);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(74, 28, 20, 0.06);
}

.pandit-sticky__call svg {
  flex-shrink: 0;
}

.pandit-sticky__book {
  width: 100%;
  min-height: 2.75rem;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(211, 107, 43, 0.28);
}

.pandit-profile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0 var(--pad) 0.5rem;
}

/* Pandit profile page — single-image hero */
.m-app--pandit-detail .m-page--pandit {
  padding-top: max(0.35rem, env(safe-area-inset-top));
}

.pandit-profile__hero {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(74, 28, 20, 0.1);
  box-shadow: 0 18px 36px rgba(74, 28, 20, 0.11);
}

.pandit-profile__figure {
  position: relative;
  background: #3d241c;
}

.pandit-profile__photo {
  aspect-ratio: 4 / 4.6;
  max-height: 20.5rem;
  overflow: hidden;
}

.pandit-profile__photo img,
.pandit-profile__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.pandit-profile__figure-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 8, 6, 0.2) 0%, rgba(12, 8, 6, 0.05) 28%, rgba(12, 8, 6, 0.72) 100%),
    radial-gradient(circle at 88% 8%, rgba(255, 173, 96, 0.2), transparent 40%);
  pointer-events: none;
}

.pandit-profile__toolbar {
  position: absolute;
  top: max(0.55rem, env(safe-area-inset-top));
  left: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.pandit-profile__nav-btn {
  pointer-events: auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.95);
  color: var(--mahogany);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(18, 12, 10, 0.24);
  text-decoration: none;
  padding: 0;
}

.pandit-profile__share svg {
  display: block;
}

.pandit-profile__figure-meta {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pandit-profile__verified {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(211, 107, 43, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  backdrop-filter: blur(6px);
}

.pandit-profile__figure-meta .pandit-profile__mode {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.pandit-profile__panel {
  padding: 0.95rem 0.9rem 1rem;
}

.pandit-profile__name {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  line-height: 1.2;
  color: var(--mahogany);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.pandit-profile__role {
  margin: 0.32rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.pandit-profile__metrics {
  margin-top: 0.78rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.pandit-profile__metric {
  text-align: center;
  border: 1px solid rgba(74, 28, 20, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fff9f3 100%);
  padding: 0.48rem 0.35rem;
}

.pandit-profile__metric strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--mahogany);
}

.pandit-profile__metric-label {
  display: block;
  margin-top: 0.14rem;
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.pandit-profile__trust {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.pandit-profile__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.22rem;
  padding: 0.55rem 0.35rem 0.5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f9f3ec 100%);
  border: 1px solid rgba(74, 28, 20, 0.1);
  box-shadow: 0 4px 12px rgba(74, 28, 20, 0.05);
}

.pandit-profile__trust-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(211, 107, 43, 0.1);
  color: var(--orange);
  margin-bottom: 0.08rem;
}

.pandit-profile__trust-icon svg {
  display: block;
}

.pandit-profile__trust-item strong {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--mahogany);
  line-height: 1.2;
}

.pandit-profile__trust-item > span:last-child {
  display: block;
  font-size: 0.56rem;
  line-height: 1.3;
  color: var(--text-muted);
}

.detail-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
}

.detail-section--quickfacts {
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
  border-color: rgba(211, 107, 43, 0.2);
}

.detail-section__title {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  color: var(--mahogany);
}

.detail-section__lede {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.pandit-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.pandit-detail__tag {
  font-size: 0.66rem;
  padding: 0.24rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--mahogany);
}

.pandit-service-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.pandit-service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: #fff8f3;
  border: 1px solid rgba(211, 107, 43, 0.25);
  color: var(--mahogany);
  font-size: 0.74rem;
}

.pandit-service-row__quote {
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
}

.pandit-service-row__quote:hover {
  text-decoration: underline;
}

/* Pandit schedule / availability */
.detail-section--schedule {
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
  border-color: rgba(211, 107, 43, 0.16);
}

.pandit-schedule__head {
  margin-bottom: 0.75rem;
}

.pandit-schedule__block + .pandit-schedule__block {
  margin-top: 0.85rem;
}

.pandit-schedule__label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pandit-schedule__dates {
  display: flex;
  gap: 0.42rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  margin: 0 -0.15rem;
  padding-inline: 0.15rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pandit-schedule__dates::-webkit-scrollbar {
  display: none;
}

.pandit-date-btn {
  flex: 0 0 4.1rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  padding: 0.5rem 0.35rem 0.45rem;
  border-radius: 14px;
  border: 1.5px solid rgba(74, 28, 20, 0.12);
  background: #fff;
  color: var(--mahogany);
  min-height: 4.35rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pandit-date-btn.is-active {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff6ee 0%, #fff 100%);
  box-shadow: 0 6px 16px rgba(211, 107, 43, 0.18);
}

.pandit-date-btn__tag {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin-bottom: 0.05rem;
}

.pandit-date-btn__day {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pandit-date-btn__num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 600;
}

.pandit-date-btn__mon {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.pandit-schedule__slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.pandit-slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.3rem;
  border-radius: 14px;
  border: 1.5px solid rgba(74, 28, 20, 0.12);
  background: #fff;
  color: var(--mahogany);
  min-height: 4.5rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.pandit-slot-btn.is-active {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff6ee 0%, #fff 100%);
  box-shadow: 0 6px 16px rgba(211, 107, 43, 0.16);
}

.pandit-slot-btn__icon {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: rgba(211, 107, 43, 0.1);
  color: var(--orange);
}

.pandit-slot-btn__label {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
}

.pandit-slot-btn__time {
  font-size: 0.56rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.pandit-schedule__status {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.62rem 0.7rem;
  border-radius: 12px;
  background: rgba(211, 107, 43, 0.08);
  border: 1px solid rgba(211, 107, 43, 0.16);
}

.pandit-schedule__status-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(211, 107, 43, 0.2);
  animation: pandit-pulse 1.8s ease-in-out infinite;
}

@keyframes pandit-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.pandit-schedule__status p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text);
}

.pandit-schedule__status strong {
  color: var(--mahogany);
}

.pandit-schedule__assurance {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.pandit-schedule__assurance li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.pandit-schedule__check {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(211, 107, 43, 0.14);
  position: relative;
}

.pandit-schedule__check::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.18rem;
  width: 0.2rem;
  height: 0.38rem;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .pandit-schedule__status-dot {
    animation: none;
  }
}

.pandit-facts-grid {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.pandit-fact {
  border: 1px solid rgba(74, 28, 20, 0.1);
  border-radius: 10px;
  padding: 0.48rem 0.55rem;
  background: #fff;
}

.pandit-fact span {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
}

.pandit-fact strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.75rem;
  color: var(--mahogany);
}

/* Pandit reviews — hi-fi section */
.detail-section--reviews {
  padding: 1rem 0.95rem 1.05rem;
  background: linear-gradient(180deg, #fffdfb 0%, #fff 55%);
  border-color: rgba(74, 28, 20, 0.1);
  box-shadow: 0 12px 28px rgba(74, 28, 20, 0.06);
}

.pandit-reviews__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.pandit-reviews__intro {
  min-width: 0;
}

.pandit-reviews__lede {
  margin: 0.18rem 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pandit-reviews__filter {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.18rem;
  border-radius: 999px;
  background: #f6efe6;
  border: 1px solid rgba(74, 28, 20, 0.1);
  gap: 0.12rem;
}

.pandit-reviews__filter-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  min-height: 2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pandit-reviews__filter-btn.is-active {
  background: #fff;
  color: var(--mahogany);
  box-shadow: 0 2px 8px rgba(74, 28, 20, 0.1);
}

.pandit-reviews__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.8rem;
  margin-bottom: 0.72rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(211, 107, 43, 0.08) 0%, rgba(211, 107, 43, 0.06) 100%);
  border: 1px solid rgba(74, 28, 20, 0.08);
}

.pandit-reviews__score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.pandit-reviews__score strong {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1;
  color: var(--mahogany);
  letter-spacing: -0.02em;
}

.pandit-reviews__score .pandit-review-card__stars {
  font-size: 0.72rem;
}

.pandit-reviews__count {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: right;
  max-width: 9.5rem;
}

.pandit-reviews__list {
  display: grid;
  gap: 0.62rem;
}

.pandit-reviews__empty {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.85rem 0.5rem;
}

.pandit-review-card {
  position: relative;
  border: 1px solid rgba(74, 28, 20, 0.1);
  border-radius: 16px;
  background: #fff;
  padding: 0.82rem 0.85rem 0.72rem;
  box-shadow: 0 6px 16px rgba(74, 28, 20, 0.05);
}

.pandit-review-card::before {
  content: "“";
  position: absolute;
  top: 0.45rem;
  right: 0.7rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: rgba(211, 107, 43, 0.14);
  pointer-events: none;
}

.pandit-review-card__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.pandit-review-card__avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #6b3b2f 0%, #4a1c14 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(74, 28, 20, 0.18);
}

.pandit-review-card__identity {
  min-width: 0;
}

.pandit-review-card__identity strong {
  display: block;
  font-size: 0.8rem;
  color: var(--mahogany);
  line-height: 1.25;
}

.pandit-review-card__context {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.64rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.pandit-review-card__stars {
  display: inline-flex;
  gap: 0.06rem;
  flex-shrink: 0;
}

.pandit-review-card__star {
  font-size: 0.68rem;
  line-height: 1;
  color: rgba(74, 28, 20, 0.18);
}

.pandit-review-card__star.is-on {
  color: #d68a2f;
}

.pandit-review-card__quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.84rem;
  line-height: 1.68;
  color: #3a2b24;
  font-style: normal;
}

.pandit-review-card__foot {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(74, 28, 20, 0.07);
}

.pandit-review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--orange);
}

.pandit-review-card__badge::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(211, 107, 43, 0.2);
}

/* Book page — body.m-app--with-sticky clears tab bar + sticky footer */
.m-page--book {
  padding-bottom: 1.25rem;
}

.m-puja-trustbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.m-puja-trustbar__item {
  border: 1px solid rgba(74, 28, 20, 0.12);
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.m-puja-trustbar__item strong {
  font-size: 0.72rem;
  color: var(--mahogany);
}

.m-puja-trustbar__item span {
  font-size: 0.67rem;
  color: var(--text-muted);
}

.m-chips--schedule .m-chip {
  min-width: 5.6rem;
  text-align: center;
}

.m-puja-prep .m-chips--schedule {
  padding: 0;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.m-puja-prep .m-chips--schedule .m-chip {
  min-width: 0;
  width: 100%;
  padding: 0.42rem 0.3rem;
}

.m-puja-socialproof {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.m-puja-socialproof__item {
  text-align: center;
  padding: 0.55rem 0.35rem;
  background: rgba(211, 107, 43, 0.09);
  border: 1px solid rgba(211, 107, 43, 0.22);
  border-radius: 10px;
}

.m-puja-socialproof__item strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.1;
  color: var(--mahogany);
}

.m-puja-socialproof__item span {
  display: block;
  font-size: 0.61rem;
  line-height: 1.25;
  color: var(--text-muted);
  margin-top: 0.12rem;
}

.m-puja-flow .puja-panel__title {
  margin-bottom: 0.45rem;
}

.m-puja-flow__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.m-puja-flow__steps li {
  border: 1px solid rgba(74, 28, 20, 0.12);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: #fff;
}

.m-puja-flow__steps li strong {
  display: block;
  font-size: 0.75rem;
  color: var(--mahogany);
}

.m-puja-flow__steps li span {
  display: block;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.m-book-summary {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 var(--pad) 1rem;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.m-book-summary img {
  width: 4rem;
  height: 4rem;
  border-radius: 10px;
  object-fit: cover;
}

.m-book-summary h3 {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mahogany);
}

.m-book-form {
  padding: 0 var(--pad);
}

.m-form-section {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mahogany);
  margin: 1rem 0 0.65rem;
}

.m-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.m-book-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin: 0 var(--pad) 0.85rem;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.m-book-step {
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.25;
  min-height: 2rem;
  padding: 0.45rem 0.28rem;
  border-radius: 999px;
  background: var(--cream);
}

.m-book-step::before {
  content: attr(data-step-label);
  display: inline-flex;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 0.2rem;
  font-size: 0.625rem;
  background: rgba(74, 28, 20, 0.1);
  color: var(--mahogany);
}

.m-book-step.is-active {
  background: rgba(211, 107, 43, 0.14);
  color: var(--mahogany);
}

@media (max-width: 420px) {
  .m-book-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
}

.m-book-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem;
  margin-bottom: 0.75rem;
}

.m-book-panel[hidden] {
  display: none;
}

.m-book-puja-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.m-book-panel select,
.m-book-panel input,
.m-book-panel textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fefcf9;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--mahogany);
}

.m-book-panel small.form-hint {
  display: block;
  margin-top: 0.25rem;
}

.m-book-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.m-book-nav .btn {
  flex: 1;
}

.m-book-addons {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.m-book-addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fefcf9;
}

.m-book-addon span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.m-book-addon small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-book-addon em {
  font-style: normal;
  font-weight: 600;
  color: var(--mahogany);
}

.m-book-price {
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

.m-book-price p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--text);
}

.m-book-price__total {
  margin-top: 0.45rem !important;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
  font-weight: 700;
  color: var(--mahogany) !important;
}

.m-book-quote {
  margin-top: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.m-book-quote .form-hint {
  margin: 0.35rem 0 0;
}

.m-bookings-page {
  padding: 0 var(--pad) calc(var(--tabbar-h) + 1rem);
}

.m-bookings-tabs {
  position: sticky;
  top: calc(3.1rem + env(safe-area-inset-top, 0px));
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin: 0.2rem 0 0.9rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
}

.m-bookings-tab {
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0.55rem 0.35rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.m-bookings-tab.is-active {
  background: rgba(211, 107, 43, 0.14);
  color: var(--mahogany);
}

.m-bookings-list {
  display: grid;
  gap: 0.75rem;
}

.m-booking-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
  box-shadow: 0 8px 24px rgba(74, 28, 20, 0.06);
}

.m-booking-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.m-booking-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--mahogany);
}

.m-booking-card__sub {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.m-booking-card__meta {
  margin: 0.22rem 0;
  font-size: 0.8125rem;
  color: var(--text);
}

.m-booking-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  white-space: nowrap;
}

.m-booking-badge.is-confirmed {
  background: rgba(35, 131, 72, 0.14);
  color: #1f6a3a;
}

.m-booking-badge.is-assigned {
  background: rgba(211, 107, 43, 0.16);
  color: #8d491d;
}

.m-booking-badge.is-completed {
  background: rgba(54, 105, 184, 0.14);
  color: #1f4f97;
}

.m-booking-badge.is-cancelled {
  background: rgba(164, 41, 41, 0.13);
  color: #8f1f1f;
}

.m-booking-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin: 0.6rem 0 0.5rem;
}

.m-booking-timeline__step {
  text-align: center;
  font-size: 0.625rem;
  border-radius: 999px;
  padding: 0.2rem;
  color: var(--text-muted);
  background: #f3ece4;
}

.m-booking-timeline__step.is-on {
  color: var(--mahogany);
  background: rgba(211, 107, 43, 0.18);
}

.m-booking-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.m-booking-actions .btn {
  flex: 1;
  min-width: 7rem;
  justify-content: center;
}

/* Blog article */
.m-page--article {
  padding-bottom: 1rem;
}

.m-article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--peach);
  border-radius: 0 0 16px 16px;
}

.m-article-head {
  padding: 1rem var(--pad) 0.35rem;
}

.m-article-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mahogany);
  margin: 0 0 0.25rem;
}

.m-article-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.m-article-body {
  padding: 0 var(--pad) 4.8rem;
}

.m-article-body p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.15rem;
}

.m-related {
  padding: 0 var(--pad) 5.2rem;
  background: var(--cream);
}

.m-related h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--mahogany);
}

.m-related__scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.m-related-card {
  flex: 0 0 8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.m-related-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--peach);
}

.m-related-card span {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.3;
}

.m-reading-progress {
  position: fixed;
  right: 0.75rem;
  bottom: 5.25rem;
  z-index: 350;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mahogany);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(74, 28, 20, 0.12);
}

.m-reader-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  z-index: 340;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem var(--pad) calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(253, 248, 242, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.m-reader-actions .btn {
  justify-content: center;
}

/* Account */
.m-profile {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  padding: 1rem var(--pad);
  margin-bottom: 0.5rem;
}

.m-profile__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--mahogany);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.m-profile h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--mahogany);
}

.m-profile p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-menu-list {
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
}

.m-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mahogany);
}

.m-menu-list span:first-child {
  font-size: 1.125rem;
}

.m-logout {
  display: block;
  width: calc(100% - 2rem);
  margin: 1.5rem auto 1rem;
  padding: 0.75rem;
  text-align: center;
  color: #c0392b;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  border: none;
}

/* Slightly larger phones */
@media (min-width: 390px) {
  .hero__title {
    font-size: 1.5rem;
  }

  .value-bar__item {
    flex: 0 0 58%;
  }

  .m-puja-grid__item .puja-icons__ring {
    width: 4.25rem;
    height: 4.25rem;
  }
}

/* ── Pandits page (mobile) ── */
.m-app--pandits .m-main--pandits {
  padding-bottom: 0;
}

.m-pandits-hero {
  position: relative;
  margin: 0;
  padding: 1.2rem var(--pad) 1.35rem;
  min-height: clamp(13rem, 52vw, 16rem);
  overflow: hidden;
  border-radius: 0 0 1.25rem 1.25rem;
  background: var(--cream-dark);
}

.m-pandits-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("assets/images/hero-priest.jpg") 82% 22% / cover no-repeat;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.m-pandits-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(253, 248, 242, 0.98) 0%,
    rgba(253, 248, 242, 0.94) 35%,
    rgba(253, 248, 242, 0.55) 62%,
    rgba(253, 248, 242, 0.12) 85%
  );
}

.m-pandits-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

@media (min-width: 360px) {
  .m-pandits-hero__copy {
    max-width: 82%;
  }
}

.m-pandits-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 6.5vw, 2rem);
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.m-pandits-hero__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1rem;
}

.m-pandits-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem 0.3rem;
  list-style: none;
  max-width: 100%;
}

.m-pandits-values li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  min-width: 0;
}

.m-pandits-values__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(211, 107, 43, 0.3);
}

.m-pandits-values__icon svg {
  stroke: currentColor;
}

.m-pandits-values__icon--rupee {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

.m-pandits-values li > span:last-child {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.25;
}

@media (max-width: 360px) {
  .m-pandits-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.4rem;
  }
}

.m-pandits-finder {
  padding: 0.5rem var(--pad) 0.65rem;
}

.m-pandits-finder__head {
  margin-bottom: 1rem;
}

.m-pandits-finder__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.45rem;
}

.m-pandits-finder__eyebrow-mark {
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.m-pandits-finder__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.m-pandits-finder__title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 5.5vw, 1.65rem);
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.15;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.m-pandits-finder__lede {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.m-pandits-finder__stat {
  flex-shrink: 0;
  margin: 0.15rem 0 0;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  color: var(--orange);
  background: rgba(211, 107, 43, 0.1);
  border: 1px solid rgba(211, 107, 43, 0.14);
  max-width: 5.5rem;
}

.m-pandits-filter-card {
  background: var(--white);
  border: 1px solid rgba(74, 28, 20, 0.08);
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow:
    0 16px 36px rgba(74, 28, 20, 0.07),
    0 1px 2px rgba(74, 28, 20, 0.04);
}

.m-pandits-filter-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.m-pandits-filter-row {
  display: flex;
  align-items: stretch;
  gap: 0.7rem;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(253, 248, 242, 0.55) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(74, 28, 20, 0.07);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.m-pandits-filter-row:focus-within {
  border-color: rgba(211, 107, 43, 0.35);
  box-shadow: 0 0 0 3px rgba(211, 107, 43, 0.1);
}

.m-pandits-filter-row__icon {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  margin-top: 0.1rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: linear-gradient(145deg, rgba(211, 107, 43, 0.18), rgba(211, 107, 43, 0.05));
  border: 1px solid rgba(211, 107, 43, 0.14);
}

.m-pandits-filter-row__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.m-pandits-filter-row__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.m-pandits-filter-row__field {
  position: relative;
  display: block;
}

.m-pandits-filter-row__field::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  opacity: 0.55;
}

.m-pandits-filter-row__field select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mahogany);
  padding: 0.1rem 1.25rem 0.1rem 0;
  min-height: 1.75rem;
  cursor: pointer;
  appearance: none;
}

.m-pandits-filter-row__field--input::after {
  display: none;
}

.m-pandits-filter-row__field--input input {
  width: 100%;
  border: 1px solid rgba(74, 28, 20, 0.1);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--mahogany);
  padding: 0.55rem 0.65rem;
  min-height: 2.35rem;
}

.m-pandits-filter-row__field--input input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.m-pandits-filter-row__field--input input:focus {
  border-color: rgba(211, 107, 43, 0.4);
  box-shadow: 0 0 0 3px rgba(211, 107, 43, 0.1);
}

.m-pandits-filter-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m-pandits-filter-card__apply {
  width: 100%;
  min-height: 3rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 14px;
}

.m-pandits-filter-card__clear {
  width: 100%;
  padding: 0.35rem;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.m-pandits-trust {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.65rem;
}

.m-pandits-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
}

.m-pandits-trust svg {
  color: var(--orange);
  flex-shrink: 0;
}

.m-pujas-sort--pandits {
  margin: 0 var(--pad) 0.85rem;
}

.m-pandits-filter-wrap {
  padding: 0 var(--pad) 1rem;
}

.pandits-filter--mobile {
  background: linear-gradient(180deg, #fff 0%, rgba(253, 248, 242, 0.65) 100%);
  border: 1px solid rgba(211, 107, 43, 0.12);
  border-radius: 16px;
  padding: 1rem 1rem 0.9rem;
  box-shadow:
    0 14px 32px rgba(74, 28, 20, 0.08),
    0 1px 2px rgba(74, 28, 20, 0.04);
}

.pandits-filter {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.pandits-filter__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.65rem;
  margin-bottom: 0.85rem;
}

.pandits-filter__cell--wide {
  grid-column: 1 / -1;
}

.pandits-filter__cell {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.pandits-filter__label {
  font-size: 0.59375rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 0.1rem;
}

.pandits-filter__field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid rgba(74, 28, 20, 0.1);
  border-radius: 12px;
  padding: 0 0.6rem;
  min-height: 2.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pandits-filter__field:focus-within {
  border-color: rgba(211, 107, 43, 0.45);
  box-shadow: 0 0 0 3px rgba(211, 107, 43, 0.1);
}

.pandits-filter--mobile .pandits-filter__icon {
  color: var(--orange);
}

.pandits-filter__icon {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
}

.pandits-filter__field input,
.pandits-filter__field select {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--mahogany);
  background: transparent;
  height: 2.5rem;
}

.pandits-filter__field select {
  cursor: pointer;
  appearance: none;
}

.pandits-filter__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.pandits-filter__submit,
.pandits-filter__clear {
  min-height: 2.75rem;
  font-size: 0.8125rem;
  width: 100%;
}

.pandits-filter__hint {
  margin: 0;
  font-size: 0.625rem;
  line-height: 1.45;
  text-align: center;
  color: var(--text-muted);
}

.pandits-filter__submit--full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
}

.m-pandits-list-wrap {
  padding: 0 var(--pad) 1rem;
}

.m-pandits-list__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.m-pandits-list__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mahogany);
  margin: 0;
}

.m-pandits-list__count {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.pandit-listing {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.pandit-listing__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
}

.pandit-listing__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.pandit-listing__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 0.9rem 1rem;
}

.pandit-listing__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  align-self: flex-start;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(211, 107, 43, 0.1);
  border: 1px solid rgba(211, 107, 43, 0.18);
  padding: 0.15rem 0.35rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.35rem;
}

.pandit-listing__name {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.25;
  margin-bottom: 0.15rem;
}

.pandit-listing__role {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  min-height: 2.1em;
}

.pandit-listing__meta {
  list-style: none;
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pandit-listing__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.pandit-listing__meta svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.08rem;
}

.pandit-listing__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.55rem;
}

.pandit-listing__tag {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mahogany);
  background: rgba(211, 107, 43, 0.1);
  border: 1px solid rgba(211, 107, 43, 0.14);
  padding: 0.15rem 0.35rem;
  border-radius: 5px;
}

.pandit-listing__cta {
  margin-top: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--orange);
}

.pandits-directory__grid--cards,
.pandits-directory__grid--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.pandits-banner {
  margin: 0 var(--pad) 1rem;
  padding: 1rem;
  background: linear-gradient(160deg, var(--cream), var(--peach));
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

@media (min-width: 440px) {
  .pandits-banner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .pandits-banner__illus {
    flex-shrink: 0;
  }

  .pandits-banner__copy {
    flex: 1;
    min-width: 0;
  }

  .pandits-banner__actions {
    flex: 0 0 auto;
    width: 10.5rem;
  }
}

.pandits-banner__illus {
  width: 4.5rem;
  height: auto;
}

.pandits-banner__copy h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.25rem;
}

.pandits-banner__copy p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pandits-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.pandits-banner__actions .btn {
  width: 100%;
  justify-content: center;
}

.pandits-banner__actions .btn--outline {
  background: var(--white);
}

.m-subheader__menu {
  border: none;
  background: transparent;
  color: var(--mahogany);
  padding: 0.25rem;
  cursor: pointer;
}

.m-subheader__spacer {
  width: 2.25rem;
}

.m-page--blogs {
  padding-bottom: 1rem;
}

.m-blog-hero {
  margin: 0 var(--pad) 1rem;
  border-radius: 14px;
  overflow: hidden;
}

.m-blog-hero__link {
  display: block;
  min-height: 10rem;
  padding: 1.25rem;
  background-size: cover;
  background-position: center;
  color: var(--cream);
  text-decoration: none;
  position: relative;
}

.m-blog-hero__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 28, 20, 0.85), transparent 60%);
}

.m-blog-hero__link > * {
  position: relative;
  z-index: 1;
}

/* ── Auth (mobile) ── */
body.m-auth-app {
  padding: 0 !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  background: #f3ebe2;
}

.m-auth-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.m-auth-hero {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) var(--pad) 1rem;
  background: linear-gradient(160deg, #5c2218 0%, var(--mahogany) 50%, #3a1510 100%);
  color: var(--cream);
}

.m-auth-hero--pandit {
  background: linear-gradient(180deg, #5c2218, var(--mahogany));
}

.m-auth-hero__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--cream);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.m-auth-hero__brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.m-auth-hero__brand .brand__icon {
  display: block;
  width: auto;
  height: 2.35rem;
  max-width: min(100%, 7.5rem);
  object-fit: contain;
  background: #fff;
  border-radius: 0.625rem;
  padding: 0.4rem 0.6rem;
  box-sizing: content-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.m-auth-hero__trust {
  justify-self: end;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(253, 248, 242, 0.85);
}

.m-auth-sheet {
  flex: 1;
  margin-top: -14px;
  background: var(--white);
  border-radius: 22px 22px 0 0;
  padding: 1.35rem var(--pad) calc(1.75rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(74, 28, 20, 0.1);
}

.m-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 1.1rem;
  background: #f5ebe3;
  border-radius: 12px;
}

.m-auth-tabs__btn {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem;
  border-radius: 10px;
  color: var(--text-muted);
}

.m-auth-tabs__btn.is-active {
  background: var(--white);
  color: var(--mahogany);
  box-shadow: 0 1px 4px rgba(74, 28, 20, 0.1);
}

.m-auth-sheet__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--mahogany);
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.m-auth-sheet__lead {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  line-height: 1.5;
}

.m-auth-field {
  display: block;
  margin-bottom: 0.75rem;
}

.m-auth-field__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.3rem;
}

.m-auth-field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e8ddd2;
  border-radius: 10px;
  font: inherit;
  font-size: 0.9375rem;
  background: #fefcf9;
}

.m-auth-field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(211, 107, 43, 0.15);
}

.m-auth-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
}

.m-auth-link {
  font-weight: 600;
  color: var(--orange);
}

.m-auth-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.m-auth-check--block {
  align-items: flex-start;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.m-auth-submit {
  width: 100%;
  padding: 0.8rem;
  border-radius: 12px;
  margin-top: 0.15rem;
}

.m-auth-hint {
  min-height: 1rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
}

.m-auth-or {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.15rem 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.m-auth-or::before,
.m-auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ebe2d8;
}

.m-auth-external {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid #e8ddd2;
  background: #fefcf9;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mahogany);
}

.m-auth-trust-note {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.m-auth-register .m-auth-sheet {
  padding-top: 1.5rem;
}

.m-auth-register .m-auth-field {
  margin-bottom: 0.85rem;
}

.m-auth-register .m-auth-hint {
  color: var(--text-muted);
  margin-top: 0.55rem;
}

.m-auth-pandit-onboard .m-auth-sheet {
  padding-top: 1.45rem;
}

.m-auth-docs {
  margin: 0.25rem 0 0.8rem;
  background: #fdf8f2;
  border: 1px dashed rgba(74, 28, 20, 0.2);
  border-radius: 12px;
  padding: 0.7rem;
}

.m-auth-docs__title {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mahogany);
}

.m-auth-doc {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.m-auth-doc:last-child {
  margin-bottom: 0;
}

.m-auth-doc span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-auth-doc input[type="file"] {
  width: 100%;
  font: inherit;
  font-size: 0.75rem;
  color: var(--mahogany);
}

.m-auth-foot {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  line-height: 1.55;
}

.m-auth-foot a {
  font-weight: 600;
  color: var(--orange);
}

.m-auth-success {
  text-align: center;
  padding: 0.5rem 0;
}

.m-auth-success__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: rgba(211, 107, 43, 0.15);
  color: var(--orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-auth-success__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--mahogany);
  margin: 0 0 0.75rem;
}

.m-auth-success .btn {
  width: 100%;
  margin-top: 0.45rem;
  justify-content: center;
}

.m-drawer__auth {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.75rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.m-drawer__auth a {
  font-weight: 600;
  color: var(--mahogany);
}

.m-account-guest {
  text-align: center;
  padding: 2rem 0.5rem;
}

.m-account-guest__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--peach);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-account-guest h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--mahogany);
  margin: 0 0 0.5rem;
}

.m-account-guest p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.m-account-guest__btn {
  width: 100%;
  margin-bottom: 0.5rem;
  justify-content: center;
}

.m-account-guest__pandit {
  font-size: 0.75rem;
  margin-top: 1rem;
  color: var(--text-muted);
}

.m-account-guest__pandit a {
  font-weight: 600;
  color: var(--orange);
}

.m-profile__role {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
}

.m-account-page {
  padding: 0 var(--pad) calc(var(--tabbar-h) + 1rem);
}

.m-account-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  margin-bottom: 0.8rem;
}

.m-account-profile h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--mahogany);
}

.m-account-profile p {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.m-account-group {
  margin-bottom: 0.8rem;
}

.m-account-group .m-section-label {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
}

.m-account-group .m-menu-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.m-account-group .m-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid rgba(74, 28, 20, 0.08);
  font-size: 0.875rem;
  color: var(--mahogany);
}

.m-account-group .m-menu-list a:last-child {
  border-bottom: none;
}

.m-account-group .m-menu-list a em {
  font-style: normal;
  color: var(--text-muted);
}

.m-account-prefs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
}

.m-account-prefs__label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.m-account-prefs .m-chips {
  margin-bottom: 0.55rem;
}

.m-account-prefs .m-chip {
  pointer-events: none;
}

.m-account-version {
  text-align: center;
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-wallet-page {
  padding: 0 var(--pad) calc(var(--tabbar-h) + 1rem);
}

.m-wallet-hero {
  background: linear-gradient(145deg, #ffffff, #fbf5ee);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 10px 24px rgba(74, 28, 20, 0.08);
  margin-bottom: 0.85rem;
}

.m-wallet-hero__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.m-wallet-hero__amount {
  margin: 0.2rem 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--mahogany);
}

.m-wallet-hero__sub {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-wallet-hero__ctas {
  display: flex;
  gap: 0.5rem;
}

.m-wallet-hero__ctas .btn {
  flex: 1;
  justify-content: center;
}

.m-wallet-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.25rem;
  margin-bottom: 0.8rem;
}

.m-wallet-filter {
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0.45rem 0.2rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.m-wallet-filter.is-active {
  background: rgba(211, 107, 43, 0.15);
  color: var(--mahogany);
}

.m-wallet-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.m-wallet-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.m-wallet-item h4 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mahogany);
}

.m-wallet-item p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-wallet-item__amount {
  font-size: 0.875rem;
  font-weight: 700;
}

.m-wallet-item__amount.is-credit,
.m-wallet-item__amount.is-refund {
  color: #1f6a3a;
}

.m-wallet-item__amount.is-debit {
  color: #8f1f1f;
}

.m-wallet-rewards {
  margin-bottom: 0.6rem;
}

.m-wallet-reward-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
}

.m-wallet-reward-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--mahogany);
}

.m-wallet-reward-card__text {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.m-about-page {
  padding: 0 var(--pad) calc(var(--tabbar-h) + 1rem);
}

.m-about-hero {
  background: linear-gradient(160deg, rgba(74, 28, 20, 0.95), rgba(88, 34, 23, 0.92));
  color: var(--cream);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.m-about-hero__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 248, 242, 0.75);
}

.m-about-hero__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.35;
}

.m-about-hero__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(253, 248, 242, 0.95);
}

.m-about-cards {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.m-about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
}

.m-about-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--mahogany);
}

.m-about-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text);
}

.m-about-trust {
  margin-bottom: 0.8rem;
}

.m-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.m-about-stats article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
}

.m-about-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--mahogany);
}

.m-about-stats span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.m-about-community {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.m-about-community p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text);
}

.m-about-actions {
  display: grid;
  gap: 0.45rem;
}

.m-language-setting {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.m-language-setting select {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fefcf9;
  padding: 0.65rem 0.7rem;
  font: inherit;
  color: var(--mahogany);
}

.m-lang-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 12, 10, 0.48);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.m-lang-modal__card {
  width: min(100%, 24rem);
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(74, 28, 20, 0.2);
}

.m-lang-modal__card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  color: var(--mahogany);
}

.m-lang-modal__card p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.m-lang-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.m-blog-hero__cat {
  display: inline-block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.m-blog-hero__link h2 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.m-blog-hero__meta {
  font-size: 0.75rem;
  opacity: 0.9;
}

.m-blog-cats {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 var(--pad) 1rem;
  -webkit-overflow-scrolling: touch;
}

.m-blogs-search {
  margin: 0 var(--pad) 0.85rem;
}

.m-blog-cat {
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  color: var(--mahogany);
  cursor: pointer;
}

.m-blog-cat.is-active {
  background: var(--mahogany);
  color: var(--cream);
  border-color: var(--mahogany);
}

.m-blog-section {
  padding: 0 var(--pad) 1.25rem;
}

.blog-latest-row--reading {
  display: grid;
  grid-template-columns: 5.25rem 1fr;
  gap: 0.65rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.45rem;
  margin-bottom: 0.55rem;
}

.blog-latest-row--reading .blog-latest-row__thumb {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 10px;
  object-fit: cover;
}

.blog-latest-row__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.97rem;
  line-height: 1.35;
  color: var(--mahogany);
}

.blog-latest-row__excerpt {
  margin: 0.25rem 0 0.3rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.m-blog-hero__excerpt {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(253, 248, 242, 0.95);
}

.m-section-label {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 0.75rem;
}

.m-newsletter {
  margin: 0 var(--pad) 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.m-newsletter h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--mahogany);
  margin-bottom: 0.35rem;
}

.m-newsletter p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.m-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m-newsletter__form input {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
}

.m-page--prose {
  padding: 1rem var(--pad) 5.5rem;
}

.m-lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1rem;
}

.m-card-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.m-card-block h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--mahogany);
  margin-bottom: 0.35rem;
}

.m-card-block p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.m-checklist {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text);
}

.m-checklist li {
  padding: 0.25rem 0 0.25rem 1.25rem;
  position: relative;
}

.m-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
}

.m-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.m-contact-info {
  list-style: none;
  margin: 0 var(--pad) 1rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.m-contact-info li {
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border);
}

.m-contact-info li:last-child {
  border-bottom: none;
}

.m-contact-info strong {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.m-contact-info a {
  color: var(--orange);
  font-weight: 600;
}

.m-support-page {
  padding: 0 var(--pad) calc(var(--tabbar-h) + 1rem);
}

.m-support-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.m-support-action {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.45rem;
  text-align: center;
}

.m-support-action strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--mahogany);
}

.m-support-action span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.m-support-issues {
  margin-bottom: 0.8rem;
}

.m-support-faq {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  margin-top: 0.8rem;
}

.m-support-faq details {
  border-bottom: 1px solid rgba(74, 28, 20, 0.08);
  padding: 0.5rem 0;
}

.m-support-faq details:last-child {
  border-bottom: none;
}

.m-support-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--mahogany);
  font-size: 0.85rem;
}

.m-support-faq p {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.m-support-note {
  margin-top: 0.75rem;
  background: #fff9f3;
  border: 1px solid rgba(211, 107, 43, 0.2);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
}

.m-support-note p {
  margin: 0.2rem 0;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
}

.m-empty {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 1rem;
}

.m-booking-detail-page {
  padding-bottom: 2rem;
}

.m-detail-id {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.m-detail-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--mahogany);
  margin-bottom: 0.5rem;
}

.m-detail-status {
  margin-bottom: 1rem;
}

.m-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.m-detail-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.m-detail-scheduled {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
}

.m-detail-scheduled strong {
  color: var(--mahogany);
}

.m-detail-row {
  font-size: 0.875rem;
  color: var(--mahogany);
  margin: 0;
}

.m-detail-row--muted {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.m-detail-pay {
  display: grid;
  gap: 0.45rem;
}

.m-detail-pay div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

.m-detail-pay dt {
  color: var(--text-muted);
}

.m-detail-pay dd {
  font-weight: 600;
  color: var(--mahogany);
}

.m-detail-pay__total {
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.m-detail-pay__total dd {
  color: var(--orange);
}

.m-detail-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.m-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.m-booking-actions .btn {
  flex: 1 1 auto;
  min-width: calc(50% - 0.25rem);
  font-size: 0.75rem;
  padding: 0.45rem 0.5rem;
}

/* Palette-only — cream / peach / orange / mahogany */
.m-booking-badge.is-confirmed,
.m-booking-badge.is-assigned,
.m-booking-badge.is-pending,
.puja-samagri__check,
.pandit-profile__verified,
.pandit-listing__verified {
  background: rgba(211, 107, 43, 0.12) !important;
  color: var(--mahogany) !important;
  border-color: rgba(211, 107, 43, 0.2) !important;
}

.puja-samagri__check::after {
  border-color: var(--orange) !important;
}

[class*="is-confirmed"],
[class*="is-success"],
[class*="__verified"] {
  color: var(--orange) !important;
}

