/* ==========================================================================
   Tapkarigar v2.4 — "Rangat" v1 design, refined for readability.
   Same brand as v1 (Neel ink, Rani action, Genda highlight; Baloo 2 + Mukta).
   Improvements: larger and darker text (WCAG AA contrast), no text under 14px,
   44–48px controls, one card style, clear focus rings, calm motion.
   ========================================================================== */
:root {
  --ink: #17132f;            /* body text: darker than v1 for contrast */
  --ink-2: #3d3858;          /* secondary text: 9:1 on white */
  --muted: #5a5577;          /* small/quiet text: 6.5:1 on white (v1 was 4.7:1) */
  --grad-rani: linear-gradient(180deg, #e0287a 0%, #c8175f 100%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --ring: 0 0 0 4px rgba(216, 30, 108, .16);
  --glass: rgba(255, 255, 255, .96);
  --shadow-xl: 0 30px 80px -20px rgba(26, 15, 74, .35);
  --r-xs: 8px; --r: 12px; --r-md: 16px; --r-lg: 18px; --r-xl: 24px;
  --e1: 0 1px 2px rgba(34, 20, 92, .06);
  --e2: 0 2px 4px rgba(34, 20, 92, .04), 0 8px 20px -8px rgba(34, 20, 92, .12);
  --e3: 0 2px 4px rgba(34, 20, 92, .05), 0 18px 40px -16px rgba(34, 20, 92, .24);
  --e4: 0 28px 60px -20px rgba(15, 8, 45, .5);
  --night: #160b44;
  --header-h: 68px;
}

/* ---------- Type: easy to read ---------- */
html { scroll-behavior: smooth; }
body { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); font-weight: 450; -webkit-font-smoothing: antialiased; }
p, li { color: var(--ink-2); }
h1, h2, h3, h4, h5, h6 { color: var(--neel); font-weight: 700; letter-spacing: -0.01em; }
h1, .h1 { font-weight: 800; }
small, .small, .text-muted, .form-text { color: var(--muted) !important; font-size: max(.875rem, 14px); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--genda); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--genda); color: var(--neel); }

/* ---------- Controls: comfortable to tap ---------- */
.btn { font-weight: 700; border-radius: var(--r); min-height: 44px; padding: .6rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 38px; padding: .4rem .9rem; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: .8rem 1.6rem; font-size: 1.05rem; border-radius: var(--r-md); }
.btn-primary { box-shadow: 0 6px 16px -8px rgba(216, 30, 108, .7); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(216, 30, 108, .8); }
.btn-primary:active { transform: none; }
.btn-outline-primary { border-width: 1.5px; }
.form-control, .form-select { min-height: 48px; font-size: 1rem; color: var(--ink); border-width: 1.5px; border-radius: var(--r); }
.form-control::placeholder { color: #77729a; }
.form-label { font-weight: 700; color: var(--ink); font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(34, 20, 92, .35); }
.header-row { min-height: var(--header-h); }
.header-search .form-control, .city-select { min-height: 44px; height: 44px; font-size: .97rem; }
.city-select { font-weight: 700; color: var(--neel); }
.header-search .form-control::placeholder { color: #6f6a92; }

/* ---------- Hero (v1 look, higher contrast) ---------- */
.hero::before { opacity: .28; }
.hero h1 { max-width: 15ch; }
.hero .lede { color: #ebe7fb; font-size: clamp(1.08rem, 1.7vw, 1.2rem); line-height: 1.6; }
.hero-greeting { font-size: .95rem; }
.hero h1 { line-height: 1.06; }
.hero-search { min-height: 60px; }
.hero-search .form-control { font-size: 1.08rem; color: var(--ink); }
.hero-search .form-control::placeholder { color: #6f6a92; }
.quick-chips a { font-size: .95rem; color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); min-height: 38px; display: inline-flex; align-items: center; }
.trust-row { color: #f1eefc; font-size: 1rem; font-weight: 500; }
.hero-card { transform: rotate(1deg); }
.hero-card h2 { font-size: 1.25rem; }
.hero-card-row strong { font-size: 1.02rem; }
.hero-card-row .flex-grow-1 > span, .hero-card-row span span { color: var(--muted); font-size: .9rem; }
.hero-card .price { font-size: 1.08rem; font-weight: 800; color: var(--neel); }

/* ---------- Sections and cards (one consistent style) ---------- */
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { color: var(--muted); font-size: 1rem; }
.see-all { font-weight: 700; font-size: 1rem; }
.panel { border-radius: var(--r-lg); box-shadow: var(--e1); }
.category-tile { border-radius: var(--r-lg); box-shadow: var(--e1); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--e3); }
.category-tile .name { font-weight: 700; color: var(--neel); font-size: 1rem; }
.category-tile .count { color: var(--muted); font-size: .9rem; }
.service-card { border-radius: var(--r-lg); box-shadow: var(--e1); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--e3); }
.service-card h3 { font-size: 1.12rem; color: var(--neel); }
.service-card p { color: var(--ink-2); font-size: .97rem; }
.service-card .cat, .service-card .from, .service-card .rating-count, .service-card .duration { color: var(--muted); font-size: .875rem; }
.service-card .price { font-size: 1.2rem; font-weight: 800; color: var(--neel); }
.rating-pill { font-size: .875rem; }
.offer { border-radius: var(--r-lg); box-shadow: var(--e2); }
.offer p { color: #fff; opacity: .95; }
.step { border-radius: var(--r-lg); box-shadow: var(--e1); }
.step p { color: var(--ink-2); font-size: 1rem; }
.quote { border-radius: var(--r-lg); box-shadow: var(--e1); }
.quote blockquote { color: var(--ink); font-size: 1.02rem; }
.faq .accordion-button { font-weight: 700; font-size: 1.05rem; color: var(--neel); }
.faq .accordion-body { color: var(--ink-2); font-size: 1rem; }
.note-box { color: #4a3300; }

/* ---------- Footer (brighter text on Neel) ---------- */
.site-footer { color: #e2ddf6; }
.site-footer p, .site-footer li { color: #e2ddf6; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.1rem; }
.footer-bottom { color: #d6d0f0; font-size: .95rem; align-items: center; gap: .8rem 1.5rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { color: #fff; }
.footer-legal a:hover { color: var(--genda); }
.footer-secure { display: inline-flex; gap: .4rem; align-items: center; }
.footer-secure .bi { color: var(--genda); }

/* ---------- Mobile tab bar ---------- */
@media (max-width: 991.98px) {
  .bottom-nav a { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
  .bottom-nav a[aria-current="page"] { color: var(--rani); }
  .hero-card { transform: none; }
}
@media (max-width: 575.98px) {
  body { font-size: 1.03rem; }
  .category-tile .name { font-size: .86rem; }
  .quick-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
  .quick-chips::-webkit-scrollbar { display: none; }
  .quick-chips a { flex-shrink: 0; }
}

/* ---------- Service page ---------- */
.service-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.svc-cta { display: flex; align-items: center; gap: 1rem; margin-top: 1.3rem; flex-wrap: wrap; }
.svc-cta-price { color: var(--muted); font-size: 1rem; }
.svc-cta-price b { font-family: var(--font-display); font-size: 1.5rem; color: var(--neel); }
.option-row { align-items: center; gap: .75rem; }
.option-row .price { font-weight: 800; color: var(--neel); }
.opt-book { margin-left: .5rem; }
.price-card { position: sticky; top: calc(var(--header-h) + 16px); }
.breadcrumb { font-size: .95rem; }
.facts .fact { font-size: .97rem; color: var(--ink-2); }

/* ---------- Customer bookings list ---------- */
.booking-card { transition: transform .2s var(--ease), box-shadow .2s; }
.booking-card:hover { transform: translateY(-2px); box-shadow: var(--e2); }
.pay-flag { display: inline-flex; gap: .4rem; align-items: center; background: var(--genda-soft); color: #6b4800; font-weight: 700; font-size: .875rem; border-radius: 999px; padding: .25rem .75rem; margin-bottom: .6rem; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout, .bk { padding: 1.2rem 0 3rem; }
.co-crumbs a { display: inline-flex; gap: .45rem; align-items: center; color: var(--muted); font-weight: 700; text-decoration: none; font-size: .92rem; }
.co-crumbs a:hover { color: var(--rani); }
.co-head { display: flex; gap: 1rem; align-items: center; margin: .9rem 0 1.4rem; }
.co-head h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0; letter-spacing: -.015em; }
.co-head p { margin: .1rem 0 0; color: var(--muted); }
.co-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: var(--grad-rani); color: #fff; flex-shrink: 0; box-shadow: 0 12px 26px -12px rgba(216,30,108,.9); }
.co-alert { display: flex; gap: 1rem; background: var(--genda-soft); border-radius: 20px; padding: 1.2rem; }
.co-alert > .bi { font-size: 1.8rem; color: #a86a00; }
.co-alert p { margin: .2rem 0 0; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.5rem; align-items: start; }
.co-steps { display: grid; gap: .9rem; }
.co-step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.co-step.is-open { box-shadow: 0 22px 50px -26px rgba(34,20,92,.45); border-color: transparent; }
.co-step-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; }
.co-step-head h2 { font-size: 1.12rem; margin: 0; font-family: var(--font-body); font-weight: 800; flex-shrink: 0; }
.co-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--paper); color: var(--muted); border: 1.5px solid var(--line-2); flex-shrink: 0; transition: all .3s var(--spring); }
.co-step.is-open .co-num { background: var(--grad-rani); color: #fff; border-color: transparent; transform: scale(1.08); }
.co-step.is-done .co-num { background: var(--peacock); color: #fff; border-color: transparent; font-size: 0; }
.co-step.is-done .co-num::before { content: "\F26E"; font-family: "bootstrap-icons"; font-size: 1.05rem; }
.co-done { flex: 1; min-width: 0; color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: none; }
.co-step.is-done .co-done { display: block; }
.co-edit { display: none; background: none; border: 0; color: var(--rani); font-weight: 800; font-size: .9rem; margin-left: auto; }
.co-step.is-done .co-edit { display: inline-block; }
.co-step-body { display: none; padding: 0 1.2rem 1.3rem; }
.co-step.is-open .co-step-body { display: block; animation: step-in .4s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.co-sub { font-size: 1rem; font-weight: 800; margin: 1.3rem 0 .6rem; font-family: var(--font-body); }
.co-sub span { color: var(--muted); font-weight: 500; font-size: .85rem; }
.co-next { margin-top: 1.2rem; min-width: 160px; }

.opt-grid, .addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.opt-card, .addr-card { display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--line-2); border-radius: 16px; padding: .85rem 1rem; cursor: pointer; margin: 0; position: relative; transition: border-color .2s, background-color .2s, transform .2s var(--spring), box-shadow .2s; background: var(--surface); }
.opt-card input, .addr-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card:hover, .addr-card:hover { border-color: var(--rani); }
.opt-card:has(input:checked), .addr-card:has(input:checked) { border-color: var(--rani); background: linear-gradient(135deg, #fff, var(--rani-soft)); box-shadow: var(--ring); transform: translateY(-1px); }
.opt-card:has(input:focus-visible), .addr-card:has(input:focus-visible) { outline: 3px solid var(--genda); outline-offset: 2px; }
.opt-card.is-static { cursor: default; border-color: var(--rani); background: linear-gradient(135deg, #fff, var(--rani-soft)); }
.opt-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.opt-body small, .addr-card small { color: var(--muted); }
.opt-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--neel); }
.addr-card span { display: flex; flex-direction: column; gap: .15rem; }
.addr-card b { display: flex; gap: .4rem; align-items: center; }
.addr-new { border-style: dashed; color: var(--rani); }
.addr-form { margin-top: 1rem; animation: step-in .35s var(--ease); }
.chip-radio { display: flex; gap: .4rem; margin-bottom: .9rem; }
.chip-radio label { margin: 0; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span { display: inline-block; padding: .4rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .9rem; transition: all .2s; }
.chip-radio input:checked + span { background: var(--neel); border-color: var(--neel); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--genda); }

.addon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.addon { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.addon.is-on { border-color: var(--peacock); background: var(--peacock-soft); }
.addon small { display: block; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: .4rem; background: var(--paper); border-radius: 12px; padding: .2rem; }
.qty-btn { width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1.1rem; color: var(--neel); transition: transform .15s var(--spring); }
.qty-btn:active { transform: scale(.88); }
.qty output { min-width: 1.4rem; text-align: center; font-weight: 800; }
.qty output.bump { animation: pop .3s var(--spring); }

.date-rail { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .1rem .6rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.date-rail::-webkit-scrollbar { display: none; }
.date-chip { scroll-snap-align: start; flex: 0 0 auto; width: 70px; display: flex; flex-direction: column; align-items: center; gap: .05rem; padding: .55rem .3rem; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--surface); transition: all .25s var(--spring); }
.date-chip small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.date-chip b { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; color: var(--neel); }
.date-chip:hover { border-color: var(--rani); }
.date-chip[aria-selected="true"] { background: var(--grad-rani); border-color: transparent; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(216,30,108,.9); }
.date-chip[aria-selected="true"] small, .date-chip[aria-selected="true"] b { color: #fff; }
.slots { min-height: 120px; margin-top: .6rem; }
.slots.is-loading { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.slot-skel { height: 44px; border-radius: 12px; background: linear-gradient(90deg, var(--line) 0%, #f6f2fc 50%, var(--line) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.slot-group h3 { font-size: .9rem; font-weight: 800; color: var(--muted); margin: .9rem 0 .5rem; display: flex; gap: .4rem; align-items: center; font-family: var(--font-body); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.slot { padding: .65rem .4rem; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: .92rem; color: var(--ink); animation: slot-in .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); transition: all .2s var(--spring); }
@keyframes slot-in { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.slot:hover:not(:disabled) { border-color: var(--rani); color: var(--rani); }
.slot.is-on { background: var(--neel); border-color: var(--neel); color: #fff; transform: scale(1.04); }
.slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.slots-empty { padding: 1.4rem; text-align: center; color: var(--muted); background: var(--paper); border-radius: 14px; margin: 0; }

.coupon-row { display: flex; align-items: center; gap: .5rem; border: 1.5px dashed var(--line-2); border-radius: 16px; padding: .35rem .35rem .35rem .9rem; }
.coupon-row .bi { color: var(--rani); font-size: 1.2rem; }
.coupon-row .form-control { border: 0; box-shadow: none !important; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.coupon-msg { font-size: .88rem; margin: .4rem 0 0; min-height: 1.2em; }
.coupon-msg.is-good { color: var(--peacock); font-weight: 700; }
.coupon-msg.is-bad { color: var(--danger); }
.pay-methods { border: 0; padding: 0; margin: 1.3rem 0 .5rem; display: grid; gap: .6rem; }
.pay-methods legend { font-size: 1rem; font-weight: 800; margin-bottom: .6rem; }
.pay-opt { display: flex; align-items: center; gap: .9rem; border: 1.5px solid var(--line-2); border-radius: 16px; padding: .9rem 1rem; cursor: pointer; margin: 0; position: relative; transition: all .2s; }
.pay-opt input { accent-color: var(--rani); width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.pay-opt:has(input:checked) { border-color: var(--rani); background: linear-gradient(135deg, #fff, var(--rani-soft)); box-shadow: var(--ring); }
.pay-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); font-size: 1.25rem; color: var(--neel); flex-shrink: 0; }
.pay-text { flex: 1; display: flex; flex-direction: column; }
.pay-text small { color: var(--muted); }
.pay-logos { display: flex; gap: .25rem; }
.pay-logos span { font-size: .62rem; font-weight: 800; padding: .15rem .35rem; border-radius: 5px; background: var(--surface); border: 1px solid var(--line-2); color: var(--neel); }
.co-terms { font-size: .82rem; color: var(--muted); margin: .4rem 0 .9rem; }
.co-error { background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: .7rem .9rem; margin-bottom: .8rem; font-weight: 600; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.co-place { border-radius: 16px; padding: 1rem; font-size: 1.08rem; }
.co-place.is-busy { pointer-events: none; }
.co-place.is-busy::before { content: ""; display: inline-block; width: 1em; height: 1em; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; margin-right: .6rem; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-secure { text-align: center; font-size: .82rem; color: var(--muted); margin: .7rem 0 0; display: flex; gap: .35rem; justify-content: center; align-items: center; }
.co-secure .bi { color: var(--peacock); }

.co-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.sum-card { background: var(--surface); border-radius: 24px; padding: 1.3rem; box-shadow: 0 26px 60px -30px rgba(34,20,92,.5); border: 1px solid var(--line); position: relative; overflow: hidden; }
.sum-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--rani), var(--genda)); }
.sum-card h2 { font-size: 1.15rem; margin: .2rem 0 1rem; }
.sum-meta { display: grid; gap: .55rem; margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line-2); }
.sum-meta div { display: flex; gap: .7rem; align-items: flex-start; }
.sum-meta dt { color: var(--rani); }
.sum-meta dd { margin: 0; font-weight: 600; font-size: .93rem; }
.sum-meta dd.muted { color: var(--muted); font-weight: 400; }
.sum-lines { display: grid; gap: .45rem; margin: 0; font-size: .93rem; }
.sum-lines div { display: flex; justify-content: space-between; gap: 1rem; animation: step-in .3s var(--ease) both; }
.sum-lines dt { font-weight: 500; color: var(--ink-2); }
.sum-lines dd { margin: 0; font-variant-numeric: tabular-nums; }
.sum-lines .is-saving { color: var(--peacock); font-weight: 700; }
.sum-lines .is-saving dt { color: var(--peacock); }
.sum-lines .is-warn dt { color: var(--danger); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; padding-top: .9rem; border-top: 2px solid var(--neel); }
.sum-total span { font-weight: 800; }
.sum-total b, .co-bar b { font-family: var(--font-display); font-size: 1.7rem; color: var(--neel); font-variant-numeric: tabular-nums; }
.tick { animation: tick .45s var(--spring); }
@keyframes tick { 0% { transform: scale(.85); opacity: .4; } 100% { transform: none; opacity: 1; } }
.sum-card.is-pricing .sum-total b { opacity: .4; }
.sum-note { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }
.sum-trust { list-style: none; margin: 1rem 0 0; padding: .9rem 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: .45rem; font-size: .88rem; color: var(--ink-2); }
.sum-trust .bi { color: var(--peacock); margin-right: .4rem; }
.co-bar { display: none; }
.co-mobile-sum { display: none; }

@media (max-width: 991.98px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .sum-card { padding: 1rem 1.1rem; border-radius: 20px; }
  .sum-card .sum-lines, .sum-card .sum-total, .sum-card .sum-trust, .sum-card .sum-note { display: none; }
  .sum-meta { margin: 0; padding: 0; border: 0; }
  .co-bar { display: flex; position: fixed; z-index: 1035; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 1rem;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border: 1px solid var(--line); border-radius: 22px; padding: .65rem .7rem .65rem 1.1rem; box-shadow: 0 18px 40px -16px rgba(26,15,74,.5); }
  .co-bar small { display: block; color: var(--muted); font-size: .75rem; line-height: 1; }
  .co-bar b { font-size: 1.35rem; }
  .co-bar .btn { padding: .75rem 1.4rem; border-radius: 16px; max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .checkout ~ .bottom-nav, body:has(.checkout) .bottom-nav { display: none; }
  body:has(.checkout) { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .co-step[data-step="4"] .co-place { display: none; }
  .co-mobile-sum { display: block; background: var(--paper); border-radius: 16px; padding: .9rem 1rem; margin: 1rem 0 .4rem; }
  .co-mobile-sum .sum-total b { font-size: 1.4rem; }
  .co-step-head { padding: .9rem 1rem; }
  .co-step-body { padding: 0 1rem 1.1rem; }
  .co-next { display: none; }
  .opt-grid, .addr-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Customer booking page
   ========================================================================== */
.bk-hero { text-align: center; background: var(--surface); border-radius: 28px; padding: 2rem 1.2rem; margin: 1rem 0 1.4rem; box-shadow: 0 26px 60px -34px rgba(34,20,92,.5); position: relative; overflow: hidden; }
.bk-hero.is-success { background: linear-gradient(180deg, #effaf8, #fff); }
.bk-hero.is-pending { background: linear-gradient(180deg, var(--genda-soft), #fff); }
.bk-hero h1 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); margin: .8rem 0 .4rem; }
.bk-hero p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 1rem; }
.bk-hero-ic { width: 70px; height: 70px; border-radius: 22px; display: inline-grid; place-items: center; font-size: 2rem; background: #fff; color: #a86a00; box-shadow: var(--shadow); }
.check-anim { width: 84px; height: 84px; }
.check-anim circle { fill: none; stroke: var(--peacock); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--peacock); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk-hero.is-success::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(circle at 15% 30%, var(--genda) 0 4px, transparent 5px), radial-gradient(circle at 85% 25%, var(--rani) 0 4px, transparent 5px),
  radial-gradient(circle at 25% 75%, var(--peacock) 0 3px, transparent 4px), radial-gradient(circle at 75% 70%, var(--sky) 0 4px, transparent 5px),
  radial-gradient(circle at 50% 12%, var(--kesari) 0 3px, transparent 4px); animation: confetti 1.4s .3s var(--ease) both; }
@keyframes confetti { from { opacity: 0; transform: translateY(20px) scale(.6); } 60% { opacity: 1; } to { opacity: 0; transform: translateY(-30px) scale(1.1); } }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.2rem; align-items: start; }
.bk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem 1.3rem; margin-bottom: 1rem; }
.bk-head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.bk-head h2 { font-size: 1.2rem; margin: 0; }
.bk-head p { margin: 0; color: var(--muted); font-size: .88rem; font-family: ui-monospace, Menlo, monospace; }
.bk-head > div { flex: 1; min-width: 160px; }
.bk-status { font-weight: 800; font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; }
.bk-status.is-good { background: var(--peacock-soft); color: var(--peacock); }
.bk-status.is-wait { background: var(--genda-soft); color: #8a5a00; }
.bk-status.is-bad { background: var(--danger-soft); color: var(--danger); }
.bk-h { font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; margin-bottom: .9rem; }
.track { --p: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 1.4rem 0 1.1rem; padding: 0; position: relative; font-size: .76rem; text-align: center; color: var(--muted); font-weight: 600; }
.track::before, .track::after { content: ""; position: absolute; top: 9px; left: 10%; right: 10%; height: 4px; border-radius: 4px; background: var(--line); }
.track::after { background: linear-gradient(90deg, var(--peacock), var(--rani)); right: auto; width: 0; transition: width 1.2s var(--ease); }
.track.is-in::after { width: calc(80% * var(--p) / 100); }
.track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.track li span { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-2); transition: all .4s var(--spring); }
.track li.is-done span { background: var(--peacock); border-color: var(--peacock); }
.track li.is-now { color: var(--neel); font-weight: 800; }
.track li.is-now span { border-color: var(--rani); background: #fff; box-shadow: 0 0 0 6px rgba(216,30,108,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(216,30,108,0); } }
.bk-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; margin: 0; }
.bk-facts dt { font-size: .78rem; color: var(--muted); font-weight: 700; display: flex; gap: .35rem; align-items: center; }
.bk-facts dd { margin: .15rem 0 0; font-weight: 600; }
.bk-note { margin: 1rem 0 0; padding: .7rem .9rem; background: var(--paper); border-radius: 12px; display: flex; gap: .6rem; font-size: .92rem; }
.bk-timeline { list-style: none; margin: 0; padding: 0 0 0 1.2rem; position: relative; display: grid; gap: .9rem; }
.bk-timeline::before { content: ""; position: absolute; left: 4px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.bk-timeline li { position: relative; font-size: .92rem; }
.bk-timeline li::before { content: ""; position: absolute; left: -1.2rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--rani); box-shadow: 0 0 0 3px var(--rani-soft); }
.bk-timeline span { display: block; color: var(--ink-2); }
.bk-timeline time { font-size: .78rem; color: var(--muted); }
.bk-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.bk-msgs li { background: var(--paper); border-radius: 14px; padding: .7rem .9rem; }
.bk-msgs p { margin: 0 0 .2rem; }
.bk-msgs time { font-size: .78rem; color: var(--muted); }
.bk-cancel summary { cursor: pointer; color: var(--danger); font-weight: 700; font-size: .92rem; padding: .3rem 0; }
.bk-cancel form { margin-top: .6rem; }
@media (max-width: 991.98px) { .bk-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .bk-facts { grid-template-columns: 1fr; } .track { font-size: .66rem; } }

/* Customer bookings list */
.booking-card { transition: transform .25s var(--ease), box-shadow .25s; }
.booking-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pay-flag { display: inline-flex; gap: .4rem; align-items: center; background: var(--genda-soft); color: #8a5a00; font-weight: 800; font-size: .8rem; border-radius: 999px; padding: .2rem .7rem; margin-bottom: .6rem; }


/* Mobile refinements (from device preview) */
.coupon-row .form-control::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pay-text { min-width: 0; }
@media (max-width: 575.98px) {
  .pay-logos { display: none; }
  .pay-opt { padding: .8rem .85rem; gap: .7rem; }
  .pay-ic { width: 38px; height: 38px; }
}

/* ---------- Legal & contact pages ---------- */
.legal-hero { background: #fff; border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.2rem) 0 0; }
.eyebrow { font-size: .8rem; font-weight: 700; color: var(--rani); margin-bottom: .5rem; }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal-hero .lede { color: var(--muted); max-width: 60ch; }
.legal-tabs { display: flex; gap: .3rem; overflow-x: auto; margin-top: 1.4rem; scrollbar-width: none; }
.legal-tabs a { padding: .7rem .95rem; font-weight: 600; font-size: .9rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.legal-tabs a:hover { color: var(--ink); }
.legal-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rani); }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2.5rem; padding-top: 2.2rem; padding-bottom: 1rem; align-items: start; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.15rem; margin: 2rem 0 .6rem; letter-spacing: -.02em; }
.legal-body p, .legal-body li { color: var(--ink-2); line-height: 1.7; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .4rem; }
.legal-body a { color: var(--rani); }
.legal-summary { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--rani); border-radius: var(--r); padding: 1rem 1.2rem; box-shadow: var(--e1); color: var(--ink) !important; }
.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .92rem; background: #fff; }
.legal-table th, .legal-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--paper); font-weight: 700; color: var(--ink); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--e1); display: grid; gap: .6rem; }
.legal-card h2 { font-size: 1rem; margin: 0 0 .2rem; }
.legal-card a { display: flex; overflow-wrap: anywhere; align-items: flex-start; gap: .55rem; align-items: center; color: var(--ink); font-weight: 600; text-decoration: none; font-size: .92rem; word-break: break-word; }
.legal-card a:hover { color: var(--rani); }
.legal-card p { font-size: .8rem; color: var(--muted); margin: .4rem 0 0; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; margin: 1.4rem 0 .5rem; }
.contact-card { display: flex; gap: .85rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: var(--e1); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--e3); border-color: var(--line-2); color: var(--ink); }
.contact-card > .bi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--rani-soft); color: var(--rani); font-size: 1.1rem; flex-shrink: 0; }
.contact-card span { display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); word-break: break-word; }
.contact-card b { color: var(--ink); font-size: .95rem; }
@media (max-width: 991.98px) { .legal-wrap { grid-template-columns: 1fr; gap: 1.5rem; } .legal-aside { position: static; } }


/* Checkout and booking pages: readability on the v1 palette */
.co-head p, .co-done, .sum-note, .co-terms, .co-secure, .opt-body small, .addr-card small, .addon small, .pay-text small, .bk-head p { color: var(--muted); font-size: max(.875rem, 14px); }
.sum-lines dt, .sum-lines dd { color: var(--ink); font-size: .97rem; }
.slot { font-size: .97rem; min-height: 44px; }
.date-chip small { font-size: .8rem; color: var(--ink-2); }
.track { font-size: .82rem; color: var(--ink-2); }
.bk-facts dt { font-size: .85rem; color: var(--muted); }

/* ---------- Scroll reveal (motion.js): one subtle rise, once ---------- */
.js .motion-ready { opacity: 0; transform: translateY(14px); }
.js .motion-ready.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .motion-ready { opacity: 1; transform: none; }
}
