:root {
  --ivory: #faf4e8;
  --paper: #fffdf8;
  --ink: #2b1b12;
  --muted: #6b584b;
  --maroon: #5a1420;
  --maroon-deep: #3c0b15;
  --saffron: #c2570c;
  --saffron-dark: #a34708;
  --gold: #b98a2e;
  --gold-soft: #e3c98f;
  --line: #e6d8bf;
  --wa: #1a8f49;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Mukta", system-ui, sans-serif;
  --deva: "Tiro Devanagari Hindi", "Mukta", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--saffron-dark); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.deva { font-family: var(--deva); font-weight: 400; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
section { padding: 84px 0; }
.eyebrow {
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--saffron-dark); font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.sr { position: absolute; left: -9999px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 6px; border: 1.5px solid transparent;
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: var(--saffron-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #157a3e; }
.btn-ghost { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-ghost:hover { background: var(--maroon); color: #fff; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Top strip + header */
.strip { background: var(--maroon-deep); color: var(--gold-soft); font-size: .88rem; text-align: center; padding: 7px 16px; }
.strip a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 244, 232, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--maroon); }
.brand img { width: 46px; height: 46px; }
.brand b { font: 600 1.32rem/1 var(--serif); display: block; letter-spacing: -.01em; }
.brand span { font: 400 .86rem/1 var(--deva); color: var(--saffron-dark); display: block; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--saffron-dark); }
.nav .btn { padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--maroon); margin: 4px 0; }

/* Hero */
.hero { padding: 64px 0 76px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--maroon); font-weight: 500; }
.hero .lede { margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: .95rem; color: var(--muted); }

/* 12 / 9 / 27 */
.numbers { background: var(--maroon); color: #f6e9d2; padding: 56px 0; }
.numbers .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.numbers div { padding: 6px 32px; border-left: 1px solid rgba(227, 201, 143, .3); }
.numbers div:first-child { border-left: 0; padding-left: 0; }
.numbers strong { font: 500 4rem/1 var(--serif); color: var(--gold-soft); display: block; }
.numbers b { display: block; font-size: 1.1rem; margin: 10px 0 4px; color: #fff; font-weight: 600; }
.numbers b .deva { color: var(--gold-soft); margin-right: 8px; font-size: 1.15rem; }
.numbers p { margin: 0; font-size: .98rem; opacity: .85; }

/* Section head */
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.head h2 { margin: 0; max-width: 18ch; }
.head p { margin: 0; max-width: 46ch; color: var(--muted); }

/* Dosha grid */
.dosha-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.dosha-card { display: flex; flex-direction: column; padding: 26px 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .15s; min-height: 230px; }
.dosha-card:hover { background: #fff6e4; }
.dosha-card .deva { font-size: 1.55rem; color: var(--maroon); line-height: 1.3; }
.dosha-card h3 { font: 600 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark); margin: 4px 0 12px; }
.dosha-card p { font-size: .97rem; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.dosha-card .more { margin-top: auto; font-weight: 600; font-size: .95rem; color: var(--maroon); }
.dosha-card.ask { background: var(--maroon); color: #f6e9d2; }
.dosha-card.ask:hover { background: var(--maroon-deep); }
.dosha-card.ask h3, .dosha-card.ask .more { color: var(--gold-soft); }
.dosha-card.ask p { color: #f0dfc4; }
.dosha-card.ask .big { font: 500 1.4rem/1.25 var(--serif); color: #fff; margin-bottom: 10px; }

/* Problems ledger */
.problems { background: var(--paper); border-block: 1px solid var(--line); }
.ledger { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.ledger li { counter-increment: p; display: grid; grid-template-columns: 70px 1fr 1.25fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger li::before { content: "0" counter(p); font: 500 1.6rem var(--serif); color: var(--gold); }
.ledger h3 { margin: 0; font-size: 1.4rem; }
.ledger h3 .deva { display: block; font-size: 1.05rem; color: var(--saffron-dark); margin-top: 6px; }
.ledger p { margin: 0; color: var(--muted); }

/* Puja */
.puja { background: var(--maroon-deep); color: #f3e4cb; }
.puja h2 { color: #fff; max-width: 20ch; }
.puja .eyebrow { color: var(--gold-soft); }
.puja .head p { color: #e9d8bd; }
.puja-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.puja-card { background: rgba(255, 248, 234, .045); border: 1px solid rgba(227, 201, 143, .28); border-radius: 8px; padding: 28px 26px 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: background .2s, border-color .2s; }
.puja-card:hover { background: rgba(255, 248, 234, .08); border-color: var(--gold-soft); }
.puja-card .illus { width: 92px; height: 92px; color: var(--gold-soft); margin-bottom: 18px; }
.puja-card .deva { color: var(--gold-soft); font-size: 1.05rem; }
.puja-card h3 { color: #fff; font-size: 1.35rem; margin: 2px 0 8px; }
.puja-card p { font-size: .97rem; color: #e9d8bd; margin: 0 0 18px; }
.puja-card a { margin-top: auto; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; border-top: 1px solid rgba(227, 201, 143, .25); padding-top: 14px; }
.puja-card a:hover { color: var(--gold-soft); }
.puja-note { margin: 28px 0 0; color: #e9d8bd; }
.puja-note a { color: var(--gold-soft); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.steps div { border-top: 2px solid var(--maroon); padding-top: 18px; }
.steps span { font: 600 .82rem var(--sans); letter-spacing: .14em; color: var(--saffron-dark); text-transform: uppercase; }
.steps h3 { margin: 8px 0; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Sessions */
.sessions { background: var(--paper); border-block: 1px solid var(--line); }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about figure { margin: 0; }
.about .wrap { align-items: stretch; }
.about figure { display: flex; flex-direction: column; }
.about img { border-radius: 8px; border: 1px solid var(--line); width: 100%; flex: 1; min-height: 0; max-height: 640px; object-fit: cover; object-position: 50% 12%; }
.about .wrap > div { align-self: center; }
.about figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 500 1.2rem var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.7rem var(--sans); color: var(--saffron-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 20px; max-width: 68ch; }

/* CTA band */
.band { background: var(--maroon); color: #fff; text-align: center; padding: 72px 0; }
.band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.band p { color: #f0dfc4; max-width: 52ch; margin: 0 auto 28px; }
.band .cta-row { justify-content: center; }
.band .btn-ghost { border-color: #fff; color: #fff; }
.band .btn-ghost:hover { background: #fff; color: var(--maroon); }

/* Footer */
.site-footer { background: var(--maroon-deep); color: #e9d8bd; padding: 60px 0 110px; font-size: .96rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr 1fr; gap: 34px; }
.site-footer h4 { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e9d8bd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand span { color: var(--gold-soft); }
.site-footer .fine { border-top: 1px solid rgba(227, 201, 143, .2); margin-top: 40px; padding-top: 22px; font-size: .86rem; opacity: .8; }

/* Floating WhatsApp + mobile bar */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.wa-float svg { width: 30px; height: 30px; }
.mobile-bar { display: none; }

/* Article (dosha pages) */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); }
.article-head { padding: 26px 0 50px; }
.article-head .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.article-head .deva.big { font-size: 1.6rem; color: var(--saffron-dark); }
.chart-box { background: var(--paper); border: 1px solid var(--line); padding: 22px; border-radius: 8px; color: var(--maroon); }
.chart-box p { font-size: .88rem; color: var(--muted); margin: 14px 0 0; line-height: 1.45; }
.kundli .hl { fill: rgba(194, 87, 12, .2); }
.kundli text { font: 500 5px var(--sans); fill: var(--muted); text-anchor: middle; }
.kundli text.g { font: 400 7px var(--deva); fill: var(--maroon); }
.article { padding: 0 0 80px; }
.article .wrap { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.article h2 { font-size: 1.75rem; margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.article ul { padding-left: 1.1em; }
.article li { margin-bottom: .5em; }
.article table { border-collapse: collapse; width: 100%; margin: 1em 0 1.4em; font-size: .98rem; background: var(--paper); }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article th { background: #f4e9d3; font-weight: 600; }
.note { background: #fff6e4; border-left: 3px solid var(--gold); padding: 16px 20px; margin: 1.6em 0; font-size: 1rem; }
.side { position: sticky; top: 96px; background: var(--maroon); color: #f6e9d2; padding: 28px 26px; border-radius: 8px; }
.side h3 { color: #fff; font-size: 1.4rem; }
.side p { font-size: .97rem; }
.side .btn { width: 100%; margin-top: 10px; }
.others { margin-top: 26px; font-size: .96rem; }
.others a { display: block; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.others a:hover { color: var(--saffron-dark); }

/* Booking */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field label i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid #d9c9ab; border-radius: 6px; background: #fff; font: 1rem var(--sans); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--saffron); outline-offset: 1px; border-color: var(--saffron); }
.field .check { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: .9rem; margin-top: 7px; color: var(--muted); }
.form-msg { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: .98rem; background: #fdecea; color: #8a1c12; border: 1px solid #f2c4bd; }
.done { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--wa); border-radius: 8px; padding: 40px 34px; }
.done dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 20px 0 26px; }
.done dt { color: var(--muted); }
.done dd { margin: 0; font-weight: 600; }
.legal { padding: 50px 0 90px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }

@media (max-width: 980px) {
  section { padding: 60px 0; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: block; }
  .hero { padding-top: 40px; }
  .hero .wrap, .about .wrap, .article-head .wrap, .article .wrap { grid-template-columns: 1fr; gap: 40px; }
  .dosha-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .ledger li { grid-template-columns: 44px 1fr; }
  .ledger li p { grid-column: 2; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .chart-box { max-width: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .strip { font-size: .8rem; }
  .numbers .wrap { grid-template-columns: 1fr; gap: 26px; }
  .numbers div { border-left: 0; padding: 0; }
  .numbers strong { font-size: 3.2rem; }
  .dosha-grid { grid-template-columns: 1fr; }
  .dosha-card { min-height: 0; }
  .fields { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--line); padding: 8px; gap: 8px; }
  .mobile-bar .btn { padding: 12px 8px; font-size: .96rem; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- second pass ---- */
[id] { scroll-margin-top: 92px; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
[lang=hi] { font-family: var(--deva); }

/* Hero medallion: photo set inside a kundli chart */
.medallion { position: relative; width: min(450px, 100%); aspect-ratio: 1; justify-self: center; color: var(--gold); margin-bottom: 26px; }
.medallion svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.medallion svg text { fill: var(--gold); font-size: 4.2px; }
.medallion img { position: absolute; inset: 16%; width: 68%; height: 68%; border-radius: 50%; object-fit: cover; border: 7px solid var(--ivory); box-shadow: 0 0 0 1.5px var(--gold), 0 18px 40px rgba(60, 11, 21, .18); }
.medallion .tag { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); margin: 0; white-space: nowrap; background: var(--maroon); color: #fff; padding: 9px 22px 10px; border-radius: 4px; text-align: center; line-height: 1.25; box-shadow: 0 8px 20px rgba(60, 11, 21, .2); }
.medallion .tag b { font: 600 1.15rem var(--serif); display: block; }
.medallion .tag span { color: var(--gold-soft); font-size: .92rem; }

/* Nakshatra ticker */
.ticker { background: var(--maroon-deep); color: #e9d8bd; overflow: hidden; white-space: nowrap; padding: 11px 0; font-size: .9rem; letter-spacing: .04em; }
.ticker div { display: inline-block; animation: tick 90s linear infinite; }
.ticker span { margin-right: 34px; }
.ticker i { font-style: normal; color: var(--gold-soft); margin-right: 8px; font-size: 1rem; }
@keyframes tick { to { transform: translateX(-50%); } }

.quote { margin: 22px 0 26px; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.5rem; line-height: 1.55; color: var(--maroon); }
.quote cite { display: block; font: 600 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark); margin-top: 8px; }
.hi { font-size: 1.12rem; line-height: 1.9; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 18px 22px; border-radius: 6px; }
.article h2.deva { font-weight: 400; color: var(--maroon); }

/* Self-check tools */
.tools { padding-top: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.tool { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--maroon); border-radius: 6px; padding: 24px 24px 22px; }
.article .tool { margin: 1.8em 0; }
.tool h3 { margin-bottom: 6px; }
.tool > p { font-size: .96rem; color: var(--muted); margin-bottom: 14px; }
.tool-row { display: grid; gap: 12px; }
.article .tool-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tool label { font-weight: 600; font-size: .9rem; display: block; }
.tool select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1.5px solid #d9c9ab; border-radius: 6px; background: #fff; font: 1rem var(--sans); color: var(--ink); }
.tool .out { margin: 16px 0 0; padding: 12px 14px; border-radius: 6px; font-size: .97rem; color: var(--ink); line-height: 1.5; }
.tool .out.warn { background: #fdeede; border-left: 3px solid var(--saffron); }
.tool .out.ok { background: #e9f4ea; border-left: 3px solid var(--wa); }
.tool .out a { font-weight: 600; white-space: nowrap; }

.ledger h3 a { color: inherit; text-decoration: none; }
.ledger h3 a:hover { color: var(--saffron-dark); }
.ledger .more { font-weight: 600; white-space: nowrap; }
.about figcaption { flex: none; }

@media (max-width: 980px) {
  .medallion { width: min(360px, 92%); }
  .tool-grid { grid-template-columns: 1fr; }
  .about img { max-height: 520px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .quote { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .ticker div { animation: none; } }

/* ---- third pass: offer, rate card, booking ---- */
.strip b { color: #fff; font-weight: 600; }
.strip s { opacity: .65; margin: 0 2px; }
.strip a { margin-left: 8px; font-weight: 600; }
[data-countdown] { font-variant-numeric: tabular-nums; }

/* Featured first-consultation offer */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--maroon); color: #f6e9d2; border-radius: 10px; overflow: hidden; margin-bottom: 34px; position: relative; }
.feature-main { padding: 38px 40px; }
.feature-main .deva { color: var(--gold-soft); font-size: 1.15rem; }
.feature-main h3 { color: #fff; font-size: 2rem; margin: 2px 0 10px; }
.feature-main p { margin: 0 0 16px; max-width: 46ch; }
.feature-main ul { list-style: none; margin: 0; padding: 0; }
.feature-main li { padding: 6px 0 6px 24px; position: relative; }
.feature-main li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; background: var(--gold-soft); transform: rotate(45deg); }
.feature-price { background: var(--ivory); color: var(--ink); padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-left: 2px dashed var(--gold); }
.feature-price .was { color: var(--muted); text-decoration: line-through; font-size: 1.05rem; }
.feature-price strong { font: 500 4.4rem/1 var(--serif); color: var(--maroon); margin: 2px 0 6px; }
.feature-price .len { color: var(--muted); margin-bottom: 20px; }
.feature-price .btn { width: 100%; padding: 15px; }
.feature-price .ends { font-size: .9rem; color: var(--saffron-dark); margin-top: 12px; }

/* Rate card */
.rates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rates li { display: grid; grid-template-columns: 1fr 90px 110px auto; gap: 24px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.rates h3 { margin: 0 0 4px; font-size: 1.4rem; }
.rates h3 .deva { font-size: 1rem; color: var(--saffron-dark); margin-left: 12px; }
.rates p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 56ch; }
.rates .mins { color: var(--muted); font-size: .95rem; text-align: right; }
.rates .amt { font: 500 1.8rem var(--serif); color: var(--maroon); text-align: right; }
.rates .btn { padding: 10px 26px; }
.assure { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; font-size: .95rem; color: var(--muted); }
.assure b { display: block; color: var(--ink); font-size: 1rem; }
.side-offer { background: rgba(227, 201, 143, .14); border-left: 2px solid var(--gold-soft); padding: 9px 12px; font-size: .93rem !important; }
.side-offer a { color: #fff; font-weight: 600; }

/* Offer popup */
.offer-pop { position: fixed; inset: 0; z-index: 90; background: rgba(43, 14, 20, .62); display: grid; place-items: center; padding: 18px; animation: fade .25s ease; }
.offer-pop[hidden] { display: none; }
.offer-card { position: relative; width: min(440px, 100%); max-height: 94vh; overflow: auto; background: var(--paper); border-radius: 10px; padding: 26px 30px 24px; border-top: 5px solid var(--saffron); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: rise .3s ease; }
.offer-close { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.9rem; line-height: 1; color: var(--muted); cursor: pointer; }
.offer-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.offer-top img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--gold); }
.offer-top .deva { display: block; color: var(--saffron-dark); font-size: 1.1rem; line-height: 1.2; }
.offer-top b { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.offer-card h2 { font-size: 1.75rem; margin: 0 0 8px; }
.offer-card h2 em { font-style: normal; color: var(--maroon); white-space: nowrap; background: linear-gradient(transparent 62%, #f4d9a8 62%); }
.offer-sub { color: var(--muted); margin: 0 0 12px; }
.offer-sub s { margin-right: 8px; }
.offer-card ul { list-style: none; margin: 0 0 16px; padding: 0; font-size: .98rem; }
.offer-card li { padding: 5px 0 5px 22px; position: relative; }
.offer-card li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.offer-timer { background: #fff6e4; border: 1px dashed var(--gold); border-radius: 6px; padding: 9px 12px; font-size: .95rem; text-align: center; margin: 0 0 14px; }
.offer-timer b { color: var(--maroon); }
.offer-card .btn { width: 100%; padding: 15px; font-size: 1.05rem; }
.offer-wa { display: block; text-align: center; margin-top: 12px; font-size: .95rem; color: var(--wa); font-weight: 600; }
.offer-fine { text-align: center; font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Booking page */
.book-hero { background: var(--maroon); color: #f3e4cb; padding: 54px 0 96px; }
.book-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.book-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.book-hero .eyebrow { color: var(--gold-soft); font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
.book-hero p { margin: 0; font-size: 1.1rem; }
.book-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: f; font-size: .92rem; line-height: 1.45; }
.book-flow li { counter-increment: f; border-top: 1px solid rgba(227, 201, 143, .4); padding-top: 12px; }
.book-flow li::before { content: counter(f); font: 500 1.5rem var(--serif); color: var(--gold-soft); display: block; }
.book-flow b { display: block; color: #fff; }
.book { padding: 0 0 90px; }
.book-grid { display: grid; grid-template-columns: 1fr 350px; gap: 44px; align-items: start; margin-top: -56px; }
.book form { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 40px 36px; box-shadow: 0 14px 40px rgba(60, 11, 21, .08); }
.step { display: grid; grid-template-columns: 64px 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step .num { font: 500 1.7rem var(--serif); color: var(--gold); padding-top: 2px; }
.step h2 { font-size: 1.6rem; margin: 0 0 6px; }
.step h3 { margin: 26px 0 14px; color: var(--maroon); }
.step-hint { color: var(--muted); font-size: .97rem; margin: 0 0 18px; }
.opts { display: grid; gap: 10px; margin-top: 16px; }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 18px 16px 46px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.opt input { position: absolute; left: 16px; top: 50%; margin-top: -9px; width: 18px; height: 18px; accent-color: var(--maroon); }
.opt:hover { border-color: var(--gold); }
.opt:has(input:checked) { border-color: var(--maroon); background: #fff8ea; box-shadow: inset 4px 0 0 var(--maroon); }
.opt-body { display: block; line-height: 1.35; }
.opt-body .deva { color: var(--saffron-dark); font-size: .95rem; display: block; }
.opt-body b { font: 600 1.2rem var(--serif); display: block; }
.opt-body small { color: var(--muted); font-size: .9rem; display: block; margin-top: 3px; }
.opt-body em { font-style: normal; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--saffron); color: #fff; padding: 2px 9px; border-radius: 3px; display: inline-block; margin-bottom: 6px; }
.opt-price { text-align: right; line-height: 1.2; }
.opt-price s { color: var(--muted); font-size: .9rem; display: block; }
.opt-price strong { font: 500 1.6rem var(--serif); color: var(--maroon); display: block; }
.opt-price small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-slots { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, .chip-btn { display: block; padding: 9px 15px; border: 1.5px solid #d9c9ab; border-radius: 6px; background: #fff; font: 500 .95rem var(--sans); color: var(--ink); cursor: pointer; text-align: center; line-height: 1.25; }
.chip-btn small { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chip-btn b { font: 500 1.25rem var(--serif); display: block; }
.chip input:checked + span, .chip-btn[aria-pressed=true] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.chip-btn[aria-pressed=true] small { color: var(--gold-soft); }
.chip input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.chip-other { display: flex; align-items: center; }
.chip-other input { padding: 9px 10px; border: 1.5px solid #d9c9ab; border-radius: 6px; font: .95rem var(--sans); background: #fff; height: 100%; }
.pay-row { padding-top: 28px; }
.pay-row .btn { width: 100%; padding: 17px; font-size: 1.1rem; }
.form-foot { font-size: .86rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-msg { margin-top: 22px; }

/* Booking slip */
.slip { position: sticky; top: 96px; background: #fffaf0; padding: 26px 26px 34px; filter: drop-shadow(0 12px 22px rgba(60, 11, 21, .16)); font-size: .96rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 100%; }
.slip-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 2px dashed #d9c9ab; margin-bottom: 16px; }
.slip-head b { font: 600 1.2rem var(--serif); color: var(--maroon); display: block; line-height: 1.1; }
.slip-head .deva { color: var(--saffron-dark); font-size: .92rem; }
.slip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; }
.slip dt { color: var(--muted); }
.slip dd { margin: 0; text-align: right; font-weight: 600; }
.slip-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed #d9c9ab; margin-top: 16px; padding-top: 14px; }
.slip-total s { color: var(--muted); margin-right: 10px; }
.slip-total b { font: 500 2.2rem var(--serif); color: var(--maroon); }
.slip-save { margin: 6px 0 0; text-align: right; color: var(--wa); font-weight: 600; font-size: .92rem; }
.slip ul { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.slip li { padding: 3px 0 3px 20px; position: relative; }
.slip li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.slip-wa { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; color: var(--wa); font-weight: 600; font-size: .92rem; text-decoration: none; }
.slip-wa svg { width: 18px; height: 18px; }
.done h2 { font-size: 2.2rem; }
.book > .narrow { margin-top: -56px; position: relative; }

@media (max-width: 980px) {
  .feature { grid-template-columns: 1fr; }
  .feature-price { border-left: 0; border-top: 2px dashed var(--gold); }
  .rates li { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .rates li > div { grid-column: 1 / -1; }
  .rates .mins { text-align: left; grid-row: 2; }
  .rates .amt { grid-row: 2; }
  .rates .btn { grid-column: 1 / -1; }
  .assure { grid-template-columns: 1fr; gap: 14px; }
  .book-hero .wrap, .book-grid { grid-template-columns: 1fr; }
  .book-hero { padding-bottom: 84px; }
  .slip { position: static; }
}
@media (max-width: 640px) {
  .strip-time { display: none; }
  .feature-main { padding: 28px 22px; }
  .feature-price { padding: 26px 22px; }
  .feature-price strong { font-size: 3.6rem; }
  .book form { padding: 6px 18px 26px; }
  .step { grid-template-columns: 1fr; }
  .step .num { margin-bottom: 4px; }
  .opt { grid-template-columns: 1fr; gap: 8px; }
  .opt-price { text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .opt-price s, .opt-price strong { display: inline; }
  .book-flow { grid-template-columns: 1fr; gap: 10px; }
  .book-flow li { display: grid; grid-template-columns: 30px 1fr; padding-top: 8px; }
  .book-flow li::before { grid-row: span 2; }
  .offer-card { padding: 22px 20px 20px; }
  .offer-card h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .offer-pop, .offer-card { animation: none; } }

/* ---- fourth pass: illustrations ---- */
.dosha-card { position: relative; }
.dosha-card .glyph { position: absolute; right: 18px; top: 18px; width: 46px; height: 46px; color: var(--gold); opacity: .85; transition: transform .25s; }
.dosha-card:hover .glyph { transform: scale(1.12) rotate(-4deg); }
.dosha-card .deva { padding-right: 52px; }
.feature-main { position: relative; overflow: hidden; }
.feature-art { position: absolute; right: -14px; bottom: -18px; width: 210px; height: 210px; color: var(--gold-soft); opacity: .16; pointer-events: none; }
[data-countdown] { font-weight: 600; }
@media (max-width: 980px) { .puja-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .puja-grid { grid-template-columns: 1fr; }
  .puja-card { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 20px 18px; }
  .puja-card .illus { width: 64px; height: 64px; grid-row: span 3; margin: 0; }
  .puja-card a { grid-column: 1 / -1; margin-top: 14px; }
  .strip-time { display: none; }
}

/* ---- fifth pass: pictures ---- */
.puja-card { padding: 0; }
.puja-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.puja-card:hover img { transform: scale(1.04); }
.puja-body { padding: 22px 24px 22px; display: flex; flex-direction: column; flex: 1; position: relative; background: linear-gradient(rgba(60, 11, 21, 0), rgba(60, 11, 21, 0)); }
.jyotish .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.jyotish figure { margin: 0; position: relative; }
.jyotish img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.jyotish figure::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: 8px; z-index: -1; }
.ledger li { grid-template-columns: 190px 1fr 1.25fr; align-items: center; gap: 30px; padding: 22px 0; }
.ledger li::before { content: none; }
.ledger .thumb { display: block; overflow: hidden; border-radius: 6px; }
.ledger .thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.ledger li:hover .thumb img { transform: scale(1.05); }
.lead { margin: 2em 0 0; }
.lead img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 8px; }
.book-hero { background: linear-gradient(90deg, rgba(60, 11, 21, .96) 30%, rgba(90, 20, 32, .78)), url(/assets/img/art/desk.jpg) center / cover; }
@media (max-width: 980px) {
  .jyotish .wrap { grid-template-columns: 1fr; gap: 36px; }
  .jyotish img { aspect-ratio: 16 / 10; }
  .jyotish figure::after { display: none; }
  .ledger li { grid-template-columns: 120px 1fr; gap: 6px 18px; align-items: start; }
  .ledger .thumb { grid-row: span 2; }
  .ledger li p { grid-column: 2; }
}
@media (max-width: 640px) {
  .puja-card { display: flex; padding: 0; }
  .puja-card a { margin-top: auto; }
  .ledger li { grid-template-columns: 1fr; }
  .ledger .thumb { grid-row: auto; }
  .ledger li p { grid-column: 1; }
  .lead img { aspect-ratio: 4 / 3; }
}

/* ---- sixth pass: a louder offer ---- */
.strip[data-offer] { background: linear-gradient(100deg, #7a1a12, #c2570c 35%, #e08a1e 50%, #c2570c 65%, #7a1a12); background-size: 220% 100%; animation: slide 7s linear infinite; color: #fff; font-size: .98rem; padding: 9px 16px; }
.strip[data-offer] b { font-size: 1.05rem; }
.strip[data-offer] [data-countdown] { background: #2b0e14; color: #ffd98a; padding: 2px 9px; border-radius: 4px; margin: 0 3px; letter-spacing: .04em; }
.strip[data-offer] a { background: #fff; color: #7a1a12; text-decoration: none; padding: 3px 12px; border-radius: 20px; font-size: .88rem; }
@keyframes slide { to { background-position: -220% 0; } }

.timer { display: inline-flex; align-items: flex-start; gap: 6px; vertical-align: middle; }
.timer .tile { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 8px 6px; border-radius: 8px; background: linear-gradient(#3c0b15 49%, #2b0810 51%); color: #ffd98a; box-shadow: 0 4px 0 #1c050a, 0 10px 18px rgba(43, 14, 20, .3); position: relative; overflow: hidden; }
.timer .tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .45); }
.timer b { font: 600 2rem/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: .02em; display: block; }
.timer i { font: 600 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #e3c98f; margin-top: 5px; }
.timer em { font: 600 1.7rem/1 var(--serif); color: var(--maroon); padding-top: 8px; animation: blink 1s steps(1) infinite; }
.timer b.flip { animation: flip .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes flip { from { transform: translateY(-45%) scale(1.12); opacity: .2; } }
@keyframes blink { 50% { opacity: .25; } }
.offer-urgent .timer .tile { background: linear-gradient(#b3200f 49%, #8f160a 51%); color: #fff; box-shadow: 0 4px 0 #5c0d05, 0 0 0 0 rgba(200, 40, 20, .6); animation: alarm 1s infinite; }
.offer-urgent .timer i { color: #ffd9d2; }
@keyframes alarm { 70% { box-shadow: 0 4px 0 #5c0d05, 0 0 0 12px rgba(200, 40, 20, 0); } }

.hero-note { margin-top: 26px; }
.hero-offer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 18px 12px 14px; background: #fff; border: 2px solid var(--saffron); border-radius: 12px; text-decoration: none; color: var(--ink); font-size: 1rem; box-shadow: 0 10px 28px rgba(194, 87, 12, .2); transition: transform .15s; }
.hero-offer:hover { transform: translateY(-2px); }
.hero-offer .pill, .offer-ribbon span { background: var(--saffron); color: #fff; font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; animation: throb 1.6s ease-in-out infinite; }
.hero-offer .what b { font: 600 1.5rem var(--serif); color: var(--maroon); margin: 0 4px; }
.hero-offer .what s { color: var(--muted); }
.hero-offer .ends-in { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--saffron-dark); }
.hero-offer .timer .tile { min-width: 46px; padding: 6px 6px 5px; }
.hero-offer .timer b { font-size: 1.45rem; }
.hero-offer .timer em { font-size: 1.3rem; padding-top: 6px; }
@keyframes throb { 50% { transform: scale(1.07); } }

.feature { box-shadow: 0 0 0 2px var(--gold), 0 24px 60px rgba(90, 20, 32, .28); animation: halo 2.6s ease-in-out infinite; overflow: visible; }
.feature-main { border-radius: 10px 0 0 10px; }
.feature-price { border-radius: 0 10px 10px 0; position: relative; }
@keyframes halo { 50% { box-shadow: 0 0 0 2px #e98a2b, 0 24px 70px rgba(194, 87, 12, .42); } }
.feature-price strong { background: linear-gradient(100deg, var(--maroon) 40%, #e08a1e 50%, var(--maroon) 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slide 3.5s linear infinite; }
.feature-price .len { margin-bottom: 16px; }
.feature-price .ends { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-weight: 600; color: var(--saffron-dark); font-size: 1rem; }
.burst { position: absolute; right: 22px; top: -26px; width: 96px; height: 96px; display: grid; place-content: center; text-align: center; background: var(--saffron); color: #fff; font: 600 .72rem/1.15 var(--sans); letter-spacing: .12em; text-transform: uppercase; transform: rotate(10deg); animation: wobble 2.4s ease-in-out infinite; z-index: 2;
  clip-path: polygon(50% 0, 61% 9%, 75% 5%, 80% 19%, 94% 22%, 91% 36%, 100% 50%, 91% 64%, 94% 78%, 80% 81%, 75% 95%, 61% 91%, 50% 100%, 39% 91%, 25% 95%, 20% 81%, 6% 78%, 9% 64%, 0 50%, 9% 36%, 6% 22%, 20% 19%, 25% 5%, 39% 9%); }
.burst b { font: 600 1.35rem var(--serif); letter-spacing: 0; display: block; }
@keyframes wobble { 50% { transform: rotate(-6deg) scale(1.06); } }

.shine { position: relative; overflow: hidden; }
.shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: sweep 2.6s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { left: 130%; } }

.offer-card { border-top: 0; padding-top: 0; overflow: hidden auto; }
.offer-ribbon { margin: 0 -30px 20px; padding: 12px 54px 12px 30px; background: linear-gradient(100deg, #7a1a12, #c2570c 40%, #e08a1e 50%, #c2570c 60%, #7a1a12); background-size: 220% 100%; animation: slide 6s linear infinite; color: #fff; display: flex; align-items: center; gap: 12px; }
.offer-ribbon span { background: #2b0e14; color: #ffd98a; }
.offer-ribbon b { font: 600 1.15rem var(--serif); }
.offer-close { color: #fff; top: 3px; }
.offer-timer { display: flex; align-items: center; justify-content: center; gap: 14px; border: 0; background: #fff3dc; padding: 14px 12px 16px; font-weight: 600; color: var(--saffron-dark); }
.offer-card h2 em { font-size: 1.25em; }
.mobile-bar [data-countdown] { background: rgba(0, 0, 0, .25); padding: 1px 6px; border-radius: 4px; }

@media (max-width: 980px) {
  .feature-main { border-radius: 10px 10px 0 0; }
  .feature-price { border-radius: 0 0 10px 10px; }
}
@media (max-width: 640px) {
  .strip[data-offer] { font-size: .86rem; }
  .hero-offer { display: flex; }
  .offer-ribbon { margin: 0 -20px 16px; padding-left: 20px; }
  .burst { width: 84px; height: 84px; right: 12px; }
  .feature-price .ends { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .strip[data-offer], .feature, .feature-price strong, .burst, .shine::after, .offer-ribbon, .hero-offer .pill, .offer-ribbon span, .timer em, .timer b.flip, .offer-urgent .timer .tile { animation: none; }
  .feature-price strong { color: var(--maroon); background: none; }
}

/* ---- seventh pass: saved bookings and sign-in ---- */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--saffron-dark); text-decoration: underline; cursor: pointer; }
.btn-google { background: #fff; color: var(--ink); border-color: #d9c9ab; padding: 10px 18px 10px 44px; position: relative; }
.btn-google::before { content: "G"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); color: #fff; font: 700 .8rem/22px var(--sans); text-align: center; }
.btn-google:hover { border-color: var(--maroon); }
.signin { background: #fff8ea; border: 1px dashed var(--gold); border-radius: 8px; padding: 12px 14px; font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.signin .btn { margin-right: 10px; }
.resume { margin-top: 24px; padding: 16px 18px; border-radius: 8px; background: #fff6e4; border-left: 4px solid var(--saffron); font-size: .98rem; }
.resume b { display: block; margin-bottom: 4px; }
.resume p { margin: 0; color: var(--muted); }
.resume-ok { background: #e9f4ea; border-left-color: var(--wa); }
.done-foot { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
.mine h2 { font-size: 1.4rem; margin: 1.6em 0 .6em; }
.mine-help { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.bk { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 20px 22px; margin-bottom: 14px; }
.bk-paid { border-left-color: var(--wa); }
.bk-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.bk h3 { margin: 0; font-size: 1.3rem; }
.bk-badge { font: 600 .74rem var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: #f4e3c0; color: #7a4a06; }
.bk-paid .bk-badge { background: #d8efdd; color: #14572d; }
.bk dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0; font-size: .96rem; }
.bk dt { color: var(--muted); }
.bk dd { margin: 0; font-weight: 600; word-break: break-all; }
.bk-note { color: var(--muted); font-size: .92rem; margin: 12px 0; }

/* ---- Hindi / English, services first (Nov 2026) ---- */
.site-header .wrap { justify-content: flex-start; }
.site-header .nav { margin-left: auto; }
.lang-switch { order: 5; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 600; font-size: .95rem; color: var(--maroon); text-decoration: none; background: var(--paper); white-space: nowrap; transition: border-color .15s; }
.lang-switch::before { content: "अ"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--maroon); color: var(--gold-soft); font: 400 .85rem/1 var(--deva); }
html[lang=hi] .lang-switch::before { content: "A"; font: 600 .8rem/1 var(--sans); }
.lang-switch:hover { border-color: var(--maroon); }
.nav-toggle { order: 6; }

html[lang=hi] { font-family: var(--sans); }
html[lang=hi] body { line-height: 1.75; }
html[lang=hi] h1, html[lang=hi] h2, html[lang=hi] h3, html[lang=hi] .brand b, html[lang=hi] .medallion .tag b,
html[lang=hi] .svc-card.ask .big, html[lang=hi] .dosha-card.ask .big { font-family: var(--deva); font-weight: 400; letter-spacing: 0; line-height: 1.32; }
html[lang=hi] h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
html[lang=hi] .hero h1 em { font-style: normal; }
html[lang=hi] .eyebrow { letter-spacing: .03em; text-transform: none; font-size: .98rem; }
html[lang=hi] .dosha-card h3, html[lang=hi] .site-footer h4 { letter-spacing: .06em; }
html[lang=hi] .numbers b { font-size: 1.25rem; }

.services { background: var(--paper); border-bottom: 1px solid var(--line); padding-top: 72px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; background: var(--ivory); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.svc-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(60, 11, 21, .08); }
.svc-no { font: 500 .95rem var(--serif); color: var(--gold); margin-bottom: 8px; }
.svc-card .deva { font-size: 1.42rem; line-height: 1.32; color: var(--maroon); }
.svc-card h3 { font: 600 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark); margin: 6px 0 10px; }
.svc-card p { font-size: .95rem; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
html[lang=hi] .svc-card .deva { margin-bottom: 8px; }
html[lang=hi] .svc-card p { font-size: 1rem; line-height: 1.6; }
.svc-card .more { margin-top: auto; font-weight: 600; font-size: .93rem; color: var(--maroon); }
.svc-card.ask { background: var(--maroon); border-color: var(--maroon); color: #f6e9d2; }
.svc-card.ask:hover { background: var(--maroon-deep); }
.svc-card.ask h3, .svc-card.ask .more { color: var(--gold-soft); }
.svc-card.ask .big { font: 500 1.35rem/1.25 var(--serif); color: #fff; margin-bottom: 10px; }
.svc-card.ask p { color: #f0dfc4; }
.svc-also { margin: 24px 0 0; color: var(--muted); }
.svc-also a { font-weight: 600; }

.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-footer .social a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(227, 201, 143, .35); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: .9rem; }
.site-footer .social a:hover { border-color: var(--gold-soft); text-decoration: none; }
.social svg { width: 18px; height: 18px; color: var(--gold-soft); }
.site-footer li span { opacity: .75; }
.band .band-call { margin: 22px auto 0; font-size: .98rem; }
.band-call a { color: #fff; font-weight: 600; }
.in-hindi { margin-top: 18px; }
.in-hindi a { font-weight: 600; }
.puja-en { font-size: .9rem; color: var(--gold-soft); letter-spacing: .04em; }

@media (max-width: 980px) {
  .lang-switch { margin-left: auto; order: 2; }
  .nav-toggle { order: 3; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-header .wrap { gap: 12px; }
  .brand b { font-size: 1.12rem; }
  .brand img { width: 38px; height: 38px; }
  .lang-switch { padding: 5px 11px 5px 6px; font-size: .9rem; }
  .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  .svc-card { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 16px 16px 14px; }
  .svc-card > * { grid-column: 2; }
  .svc-no { grid-column: 1; grid-row: 1 / span 3; margin: 4px 0 0; }
  .svc-card p { display: none; }
  .svc-card h3 { margin: 2px 0 8px; }
  .svc-card.ask { display: flex; }
  .svc-card.ask p { display: block; }
}
@media (max-width: 430px) {
  .site-header .brand span { display: none; }
  .site-header .brand b { font-size: 1.08rem; }
}

/* Service cards with pictures */
.svc-card { overflow: hidden; }
.svc-img { display: block; margin: -22px -22px 16px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-card .svc-no { position: absolute; top: 12px; left: 12px; margin: 0; padding: 3px 10px; border-radius: 999px; background: rgba(60, 11, 21, .82); color: var(--gold-soft); font-size: .82rem; line-height: 1.4; }
.svc-card.ask { justify-content: center; }
@media (max-width: 640px) {
  .svc-card { grid-template-columns: 92px 1fr; column-gap: 14px; padding: 12px; align-items: center; }
  .svc-img { grid-column: 1; grid-row: 1 / span 3; margin: 0; aspect-ratio: 1; border-radius: 6px; }
  .svc-card .svc-no { display: none; }
  .svc-card h3 { margin: 2px 0 4px; }
  .svc-card .more { font-size: .88rem; }
}
.chip-btn:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.chip.chip-full span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* ---- Fixes: timer colours and alignment (Nov 2026) ---- */
.timer .tile b, .offer-timer .timer b, .hero-offer .timer b { color: #ffd98a; }
.offer-urgent .timer .tile b { color: #fff; }
.offer-ribbon > span { background: #2b0e14; color: #ffd98a; }
.offer-ribbon b span { background: none; color: inherit; font: inherit; letter-spacing: 0; text-transform: none; padding: 0; animation: none; }
.hero-offer { display: inline-grid; grid-template-columns: auto auto auto; align-items: center; column-gap: 16px; row-gap: 10px; }
.hero-offer .ends-in { white-space: nowrap; }
.hero-offer .what { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 981px), (max-width: 600px) {
  .hero-offer { grid-template-columns: auto 1fr; }
  .hero-offer .ends-in { grid-column: 1 / -1; justify-content: space-between; border-top: 1px dashed var(--gold); padding-top: 10px; }
}
.timer { align-items: center; }
.timer em { padding-top: 0; }
.feature-price .ends .timer, .offer-timer .timer { flex: none; }

/* ---- Session "packs": consultations presented as products ---- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.pack { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.pack:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(60, 11, 21, .16); border-color: var(--gold); }
.pack-cover { position: relative; display: block; aspect-ratio: 16 / 10; padding: 18px 20px 16px 30px; color: #fff; text-decoration: none; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, rgba(255, 217, 138, .22), transparent 55%), linear-gradient(135deg, #6b1826, #3c0b15); }
.pack-milan .pack-cover { background: radial-gradient(120% 90% at 85% 10%, rgba(255, 217, 138, .2), transparent 55%), linear-gradient(135deg, #1f5550, #0f2f2c); }
.pack-dosha .pack-cover { background: radial-gradient(120% 90% at 85% 10%, rgba(255, 217, 138, .2), transparent 55%), linear-gradient(135deg, #34306a, #1a1838); }
.pack-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .08) 70%, rgba(0, 0, 0, .2)); }
.pack-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%); transform: translateX(-110%); transition: transform .8s ease; }
.pack:hover .pack-cover::after { transform: translateX(110%); }
.pack-chart { position: absolute; right: -18px; top: 50%; width: 62%; transform: translateY(-50%) rotate(-8deg); color: var(--gold-soft); opacity: .55; transition: transform .6s ease, opacity .3s; }
.pack-chart .hl { fill: rgba(255, 217, 138, .28); }
.pack:hover .pack-chart { transform: translateY(-50%) rotate(0deg) scale(1.04); opacity: .8; }
.pack-tag { position: relative; display: inline-block; font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(227, 201, 143, .45); border-radius: 999px; padding: 3px 10px; }
.pack-title { position: absolute; left: 30px; right: 40%; bottom: 46px; font-size: 1.65rem; line-height: 1.2; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
html[lang=hi] .pack-title { font: 600 1.3rem/1.2 var(--serif); }
.pack-len { position: absolute; left: 30px; bottom: 16px; font-size: .88rem; color: #f3e2c4; }
.pack-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pack-body h3 { font-size: 1.35rem; margin: 0 0 6px; }
.pack-body > p { color: var(--muted); font-size: .97rem; margin: 0 0 14px; }
.pack-label { font: 600 .74rem var(--sans) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark) !important; margin: 0 0 6px !important; }
.pack-inc { list-style: none; margin: 0 0 18px; padding: 0; font-size: .95rem; }
.pack-inc li { position: relative; padding: 4px 0 4px 26px; }
.pack-inc li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #e9f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5.2' fill='none' stroke='%231a8f49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pack-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pack-price { font: 500 2rem/1 var(--serif); color: var(--maroon); }
.pack-price small { display: block; font: 500 .8rem var(--sans); color: var(--muted); margin-top: 4px; }
.pack-foot .btn { padding: 12px 18px; }
@media (max-width: 980px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr; } .pack:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pack, .pack-chart, .pack-cover::after { transition: none; } }

/* ---- Booking page: choices look like products, and the slip like a cart ---- */
.opt { grid-template-columns: 64px 1fr auto; padding-left: 46px; }
.opt-cover { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #6b1826, #3c0b15); box-shadow: 0 6px 14px rgba(60, 11, 21, .18); }
.opt-cover-milan { background: linear-gradient(135deg, #1f5550, #0f2f2c); }
.opt-cover-dosha { background: linear-gradient(135deg, #34306a, #1a1838); }
.opt-cover-first { background: linear-gradient(135deg, #c2570c, #7a1a12); }
.opt-chart { position: absolute; inset: 4px; width: calc(100% - 8px); color: var(--gold-soft); opacity: .35; }
.opt-cover i { position: relative; font: 600 .95rem/1.05 var(--serif); font-style: normal; text-align: center; }
.opt-cover i span { font-size: 1.25rem; }
.opt-inc { display: none; margin-top: 10px; flex-wrap: wrap; gap: 6px; }
.opt-inc span { font-size: .82rem; background: #f3ead9; color: var(--ink); border-radius: 999px; padding: 3px 10px 3px 24px; position: relative; }
.opt-inc span::before { content: "✓"; position: absolute; left: 9px; color: var(--wa); font-weight: 700; }
.opt:has(input:checked) .opt-inc { display: flex; }
.opt:has(input:checked) .opt-cover { transform: scale(1.06); }
.opt-cover { transition: transform .2s; }
.slip-label { margin: 16px 0 6px; font: 600 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark); }
.slip .slip-inc { margin: 0; padding: 0; border: 0; color: var(--ink); font-size: .92rem; }
.slip .slip-inc li::before { content: "✓"; background: none; transform: none; width: auto; height: auto; top: 3px; left: 0; color: var(--wa); font-weight: 700; }
@media (max-width: 640px) {
  .opt { grid-template-columns: 52px 1fr; }
  .opt-cover { width: 52px; height: 52px; }
  .opt-price { grid-column: 2; }
}
.pack-tag { background: rgba(0, 0, 0, .28); backdrop-filter: blur(2px); }
.pack-title { right: 30%; }
.hero-offer .pill { white-space: nowrap; }
@keyframes flip { from { transform: translateY(-30%) scale(1.08); opacity: .65; } }

/* ---- Session cards with a small, realistic book (cover art in assets/img/covers) ---- */
.packs { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.pack { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s; }
.pack:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60, 11, 21, .12); border-color: var(--gold-soft); }
.pack-art { display: grid; place-items: center; padding: 28px 20px 26px; background: radial-gradient(70% 80% at 50% 40%, #fff, #f3eadb); border-bottom: 1px solid var(--line); text-decoration: none; perspective: 900px; }
.pack-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pack-kicker { font: 600 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-dark); }
.pack-kicker span { font: 400 .9rem var(--deva); letter-spacing: 0; text-transform: none; }
.pack-body h3 { font-size: 1.35rem; margin: 4px 0 4px; }
.pack-line { font-size: .97rem; color: var(--muted); margin: 0 0 12px; }
.pack-inc { list-style: none; margin: 0 0 18px; padding: 0; font-size: .93rem; }
.pack-inc li { position: relative; padding: 3px 0 3px 26px; }
.pack-inc li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: #f6e7d3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5.2' fill='none' stroke='%235a1420' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pack-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pack-price { font: 600 1.9rem/1 var(--serif); color: var(--maroon); }
.pack-btn { padding: 11px 18px; border-radius: 999px; font-size: .95rem; background: var(--maroon); }
.pack-btn:hover { background: var(--maroon-deep); }

/* the book: real cover art, spine shading, page block, soft shadow */
.bk { position: relative; width: 150px; aspect-ratio: 2 / 3; transform: rotateY(-18deg); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.pack:hover .bk { transform: rotateY(-6deg); }
.bk-face { position: absolute; inset: 0; overflow: hidden; border-radius: 2px 5px 5px 2px; background: #2a1810 center / cover no-repeat; color: #fff; text-align: center;
  box-shadow: 14px 18px 26px rgba(40, 20, 10, .32), 3px 4px 6px rgba(40, 20, 10, .3); }
.bk-face::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .45) 0, rgba(255, 255, 255, .18) 3%, rgba(0, 0, 0, .15) 6%, transparent 10%),
              linear-gradient(180deg, rgba(0, 0, 0, .62) 0, transparent 36%, transparent 70%, rgba(0, 0, 0, .7) 100%); }
.bk-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 40%); }
.bk::after { content: ""; position: absolute; top: 3px; bottom: 3px; right: -7px; width: 8px; transform: rotateY(55deg); transform-origin: left; border-radius: 0 2px 2px 0;
  background: repeating-linear-gradient(90deg, #faf3e6 0 1px, #e2d4b8 1px 2px); }
.bk-title { position: absolute; z-index: 1; left: 10px; right: 8px; top: 13px; font: 600 .98rem/1.15 var(--serif); letter-spacing: .02em; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.bk-title i { display: block; font: 400 .78rem var(--deva); font-style: normal; color: #f3dca8; margin-top: 3px; }
.bk-by { position: absolute; z-index: 1; left: 10px; right: 8px; bottom: 10px; font: 600 .5rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #f3dca8; }
.bk-by::before { content: ""; display: block; width: 34px; height: 1px; margin: 0 auto 5px; background: rgba(243, 220, 168, .7); }

@media (max-width: 980px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .packs { grid-template-columns: 1fr; }
  .pack { flex-direction: row; }
  .pack-art { border-bottom: 0; border-right: 1px solid var(--line); padding: 18px 14px; }
  .bk { width: 96px; }
  .bk-title { font-size: .72rem; } .bk-title i { font-size: .62rem; } .bk-by { display: none; }
  .pack-body { padding: 14px 14px 16px; }
  .pack-inc { display: none; }
  .pack-foot { flex-wrap: wrap; }
  .pack-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bk, .pack { transition: none; } }
.opt:has(input:checked) .opt-inc { display: none; }
.opt-body em { white-space: nowrap; }
.bk-title i { font-size: .68rem; line-height: 1.3; }

/* ---- Cart, product boxes, grouped checkout (catalogue, Nov 2026) ---- */
.cart-link { order: 4; position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--maroon); margin-left: 14px; }
.cart-link:hover { border-color: var(--maroon); }
.cart-link svg { width: 22px; height: 22px; fill: currentColor; }
.cart-link b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--saffron); color: #fff; font: 700 .72rem/19px var(--sans); text-align: center; }
.cart-link b[hidden] { display: none; }
.lang-switch { margin-left: 10px; }
@media (max-width: 980px) { .cart-link { order: 2; margin-left: auto; width: 38px; height: 38px; } .lang-switch { margin-left: 8px; order: 3; } .nav-toggle { order: 4; } }
@media (max-width: 430px) { .cart-link { width: 34px; height: 34px; } }

.cart-toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px);
  padding: 12px 14px 12px 18px; border-radius: 12px; background: var(--maroon-deep); color: #f6e9d2; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); transition: transform .3s ease; font-size: .95rem; }
.cart-toast.show { transform: translate(-50%, 0); }
.cart-toast a { white-space: nowrap; background: var(--saffron); color: #fff; text-decoration: none; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
@media (max-width: 640px) { .cart-toast { bottom: 84px; } }

.add-cart .added-label { display: none; }
.add-cart.in-cart .add-label { display: none; }
.add-cart.in-cart .added-label { display: inline; }
.add-cart.in-cart { border-color: var(--wa); color: var(--wa); }
.btn-ghost-light { border: 1.5px solid rgba(227, 201, 143, .55); color: #f6e9d2; background: transparent; }
.btn-ghost-light:hover { border-color: var(--gold-soft); background: rgba(255, 255, 255, .06); }
.btn-ghost-light.in-cart { border-color: #7fd49b; color: #a8e6bb; }
.btn-sm { padding: 7px 14px; font-size: .88rem; }

/* service page: the product box */
.buy { display: flex; flex-direction: column; gap: 0; }
.buy-kicker { font: 600 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.side .buy h3 { margin: 6px 0 6px; font-size: 1.35rem; }
.buy-for { font-size: .95rem; opacity: .9; margin: 0 0 12px; }
.buy-inc { list-style: none; margin: 0 0 16px; padding: 0; font-size: .92rem; }
.buy-inc li { position: relative; padding: 3px 0 3px 22px; }
.buy-inc li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-soft); font-weight: 700; }
.buy-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0; margin-bottom: 14px; border-top: 1px dashed rgba(227, 201, 143, .35); border-bottom: 1px dashed rgba(227, 201, 143, .35); }
.buy-price b { font: 600 2rem/1 var(--serif); color: #fff; }
.buy-price span { font-size: .85rem; opacity: .85; text-align: right; }
.side .buy .btn { width: 100%; margin-bottom: 10px; }
.side .buy .btn-ghost { border-color: rgba(227, 201, 143, .55); color: #f6e9d2; }
.side .buy .btn-ghost:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side .buy .add-cart.in-cart { border-color: #7fd49b; color: #a8e6bb; }

/* home service cards: price row */
.svc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.svc-card .svc-foot .more { margin-top: 0; text-align: right; }
.svc-price { font: 600 1.3rem/1 var(--serif); color: var(--maroon); }
.svc-price small { display: block; font: 500 .75rem var(--sans); color: var(--muted); margin-top: 3px; }
@media (max-width: 640px) { .svc-foot { padding-top: 6px; border-top: 0; } .svc-price { font-size: 1.05rem; } }

/* puja cards: price + cart */
.puja-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.puja-price { font: 600 1.15rem var(--serif); color: var(--gold-soft); }

/* checkout: groups */
.picks { display: grid; gap: 12px; margin-top: 14px; }
.grp { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.grp > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 44px 14px 18px; position: relative; }
.grp > summary::-webkit-details-marker { display: none; }
.grp > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon); transform: rotate(45deg); transition: transform .2s; }
.grp[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.grp > summary b { font: 600 1.08rem var(--serif); color: var(--ink); }
.grp > summary span { grid-column: 1; color: var(--muted); font-size: .88rem; }
.grp-n { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 600; font-size: .85rem; color: var(--wa); }
.grp .opts { margin: 0; padding: 0 12px 12px; }
.opt input[type=checkbox] { border-radius: 4px; }
.opt:has(input:disabled) { cursor: default; background: #faf6ee; }
.opt:has(input:disabled):hover { border-color: var(--line); }
.opt-request { display: block; margin-top: 6px; }
.opt-request[hidden] { display: none; }
.opt-ask { font-size: .88rem; font-weight: 600; color: var(--wa); }
.opt-cover-concern { background: linear-gradient(135deg, #8a3b12, #4a1608); }
.opt-cover-puja { background: linear-gradient(135deg, #b0741b, #5c3608); }
.opt-cover-puja i, .opt-cover-concern i { font-size: .8rem; }

/* slip: one line per item, removable */
.slip dd#sum-name { display: grid; gap: 6px; text-align: left; font-weight: 500; }
.slip dl { grid-template-columns: 1fr; }
.slip dt { margin-top: 4px; }
.slip dd { text-align: left; }
.slip-item { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dotted #e2d4b8; }
.slip-item b { font-weight: 600; white-space: nowrap; }
.slip-x { border: 0; background: none; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.slip-x:hover { color: var(--saffron-dark); }
.puja-side { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.puja-side .buy-kicker { color: var(--saffron-dark); }
.puja-side b { display: block; font: 600 1.1rem var(--serif); margin: 4px 0 4px; }
.puja-side p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.puja-side-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 1rem var(--serif); color: var(--maroon); }
.puja-side-ask { display: block; margin-top: 10px; font-size: .88rem; font-weight: 600; color: var(--wa); }
.side .buy-price b, .side .buy-price b span { font: 600 2.1rem/1 var(--serif); color: #fff; }

/* home service cards: direct add to cart + details */
.svc-title { text-decoration: none; color: inherit; display: block; }
.svc-title:hover h3, .svc-title:hover .deva { color: var(--saffron-dark); }
.svc-card .svc-foot { align-items: center; }
.btn-cart { background: var(--maroon); color: #fff; border: 1.5px solid var(--maroon); border-radius: 999px; padding: 8px 14px; font-size: .85rem; }
.btn-cart:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); }
.btn-cart.in-cart { background: #e7f4ea; color: var(--wa); border-color: var(--wa); }
.svc-card > .more { margin-top: 12px; }
@media (max-width: 640px) {
  .svc-card .svc-foot, .svc-card > .more { grid-column: 2; }
  .svc-card > .more { margin-top: 4px; }
}

/* ======== Detail pages (services and doshas), Nov 2026 ======== */
.dhero { position: relative; overflow: hidden; background: var(--maroon-deep); color: #f6e9d2; padding: 0; }
.dhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.dhero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(43, 8, 15, .96) 0%, rgba(43, 8, 15, .88) 45%, rgba(43, 8, 15, .45) 100%); }
.dhero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .8fr; gap: 48px; align-items: center; padding: 46px 0 56px; }
.dhero-crumbs { font-size: .86rem; color: #d9c6a3; margin-bottom: 22px; }
.dhero-crumbs a { color: #f3e2c4; }
.dhero-kicker { font: 400 1.25rem var(--deva); color: var(--gold-soft); }
html[lang=hi] .dhero-kicker { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dhero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 6px 0 14px; }
.dhero-lede { font-size: 1.1rem; color: #ecdcc0; max-width: 58ch; margin: 0 0 20px; }
.dhero-facts { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dhero-facts li { font-size: .88rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(227, 201, 143, .35); color: #f6e9d2; }
.dhero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.dhero-cta .btn { padding: 13px 22px; }
.dhero-chart { margin: 0; padding: 22px; border-radius: 14px; background: rgba(255, 250, 240, .94); color: var(--maroon); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.dhero-chart svg { width: 100%; }
.dhero-chart figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.dsec { padding: 72px 0; }
.dsec-alt { background: var(--paper); border-block: 1px solid var(--line); }
.ncards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ncards li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s; }
.ncards li:hover { border-color: var(--gold); transform: translateY(-2px); }
.nc-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--gold-soft); font: 600 .9rem var(--serif); }
.ncards p { margin: 0; font-size: .98rem; }
.dtable { margin-top: 30px; overflow-x: auto; }
.dsplit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.dsplit-img { margin: 0; }
.dsplit-img img { border-radius: 14px; box-shadow: 0 20px 44px rgba(60, 11, 21, .18); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.steps-list { list-style: none; margin: 18px 0 18px; padding: 0; display: grid; gap: 10px; }
.steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.steps-list .nc-n { background: var(--saffron); color: #fff; }
.steps-list p { margin: 6px 0 0; }

.ppanel-wrap { padding: 0 0 10px; margin-top: -1px; background: linear-gradient(var(--paper) 50%, var(--ivory) 50%); }
.ppanel { display: grid; grid-template-columns: 1.4fr 1fr; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 54px rgba(60, 11, 21, .18); border: 1px solid var(--gold-soft); }
.ppanel-main { padding: 34px 38px; background: var(--maroon); color: #f6e9d2; }
.ppanel-kicker { font: 600 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.ppanel-main h2 { color: #fff; margin: 6px 0 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ppanel-main p { margin: 0 0 16px; opacity: .92; }
.ppanel-inc { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; font-size: .95rem; }
.ppanel-inc li { break-inside: avoid; position: relative; padding: 4px 0 4px 24px; }
.ppanel-inc li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-soft); font-weight: 700; }
.ppanel-buy { padding: 30px 32px; background: #fffaf0; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.ppanel-price { font: 600 3rem/1 var(--serif); color: var(--maroon); }
.ppanel-len { color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.ppanel-buy .btn { width: 100%; padding: 14px; }
.ppanel-trust { list-style: none; margin: 6px 0 0; padding: 0; font-size: .85rem; color: var(--muted); }
.ppanel-trust li { padding: 2px 0 2px 18px; position: relative; }
.ppanel-trust li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.hi-sum { margin-top: 30px; padding: 20px 22px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.hi-sum h2 { font-size: 1.3rem; }

.related { padding: 70px 0 90px; background: var(--paper); border-top: 1px solid var(--line); }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(60, 11, 21, .1); }
.rel-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.rel-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.rel-title { font: 600 1.02rem/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.rel-title:hover { color: var(--saffron-dark); }
.rel-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 1.05rem var(--serif); color: var(--maroon); }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 250, 240, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--gold-soft); box-shadow: 0 -10px 30px rgba(60, 11, 21, .12); transform: translateY(110%); transition: transform .3s ease; }
.buybar.show { transform: none; }
.buybar[hidden] { display: block; }
.buybar-in { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.buybar-name { flex: 1; min-width: 0; }
.buybar-name b { display: block; font: 600 1.05rem var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-name small { color: var(--muted); }
.buybar-price { font: 600 1.6rem var(--serif); color: var(--maroon); }
.buybar .btn { padding: 11px 20px; }
.has-buybar .mobile-bar { display: none !important; }
.has-buybar .wa-float { bottom: 96px; }

@media (max-width: 980px) {
  .dhero-in { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 40px; }
  .dhero-chart { max-width: 360px; }
  .dsplit { grid-template-columns: 1fr; gap: 28px; }
  .ppanel { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dhero::before { background: linear-gradient(180deg, rgba(43, 8, 15, .9), rgba(43, 8, 15, .96)); }
  .dhero-cta .btn { flex: 1 1 100%; }
  .dhero-chart { display: none; }
  .dsec { padding: 52px 0; }
  .ppanel-main { padding: 26px 22px; } .ppanel-buy { padding: 24px 22px; }
  .ppanel-inc { columns: 1; }
  .rel-grid { grid-template-columns: 1fr; }
  .rel-card { flex-direction: row; } .rel-img { width: 110px; flex: none; } .rel-img img { height: 100%; aspect-ratio: auto; }
  .buybar-name small, .buybar-add { display: none; }
  .buybar-price { font-size: 1.25rem; }
  .has-buybar .wa-float { display: none; }
}

/* dosha detail pages */
.dtool { margin-top: 26px; max-width: 640px; }
.dcols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dcol { padding: 26px 26px 22px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); }
.dcol h3 { font-size: 1.3rem; margin-bottom: 12px; }
.dcol-warn { border-top: 4px solid var(--saffron); }
.dcol-ok { border-top: 4px solid var(--wa); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: #fbe3cf; }
.dcol-warn .ticks li::after { content: "!"; position: absolute; left: 7px; top: 9px; font-weight: 700; color: var(--saffron-dark); font-size: .8rem; }
.dcol-ok .ticks li::before { background: #e4f3e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5.2' fill='none' stroke='%231a8f49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.dcol-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.upay { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.upay li { padding: 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.upay-ic { display: block; width: 40px; height: 40px; color: var(--saffron); margin-bottom: 8px; }
.upay-art { width: 40px; height: 40px; }
.upay p { margin: 0; font-size: .98rem; }
.dpuja { margin-top: 26px; display: grid; grid-template-columns: 280px 1fr; border-radius: 14px; overflow: hidden; background: var(--maroon-deep); color: #f6e9d2; }
.dpuja img { width: 100%; height: 100%; object-fit: cover; }
.dpuja > div { padding: 26px 28px; }
.dpuja h3 { color: #fff; font-size: 1.45rem; margin: 6px 0 6px; }
.dpuja p { margin: 0 0 14px; opacity: .9; }
.dpuja-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dpuja-price { font: 600 1.4rem var(--serif); color: var(--gold-soft); }
.dpuja .btn-cart { background: var(--saffron); border-color: var(--saffron); }
.dpuja-ask { color: #a8e6bb; font-weight: 600; font-size: .92rem; }
.dpuja-note { font-size: .85rem !important; margin: 12px 0 0 !important; opacity: .75 !important; }
.dothers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.dother { position: relative; display: block; padding: 18px 16px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.dother:hover { border-color: var(--gold); transform: translateY(-2px); }
.dother .glyph { width: 34px; height: 34px; color: var(--gold); margin-bottom: 8px; }
.dother b { display: block; font: 600 1rem var(--serif); }
.dother span { font-size: .85rem; color: var(--saffron-dark); }
@media (max-width: 980px) { .dcols { grid-template-columns: 1fr; } .dothers { grid-template-columns: repeat(3, 1fr); } .dpuja { grid-template-columns: 1fr; } .dpuja img { max-height: 220px; } }
@media (max-width: 640px) { .dothers { grid-template-columns: 1fr 1fr; } }
.add-cart[hidden] { display: none !important; }

/* ---- Booking: three categories and product cards ---- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 18px; }
.cat { position: relative; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 14px 14px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.cat:hover { border-color: var(--gold); }
.cat[aria-selected=true] { border-color: var(--maroon); background: #fff8ea; box-shadow: 0 8px 20px rgba(90, 20, 32, .12); }
.cat[aria-selected=true]::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; background: #fff8ea; border-right: 1.5px solid var(--maroon); border-bottom: 1.5px solid var(--maroon); transform: rotate(45deg); }
.cat-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--maroon); color: var(--gold-soft); }
.cat-ic svg { width: 24px; height: 24px; }
.cat-t b { display: block; font: 600 1.08rem var(--serif); }
.cat-t > span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.cat-t small { display: block; font-size: .78rem; font-weight: 600; color: var(--saffron-dark); margin-top: 6px; }
.cat-n { position: absolute; top: -9px; right: 10px; font-style: normal; font-size: .72rem; font-weight: 700; background: var(--wa); color: #fff; border-radius: 999px; padding: 2px 9px; }
.cat-n[hidden] { display: none; }
.cat-panel { padding-top: 6px; }
.cat-intro { color: var(--muted); font-size: .95rem; background: #fbf5ea; border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 0 0 16px; }
.pgroup { font: 600 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark); margin: 18px 0 10px; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.opt.pcard { display: flex; flex-direction: column; padding: 0; gap: 0; overflow: hidden; border-radius: 12px; background: #fff; align-items: stretch; grid-template-columns: none; }
.pcard .pc-check { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; margin: 0; }
.pcard .pc-check:focus-visible ~ .pc-foot .pc-btn { outline: 2px solid var(--gold); outline-offset: 2px; }
.pc-img { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--line); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pc-img img { transform: scale(1.04); }
.pc-flag { position: absolute; left: 10px; top: 10px; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--saffron); color: #fff; padding: 3px 9px; border-radius: 4px; }
.pc-len { position: absolute; right: 10px; bottom: 10px; font-size: .76rem; font-weight: 600; background: rgba(43, 8, 15, .8); color: #f6e9d2; padding: 3px 9px; border-radius: 999px; }
.pc-body { display: block; padding: 12px 14px 0; flex: 1; line-height: 1.35; }
.pc-body .deva { display: block; font-size: .88rem; color: var(--saffron-dark); }
.pc-body b { display: block; font: 600 1.06rem/1.25 var(--serif); margin: 2px 0 4px; }
.pc-body small { display: block; color: var(--muted); font-size: .86rem; }
.pc-inc { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.pc-inc span { font-size: .74rem; background: #f6eedf; border-radius: 999px; padding: 2px 8px; color: var(--ink); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; margin-top: 10px; border-top: 1px dashed var(--line); }
.pcard .opt-price { text-align: left; display: flex; align-items: baseline; gap: 6px; }
.pcard .opt-price strong { font-size: 1.35rem; display: inline; }
.pcard .opt-price s { display: inline; }
.pc-btn { font-style: normal; }
.pc-btn i { font-style: normal; display: inline-block; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .86rem; }
.pc-add { background: var(--maroon); color: #fff; }
.pc-added { display: none !important; background: #e7f4ea; color: var(--wa); }
.pcard:has(.pc-check:checked) { border-color: var(--wa); box-shadow: 0 0 0 1px var(--wa) inset, 0 10px 22px rgba(26, 143, 73, .12); background: #fbfffb; }
.pcard:has(.pc-check:checked) .pc-add { display: none; }
.pcard:has(.pc-check:checked) .pc-added { display: inline-block !important; }
.pcard:has(.pc-check:disabled) .pc-btn { display: none; }
.pcard:has(.pc-check:disabled) { cursor: default; background: #fff; }
.pcard .opt-ask { font-weight: 600; font-size: .86rem; color: var(--wa); white-space: nowrap; }
.pcard .opt-ask[hidden] { display: none; }
.opt.pcard:has(input:checked) { box-shadow: 0 0 0 1px var(--wa) inset; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr; }
  .cat[aria-selected=true]::after { display: none; }
  .pgrid { grid-template-columns: 1fr; }
  .pc-img { aspect-ratio: 16 / 7; }
}
.browse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.browse-card { display: block; padding: 18px 20px; border-radius: 12px; border: 1px dashed var(--gold); background: #fffaf0; text-decoration: none; color: var(--ink); transition: background .2s, border-color .2s; }
.browse-card:hover { background: #fff3dc; border-style: solid; }
.browse-card b { display: block; font: 600 1.15rem var(--serif); color: var(--maroon); }
.browse-card span { display: block; font-size: .9rem; color: var(--muted); margin: 4px 0 8px; }
.browse-card i { font-style: normal; font-weight: 600; color: var(--saffron-dark); font-size: .92rem; }
.puja-note .btn { margin-right: 14px; }
.slip-label[hidden] { display: none; }
@media (max-width: 760px) { .browse { grid-template-columns: 1fr; } }

/* ---- Booking options as a tidy menu: one row each, fixed thumbnail ---- */
.pgrid { grid-template-columns: 1fr; gap: 10px; }
.opt.pcard { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; flex-direction: row; border-radius: 12px; }
.pc-img { width: 88px; height: 88px; aspect-ratio: 1; border-radius: 10px; flex: none; box-shadow: 0 4px 12px rgba(60, 11, 21, .14); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard:hover .pc-img img { transform: scale(1.06); }
.pc-img-kundli img { object-fit: cover; }
.pc-body { padding: 0; min-width: 0; }
.pc-body b { font-size: 1.08rem; margin: 0; }
.pc-body .deva { font-size: .86rem; margin: 1px 0 4px; }
.pc-body small { font-size: .88rem; line-height: 1.4; }
.pc-inc { display: block; margin-top: 6px; font-size: .8rem; color: var(--ink); opacity: .8; }
.pc-inc::before { content: "✓ "; color: var(--wa); font-weight: 700; }
.pc-flag { position: static; display: inline-block; margin-bottom: 4px; font-size: .66rem; padding: 2px 8px; }
.pc-foot { flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; padding: 0 0 0 16px; margin: 0; border-top: 0; border-left: 1px dashed var(--line); min-width: 128px; align-self: stretch; }
.pc-len { position: static; background: none; color: var(--muted); padding: 0; font-size: .8rem; font-weight: 600; border-radius: 0; }
.pcard .opt-price { flex-direction: column; align-items: flex-end; gap: 0; }
.pcard .opt-price s { font-size: .82rem; }
.pcard .opt-price strong { font-size: 1.4rem; line-height: 1.1; }
.pcard .opt-price strong span { white-space: nowrap; }
.pcard .opt-ask { font-size: .82rem; }
.pc-btn i { padding: 6px 14px; font-size: .84rem; }
.pcard:has(.pc-check:disabled) .opt-price strong { font-size: .95rem; color: var(--muted); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .opt.pcard { grid-template-columns: 64px 1fr; gap: 12px; padding: 12px; }
  .pc-img { width: 64px; height: 64px; }
  .pc-inc { display: none; }
  .pc-foot { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-top: 1px dashed var(--line); padding: 10px 0 0; min-width: 0; }
  .pcard .opt-price { flex-direction: row; align-items: baseline; gap: 6px; }
}

/* ---- Booking steps 2 and 3: cleaner fields, smart date/time picker ---- */
.bd { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bd .field { margin: 0; }
.bd .field.full { grid-column: 1 / -1; }
.bd label, .bd .lbl { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.bd label i { font-style: normal; font-weight: 400; color: var(--muted); }
.in { position: relative; display: block; }
.in svg { position: absolute; left: 13px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--gold); pointer-events: none; }
.bd .in input, .bd textarea { width: 100%; padding: 13px 14px 13px 42px; border: 1.5px solid #ddcdb0; border-radius: 10px; background: #fffdf8; font: 400 1rem var(--sans); color: var(--ink); min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.bd textarea { padding-left: 14px; min-height: 84px; }
.bd .in input:focus, .bd textarea:focus { outline: 0; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(194, 87, 12, .14); background: #fff; }
.bd input:disabled { opacity: .5; }
.in-phone .cc { position: absolute; left: 1px; top: 1px; bottom: 1px; display: grid; place-items: center; width: 52px; border-right: 1px solid #ddcdb0; border-radius: 9px 0 0 9px; background: #f6eedf; font-weight: 600; color: var(--maroon); }
.bd .in-phone input { padding-left: 64px; letter-spacing: .04em; }
.fhint { display: block; margin-top: 5px; font-size: .8rem; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px 8px; border: 1.5px solid #ddcdb0; border-radius: 10px; background: #fffdf8; font-weight: 600; transition: all .15s; }
.seg input:checked + span { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.switch-row { display: flex !important; align-items: center; gap: 10px; margin: 10px 0 0 !important; font-weight: 500 !important; font-size: .88rem !important; color: var(--muted) !important; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: #e3d6bd; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch-row input:checked + .sw { background: var(--maroon); }
.switch-row input:checked + .sw::after { transform: translateX(16px); }
.switch-row input:focus-visible + .sw { outline: 2px solid var(--saffron); outline-offset: 2px; }
.bd-partner { margin-top: 16px; background: #fffaf2; border-color: var(--gold-soft); }
.bd-partner h3 { grid-column: 1 / -1; margin: 0 0 2px; font-size: 1.1rem; color: var(--maroon); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bd-partner h3 small { flex-basis: 100%; font: 400 .85rem var(--sans); color: var(--muted); }
.bd-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--maroon); color: var(--gold-soft); font-size: .9rem; }
.bd-contact { margin-top: 18px; }

.dp { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 14px 10px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; }
.dp-head b { font: 600 1.05rem var(--serif); color: var(--maroon); }
.dp-nav { display: flex; gap: 6px; }
.dp-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--maroon); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.dp-nav button:hover { border-color: var(--maroon); }
.dp-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
.dp-strip::-webkit-scrollbar { display: none; }
.day { position: relative; flex: 0 0 66px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px 10px; border: 1.5px solid #e2d4b8; border-radius: 12px; background: #fffdf8; font: inherit; color: var(--ink); cursor: pointer; transition: all .15s; }
.day small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.day b { font: 600 1.35rem/1.1 var(--serif); }
.day:hover:not(:disabled) { border-color: var(--gold); }
.day[aria-selected=true] { background: var(--maroon); border-color: var(--maroon); color: #fff; box-shadow: 0 6px 14px rgba(90, 20, 32, .25); }
.day[aria-selected=true] small { color: var(--gold-soft); }
.day:disabled { cursor: not-allowed; opacity: .45; background: #f4efe6; }
.day:disabled b { text-decoration: line-through; }
.day i { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); font-style: normal; font-size: .6rem; font-weight: 700; background: #e9dfcd; color: var(--muted); padding: 0 6px; border-radius: 999px; }
.tp { margin-top: 14px; display: grid; gap: 12px; }
.tp-group { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
.tp-h { font-weight: 600; font-size: .86rem; color: var(--saffron-dark); padding-top: 10px; }
.tp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tslot { cursor: pointer; }
.tslot input { position: absolute; opacity: 0; pointer-events: none; }
.tslot span { display: block; min-width: 96px; text-align: center; padding: 10px 12px; border: 1.5px solid #e2d4b8; border-radius: 10px; background: #fffdf8; font-weight: 600; font-size: .95rem; transition: all .15s; }
.tslot span small { display: block; font-size: .66rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tslot:hover span { border-color: var(--gold); }
.tslot input:checked + span { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.tslot input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.tslot.full { cursor: not-allowed; }
.tslot.full span { opacity: .5; text-decoration: line-through; background: #f4efe6; }
.tp-empty { margin: 0; padding: 14px; border-radius: 10px; background: #fbf5ea; color: var(--muted); font-size: .92rem; }
.dp-summary { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fbf5ea; color: var(--muted); font-weight: 600; font-size: .95rem; }
.dp-summary.ok { background: #e9f5ec; color: #12693a; }
.dp-summary.ok::before { content: "✓ "; }

.mpay { display: none; }

@media (max-width: 760px) {
  /* compact top of the booking page */
  .book-hero { padding: 26px 0 70px; }
  .book-hero h1 { font-size: 1.7rem; margin-bottom: 6px; }
  .book-hero p { font-size: .98rem; }
  .book-flow { display: none; }
  .book form { padding: 6px 16px 26px; border-radius: 14px; }
  .step { padding: 22px 0; }
  .step h2 { font-size: 1.35rem; }
  .step .num { font-size: 1.1rem; }
  /* categories: a swipeable row of compact tabs */
  .cats { display: flex; overflow-x: auto; gap: 8px; margin: 12px -16px 14px; padding: 4px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 14px 10px 10px; align-items: center; }
  .cat-ic { width: 32px; height: 32px; border-radius: 8px; }
  .cat-ic svg { width: 20px; height: 20px; }
  .cat-t > span { display: none; }
  .cat-t small { margin-top: 1px; }
  .cat-n { top: -6px; right: 6px; }
  .cat-intro { font-size: .88rem; }
  /* fields */
  .bd { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .bd .in input, .bd textarea { font-size: 16px; }
  .dp { padding: 12px 10px 8px; margin: 0 -4px; }
  .day { flex-basis: 62px; }
  .tp-group { grid-template-columns: 1fr; gap: 6px; }
  .tp-h { padding-top: 0; }
  .tp-row { display: grid; grid-template-columns: repeat(3, 1fr); }
  .tslot span { min-width: 0; padding: 11px 4px; font-size: .9rem; }
  /* the slip follows the form; a sticky bar keeps the total and the button in reach */
  .pay-row { display: none; }
  .mpay { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 250, 240, .98); border-top: 1px solid var(--gold-soft); box-shadow: 0 -8px 24px rgba(60, 11, 21, .14); }
  .mpay-t small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
  .mpay-t b { font: 600 1.45rem/1.1 var(--serif); color: var(--maroon); }
  .mpay-t i { display: block; font-style: normal; font-size: .78rem; color: var(--muted); }
  .mpay .btn { padding: 13px 26px; font-size: 1rem; border-radius: 999px; }
  .book .wa-float, body:has(.mpay) .wa-float { display: none; }
  .book { padding-bottom: 110px; }
}
.book-grid > form, .book-grid > aside, .step > div, .dp, .tp { min-width: 0; }
.book-grid { grid-template-columns: minmax(0, 1fr) 350px; }
@media (max-width: 980px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.bd[hidden] { display: none !important; }
.tp-len { margin: 0 0 2px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.tslot span small { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .7rem; color: var(--muted); margin-top: 1px; }
.tslot input:checked + span small { color: var(--gold-soft); }

/* compact time picker: part of day, then one swipeable row of times */
.tp { gap: 10px; }
.tp-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 12px; background: #f3ead9; }
.tp-part { border: 0; border-radius: 9px; padding: 8px 4px; background: transparent; font: inherit; color: var(--ink); cursor: pointer; line-height: 1.2; transition: background .15s, box-shadow .15s; }
.tp-part b { display: block; font-size: .95rem; font-weight: 600; }
.tp-part small { display: block; font-size: .74rem; color: var(--wa); font-weight: 600; }
.tp-part[aria-selected=true] { background: #fff; box-shadow: 0 2px 8px rgba(60, 11, 21, .14); color: var(--maroon); }
.tp-part:disabled { opacity: .45; cursor: not-allowed; }
.tp-part:disabled small { color: var(--muted); }
.tp-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 4px; -webkit-overflow-scrolling: touch; }
.tp-strip::-webkit-scrollbar { display: none; }
.tp-strip .tslot { flex: 0 0 auto; scroll-snap-align: start; }
.tp-strip .tslot span { min-width: 92px; padding: 9px 12px 7px; }
.tp-len { margin: 0; font-size: .78rem; color: var(--muted); font-weight: 500; }
.tp-group, .tp-h { display: none; }
@media (max-width: 760px) {
  .tp-strip .tslot span { min-width: 84px; font-size: .92rem; }
  .dp-summary { margin-top: 10px; padding: 10px 12px; font-size: .9rem; }
}

/* ======== Phone fixes (found with a true 360/390px test) ======== */
html, body { max-width: 100%; overflow-x: clip; }
/* hidden radio/checkbox inputs must not take up width */
.seg label, .tslot, .switch-row, .chip, .pcard { position: relative; }
.seg input, .tslot input, .switch-row input, .chip input, .pcard .pc-check { position: absolute; width: 1px !important; height: 1px !important; min-height: 0 !important; left: 0; top: 0; padding: 0 !important; border: 0 !important; margin: 0; opacity: 0; }
/* grid columns may shrink below their content */
.hero .wrap, .about .wrap, .dhero-in, .dsplit, .article-head .wrap, .article .wrap { min-width: 0; }
.hero .wrap > *, .dhero-in > *, .dsplit > *, .ppanel > *, .pack > *, .svc-card > *, .book-grid > * { min-width: 0; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  section { padding: 48px 0; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
  .head { margin-bottom: 24px; gap: 12px; }
  .head h2 { max-width: none; }
  .lede, .hero .lede { font-size: 1.02rem; }
  /* hero */
  .hero { padding: 26px 0 40px; }
  .hero .wrap { gap: 28px; }
  .hero h1 { margin-bottom: 4px; }
  .hero .lede { margin: 14px 0 20px; }
  .hero-offer { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; padding: 12px 14px; }
  .hero-offer .what { white-space: normal; }
  .hero-offer .ends-in { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px dashed var(--gold); padding-top: 10px; }
  .medallion { width: min(320px, 86%); margin: 0 auto 26px; }
  /* strip */
  .strip { font-size: .8rem; padding: 6px 10px; line-height: 1.5; }
  .strip .strip-time { display: none; }
  /* sections */
  .numbers .wrap { gap: 18px; }
  .jyotish .wrap, .about .wrap { gap: 26px; }
  .steps { gap: 14px; }
  .faq details summary { font-size: 1rem; }
  .band { padding: 48px 0; }
  .band .cta-row .btn { flex: 1 1 100%; }
  .site-footer { padding: 44px 0 120px; }
}

/* ---- Phone booking: one step at a time ---- */
.wiz, .wiz-sel { display: none; }
@media (max-width: 760px) {
  .book-hero { padding: 18px 0 64px; }
  .book-hero .eyebrow { display: none; }
  .book-hero h1 { font-size: 1.45rem; }
  .book-hero p { font-size: .9rem; opacity: .9; }
  .book form.wizard .step { display: none; border-bottom: 0; padding: 14px 0 8px; }
  .book form.wizard .step.on { display: grid; }
  .book form.wizard .step .num { display: none; }
  .wiz { display: flex; align-items: center; gap: 8px; position: sticky; top: 64px; z-index: 20; margin: 0 -16px; padding: 12px 16px 10px; background: rgba(255, 253, 248, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
  .wiz-back { flex: none; border: 0; background: none; color: var(--maroon); font: 600 .9rem var(--sans); padding: 4px 4px 4px 0; cursor: pointer; }
  .wiz-back[hidden] { display: none; }
  .wiz-steps { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: w; }
  .wiz-steps li { counter-increment: w; position: relative; padding-top: 9px; font-size: .74rem; font-weight: 600; color: var(--muted); text-align: center; white-space: nowrap; cursor: default; }
  .wiz-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 999px; background: #eadfca; }
  .wiz-steps li.wz-done { color: var(--wa); cursor: pointer; }
  .wiz-steps li.wz-done::before { background: var(--wa); }
  .wiz-steps li.wz-now { color: var(--maroon); }
  .wiz-steps li.wz-now::before { background: var(--saffron); }
  .wiz-steps li::after { content: counter(w) ". "; }
  .wiz-steps li::after { position: absolute; left: -9999px; }
  .wiz-sel:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fbf5ea; border: 1px solid var(--line); }
  .wiz-sel small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .wiz-sel b { display: block; font-size: .9rem; line-height: 1.35; }
  .wiz-change { flex: none; border: 1px solid var(--line); background: #fff; color: var(--maroon); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--sans); cursor: pointer; }
  .book form.wizard ~ .slip, .book-grid:has(form.wizard) .slip { display: none; }
  .step h2 { margin-bottom: 4px; }
  .step-hint { font-size: .88rem; margin-bottom: 12px; }
}
@media (max-width: 760px) {
  .book-hero { padding: 16px 0 60px; }
  .book-hero p { display: none; }
  .book-hero h1 { font-size: 1.3rem; margin: 0; }
}
.strip a { white-space: nowrap; display: inline-block; }
@media (max-width: 760px) {
  .strip[data-offer] { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; }
  .strip[data-offer] a { padding: 3px 12px; }
}

/* ---- Direct UPI payment screen ---- */
#upipay { position: relative; margin-top: -56px; }
.upi-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--saffron); border-radius: 14px; padding: 26px 28px; box-shadow: 0 14px 40px rgba(60, 11, 21, .1); }
.upi-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.upi-head h2 { margin: 4px 0 2px; font-size: 1.7rem; }
.upi-head h2 b { color: var(--maroon); }
.upi-ref { margin: 0; color: var(--muted); font-size: .92rem; }
.upi-ref b { color: var(--ink); }
.upi-mobile { display: none; }
.is-phone .upi-mobile { display: block; }
.is-phone .upi-desktop { display: none; }
.upi-go { width: 100%; padding: 16px; font-size: 1.08rem; border-radius: 12px; }
.upi-or { text-align: center; color: var(--muted); font-size: .85rem; margin: 14px 0 8px; }
.upi-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.upi-apps a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); font-size: .74rem; font-weight: 600; text-align: center; }
.ua { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; font: 700 1.05rem var(--sans); }
.ua-gpay { background: linear-gradient(135deg, #4285f4, #34a853); }
.ua-phonepe { background: #5f259f; font-family: var(--deva); }
.ua-paytm { background: #00baf2; }
.ua-bhim { background: #f37021; }
.upi-desktop { display: grid; grid-template-columns: 236px 1fr; gap: 22px; align-items: center; }
.upi-qr { width: 236px; height: 236px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; }
.upi-qr img, .upi-qr canvas { width: 220px; height: 220px; }
.upi-desktop p { margin: 0; color: var(--muted); }
.upi-id { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 10px 12px; border-radius: 10px; background: #fbf5ea; font-size: .92rem; }
.upi-id span { color: var(--muted); }
.upi-id b { flex: 1; word-break: break-all; }
.upi-id button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font: 600 .82rem var(--sans); color: var(--maroon); cursor: pointer; }
.upi-done { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.upi-done label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.upi-done label i { font-style: normal; font-weight: 400; color: var(--muted); }
.upi-done input { width: 100%; padding: 13px 14px; border: 1.5px solid #ddcdb0; border-radius: 10px; font: 1rem var(--sans); letter-spacing: .06em; margin-bottom: 12px; background: #fff; }
.upi-done .btn { width: 100%; padding: 15px; font-size: 1.05rem; border-radius: 12px; }
.upi-msg { margin: 10px 0 0; color: #a3242f; font-weight: 600; font-size: .9rem; }
.upi-foot { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }
.upi-foot .linkish { display: inline; margin-left: 6px; }
@media (max-width: 760px) {
  #upipay { margin-top: -44px; width: calc(100% - 32px); }
  .upi-card { padding: 20px 16px; }
  .upi-head img { display: none; }
  .upi-head h2 { font-size: 1.45rem; }
  .upi-done input { font-size: 16px; }
}
.book-grid[hidden], #upipay[hidden], #done[hidden], .mpay[hidden] { display: none !important; }
.pcard[hidden] { display: none !important; }

/* UPI screen v2: QR on every device, one-tap confirm */
.upi-qrbox { display: grid; grid-template-columns: 236px 1fr; gap: 22px; align-items: center; }
.upi-qrtext > b { display: block; font: 600 1.15rem var(--serif); color: var(--maroon); margin-bottom: 4px; }
.upi-qrtext p { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.upi-qrtext .upi-id { margin-top: 12px; }
.upi-apps { margin-top: 12px; }
.upi-or { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; }
.upi-or::before, .upi-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.upi-q { margin: 0 0 10px; color: var(--muted); }
.upi-q b { color: var(--ink); font-size: 1.05rem; }
.upi-done { transition: background .3s, box-shadow .3s; border-radius: 12px; }
.upipay-back, #upipay.back .upi-done { background: #eaf7ee; box-shadow: 0 0 0 2px var(--wa); padding: 16px; animation: upiPulse 1.6s ease 2; }
@keyframes upiPulse { 50% { box-shadow: 0 0 0 6px rgba(26, 143, 73, .25); } }
#upi-paid span { font-weight: 700; }
@media (max-width: 760px) {
  .upi-qrbox { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .upi-qr { width: 200px; height: 200px; }
  .upi-qr img, .upi-qr canvas { width: 184px; height: 184px; }
  .upi-qrtext .upi-id { text-align: left; }
  #upipay.is-phone .upi-qrtext p { display: none; }
}
@media (prefers-reduced-motion: reduce) { #upipay.back .upi-done { animation: none; } }
