/* Rahu Paithani · Nil Tel Arpan landing (mobile first) */

:root {
  --maroon: #7f1418;
  --maroon-dark: #5c0d10;
  --saffron: #e8892a;
  --gold: #c9922e;
  --gold-soft: #f1d39a;
  --cream: #fdf3de;
  --cream-2: #fbe8c4;
  --ink: #3a1a10;
  --ink-soft: #6b4330;
  --wa: #128c4a;
  --radius: 16px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(232, 137, 42, 0.10), transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(201, 146, 46, 0.12), transparent 45%);
  overflow-x: hidden;
}

body.sheet-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 96px;
}

/* ---------- 1. Hero ---------- */

.hero {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 385;
  object-fit: cover;
  object-position: 50% 0;
}

.hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 14px 28px;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.6), rgba(255, 248, 235, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand img {
  width: 40px;
  height: auto;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--maroon);
}

/* Partner stamp, inked onto the paper card */
.stamp {
  flex: none;
  width: 104px;
  height: auto;
  margin: -4px -12px -10px 0;
  transform: rotate(-10deg);
  mix-blend-mode: multiply;
  opacity: 0.95;
  pointer-events: none;
}

.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -24px 14px 0;
  padding: 14px 14px 14px 16px;
  text-align: left;
  background: linear-gradient(180deg, #fffaf0, var(--cream));
  border: 1px solid var(--gold-soft);
  border-radius: 22px 22px var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(92, 13, 16, 0.12);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 64px;
  height: 4px;
  margin-left: -32px;
  border-radius: 0 0 4px 4px;
  background: var(--saffron);
}

.hero-text {
  flex: 1 1 auto;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  color: #9a6a17;
}

.temple-name {
  margin: 2px 0 4px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.15;
  color: var(--maroon);
}

.temple-place {
  margin: 0;
  padding-left: 18px;
  text-indent: -18px;
  font-size: 15px;
  color: var(--ink-soft);
}

.pin {
  display: inline-block;
  margin-right: 6px;
  vertical-align: 0;
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50% 50% 50% 0;
  background: var(--maroon);
  transform: rotate(-45deg);
  position: relative;
}

.pin::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cream);
}

/* ---------- 2. Blessing ---------- */

.blessing {
  padding: 28px 16px 8px;
  text-align: center;
}

.pill,
.ribbon {
  display: inline-block;
  margin: 0;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--maroon);
  color: #fff7e6;
  font-family: var(--serif);
  font-size: 15px;
}

.section-title {
  margin: 10px 0 6px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  color: var(--maroon);
}

.section-title.small {
  font-size: 22px;
}

.blessing-text {
  margin: 0 auto 16px;
  max-width: 34ch;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
}

.feet-frame {
  position: relative;
  overflow: hidden;
  border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
  border: 3px solid var(--gold-soft);
  box-shadow: 0 10px 28px rgba(92, 13, 16, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  background: #2a120a;
}

.feet-photo {
  width: 100%;
  aspect-ratio: 475 / 330;
  object-fit: cover;
  object-position: 50% 70%;
}

.feet-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, transparent 55%, rgba(60, 20, 10, 0.35) 100%);
}

.petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

.petal {
  position: absolute;
  top: -24px;
  width: var(--size, 12px);
  height: calc(var(--size, 12px) * 0.75);
  border-radius: 60% 0 60% 0;
  background: var(--color, #f2a516);
  box-shadow: inset -2px -2px 3px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
}

.petal.round {
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.btn-ghost {
  margin-top: 16px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--maroon);
  background: #fffaf0;
  color: var(--maroon);
  font-weight: 600;
  cursor: pointer;
}

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

.offer-count {
  min-height: 24px;
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.divider {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

.divider span {
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.divider span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: var(--saffron);
  transform: rotate(45deg);
}

/* ---------- 3. Seva card ---------- */

.seva {
  padding: 8px 14px 12px;
  text-align: center;
}

.ribbon {
  position: relative;
  z-index: 1;
  margin-bottom: -14px;
  padding: 6px 22px;
  font-size: 17px;
  box-shadow: 0 4px 10px rgba(92, 13, 16, 0.25);
}

.seva-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  background: #fffaf0;
  border: 1.5px solid var(--gold-soft);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(92, 13, 16, 0.12);
}

.seva-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.seva-body {
  padding: 14px 16px 16px;
}

.seva-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--maroon);
}

.seva-desc {
  margin: 4px 0 14px;
  color: var(--ink-soft);
}

.pandit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fbeed2;
}

.pandit-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-soft);
}

.sk-pandit {
  margin: 10px 0 12px;
  text-align: left;
}

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

.pandit-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon);
}

.pandit-role {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-soft);
}

.when {
  margin: 0 0 14px;
}

.when-day {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 8px;
  font-size: 15px;
}

.when-tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--maroon);
  color: #fff7e6;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.when-date {
  font-weight: 700;
  color: var(--ink);
}

.slots {
  display: flex;
  gap: 8px;
  margin: 0 -16px;
  padding: 2px 16px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.slots::-webkit-scrollbar {
  display: none;
}

.slot {
  flex: none;
  width: 104px;
  min-height: 76px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid #d9b77a;
  background: #fffdf7;
  color: var(--ink);
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
}

.slot-time {
  display: block;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.slot-tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #7a4a00;
}

.slot-bar {
  display: block;
  height: 5px;
  margin: 6px 0 4px;
  border-radius: 3px;
  background: #f1e3c4;
  overflow: hidden;
}

.slot-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--saffron);
}

.slot-left {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #b3261e;
}

.slot.full {
  border-style: dashed;
  border-color: #cfc4b0;
  background: #f4efe6;
  color: #8a8170;
  cursor: not-allowed;
}

.slot.full .slot-fill {
  background: #b8ad98;
}

.slot.full .slot-left {
  color: #8a8170;
}

.slot.on {
  border-color: var(--maroon);
  background: var(--maroon);
  color: #fff7e6;
}

.slot.on .slot-tag,
.slot.on .slot-left {
  color: #ffd54a;
}

.slot.on .slot-bar {
  background: rgba(255, 255, 255, 0.25);
}

.slot.on .slot-fill {
  background: #ffd54a;
}

.slot:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

.slot-note {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.slot-note b {
  color: #b3261e;
}

.sheet-slot {
  margin: 0 44px 2px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.seva-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.price-amt {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--maroon);
}

.price-note {
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink-soft);
  margin-top: 4px;
}

.btn-primary {
  white-space: nowrap;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #9a1c20, var(--maroon-dark));
  color: #fff7e6;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(92, 13, 16, 0.3);
  cursor: pointer;
}

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

.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-wa:focus-visible,
.btn-link:focus-visible,
.sheet-close:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

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

/* ---------- 3b. Select your sankalpa ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sankalpa {
  margin: 16px 14px 4px;
  padding: 16px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffaf0, #fbeed2);
  border: 1.5px solid var(--gold-soft);
  box-shadow: 0 8px 22px rgba(92, 13, 16, 0.1);
}

.sk-head {
  text-align: center;
  margin-bottom: 10px;
}

.sk-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--maroon);
}

.sk-sub {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* The sankalpa scroll: three lines visible, moving up */
.sk-band {
  position: relative;
  overflow: hidden;
  height: 118px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--maroon), var(--maroon-dark));
  box-shadow: inset 0 0 0 1px rgba(241, 211, 154, 0.5), inset 0 0 0 4px var(--maroon-dark),
    inset 0 0 0 5px rgba(241, 211, 154, 0.35);
}

.sk-hint {
  margin: 4px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.sk-band::before,
.sk-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 18px;
  pointer-events: none;
}

.sk-band::before {
  top: 0;
  background: linear-gradient(180deg, var(--maroon), rgba(127, 20, 24, 0));
}

.sk-band::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--maroon-dark), rgba(92, 13, 16, 0));
}

.sk-track {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 12px 14px 14px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: #fbe3b0;
}

.sk-track::-webkit-scrollbar {
  display: none;
}

.sk-track:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: -3px;
  border-radius: 12px;
}

.sk-line {
  display: block;
  position: static;
  padding: 3px 0 3px 26px;
  text-indent: -26px;
}

.sk-num {
  display: inline-block;
  width: 26px;
  text-indent: 0;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(251, 227, 176, 0.55);
  vertical-align: 2px;
}

.sk-seg {
  display: inline;
  padding: 0 2px;
  border-radius: 6px;
  text-indent: 0;
}

.sk-seg.wish {
  color: #ffffff;
  font-weight: 700;
}

.sk-seg.fillin,
.sk-seg.wish.mine,
.sk-seg.words {
  display: inline-block;
}

.sk-seg.fillin {
  padding: 0 8px;
  border-bottom: 2px dashed #ffd54a;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 213, 74, 0.16);
  color: #ffe9a6;
  font-style: italic;
}

.sk-seg.fillin.filled,
.sk-seg.wish.mine,
.sk-seg.words {
  padding: 0 7px;
  border-bottom: 0;
  border-radius: 6px;
  background: #ffd54a;
  color: var(--maroon-dark);
  font-style: normal;
  font-weight: 700;
}

.sk-seg.words {
  margin-left: 0;
  background: #fff1bf;
  font-weight: 600;
  font-style: italic;
}

.sk-meaning {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 21px;
  margin: 6px 2px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.sk-meaning b {
  color: var(--maroon);
}

.sheet-wish-en {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink-soft);
}

.sk-blanks {
  margin: 10px 0 2px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}

.sk-blank-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}

.blank {
  flex: 0 1 160px;
  width: 160px;
  min-width: 0;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  border-bottom: 2px dashed var(--gold);
  border-radius: 8px 8px 0 0;
  background: #fff1bf;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.blank::placeholder {
  color: #9a7a2e;
}

.blank:focus {
  outline: none;
  background: #ffe48a;
  border-bottom-color: var(--maroon);
}

.sk-suffix {
  flex: none;
}

.sk-wishes {
  margin-top: 6px;
}

.sk-count {
  font-weight: 400;
  color: var(--ink-soft);
}

.sk-chips {
  display: flex;
  gap: 8px;
  margin: 0 -14px;
  padding: 2px 14px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

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

.wish-tile {
  flex: none;
  position: relative;
  width: 162px;
  min-height: 86px;
  padding: 8px 38px 8px 10px;
  border-radius: 12px;
  border: 1.5px solid #d9b77a;
  background: #fffdf7;
  color: var(--ink);
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
}

.wt-sa {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--maroon);
}

.wt-en {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-soft);
}

.wt-plus {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--maroon);
  color: #fff7e6;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.wish-tile.on {
  border-color: var(--maroon);
  background: #fff1bf;
}

.wish-tile.on .wt-plus {
  background: #1f7a3e;
}

.wish-tile.custom {
  border-style: dashed;
}

.wish-tile:focus-visible,
.sk-add:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

.sk-add-row {
  display: flex;
  gap: 8px;
}

.sk-add-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.sk-add {
  flex: none;
  min-width: 76px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--maroon);
  color: #fff7e6;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.sk-write {
  margin: 8px 0 10px;
}

.sk-label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 15px;
}

.sk-write input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #d9b77a;
  border-radius: 12px;
  background: #fffdf7;
  color: var(--ink);
  font-size: 17px;
}

.sk-write input:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(232, 137, 42, 0.3);
}

.sk-status {
  min-height: 20px;
  margin: 8px 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.sk-status.live {
  color: #7a4a00;
  font-weight: 600;
}

.sk-bill {
  margin: 4px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fffdf7;
  border: 1px dashed #d9b77a;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.bill-row span:last-child {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.bill-total {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--gold-soft);
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon);
}

.bill-total .js-total.bump {
  display: inline-block;
}

.wt-price {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fbeed2;
  font-size: 12px;
  font-weight: 700;
  color: #7a4a00;
}

.wish-tile.on .wt-price {
  background: #ffe48a;
}

.sheet-wish {
  margin: -6px 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff3cf;
  border: 1px dashed #d9b77a;
  font-size: 15px;
  color: var(--ink);
}

.sheet-wish-label {
  font-weight: 700;
  color: var(--maroon);
}

/* ---------- 4. Benefits ---------- */

.benefits {
  padding: 20px 14px 8px;
  text-align: center;
}

.benefit-list {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: #fffaf0;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}

.benefit img {
  width: 48px;
  height: 44px;
  object-fit: contain;
}

.foot {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.foot img {
  width: 36px;
  margin: 0 auto 4px;
}

.foot p {
  margin: 0;
}

/* ---------- Sticky bar ---------- */

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 240, 0.97);
  border-top: 1px solid var(--gold-soft);
  box-shadow: 0 -6px 18px rgba(92, 13, 16, 0.12);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.sticky.show {
  transform: translateY(0);
}

.sticky-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-name {
  font-size: 14px;
  color: var(--ink-soft);
}

.sticky-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--maroon);
}

/* ---------- Booking sheet ---------- */

.sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 20;
  visibility: hidden;
}

.sheet-wrap.open {
  visibility: visible;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 12, 6, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sheet-wrap.open .sheet-backdrop {
  opacity: 1;
}

.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 560px;
  max-height: 92dvh;
  margin: 0 auto;
  overflow-y: auto;
  padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-radius: 22px 22px 0 0;
  border-top: 4px solid var(--saffron);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sheet-wrap.open .sheet {
  transform: translateY(0);
}

.sheet-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sheet-kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #9a6a17;
}

.sheet-title {
  margin: 4px 44px 6px 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--maroon);
}

.sheet-sub {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.field {
  margin-bottom: 14px;
}

.field > label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.field input[type="text"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #d9b77a;
  border-radius: 12px;
  background: #fffdf7;
  color: var(--ink);
  font-size: 17px;
}

.field input[type="text"]:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(232, 137, 42, 0.3);
}

.field input[type="text"]:disabled {
  background: #f3e6cc;
  color: var(--ink-soft);
}

.field input.invalid {
  border-color: #b3261e;
}

.field > .check {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-soft);
  cursor: pointer;
}

.check input {
  width: 22px;
  height: 22px;
  flex: none;
  accent-color: var(--maroon);
}

.field-error {
  min-height: 0;
  margin: 4px 0 0;
  font-size: 14px;
  color: #b3261e;
}

.field-error:empty {
  display: none;
}

.sheet-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.sheet-done {
  display: none;
  text-align: center;
}

.sheet-wrap.done .sheet-form {
  display: none;
}

.sheet-wrap.done .sheet-done {
  display: block;
}

.sheet-done .sheet-title {
  margin-right: 0;
}

.done-diya {
  margin: 0;
  font-size: 40px;
}

.done-line {
  margin: 4px 0 18px;
  color: var(--ink-soft);
}

.btn-wa {
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
}

.btn-link {
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--maroon);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Larger screens ---------- */

@media (min-width: 400px) {
  .stamp {
    width: 138px;
  }

  .temple-name {
    font-size: 28px;
  }
}

@media (min-width: 480px) {
  .sk-chips {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .seva-card {
    flex-direction: row;
  }

  .seva-photo {
    width: 42%;
    height: auto;
    min-height: 200px;
  }

  .benefit-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit {
    font-size: 14px;
  }
}

@media (min-width: 560px) {
  body {
    background-color: #f6e6c6;
  }

  .page {
    background: var(--cream);
    box-shadow: 0 0 40px rgba(92, 13, 16, 0.12);
    min-height: 100dvh;
  }

  .hero-photo {
    aspect-ratio: 852 / 385;
  }

  .stamp {
    width: 150px;
  }

  .sticky {
    left: 50%;
    right: auto;
    width: 560px;
    margin-left: -280px;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .petals {
    display: block;
  }

  .petal {
    animation: petal-fall var(--dur, 6s) linear var(--delay, 0s) infinite;
  }

  .petal.burst {
    animation: petal-land var(--dur, 3s) ease-in var(--delay, 0s) forwards;
  }

  .stamp {
    animation: stamp-in 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) 0.4s both;
  }

  .seva-card .btn-primary {
    animation: glow 2.4s ease-in-out infinite;
  }

  .js-total.bump {
    display: inline-block;
    animation: bump 0.5s ease-out;
  }

  @keyframes bump {
    40% {
      transform: scale(1.18);
    }
  }

  .sk-seg.flash {
    animation: wish-flash 1.6s ease-out;
  }

  @keyframes wish-flash {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 213, 74, 0.9);
      transform: scale(1.12);
    }
    40% {
      box-shadow: 0 0 18px 6px rgba(255, 213, 74, 0.7);
      transform: scale(1);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 213, 74, 0);
    }
  }

  @keyframes petal-fall {
    0% {
      transform: translate(0, 0) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 0.95;
    }
    50% {
      transform: translate(var(--sway, 20px), calc(var(--fall, 300px) / 2)) rotate(200deg);
    }
    90% {
      opacity: 0.9;
    }
    100% {
      transform: translate(0, var(--fall, 300px)) rotate(400deg);
      opacity: 0;
    }
  }

  @keyframes petal-land {
    0% {
      transform: translate(0, 0) rotate(0deg);
      opacity: 0;
    }
    8% {
      opacity: 1;
    }
    100% {
      transform: translate(var(--sway, 10px), var(--land, 240px)) rotate(var(--spin, 300deg));
      opacity: 1;
    }
  }

  @keyframes stamp-in {
    0% {
      transform: rotate(-16deg) scale(1.8);
      opacity: 0;
    }
    100% {
      transform: rotate(-10deg) scale(1);
      opacity: 0.95;
    }
  }

  @keyframes glow {
    0%,
    100% {
      box-shadow: 0 6px 16px rgba(92, 13, 16, 0.3);
    }
    50% {
      box-shadow: 0 6px 22px rgba(232, 137, 42, 0.65);
    }
  }
}

/* v1.13: whole sankalpa shown at once, as one short flowing paragraph */
.sk-band {
  height: auto;
}

.sk-band::before,
.sk-band::after {
  display: none;
}

.sk-track {
  position: relative;
  inset: auto;
  overflow: visible;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.75;
}

.sk-line {
  display: inline;
  padding: 0;
  text-indent: 0;
}

.sk-num {
  display: none;
}

.sk-seg.fillin,
.sk-seg.wish.mine,
.sk-seg.words {
  padding: 0 6px;
  line-height: 1.5;
}

/* v1.16: cleaner blessing section */
.blessing {
  padding: 24px 14px 4px;
}

.blessing .section-title {
  margin: 0 0 2px;
  font-size: 22px;
}

.blessing-text {
  margin: 0 auto 12px;
  font-size: 15px;
}

.feet-frame {
  border-radius: var(--radius);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 6px 18px rgba(92, 13, 16, 0.12);
}

.feet-frame::after {
  display: none;
}

.feet-photo {
  aspect-ratio: 16 / 9;
  object-position: 50% 65%;
}

.seva {
  padding-top: 16px;
}

/* v1.17: decluttered layout — flat sections, fewer boxes */
.hero-card {
  padding: 14px 14px 12px 16px;
}

.seva {
  padding: 20px 16px 4px;
}

.seva-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.seva-photo {
  height: 150px;
  border-radius: var(--radius);
}

.seva-body {
  padding: 14px 0 0;
}

.seva-name {
  font-size: 24px;
}

.seva-desc {
  margin: 2px 0 12px;
  font-size: 15px;
}

.seva-body .benefit-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 16px;
}

.seva-body .benefit {
  padding: 0;
  gap: 4px;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-soft);
}

.seva-body .benefit img {
  width: 30px;
  height: 28px;
}

.slots {
  margin: 0 -16px;
  padding: 2px 16px 6px;
}

.sankalpa {
  margin: 8px 0 0;
  padding: 20px 16px 8px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--gold-soft);
  border-radius: 0;
  box-shadow: none;
}

.sk-head {
  margin-bottom: 12px;
}

.sk-title {
  font-size: 22px;
}

.sk-pandit {
  justify-content: center;
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
}

.sk-pandit .pandit-icon {
  width: 40px;
  height: 40px;
}

.sk-pandit .pandit-name {
  font-size: 16px;
}

.sk-pandit .pandit-role {
  font-size: 13px;
}

.sk-blanks {
  margin: 12px 0 8px;
}

.wish-tile {
  width: 148px;
  min-height: 62px;
  background: #fffdf7;
}

.sk-chips {
  margin: 0 -16px;
  padding: 2px 16px 8px;
}

.sk-write {
  margin: 6px 0 4px;
}

.sk-status:empty {
  display: none;
}

.sk-status {
  margin: 4px 0 8px;
}

.sk-bill {
  margin: 12px 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bill-row {
  line-height: 1.8;
}

.foot {
  padding: 20px 16px 28px;
}

@media (min-width: 480px) {
  .seva-card {
    flex-direction: column;
  }

  .seva-photo {
    width: 100%;
    height: 200px;
    min-height: 0;
  }
}

[hidden] {
  display: none !important;
}

.seva-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.seva-head .seva-photo,
.seva-photo {
  flex: none;
  width: 76px;
  height: 76px;
  min-height: 0;
  border-radius: 14px;
  object-fit: cover;
}

.seva-body {
  padding: 0;
}

.seva-head .seva-desc {
  margin: 2px 0 0;
  line-height: 1.4;
}

@media (min-width: 480px) {
  .seva-photo {
    width: 76px;
    height: 76px;
  }
}

/* v1.18: gotra and name typed straight into the sankalpa */
.sk-tip {
  margin: 0 0 6px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.inline-blank {
  display: inline-block;
  width: 11ch;
  max-width: 100%;
  min-height: 36px;
  margin: 2px 0;
  padding: 2px 8px;
  border: 0;
  border-bottom: 2px dashed #ffd54a;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 213, 74, 0.2);
  color: #fff7e6;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  vertical-align: baseline;
}

.inline-blank::placeholder {
  color: #ffe08a;
  opacity: 0.85;
}

.inline-blank:focus {
  outline: none;
  background: rgba(255, 213, 74, 0.35);
  border-bottom-color: #fff;
}

.inline-blank.filled {
  border-bottom: 0;
  border-radius: 6px;
  background: #ffd54a;
  color: var(--maroon-dark);
  font-style: normal;
  font-weight: 700;
}

/* v1.19: clearer blanks + typewriter */
.sk-track {
  font-size: 17px;
  line-height: 1.9;
}

.inline-blank {
  min-height: 40px;
  padding: 4px 10px;
  border: 1.5px dashed #ffd54a;
  border-radius: 8px;
  background: #fff8e1;
  color: var(--maroon-dark);
  font-family: var(--sans);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

.inline-blank::placeholder {
  color: #a8741a;
  opacity: 1;
  font-weight: 500;
}

.inline-blank:focus {
  background: #ffffff;
  border: 1.5px solid #ffd54a;
  box-shadow: 0 0 0 3px rgba(255, 213, 74, 0.45);
}

.inline-blank.filled {
  border: 1.5px solid #ffd54a;
  background: #ffd54a;
  color: var(--maroon-dark);
  font-family: var(--serif);
  font-weight: 700;
}

.sk-tip {
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
}

.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: #ffd54a;
}

@media (prefers-reduced-motion: no-preference) {
  .typing::after {
    animation: caret 0.8s steps(1) infinite;
  }

  @keyframes caret {
    50% {
      opacity: 0;
    }
  }
}

/* v1.20: no name card; partner stamp sits on the photo */
.hero {
  position: relative;
}

.stamp-seal {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #fffaf0 62%, #f6e7c8 100%);
  box-shadow: 0 6px 16px rgba(40, 12, 6, 0.35), 0 0 0 3px rgba(255, 250, 240, 0.6);
  transform: rotate(-8deg);
}

.stamp-seal .stamp {
  width: 92px;
  margin: 0;
  mix-blend-mode: multiply;
  transform: none;
  opacity: 1;
}

@media (min-width: 400px) {
  .stamp-seal {
    width: 118px;
    height: 118px;
  }

  .stamp-seal .stamp {
    width: 104px;
  }
}

@media (min-width: 560px) {
  .stamp-seal {
    right: 16px;
    top: 16px;
    width: 132px;
    height: 132px;
  }

  .stamp-seal .stamp {
    width: 116px;
  }
}

.blessing {
  padding-top: 22px;
}

/* v1.21: round seal that fits, stamping animation, small interactions */
.stamp-seal {
  cursor: pointer;
  outline: none;
}

.stamp-seal .stamp {
  width: 90%;
  height: auto;
}

@media (min-width: 400px) {
  .stamp-seal .stamp {
    width: 90%;
  }
}

@media (min-width: 560px) {
  .stamp-seal .stamp {
    width: 90%;
  }
}

.stamp-seal:focus-visible {
  box-shadow: 0 0 0 3px var(--saffron), 0 6px 16px rgba(40, 12, 6, 0.35);
}

.stamp-seal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(198, 44, 88, 0.55);
  opacity: 0;
  pointer-events: none;
}

.link-btn {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--maroon);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.pandit-bio {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.seva-body .benefit {
  cursor: pointer;
  border-radius: 10px;
  padding: 6px 2px;
  transition: background 0.2s ease;
}

.seva-body .benefit.on {
  background: #fbeed2;
  color: var(--maroon);
}

.benefit-detail {
  margin: -8px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fbeed2;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .js-anim .stamp-seal {
    opacity: 0;
  }

  .stamp-seal.stamped {
    animation: stamp-drop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
  }

  .stamp-seal.stamped::after {
    animation: ink-ring 0.7s ease-out 0.3s both;
  }

  .hero.thud .hero-photo {
    animation: thud 0.3s ease-out;
  }

  @keyframes stamp-drop {
    0% {
      opacity: 0;
      transform: translateY(-40px) rotate(-30deg) scale(2.3);
      filter: blur(3px);
    }
    55% {
      opacity: 1;
      transform: translateY(0) rotate(-6deg) scale(0.92);
      filter: blur(0);
    }
    75% {
      transform: rotate(-9deg) scale(1.04);
    }
    100% {
      opacity: 1;
      transform: rotate(-8deg) scale(1);
    }
  }

  @keyframes ink-ring {
    0% {
      opacity: 0.8;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.45);
    }
  }

  @keyframes thud {
    30% {
      transform: translateY(3px);
    }
    60% {
      transform: translateY(-1px);
    }
  }

  .js-anim .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .js-anim .reveal.in {
    opacity: 1;
    transform: none;
  }

  .wish-tile,
  .slot,
  .seva-body .benefit,
  .btn-primary,
  .sk-add {
    transition: transform 0.12s ease;
  }

  .wish-tile:active,
  .slot:not(.full):active,
  .seva-body .benefit:active,
  .sk-add:active {
    transform: scale(0.95);
  }

  .benefit.on img {
    animation: pop 0.35s ease-out;
  }

  @keyframes pop {
    50% {
      transform: scale(1.25);
    }
  }

  .sankalpa .btn-wide {
    position: relative;
    overflow: hidden;
  }

  .sankalpa .btn-wide::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: shine 3.2s ease-in-out 1.5s infinite;
  }

  @keyframes shine {
    0%,
    60% {
      left: -40%;
    }
    100% {
      left: 130%;
    }
  }
}

.hero {
  overflow: hidden;
}

/* v1.22: first-week offer */
s.was {
  font-weight: 500;
  opacity: 0.7;
  text-decoration-thickness: 2px;
}

.offer-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1f7a3e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.offer-banner s {
  opacity: 0.75;
}

.offer-banner b {
  color: #ffe27a;
  font-size: 15px;
}

.offer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffe27a;
}

.offer-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #e3f3e8;
  color: #1f7a3e;
  font-size: 12px;
  font-weight: 700;
  vertical-align: 1px;
  white-space: nowrap;
}

.bill-offer span:last-child {
  color: var(--ink);
  font-weight: 700;
}

.bill-total s.was {
  font-size: 14px;
  color: var(--ink-soft);
}

.bill-note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #1f7a3e;
}

.btn-primary s.was {
  color: rgba(255, 247, 230, 0.75);
  font-size: 15px;
}

.sticky-price s.was {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .offer-dot {
    animation: blink-dot 1.4s ease-in-out infinite;
  }

  @keyframes blink-dot {
    50% {
      opacity: 0.3;
    }
  }
}

/* v1.22.1: even benefit row */
.seva-body .benefit-list {
  align-items: stretch;
}

.seva-body .benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 8px 2px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
}

.seva-body .benefit span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* v1.23: content slides up over the temple photo */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  background: #2a120a;
}

.hero-photo {
  transform-origin: 50% 40%;
  will-change: transform;
}

.content {
  position: relative;
  z-index: 1;
  margin-top: -26px;
  padding-top: 6px;
  border-radius: 26px 26px 0 0;
  background: var(--cream);
  box-shadow: 0 -12px 28px rgba(60, 20, 10, 0.22);
}

.content::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin: 4px auto 0;
  border-radius: 3px;
  background: #e2c98f;
}

.blessing {
  padding-top: 14px;
}

/* v1.24: seva name pinned to the top after scrolling past it */
.top-seva {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 14px;
  background: rgba(253, 243, 222, 0.97);
  border-bottom: 1px solid var(--gold-soft);
  box-shadow: 0 6px 16px rgba(92, 13, 16, 0.12);
  transform: translateY(-110%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.top-seva.show {
  transform: translateY(0);
}

.top-seva img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.top-seva-text {
  flex: 1 1 auto;
  min-width: 0;
}

.top-seva-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--maroon);
}

.top-seva-when {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-soft);
}

.top-seva-price {
  flex: none;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon);
}

/* v1.25: Book your slot on WhatsApp, pay after the puja */
a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
}

a.btn-wide {
  display: flex;
  width: 100%;
}

.slot-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--maroon);
}

.pay-later {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #e3f3e8;
  color: #1f6a37;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.book-hint {
  min-height: 0;
  margin: 8px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
}

.book-hint:empty {
  display: none;
}

.sticky-pay {
  font-size: 12px;
  font-weight: 700;
  color: #1f6a37;
}

@media (prefers-reduced-motion: no-preference) {
  .inline-blank.nudge {
    animation: nudge 0.5s ease-in-out 2;
  }

  @keyframes nudge {
    25% {
      transform: translateX(-4px);
      box-shadow: 0 0 0 3px rgba(255, 213, 74, 0.8);
    }
    75% {
      transform: translateX(4px);
      box-shadow: 0 0 0 3px rgba(255, 213, 74, 0.8);
    }
  }
}

.wa-note {
  margin: 6px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* v1.25.1: "Book your slot" panel stands out */
.when {
  margin: 0 -16px 14px;
  padding: 16px 16px 14px;
  background: linear-gradient(160deg, #8f1a1f 0%, var(--maroon-dark) 100%);
  border-radius: 0;
  color: #fff7e6;
  box-shadow: inset 0 1px 0 rgba(255, 213, 74, 0.35), inset 0 -1px 0 rgba(255, 213, 74, 0.35);
}

.when .slot-title {
  color: #ffd54a;
}

.when .when-tag {
  background: #ffd54a;
  color: var(--maroon-dark);
}

.when .when-date {
  color: #fff7e6;
}

.when .slots {
  margin: 0 -16px;
  padding: 2px 16px 8px;
}

.when .slot {
  border-color: transparent;
  background: #fff7e6;
}

.when .slot.full {
  border: 1px dashed rgba(255, 247, 230, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 230, 0.6);
}

.when .slot.full .slot-left {
  color: rgba(255, 247, 230, 0.6);
}

.when .slot.full .slot-bar {
  background: rgba(255, 255, 255, 0.15);
}

.when .slot.full .slot-fill {
  background: rgba(255, 247, 230, 0.45);
}

.when .slot.on {
  border-color: #ffd54a;
  background: #ffd54a;
  color: var(--maroon-dark);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.when .slot.on .slot-tag,
.when .slot.on .slot-left {
  color: var(--maroon);
}

.when .slot.on .slot-bar {
  background: rgba(92, 13, 16, 0.18);
}

.when .slot.on .slot-fill {
  background: var(--maroon);
}

.when .slot-note {
  color: #f6e2bd;
}

.when .slot-note b {
  color: #ffd54a;
}

@media (min-width: 560px) {
  .when {
    border-radius: var(--radius);
    margin: 0 0 14px;
  }
}

/* v1.26: hype line in the Book your slot band */
.hurry {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e8312a;
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: 3px;
}

.hype {
  min-height: 2.7em;
  line-height: 1.35;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff7e6;
}

.hype-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #ffd54a;
}

@media (prefers-reduced-motion: no-preference) {
  .hurry {
    animation: hurry 1.2s ease-in-out infinite;
  }

  .hype-caret {
    animation: caret 0.8s steps(1) infinite;
  }

  @keyframes hurry {
    0%,
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(232, 49, 42, 0.6);
    }
    50% {
      transform: scale(1.08);
      box-shadow: 0 0 0 6px rgba(232, 49, 42, 0);
    }
  }
}

/* 9 Mangalvar variant */
.live-chip {
  position: absolute;
  left: 10px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 6, 4, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
}

.hanuman-photo {
  aspect-ratio: 4 / 3;
  object-position: 50% 18%;
}

.seva-body .benefit-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slot.day {
  width: 118px;
}

.slot.day .slot-time {
  font-size: 15px;
}

.when .slot.day.on:not(.first) {
  background: #ffe9a6;
  border-color: #ffd54a;
  box-shadow: none;
}

.when .slot.day.first {
  background: #ffd54a;
}

.top-seva-price small,
.sticky-price small {
  margin-left: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: blink-dot 1.2s ease-in-out infinite;
  }
}

.hero-photo {
  object-position: 50% 0;
}

.when .slot.full .slot-tag {
  color: rgba(255, 247, 230, 0.6);
}

/* v2: signboard on the hero, animated feet */
.signboard {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 1;
  width: min(86%, 380px);
  padding: 8px 14px 9px;
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(180deg, #7a1b1b 0%, #4e0f0f 100%);
  box-shadow: 0 0 0 2px #d8a64a, 0 0 0 5px #4e0f0f, 0 0 0 6px rgba(216, 166, 74, 0.7),
    0 10px 24px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
}

.sb-hi {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffd98a;
  text-shadow: 0 1px 0 #2a0606;
}

.sb-en {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff1d0;
}

.sb-place {
  margin: 2px 0 0;
  font-size: 12px;
  color: #f3d9a8;
}

.sb-place .pin {
  margin-right: 5px;
  background: #ffd98a;
}

.sb-place .pin::after {
  background: #4e0f0f;
}

@media (min-width: 400px) {
  .sb-hi {
    font-size: 25px;
  }
}

.feet-frame {
  position: relative;
}

.feet-photo {
  aspect-ratio: 475 / 315;
  object-position: 50% 60%;
}

.feet-glow {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -10%;
  height: 45%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 70%, rgba(255, 190, 80, 0.55), rgba(255, 190, 80, 0) 70%);
  mix-blend-mode: screen;
}

.petal.leaf {
  width: calc(var(--size, 12px) * 1.5);
  height: calc(var(--size, 12px) * 2.1);
  border-radius: 0;
  background: url("images/betel-leaf.png") center / contain no-repeat;
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  .feet-photo {
    animation: kenburns 14s ease-in-out infinite alternate;
  }

  .feet-glow {
    animation: glow-flicker 2.6s ease-in-out infinite;
  }

  @keyframes kenburns {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1) translateY(-2%);
    }
  }

  @keyframes glow-flicker {
    0%,
    100% {
      opacity: 0.55;
    }
    40% {
      opacity: 1;
    }
    70% {
      opacity: 0.75;
    }
  }
}

.signboard {
  bottom: 36px;
  width: min(72%, 320px);
  padding: 5px 10px 6px;
}

.sb-hi {
  font-size: 18px;
}

.sb-en {
  font-size: 12px;
}

.sb-place {
  font-size: 11px;
}

@media (min-width: 400px) {
  .sb-hi {
    font-size: 21px;
  }
}

@media (min-width: 560px) {
  .signboard {
    bottom: 44px;
  }

  .sb-hi {
    font-size: 26px;
  }

  .sb-en {
    font-size: 15px;
  }

  .sb-place {
    font-size: 13px;
  }
}

.hero-photo {
  aspect-ratio: 375 / 330;
  object-position: 56% 0;
}

@media (min-width: 560px) {
  .hero-photo {
    aspect-ratio: 1200 / 630;
    object-position: 50% 0;
  }
}

/* v2.2: gopuram cover with the temple name on its own signboard */
.hero-photo {
  aspect-ratio: 1080 / 900;
  object-position: 50% 50%;
}

.rep-tag {
  position: absolute;
  right: 10px;
  bottom: 34px;
  z-index: 1;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 560px) {
  .hero-photo {
    aspect-ratio: 1200 / 700;
    object-position: 50% 58%;
  }
}

/* v2.5: seva card artwork, chips, mantra band, embers */
.seva-banner {
  position: relative;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 0 0 2px #d8a64a, 0 14px 30px rgba(92, 13, 16, 0.28);
}

.seva-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 540;
  object-fit: cover;
}

.seva-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 210, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
}

.seva-ribbon {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #4e0f0f;
  background: rgba(255, 233, 168, 0.92);
}

.seva-head .seva-desc {
  margin-bottom: 8px;
}

.seva-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #7a1b1b;
  background: #fbe8d0;
  border: 1px solid #e9c48a;
}

.chip-gold {
  background: #ffe39a;
}

.chip s {
  font-weight: 400;
  opacity: 0.7;
}

.ob-wish {
  margin-left: 4px;
  font-weight: 700;
}

.mantra-band {
  overflow: hidden;
  margin: 6px 0 16px;
  padding: 7px 0;
  color: #ffe9a8;
  background: linear-gradient(90deg, #5a0d0d, #8a1d1d 50%, #5a0d0d);
  border-top: 1px solid #d8a64a;
  border-bottom: 1px solid #d8a64a;
}

.mantra-track {
  display: flex;
  width: max-content;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.mantra-track span {
  padding: 0 14px;
}

.ember {
  position: absolute;
  bottom: -10px;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  background: #ffd36b;
  box-shadow: 0 0 8px 3px rgba(255, 190, 70, 0.75);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .seva-shine {
    animation: shine 5s ease-in-out 1.5s infinite;
  }

  .seva-art {
    animation: breathe 9s ease-in-out infinite alternate;
  }

  .mantra-track {
    animation: mantra-scroll 26s linear infinite;
  }

  .ember {
    animation: ember-rise var(--dur, 7s) ease-out var(--delay, 0s) infinite;
  }

  @keyframes shine {
    0%,
    60% {
      transform: translateX(-120%);
    }
    100% {
      transform: translateX(120%);
    }
  }

  @keyframes breathe {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.06);
    }
  }

  @keyframes mantra-scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  @keyframes ember-rise {
    0% {
      opacity: 0;
      transform: translate(0, 0);
    }
    15% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: translate(var(--drift, 20px), -260px);
    }
  }
}

/* v2.6: Razorpay payment link under the booking button */
.pay-box {
  margin-top: 18px;
  text-align: center;
}

.pay-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.pay-or::before,
.pay-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2c9a0;
}

.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #2f6fe4, #1a4fb8);
  box-shadow: 0 6px 16px rgba(26, 79, 184, 0.3);
}

.btn-pay:focus-visible {
  outline: 3px solid #ffd36b;
  outline-offset: 2px;
}

.pay-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* v3.0: Razorpay subscription is the one call to action */
.btn-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  color: #4e0f0f;
  background: linear-gradient(180deg, #ffe28a 0%, #f5b82e 55%, #e0951a 100%);
  box-shadow: 0 0 0 2px #fff3c4 inset, 0 6px 18px rgba(224, 149, 26, 0.45);
}

.btn-sub.btn-wide {
  display: flex;
  width: 100%;
}

.btn-sub:focus-visible {
  outline: 3px solid #7a1b1b;
  outline-offset: 2px;
}

.band-sub {
  margin-top: 14px;
}

.sticky-price small,
.top-seva-price small {
  font-size: 12px;
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  /* Pay buttons: a soft golden glow that breathes, and a light sweep across the button */
  .btn-sub {
    overflow: hidden;
    animation: cta-glow 2.4s ease-in-out infinite;
  }

  .btn-sub::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    animation: cta-sweep 3.6s ease-in-out 1s infinite;
    pointer-events: none;
  }

  @keyframes cta-glow {
    0%,
    100% {
      box-shadow: 0 0 0 1px #2b4f8f inset, 0 6px 18px rgba(10, 29, 59, 0.4), 0 0 0 0 rgba(245, 184, 46, 0);
    }
    50% {
      box-shadow: 0 0 0 1px #2b4f8f inset, 0 6px 18px rgba(10, 29, 59, 0.4), 0 0 0 4px rgba(245, 184, 46, 0.55);
    }
  }

  .sankalpa .btn-wide::after {
    display: none;
  }

  @keyframes cta-sweep {
    0%,
    55% {
      left: -60%;
    }
    100% {
      left: 130%;
    }
  }
}

.sticky,
.when,
.sankalpa {
  overflow-x: clip;
}

/* v3.2: Subscribe buttons in Razorpay's dark standard style */
.btn-sub {
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #13305f 0%, #0a1d3b 100%);
  box-shadow: 0 0 0 1px #2b4f8f inset, 0 6px 18px rgba(10, 29, 59, 0.4);
}

.btn-sub.btn-wide {
  min-height: 56px;
}

.sub-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.rzp-mark {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9fc0ff;
}

.btn-sub:focus-visible {
  outline: 3px solid #ffd36b;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-sub::after {
    border-radius: 10px;
    border-color: rgba(51, 132, 255, 0.75);
  }
}

/* v3.6: contact fields and Razorpay.me steps */
button.btn-sub {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.contact {
  margin: 16px 0 4px;
  padding: 14px;
  border-radius: 14px;
  background: #fff8ec;
  border: 1px solid #ecd2a6;
}

.contact-title {
  margin: 0 0 10px;
  font-weight: 700;
  color: #7a1b1b;
}

.c-label {
  display: block;
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.c-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d9b98a;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}

.c-input:focus {
  outline: 2px solid #f5b82e;
  border-color: #c98a1a;
}

.c-input.bad {
  border-color: #b3261e;
}

.field-err {
  margin: 4px 0 0;
  font-size: 13px;
  color: #b3261e;
}

.field-err:empty {
  display: none;
}

.pay-steps {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #f1f5ff;
  border: 1px solid #b9cdf5;
}

.ps-title {
  margin: 0 0 8px;
  font-weight: 800;
  color: #0a1d3b;
}

.ps-list {
  margin: 0 0 10px;
  padding-left: 20px;
  line-height: 1.5;
}

.pay-note {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  border: 1px solid #b9cdf5;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  background: #fff;
  resize: vertical;
}

.btn-copy {
  display: block;
  min-height: 44px;
  margin: 8px 0 12px;
  padding: 8px 16px;
  border: 1px solid #0a1d3b;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  color: #0a1d3b;
  background: #fff;
  cursor: pointer;
}

/* v3.7: contact sheet after "Pay & book" */
.cs {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 6, 6, 0.55);
}

.cs-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: #fffaf1;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.cs-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: #7a1b1b;
  background: transparent;
  cursor: pointer;
}

.cs-title {
  margin: 0 36px 8px 0;
  font-size: 18px;
  font-weight: 800;
  color: #7a1b1b;
}

.cs-pay {
  margin-top: 16px;
}

.cs-note {
  margin: 8px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--ink-soft);
}

html.sheet-open,
html.sheet-open body {
  overflow: hidden;
}

@media (min-width: 560px) {
  .cs {
    align-items: center;
  }

  .cs-card {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cs-card {
    animation: cs-up 0.28s ease-out;
  }

  @keyframes cs-up {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}

/* v3.11: benefits shown openly */
.ben-title {
  margin: 18px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  color: #7a1b1b;
}

.ben-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.ben {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8ec;
  border: 1px solid #ecd2a6;
}

.ben img {
  flex: none;
  width: 48px;
  height: auto;
}

.ben-name {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 800;
  color: #4e0f0f;
}

.ben-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #5b4630;
}

@media (min-width: 720px) {
  .ben-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ben {
    flex-direction: column;
  }
}

/* v3.12: clearer partner stamp, ₹216 offer on the first screen */
.stamp-seal {
  width: 132px;
  height: 132px;
  background: none;
  box-shadow: none;
}

.stamp-seal .stamp {
  width: 94%;
  mix-blend-mode: normal;
  filter: saturate(1.8) contrast(1.35) brightness(0.92);
}

@media (min-width: 560px) {
  .stamp-seal {
    width: 150px;
    height: 150px;
  }
}

.hero-offer {
  position: absolute;
  left: 12px;
  bottom: 42px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 8px 14px 10px;
  border-radius: 14px;
  color: #4e0f0f;
  background: linear-gradient(180deg, #fff3c9, #ffd977);
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.ho-tag {
  font-size: 13px;
  font-weight: 800;
}

.ho-price b {
  font-size: 30px;
  line-height: 1.05;
}

.ho-price s {
  margin-left: 4px;
  font-size: 16px;
  opacity: 0.7;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-offer {
    animation: ho-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) 1.1s both;
  }

  @keyframes ho-pop {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.hero-offer {
  left: auto;
  right: 10px;
  bottom: 34px;
  padding: 6px 12px 8px;
}

.ho-price b {
  font-size: 26px;
}

.hero .rep-tag {
  right: auto;
  left: 10px;
}

/* v3.12: Manyu Sūkta copy, set larger and bolder */
.blessing-text {
  max-width: 40ch;
  font-style: normal;
  font-size: 16px;
  line-height: 1.55;
  color: #4e1a10;
}

/* v3.13: seva name and first time offer at the top of the content */
.title-sub {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  color: #8a5a2a;
}

.first-offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 12px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  color: #4e0f0f;
  background: linear-gradient(180deg, #fff3c9, #ffd977);
  border: 1px solid #e9b949;
  box-shadow: 0 4px 12px rgba(160, 100, 10, 0.25);
}

.fo-tag {
  font-size: 14px;
  font-weight: 800;
}

.fo-price {
  padding: 2px 12px;
  border-radius: 999px;
  background: #7a1b1b;
  color: #fff;
}

.fo-price b {
  font-size: 22px;
}

.fo-price s {
  margin-left: 4px;
  font-size: 14px;
  color: #f3d7a6;
}

.blessing {
  text-align: center;
}

/* v3.14: pinned bar shows just the icon and seva name */
.top-seva {
  justify-content: center;
  gap: 10px;
}

.top-seva .top-seva-name {
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-seva {
  background: #fff6e6;
  backdrop-filter: none;
}

/* v3.16: gotra and name required before Razorpay */
.sk-need {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: #b3261e;
}

.sk-need:empty {
  display: none;
}

.inline-blank.need {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.35);
  background: #fff1ef;
}

.js-book {
  cursor: pointer;
}

/* Razorpay Checkout on the page: busy buttons and the booking confirmation */
.js-book.busy {
  opacity: 0.7;
  cursor: progress;
}

.done {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(30, 8, 6, 0.6);
}

.done-card {
  width: 100%;
  max-width: 420px;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 24px 20px 20px;
  border-radius: 20px;
  text-align: center;
  background: #fffaf1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.done-om {
  margin: 0;
  font-size: 44px;
}

.done-title {
  margin: 6px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: #7a1b1b;
}

.done-text {
  margin: 0 0 14px;
  font-size: 16px;
  color: #4e3a2a;
}

.done-list {
  margin: 0 0 12px;
  text-align: left;
  border-top: 1px solid #ecd2a6;
}

.done-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px;
  border-bottom: 1px solid #ecd2a6;
}

.done-list dt {
  font-size: 14px;
  color: #7a6450;
}

.done-list dd {
  margin: 0;
  font-weight: 700;
  color: #2a1608;
  text-align: right;
  overflow-wrap: anywhere;
}

.done-note {
  margin: 0 0 14px;
  font-size: 14px;
  color: #6b5a50;
}

.done-close {
  min-width: 140px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: #7a1b1b;
  cursor: pointer;
}

html.done-open,
html.done-open body {
  overflow: hidden;
}

/* WhatsApp number and email, collected before checkout */
.csheet .contact {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
}

.contact-field label {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #7a1b1b;
}

.contact-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cfb27f;
  border-radius: 10px;
  font: inherit;
  font-size: 17px;
  color: #2a1608;
  background: #fff;
}

.contact-field input:focus {
  outline: 3px solid #f5b82e;
  outline-offset: 1px;
}

.contact-field input.need {
  border: 2px solid #b3261e;
  background: #fff3f1;
}

.phone-wrap {
  display: flex;
  align-items: stretch;
}

.phone-wrap .cc {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #cfb27f;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  font-weight: 700;
  color: #6b5a50;
  background: #f6ecd9;
}

.phone-wrap input {
  min-width: 0;
  border-radius: 0 10px 10px 0;
}

.contact .sk-need {
  margin: 0;
  text-align: left;
}

.contact-note {
  margin: 0;
  font-size: 14px;
  color: #6b5a50;
}

.bill-auto {
  color: #7a1b1b;
  font-weight: 700;
}

/* Screen 2: contact details sheet */
.csheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(30, 8, 6, 0.55);
}

.csheet-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 460px;
  max-height: 92dvh;
  margin: 0;
  overflow-y: auto;
  padding: 22px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: #fffaf1;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.csheet-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  font-size: 26px;
  color: #7a1b1b;
  background: transparent;
  cursor: pointer;
}

.csheet-title {
  margin: 0 40px 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #7a1b1b;
}

.csheet-sub {
  margin: 0 0 16px;
  font-size: 15px;
  color: #6b5a50;
}

@media (min-width: 560px) {
  .csheet {
    align-items: center;
  }

  .csheet-card {
    border-radius: 20px;
  }
}

/* Booking-close countdown: digits stay the same width as they tick */
.timer {
  font-variant-numeric: tabular-nums;
}

/* Purohit photo at passport size, to the left of his name */
.sk-pandit {
  align-items: center;
  gap: 14px;
}

.pandit-icon.pandit-passport {
  flex: none;
  width: 70px;
  height: 90px;
  border-radius: 8px;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(60, 20, 10, 0.28);
}

.sk-pandit .pandit-text {
  text-align: left;
}

/* Policy links in the footer */
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 16px;
  margin-top: 8px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #7a1b1b;
  font-weight: 600;
}

.cs-terms {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6b5a50;
}

.cs-terms a {
  color: #7a1b1b;
}

/* "Watch Seva Live From Home" card: red play tile, title and line, on a soft cream card */
.watch-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 6px;
  padding: 18px 16px;
  border: 1px solid #e3c99a;
  border-radius: 20px;
  background: #f3e8d6;
}

.watch-play {
  position: relative;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #c62f2f;
  box-shadow: 0 4px 12px rgba(198, 47, 47, 0.3);
}

.watch-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -6px;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}

.watch-body {
  min-width: 0;
}

.watch-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: #4e1410;
}

.watch-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #6b5a50;
}

.watch-card-sm {
  margin: 12px 0 10px;
  padding: 12px 14px;
  gap: 12px;
  border-radius: 16px;
}

.watch-card-sm .watch-play {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.watch-card-sm .watch-play::after {
  margin: -8px 0 0 -5px;
  border-width: 8px 0 8px 13px;
}

.watch-card-sm .watch-title {
  font-size: 17px;
}

.watch-card-sm .watch-text {
  font-size: 14px;
}

/* "Verified by Devaseva" tag with shield-check icon */
.verified {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f4d2b;
}

.verified-icon {
  flex: none;
}

.verified-center {
  justify-content: center;
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid #e8d5b0;
  border-bottom: 1px solid #e8d5b0;
}

/* Full seva name in the top bar: shrink a little on small phones instead of cutting it off */
.top-seva .top-seva-name {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.2;
}

@media (max-width: 374px) {
  .top-seva .top-seva-name {
    font-size: 16px;
  }
}

/* Stamp sits straight on the photo: a soft shadow keeps the ink readable */
.stamp-seal,
.stamp-seal::before,
.stamp-seal::after {
  background: none !important;
  box-shadow: none !important;
}

.stamp-seal .stamp {
  filter: drop-shadow(0 0 1.5px rgba(40, 10, 0, 0.85)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) saturate(1.2);
}

/* Gotra and name: clearly marked as fields to fill */
.blank-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  vertical-align: bottom;
  margin: 4px 0;
}

.blank-label {
  margin: 0 0 3px 2px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffe28a;
}

.sk-track .inline-blank {
  border: 2px solid #ffd54f;
  border-radius: 10px;
  background: #fffdf5;
  box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.25);
}

.sk-track .inline-blank::placeholder {
  color: #b45309;
  opacity: 1;
}

.sk-track .inline-blank.filled {
  border-color: #ffe28a;
  box-shadow: none;
}

.sk-tip b {
  color: #7a1b1b;
}

@media (prefers-reduced-motion: no-preference) {
  .sk-track .inline-blank:not(.filled):not(:focus) {
    animation: blank-glow 1.8s ease-in-out infinite;
  }

  @keyframes blank-glow {
    0%,
    100% {
      box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.2);
    }
    50% {
      box-shadow: 0 0 0 6px rgba(255, 213, 79, 0.5);
    }
  }
}

/* Full-screen loader while payment is prepared or confirmed */
.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 248, 236, 0.94);
}

.loader[hidden] {
  display: none;
}

.loader-card {
  text-align: center;
}

.loader-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 5px solid #f3d9b5;
  border-top-color: #e2540a;
}

.loader-om {
  font-size: 34px;
  line-height: 1;
  color: #7a1b1b;
}

.loader-text {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 800;
  color: #7a1b1b;
}

.loader-sub {
  margin: 0;
  font-size: 14px;
  color: #6b5a50;
}

@media (prefers-reduced-motion: no-preference) {
  .loader-ring {
    animation: loader-spin 1s linear infinite;
  }

  .loader-om {
    animation: loader-spin 1s linear infinite reverse;
  }

  @keyframes loader-spin {
    to {
      transform: rotate(360deg);
    }
  }
}
