/* Universal Brahma — main stylesheet */
:root {
  --night: #1e1442;
  --night-2: #2c1e5e;
  --night-3: #3b2a7a;
  --gold: #f4b740;
  --gold-2: #ffd77a;
  --saffron: #e8771e;
  --ink: #221d33;
  --muted: #6a6480;
  --line: #e6e1f2;
  --bg: #f8f6fc;
  --card: #ffffff;
  --good: #1f8a4c;
  --warn: #c0711a;
  --bad: #c0392b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 20, 66, .08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Cinzel', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--night-3); }
a:hover { color: var(--saffron); }
h1, h2, h3 { line-height: 1.25; color: var(--night); }
h1 { font-family: var(--display); font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 0 0 .4em; }
h2 { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 .6em; }
h3 { font-size: 1.1rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: .5px; }
.brand small { color: var(--gold); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: #e9e4ff; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .93rem; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.1); color: var(--gold-2); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--night); flex-direction: column; padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
}

/* Hero */
.hero { background: radial-gradient(ellipse at 70% 20%, var(--night-3), var(--night) 65%); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 10% 20%, #fff8, transparent), radial-gradient(1px 1px at 30% 70%, #fff6, transparent), radial-gradient(1.5px 1.5px at 60% 30%, #fff9, transparent), radial-gradient(1px 1px at 80% 80%, #fff7, transparent), radial-gradient(1px 1px at 90% 15%, #fff8, transparent), radial-gradient(1.5px 1.5px at 45% 90%, #fff5, transparent); background-size: 300px 300px; pointer-events: none; }
.hero .wrap { position: relative; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.hero h1 span { color: var(--gold); }
.hero p.lead { font-size: 1.12rem; color: #d9d2f5; max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(4px); }
.hero-card h3 { color: var(--gold-2); }
.hero-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .95rem; }
.hero-card dt { color: #b9b0de; }
.hero-card dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.page-head { background: linear-gradient(120deg, var(--night), var(--night-3)); color: #fff; }
.page-head .wrap { padding-top: 34px; padding-bottom: 30px; }
.page-head h1 { color: #fff; margin: 0; }
.page-head p { color: #d9d2f5; margin: .4em 0 0; max-width: 760px; }
.crumbs { font-size: .85rem; color: #b9b0de; margin-bottom: 8px; }
.crumbs a { color: var(--gold-2); text-decoration: none; }

/* Sections & cards */
.section { padding: 44px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 28px; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }

/* Zodiac grid */
.zodiac-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .zodiac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
.zodiac { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.zodiac:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--ink); }
.zodiac.active { border-color: var(--saffron); background: #fff8ee; }
.zodiac .sym { font-size: 2rem; line-height: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--night-2), var(--night-3)); color: var(--gold); margin-bottom: 8px; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', sans-serif; }
.zodiac strong { font-size: .95rem; }
.zodiac small { color: var(--muted); font-size: .75rem; }

/* Tool cards */
.tool { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .15s; height: 100%; }
.tool:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.tool .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff3dc; color: var(--saffron); font-size: 1.5rem; margin-bottom: 12px; }
.tool h3 { margin-bottom: 4px; }
.tool p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Forms */
form .actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 18px; background: #fff; }
legend { font-weight: 700; color: var(--night); padding: 0 8px; }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--night); margin-bottom: 12px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #d6cfe8; border-radius: 10px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
details.manual { margin-top: 4px; }
details.manual summary { cursor: pointer; color: var(--night-3); font-size: .9rem; margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; background: linear-gradient(135deg, var(--saffron), var(--gold)); color: #241400; box-shadow: 0 4px 14px rgba(232,119,30,.35); min-height: 46px; }
.btn:hover { filter: brightness(1.05); color: #241400; }
.btn-ghost { background: transparent; color: var(--night-3); border: 1.5px solid var(--night-3); box-shadow: none; }
.btn-ghost:hover { background: var(--night-3); color: #fff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }

.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; }
.alert-error { background: #fdecea; color: #8a1f14; border: 1px solid #f5c2bc; }
.alert-ok { background: #e7f6ec; color: #135c33; border: 1px solid #bfe5cc; }
.alert ul { margin: 0; padding-left: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f3effb; color: var(--night); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.kv { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 0; }
.kv > div { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.kv > div:nth-child(odd) { color: var(--muted); font-size: .92rem; }
.kv > div:nth-child(even) { font-weight: 600; }

.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #efeaf9; color: var(--night-3); margin-left: 4px; }
.tag-good { background: #e3f4ea; color: var(--good); }
.tag-bad { background: #fbe7e5; color: var(--bad); }
.tag-warn { background: #fdf0e0; color: var(--warn); }

.stars { color: var(--gold); letter-spacing: 1px; }
.stars .off { color: #ddd6ec; }

/* Horoscope */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--night); font-size: .92rem; }
.tabs a.active { background: var(--night); color: var(--gold-2); border-color: var(--night); }
.horo-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.horo-head .sym { font-size: 2.4rem; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--night-2), var(--night-3)); color: var(--gold); flex: none; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', sans-serif; }
.horo-head h2 { margin: 0; }
.horo-head p { margin: 0; color: var(--muted); }
.horo-text { font-size: 1.07rem; }
.horo-sections h3 { margin-top: 18px; color: var(--night-3); }
.ratings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.ratings div { background: #faf8fe; border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) { .ratings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.note { font-size: .88rem; color: var(--muted); background: #faf8fe; border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 0 8px 8px 0; }

.sign-list { list-style: none; margin: 0; padding: 0; }
.sign-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.sign-list a:hover, .sign-list a.active { background: #f3effb; color: var(--night); }
.sign-list .s { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--night-2); color: var(--gold); font-size: 1rem; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', sans-serif; }

/* Charts */
.charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .charts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .charts { grid-template-columns: 1fr; } }
.chart-box { text-align: center; }
.chart-box h3 { font-size: 1rem; margin-bottom: 8px; }
svg.chart { width: 100%; max-width: 380px; height: auto; }
.chart-bg { fill: #fffaf0; stroke: var(--saffron); stroke-width: 2; }
.chart-lines line, .chart-lines polygon { stroke: var(--saffron); stroke-width: 1.5; }
.chart-sign { font-size: 12px; fill: var(--muted); text-anchor: middle; font-family: var(--font); }
.chart-planet { font-size: 13.5px; fill: var(--night); font-weight: 700; text-anchor: middle; font-family: var(--font); }
.chart-planet.lagna { fill: var(--night); }

/* Score meter */
.score { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.score-ring { --p: 0; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c, var(--gold)) calc(var(--p) * 1%), #eee8f8 0); flex: none; }
.score-ring div { width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.score-ring strong { font-size: 2rem; color: var(--night); line-height: 1; display: block; }
.score-ring small { color: var(--muted); }
.lvl-excellent { --c: var(--good); } .lvl-good { --c: #4a9e3f; } .lvl-average { --c: var(--warn); } .lvl-poor { --c: var(--bad); }
.bar { height: 8px; background: #eee8f8; border-radius: 99px; overflow: hidden; min-width: 80px; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--gold)); }

/* Panchang */
.pan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .pan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pan-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pan-item small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
.pan-item strong { display: block; font-size: 1.08rem; color: var(--night); margin: 2px 0; }
.pan-item span { font-size: .82rem; color: var(--muted); }
.pan-item.bad { border-left: 4px solid var(--bad); }
.pan-item.good { border-left: 4px solid var(--good); }

.inline-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.inline-form label { flex: 1 1 200px; margin: 0; }

/* Number badge */
.num-badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 2.4rem; color: var(--gold); background: linear-gradient(135deg, var(--night-2), var(--night-3)); margin: 0 auto 10px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 20px; }

/* Dasha accordion */
details.dasha { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; }
details.dasha summary { padding: 12px 14px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-weight: 600; }
details.dasha[open] summary { border-bottom: 1px solid var(--line); }
details.dasha.current { border-color: var(--gold); background: #fffaf0; }
details.dasha table { font-size: .88rem; }
details.dasha tr.current td { background: #fff3dc; font-weight: 600; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }

.changelog h3 { margin-top: 0; }
.changelog .ver { display: inline-block; background: var(--night); color: var(--gold-2); padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-right: 8px; }

/* Footer */
.site-footer { background: var(--night); color: #c9c1ea; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
.footer-grid h4 { color: var(--gold-2); margin: 0 0 12px; font-size: .95rem; }
.footer-grid a { display: block; color: #c9c1ea; text-decoration: none; padding: 3px 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-grid p { font-size: .9rem; margin-top: 12px; }
.brand-footer { display: inline-flex; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; padding-bottom: 20px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media print {
  .site-header, .site-footer, .no-print, form { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  .page-head { background: none; color: #000; }
  .page-head h1, .page-head p { color: #000; }
}

/* Language switch */
.header-tools { display: flex; align-items: center; gap: 8px; order: 2; }
.lang-switch { color: var(--gold-2); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 6px 12px; border: 1px solid rgba(255, 215, 122, .45); border-radius: 999px; white-space: nowrap; }
.lang-switch:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (min-width: 961px) { .header-tools { order: 3; } .main-nav { order: 2; margin-left: auto; } }

/* Hindi typography */
html[lang="hi"] { --font: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif; --display: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', Georgia, serif; }
html[lang="hi"] body { line-height: 1.75; }
html[lang="hi"] h1, html[lang="hi"] h2 { line-height: 1.4; }
html[lang="hi"] .brand strong { font-size: 1.2rem; }
html[lang="hi"] .brand small { letter-spacing: .5px; }
html[lang="hi"] .main-nav a { font-size: .95rem; padding: 8px 10px; }

/* Calm card */
.calm { text-align: center; background: linear-gradient(135deg, #f3effb, #fff8ee); }
.calm p { color: var(--muted); }

/* Meditation */
.orb-wrap { position: relative; height: 250px; display: grid; place-items: center; }
.orb { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--saffron) 60%, #b5541a); box-shadow: 0 0 40px rgba(244, 183, 64, .55), 0 0 90px rgba(232, 119, 30, .25); transition-property: transform; transition-timing-function: ease-in-out; transition-duration: 1s; }
.orb.big { transform: scale(2); }
.orb-text { position: absolute; display: flex; flex-direction: column; align-items: center; color: #241400; font-weight: 700; pointer-events: none; }
.orb-text .count { font-size: 1.5rem; }
.med-controls { display: flex; gap: 10px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.med-controls select { width: auto; min-width: 200px; margin: 0; }
.inline-label { display: flex; align-items: center; gap: 8px; margin: 0; }
.inline-label select { min-width: 90px; }
.time { font-family: var(--display); font-size: 3.4rem; color: var(--night); margin: .35em 0; line-height: 1.1; }
.msg { color: var(--good); font-weight: 600; min-height: 1.5em; }
.steps li { margin-bottom: .55em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .orb { transition: none !important; } }

/* Accounts */
.account-link { color: #e9e4ff; text-decoration: none; font-size: .9rem; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.account-link:hover, .account-link[aria-current] { background: rgba(255, 255, 255, .1); color: var(--gold-2); }
@media (max-width: 560px) { .account-link span { display: none; } }
.auth-card { max-width: 480px; margin: 0 auto; }
.auth-card h1 { font-size: 1.6rem; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { width: auto; min-height: 0; margin-top: 4px; flex: none; }
.btn-sm { min-height: 34px; padding: 5px 12px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Astrologers */
.astro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
@media (max-width: 360px) { .astro-grid { grid-template-columns: 1fr; } }
.astro-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); transition: .15s; }
.astro-card:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.astro-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff3dc; }
.astro-card h3 { margin: 0 0 4px; }
.astro-card p { margin: 0 0 6px; }
.astro-card .price { font-weight: 700; color: var(--saffron); }
.astro-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.astro-head img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); }
.astro-head .tag { background: rgba(255, 255, 255, .15); color: #fff; }
.pkg-list { display: flex; flex-direction: column; gap: 12px; }
.pkg { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; flex-wrap: wrap; }
.pkg-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff3dc; font-size: 1.4rem; flex: none; }
.pkg-main { flex: 1; min-width: 180px; }
.pkg-main h3 { margin: 0; }
.pkg-main p { margin: 2px 0 0; }
.pkg-buy { display: flex; align-items: center; gap: 12px; }
.pkg-buy strong { font-size: 1.2rem; color: var(--night); }

/* Booking */
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 10px; -webkit-overflow-scrolling: touch; }
.date-pill { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; line-height: 1.2; }
.date-pill strong { font-size: 1.3rem; }
.date-pill small { color: var(--muted); font-size: .75rem; }
.date-pill.active { background: var(--night); border-color: var(--night); color: var(--gold-2); }
.date-pill.active small { color: #c9c1ea; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.slot { margin: 0; cursor: pointer; position: relative; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot span { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; text-align: center; }
.slot span small { color: var(--muted); font-weight: 400; font-size: .75rem; min-height: 1em; }
.slot input:checked + span { border-color: var(--saffron); background: #fff3dc; }
.slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hold-timer { background: #fdf0e0; border-radius: 10px; padding: 10px 14px; color: var(--warn); }
#paypal-buttons { max-width: 420px; margin-top: 14px; }

/* Messages */
.thread { display: flex; flex-direction: column; gap: 10px; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #faf8fe; max-width: 92%; }
.msg.mine { align-self: flex-end; background: #fff8ee; border-color: #f3dcb4; }
.msg-system { align-self: center; background: transparent; border-style: dashed; font-size: .88rem; color: var(--muted); max-width: 100%; }
.msg-meta { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.msg-body { overflow-wrap: anywhere; }

table.hours td { vertical-align: middle; }
.time-range { display: inline-flex; align-items: center; gap: 6px; }
.time-range input { width: 120px; margin: 0; }

/* Puja booking */
.puja-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
@media (max-width: 360px) { .puja-grid { grid-template-columns: 1fr; } }
.puja-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.puja-top { display: flex; gap: 12px; align-items: flex-start; }
.puja-top h2 { font-family: var(--font); font-size: 1.12rem; margin: 0; }
.puja-top p { margin: 2px 0 0; }
.puja-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #fff3dc, #ffe2b8); font-size: 1.5rem; flex: none; }
.puja-desc { color: var(--ink); font-size: .93rem; margin: 0; flex: 1; }
.puja-pandit { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); font-weight: 600; font-size: .9rem; }
.puja-pandit img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.puja-pandit small { color: var(--muted); font-weight: 400; }
.puja-buy { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.puja-buy strong { font-size: 1.25rem; color: var(--night); }
