/* Divine Dwarka directory pages (loaded after /blog/blog.css, which carries the site tokens) */
:root { --wa: #1C9E54; --wa-deep: #168447; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: "Noto Serif Devanagari", var(--display); }
html[lang="gu"] h1, html[lang="gu"] h2, html[lang="gu"] h3 { font-family: "Noto Serif Gujarati", var(--display); }
html[lang="hi"] body { font-family: "Noto Sans Devanagari", var(--body); }
html[lang="gu"] body { font-family: "Noto Sans Gujarati", var(--body); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -14px rgba(28,158,84,.8); }
.btn-wa:hover { background: var(--wa-deep); transform: translateY(-1px); }
.btn-call { background: var(--maroon); color: #fff; box-shadow: 0 10px 24px -14px rgba(110,32,37,.8); }
.btn-call:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cbtns .btn { width: 100%; padding: 14px 12px; font-size: 1rem; }
.cbtns .btn:only-child { grid-column: span 2; }
.helpdesk { font-size: .84rem; color: var(--ink-soft); text-align: center; text-decoration: none; }
.helpdesk:hover { color: var(--maroon); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold); color: var(--maroon); }
.btn.sm { padding: 9px 14px; font-size: .84rem; }

/* Hero */
.dir-hero { background: radial-gradient(ellipse 70% 120% at 85% 0%, color-mix(in srgb, var(--gold-soft) 70%, transparent), transparent 70%), var(--bg-alt); border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.dir-hero.slim { padding: 32px 0 30px; }
.dir-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: 10px; }
.dir-hero .lead { color: var(--ink-soft); margin-top: 10px; max-width: 46em; }
.dir-hero .lead a { color: var(--maroon); }
.dir-body { padding-block: 34px 70px; }
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0; font-family: var(--display); font-size: 1.4rem; }

/* Search */
.dd-search { position: relative; margin-top: 24px; max-width: 640px; }
.dd-search input { width: 100%; font: 500 1.02rem var(--body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 15px 22px 15px 50px; outline: none; transition: border-color .2s, box-shadow .2s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A97A2F' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: 20px center; }
.dd-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
.dd-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; max-height: 60vh; overflow: auto; }
.dd-results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-results a:hover, .dd-results a.on { background: var(--bg-alt); }
.dd-results b { font-weight: 600; }
.dd-results small { grid-column: 1; color: var(--ink-soft); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-results em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.dd-results p { padding: 12px; color: var(--ink-soft); font-size: .92rem; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cat-card { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); transition: transform .25s, border-color .25s; min-width: 0; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.cat-card h2 { font-size: 1.6rem; }
.cat-card p { color: var(--ink-soft); font-size: .92rem; }
.cat-card .count { margin-top: auto; padding-top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--peacock); }

/* Featured Partner banners (1640 x 624, Facebook-cover ratio) */
.banners { position: relative; margin-bottom: 30px; border-radius: 18px; overflow: hidden; aspect-ratio: 1640 / 624; background: var(--bg-alt); box-shadow: var(--shadow); }
.banner { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .8s ease; }
.banner.on { opacity: 1; z-index: 1; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.fp-tag { position: absolute; top: 14px; left: 14px; font: 700 .68rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #3A2410; background: linear-gradient(180deg, #F3DDA6, #D9B26A); padding: 7px 11px; border-radius: 999px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.5); }
.sample-tag { position: absolute; top: 14px; right: 14px; font: 700 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 7px 11px; border-radius: 999px; }
.dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); transition: width .3s; }
.dots i.on { width: 20px; border-radius: 4px; background: #fff; }

/* Listing cards */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.lcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; min-width: 0; transition: border-color .25s, transform .25s; }
.lcard:hover { border-color: var(--gold); transform: translateY(-2px); }
.lcard.is-featured { border-color: color-mix(in srgb, var(--gold) 70%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent), var(--shadow); }
.lcard-cover { text-decoration: none; display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); }
.lcard-cover img { width: 100%; height: 100%; object-fit: cover; }
.lcard-cover:has(.cover-ph) { aspect-ratio: 16 / 6; }
.cover-ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--gold-soft) 90%, transparent), transparent 60%), linear-gradient(135deg, var(--bg-alt), color-mix(in srgb, var(--maroon) 12%, var(--bg-alt))); }
.cover-ph span { font: 600 3.4rem/1 var(--display); color: color-mix(in srgb, var(--maroon) 55%, transparent); }
.lcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lcard h3 { font-size: 1.45rem; }
.lcard h3 a { text-decoration: none; }
.lcard h3 a:hover { color: var(--maroon); }
.loc { display: flex; gap: 6px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.loc svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--peacock); }
.svc { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lcard-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.fp-chip { align-self: flex-start; font: 700 .64rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #3A2410; background: linear-gradient(180deg, #F3DDA6, #D9B26A); padding: 6px 10px; border-radius: 999px; }

/* Become a partner */
.become { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 26px 28px; border-radius: 18px; border: 1px dashed color-mix(in srgb, var(--gold) 70%, var(--line)); background: color-mix(in srgb, var(--gold-soft) 35%, var(--surface)); }
.become h2 { font-size: 1.6rem; }
.become p { color: var(--ink-soft); font-size: .94rem; margin-top: 4px; max-width: 40em; }

/* Listing page */
.listing { padding-block: 26px 70px; }
.gallery { display: grid; gap: 10px; border-radius: 18px; overflow: hidden; margin-bottom: 30px; }
.gallery img, .gallery .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.gallery.n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.3 / 1; }
.gallery.n5 > :first-child { grid-row: span 2; }
.gallery.n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.3 / 1; }
.gallery.n4 > :first-child { grid-row: span 2; } .gallery.n4 > :last-child { grid-column: span 2; }
.gallery.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2 / 1; }
.gallery.n3 > :first-child { grid-row: span 2; }
.gallery.n2 { grid-template-columns: 2fr 1fr; aspect-ratio: 2.4 / 1; }
.gallery.n1 { aspect-ratio: 16 / 7; }
.gallery .ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 12px; background: repeating-linear-gradient(135deg, var(--bg-alt) 0 12px, color-mix(in srgb, var(--bg-alt) 70%, var(--line)) 12px 24px); border: 2px dashed color-mix(in srgb, var(--gold) 55%, var(--line)); border-radius: 12px; color: var(--ink-soft); }
.gallery .ph svg { width: 30px; height: 30px; color: var(--gold); }
.gallery .ph b { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.gallery .ph span { font-size: .95rem; font-weight: 600; color: var(--ink); }
.gallery .ph small { font-size: .74rem; }
.gallery.is-layout { border-radius: 0; overflow: visible; margin-bottom: 10px; }
.gallery.is-soon { border-radius: 18px; }
.gallery.is-soon .ph { border: 1px solid var(--line); border-radius: 0; gap: 8px; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--gold-soft) 60%, transparent), transparent 70%), var(--bg-alt); }
.gallery.is-soon .ph span { font-weight: 500; font-size: .88rem; color: var(--ink-soft); }
.gallery.is-soon .ph svg { opacity: .7; }
.soon-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 28px; color: #FFF4E2; background: linear-gradient(0deg, rgba(42,14,16,.88) 0%, rgba(42,14,16,.35) 55%, rgba(42,14,16,.15)), url(/img/temple.webp) 50% 30% / cover; min-height: 220px; }
.soon-hero .soon-cat { font: 700 .7rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #E9C98A; }
.soon-hero strong { font: 600 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--display); }
.soon-hero em { font-style: normal; font-size: .82rem; letter-spacing: .06em; align-self: flex-start; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,244,226,.16); border: 1px solid rgba(255,244,226,.35); }
.layout-note { font-size: .82rem; color: var(--ink-soft); background: var(--bg-alt); border-left: 3px solid var(--gold); padding: 8px 12px; border-radius: 6px; margin-bottom: 26px; }
.listing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.listing-main h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 10px; }
.listing-main .fp-chip { margin-bottom: 12px; display: inline-block; }
.listing-main .sh { font: 700 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 26px 0 8px; }
.listing-main p { color: var(--ink); }
.enquire-box { position: sticky; top: 90px; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.enquire-box h2 { font-size: 1.6rem; }
.enquire-box p { font-size: .9rem; color: var(--ink-soft); }
.enquire-box .btn { width: 100%; padding: 14px 20px; }
.enquire-box .btn-wa { font-size: 1.02rem; animation: ddPulse 2s ease-out infinite; }
.enquire-box .ref { font-size: .76rem; letter-spacing: .08em; text-align: center; }
@keyframes ddPulse { 0% { box-shadow: 0 0 0 0 rgba(28,158,84,.45); } 70% { box-shadow: 0 0 0 14px rgba(28,158,84,0); } 100% { box-shadow: 0 0 0 0 rgba(28,158,84,0); } }
@media (prefers-reduced-motion: reduce) { .enquire-box .btn-wa { animation: none; } .banner { transition: none; } }
.back { margin-top: 36px; }
.about { font-size: 1.06rem; line-height: 1.75; color: var(--ink); margin-bottom: 6px; }
.hl { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.hl li { font-size: .9rem; font-weight: 600; color: var(--maroon); background: var(--bg-alt); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.menu-img { display: block; max-width: 520px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.menu-img img { width: 100%; }
.story-link { display: inline-block; margin-top: 26px; font-weight: 600; color: var(--maroon); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.price { padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--gold-soft) 40%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); display: grid; gap: 2px; }
.price span { font: 700 .68rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.price strong { font: 600 1.9rem/1.1 var(--display); color: var(--maroon); }
.price small { font-size: .74rem; color: var(--ink-soft); }
.back a { color: var(--maroon); text-decoration: none; font-weight: 600; }
.sticky-enquire { display: none; }

@media (max-width: 860px) {
  .listing-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .enquire-box { position: static; }
  .gallery.n5, .gallery.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .gallery.n5 > :first-child, .gallery.n4 > :first-child, .gallery.n3 > :first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery.n5 > :not(:first-child), .gallery.n4 > :not(:first-child), .gallery.n3 > :not(:first-child) { aspect-ratio: 4 / 3; }
  .gallery.n4 > :last-child { grid-column: auto; }
  .gallery.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .sticky-enquire { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .sticky-enquire .btn { width: 100%; padding: 14px; font-size: 1rem; }
  .sticky-enquire.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .listing { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  .lgrid { grid-template-columns: minmax(0, 1fr); }
  .banners { border-radius: 12px; }
  .fp-tag { top: 8px; left: 8px; font-size: .58rem; padding: 5px 8px; }
  .sample-tag { top: 8px; right: 8px; font-size: .58rem; padding: 5px 8px; }
  .become { padding: 22px 20px; }
  .become .btn { width: 100%; }
}
/* Distance from Jagat Mandir + share */
.dist { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: .8rem; font-weight: 600; color: var(--maroon); }
.dist::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dist.big { font-size: .95rem; margin: 6px 0 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--maroon) 8%, transparent); }
.dist.big::before { display: none; }
.dist.big svg { width: 17px; height: 17px; }
.enquire-box .cbtns.two { margin-top: 10px; }
.enquire-box .cbtns.two .btn { padding: 12px 10px; font-size: .95rem; }
.enquire-box .btn-ghost svg { width: 18px; height: 18px; }
