/* ==========================================================================
   SLV Temple Consultancy — Devotee Module Design System
   Independent from admin.css / dashboard.css. Do not share classes.
   ========================================================================== */

/* ---------- 01. Tokens ---------- */
:root {
  /* Brand — softened, customer-facing */
  --gold: #C79A3C;
  --gold-light: #E7C878;
  --gold-pale: #F6E8C8;
  --maroon: #6E1423;
  --maroon-dark: #551019;
  --cream: #FFFBF4;
  --ivory: #FFF7EA;
  --beige: #F4E9D6;
  --sand: #EFE1C4;

  --brown-900: #2A1F16;
  --brown-800: #3B2C1E;
  --brown-600: #6B5642;
  --brown-400: #8A7358;
  --charcoal: #241C14;

  --white: #FFFFFF;
  --border: #E9DCC0;
  --border-soft: #F0E6D2;

  --success: #2E7D4F;
  --success-bg: #E7F5EC;
  --warning: #B9862F;
  --warning-bg: #FBF0DD;
  --error: #C4443A;
  --error-bg: #FBEAE8;
  --info: #3B6FA0;
  --info-bg: #EAF2FA;

  /* Category accents — muted, one per Home category tile (icon color + pale icon-well bg) */
  --cat-pooja: var(--gold);
  --cat-pooja-bg: var(--gold-pale);
  --cat-homa: #8A5A2E;
  --cat-homa-bg: #F3E6D8;
  --cat-priest: #5E8266;
  --cat-priest-bg: #E7EFE5;
  --cat-consultancy: var(--brown-900);
  --cat-consultancy-bg: #EAE2D6;
  --cat-agama: #A9793C;
  --cat-agama-bg: #F3E7D2;
  --cat-samskara: #7A2E3A;
  --cat-samskara-bg: #F3E0E1;

  --text-heading: var(--brown-900);
  --text-body: var(--brown-600);
  --text-muted: var(--brown-400);
  --text-on-dark: #FBF3E3;

  --bg-page: var(--cream);
  --bg-surface: var(--white);
  --bg-alt: var(--ivory);

  /* Typography */
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --font-button: "Poppins", sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42, 31, 22, 0.06);
  --shadow-md: 0 10px 30px rgba(42, 31, 22, 0.10);
  --shadow-lg: 0 24px 60px rgba(42, 31, 22, 0.16);
  --shadow-gold: 0 14px 34px rgba(199, 154, 60, 0.28);
  --shadow-maroon: 0 14px 34px rgba(110, 20, 35, 0.30);

  /* Layout */
  --container-max: 1440px;
  --nav-height: 76px;
  --nav-height-mobile: 64px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.18s;
  --dur: 0.32s;
  --dur-slow: 0.6s;
}

/* ---------- 02. Reset ---------- */
.devotee *,
.devotee *::before,
.devotee *::after {
  box-sizing: border-box;
}

.devotee {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* ── Footer fix: make body a flex column so dv-app-body can grow ── */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.devotee img {
  max-width: 100%;
  display: block;
}

.devotee a {
  /* color: inherit; */
  text-decoration: none;
}

.devotee ul,
.devotee ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.devotee button {
  font-family: inherit;
  cursor: pointer;
}

.devotee input,
.devotee select,
.devotee textarea {
  font-family: inherit;
  font-size: 1rem;
}

.devotee svg {
  display: block;
}

.devotee h1,
.devotee h2,
.devotee h3,
.devotee h4,
.devotee h5 {
  font-family: var(--font-button);
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.devotee h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 700;
}

.devotee h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 600;
}

.devotee h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.devotee h4 {
  font-size: 1.15rem;
}

.devotee p {
  margin: 0 0 1em;
}

.devotee .devotee-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-button);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9em;
}

.devotee .devotee-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- 03. Layout helpers ---------- */
.dv-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 14px;
}

@media (min-width: 768px) {
  .dv-container {
    padding-inline: 28px;
  }
}

@media (min-width: 1280px) {
  .dv-container {
    padding-inline: 32px;
  }
}

@media (min-width: 1600px) {
  .dv-container {
    padding-inline: 48px;
  }
}

.dv-section {
  padding-block: clamp(48px, 8vw, 96px);
}

@media (max-width: 767px) {
  .dv-section {
    padding-block: 32px;
  }
}

.dv-section--alt {
  background: var(--bg-alt);
}

.dv-section--dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
}

.dv-section--dark h2,
.dv-section--dark h3,
.dv-section--dark h4 {
  color: var(--white);
}

.dv-section--dark p {
  color: rgba(251, 243, 227, 0.72);
}

.dv-section-head {
  max-width: 640px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.dv-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.dv-section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.dv-grid {
  display: grid;
  gap: 24px;
}

.dv-grid--2 {
  grid-template-columns: repeat(1, 1fr);
}

.dv-grid--3 {
  grid-template-columns: repeat(1, 1fr);
}

.dv-grid--4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 576px) {
  .dv-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dv-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .dv-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .dv-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .dv-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Wide desktop: gain a column instead of letting cards stretch to fill the wider container */
@media (min-width: 1400px) {
  .dv-grid--3 {
    grid-template-columns: repeat(4, 1fr);
  }

  .dv-grid--4 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.dv-flex {
  display: flex;
  align-items: center;
}

.dv-flex--between {
  justify-content: space-between;
}

.dv-flex--wrap {
  flex-wrap: wrap;
}

.dv-gap-sm {
  gap: 10px;
}

.dv-gap {
  gap: 16px;
}

.dv-gap-lg {
  gap: 28px;
}

/* ---------- 04. Buttons ---------- */
.dv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-button);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  min-height: 50px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
  touch-action: manipulation;
}

.dv-btn:active {
  transform: scale(0.97);
}

.dv-btn--primary {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--text-on-dark);
  box-shadow: var(--shadow-maroon);
}

.dv-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(110, 20, 35, 0.38);
}

.dv-btn--outline {
  background: var(--ivory);
  color: var(--brown-900);
  border-color: var(--border);
}

.dv-btn--outline:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.dv-btn--ghost {
  background: transparent;
  color: var(--gold);
  padding-inline: 6px;
  min-height: auto;
}

.dv-btn--ghost:hover {
  color: var(--brown-900);
}

.dv-btn--dark {
  background: var(--brown-900);
  color: var(--white);
}

.dv-btn--dark:hover {
  transform: translateY(-2px);
  background: var(--charcoal);
}

.dv-btn--success {
  background: var(--success);
  color: var(--white);
}

.dv-btn--success:hover {
  transform: translateY(-2px);
  background: #256B42;
}

.dv-btn--sm {
  padding: 10px 20px;
  min-height: 40px;
  font-size: 0.86rem;
}

.dv-btn--block {
  width: 100%;
}

.dv-btn--icon-only {
  padding: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.dv-btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- 05. Navigation ---------- */
.dv-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 251, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-height-mobile);
  display: flex;
  align-items: center;
  transition: box-shadow var(--dur) var(--ease);
}

@media (min-width: 992px) {
  .dv-nav {
    height: var(--nav-height);
  }
}

.dv-nav.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.dv-nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 768px) {
  .dv-nav-inner {
    padding-inline: 28px;
  }
}

.dv-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dv-nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.dv-nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-heading);
  line-height: 1.1;
}

.dv-nav-logo-text span {
  display: block;
  font-family: var(--font-button);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}

.dv-nav-links {
  display: none;
  align-items: center;
  gap: 34px;
}

@media (min-width: 992px) {
  .dv-nav-links {
    display: flex;
  }
}

.dv-nav-links a {
  font-family: var(--font-button);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brown-800);
  position: relative;
  padding-block: 6px;
}

.dv-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
  border-radius: 2px;
}

.dv-nav-links a:hover::after,
.dv-nav-links a.is-active::after {
  width: 100%;
}

.dv-nav-links a.is-active {
  color: var(--gold);
}

.dv-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dv-nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--brown-800);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.dv-nav-icon-btn:hover {
  border-color: var(--gold);
}

.dv-nav-icon-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.dv-nav-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--error);
  border: 2px solid var(--bg-surface);
}

.dv-nav-cta {
  display: none;
}

@media (min-width: 992px) {
  .dv-nav-cta {
    display: inline-flex;
  }
}

.dv-nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
}

@media (min-width: 992px) {
  .dv-nav-burger {
    display: none;
  }
}

.dv-nav-burger span,
.dv-nav-burger span::before,
.dv-nav-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brown-900);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  position: relative;
}

.dv-nav-burger span::before,
.dv-nav-burger span::after {
  content: "";
  position: absolute;
}

.dv-nav-burger span::before {
  top: -6px;
}

.dv-nav-burger span::after {
  top: 6px;
}

.dv-nav-burger.is-open span {
  background: transparent;
}

.dv-nav-burger.is-open span::before {
  transform: rotate(45deg) translate(4px, 5px);
  background: var(--gold);
}

.dv-nav-burger.is-open span::after {
  transform: rotate(-45deg) translate(4px, -5px);
  background: var(--gold);
}

/* Mobile drawer */
.dv-mobile-drawer {
  position: fixed;
  inset: var(--nav-height-mobile) 0 0 0;
  background: var(--bg-surface);
  z-index: 999;
  padding: 24px 20px 32px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur);
}

.dv-mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.dv-mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-button);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--brown-800);
}

.dv-mobile-drawer a.is-active {
  color: var(--gold);
}

.dv-mobile-drawer .dv-btn {
  margin-top: 20px;
}

body.dv-lock {
  overflow: hidden;
}

/* ---------- 06. Hero ---------- */
.dv-hero {
  position: relative;
  padding-block: 44px clamp(48px, 9vw, 100px);
  background: radial-gradient(ellipse at top right, var(--gold-pale) 0%, var(--cream) 55%);
  overflow: hidden;
}

.dv-hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .dv-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
}

.dv-hero-copy p {
  font-size: 1.08rem;
  max-width: 52ch;
}

.dv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

@media (max-width: 480px) {
  .dv-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dv-hero-actions .dv-btn {
    width: 100%;
  }
}

.dv-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.dv-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dv-hero-trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-heading);
}

.dv-hero-trust-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dv-hero-media {
  position: relative;
}

.dv-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.dv-hero-float-card {
  position: absolute;
  left: -16px;
  bottom: -16px;
  background: var(--bg-surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
}

@media (min-width: 576px) {
  .dv-hero-float-card {
    left: -28px;
    bottom: -24px;
  }
}

.dv-hero-float-card .dv-icon-badge {
  flex-shrink: 0;
}

.dv-hero-float-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.dv-hero-float-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dv-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  color: var(--gold);
}

.dv-icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.dv-icon-badge--dark {
  background: var(--brown-900);
  color: var(--gold-light);
}

.dv-icon-badge--lg {
  width: 60px;
  height: 60px;
}

.dv-icon-badge--lg svg {
  width: 28px;
  height: 28px;
}

/* ---------- 07. Cards ---------- */
.dv-card {
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

/* Service / feature card */
.dv-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dv-service-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: visible;
  min-height: 0;
}

.dv-service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover lift/zoom only on devices with a real pointer — avoids "stuck hover"
   after a tap on touch screens, which reads as the image jumping/shifting. */
@media (hover: hover) and (pointer: fine) {
  .dv-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
  }

  .dv-service-card-media img {
    transition: transform var(--dur-slow) var(--ease);
  }

  .dv-service-card:hover .dv-service-card-media img {
    transform: scale(1.08);
  }
}

/* Centered on the image/body seam (not pinned to a corner) so it reads as
   an intentional badge rather than an edge-clipped icon. */
.dv-service-card-icon {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 251, 244, 0.96);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  color: var(--gold);
  z-index: 2;
}

.dv-service-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.dv-service-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(255, 251, 244, 0.92);
  color: #9C6F1E;
  font-family: var(--font-button);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
}

.dv-service-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dv-service-card-body h4 {
  margin-bottom: 8px;
  /* Service title: bold so it stands out from body text */
  font-weight: 700;
}

.dv-service-card-body p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.dv-service-card-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.dv-service-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  font-size: 1.1rem;
}

.dv-service-card-price span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dv-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-button);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold);
}

.dv-card-link svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur-fast) var(--ease);
}

.dv-service-card:hover .dv-card-link svg {
  transform: translateX(4px);
}

/* Testimonial */
.dv-testimonial-card {
  padding: 26px;
}

.dv-testimonial-stars {
  color: var(--gold);
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.dv-testimonial-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.dv-testimonial-card p {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--brown-800);
  font-style: italic;
}

.dv-testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.dv-testimonial-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.dv-testimonial-person strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.dv-testimonial-person span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ accordion */
.dv-faq {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-surface);
}

.dv-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-family: var(--font-button);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--brown-900);
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.dv-faq-q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  transition: transform var(--dur) var(--ease);
}

.dv-faq.is-open .dv-faq-q svg {
  transform: rotate(45deg);
}

.dv-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease);
}

.dv-faq-a-inner {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.dv-faq.is-open .dv-faq-a {
  max-height: 400px;
}

/* ---------- 08. Badges & status ---------- */
.dv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-button);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.dv-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dv-badge--requested {
  background: var(--info-bg);
  color: var(--info);
}

.dv-badge--confirmed {
  background: var(--gold-pale);
  color: var(--gold);
}

.dv-badge--assigned {
  background: var(--gold-pale);
  color: #9C6F1E;
}

.dv-badge--upcoming {
  background: var(--info-bg);
  color: var(--info);
}

.dv-badge--completed {
  background: var(--success-bg);
  color: var(--success);
}

.dv-badge--cancelled {
  background: var(--error-bg);
  color: var(--error);
}

/* ---------- 09. Forms ---------- */
.dv-form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

@media (min-width: 640px) {
  .dv-form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.dv-field {
  position: relative;
}

.dv-field input:not([type=checkbox]):not([type=radio]),
.dv-field select,
.dv-field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  padding: 21px 16px 7px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text-heading);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  min-height: 58px;
  appearance: none;
}

/* Keep inputs at >=16px on small screens — under that, iOS Safari auto-zooms on
   focus, which shifts the layout and reads as the label/value overlapping. */
@media (max-width: 480px) {

  .dv-field input:not([type=checkbox]):not([type=radio]),
  .dv-field select,
  .dv-field textarea {
    font-size: 16px;
  }
}

.dv-field textarea {
  min-height: 120px;
  padding-top: 24px;
  resize: vertical;
}

.dv-field input:focus,
.dv-field select:focus,
.dv-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-pale);
}

.dv-field label {
  position: absolute;
  left: 16px;
  top: 19px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--dur-fast) var(--ease);
  background: var(--bg-surface);
  padding-inline: 3px;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dv-field input:focus+label,
.dv-field input:not(:placeholder-shown)+label,
.dv-field select:focus+label,
.dv-field select.has-value+label,
.dv-field textarea:focus+label,
.dv-field textarea:not(:placeholder-shown)+label {
  top: -9px;
  left: 12px;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 600;
  max-width: calc(100% - 20px);
}

.dv-field select {
  cursor: pointer;
}

.dv-field-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.dv-field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.dv-field-error {
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 6px;
  display: none;
}

.dv-field-error.is-visible {
  display: block;
}

/* Invalid state (booking-step validation) */
.dv-field.is-invalid input:not([type=checkbox]):not([type=radio]),
.dv-field.is-invalid select,
.dv-field.is-invalid textarea {
  border-color: var(--error);
}

.dv-field.is-invalid input:focus,
.dv-field.is-invalid select:focus,
.dv-field.is-invalid textarea:focus {
  box-shadow: 0 0 0 4px var(--error-bg);
}

.dv-field.is-invalid label {
  color: var(--error);
}

.dv-check-group.is-invalid .dv-chip-option span {
  border-color: var(--error);
}

.dv-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dv-chip-option {
  position: relative;
}

.dv-chip-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.dv-chip-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brown-800);
  transition: all var(--dur-fast) var(--ease);
}

.dv-chip-option input:checked+span {
  background: var(--brown-900);
  border-color: var(--brown-900);
  color: var(--gold-light);
}

.dv-chip-option input:focus-visible+span {
  box-shadow: 0 0 0 3px var(--gold-pale);
}

/* Segmented filter (compact single-row control, same pattern as Priest Portal) */
.dv-seg {
  display: flex;
  gap: 2px;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  padding: 3px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dv-seg::-webkit-scrollbar {
  display: none;
}

.dv-seg-option {
  position: relative;
  flex: 0 0 auto;
}

@media (min-width: 640px) {
  .dv-seg-option {
    flex: 1;
  }
}

.dv-seg-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.dv-seg-option span {
  display: block;
  text-align: center;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-button);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease);
}

.dv-seg-option input:checked+span {
  background: var(--brown-900);
  color: var(--gold-light);
  box-shadow: var(--shadow-sm);
}

.dv-seg-option input:focus-visible+span {
  box-shadow: 0 0 0 3px var(--gold-pale);
}

.dv-upload {
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  position: relative;
}

.dv-upload:hover,
.dv-upload.is-dragover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.dv-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dv-upload svg {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.dv-upload strong {
  color: var(--brown-800);
}

/* ---------- 10. Booking wizard ---------- */
.dv-wizard-progress {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.dv-wizard-progress::-webkit-scrollbar {
  display: none;
}

.dv-wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 76px;
  position: relative;
}

.dv-wizard-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 0.86rem;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
  z-index: 1;
}

.dv-wizard-step-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.dv-wizard-step::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.dv-wizard-step:last-child::after {
  display: none;
}

.dv-wizard-step.is-active .dv-wizard-step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-900);
  box-shadow: 0 0 0 5px var(--gold-pale);
}

.dv-wizard-step.is-active .dv-wizard-step-label {
  color: var(--brown-900);
  font-weight: 700;
}

.dv-wizard-step.is-done .dv-wizard-step-num {
  background: var(--brown-900);
  border-color: var(--brown-900);
  color: var(--gold-light);
}

.dv-wizard-step.is-done::after {
  background: var(--brown-900);
}

.dv-wizard-panel {
  display: none;
  animation: dvFadeUp var(--dur-slow) var(--ease);
}

.dv-wizard-panel.is-active {
  display: block;
}

.dv-wizard-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 4vw, 40px);
}

.dv-wizard-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 560px) {
  .dv-wizard-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .dv-wizard-nav .dv-btn {
    width: 100%;
  }
}

.dv-option-card {
  position: relative;
}

.dv-option-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  z-index: 1;
}

.dv-option-card-body {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  transition: all var(--dur-fast) var(--ease);
  height: 100%;
}

.dv-option-card input:checked+.dv-option-card-body {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: 0 0 0 3px rgba(199, 154, 60, 0.15);
}

.dv-option-card.is-invalid .dv-option-card-body {
  border-color: var(--error);
}

.dv-option-card-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.dv-option-card-body span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Service preview (Booking Step 1: image / about / included / excluded) ── */
.dv-service-preview-media {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--beige);
}

.dv-service-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-service-preview-about {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.dv-service-preview-lists {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, 1fr);
  margin-top: 18px;
}

@media (min-width: 576px) {
  .dv-service-preview-lists {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dv-service-preview-list {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
}

.dv-service-preview-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.dv-service-preview-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dv-service-preview-list li {
  font-size: 0.84rem;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
}

.dv-service-preview-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.dv-service-preview-list--excluded li::before {
  content: "–";
  color: var(--text-muted);
}

.dv-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.92rem;
}

.dv-summary-row:last-of-type {
  border-bottom: none;
}

.dv-summary-row span:first-child {
  color: var(--text-muted);
}

.dv-summary-row span:last-child {
  color: var(--text-heading);
  font-weight: 600;
  text-align: right;
}

.dv-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-top: 16px; */
  /* padding-top: 16px; */
  border-top: 2px dashed var(--border);
}

.dv-summary-total strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-heading);
}

.dv-success-screen {
  text-align: center;
  padding-block: 20px;
}

.dv-success-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 24px;
  animation: dvPop 0.5s var(--ease);
}

.dv-success-icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- 11. Booking status timeline ---------- */
.dv-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dv-timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 32px;
}

.dv-timeline-item:last-child {
  padding-bottom: 0;
}

.dv-timeline-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  color: var(--text-muted);
  z-index: 1;
}

.dv-timeline-marker svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}

.dv-timeline-item::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.dv-timeline-item:last-child::after {
  display: none;
}

.dv-timeline-item.is-complete .dv-timeline-marker {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.dv-timeline-item.is-complete::after {
  background: var(--success);
}

.dv-timeline-item.is-current .dv-timeline-marker {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-900);
  box-shadow: 0 0 0 5px var(--gold-pale);
}

.dv-timeline-item.is-cancelled .dv-timeline-marker {
  background: var(--error);
  border-color: var(--error);
  color: var(--white);
}

.dv-timeline-content strong {
  display: block;
  color: var(--text-heading);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.dv-timeline-content span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 12. Booking cards (history) ---------- */
.dv-booking-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .dv-booking-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

@media (min-width: 640px) {
  .dv-booking-card {
    flex-direction: row;
    align-items: center;
  }
}

.dv-booking-card-img {
  width: 100%;
  height: 140px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .dv-booking-card-img {
    width: 120px;
    height: 100px;
  }
}

.dv-booking-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-booking-card-body {
  flex: 1;
  min-width: 0;
}

.dv-booking-card-body h4 {
  margin-bottom: 6px;
}

.dv-booking-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.dv-booking-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dv-booking-card-meta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dv-booking-card-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  justify-content: space-between;
  gap: 12px;
}

/* Button-pair action rows (e.g. "View Profile" + "Book") */
.dv-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 400px) {
  .dv-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dv-btn-row .dv-btn {
    width: 100%;
  }
}

.dv-booking-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
}

/* ---------- 13. Footer ---------- */
.dv-footer {
  background: var(--brown-900);
  color: rgba(251, 243, 227, 0.72);
  padding-block: 56px 24px;
}

.dv-footer-grid {
  display: grid;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .dv-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.dv-footer h5 {
  color: var(--white);
  font-family: var(--font-button);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.dv-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.dv-footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.dv-footer-brand strong {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.2rem;
}

.dv-footer p {
  font-size: 0.9rem;
}

.dv-footer-links a {
  display: block;
  padding-block: 7px;
  font-size: 0.9rem;
  transition: color var(--dur-fast) var(--ease);
}

.dv-footer-links a:hover {
  color: var(--gold-light);
}

.dv-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.dv-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(251, 243, 227, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}

.dv-footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown-900);
}

.dv-footer-social svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.dv-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 243, 227, 0.12);
  font-size: 0.82rem;
}

@media (min-width: 640px) {
  .dv-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- 14. Utilities ---------- */
.dv-text-center {
  text-align: center;
}

.dv-text-muted {
  color: var(--text-muted);
}

.dv-mt-0 {
  margin-top: 0;
}

.dv-mb-0 {
  margin-bottom: 0;
}

.dv-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-soft);
  padding: 12px 16px;
  box-shadow: 0 -8px 24px rgba(42, 31, 22, 0.08);
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (min-width: 992px) {
  .dv-sticky-cta {
    display: none;
  }
}

.dv-skeleton {
  background: linear-gradient(90deg, var(--border-soft) 25%, var(--beige) 37%, var(--border-soft) 63%);
  background-size: 400% 100%;
  animation: dvSkeleton 1.4s ease infinite;
  border-radius: var(--r-md);
}

/* ---------- 15. Animations ---------- */
@keyframes dvFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dvPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  70% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes dvSkeleton {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

@keyframes dvSpin {
  to {
    transform: rotate(360deg);
  }
}

.dv-spin {
  animation: dvSpin 1s linear infinite;
}

.dv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.dv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* On mobile, scroll-reveal fades only — no vertical shift, so card images
   never appear to move/jump as they enter the viewport while scrolling. */
@media (max-width: 767px) {
  .dv-reveal {
    transform: none;
    transition: opacity 0.5s var(--ease);
  }

  .dv-reveal.is-visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .devotee * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 16. Page header (non-home pages) ---------- */
.dv-page-header {
  padding-block: 40px 44px;
  background: linear-gradient(135deg, var(--beige), var(--cream));
  text-align: center;
}

.dv-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.dv-breadcrumb a {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- 17. Responsive polish ---------- */
@media (max-width: 375px) {
  .dv-container {
    padding-inline: 12px;
  }

  .dv-btn {
    padding: 13px 22px;
    font-size: 0.88rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   18. APP SHELL — top app bar, bottom nav, home feed, app sub-header
   Booking-app chrome (Swiggy/Zomato/BookMyShow pattern), not a website nav.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --appbar-h: 58px;
  --bottomnav-h: 64px;
}

.dv-app-body {
  /* ── Footer fix: grow to fill remaining viewport space ── */
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  /* padding now handled on .dv-app-footer instead */
  min-height: 0;
}

/* Inner page content (everything before the footer) stretches to push footer down */
.dv-app-body> :not(.dv-app-footer) {
  /* content areas are block, footer will be pushed by margin-top: auto */
}

@media (min-width: 992px) {
  .dv-app-body {
    padding-bottom: 0;
  }
}

/* ── Top app bar ── */
.dv-appbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--appbar-h);
  background: rgba(255, 251, 244, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
}

.dv-appbar-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
}

@media (min-width: 768px) {
  .dv-appbar-inner {
    padding-inline: 24px;
  }
}

.dv-appbar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--brown-800);
  flex-shrink: 0;
  position: relative;
}

.dv-appbar-icon-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.dv-appbar-icon-btn .dv-nav-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--error);
  border: 2px solid var(--bg-surface);
}

.dv-appbar-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 140px);
}

.dv-appbar-brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.dv-appbar-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Below this, the full wordmark risks colliding with the burger/bell icons — show logo only. */
@media (max-width: 380px) {
  .dv-appbar-brand span {
    display: none;
  }
}

@media (min-width: 992px) {
  .dv-appbar-brand {
    position: static;
    transform: none;
    max-width: none;
  }
}

.dv-appbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Desktop primary nav folds into the app bar; no separate desktop shell */
.dv-appbar-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
}

@media (min-width: 992px) {
  .dv-appbar-nav {
    display: flex;
  }
}

.dv-appbar-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-button);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brown-600);
}

.dv-appbar-nav-item svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.dv-appbar-nav-item:hover {
  background: var(--gold-pale);
  color: var(--brown-900);
}

.dv-appbar-nav-item.is-active {
  background: var(--brown-900);
  color: var(--gold-light);
}

/* ── Notification dropdown ── */
.dv-notif {
  position: relative;
}

.dv-notif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 22, 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 1090;
  transition: opacity var(--dur) var(--ease);
}

.dv-notif-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .dv-notif-overlay {
    display: none;
  }
}

.dv-notif-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.dv-notif-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dv-notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.dv-notif-panel-head strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-heading);
}

.dv-notif-panel-head form {
  margin: 0;
}

.dv-notif-panel-list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.dv-notif-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: inherit;
}

.dv-notif-item:last-child {
  border-bottom: none;
}

.dv-notif-item:hover {
  background: var(--bg-alt);
}

.dv-notif-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: transparent;
}

.dv-notif-item.is-unread .dv-notif-item-dot {
  background: var(--gold);
}

.dv-notif-item:not(.is-unread) {
  opacity: 0.7;
}

.dv-notif-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dv-notif-item-body strong {
  font-size: 0.88rem;
  color: var(--text-heading);
  font-weight: 600;
}

.dv-notif-item-body span {
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dv-notif-item-body em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.dv-notif-panel-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.dv-notif-panel-foot {
  display: block;
  text-align: center;
  padding: 12px 16px;
  flex-shrink: 0;
  font-family: var(--font-button);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  border-top: 1px solid var(--border-soft);
}

.dv-notif-panel-foot:hover {
  background: var(--gold-pale);
}

/* ── Hamburger drawer (full menu — categories + about/contact/payments/logout) ── */
.dv-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 20, 0.4);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}

.dv-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.dv-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1100;
  width: min(84vw, 340px);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--dur) var(--ease);
  padding: 20px 6px 24px;
}

.dv-drawer.is-open {
  transform: translateX(0);
}

.dv-drawer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 8px;
}

.dv-drawer-header img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.dv-drawer-header strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-heading);
}

.dv-drawer-label {
  font-family: var(--font-button);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 16px 6px;
}

.dv-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font-button);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brown-800);
  margin-inline: 4px;
}

.dv-drawer a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  color: var(--gold);
  flex-shrink: 0;
}

.dv-drawer a:hover,
.dv-drawer a.is-active {
  background: var(--gold-pale);
}

.dv-drawer a.is-active {
  color: var(--brown-900);
  font-weight: 700;
}

/* ── App header block: greeting/search (home) or back+title (inner screens) ── */
.dv-app-header {
  /* padding-block: 16px 18px; */
}

.dv-app-header--home {
  padding-bottom: 6px;
}

.dv-greeting {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
}

.dv-greeting span {
  display: inline-block;
}

.dv-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 13px 18px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.dv-search-bar svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.dv-search-bar input {
  border: none;
  outline: none;
  background: none;
  flex: 1;
  font-size: 0.94rem;
  color: var(--text-heading);
}

.dv-search-bar input::placeholder {
  color: var(--text-muted);
}

.dv-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dv-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--gold-pale);
  color: var(--brown-900);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
}

.dv-info-chip svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dv-info-chip--muted {
  background: var(--bg-alt);
  color: var(--brown-600);
}

/* App sub-header (inner screens): back arrow + title */
.dv-subheader {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 12px;
}

.dv-subheader-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--brown-800);
  flex-shrink: 0;
}

.dv-subheader-back svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.dv-subheader h1 {
  font-size: 1.25rem;
  margin: 0;
}

.dv-subheader p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── App-style sections (tighter rhythm than marketing .dv-section) ── */
.dv-section-app {
  padding-block: 16px;
}

.dv-section-app-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}

.dv-section-app-head h3 {
  margin: 0;
  font-size: 1.15rem;
  /* Service section headings: stronger weight for clear hierarchy */
  font-weight: 700;
}

.dv-section-app-head a {
  font-family: var(--font-button);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Category rail (horizontal-scroll cards below — Popular/Featured strips) ── */
.dv-hscroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  margin-inline: -14px;
  padding-inline: 14px;
  scrollbar-width: none;
}

.dv-hscroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .dv-hscroll {
    margin-inline: 0;
    padding-inline: 0;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.dv-hscroll--tight {
  padding-inline: 10px;
}

@media (min-width: 768px) {
  .dv-hscroll--tight {
    padding-inline: 0;
  }
}

/* ── Category grid (compact, equal-size, colorful-but-controlled accent tiles) ── */
.dv-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 420px) {
  .dv-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .dv-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1100px) {
  .dv-cat-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.dv-cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 16px 8px 13px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.dv-cat-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.dv-cat-tile:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .dv-cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
  }
}

.dv-cat-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  flex-shrink: 0;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.dv-cat-tile-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
}

.dv-cat-tile-name {
  width: 100%;
  font-family: var(--font-button);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brown-900);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.4em;
}

.dv-cat-tile-label {
  width: 100%;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dv-cat-tile--pooja {
  --accent: var(--cat-pooja);
  --accent-bg: var(--cat-pooja-bg);
}

.dv-cat-tile--homa {
  --accent: var(--cat-homa);
  --accent-bg: var(--cat-homa-bg);
}

.dv-cat-tile--priest {
  --accent: var(--cat-priest);
  --accent-bg: var(--cat-priest-bg);
}

.dv-cat-tile--consultancy {
  --accent: var(--cat-consultancy);
  --accent-bg: var(--cat-consultancy-bg);
}

.dv-cat-tile--agama {
  --accent: var(--cat-agama);
  --accent-bg: var(--cat-agama-bg);
}

.dv-cat-tile--samskara {
  --accent: var(--cat-samskara);
  --accent-bg: var(--cat-samskara-bg);
}

/* ── Horizontal-scroll cards (Popular / Festival / Recommended) ── */
.dv-hscroll-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 216px;
}

.dv-hscroll-card .dv-service-card-media {
  aspect-ratio: 4/3;
}

@media (min-width: 576px) {
  .dv-hscroll-card {
    width: 240px;
  }
}

/* ── Empty state (Poojas / Homas listing with no records) ── */
.dv-empty-state {
  padding: 48px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.dv-empty-state-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.dv-empty-state-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.dv-empty-state-title {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.dv-empty-state p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
  margin: 0 0 16px;
}

.dv-empty-state .dv-btn {
  margin: 0;
}

/* ── Homa / Yagna cards: wider, image-focused, distinct from Pooja cards ── */
.dv-homa-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 576px) {
  .dv-homa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dv-homa-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dv-homa-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

@media (hover: hover) {
  .dv-homa-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
    transform: translateY(-4px);
  }

  .dv-homa-card-media img {
    transition: transform var(--dur-slow) var(--ease);
  }

  .dv-homa-card:hover .dv-homa-card-media img {
    transform: scale(1.06);
  }
}

.dv-homa-card-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.dv-homa-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-homa-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(120, 53, 15, 0.55), rgba(120, 53, 15, 0));
  pointer-events: none;
}

.dv-homa-card-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(42, 31, 22, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.dv-homa-card-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.dv-homa-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dv-homa-card-body h4 {
  margin-bottom: 6px;
  font-weight: 700;
}

.dv-homa-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dv-homa-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.dv-homa-card-body p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.dv-homa-hscroll-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 270px;
}

@media (min-width: 576px) {
  .dv-homa-hscroll-card {
    width: 300px;
  }
}

/* ── Priest preview tiles (Home "Book a Priest" section) ── */
.dv-priest-tile {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 168px;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding-bottom: 14px;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

@media (hover: hover) {
  .dv-priest-tile:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

.dv-priest-tile-photo {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--beige);
}

.dv-priest-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-priest-tile-body {
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dv-priest-tile-body h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.dv-priest-tile-lang,
.dv-priest-tile-spec {
  font-size: 0.74rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dv-priest-tile-loc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #9C6F1E;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
}

.dv-priest-tile-loc svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.dv-priest-tile-exp {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.dv-festival-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 260px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
}

.dv-festival-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-festival-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(36, 28, 20, 0.85) 0%, rgba(36, 28, 20, 0.15) 55%, transparent 75%);
}

.dv-festival-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--gold);
  color: var(--brown-900);
  font-family: var(--font-button);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

.dv-festival-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px;
  color: var(--white);
}

.dv-festival-card-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.dv-festival-card-body span {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* ── Agama Training cards (Home) — course/training style: duration ribbon over media, trainer meta line ── */
.dv-course-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 236px;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

@media (min-width: 576px) {
  .dv-course-card {
    width: 260px;
  }
}

@media (hover: hover) {
  .dv-course-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
    transform: translateY(-4px);
  }

  .dv-course-card-media img {
    transition: transform var(--dur-slow) var(--ease);
  }

  .dv-course-card:hover .dv-course-card-media img {
    transform: scale(1.06);
  }
}

.dv-course-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.dv-course-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-course-card-duration {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--brown-900);
  color: var(--gold-light);
  font-family: var(--font-button);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

.dv-course-card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dv-course-card-body h4 {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 700;
}

.dv-course-card-trainer {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dv-course-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px dashed var(--border-soft);
}

.dv-course-card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  font-size: 1rem;
}

/* ── Samskaras cards (Home) — compact occasion tiles, distinct from Pooja/Homa cards ── */
.dv-occasion-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 152px;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

@media (hover: hover) {
  .dv-occasion-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

.dv-occasion-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--beige);
}

.dv-occasion-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-occasion-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(36, 28, 20, 0.72);
  color: var(--gold-light, #E7C878);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.dv-occasion-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dv-occasion-card-body h4 {
  font-size: 0.86rem;
  margin: 0;
}

.dv-occasion-card-body p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.dv-occasion-card-price {
  font-size: 0.76rem;
  font-weight: 700;
  color: #9C6F1E;
  margin-top: 2px;
}

/* ── Feature banner (single compact strip — e.g. Festival Poojas) ── */
.dv-feature-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(120deg, var(--brown-900), var(--charcoal));
  border-radius: var(--r-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.dv-feature-banner:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .dv-feature-banner:hover {
    box-shadow: var(--shadow-lg);
  }
}

.dv-feature-banner-media {
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(231, 200, 120, 0.4);
}

.dv-feature-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-feature-banner-body {
  flex: 1;
  min-width: 0;
}

.dv-feature-banner-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.dv-feature-banner-body span {
  font-size: 0.8rem;
  color: rgba(251, 243, 227, 0.75);
}

.dv-feature-banner-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dv-feature-banner-arrow svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

/* ── Quick action tiles (compact utility grid) ── */
.dv-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 576px) {
  .dv-quick-actions {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dv-quick-action {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.dv-quick-action:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .dv-quick-action:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

.dv-quick-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dv-quick-action-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.dv-quick-action span:last-child {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown-800);
  line-height: 1.25;
}

/* ── Compact notification row (home feed) ── */
.dv-notif-compact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}

.dv-notif-compact:last-child {
  border-bottom: none;
}

.dv-notif-compact strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.dv-notif-compact span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dv-notif-compact time {
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── Bottom navigation ── */
.dv-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(255, 251, 244, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-soft);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -6px 20px rgba(42, 31, 22, 0.06);
}

@media (min-width: 992px) {
  .dv-bottom-nav {
    display: none;
  }
}

.dv-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 4px 8px;
  color: var(--text-muted);
  position: relative;
}

.dv-bottom-nav-item svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.dv-bottom-nav-item span {
  font-family: var(--font-button);
  font-size: 0.66rem;
  font-weight: 600;
}

.dv-bottom-nav-item.is-active {
  color: var(--gold);
}

.dv-bottom-nav-item.is-active svg {
  fill: var(--gold-pale);
}

.dv-bottom-nav-item.is-active span {
  color: var(--brown-900);
  font-weight: 700;
}

.dv-bottom-nav-item .dv-nav-dot {
  position: absolute;
  top: 5px;
  right: calc(50% - 16px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--error);
  border: 2px solid var(--bg-surface);
}

/* ── Profile footer strip (replaces site-wide marketing footer) ── */
.dv-profile-footer {
  text-align: center;
  padding-block: 26px 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.dv-profile-footer strong {
  color: var(--brown-600);
}

/* ── Sign out (My Profile → Account) ── */
.dv-signout-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--error-bg);
  background: var(--error-bg);
  color: #000;
  font-family: var(--font-button);
  font-size: 0.94rem;
  font-weight: 600;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.dv-signout-link:hover {
  border-color: var(--error);
  background: #F7DAD6;
}

.dv-signout-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--error);
}

.dv-signout-link-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ── Compact app-wide footer (not a full marketing footer) ── */
.dv-app-footer {
  /* ── Footer fix: push footer to bottom of viewport on short pages ── */
  margin-top: auto;
  padding: 20px 14px 6px;
  /* Add space for the fixed bottom nav on mobile */
  padding-bottom: calc(var(--bottomnav-h) + 10px);
  border-top: 1px solid var(--border-soft);
  text-align: center;
  width: 100%;
}

@media (min-width: 992px) {
  .dv-app-footer {
    padding-bottom: 24px;
  }
}

.dv-app-footer strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 2px;
}

.dv-app-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.dv-app-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 12px;
}

.dv-app-footer-links a {
  font-family: var(--font-button);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown-800);
}

.dv-app-footer-links a:hover {
  color: var(--gold);
}

.dv-app-footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════
   19. MY PROFILE PAGE — scoped to .dv-profile-page only.
   Rules here must not leak into shared classes (.dv-card, .dv-wizard-card,
   .dv-signout-link, ...) used by other Devotee pages.
   ══════════════════════════════════════════════════════════════════════ */

.dv-profile-avatar-card {
  padding: 30px 24px;
}

.dv-profile-avatar-badge {
  width: 96px;
  height: 96px;
  margin-inline: auto;
}

.dv-profile-avatar-badge.dv-profile-avatar-photo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-soft);
}

.dv-profile-avatar-wrap {
  position: relative;
  width: 96px;
  margin-inline: auto;
}

.dv-profile-avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brown-900);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-surface);
  cursor: pointer;
}

.dv-profile-avatar-edit svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dv-profile-summary {
  text-align: left;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

.dv-profile-links-card {
  padding: 22px;
  margin-top: 20px;
}

.dv-profile-links-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.dv-profile-link-row {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--brown-800);
  min-width: 0;
}

.dv-profile-link-row span:first-child {
  overflow-wrap: anywhere;
}

.dv-profile-link-row--last {
  border-bottom: none;
}

.dv-profile-account-card {
  padding: 22px;
  margin-top: 20px;
}

.dv-profile-signout {
  margin-top: 10px;
}

.dv-profile-address-card {
  margin-top: 20px;
}

.dv-profile-address-row {
  margin-top: 12px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
}

.dv-profile-address-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Small phones: 320–480px. Tighten padding to ~10–16px, keep everything
   inside the viewport (no horizontal scroll), full-width tap targets. */
@media (max-width: 480px) {
  .dv-profile-page .dv-hero-grid {
    gap: 20px;
  }

  .dv-profile-avatar-card {
    padding: 20px 14px;
  }

  .dv-profile-avatar-badge {
    width: 76px;
    height: 76px;
  }

  .dv-profile-avatar-badge svg {
    width: 36px;
    height: 36px;
  }

  .dv-profile-summary {
    margin-top: 18px;
    padding-top: 16px;
  }

  .dv-profile-links-card,
  .dv-profile-account-card {
    padding: 16px 14px;
    margin-top: 14px;
  }

  .dv-wizard-card {
    padding: 18px 14px;
  }

  .dv-profile-address-card {
    margin-top: 14px;
  }

  .dv-profile-address-row {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .dv-profile-address-row .dv-btn--ghost {
    width: 100%;
    margin-top: 4px;
  }

  .dv-profile-signout {
    min-height: 48px;
  }

  .dv-profile-footer {
    padding-block: 20px 4px;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   20. HOME REDESIGN — greeting, working search, and section-specific
   "featured" layouts. Additive only: nothing above this block is edited.
   Where a rule below repeats a selector already defined above (e.g.
   .dv-priest-tile, .dv-course-card, .dv-occasion-card, .dv-feature-banner,
   .dv-feature-banner-media), the later declaration here wins the cascade
   and restyles it in place; the original rule is left intact. These
   components are also reused on the Explore page (services.html) for the
   Popular Poojas / Homas & Yagnas / Agama / Samskara sections there.
   ══════════════════════════════════════════════════════════════════════ */

/* .devotee (body) already has overflow-x:hidden, but the root scrolling box is
   driven by <html>, not <body> — a sub-pixel bleed from .dv-hscroll's negative-margin
   edge technique can still register as page-level horizontal scroll without this.
   devotee.css only loads on Devotee-module pages, so this can't affect other modules. */
html {
  overflow-x: clip;
}

/* ── Greeting subline ── */
.dv-greeting-sub {
  margin: 0 0 14px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* ── Search bar + live results panel ── */
.dv-search-bar-wrap {
  position: relative;
}

.dv-search-bar {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .dv-search-bar-wrap {
    max-width: 640px;
  }
}

.dv-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  max-height: min(420px, 70vh);
  overflow-y: auto;
  padding: 8px;
}

.dv-search-panel[hidden] {
  display: none;
}

.dv-search-panel-group+.dv-search-panel-group {
  margin-top: 4px;
  border-top: 1px solid var(--border-soft);
  padding-top: 4px;
}

.dv-search-panel-label {
  display: block;
  padding: 10px 12px 4px;
  font-family: var(--font-button);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.dv-search-panel-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  transition: background var(--dur-fast) var(--ease);
}

.dv-search-panel-item:hover,
.dv-search-panel-item:focus-visible {
  background: var(--bg-alt);
}

.dv-search-panel-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading);
}

.dv-search-panel-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dv-search-empty,
.dv-search-loading {
  padding: 22px 14px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ── Popular Poojas: featured + supporting ── */
.dv-pooja-feature-group {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .dv-pooja-feature-group {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.dv-pooja-feature {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .dv-pooja-feature:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
  }

  .dv-pooja-feature-media img {
    transition: transform var(--dur-slow) var(--ease);
  }

  .dv-pooja-feature:hover .dv-pooja-feature-media img {
    transform: scale(1.05);
  }
}

.dv-pooja-feature-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.dv-pooja-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-pooja-feature-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 251, 244, 0.92);
  color: #9C6F1E;
  font-family: var(--font-button);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
}

.dv-pooja-feature-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dv-pooja-feature-body h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dv-pooja-feature-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.dv-pooja-feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.dv-pooja-feature-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-heading);
}

.dv-pooja-feature-duration {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.dv-pooja-feature .dv-card-link {
  margin-top: auto;
}

.dv-pooja-support {
  display: flex;
}

@media (min-width: 992px) {
  .dv-pooja-support {
    flex-direction: column;
    overflow-x: visible;
    flex-wrap: nowrap;
    margin-inline: 0;
    padding-inline: 0;
  }

  /* .dv-service-card sets height:100% for equal-height grid cells elsewhere; in this
     flex-column reuse there is no grid row to match, so pin it back to content height
     — otherwise it resolves against the stretched column and balloons every card. */
  .dv-pooja-support .dv-hscroll-card {
    width: 100%;
    height: auto;
  }

  .dv-pooja-support .dv-service-card-media {
    aspect-ratio: 16/9;
  }
}

/* ── Homas & Yagnas: wide featured strip + secondary pair ── */
.dv-homa-feature-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dv-homa-feature {
  display: flex;
  flex-direction: column;
  background: linear-gradient(120deg, var(--brown-900), var(--maroon-dark));
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur-fast) var(--ease);
}

@media (min-width: 640px) {
  .dv-homa-feature {
    flex-direction: row;
    align-items: stretch;
  }
}

@media (hover: hover) and (pointer: fine) {
  .dv-homa-feature:hover {
    box-shadow: var(--shadow-lg);
  }
}

.dv-homa-feature-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .dv-homa-feature-media {
    width: 42%;
    aspect-ratio: auto;
  }
}

.dv-homa-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-homa-feature-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(42, 31, 22, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.dv-homa-feature-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.dv-homa-feature-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dv-homa-feature-body h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.dv-homa-feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.dv-homa-feature-meta span {
  font-size: 0.82rem;
  color: rgba(251, 243, 227, 0.72);
}

.dv-homa-feature-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.dv-homa-feature-body p {
  font-size: 0.88rem;
  color: rgba(251, 243, 227, 0.72);
  margin: 0 0 14px;
}

.dv-homa-feature .dv-card-link {
  color: var(--gold-light);
  margin-top: auto;
}

.dv-homa-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dv-homa-secondary .dv-homa-card-media {
  aspect-ratio: 4/3;
}

.dv-homa-secondary .dv-homa-card-body {
  padding: 12px 14px 14px;
}

.dv-homa-secondary .dv-homa-card-body h4 {
  font-size: 0.88rem;
}

.dv-homa-secondary .dv-homa-card-body p {
  display: none;
}

/* ── Book a Priest: enlarged profile-first tile ── */
.dv-priest-tile {
  width: 210px;
  padding-bottom: 16px;
}

@media (min-width: 576px) {
  .dv-priest-tile {
    width: 230px;
  }
}

.dv-priest-tile-photo {
  aspect-ratio: 4/5;
  position: relative;
}

.dv-priest-tile-verified {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--success-bg);
  color: var(--success);
  font-family: var(--font-button);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--r-pill);
}

.dv-priest-tile-verified svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
}

.dv-priest-tile-body {
  padding: 0px 14px 0;
  gap: 6px;
  text-align: left;
}

.dv-priest-tile-body h4 {
  font-size: 1rem;
  font-weight: 700;
}

.dv-priest-tile-lang-chip {
  align-self: flex-start;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--gold-pale);
  color: #9C6F1E;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 2px;
}

.dv-priest-tile-spec,
.dv-priest-tile-loc,
.dv-priest-tile-exp {
  text-align: left;
  justify-content: flex-start;
}

.dv-priest-tile .dv-card-link {
  margin-top: 8px;
  font-size: 0.8rem;
}

@media (hover: hover) and (pointer: fine) {
  .dv-priest-tile:hover .dv-card-link svg {
    transform: translateX(4px);
  }
}

/* ── Agama Training: clearer course meta row ── */
.dv-course-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dv-course-card-meta svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ── Samskaras: larger occasion imagery ── */
.dv-occasion-card {
  width: 190px;
  border-radius: var(--r-lg);
}

.dv-occasion-card-media {
  aspect-ratio: 4/5;
}

.dv-occasion-card-body {
  padding: 14px 16px 16px;
  gap: 6px;
}

.dv-occasion-card-body h4 {
  font-size: 1rem;
}

.dv-occasion-card-body p {
  font-size: 0.78rem;
  -webkit-line-clamp: 2;
}

.dv-occasion-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.dv-occasion-card-explore {
  font-family: var(--font-button);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

/* ── Temple Consultancy: richer feature panel ── */
.dv-feature-banner {
  padding: 16px;
  gap: 18px;
  align-items: stretch;
}

.dv-feature-banner-media {
  width: 96px;
  height: auto;
  border-radius: var(--r-md);
  align-self: stretch;
}

@media (min-width: 576px) {
  .dv-feature-banner-media {
    width: 140px;
  }
}

.dv-feature-banner-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.dv-feature-banner-body strong {
  font-size: 1.15rem;
}

.dv-feature-banner-tags {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

/* ---------- Listing filter bar (Priest / Temple — shared component) ---------- */
.dv-filter-bar {
  margin-bottom: 8px;
  position: relative;
}

.dv-filter-bar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.dv-filter-search {
  flex: 1 1 220px;
  min-width: 0;
  margin-bottom: 0;
}

.dv-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--brown-800);
  font-family: var(--font-button);
  font-size: 0.88rem;
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
  height: 50px;
}

.dv-filter-toggle:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.dv-filter-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dv-filter-toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brown-900);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
}

.dv-filter-panel-fields {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px 12px;
}

.dv-filter-panel-fields .dv-field {
  margin-bottom: 0;
}

@media (min-width: 480px) {
  .dv-filter-panel-fields {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dv-filter-panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dv-filter-panel-actions .dv-btn {
  flex: 1 1 auto;
  justify-content: center;
}

.dv-filter-overlay {
  display: none;
}

/* Mobile / tablet: bottom-sheet drawer, closed by default */
@media (max-width: 899.98px) {
  .dv-filter-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1010;
    background: var(--bg-surface);
    border-radius: 20px 20px 0 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-soft);
    border-bottom: none;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform var(--dur) var(--ease);
    visibility: hidden;
  }

  .dv-filter-panel.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .dv-filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
    flex-shrink: 0;
  }

  .dv-filter-panel-head strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-heading);
  }

  .dv-filter-panel-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--bg-alt);
    color: var(--brown-800);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
  }

  .dv-filter-panel-body {
    padding: 18px 20px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }

  .dv-filter-panel-actions {
    padding: 14px 20px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-soft);
    flex-shrink: 0;
  }

  .dv-filter-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(42, 31, 22, 0.45);
    z-index: 1009;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
  }

  .dv-filter-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Desktop: Search on its own row, Filters + Apply/Clear together in a wrapping row below — no drawer */
@media (min-width: 900px) {
  .dv-filter-bar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .dv-filter-search {
    flex: none;
    max-width: 420px;
  }

  .dv-filter-toggle {
    display: none;
  }

  .dv-filter-panel {
    position: static;
    transform: none;
    max-height: none;
    box-shadow: none;
    border: none;
    background: none;
    visibility: visible;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 12px;
  }

  .dv-filter-panel-head {
    display: none;
  }

  .dv-filter-panel-body {
    padding: 0;
    display: contents;
  }

  .dv-filter-panel-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 12px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .dv-filter-panel-fields .dv-field {
    flex: 1 1 150px;
    min-width: 140px;
  }

  .dv-filter-panel-actions {
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    border-top: none;
  }

  .dv-filter-overlay {
    display: none !important;
  }
}

.dv-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}

.dv-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gold-pale);
  color: #9C6F1E;
  font-family: var(--font-button);
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 100%;
}

.dv-filter-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dv-filter-chip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(156, 111, 30, 0.16);
  color: inherit;
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
}

.dv-filter-chip a:hover {
  background: rgba(156, 111, 30, 0.3);
}

.dv-filter-chip--clear {
  background: var(--bg-alt);
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Listing pagination (shared component) ---------- */
.dv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.dv-page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--brown-800);
  font-family: var(--font-button);
  font-size: 0.86rem;
  font-weight: 600;
}

.dv-page-link:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.dv-page-link.current {
  background: var(--brown-900);
  border-color: var(--brown-900);
  color: var(--gold-light);
}

.dv-page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.dv-page-ellipsis {
  color: var(--text-muted);
  padding: 0 4px;
}

/* ---------- Priest / Temple listing cards: equal height, aligned content ---------- */
.dv-listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.dv-listing-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 12px 0;
}

.dv-listing-card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dv-listing-card-meta-row svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.dv-listing-card-meta-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dv-listing-card-footer {
  margin-top: auto;
  padding-top: 4px;
}

.dv-feature-banner-desc {
  display: block;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════════════
   21. REFERENCE-IMAGE ALIGNMENT — compact Home banner, Explore tabs/teasers,
   booking-card ID/contact, quick-info row, visual date calendar, time-slot
   grid. Additive only: nothing above this block is edited.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Home: compact hero banner (image + short heading + CTA), not a website hero ── */
.dv-hero-banner {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 168px;
  box-shadow: var(--shadow-md);
}

.dv-hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero overlay: two-layer approach for balanced text readability
   Layer 1 (::before)  — soft base dim over entire image, so right-side
     image doesn't blow out and white text stays readable everywhere.
   Layer 2 (::after)  — directional gradient darkens the text area
     (left + bottom) without making the whole image too dark. */
.dv-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Base layer: very light semi-transparent dim across whole image */
  background: rgba(30, 20, 12, 0.30);
}

.dv-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Directional layer: stronger fade from left/bottom where text sits */
  background:
    linear-gradient(to right,
      rgba(30, 20, 12, 0.72) 0%,
      rgba(30, 20, 12, 0.50) 45%,
      rgba(30, 20, 12, 0.08) 80%,
      transparent 100%),
    linear-gradient(to top,
      rgba(30, 20, 12, 0.40) 0%,
      transparent 55%);
}

.dv-hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 22px 20px;
  max-width: 80%;
  display: flex;
  flex-direction: column;
}

.dv-hero-banner-eyebrow,
.devotee .dv-hero-banner-eyebrow {
  font-family: var(--font-button);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light) !important;
  margin: 0 0 4px;
  /* Subtle shadow so eyebrow is legible over lighter image areas */
  text-shadow: 0 1px 6px rgba(20, 12, 4, 0.60);
}

.dv-hero-banner-title,
.devotee .dv-hero-banner-title,
.dv-hero-banner h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.15;
  margin: 0 0 6px;
  text-shadow: 0 2px 10px rgba(20, 12, 4, 0.55);
}

.dv-hero-banner-desc,
.devotee .dv-hero-banner-desc {
  font-size: 0.82rem;
  color: rgba(251, 243, 227, 0.90) !important;
  margin: 0 0 14px;
  max-width: 260px;
  text-shadow: 0 1px 6px rgba(20, 12, 4, 0.50);
}

.dv-hero-banner-btn {
  align-self: flex-start;
}

@media (min-width: 576px) {
  .dv-hero-banner {
    min-height: 210px;
  }

  .dv-hero-banner-title {
    font-size: 1.75rem;
  }

  .dv-hero-banner-desc {
    font-size: 0.88rem;
    max-width: 320px;
  }
}

/* ── Explore: filter tab row (anchor links to in-page sections, no backend filtering) ── */
.dv-explore-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 12px -14px 0;
  padding: 2px 14px 4px;
}

.dv-explore-tabs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .dv-explore-tabs {
    margin-inline: 0;
    padding-inline: 0;
    flex-wrap: wrap;
  }
}

.dv-explore-tabs a {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  font-family: var(--font-button);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown-600);
}

.dv-explore-tabs a.is-active {
  background: var(--brown-900);
  border-color: var(--brown-900);
  color: var(--gold-light);
}

/* ── Explore: header visual strip ── */
.dv-explore-header-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 14px;
  /* aspect-ratio: 21/9; */
}

.dv-explore-header-media img {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .dv-explore-header-media img {
    height: 350px;
  }
}

/* ── Explore: profile-focused "Book a Priest" teaser (no per-priest data in this view's context) ── */
.dv-priest-teaser {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .dv-priest-teaser:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

.dv-priest-teaser-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cat-priest-bg);
  color: var(--cat-priest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dv-priest-teaser-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.dv-priest-teaser-body {
  flex: 1;
  min-width: 0;
}

.dv-priest-teaser-body h4 {
  margin: 0 0 4px;
}

.dv-priest-teaser-body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ── Bookings: booking ID + Contact Temple action ── */
.dv-booking-card-id {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 2px 0 10px;
}

.dv-booking-card-id strong {
  color: var(--brown-800);
  font-weight: 600;
}

.dv-booking-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dv-booking-card-actions .dv-btn {
  flex: 1 1 auto;
  justify-content: center;
}

/* ── Pooja/service details: quick-info row (Duration / Type / Location) ── */
.dv-quickinfo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
  padding: 14px 8px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
}

.dv-quickinfo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}

.dv-quickinfo-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.dv-quickinfo-item span {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.dv-quickinfo-item strong {
  font-size: 0.8rem;
  color: var(--brown-900);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* ── Booking flow Step 2: visual month calendar (writes into the existing #bookingDate input) ── */
.dv-field--sr-only {
  margin: 0;
  height: 0;
  overflow: hidden;
}

.dv-calendar {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-top: 16px;
  max-width: 360px;
}

.dv-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dv-calendar-head strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
}

.dv-calendar-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
  background: var(--bg-alt);
  color: var(--brown-800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dv-calendar-nav svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.dv-calendar-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.dv-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dv-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dv-calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brown-800);
  cursor: pointer;
}

.dv-calendar-day:disabled {
  color: var(--border);
  pointer-events: none;
}

.dv-calendar-day.is-today {
  color: var(--gold);
}

.dv-calendar-day.is-selected {
  background: var(--gold);
  color: var(--white);
}

/* ── Booking flow Step 2: time slots as a 2-col button grid instead of wrapped chips ── */
.dv-check-group--slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dv-check-group--slots .dv-chip-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 8px;
  border-radius: var(--r-md);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════
   22. PHASE 7 CONSISTENCY PASS — small additive components only.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Payments: transaction list row (title+meta left, amount+status right) ── */
.dv-payment-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.dv-payment-row:last-child {
  border-bottom: none;
}

.dv-payment-row-info {
  min-width: 0;
}

.dv-payment-row-info strong {
  display: block;
  color: var(--text-heading);
  font-size: 0.94rem;
  font-weight: 600;
}

.dv-payment-row-info span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dv-payment-row-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.dv-payment-row-value strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-heading);
  font-weight: 700;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════
   DEVOTEE HOME — Horizontal Scroll Overrides
   Force ALL home-page sections to use consistent
   horizontal scroll card layout (8 cards per row)
   ════════════════════════════════════════════════════════ */

/* ── Pooja Feature Group: horizontal scroll ── */
.dv-pooja-feature-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 2px 10px !important;
  scroll-snap-type: x proximity !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  grid-template-columns: unset !important;
}

@media (min-width: 992px) {
  .dv-pooja-feature-group {
    grid-template-columns: unset !important;
    display: flex !important;
  }
}

.dv-pooja-feature-group::-webkit-scrollbar {
  height: 5px;
}

.dv-pooja-feature-group::-webkit-scrollbar-thumb {
  background: #D9BA79;
  border-radius: 6px;
}

/* ── Each Pooja card: fixed-width horizontal card ── */
.dv-pooja-feature-group>.dv-pooja-feature,
.dv-pooja-feature-group a.dv-pooja-feature {
  box-sizing: border-box !important;
  flex: 0 0 160px !important;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  scroll-snap-align: start !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  flex-direction: column !important;
  aspect-ratio: unset !important;
  transform: none !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-media,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-media {
  aspect-ratio: unset !important;
  height: 100px !important;
  flex: 0 0 100px !important;
  overflow: hidden !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-media img,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-body,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-body {
  padding: 10px 11px 11px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-body h4,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-body h4 {
  font-size: 12px !important;
  font-weight: 800 !important;
  margin: 0 0 2px !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-body p,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-body p {
  display: none !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-foot,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-top: auto !important;
  padding-top: 7px !important;
  border-top: 1px dashed rgba(184, 146, 63, .28) !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-priceblock,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-priceblock {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  min-width: 0 !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-price,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-price {
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-duration,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-duration {
  font-size: 9.5px !important;
  white-space: nowrap !important;
}

.dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-meta,
.dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-meta {
  display: none !important;
}

.dv-pooja-feature-badge {
  font-size: 9px !important;
  padding: 3px 8px !important;
  background: #7C1F2B !important;
  color: #fff !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media (min-width: 640px) {

  .dv-pooja-feature-group>.dv-pooja-feature,
  .dv-pooja-feature-group a.dv-pooja-feature {
    flex: 0 0 170px !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
  }
}

@media (min-width: 1024px) {

  .dv-pooja-feature-group>.dv-pooja-feature,
  .dv-pooja-feature-group a.dv-pooja-feature {
    flex: 0 0 182px !important;
    width: 182px !important;
    min-width: 182px !important;
    max-width: 182px !important;
  }

  .dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-media,
  .dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-media {
    height: 112px !important;
    flex: 0 0 112px !important;
  }

  .dv-pooja-feature-group>.dv-pooja-feature .dv-pooja-feature-body h4,
  .dv-pooja-feature-group a.dv-pooja-feature .dv-pooja-feature-body h4 {
    font-size: 13px !important;
  }
}

/* ── Homa Feature Group: horizontal scroll ── */
.dv-homa-feature-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 2px 10px !important;
  scroll-snap-type: x proximity !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

.dv-homa-feature-group::-webkit-scrollbar {
  height: 5px;
}

.dv-homa-feature-group::-webkit-scrollbar-thumb {
  background: #D9BA79;
  border-radius: 6px;
}

/* ── Each Homa card: fixed-width horizontal card ── */
.dv-homa-feature-group>.dv-homa-feature,
.dv-homa-feature-group a.dv-homa-feature {
  box-sizing: border-box !important;
  flex: 0 0 160px !important;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  scroll-snap-align: start !important;
  flex-direction: column !important;
  border-radius: 12px !important;
}

.dv-homa-feature-group>.dv-homa-feature .dv-homa-feature-media,
.dv-homa-feature-group a.dv-homa-feature .dv-homa-feature-media {
  aspect-ratio: unset !important;
  height: 96px !important;
  width: 100% !important;
}

@media (min-width: 640px) {

  .dv-homa-feature-group>.dv-homa-feature,
  .dv-homa-feature-group a.dv-homa-feature {
    flex: 0 0 172px !important;
    width: 172px !important;
    min-width: 172px !important;
    max-width: 172px !important;
    flex-direction: column !important;
  }

  .dv-homa-feature-group>.dv-homa-feature .dv-homa-feature-media,
  .dv-homa-feature-group a.dv-homa-feature .dv-homa-feature-media {
    width: 100% !important;
    aspect-ratio: unset !important;
    height: 100px !important;
  }
}

@media (min-width: 1024px) {

  .dv-homa-feature-group>.dv-homa-feature,
  .dv-homa-feature-group a.dv-homa-feature {
    flex: 0 0 184px !important;
    width: 184px !important;
    min-width: 184px !important;
    max-width: 184px !important;
  }
}

/* ── Suppress the old pooja-support sub-scroll (no longer used) ── */
.dv-pooja-support {
  display: none !important;
}