/* Ghosla website v2: the app's design system on the web.
   Colours: --app-* from constants/themes.js (tokens.css, generated). Font: Satoshi, as in the app.
   Shapes: pills (24px search box and buttons, 20px chips), 16px cards, amber marks what is selected. */
@font-face { font-family: Satoshi; src: url(/tolet/assets/fonts/Satoshi-Regular.otf) format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/tolet/assets/fonts/Satoshi-Medium.otf) format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/tolet/assets/fonts/Satoshi-Bold.otf) format("opentype"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/tolet/assets/fonts/Satoshi-Black.otf) format("opentype"); font-weight: 900; font-display: swap; }
:root {
  --bg: var(--app-primaryBG); --card: var(--app-secondaryBG); --ink: var(--app-primaryText); --muted: var(--app-secondaryText);
  --pink: var(--app-primary); --pink-ink: var(--app-primary); --on-pink: var(--app-secondaryBG);
  --amber: var(--app-secondary); --amber-soft: var(--app-secondaryAccent); --on-amber: #1A0A32;
  --bg2: #efece1; --line: #e6e1d4; --faint: #8f86a0; --pink-soft: rgba(233, 30, 99, .08);
  --ok: #14804a; --ok-soft: #e4f5ec; --warn-soft: #fff3dc;
  --ring: 0 0 0 1px var(--line);
  --lift: 0 2px 10px rgba(26, 10, 50, .08);
  --lift-lg: 0 16px 40px -12px rgba(26, 10, 50, .28);
  --font: Satoshi, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --r-card: 16px; --r-ctl: 12px; --maxw: min(90vw, 1680px); --gut: max(16px, env(safe-area-inset-left, 0px));
  --sb-thumb: #d6cbe0; --sb-thumb-hover: var(--pink);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg2: rgba(255, 255, 255, .07); --line: rgba(255, 255, 255, .14); --faint: rgba(248, 247, 239, .6); --pink-soft: rgba(255, 132, 161, .16);
  --ok: #6fd49b; --ok-soft: #163126; --warn-soft: #36280f;
  --lift: 0 2px 12px rgba(0, 0, 0, .35);
  --lift-lg: 0 18px 44px -12px rgba(0, 0, 0, .6);
  --sb-thumb: #5F4C7B;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Scrollbars in the palette: soft purple thumb on the page colour (inherits into inner scroll areas). */
:root { scrollbar-color: var(--sb-thumb) var(--bg); accent-color: var(--pink); }
.suggest, .menu { scrollbar-color: var(--sb-thumb) var(--card); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: 40px; padding-right: 40px; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- theme-dependent images and the toggle ---------- */
.ic-dark, .ic-dark-only { display: none !important; }
:root[data-theme="dark"] .ic-dark { display: inline !important; }
:root[data-theme="dark"] .ic-dark-only { display: inline-flex !important; }
:root[data-theme="dark"] .ic-light, :root[data-theme="dark"] .ic-light-only { display: none !important; }
.ic-light-only { display: inline-flex; }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme-btn:hover { background: var(--bg2); }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 28px; letter-spacing: -.5px; color: var(--ink); justify-self: start; }
.brand img { height: 46px; width: auto; }
.tabs { display: flex; gap: 6px; }
.tab { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 18px; text-decoration: none; color: var(--muted); font-weight: 400; font-size: 14px; letter-spacing: -.2px; border: 0; background: none; cursor: pointer; }
.tab .tab-ic { position: relative; width: 50px; height: 50px; display: grid; place-items: center; }
.tab .tab-ic img { position: relative; width: 38px; height: 38px; }
.tab[aria-current="true"] .tab-ic::before { content: ""; position: absolute; inset: -18px; background: url(/v2/assets/img/selected_option.png) center / contain no-repeat; }
.tab:hover { color: var(--ink); }
.tab[aria-current="true"] { color: var(--ink); font-weight: 800; }
.hdr-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 24px; text-decoration: none; font-weight: 600; font-size: 14px; background: none; border: 0; cursor: pointer; }
.btn-ghost:hover { background: var(--bg2); }
/* Header "List your flat": highlighted as the primary action (pink pill) */
.btn-ghost.hdr-list { background: var(--pink); color: var(--on-pink); }
.btn-ghost.hdr-list:hover { background: var(--pink); filter: brightness(1.06); }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 14px; border-radius: 24px; border: 0; background: var(--card); box-shadow: var(--lift); cursor: pointer; }
.menu-btn:hover { box-shadow: var(--lift-lg); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--muted); color: var(--bg); display: grid; place-items: center; }
.menu { position: absolute; right: 0; top: 54px; width: 240px; background: var(--card); border-radius: 16px; box-shadow: var(--lift-lg); padding: 8px 0; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 11px 18px; text-decoration: none; background: none; border: 0; cursor: pointer; font-size: 14px; }
.menu a:hover, .menu button:hover { background: var(--bg2); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menu .strong { font-weight: 700; }
@media (max-width: 899px) {
  .hdr-row { grid-template-columns: auto 1fr auto; height: auto; padding-top: 10px; row-gap: 4px; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-content: space-around; }
  .tab { font-size: 13px; padding: 2px 10px 8px; }
  .tab .tab-ic { width: 42px; height: 42px; }
  .tab .tab-ic img { width: 32px; height: 32px; }
  .hide-sm { display: none !important; }
}

/* ---------- search bar: the app's searchBox (card colour, 24px radius, elevation, no border) ---------- */
.pill-search { display: grid; grid-template-columns: 1fr 1.6fr .9fr 1fr auto; align-items: stretch; background: var(--card); border-radius: 24px; box-shadow: var(--lift-lg); max-width: 900px; margin: 0 auto; position: relative; padding: 6px; }
.ps-field { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-width: 0; min-height: 48px; border-radius: 20px; cursor: pointer; }
.ps-field + .ps-field::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.ps-field:hover, .ps-field:focus-within { background: var(--bg2); }
.ps-field:hover::before, .ps-field:focus-within::before, .ps-field:hover + .ps-field::before, .ps-field:focus-within + .ps-field::before { opacity: 0; }
.ps-ic { flex: none; display: grid; place-items: center; color: var(--pink); }
.ps-ic svg { width: 18px; height: 18px; }
.ps-field input, .ps-field select { flex: 1; min-width: 0; width: 100%; border: 0; background: none; padding: 0; font: 400 14px/1.4 var(--font); color: var(--ink); outline: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.ps-field input { cursor: text; }
.ps-field input::placeholder { color: var(--muted); }
.ps-field select { padding-right: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b6478' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 14px no-repeat; }
.ps-field select option { color: #1a0a32; background: #fff; }
.ps-go { height: 48px; padding: 0 28px; border-radius: 24px; border: 0; background: var(--pink); color: var(--on-pink); font: 600 14px var(--font); cursor: pointer; margin-left: 6px; }
.ps-go:hover { filter: brightness(1.06); }
/* Search button with the Your searches drop down beside it */
.ps-gow { position: relative; display: flex; margin-left: 6px; }
.ps-gow .ps-go { margin: 0; }
.ps-gow.has-ss .ps-go { border-radius: 24px 0 0 24px; padding-right: 22px; }
.ps-ssb { height: 48px; width: 40px; padding: 0 4px 0 0; border: 0; border-left: 1px solid rgba(255,255,255,.35); border-radius: 0 24px 24px 0; background: var(--pink); color: var(--on-pink); display: grid; place-items: center; cursor: pointer; }
.ps-ssb[hidden] { display: none; }
.ps-ssb:hover { filter: brightness(1.06); }
.ps-ssb svg { transition: transform .15s; }
.ps-ssb[aria-expanded="true"] svg { transform: rotate(180deg); }
.ps-ss { position: absolute; right: 0; top: calc(100% + 12px); width: 360px; max-width: 92vw; background: var(--card); color: var(--ink); border-radius: 16px; box-shadow: var(--lift-lg); padding: 8px; z-index: 30; text-align: left; }
.ps-ss-h { margin: 4px 12px 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ps-ss ul { list-style: none; margin: 0; padding: 0; }
.ps-ss li { display: flex; align-items: center; gap: 6px; border-radius: 12px; }
.ps-ss li:hover { background: var(--bg2); }
.ps-ss a { flex: 1; min-width: 0; padding: 10px 12px; color: inherit; text-decoration: none; }
.ps-ss b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.ps-ss small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.ps-ss button { flex: none; width: 30px; height: 30px; margin-right: 6px; border: 0; border-radius: 15px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.ps-ss button:hover { box-shadow: var(--lift); }
.suggest { position: absolute; left: 0; top: calc(100% + 12px); width: min(440px, 92vw); background: var(--card); border-radius: 16px; box-shadow: var(--lift-lg); padding: 8px; z-index: 30; max-height: 360px; overflow: auto; }
.suggest button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 12px; font-size: 14px; text-align: left; cursor: pointer; }
.suggest button:hover, .suggest button.is-active { background: var(--bg2); }
.suggest .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg2); display: grid; place-items: center; flex: none; }
.suggest small { display: block; color: var(--muted); font-weight: 400; }
.suggest .ic { color: var(--pink); }
.suggest-empty { margin: 0; padding: 10px 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .pill-search { grid-template-columns: 1fr 1fr; padding: 6px; }
  .ps-city, .ps-where, .ps-go { grid-column: 1 / -1; }
  .ps-field + .ps-field::before { left: 12px; right: 12px; top: 0; bottom: auto; width: auto; height: 1px; }
  .ps-where::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: var(--line); }
  .ps-bhk::before { display: none; }
  .ps-max::before { left: 0 !important; right: auto !important; top: 12px !important; bottom: 12px !important; width: 1px !important; height: auto !important; }
  .ps-go { margin: 6px 0 0; }
  .ps-gow { grid-column: 1 / -1; margin: 6px 0 0; }
  .ps-gow .ps-go { flex: 1; }
  .ps-ss { left: 0; right: 0; width: auto; max-width: none; }
}

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 28px; border-radius: 24px; border: 0; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.btn-pink { background: var(--pink); color: var(--on-pink); }
.btn-pink:hover { filter: brightness(1.06); }
.btn-line { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--bg2); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: var(--lift); font-weight: 400; font-size: 13px; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; }
.chip:hover { box-shadow: var(--lift-lg); }
.chip.is-on { background: var(--amber); color: var(--on-amber); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.18); }

/* ---------- listing cards ---------- */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.row-head h2 { margin: 0; font-size: 20px; font-weight: 400; }
.row-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.row-nav { display: flex; gap: 8px; }
.row-nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); box-shadow: var(--lift); cursor: pointer; display: grid; place-items: center; }
.row-nav button:disabled { opacity: .35; cursor: default; }
.cards-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cards-row::-webkit-scrollbar { display: none; }
@media (max-width: 1280px) { .cards-row { grid-auto-columns: calc((100% - 4 * 16px) / 5); } }
@media (max-width: 1024px) { .cards-row { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 760px) { .cards-row { grid-auto-columns: 62%; } }
.card { scroll-snap-align: start; text-decoration: none; min-width: 0; display: block; }
.card-img { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-card); overflow: hidden; background: var(--bg2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img .badge { position: absolute; top: 12px; left: 12px; }
.card-img .heart { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; }
.card-body { padding: 10px 2px 0; }
.card-title { font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.card-title span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-sub { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-price { margin-top: 2px; font-size: 15px; }
.card-price b { font-weight: 800; }
.card-src { color: var(--faint); font-size: 12.5px; font-weight: 600; }
.skel { background: linear-gradient(90deg, var(--bg2), var(--line), var(--bg2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--r-card); }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } .card:hover .card-img img { transform: none; } }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec-tight { padding: 40px 0; }
.sec-alt { background: var(--bg2); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.h2 { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.3px; margin: 10px 0 14px; text-wrap: balance; }
.lead { font-size: 16px; color: var(--muted); max-width: 60ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23e91e63' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border-radius: var(--r-card); box-shadow: var(--lift); padding: 24px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--on-amber); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- footer: copied from public/seo/styles.css (keep in sync) ---------- */
/* Footer: dense tabbed link web (same as the homepage), on every page */
.sf { max-width: var(--maxw); margin: 0 auto; }
.sf-title { color: #fff; font-size: 1.15rem; font-weight: 800; margin: 0 0 16px; }
.sf-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sf-tab {
  padding: 7px 16px; border-radius: 999px; border: 1px solid #33254d;
  background: transparent; color: #cbbfe0; font-size: .85rem; font-weight: 700; cursor: pointer;
}
.sf-tab:hover { border-color: var(--pink); }
.sf-tab.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }
.sf-panel { display: none; }
.sf-panel.is-active { display: grid; grid-template-columns: 1fr; gap: 8px 24px; }
@media (min-width: 560px) { .sf-panel.is-active { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .sf-panel.is-active { grid-template-columns: repeat(3, 1fr); } }
.sf-panel a { color: #cbbfe0; font-size: .82rem; padding: 1px 0; }
.sf-panel a:hover { color: #fff; }

/* Footer */
.site-footer { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #1A0A32; color: #d9d2e6; margin-top: 48px; padding: 36px 16px 28px; }
.footer-cols {
  max-width: var(--maxw); margin: 0 auto; display: grid; gap: 20px 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .footer-cols { grid-template-columns: repeat(7, 1fr); } }
.link-city h3 { color: #fff; font-size: .9rem; margin-bottom: 8px; }
.link-city a, .link-city .muted { display: block; font-size: .8rem; margin-bottom: 5px; color: #cbbfe0; }
.link-city a:hover { color: #fff; }
.link-city .muted { color: #7d7391; }
.footer-apps {
  max-width: var(--maxw); margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 16px;
  padding-top: 20px; border-top: 1px solid #33254d;
}
.footer-apps a { color: var(--amber); font-size: .85rem; font-weight: 600; }
.footer-legal { max-width: var(--maxw); margin: 16px auto 0; font-size: .75rem; color: #8a7fa3; }

/* ---------- login sheet ---------- */
.login-wrap { position: fixed; inset: 0; z-index: 80; background: rgba(10, 4, 20, .55); display: grid; place-items: center; padding: 16px; }
.login { position: relative; width: min(420px, 100%); background: var(--bg); border-radius: 24px; box-shadow: var(--lift-lg); padding: 28px; }
.login h2 { margin: 0 0 18px; font-size: 20px; font-weight: 700; }
.login label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.lg-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg2); cursor: pointer; }
.lg-num { display: flex; align-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.lg-num span { padding: 0 12px; font-weight: 700; color: var(--muted); }
.lg-num input, #lgOtp { flex: 1; width: 100%; height: 50px; border: 0; background: none; font: 700 18px var(--font); color: var(--ink); outline: none; letter-spacing: .04em; }
#lgOtp { border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 14px; letter-spacing: .4em; }
.lg-num:focus-within, #lgOtp:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.lg-agree { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 14px !important; margin: 16px 0 !important; line-height: 1.45; cursor: pointer; }
.lg-agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--pink); flex: none; }
.lg-agree a { color: var(--pink-ink); font-weight: 700; }
.lg-go { width: 100%; margin-top: 4px; }
.lg-go:disabled { opacity: .45; cursor: not-allowed; }
.lg-link { border: 0; background: none; color: var(--muted); text-decoration: underline; margin-top: 12px; cursor: pointer; width: 100%; }
.lg-err { color: #c62828; min-height: 1em; margin: 10px 0 0; font-size: 14px; }
/* SEO pages set a { text-decoration: none } globally; v2 only does it per component, so scope it here. */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Listing card: the app's PropertyCard2 (homepage.tsx). Photo with a dark top fade, then
   name (600, 16px, two lines), property type (14px), "₹ 36,500 / month" (600 + 400). Nothing else. */
.card-img::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(rgba(0,0,0,.6), transparent); z-index: 1; pointer-events: none; }
.card-img { border-radius: 16px; }
.card .card-body, .lcard .card-body { padding: 5px; }
.app-title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-type { font-size: 14px; color: var(--ink); }
.app-price { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.app-price span { font-weight: 400; }

/* ---------- themed dropdown (site.js G.themeSelect) ---------- */
.tsel { position: relative; display: flex; flex: 1; min-width: 0; }
.tsel-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); font: 400 14px/1.4 var(--font); text-align: left; cursor: pointer; }
.tsel-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tsel-btn svg { flex: none; color: var(--muted); transition: transform .15s ease; }
.tsel.is-open .tsel-btn svg { transform: rotate(180deg); color: var(--pink); }
.tsel-btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 4px; }
.tsel-pop { position: absolute; left: -14px; top: calc(100% + 20px); min-width: calc(100% + 28px); width: max-content; max-width: calc(100vw - 16px); max-height: 340px; overflow: auto; background: var(--card); border-radius: 16px; box-shadow: var(--lift-lg); padding: 8px; z-index: 35; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; cursor: default; scrollbar-color: var(--sb-thumb) var(--card); }
.tsel-pop[hidden] { display: none; }
.tsel-pop button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; border: 0; border-radius: 20px; background: none; color: var(--ink); font: 400 14px var(--font); text-align: left; cursor: pointer; white-space: nowrap; }
.tsel-pop button:hover, .tsel-pop button:focus-visible { background: var(--bg2); outline: none; }
.tsel-pop button[aria-selected="true"] { font-weight: 600; color: var(--on-amber); background: var(--amber); }
.tsel-pop .ic { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--bg2); color: var(--muted); display: grid; place-items: center; }
.tsel-pop button[aria-selected="true"] .ic { background: rgba(255, 255, 255, .55); color: var(--on-amber); }
@media (max-width: 760px) { .pill-search .tsel { position: static; } .pill-search .tsel-pop { left: 0; right: 0; top: calc(100% + 6px); width: auto; min-width: 0; max-width: none; } .pill-search .ps-field { position: relative; } }

/* ---------- checkboxes and number fields in the palette ---------- */
input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none; border: 1.5px solid var(--muted); border-radius: 6px; background: var(--card); display: inline-grid; place-items: center; cursor: pointer; transition: background .12s, border-color .12s; }
input[type="checkbox"]::after { content: ""; width: 10px; height: 6px; border: 2.4px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .12s; }
input[type="checkbox"]:checked { background: var(--pink); border-color: var(--pink); }
input[type="checkbox"]:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* search suggestions: name + kind tag, parent area and listing count underneath */
.sg-main { min-width: 0; }
.sg-name { display: flex; align-items: center; gap: 8px; }
.sg-tag { flex: none; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 20px; background: var(--bg2); color: var(--muted); }
.sg-tag.is-soc { background: var(--amber-soft); color: var(--on-amber); }
.sg-tag.is-ola { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* picked areas: bubbles under the search bar (app selected-chip colours) */
.ps-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 12px auto 0; }
.ps-chips[hidden] { display: none; }
.ps-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 4px 0 12px; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: var(--lift); font-size: 13px; max-width: 280px; }
.ps-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-chip svg { flex: none; color: var(--pink); }
.ps-chip.is-soc { background: var(--amber); color: var(--on-amber); }
.ps-chip.is-soc svg { color: var(--on-amber); }
.ps-chip button { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.ps-chip button:hover { background: rgba(0, 0, 0, .08); }
/* ---------- wishlist heart (wish.js) ---------- */
.card-img .heart { z-index: 2; display: grid; place-items: center; padding: 0; transition: transform .12s; }
.heart svg { fill: rgba(0, 0, 0, .45); stroke: #fff; stroke-width: 2.4; transition: fill .15s; }
.heart:hover { transform: scale(1.08); }
.heart.is-on svg { fill: var(--app-primary); }
.heart.is-busy svg { fill: rgba(255, 255, 255, .55); }
.menu-dot { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--pink); color: var(--on-pink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; vertical-align: 1px; }
.avatar { position: relative; }
.avatar.has-dot::after { content: ""; position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px var(--card); }
/* menu: account links only when logged in (auth.js sets html.is-in) */
.menu [data-in] { display: none; }
.is-in .menu [data-in] { display: block; }
/* "Before you message a lister" (account.js) */
.gate { width: min(520px, 100%); }
.gate h2 { margin: 0 0 6px; font-size: 22px; }
.gate > p { margin: 0 0 18px; font-size: 14px; }
.gate-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gate-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--ring); }
.gate-steps li > div { flex: 1; min-width: 0; }
.gate-steps b { display: block; font-size: 15px; }
.gate-steps small { display: block; font-size: 13px; color: var(--muted); }
.gate-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); }
.gate-steps .is-ok .gate-dot { border-color: var(--amber); background: var(--amber); }
.gate-go { height: 36px; padding: 0 16px; font-size: 13px; }
.gate-done { font-size: 13px; font-weight: 600; color: var(--ok); }
.ask h2 { margin: 0 0 6px; font-size: 20px; }
.ask p { margin: 0 0 20px; font-size: 15px; }
.ask-btns { display: flex; justify-content: flex-end; gap: 10px; }
html.is-locked { overflow: hidden; }
.del-wrap { z-index: 95; }
.btn-danger { background: #d93025; color: #fff; }
/* Verified tick on cards and the listing page */
.vbadge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 3px; border-radius: 20px; background: #e6f0ff; color: #1d5fd1; font-size: 12px; font-weight: 700; vertical-align: middle; }
.vbadge i { width: 16px; height: 16px; border-radius: 50%; background: #1d72e8; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; }
.card-img .vbadge { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: var(--lift); }
.lp-h .vbadge { margin-left: 10px; font-size: 13px; }

/* ================= phones =================
   The app's bottom tab bar, a slimmer header, and dialogs as bottom sheets. */
.bnav { display: none; }
@media (max-width: 899px) { .hdr-plain .tabs { display: none; } .hdr-plain .hdr-row { padding-bottom: 10px; } }
@media (max-width: 760px) {
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--line); }
  .bnav a { display: grid; justify-items: center; gap: 2px; padding: 4px 0; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
  .bnav-ic { position: relative; width: 26px; height: 26px; display: grid; place-items: center; }
  .bnav-ic svg { width: 24px; height: 24px; }
  .bnav a[aria-current="page"] { color: var(--pink); }
  .bnav-dot { position: absolute; top: -4px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: var(--on-pink); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }
  body:has(.bnav) { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  html.is-chat .bnav { display: none; }
  html.is-chat body { padding-bottom: 0; overflow: hidden; }

  .hdr-row { gap: 8px; padding-top: 8px; }
  .brand { font-size: 22px; gap: 6px; }
  .brand img { height: 34px; }
  .theme-btn { width: 40px; height: 40px; }
  .menu-btn { height: 40px; padding: 0 6px 0 12px; }
  .menu { position: fixed; top: 60px; right: 12px; width: min(280px, calc(100vw - 24px)); max-height: calc(100dvh - 140px); overflow-y: auto; }
  .menu a, .menu button { padding: 13px 18px; font-size: 15px; }

  /* dialogs slide up from the bottom, full width */
  .login-wrap { align-items: end; padding: 0; }
  .login { width: 100% !important; max-width: none; max-height: 92dvh; overflow-y: auto; border-radius: 24px 24px 0 0;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .ask-btns { flex-direction: column-reverse; }
  .ask-btns .btn { width: 100%; }
  .btn { min-height: 44px; }
  .row-head h2 { font-size: 19px; }
  .sec { padding: 48px 0; }
  .site-footer { margin-top: 32px; }
}
/* light / dark switch, inside the profile menu */
.menu .menu-theme { display: flex; align-items: center; gap: 10px; }
.menu-theme-ic { display: inline-grid; color: var(--muted); }
.menu-theme-l { flex: 1; }
.menu-sw { position: relative; flex: none; width: 36px; height: 22px; border-radius: 11px; background: var(--line); transition: background .15s; }
.menu-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.menu-theme[aria-checked="true"] .menu-sw { background: var(--pink); }
.menu-theme[aria-checked="true"] .menu-sw::after { transform: translateX(14px); }

/* small notice at the bottom of the screen (G.toast) */
.g-toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: var(--lift-lg); animation: toastIn .3s ease; transition: opacity .4s; }
.g-toast.is-out { opacity: 0; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (max-width: 760px) { .g-toast { bottom: 84px; } }
