/* ============================================================
   Havan Registration Manager — devotee-facing portal.
   Everything is scoped under .hrm-frontend so the active
   WordPress theme cannot leak in (and we cannot leak out).
   ============================================================ */

.hrm-frontend {
	--hrm-maroon: #3f0d0b; --hrm-maroon-2: #5c1512; --hrm-maroon-3: #2a0807;
	--hrm-saffron: #e07b24; --hrm-saffron-deep: #c25f12;
	--hrm-gold: #c9a24b; --hrm-gold-light: #e8d5a4;
	--hrm-ivory: #faf5ea; --hrm-paper: #fdfaf2; --hrm-cream: #f5ecd8;
	--hrm-ink: #2b2118; --hrm-muted: #7d6f5d; --hrm-line: #e6dbc2;
	--hrm-red: #a03328; --hrm-green: #2e7d4f; --hrm-white: #fff;
	--hrm-radius: 18px; --hrm-radius-sm: 12px;
	--hrm-ease: cubic-bezier(.16, 1, .3, 1);
	--hrm-font-display: 'Fraunces', Georgia, serif;
	--hrm-font-hindi: 'Tiro Devanagari Hindi', Georgia, serif;
	--hrm-font-body: 'Manrope', system-ui, sans-serif;
	--hrm-shadow-sm: 0 1px 2px rgba(63,13,11,.05), 0 4px 14px -4px rgba(63,13,11,.08);
	--hrm-shadow-lg: 0 24px 70px -20px rgba(63,13,11,.4);

	font-family: var(--hrm-font-body);
	color: var(--hrm-ink);
	background: var(--hrm-ivory);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	/* Full-bleed: escape the theme's content container so the portal
	   always spans the whole viewport (kills theme side-margins). */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	overflow-x: hidden;
}
.hrm-frontend *, .hrm-frontend *::before, .hrm-frontend *::after { box-sizing: border-box; }
.hrm-frontend h1, .hrm-frontend h2, .hrm-frontend h3, .hrm-frontend p,
.hrm-frontend ul, .hrm-frontend figure { margin: 0; padding: 0; }
.hrm-frontend button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
.hrm-frontend a { color: inherit; text-decoration: none; }
.hrm-frontend img { max-width: 100%; display: block; }
.hrm-frontend input, .hrm-frontend select, .hrm-frontend textarea { font: inherit; color: inherit; }
.hrm-frontend .hrm-hindi { font-family: var(--hrm-font-hindi); }
.hrm-frontend .hrm-en { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hrm-saffron-deep); font-weight: 800; margin-top: 2px; }

/* ---------- topbar ---------- */
.hrm-frontend .hrm-topbar {
	background: linear-gradient(160deg, var(--hrm-maroon-3), var(--hrm-maroon) 55%, var(--hrm-maroon-2));
	color: var(--hrm-ivory); border-bottom: 3px solid var(--hrm-gold); padding: 15px 3%;
}
.hrm-frontend .hrm-topbar-inner { display: flex; align-items: center; gap: 14px; }
.hrm-frontend .hrm-brand-mark {
	width: 44px; height: 44px; flex: none; border-radius: 50%;
	border: 1.5px solid rgba(201,162,75,.7); display: grid; place-items: center; color: var(--hrm-gold);
}
.hrm-frontend .hrm-brand-mark svg { width: 24px; height: 24px; }
.hrm-frontend .hrm-brand-name { font-family: var(--hrm-font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: .02em; }
.hrm-frontend .hrm-brand-sub { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--hrm-gold-light); }
.hrm-frontend .hrm-topbar-right { margin-left: auto; font-family: var(--hrm-font-hindi); color: var(--hrm-gold-light); font-size: .92rem; }

.hrm-frontend .hrm-page { padding: clamp(18px, 3vw, 34px) 2.5% 60px; }
.hrm-frontend .hrm-wrap { margin: 0 auto; }

/* ---------- lookup card ---------- */
.hrm-frontend .hrm-lookup-card {
	position: relative; overflow: hidden;
	background: var(--hrm-paper); border: 1px solid var(--hrm-line); border-radius: var(--hrm-radius);
	box-shadow: var(--hrm-shadow-lg); padding: clamp(30px, 5vw, 48px) clamp(22px, 5vw, 44px);
	text-align: center;
}
.hrm-frontend .hrm-lookup-card::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 5px;
	background: linear-gradient(90deg, var(--hrm-maroon), var(--hrm-saffron), var(--hrm-gold), var(--hrm-saffron), var(--hrm-maroon));
}
.hrm-frontend .hrm-eyebrow {
	display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .28em;
	text-transform: uppercase; color: var(--hrm-saffron-deep);
}
.hrm-frontend .hrm-lookup-title { font-size: clamp(1.7rem, 5vw, 2.3rem); color: var(--hrm-maroon); margin: 12px 0 6px; font-weight: 400; }
.hrm-frontend .hrm-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0 16px; }
.hrm-frontend .hrm-ornament::before, .hrm-frontend .hrm-ornament::after { content: ""; height: 1px; width: 60px; background: var(--hrm-gold); opacity: .6; }
.hrm-frontend .hrm-ornament svg { width: 15px; height: 15px; color: var(--hrm-gold); }
.hrm-frontend .hrm-lookup-lead { color: var(--hrm-muted); font-size: .95rem; line-height: 1.65; max-width: 460px; margin: 0 auto; }
.hrm-frontend .hrm-lookup-form { display: flex; gap: 12px; margin: 24px auto 0; max-width: 480px; }
.hrm-frontend .hrm-lookup-input {
	flex: 1; min-width: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: .06em;
	padding: 15px 18px; border-radius: 12px; border: 1.5px solid var(--hrm-line);
	background: var(--hrm-white); color: var(--hrm-ink); width: auto;
	transition: border-color .2s, box-shadow .2s;
}
.hrm-frontend .hrm-lookup-input:focus { outline: none; border-color: var(--hrm-saffron); box-shadow: 0 0 0 4px rgba(224,123,36,.14); }
.hrm-frontend .hrm-lookup-input.hrm-input-error { border-color: var(--hrm-red); }
.hrm-frontend .hrm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-weight: 800; font-size: 1rem; white-space: nowrap;
	background: linear-gradient(160deg, var(--hrm-maroon), var(--hrm-maroon-2)); color: var(--hrm-ivory);
	border-radius: 12px; padding: 15px 26px;
	box-shadow: 0 12px 30px -10px rgba(63,13,11,.55);
	transition: transform .2s var(--hrm-ease), filter .2s;
}
.hrm-frontend .hrm-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.hrm-frontend .hrm-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.hrm-frontend .hrm-btn-secondary {
	background: var(--hrm-white); color: var(--hrm-maroon);
	border: 1.5px solid var(--hrm-line); box-shadow: var(--hrm-shadow-sm);
}
.hrm-frontend .hrm-btn-secondary:hover { border-color: var(--hrm-gold); }
.hrm-frontend .hrm-field-error { color: var(--hrm-red); font-size: .86rem; font-weight: 600; margin-top: 12px; display: none; }
.hrm-frontend .hrm-field-error.hrm-show { display: block; animation: hrm-rise .25s var(--hrm-ease); }
.hrm-frontend .hrm-field-hint { font-size: .8rem; color: var(--hrm-muted); margin-top: 14px; }
.hrm-frontend .hrm-spinner {
	width: 17px; height: 17px; flex: none; border-radius: 50%;
	border: 2px solid rgba(250,245,234,.35); border-top-color: var(--hrm-ivory);
	animation: hrm-spin .7s linear infinite;
}
@keyframes hrm-spin { to { transform: rotate(360deg); } }
@keyframes hrm-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- checking / not found states ---------- */
.hrm-frontend .hrm-state-card {
	background: var(--hrm-paper); border: 1px solid var(--hrm-line); border-radius: var(--hrm-radius);
	box-shadow: var(--hrm-shadow-sm); padding: 46px 30px; text-align: center;
	animation: hrm-rise .4s var(--hrm-ease);
}
.hrm-frontend .hrm-state-icon {
	width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%;
	background: var(--hrm-cream); color: var(--hrm-maroon-2); display: grid; place-items: center;
}
.hrm-frontend .hrm-state-icon.hrm-err { background: #fbeae8; color: var(--hrm-red); }
.hrm-frontend .hrm-state-icon svg { width: 34px; height: 34px; }
.hrm-frontend .hrm-state-title { font-family: var(--hrm-font-hindi); font-size: 1.5rem; color: var(--hrm-maroon); font-weight: 400; }
.hrm-frontend .hrm-state-sub { color: var(--hrm-muted); font-size: .95rem; margin: 10px auto 22px; max-width: 400px; line-height: 1.6; }
.hrm-frontend .hrm-check-spin {
	width: 46px; height: 46px; margin: 0 auto 20px; border-radius: 50%;
	border: 3px solid var(--hrm-line); border-top-color: var(--hrm-saffron);
	animation: hrm-spin .8s linear infinite;
}

/* ---------- section nav ---------- */
.hrm-frontend .hrm-sect-nav {
	position: sticky; top: 0; z-index: 40;
	background: rgba(250,245,234,.92); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--hrm-line);
}
.hrm-frontend .hrm-sect-nav-in {
	padding: 10px 2.5%;
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.hrm-frontend .hrm-sect-nav-in::-webkit-scrollbar { display: none; }
.hrm-frontend .hrm-sect-chip {
	flex: none; display: inline-flex; align-items: center; gap: 7px;
	font-size: .82rem; font-weight: 800; color: var(--hrm-muted);
	border: 1.5px solid var(--hrm-line); border-radius: 999px; background: var(--hrm-white); padding: 8px 15px;
	transition: border-color .18s, color .18s, background .18s;
}
.hrm-frontend .hrm-sect-chip svg { width: 15px; height: 15px; }
.hrm-frontend .hrm-sect-chip:hover, .hrm-frontend .hrm-sect-chip.hrm-on {
	background: linear-gradient(160deg, var(--hrm-maroon), var(--hrm-maroon-2));
	color: var(--hrm-gold-light); border-color: var(--hrm-maroon);
}

.hrm-frontend .hrm-newsearch {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px;
	font-size: .82rem; font-weight: 700; color: var(--hrm-muted);
	border: 1px dashed var(--hrm-line); border-radius: 999px; padding: 7px 14px; background: var(--hrm-white);
	transition: border-color .18s, color .18s;
}
.hrm-frontend .hrm-newsearch:hover { color: var(--hrm-maroon); border-color: var(--hrm-gold); }

/* ---------- identity hero ---------- */
.hrm-frontend .hrm-id-card {
	position: relative; overflow: hidden; border-radius: var(--hrm-radius);
	background: linear-gradient(150deg, var(--hrm-maroon-3), var(--hrm-maroon) 60%, var(--hrm-maroon-2));
	color: var(--hrm-ivory); box-shadow: var(--hrm-shadow-lg); padding: clamp(24px, 4vw, 34px);
}
.hrm-frontend .hrm-id-card::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(600px 300px at 85% -10%, rgba(224,123,36,.28), transparent 60%);
}
.hrm-frontend .hrm-id-top { position: relative; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hrm-frontend .hrm-id-photo {
	width: 110px; height: 110px; border-radius: 50%; flex: none;
	border: 3px solid var(--hrm-gold); box-shadow: 0 0 0 6px rgba(201,162,75,.18);
	overflow: hidden; background: var(--hrm-maroon-3); display: grid; place-items: center;
}
.hrm-frontend .hrm-id-photo img { width: 100%; height: 100%; object-fit: cover; }
.hrm-frontend .hrm-id-initial { font-family: var(--hrm-font-hindi); font-size: 2.4rem; color: var(--hrm-gold-light); }
.hrm-frontend .hrm-id-name { font-family: var(--hrm-font-display); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600; }
.hrm-frontend .hrm-id-meta { color: var(--hrm-gold-light); font-size: .85rem; margin-top: 5px; }
.hrm-frontend .hrm-badge {
	display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800;
	letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 7px 16px;
	border: 1px solid rgba(201,162,75,.55); color: var(--hrm-gold-light);
	background: rgba(201,162,75,.12);
}
.hrm-frontend .hrm-badge .hrm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hrm-gold-light); }
.hrm-frontend .hrm-badge-in_process .hrm-dot { background: #ffd27a; animation: hrm-pulse 1.4s ease infinite; }
.hrm-frontend .hrm-badge-started .hrm-dot { background: #8fd17a; animation: hrm-pulse 1.3s ease infinite; }
.hrm-frontend .hrm-badge-completed .hrm-dot { background: #8fd17a; }
.hrm-frontend .hrm-badge-cancelled { border-color: rgba(220,120,105,.6); color: #f2c7bf; background: rgba(160,51,40,.2); }
.hrm-frontend .hrm-badge-cancelled .hrm-dot { background: #e08d7f; }
@keyframes hrm-pulse { 50% { opacity: .35; } }

/* ---------- sections ---------- */
.hrm-frontend .hrm-sect {
	margin-top: 28px; background: var(--hrm-paper); border: 1px solid var(--hrm-line);
	border-radius: var(--hrm-radius); box-shadow: var(--hrm-shadow-sm); overflow: hidden;
	scroll-margin-top: 64px;
}
.hrm-frontend .hrm-sect-head {
	display: flex; align-items: center; gap: 14px; padding: 20px 24px;
	background: linear-gradient(120deg, #fbf4e4, var(--hrm-paper) 70%);
	border-bottom: 1px solid var(--hrm-cream);
}
.hrm-frontend .hrm-sect-ico {
	width: 44px; height: 44px; flex: none; border-radius: 12px;
	background: linear-gradient(160deg, var(--hrm-maroon), var(--hrm-maroon-2));
	color: var(--hrm-gold-light); display: grid; place-items: center;
	box-shadow: 0 6px 16px -6px rgba(63,13,11,.45);
}
.hrm-frontend .hrm-sect-ico svg { width: 22px; height: 22px; }
.hrm-frontend .hrm-sect-head h2 { font-family: var(--hrm-font-hindi); color: var(--hrm-maroon); font-size: 1.28rem; line-height: 1.2; font-weight: 400; }
.hrm-frontend .hrm-sect-body { padding: 6px 26px 22px; }
.hrm-frontend .hrm-sect-note { padding: 14px 0 0; color: var(--hrm-muted); font-size: .86rem; }

.hrm-frontend .hrm-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.hrm-frontend .hrm-detail-row { padding: 15px 0; border-bottom: 1px solid var(--hrm-cream); }
.hrm-frontend .hrm-detail-key { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--hrm-muted); }
.hrm-frontend .hrm-detail-val { font-size: 1.02rem; font-weight: 600; color: var(--hrm-ink); margin-top: 4px; overflow-wrap: anywhere; }

/* registration hero inside section */
.hrm-frontend .hrm-regid-hero {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	background: linear-gradient(150deg, var(--hrm-maroon-3), var(--hrm-maroon) 65%, var(--hrm-maroon-2));
	border: 1px solid rgba(201,162,75,.4); border-radius: var(--hrm-radius-sm);
	padding: 20px 24px; margin: 18px 0 6px; color: var(--hrm-ivory);
}
.hrm-frontend .hrm-regid-hero small { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--hrm-gold-light); }
.hrm-frontend .hrm-regid-hero .hrm-big { font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 800; letter-spacing: .18em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.15; }
.hrm-frontend .hrm-pill-lite {
	font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	border: 1px solid rgba(201,162,75,.55); color: var(--hrm-gold-light); border-radius: 999px; padding: 7px 16px;
}

/* problem flow */
.hrm-frontend .hrm-prob-flow { display: grid; gap: 0; margin-top: 14px; }
.hrm-frontend .hrm-prob-block {
	position: relative; padding: 18px 20px 18px 58px;
	border: 1px solid var(--hrm-line); border-radius: var(--hrm-radius-sm); background: var(--hrm-white);
}
.hrm-frontend .hrm-prob-block + .hrm-prob-block { margin-top: 26px; }
.hrm-frontend .hrm-prob-block + .hrm-prob-block::before {
	content: ""; position: absolute; top: -27px; left: 50%; width: 1.5px; height: 26px; background: var(--hrm-gold);
}
.hrm-frontend .hrm-prob-block + .hrm-prob-block::after {
	content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
	border: 5px solid transparent; border-top-color: var(--hrm-gold);
}
.hrm-frontend .hrm-prob-ico {
	position: absolute; left: 16px; top: 17px; width: 30px; height: 30px; border-radius: 50%;
	display: grid; place-items: center; background: var(--hrm-cream); color: var(--hrm-maroon-2);
}
.hrm-frontend .hrm-prob-ico svg { width: 16px; height: 16px; }
.hrm-frontend .hrm-prob-block.hrm-warn .hrm-prob-ico { background: #fbeae8; color: var(--hrm-red); }
.hrm-frontend .hrm-prob-block.hrm-cure .hrm-prob-ico { background: #e5f4ea; color: var(--hrm-green); }
.hrm-frontend .hrm-prob-key { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hrm-muted); }
.hrm-frontend .hrm-prob-val { font-weight: 600; color: var(--hrm-ink); margin-top: 4px; font-size: 1.02rem; }

/* for whom list */
.hrm-frontend .hrm-person-list { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.hrm-frontend .hrm-person {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	background: var(--hrm-white); border: 1px solid var(--hrm-line); border-radius: 10px; padding: 9px 14px;
}
.hrm-frontend .hrm-person-name { font-weight: 700; color: var(--hrm-ink); }
.hrm-frontend .hrm-person-rel {
	font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	color: var(--hrm-saffron-deep); background: #fdf3e0; border: 1px solid #eedcb8; border-radius: 999px; padding: 3px 10px;
}

/* countdown */
.hrm-frontend .hrm-count-card {
	margin-top: 22px; border-radius: var(--hrm-radius-sm); overflow: hidden;
	background: linear-gradient(150deg, var(--hrm-maroon-3), var(--hrm-maroon) 60%, var(--hrm-maroon-2));
	color: var(--hrm-ivory); padding: 26px 24px 28px; text-align: center;
	border: 1px solid rgba(201,162,75,.4);
}
.hrm-frontend .hrm-count-title { font-family: var(--hrm-font-hindi); font-size: 1.3rem; color: var(--hrm-gold-light); }
.hrm-frontend .hrm-count-sub { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(250,245,234,.6); margin-top: 4px; }
.hrm-frontend .hrm-count-grid { display: flex; justify-content: center; gap: clamp(8px, 3vw, 16px); margin: 20px 0 16px; flex-wrap: wrap; }
.hrm-frontend .hrm-count-unit {
	min-width: clamp(62px, 19vw, 92px); padding: 14px 8px 12px; border-radius: 12px;
	background: rgba(250,245,234,.06); border: 1px solid rgba(201,162,75,.35);
}
.hrm-frontend .hrm-count-num { font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.hrm-frontend .hrm-count-lbl { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hrm-gold-light); margin-top: 7px; }
.hrm-frontend .hrm-count-when { font-size: .85rem; color: rgba(250,245,234,.75); }
.hrm-frontend .hrm-count-when strong { color: var(--hrm-gold-light); }

/* live / done / cancelled cards */
.hrm-frontend .hrm-live-card {
	margin-top: 22px; border-radius: var(--hrm-radius-sm); text-align: center;
	background: linear-gradient(150deg, #1d2a12, #2e4a1c); color: var(--hrm-ivory);
	border: 1px solid rgba(160,210,140,.35); padding: 30px 24px;
}
.hrm-frontend .hrm-live-flame { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: rgba(224,123,36,.18); display: grid; place-items: center; color: var(--hrm-saffron); }
.hrm-frontend .hrm-live-flame svg { width: 30px; height: 30px; animation: hrm-flick 1.6s ease-in-out infinite; }
@keyframes hrm-flick { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08) translateY(-1px); } }
.hrm-frontend .hrm-live-title { font-family: var(--hrm-font-hindi); font-size: 1.45rem; color: #e8f4dd; }
.hrm-frontend .hrm-live-sub { font-size: .9rem; color: rgba(232,244,221,.75); max-width: 440px; margin: 10px auto 0; line-height: 1.65; }
.hrm-frontend .hrm-live-tag {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
	font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
	color: #b9e2a4; border: 1px solid rgba(185,226,164,.4); border-radius: 999px; padding: 6px 14px;
}
.hrm-frontend .hrm-live-tag .hrm-dot { width: 8px; height: 8px; border-radius: 50%; background: #8fd17a; animation: hrm-pulse 1.3s ease infinite; }
.hrm-frontend .hrm-cancel-card {
	margin-top: 22px; border-radius: var(--hrm-radius-sm); text-align: center;
	background: linear-gradient(150deg, #33100d, #571b15); color: var(--hrm-ivory);
	border: 1px solid rgba(220,130,110,.35); padding: 30px 24px;
}
.hrm-frontend .hrm-cancel-card .hrm-live-title { color: #f4d7d1; }
.hrm-frontend .hrm-cancel-card .hrm-live-sub { color: rgba(244,215,209,.75); }

/* media CTA + gallery */
.hrm-frontend .hrm-media-cta {
	display: flex; align-items: center; gap: 18px; margin-top: 16px;
	border: 1.5px dashed var(--hrm-gold); border-radius: var(--hrm-radius-sm);
	background: linear-gradient(120deg, #fdf8ec, var(--hrm-paper)); padding: 20px 22px;
}
.hrm-frontend .hrm-media-cta .hrm-m-ico {
	width: 52px; height: 52px; flex: none; border-radius: 14px;
	background: linear-gradient(160deg, var(--hrm-maroon), var(--hrm-maroon-2));
	color: var(--hrm-gold-light); display: grid; place-items: center;
}
.hrm-frontend .hrm-media-cta .hrm-m-ico svg { width: 26px; height: 26px; }
.hrm-frontend .hrm-media-cta .hrm-m-txt { flex: 1; min-width: 0; }
.hrm-frontend .hrm-media-cta .hrm-m-txt .hrm-t { font-family: var(--hrm-font-hindi); color: var(--hrm-maroon); font-size: 1.05rem; font-weight: 600; }
.hrm-frontend .hrm-media-cta .hrm-m-txt .hrm-s { font-size: .82rem; color: var(--hrm-muted); }

.hrm-frontend .hrm-gallery { margin-top: 16px; }
.hrm-frontend .hrm-gal-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hrm-muted); margin: 18px 0 10px; }
.hrm-frontend .hrm-gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hrm-frontend .hrm-gal-item {
	padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--hrm-line);
	aspect-ratio: 4/3; background: var(--hrm-cream); transition: transform .2s var(--hrm-ease), box-shadow .2s;
}
.hrm-frontend .hrm-gal-item:hover { transform: translateY(-2px); box-shadow: var(--hrm-shadow-sm); }
.hrm-frontend .hrm-gal-item img { width: 100%; height: 100%; object-fit: cover; }
.hrm-frontend .hrm-gal-video { border-radius: 12px; overflow: hidden; border: 1px solid var(--hrm-line); background: #000; grid-column: 1 / -1; }
.hrm-frontend .hrm-gal-video video { width: 100%; max-height: 420px; display: block; }

/* payment */
.hrm-frontend .hrm-pay-total {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 14px; padding: 16px 18px;
	background: linear-gradient(120deg, #fdf3e0, #fbeed4);
	border: 1.5px solid var(--hrm-gold); border-radius: var(--hrm-radius-sm);
}
.hrm-frontend .hrm-pay-total .hrm-k { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hrm-maroon-2); }
.hrm-frontend .hrm-pay-total .hrm-v { font-size: 1.5rem; font-weight: 800; color: var(--hrm-maroon); font-variant-numeric: tabular-nums; }
.hrm-frontend .hrm-money { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--hrm-maroon); }
.hrm-frontend .hrm-pay-pill {
	display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 7px 16px; border: 1.5px solid;
}
.hrm-frontend .hrm-pay-pill .hrm-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hrm-frontend .hrm-pay-pending { color: #b06708; border-color: #e8c07a; background: #fdf3e0; }
.hrm-frontend .hrm-pay-paid { color: var(--hrm-green); border-color: #9ed2b3; background: #e5f4ea; }
.hrm-frontend .hrm-pay-partially_paid { color: #1f6f9f; border-color: #a8cfe6; background: #e8f4fb; }
.hrm-frontend .hrm-pay-failed { color: var(--hrm-red); border-color: #e5aaa2; background: #fbeae8; }
.hrm-frontend .hrm-pay-refunded { color: var(--hrm-muted); border-color: var(--hrm-line); background: var(--hrm-cream); }
.hrm-frontend .hrm-pay-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.hrm-frontend .hrm-btn-pay {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: linear-gradient(160deg, var(--hrm-saffron), var(--hrm-saffron-deep)); color: #fff;
	font-weight: 800; border-radius: var(--hrm-radius-sm); padding: 14px 26px; font-size: 1rem;
	box-shadow: 0 12px 28px -8px rgba(194,95,18,.55);
	transition: transform .18s var(--hrm-ease), filter .18s;
}
.hrm-frontend .hrm-btn-pay:hover { transform: translateY(-1px); filter: brightness(1.05); }
.hrm-frontend .hrm-btn-pay svg { width: 20px; height: 20px; }
.hrm-frontend .hrm-btn-online { flex: 1 1 220px; }
.hrm-frontend .hrm-btn-wu {
	background: linear-gradient(160deg, var(--hrm-maroon), var(--hrm-maroon-2));
	box-shadow: 0 12px 28px -8px rgba(63,13,11,.55); flex: 1 1 200px;
}
.hrm-frontend .hrm-btn-ghost {
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: .88rem; color: var(--hrm-maroon);
	background: var(--hrm-white); border: 1.5px solid var(--hrm-line); border-radius: var(--hrm-radius-sm);
	padding: 13px 20px; flex: 1 1 100%;
	transition: border-color .18s, color .18s;
}
.hrm-frontend .hrm-btn-ghost:hover { border-color: var(--hrm-gold); color: var(--hrm-saffron-deep); }

/* modals */
.hrm-frontend .hrm-veil {
	position: fixed; inset: 0; z-index: 99999; display: none;
	background: rgba(24,4,3,.62); backdrop-filter: blur(4px);
	place-items: center; padding: 18px;
}
.hrm-frontend .hrm-veil.hrm-show { display: grid; animation: hrm-vfade .22s var(--hrm-ease); }
@keyframes hrm-vfade { from { opacity: 0; } to { opacity: 1; } }
.hrm-frontend .hrm-modal-card {
	width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto;
	background: var(--hrm-paper); border-radius: var(--hrm-radius); border: 1px solid var(--hrm-line);
	box-shadow: var(--hrm-shadow-lg); position: relative;
}
.hrm-frontend .hrm-modal-card::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: var(--hrm-radius) var(--hrm-radius) 0 0;
	background: linear-gradient(90deg, var(--hrm-maroon), var(--hrm-saffron), var(--hrm-gold), var(--hrm-saffron), var(--hrm-maroon));
}
.hrm-frontend .hrm-modal-head { padding: 24px 24px 0; text-align: center; }
.hrm-frontend .hrm-modal-head h3 { font-family: var(--hrm-font-hindi); color: var(--hrm-maroon); font-size: 1.4rem; font-weight: 400; }
.hrm-frontend .hrm-modal-body { padding: 20px 24px 26px; }
.hrm-frontend .hrm-m-close {
	position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid var(--hrm-line); background: var(--hrm-white); display: grid; place-items: center;
	color: var(--hrm-muted); z-index: 2;
}
.hrm-frontend .hrm-m-close:hover { color: var(--hrm-maroon); border-color: var(--hrm-gold); }
.hrm-frontend .hrm-m-close svg { width: 18px; height: 18px; }

.hrm-frontend .hrm-media-empty-note { text-align: center; padding: 18px 6px 6px; }
.hrm-frontend .hrm-media-empty-note .hrm-m-big { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--hrm-cream); color: var(--hrm-maroon-2); display: grid; place-items: center; }
.hrm-frontend .hrm-media-empty-note .hrm-m-big svg { width: 30px; height: 30px; }
.hrm-frontend .hrm-media-empty-note .hrm-h { font-family: var(--hrm-font-hindi); color: var(--hrm-ink); font-size: 1.08rem; line-height: 1.6; }
.hrm-frontend .hrm-media-empty-note .hrm-s { color: var(--hrm-muted); font-size: .9rem; margin-top: 8px; line-height: 1.6; }
.hrm-frontend .hrm-media-empty-note .hrm-btn { margin-top: 20px; }

/* payment methods */
.hrm-frontend .hrm-pm-methods { display: grid; gap: 10px; margin-top: 6px; }
.hrm-frontend .hrm-pm-method {
	display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
	border: 1.5px solid var(--hrm-line); border-radius: var(--hrm-radius-sm);
	background: var(--hrm-white); padding: 15px 18px;
	transition: border-color .18s, box-shadow .18s;
}
.hrm-frontend .hrm-pm-method:hover { border-color: var(--hrm-gold); }
.hrm-frontend .hrm-pm-method.hrm-on { border-color: var(--hrm-saffron); box-shadow: 0 0 0 4px rgba(224,123,36,.12); }
.hrm-frontend .hrm-pm-method .hrm-pm-ico {
	width: 42px; height: 42px; border-radius: 11px; flex: none;
	background: var(--hrm-cream); color: var(--hrm-maroon-2); display: grid; place-items: center;
}
.hrm-frontend .hrm-pm-method.hrm-on .hrm-pm-ico { background: linear-gradient(160deg, var(--hrm-maroon), var(--hrm-maroon-2)); color: var(--hrm-gold-light); }
.hrm-frontend .hrm-pm-method .hrm-pm-ico svg { width: 21px; height: 21px; }
.hrm-frontend .hrm-pm-method .hrm-pm-name { font-weight: 800; color: var(--hrm-ink); font-size: .98rem; }
.hrm-frontend .hrm-pm-method .hrm-pm-sub { font-size: .78rem; color: var(--hrm-muted); }
.hrm-frontend .hrm-pm-method .hrm-pm-arrow { margin-left: auto; color: var(--hrm-muted); }
.hrm-frontend .hrm-pm-detail { margin-top: 18px; display: none; }
.hrm-frontend .hrm-pm-detail.hrm-show { display: block; animation: hrm-rise .3s var(--hrm-ease); }
.hrm-frontend .hrm-pm-card {
	border: 1px solid var(--hrm-line); border-radius: var(--hrm-radius-sm);
	background: linear-gradient(160deg, #fdfaf2, var(--hrm-white)); padding: 14px;
}
.hrm-frontend .hrm-pf-rid {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 16px; margin-bottom: 10px; border-radius: var(--hrm-radius-sm);
	background: linear-gradient(140deg, var(--hrm-maroon-3), var(--hrm-maroon) 70%, var(--hrm-maroon-2));
	border: 1px solid rgba(201,162,75,.45);
}
.hrm-frontend .hrm-pf-rid .hrm-pf-label { color: var(--hrm-gold-light); }
.hrm-frontend .hrm-pf-rid .hrm-pf-big { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: .16em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.2; }
.hrm-frontend .hrm-pf-rid .hrm-copy-ico { color: var(--hrm-gold-light); border-color: rgba(201,162,75,.55); background: rgba(250,245,234,.1); }
.hrm-frontend .hrm-pf-rid .hrm-copy-ico.hrm-done { color: #b9e2a4; border-color: rgba(185,226,164,.5); }
.hrm-frontend .hrm-pay-field {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 14px; margin-bottom: 8px;
	background: var(--hrm-white); border: 1px solid var(--hrm-line); border-radius: var(--hrm-radius-sm);
	box-shadow: 0 1px 2px rgba(63,13,11,.04);
}
.hrm-frontend .hrm-pay-field:last-child { margin-bottom: 0; }
.hrm-frontend .hrm-pf-txt { min-width: 0; flex: 1; }
.hrm-frontend .hrm-pf-label { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hrm-muted); margin-bottom: 4px; }
.hrm-frontend .hrm-pf-val { display: block; font-size: 1.04rem; font-weight: 700; color: var(--hrm-ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.hrm-frontend .hrm-copy-ico {
	flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
	color: var(--hrm-maroon); background: var(--hrm-cream); border: 1.5px solid var(--hrm-line);
	transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.hrm-frontend .hrm-copy-ico:hover { border-color: var(--hrm-saffron); color: var(--hrm-saffron-deep); transform: translateY(-1px); }
.hrm-frontend .hrm-copy-ico:active { transform: scale(.94); }
.hrm-frontend .hrm-copy-ico svg { width: 18px; height: 18px; }
.hrm-frontend .hrm-copy-ico.hrm-done { color: var(--hrm-green); border-color: #9ed2b3; background: #e5f4ea; }
.hrm-frontend .hrm-pm-note { margin-top: 14px; font-size: .85rem; color: var(--hrm-muted); background: #fdf8ec; border: 1px solid var(--hrm-line); border-radius: var(--hrm-radius-sm); padding: 12px 15px; line-height: 1.6; }
.hrm-frontend .hrm-pm-note .hrm-hindi { display: block; color: var(--hrm-ink); font-weight: 600; margin-bottom: 3px; }
.hrm-frontend .hrm-pm-unavail { text-align: center; padding: 16px; color: var(--hrm-muted); font-size: .9rem; line-height: 1.6; }
.hrm-frontend .hrm-pm-unavail .hrm-hindi { display: block; color: var(--hrm-ink); font-weight: 600; font-size: 1rem; }
.hrm-frontend .hrm-upi-qr { text-align: center; padding-top: 12px; }
.hrm-frontend .hrm-upi-qr img { max-width: 220px; margin: 0 auto; border-radius: 10px; border: 1px solid var(--hrm-line); display: inline-block; }

/* lightbox */
.hrm-frontend .hrm-veil-dark { background: rgba(12,2,2,.88); }
.hrm-frontend .hrm-lb-img { max-width: min(94vw, 980px); max-height: 88dvh; border-radius: 10px; box-shadow: var(--hrm-shadow-lg); }
.hrm-frontend .hrm-lb-close { position: fixed; top: 18px; right: 18px; }

/* help card + footer */
.hrm-frontend .hrm-note-card {
	margin-top: 28px; display: flex; gap: 14px; align-items: flex-start;
	background: var(--hrm-paper); border: 1px solid var(--hrm-line); border-radius: var(--hrm-radius-sm);
	padding: 18px 20px; color: var(--hrm-muted); font-size: .9rem; box-shadow: var(--hrm-shadow-sm);
}
.hrm-frontend .hrm-note-card svg { width: 22px; height: 22px; flex: none; color: var(--hrm-saffron-deep); }
.hrm-frontend .hrm-portal-footer {
	background: var(--hrm-maroon-3); color: rgba(250,245,234,.65); text-align: center;
	padding: 26px 3%; font-size: .85rem; border-top: 2px solid rgba(201,162,75,.45); line-height: 1.7;
}
.hrm-frontend .hrm-f-jai { font-family: var(--hrm-font-hindi); color: var(--hrm-gold-light); font-size: 1rem; }
.hrm-frontend .hrm-f-links { margin-top: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hrm-frontend .hrm-f-links a { color: var(--hrm-gold-light); font-weight: 600; }

@media (max-width: 640px) {
	.hrm-frontend .hrm-info-grid { grid-template-columns: 1fr; }
	.hrm-frontend .hrm-topbar-right { display: none; }
	.hrm-frontend .hrm-media-cta { flex-wrap: wrap; }
	.hrm-frontend .hrm-media-cta .hrm-btn { width: 100%; }
	.hrm-frontend .hrm-lookup-form { flex-direction: column; }
	.hrm-frontend .hrm-lookup-form .hrm-btn { width: 100%; }
	.hrm-frontend .hrm-gal-grid { grid-template-columns: repeat(2, 1fr); }
	.hrm-frontend .hrm-sect-body { padding: 6px 13px 18px; }
	.hrm-frontend .hrm-sect-head { padding: 15px 15px; }
	.hrm-frontend .hrm-lookup-card { padding: 26px 14px; }
	.hrm-frontend .hrm-state-card { padding: 36px 14px; }
	.hrm-frontend .hrm-modal-body { padding: 18px 14px 22px; }
	.hrm-frontend .hrm-id-card { padding: 22px 16px; }
	.hrm-frontend .hrm-pay-actions { justify-content: stretch; }
	.hrm-frontend .hrm-btn-pay { width: 100%; justify-content: center; }
	.hrm-frontend .hrm-pay-total { padding: 14px 14px; }
}
