/* ==========================================================================
   Jainsite Bhavan — hotel styles (on top of site.css)
   ========================================================================== */
:root {
  --brand: #7b1e1e;
  --accent: #e07a10;
  --gold: #c99a2e;
  --bg: #fdf9f1;
  --tint: #f7efe0;
  --line: #ecdfc8;
  --ok: #17693a;
}
.ftr { background: #3a0d0d; }
.hero { background: radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--accent) 45%, var(--brand)), transparent 60%), linear-gradient(160deg, color-mix(in srgb, var(--brand) 88%, #fff) 0%, var(--brand) 45%, var(--brand-2) 100%); }
.small { font-size: 13.5px; }
.mt-s { margin-top: 12px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 760px; margin: 0 auto 28px; }
.muted-p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.muted-p .ic { vertical-align: -3px; }
.btnrow--center { justify-content: center; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: color-mix(in srgb, var(--brand) 40%, #fff); background: linear-gradient(135deg, var(--tint), #fff); }
.ph .ic { width: 56px; height: 56px; stroke-width: 1.2; }
.h-icon { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.4vw, 28px); margin-top: 32px; }
.h-icon .ic { color: var(--accent); }
.hdr__book { white-space: nowrap; }
@media (max-width: 560px) { .hdr__book { display: none; } }
.sel { user-select: all; }

/* ---------- quick booking bar ---------- */
.bookbar-sec { position: relative; z-index: 3; margin-top: -54px; }
.bookbar {
  display: grid; grid-template-columns: 1fr 1fr 1.4fr .6fr auto; gap: 14px; align-items: end;
  background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.bookbar label span { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.bookbar label .ic { color: var(--accent); width: 16px; height: 16px; }
.bookbar input, .bookbar select, .bk select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink);
}
.bookbar .btn { height: 50px; }
@media (max-width: 980px) { .bookbar { grid-template-columns: 1fr 1fr; } .bookbar .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .bookbar-sec { margin-top: -40px; } .bookbar { padding: 14px; gap: 10px; } }

/* ---------- room cards ---------- */
.rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 26px; }
.rcard { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.rcard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rcard:hover .rcard__img img { transform: scale(1.04); }
.price-tag { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 14px; padding: 8px 14px; box-shadow: var(--shadow); display: flex; align-items: baseline; gap: 4px; }
.price-tag b { font-size: 22px; color: var(--brand); font-family: var(--f-latin); }
.price-tag small { color: var(--ink-3); font-weight: 600; }
.rcard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rcard__body h3 { font-size: 24px; margin: 0; }
.rcard__beds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; margin: 0; }
.rcard__beds .ic { color: var(--accent); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 70%, #000); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; font-weight: 600; }
.chips .ic { width: 14px; height: 14px; stroke-width: 3; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs a { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rcard__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rcard__time { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; font-size: 14px; }

/* ---------- amenities ---------- */
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.amen li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.amen__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 9%, #fff); color: var(--brand); flex: none; }
.amen strong { display: block; line-height: 1.3; }
.amen small { color: var(--ink-3); }

/* ---------- meals ---------- */
.mcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.mcard { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); align-items: flex-start; }
.mcard__ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--accent), var(--gold)); }
.mcard__ic .ic { width: 28px; height: 28px; }
.mcard__img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; flex: none; }
.mcard h3 { font-size: 20px; margin: 0 0 4px; }
.mcard h3 small { font-size: 14px; color: var(--accent); font-weight: 700; }
.mcard__price { margin: 0 0 6px; color: var(--ink-2); }
.mcard__price b { font-size: 24px; color: var(--brand); font-family: var(--f-latin); }
.mcard p { margin: 0 0 4px; }

/* ---------- taxi ---------- */
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tcard__img { aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tcard__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tcard__body h3 { margin: 0; font-size: 22px; }
.tcard__meta { display: flex; gap: 14px; color: var(--ink-2); font-weight: 600; font-size: 14px; margin: 0; }
.tcard__meta span { display: inline-flex; gap: 6px; align-items: center; }
.tcard__meta .ic { color: var(--accent); }
.tcard__rates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0; }
.tcard__rates div { background: var(--tint); border-radius: 12px; padding: 10px 12px; }
.tcard__rates b { display: block; font-size: 22px; color: var(--brand); font-family: var(--f-latin); line-height: 1.2; }
.tcard__rates small { color: var(--ink-2); font-weight: 600; font-size: 12.5px; }
.tcard .btnrow { margin-top: auto; padding-top: 8px; }

/* ---------- yatra ---------- */
.sec--yatra { background: radial-gradient(900px 400px at 10% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%), var(--tint); }
.ycard { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin-bottom: 26px; }
.ycard__media { position: relative; min-height: 320px; background: var(--brand); }
.ycard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ycard__body { padding: clamp(22px, 4vw, 40px); }
.ycard__title { font-size: clamp(24px, 3vw, 34px); color: var(--brand); }
.route { list-style: none; padding: 0; margin: 14px 0; position: relative; }
.route li { display: flex; gap: 14px; align-items: center; position: relative; padding: 8px 0; }
.route li:not(:last-child)::after { content: '⬇️'; position: absolute; left: 8px; bottom: -12px; font-size: 13px; }
.route__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; flex: none; font-family: var(--f-latin); }
.route li:not(:last-child) { margin-bottom: 10px; }
.route strong { display: block; font-size: 17px; }
.route small { color: var(--ink-3); }
.route--inline { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.route--inline li { padding: 6px 12px; background: var(--tint); border-radius: 999px; font-weight: 600; font-size: 14px; gap: 6px; margin: 0 !important; }
.route--inline li::after { display: none; }
.route--inline li:not(:last-child)::before { content: '→'; position: absolute; right: -11px; color: var(--accent); font-weight: 800; }
.route--inline li { margin-right: 10px !important; }
.route--inline .ic { color: var(--accent); width: 15px; height: 15px; }
.yprices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 6px; }
.yprices div { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.yprices span { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); font-size: 14px; }
.yprices span .ic { color: var(--accent); }
.yprices b { font-size: 24px; color: var(--brand); font-family: var(--f-latin); }
.yprices--col { grid-template-columns: 1fr; }
.yprices--col div { flex-direction: row; justify-content: space-between; align-items: center; }
.ydetail { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.ydetail__side .btn { margin-top: 10px; }
.ydetail__side h2 { font-size: 22px; }
.sticky { position: sticky; top: calc(var(--hdr-h) + 16px); }
.ycallout { background: color-mix(in srgb, var(--gold) 12%, #fff); border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0; padding: 18px 22px; margin: 26px 0; font-size: 17px; }
.links { list-style: none; padding: 0; display: grid; gap: 10px; }
.links a { display: inline-flex; gap: 8px; align-items: center; color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- places ---------- */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pcard__img { position: relative; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__dist { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .94); color: var(--brand); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.pcard__dist .ic { width: 14px; height: 14px; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__body h3 { margin: 0; font-size: 20px; }
.linkrow { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 6px; }
.linkrow a { display: inline-flex; gap: 6px; align-items: center; color: var(--brand); font-weight: 700; font-size: 14px; }

/* ---------- booking form ---------- */
.bk { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.bk__main { display: grid; gap: 20px; min-width: 0; }
.bk__panel { margin: 0; min-width: 0; }
.bk__panel h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.bk__panel h3 .ic { color: var(--accent); }
.bk__panel .fgrid { margin-bottom: 0; }
.bk__panel .fgrid + .bk__rooms, .bk__rooms + .fgrid { margin-top: 18px; }
.bk__tabs { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 16px; overflow-x: auto; }
.bk__tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; padding: 12px 14px; border-radius: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.bk__tabs button.on { background: var(--brand); color: #fff; }
.bk__nights { margin: 10px 0 0; font-weight: 700; color: var(--accent); min-height: 1.4em; }
.bk__rooms { display: grid; gap: 10px; }
.ropt input { position: absolute; opacity: 0; pointer-events: none; }
.ropt__in { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; border: 2px solid var(--line); border-radius: 16px; padding: 10px; cursor: pointer; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ropt__in img, .ropt__ph { width: 74px; height: 58px; object-fit: cover; border-radius: 10px; }
.ropt__ph { display: grid; place-items: center; background: var(--tint); color: var(--brand); }
.ropt__txt strong { display: block; }
.ropt__txt small { color: var(--ink-3); display: block; }
.ropt__free { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ok); }
.ropt__free.is-full { color: #a4271d; }
.ropt__price { text-align: right; }
.ropt__price b { display: block; font-size: 20px; color: var(--brand); font-family: var(--f-latin); }
.ropt__price small { color: var(--ink-3); font-size: 12px; }
.ropt input:checked + .ropt__in { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ropt input:focus-visible + .ropt__in { outline: 3px solid var(--accent); }
.ropt.is-full .ropt__in { opacity: .6; }
.bk[data-kind="taxi"] .yatra-only, .bk[data-kind="yatra"] .taxi-only { display: none !important; }
.bk .yatra-only.full span, .bk label > span { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.bk .yatra-only { margin-bottom: 16px; }
.bk__meals { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.mealpick { display: grid; gap: 10px; }
.mealpick label { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mealpick label > span { margin: 0 !important; color: var(--ink) !important; font-size: 15px !important; }
.mealpick em { display: block; font-style: normal; color: var(--accent); font-weight: 700; font-size: 13px; }
.mealpick input { width: 90px; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px; font: inherit; font-size: 16px; text-align: center; }
.bk__side { position: sticky; top: calc(var(--hdr-h) + 16px); }
.bk__sum h2 { font-size: 22px; }
.bill { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.bill li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.bill li b { color: var(--ink); white-space: nowrap; }
.bill__total, .bill__adv { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid var(--line); padding: 12px 0 4px; font-weight: 700; }
.bill__total b { font-size: 28px; color: var(--brand); font-family: var(--f-latin); }
.bill__adv { border-top: 0; padding-top: 0; color: var(--accent); }
.bill__adv b { font-size: 20px; font-family: var(--f-latin); }
.bk__sum .btn { margin-top: 14px; }
.btn.is-busy { opacity: .7; pointer-events: none; }
@media (max-width: 960px) {
  .bk, .ydetail { grid-template-columns: 1fr; }
  .bk__side, .sticky { position: static; }
  .ycard { grid-template-columns: 1fr; }
  .ycard__media { min-height: 220px; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .ropt__in { grid-template-columns: 56px 1fr; }
  .ropt__in img, .ropt__ph { width: 56px; height: 48px; }
  .ropt__price { grid-column: 2; text-align: left; display: flex; gap: 6px; align-items: baseline; }
  .ropt__price b { display: inline; }
}

/* ---------- booking status ---------- */
.okbox { display: flex; gap: 18px; align-items: center; background: #e9f7ee; border: 1px solid #bfe5cc; border-radius: var(--r); padding: 22px; margin-bottom: 22px; }
.okbox h1 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 4px; color: var(--ok); }
.okbox p { margin: 0; color: var(--ink-2); }
.okbox__ic { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.okbox__ic .ic { width: 30px; height: 30px; stroke-width: 3; }
.ticket { margin-bottom: 22px; }
.ticket__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1.5px dashed var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.ticket__head small { display: block; color: var(--ink-3); font-weight: 600; }
.ticket__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(24px, 4vw, 34px); color: var(--brand); letter-spacing: .04em; }
.ticket__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 22px; margin: 0 0 18px; }
.ticket__grid dt { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.ticket__grid dd { margin: 0; font-weight: 700; }
.st { display: inline-block; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #fff4e0; color: #9a5b00; }
.st--confirmed, .st--checkedin { background: #e7f6ec; color: var(--ok); }
.st--completed { background: #eef1f6; color: #3d4a63; }
.st--cancelled { background: #fdecea; color: #a4271d; }
.pay { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; }
.pay__qr img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.pay h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.pay h2 .ic { color: var(--accent); }
.pay__amt { font-size: 18px; }
.pay__amt b { font-size: 28px; color: var(--brand); font-family: var(--f-latin); }
.pay__form { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-top: 16px; }
.pay__form label { flex: 1 1 220px; }
.pay__form label span { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.pay__form input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; font-size: 16px; }
.show-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .show-touch { display: inline-flex; margin-bottom: 8px; } }
@media (max-width: 640px) { .pay { grid-template-columns: 1fr; } .pay__qr { max-width: 260px; margin: 0 auto; } }
.findform .btn { margin-top: 4px; }
@media print {
  .topbar, .hdr, .ftr, .mbar, .wa-fab, .ticker, .pay__form, .btnrow, .phero, details { display: none !important; }
  .sec { padding: 0; }
  .card-pad { box-shadow: none; }
}
@media (max-width: 560px) {
  .bk__tabs { gap: 4px; padding: 4px; }
  .bk__tabs button { padding: 10px 6px; font-size: 13.5px; gap: 5px; min-width: 0; }
  .bk__tabs .ic { width: 16px; height: 16px; }
}
