/* Layer 6 — Yajarchana storefront. Layout only; no third-party slogans or assets. */

* { box-sizing: border-box; }
html { overflow-y: scroll; }
html, body, #root { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.quote, .ritual-name, .highlight {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-strip {
  background: var(--strip);
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.top-strip b { color: #fff; font-weight: 600; }

.header {
  background: var(--header);
  color: var(--header-ink);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-mark {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}
.logo-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent;
}
.logo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 8, 6, 0.82);
  cursor: zoom-out;
}
.logo-lightbox[hidden] {
  display: none;
}
.logo-lightbox img {
  width: min(72vw, 420px);
  height: auto;
  max-height: min(72vh, 420px);
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}
.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-word .ritual-name {
  font-size: 34px;
  color: var(--gold-soft);
  line-height: 0.95;
}
.logo-word small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cbb48a;
  font-family: var(--font);
  font-weight: 600;
}
.search {
  display: flex;
  background: #3a1c14;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(232, 213, 163, 0.25);
}
.search:focus-within { border-color: var(--gold); }
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 11px 16px;
  outline: none;
}
.search input::placeholder { color: #cbb48a; }
.search button {
  border: 0;
  background: var(--gold);
  color: #2b120c;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 700;
}
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

html:not(.phone-ui) .m-header-chat-btn .m-header-chat-btn__icon {
  display: none;
}

html:not(.phone-ui) .m-header-chat-btn .m-header-chat-btn__label {
  display: inline;
}
/* Phone bottom tabs — shown only under html.phone-ui (see mobile.css) */
.m-tabbar {
  display: none;
}
.icon-btn, .ghost-btn, .primary-btn, .saffron-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
}
.icon-btn {
  background: transparent;
  color: var(--gold-soft);
  padding: 8px 12px;
  font-weight: 600;
}
.icon-btn:hover { color: #fff; }
button.icon-btn {
  font: inherit;
  font-weight: 600;
}
.signout-link {
  margin-top: 12px;
  width: 100%;
  color: var(--maroon);
  border-color: var(--border);
}
.account-page-title {
  font-size: 42px;
  color: var(--maroon);
  margin: 0;
}
.account-hub-head {
  display: none;
}
.account-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.account-hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.account-hub-card__label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.account-hub-card__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon-deep, var(--maroon));
  line-height: 1.25;
}
.account-hub-card--due {
  border-color: rgba(196, 92, 38, 0.45);
  background: #fff6ec;
}
.account-order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.account-order-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}
.account-order-card__main {
  min-width: 0;
  flex: 1;
}
.account-order-card__act {
  flex: 0 0 auto;
}
.account-order-card__act .saffron-btn,
.account-order-card__act .ghost-btn {
  min-height: 36px;
  padding: 6px 12px;
  white-space: nowrap;
}
.dash-subnav,
.ops-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.dash-subnav a,
.ops-tabs a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
  font-size: 13px;
  color: var(--text);
}
.dash-subnav a:hover,
.ops-tabs a:hover {
  background: #faf7f2;
}
.dash-subnav a.active,
.ops-tabs a.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}
.nav-cats-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px 8px;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.nav-cats-scroll {
  flex: 0 0 auto;
  align-self: center;
  user-select: none;
  padding: 8px 10px;
  color: #d7c4a4;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: ew-resize;
  line-height: 1;
}
.nav-cats-scroll:not(.is-disabled):hover {
  color: var(--gold);
}
.nav-cats-scroll.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.nav-cats {
  flex: 1;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0 4px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-cats::-webkit-scrollbar {
  display: none;
}
.nav-cats a, .nav-cats button {
  background: none;
  border: 0;
  padding: 8px 12px;
  white-space: nowrap;
  color: #d7c4a4;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav-cats a.active, .nav-cats a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

#banner-slot {
  position: sticky;
  top: var(--app-header-h, var(--phone-header-h, 72px));
  z-index: 41;
}
#banner-slot:not(:empty) {
  margin-bottom: 4px;
}

/* Home — animated festival / catalog photo carousel (desktop) */
html:not(.phone-ui) .wrap > .m-banner {
  position: relative;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #2b120c;
}
html:not(.phone-ui) .wrap > .m-banner.m-banner--plain {
  background: linear-gradient(120deg, #2b120c 0%, #6b1d1d 55%, #3a1010 100%);
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__slides {
  position: absolute;
  inset: 0;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s ease;
  z-index: 0;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
  transition: transform 6s ease-out;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__slide.is-active img {
  transform: scale(1);
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(20, 8, 6, 0.05) 0%,
    rgba(20, 8, 6, 0.25) 45%,
    rgba(20, 8, 6, 0.78) 100%
  );
  pointer-events: none;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 16px 20px 14px;
  color: #f7ecda;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__copy h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(247, 236, 218, 0.35);
  cursor: pointer;
}
html:not(.phone-ui) .wrap > .m-banner .m-banner__dot.is-active {
  background: var(--gold);
}

html:not(.phone-ui) .wrap > .m-banner.m-banner--with-panchang {
  height: auto;
  min-height: 300px;
  margin-bottom: 22px;
}
html:not(.phone-ui) .wrap > .m-banner.m-banner--with-panchang .panchang-unified--home-banner {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
html:not(.phone-ui) .wrap > .m-banner.m-banner--with-panchang .m-banner__shade {
  background: linear-gradient(
    180deg,
    rgba(20, 8, 6, 0.35) 0%,
    rgba(20, 8, 6, 0.55) 42%,
    rgba(20, 8, 6, 0.82) 100%
  );
}
html:not(.phone-ui) .wrap > .m-banner.m-banner--with-panchang > .m-banner__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 4;
  margin-top: 0;
  pointer-events: auto;
}

.banner {
  max-width: 1180px;
  margin: 6px auto 0;
  padding: 10px 12px;
  background: #fff4e5;
  border: 1px solid #e8c48a;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(74, 28, 18, 0.12);
}
.banner .ghost-btn {
  align-self: flex-end;
  margin: 0;
}
.banner__body {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.banner__icon {
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1.35;
}
.banner.retry,
.banner.validation {
  background: #fdecec;
  border-color: #f0a8a8;
  color: #8a1c1c;
}
.banner.ok { background: #e8f6ec; border-color: #9ccc9c; color: #1a5c2e; }
.banner:focus {
  outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent);
  outline-offset: 2px;
}
.banner--reveal {
  animation: banner-reveal 0.85s ease;
}
@keyframes banner-reveal {
  0% {
    transform: translateY(-4px);
    opacity: 0.85;
  }
  35% {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent);
  }
  100% {
    box-shadow: 0 4px 14px rgba(74, 28, 18, 0.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .banner--reveal {
    animation: none;
  }
}

.desk-callout {
  margin: 0 0 20px;
  padding: 14px 16px 16px;
  border-radius: 12px;
  border: 1px solid #e8c48a;
  background: #fff8ee;
}
.desk-callout--warn {
  border-color: #e0a85c;
  background: linear-gradient(180deg, #fff4e5 0%, #fffaf3 100%);
}
.desk-callout--info {
  border-color: #c9d4e8;
  background: #f4f7fc;
}
.desk-callout__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.desk-callout__title {
  margin: 0;
  flex: 1 1 12rem;
  font-family: var(--display);
  font-size: 20px;
  color: var(--maroon);
  line-height: 1.25;
}
.desk-callout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.desk-callout__intro {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted, #5c4f47);
  line-height: 1.45;
}
.desk-callout__status {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(138, 115, 88, 0.22);
  background: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
}
.desk-callout__status-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a7358;
  line-height: 1.2;
}
.status-pill {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e0d0b8;
  background: #fff;
  color: #3d342e;
  white-space: nowrap;
}
.status-pill--current {
  border-color: #d4a24a;
  background: #fff3dc;
  color: #6b4a12;
}
.desk-callout__steps {
  --step-cols: 1;
  display: grid;
  grid-template-columns: repeat(var(--step-cols), minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: desk-callout-step;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink, #1a1412);
}
.desk-callout__steps li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(138, 115, 88, 0.18);
  background: rgba(255, 255, 255, 0.55);
  box-sizing: border-box;
}
.desk-callout__steps li::before {
  counter-increment: desk-callout-step;
  content: counter(desk-callout-step);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #6b4a12;
  background: #fff3dc;
  border: 1px solid #e0c48a;
}
.desk-callout__jump {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  cursor: pointer;
}
.desk-callout__jump:hover {
  color: #8b1a1a;
}
@media (max-width: 520px) {
  .desk-callout__steps {
    grid-template-columns: 1fr !important;
  }
}
.assign-override {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed #e0d0b8;
}
.assign-override--highlight {
  border-radius: 10px;
  outline: 2px solid #d4a24a;
  outline-offset: 4px;
  background: rgba(255, 243, 220, 0.35);
}
.page-back {
  margin: 0 0 12px;
}
.page-back__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-weight: 600;
  padding: 5px 22px;
  min-height: 0;
  line-height: 1;
}
.page-back__arrow {
  font-size: 1.2em;
  line-height: 1;
}
.booking-detail-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.form-alert {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 8px 0 0;
  padding: 10px 12px 10px 2.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
  box-sizing: border-box;
}
.form-alert::before {
  position: absolute;
  left: 0.65rem;
  top: 0.62rem;
  font-size: 1rem;
  line-height: 1.35;
}
.form-alert--error {
  color: #8a1c1c;
  background: #fdecec;
  border-color: #f0a8a8;
}
.form-alert--error::before {
  content: "⚠";
}
.form-alert--success {
  color: #1a5c2e;
  background: #e8f6ec;
  border-color: #9ccc9c;
  font-weight: 600;
}
.form-alert--success::before {
  content: "✓";
}
.form-alert--info {
  color: #5c3a10;
  background: #fff4e5;
  border-color: #e8c48a;
  font-weight: 600;
}
.form-alert--info::before {
  content: "ℹ";
}
.field-error:not(.form-alert) {
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 0;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 24px 18px 48px; }
.empty { text-align: center; padding: 48px 16px; }
.empty h2 { font-family: var(--display); font-size: 42px; margin: 0 0 8px; color: var(--maroon); }

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(201, 162, 39, 0.28), transparent 42%),
    linear-gradient(120deg, #2b120c 0%, #6b1d1d 46%, #3a1010 100%);
  color: #f7ecda;
  padding: 56px 40px;
  min-height: 340px;
  box-shadow: var(--shadow);
}
.hero .eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  margin: 10px 0 8px;
  font-weight: 400;
}
.hero .lede { max-width: 540px; color: #ead9bd; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-ornament {
  position: absolute;
  right: 36px;
  top: 36px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-ornament::after {
  content: "";
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #ffe9a8 0 18%, transparent 19%),
    conic-gradient(from 20deg, #c9a227, #6b1d1d, #c45c26, #c9a227);
}

.primary-btn, .saffron-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-weight: 700;
  text-align: center;
}
.primary-btn {
  background: var(--gold);
  color: #2b120c;
}
.primary-btn:hover { filter: brightness(1.05); }
.primary-btn:disabled, .saffron-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.saffron-btn { background: var(--saffron); color: #fff; }
.saffron-btn:hover { background: var(--saffron-hover); }
.ghost-btn {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  padding: 10px 18px;
}
.hero .ghost-btn { color: var(--gold-soft); border-color: rgba(232, 213, 163, 0.5); }

.section-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 36px 0 16px;
}
.section-h h2 {
  font-family: var(--display);
  font-size: 40px;
  margin: 0;
  color: var(--maroon);
}
.section-h a { color: var(--saffron); font-weight: 600; }

.cat-marquee {
  position: relative;
  margin: 0 -18px 8px;
  width: calc(100% + 36px);
}
.cat-marquee::before,
.cat-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}
.cat-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(247, 241, 230, 0.65), transparent);
}
.cat-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(247, 241, 230, 0.65), transparent);
}
.cat-marquee__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
}
.cat-marquee__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.cat-marquee__track {
  display: flex;
  width: max-content;
}
.cat-marquee__set {
  display: flex;
  gap: 14px;
  padding: 4px 10px;
  flex-shrink: 0;
}
.cat-marquee .cat-tile {
  flex: 0 0 168px;
  width: 168px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.cat-marquee .cat-tile:hover,
.cat-marquee .cat-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  outline: none;
}
.cat-grid, .fest-grid, .svc-grid {
  display: grid;
  gap: 16px;
}
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.fest-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.svc-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.svc-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 1100px) {
  .svc-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .svc-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home-rites-browse__actions {
  text-align: center;
  margin: 8px 0 0;
}
.home-rites-browse__actions .ghost-btn {
  display: inline-block;
}

.cat-tile, .fest-card, .svc-card, .panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cat-tile {
  padding: 18px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cat-tile .art {
  height: 72px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-family: var(--display);
  font-size: 34px;
}
.cat-tile .art.art--photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.cat-tile .art.art--photo .photo-fit {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cat-tile .cat-name { font-weight: 600; }
.cat-tile .cat-time {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f3e6d0;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.fest-card { padding: 18px; }
.fest-card .when { color: var(--muted); font-size: 13px; }
.fest-card h3 { margin: 6px 0; font-family: var(--display); font-size: 30px; color: var(--maroon); }

a.svc-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.svc-card { overflow: hidden; display: flex; flex-direction: column; }
.svc-card__main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}
.svc-card__actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  margin-top: 4px;
}
.svc-card__cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(28, 12, 8, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
button.svc-card__cta {
  cursor: pointer;
  font-family: inherit;
}
.svc-card__cta--book {
  background: linear-gradient(165deg, #9a3828 0%, #6b1d1d 55%, #5a1814 100%);
  color: #fff8ec;
  border-color: rgba(201, 162, 39, 0.35);
}
.svc-card__actions .svc-card__whatsapp-cta,
.fest-card--promo .svc-card__whatsapp-cta {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 8px 10px;
  border-radius: 11px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  gap: 0.45rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(28, 12, 8, 0.1);
}
.svc-card__whatsapp-cta-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.svc-card__whatsapp-cta-text {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
  column-gap: 0.2em;
}
.svc-card__whatsapp-cta-line {
  display: inline;
  white-space: nowrap;
}
.svc-card__actions .svc-card__whatsapp-cta .ritual-detail__wa-icon,
.fest-card--promo .svc-card__whatsapp-cta .ritual-detail__wa-icon {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: #25d366;
}
.svc-card__cta:hover {
  filter: brightness(1.04);
  box-shadow: 0 4px 10px rgba(28, 12, 8, 0.12);
}
.svc-card__cta:active {
  transform: translateY(1px);
}
.fest-card--promo {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.fest-card__main {
  display: block;
  padding: 18px;
  padding-bottom: 12px;
  text-decoration: none;
  color: inherit;
}
.fest-card--promo .svc-card__actions {
  padding: 0 18px 18px;
  margin-top: 0;
}
.svc-card > .svc-art,
.svc-card__main > .svc-art {
  margin: 14px 16px 0;
  border-radius: 12px;
  width: auto;
}
.svc-art {
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  position: relative;
}
.svc-art .diya {
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 50% 30%, #ffe9a8, #c45c26 55%, #6b1d1d);
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.45);
}
.svc-card .body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { margin: 0 0 6px; font-family: var(--display); font-size: 28px; color: var(--maroon-deep); line-height: 1.15; }
.svc-card .note { color: var(--muted); font-size: 14px; flex: 1; }
.svc-meta { display: flex; justify-content: space-between; margin-top: 12px; align-items: baseline; }
.price { font-weight: 700; color: var(--maroon); }
.chip {
  display: inline-block;
  background: #f3e6d0;
  color: var(--maroon);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  margin-right: 4px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.filters select, .field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}
.filters select { width: auto; min-width: 160px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { padding: 20px; }
.pkg {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.pkg.selected { border-color: var(--gold); background: #fff8e8; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }

.footer {
  background: #1c0c08;
  color: #d7c4a4;
  padding: 40px 18px 20px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer h4 { color: var(--gold); font-family: var(--display); font-size: 28px; margin: 0 0 8px; font-weight: 400; }
.footer-col__subhead {
  margin-top: 14px;
  font-size: 22px;
}
.footer__lede {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #d7c4a4;
  max-width: 28rem;
}
.footer__muted {
  display: block;
  padding: 3px 0;
  font-size: 13px;
  color: #9a8468;
  line-height: 1.45;
}
.footer a, .footer span { display: block; padding: 3px 0; }
.fine { max-width: 1180px; margin: 18px auto 0; font-size: 12px; color: #9a8468; padding: 0 18px 8px; line-height: 1.45; }

.catalog-row { margin-top: 14px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ghost-btn.danger { color: var(--maroon); border-color: rgba(122, 32, 22, 0.35); }
.danger-zone {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(122, 32, 22, 0.2);
}
.users-desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.users-desk-actions .primary-btn,
.users-desk-actions .ghost-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
  font-size: 13px;
  color: var(--text);
  box-shadow: none;
}
.users-desk-actions .primary-btn:hover,
.users-desk-actions .ghost-btn:hover {
  background: #faf7f2;
}
.users-desk-actions .primary-btn.active,
.users-desk-actions .ghost-btn.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}
.users-desk-body { max-width: 720px; }
.users-desk-body .panel { margin-bottom: 14px; }
.catalog-mode-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.catalog-mode-bar a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}
.catalog-mode-bar a:hover { background: #faf7f2; }
.catalog-mode-bar a.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}
.roles-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: start;
}
.roles-desk-side { min-width: 0; }
.roles-desk-scroll {
  position: relative;
}
.roles-desk-list {
  max-height: min(70vh, 640px);
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 6px;
  box-shadow: var(--shadow);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.roles-desk-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.roles-desk-edge {
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 2;
  pointer-events: auto;
}
.roles-desk-edge--top {
  top: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
}
.roles-desk-edge--bottom {
  bottom: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(to top, rgba(255,255,255,0.55), transparent);
}
.roles-desk-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
}
.roles-desk-item:hover { background: rgba(74, 28, 28, 0.05); }
.roles-desk-item.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}
.roles-desk-item.active .hint { color: rgba(255, 255, 255, 0.75); }
.roles-desk-item-name {
  font-weight: 600;
  font-size: 14px;
}
.roles-desk-main { min-width: 0; }
.roles-desk-create { max-width: 720px; }
.perm-grid {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}
.perm-check { align-items: flex-start; }
.perm-check code { font-size: 12px; }
.catalog-inline {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  flex-wrap: wrap;
}
.catalog-inline input { flex: 1; min-width: 160px; }

.desk-frame { display: contents; }
.desk-rail[hidden] { display: none !important; }
.desk-col { min-width: 0; }

/* Staff desk: same storefront chrome as home; rail keeps the dark workspace look */
body.desk-mode .desk-frame {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 20px 48px;
  box-sizing: border-box;
}
body.desk-mode .desk-rail {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 88px;
  min-height: calc(100vh - 160px);
  background: #1a1412;
  color: #efe7dc;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 22px 16px 24px;
}
body.desk-mode .desk-rail .dash-kicker { color: #b9a48c; }
body.desk-mode .desk-rail .dash-side-title {
  color: #f4e6c8;
  margin-bottom: 18px;
  font-size: 28px;
}
body.desk-mode .desk-rail .dash-nav a {
  color: #d7c4a4;
}
body.desk-mode .desk-rail .dash-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}
body.desk-mode .desk-rail .dash-nav a.active {
  background: #fff;
  color: #1a1412;
}
body.desk-mode .desk-rail .dash-who {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #efe7dc;
}
body.desk-mode .desk-rail .hint,
body.desk-mode .desk-rail .dash-stat-label { color: #b9a48c; }
body.desk-mode .desk-rail .signout-link {
  color: #f4e6c8;
  border-color: rgba(232, 213, 163, 0.35);
}
body.desk-mode .desk-col {
  background: transparent;
  min-width: 0;
}
body.desk-mode .wrap,
body.desk-mode .dash {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.dash {
  max-width: 1180px;
  margin: 0;
  padding: 24px 28px 48px;
  display: block;
}
.dash-side {
  position: sticky;
  top: 92px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  box-shadow: var(--shadow);
}
.dash-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-side-title {
  margin: 4px 0 16px;
  font-size: 28px;
  color: var(--maroon);
}
.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}
.dash-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
}
.dash-nav a:hover { background: var(--cream); }
.dash-nav a.active {
  background: var(--maroon);
  color: #fff;
}
.dash-who {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.dash-who p { margin: 0 0 4px; }
.dash-head { margin-bottom: 18px; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.dash-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow);
}
.dash-stat-label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dash-stat-value {
  margin: 6px 0 4px;
  font-size: 32px;
  font-weight: 600;
  color: var(--maroon-deep);
  line-height: 1.1;
}
.dash-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px 8px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.dash-panel-head h2 { margin: 0; font-size: 18px; }
.dash-table-wrap { overflow-x: auto; }
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.dash-table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 8px 10px;
  border-bottom: 1px solid var(--border);
}
.dash-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table a { color: var(--maroon); }
.dash-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
.dash-tool { margin: 0; }

.account-dash {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: start;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}
.account-dash-side {
  position: sticky;
  top: 88px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.account-dash-main { min-width: 0; }
.account-dash-nav a.account-store-link { margin-top: 8px; opacity: 0.85; }
.account-guest { max-width: 420px; margin: 0 auto; padding: 32px 20px 48px; }
.auth-hub {
  padding: 28px 24px 24px;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 12px 40px rgba(42, 26, 18, 0.08);
  background: var(--card);
}
.auth-hub__head { margin-bottom: 22px; text-align: left; }
.auth-hub__emblem {
  width: 84px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}
.auth-hub__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--maroon);
  letter-spacing: -0.02em;
  text-align: center;
}
.auth-hub__subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.auth-hub__resume {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.auth-hub__form-foot {
  margin: 0 0 4px;
  text-align: right;
}
.auth-hub__form-foot--user,
.auth-hub__form-foot--staff {
  margin-top: 14px;
  text-align: center;
}
.auth-hub__form-foot--back {
  margin-top: 12px;
  text-align: center;
}
.auth-hub__helper {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 0;
}
.auth-hub__helper .linkish { color: var(--saffron); font-weight: 700; }
.auth-hub__password-note {
  margin: -4px 0 14px;
  font-size: 12px;
  color: var(--muted);
}
/* Hidden from sign-in UI; flows remain via #/account?flow=forgot and staff-access URL. */
.auth-hub__optional-link {
  display: none;
}
.auth-hub__lede {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}
.auth-hub__subflow .auth-hub__form textarea {
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  resize: vertical;
}
.svc-detail__title {
  font-size: 48px;
  margin: 16px 0 8px;
  color: var(--maroon);
}
.panel-title {
  font-size: 32px;
  margin-top: 0;
}
.panel--spaced { margin-top: 16px; }
.book-muhurat-help {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
}

.book-muhurat-help__lead {
  margin: 0 0 0.6rem;
  font-size: 0.875rem;
  color: var(--text);
}

.book-muhurat-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.book-muhurat-help__check {
  margin: 0;
  font-size: 0.8125rem;
}

.muhurat-call-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.muhurat-call-modal[hidden] {
  display: none !important;
}

.muhurat-call-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 12, 8, 0.55);
}

.muhurat-call-modal__panel {
  position: relative;
  width: min(420px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.muhurat-call-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.muhurat-call-modal__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.muhurat-call-modal__lede {
  margin: 0 0 0.85rem;
  line-height: 1.45;
}

.muhurat-call-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ritual-save-sankalp-modal .muhurat-call-modal__actions {
  justify-content: center;
}

.ritual-save-sankalp-modal [data-ritual-save-message] {
  width: 100%;
  margin: 0;
  text-align: center;
}

.muhurat-call-modal__status--ok {
  color: var(--ok);
}

.muhurat-call-modal__status--error {
  color: var(--danger);
}

.auth-hub__phone-otp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.book-page__title {
  font-size: 46px;
  color: var(--maroon);
  margin: 0 0 8px;
}
.catalog-more {
  text-align: center;
  margin-top: 24px;
}
.auth-hub__audience,
.auth-hub__flow {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  padding: 3px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.auth-hub__tab,
.auth-hub__flow-btn {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 9px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.auth-hub__tab.active,
.auth-hub__flow-btn.active {
  background: var(--card);
  color: var(--maroon);
  box-shadow: 0 1px 3px rgba(42, 26, 18, 0.12);
}
.auth-hub__tab.active {
  background: var(--maroon);
  color: var(--header-ink);
  box-shadow: 0 5px 14px rgba(107, 29, 29, 0.25);
}
.auth-hub__social {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin: 0 0 8px;
}
.auth-hub__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.auth-hub__social-btn:hover { border-color: var(--gold); }
.auth-hub__social-logo {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.auth-hub__social-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.auth-hub__or {
  text-align: center;
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-hub__or span {
  display: inline-block;
  padding: 0 12px;
  background: var(--card);
  position: relative;
}
.auth-hub__or::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--border);
  margin-bottom: -0.65em;
}
.auth-hub__form .field { margin-bottom: 12px; }
.auth-hub__form .primary-btn,
.auth-hub__form .saffron-btn,
.auth-hub__form .ghost-btn { margin-top: 8px; width: 100%; }
.auth-hub__form .linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--maroon);
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}
.auth-hub__more {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.auth-hub__more summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  list-style: none;
}
.auth-hub__more summary::-webkit-details-marker { display: none; }
.auth-hub__more[open] summary { color: var(--maroon); margin-bottom: 14px; }

.priest-task-list { display: flex; flex-direction: column; gap: 12px; }
.priest-task-row { display: block; text-decoration: none; color: inherit; margin: 0; }
.priest-task-row:hover { border-color: var(--gold); }
.priest-task-row__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.priest-portal-nav { margin-top: 12px; }
.priest-lang-grid { display: grid; gap: 6px; }
.auth-hub__otp-dev { font-size: 12px; margin-top: 4px; }

.svc-art--photo,
.art--photo {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(165deg, var(--cream) 0%, var(--photo-frame) 45%, var(--photo-frame-deep) 100%);
}

/* Scale the full image to fit any frame — never crop (object-fit: contain). */
.photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-card > .svc-art.svc-art--photo {
  padding: 8px;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.photo-fit {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.svc-art.svc-art--photo {
  display: flex;
}
.cat-tile .art.art--photo {
  display: flex;
}

.svc-art--photo img { border-radius: inherit; }

.svc-art.svc-art--detail.photo-frame {
  display: block;
  width: 100%;
  max-width: min(100%, 560px);
  height: auto;
  border-radius: var(--radius);
}
.svc-art--detail .photo-fit {
  width: 100%;
  height: auto;
  max-height: min(75vh, 720px);
  object-fit: contain;
}

.media-block {
  margin: 12px 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.media-block--compact { margin: 8px 0 4px; }
.media-preview {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.media-preview--compact {
  max-width: 200px;
  aspect-ratio: 4 / 3;
}
.media-preview--empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}
.media-lib-search {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin: 18px 0;
}
.media-lib-search .field { flex: 1; margin: 0; }
.media-lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin: 18px 0 32px;
}
.media-lib-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: var(--panel);
  cursor: pointer;
}
.media-lib-card.is-selected {
  border-color: var(--maroon);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--maroon) 25%, transparent);
}
.media-lib-card__thumb {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #f6f1ea;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.media-lib-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-lib-card__name {
  margin: 0 0 4px;
  font-size: 13px;
  word-break: break-word;
}
.media-lib-attach { margin: 16px 0; }
.media-upload-btn { cursor: pointer; margin-right: 8px; }
.media-hint { margin: 6px 0 0; font-size: 12px; }
.media-video { margin: 16px 0; padding: 16px; }

.location-picker { margin: 12px 0 18px; }
.location-picker__gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.location-picker.is-map-open .location-picker__gate {
  display: none;
}
.location-picker__gate-hint {
  flex: 1 1 100%;
  margin: 0;
}
.location-picker__gps-status.is-error { color: var(--maroon, #7a2016); }
.location-picker__map-panel[hidden] { display: none !important; }
.location-picker__search-wrap {
  position: relative;
  margin-bottom: 10px;
  z-index: 5;
}
.location-picker__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.location-picker__search {
  flex: 1 1 180px;
  min-width: 140px;
}
.location-picker__suggest {
  list-style: none;
  margin: 4px 0 0;
  padding: 4px 0;
  position: absolute;
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: var(--panel, #fffaf3);
  border: 1px solid var(--border, #d9cbb8);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(40, 20, 10, 0.12);
  z-index: 6;
}
.location-picker__suggest-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink, #2a1a12);
}
.location-picker__suggest-item:hover,
.location-picker__suggest-item.is-active {
  background: var(--cream, #f3ebe0);
}
.location-picker__suggest-empty {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted, #6b5a4c);
}
.location-picker__map-shell {
  position: relative;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #efe6d6;
  z-index: 1;
  touch-action: none;
}
.location-picker__map {
  height: 260px;
  width: 100%;
  z-index: 1;
  cursor: grab;
  touch-action: none;
}
.location-picker__map-shell.is-moving .location-picker__map {
  cursor: grabbing;
}
.location-picker__center-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -28px 0 0 -14px;
  z-index: 500;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 2px 3px rgba(40, 20, 10, 0.35));
  transition: transform 0.12s ease;
}
.location-picker__map-shell.is-moving .location-picker__center-pin {
  transform: translateY(-6px);
}
.location-picker__center-pin-dot {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #c45c26;
  border: 2px solid #8b1e1e;
}
.location-picker__address-field {
  margin: 0 0 12px;
}
.location-picker__coords { margin-top: 6px; }

.bulk-drop {
  margin-top: 16px;
  padding: 28px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
}
.bulk-drop:focus,
.bulk-drop.is-over {
  border-color: var(--maroon);
  background: var(--cream);
}
.bulk-select-btn { display: inline-block; margin-top: 8px; cursor: pointer; }
.bulk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.bulk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bulk-table th, .bulk-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bulk-thumb img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.bulk-error { color: var(--maroon); font-size: 13px; max-width: 280px; }
.bulk-status--pending { background: #efe6d6; }
.bulk-status--uploading { background: #f3d9b0; }
.bulk-status--uploaded { background: #d7ead4; }
.bulk-status--failed { background: #f3d0c8; }
.bulk-summary p { margin: 4px 0; }

.fest-card-art {
  min-height: 100px;
  margin: -18px -18px 12px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(165deg, var(--cream) 0%, var(--photo-frame) 45%, var(--photo-frame-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.fest-card-art .photo-fit {
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.book-desk-group { margin-top: 16px; }
.book-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
  flex-wrap: wrap;
}
.book-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted, #6b5b4f);
  text-align: center;
}
.book-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.book-cal-cell {
  min-height: 88px;
  border: 1px solid rgba(90, 40, 30, 0.12);
  border-radius: 8px;
  padding: 6px;
  background: rgba(255, 252, 247, 0.7);
}
.book-cal-cell.is-empty { background: transparent; border-color: transparent; }
.book-cal-day {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
}
.book-cal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.book-cal-list a {
  color: var(--maroon);
  font-size: 12px;
  font-weight: 600;
}
.book-cal-list .hint { display: block; font-size: 11px; }

@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr; }
  .hero { padding: 36px 22px; }
  .hero-ornament { display: none; }
  .cat-marquee { margin: 0 -18px 4px; }
  .cat-marquee .cat-tile { flex-basis: 148px; width: 148px; }
  .footer-inner, .two { grid-template-columns: 1fr; }
  .logo-word .ritual-name { font-size: 28px; }
  .dash, .dash-stats, .dash-tools-grid { grid-template-columns: 1fr; }
  .account-dash { grid-template-columns: 1fr; padding: 16px; }
  .account-dash-side { position: static; }
  .roles-desk { grid-template-columns: 1fr; }
  .roles-desk-list { max-height: 240px; }
  body.desk-mode .desk-frame {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  body.desk-mode .desk-rail {
    position: static;
    min-height: 0;
  }
  body.desk-mode .desk-rail .dash-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* Post-payment booking desk (#/bookings/:id) */
.booking-detail-page--confirmed > .booking-desk {
  margin-bottom: 1.25rem;
}
.booking-detail-page--confirmed .booking-detail-page__grid {
  align-items: start;
}
.booking-desk {
  border: 1px solid color-mix(in srgb, var(--saffron, #c45c26) 22%, var(--border, #e8e0d8));
}
.booking-desk__badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--saffron, #c45c26) 12%, transparent);
  color: var(--saffron, #c45c26);
}
.booking-desk__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}
.booking-desk__lede {
  margin: 1rem 0;
  line-height: 1.5;
}
.booking-desk__subtitle {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}
.booking-desk__invoice {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--bg) 92%, var(--saffron, #c45c26) 3%);
  border: 1px solid var(--border, #e8e0d8);
}
.booking-desk__invoice-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
}
.booking-desk__invoice-row--strong {
  font-weight: 600;
}
.booking-desk__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
@media (min-width: 480px) {
  .booking-desk__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
.booking-desk__checklist {
  text-align: center;
}
.booking-desk__footnote {
  margin: 1rem 0 0;
}
