/* Mero Sansar Real Estate — public site styles */
:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --ink: #15160f;
  --ink-2: #3c3d35;
  --muted: #74756b;
  --line: #e4e2da;
  --line-2: #d6d3c8;
  --green: #1d4d1e;
  --green-2: #2a6a2a;
  --green-soft: #e7efe3;
  --saffron: #e58a12;
  --saffron-soft: #fcf0de;
  --red: #b5381f;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 22, 15, .04), 0 8px 24px -12px rgba(21, 22, 15, .12);
  --shadow-lg: 0 2px 6px rgba(21, 22, 15, .05), 0 30px 60px -24px rgba(21, 22, 15, .28);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-np: "Mukta", "Manrope", sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; border-radius: 6px; }
.np { font-family: var(--font-np); }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #163d17; box-shadow: 0 8px 20px -10px rgba(29, 77, 30, .7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--surface);
  border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--ink); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 243, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; line-height: 1; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand small { display: block; font-family: var(--font-np); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(21, 22, 15, .06); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.saved-link { position: relative; }
.saved-link .count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--saffron);
  color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg);
}
.saved-link .count:empty { display: none; }
.menu-btn { display: none; }
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header .wrap { height: 64px; }
  .mobile-nav { position: fixed; inset: 64px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 22px; display: none; flex-direction: column; gap: 2px; z-index: 39; box-shadow: var(--shadow); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 14px 4px; font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 14px; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 6px 12px 6px 8px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(42, 106, 42, .15); }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 22px 0 18px; }
.hero h1 .soft { color: var(--muted); font-weight: 700; }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 500px; margin: 0 0 30px; }
.hero .lead .np { color: var(--green); font-weight: 600; }

.search-card { background: var(--surface); border-radius: 24px; padding: 8px; box-shadow: var(--shadow-lg); max-width: 580px; }
.search-tabs { display: flex; gap: 4px; padding: 6px 6px 10px; }
.search-tabs button { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.search-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.search-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 6px; }
.field-pill { display: flex; flex-direction: column; padding: 6px 12px; border-radius: 12px; min-width: 0; }
.field-pill + .field-pill { border-left: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.field-pill label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field-pill select { border: 0; background: transparent; font-weight: 700; font-size: 15px; padding: 2px 0; outline: none; appearance: none; cursor: pointer; width: 100%; text-overflow: ellipsis; }
.search-row .btn { height: 54px; border-radius: 14px; padding: 0 24px; }
.hero-stats { display: flex; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats div { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-stats b { display: block; font-size: 26px; color: var(--ink); letter-spacing: -.03em; font-weight: 800; }

/* Two slow-moving photo columns */
.hero-reel { position: relative; height: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: hidden; border-radius: 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.reel-col { display: flex; flex-direction: column; gap: 14px; animation: reel-up 60s linear infinite; will-change: transform; }
.reel-col.down { animation-name: reel-down; margin-top: -120px; }
.hero-reel:hover .reel-col { animation-play-state: paused; }
@keyframes reel-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes reel-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.reel-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #dcdad2; flex: none; }
.reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-card .tag { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.reel-card .tag b { font-size: 16px; letter-spacing: -.02em; }
.reel-card .tag span { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .reel-col { animation: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-reel { height: 300px; grid-template-columns: none; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); border-radius: 0; margin: 0 -20px; }
  .reel-col { flex-direction: row; height: 100%; animation-name: reel-left; animation-duration: 70s; }
  .reel-col.down { display: none; }
  .reel-card { height: 100%; width: auto; }
  @keyframes reel-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (max-width: 560px) {
  .hero { padding-top: 22px; }
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-row .btn { grid-column: 1 / -1; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 22px; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.04; letter-spacing: -.035em; margin: 0; font-weight: 800; max-width: 640px; }
.section-head p { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 520px; }
.section-head .actions { display: flex; gap: 8px; flex: none; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); margin-bottom: 10px; display: block; }
@media (max-width: 640px) { .section { padding: 52px 0; } .section-head { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- listing card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 30px 22px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #dddbd3; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.035); }
.card:hover .card-media img.alt { opacity: 1; }
.card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(0, 0, 0, .28), transparent); pointer-events: none; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.badge.saffron::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }
.badge.booked { background: var(--ink); color: #fff; }
.badge.sold { background: var(--red); color: #fff; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .95);
  display: grid; place-items: center; transition: transform .2s;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.8; fill: none; transition: fill .2s, stroke .2s; }
.fav-btn[aria-pressed="true"] svg { fill: var(--saffron); stroke: var(--saffron); }
.fav-btn.pop svg { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.photo-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; gap: 5px; align-items: center; }
.photo-count svg { width: 15px; height: 15px; }
.card-id { position: absolute; left: 12px; bottom: 12px; z-index: 2; color: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.card-price { display: flex; align-items: baseline; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.card-price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.card-title { font-weight: 700; font-size: 15.5px; color: var(--ink); line-height: 1.35; }
.card-loc { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 14px; }
.card-loc svg { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.chip.green { background: var(--green-soft); border-color: transparent; color: var(--green); }
.card-link::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }

.skeleton { background: linear-gradient(90deg, #e4e2da 0, #eceae3 40%, #e4e2da 80%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Horizontal rail */
.rail { --edge: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 4px var(--edge) 16px; margin: 0 calc(var(--edge) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1280px) { .rail { --edge: calc((100vw - var(--wrap)) / 2 + 20px); } }

/* ---------------------------------------------------------------- areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; transition: border-color .2s, transform .2s; }
.area-pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.area-pill span { font-size: 13px; color: var(--muted); font-weight: 700; }

/* ---------------------------------------------------------------- booking explainer */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--surface); border-radius: 32px; padding: 56px; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 15px; }
.steps h3 { margin: 4px 0 4px; font-size: 17px; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.ticket { position: relative; max-width: 380px; margin: 0 auto; background: var(--bg); border-radius: 24px; padding: 24px; transform: rotate(-2deg); box-shadow: var(--shadow-lg); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58%; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); }
.ticket::before { left: -13px; } .ticket::after { right: -13px; }
.ticket .t-photo { border-radius: 16px; aspect-ratio: 16 / 10; overflow: hidden; background: #dcdad2; }
.ticket .t-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticket .t-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; }
.ticket .t-row span { color: var(--muted); font-weight: 600; }
.ticket .t-row b { font-weight: 800; }
.ticket .t-cut { border-top: 2px dashed var(--line-2); margin: 16px 0 12px; }
.ticket .t-status { display: inline-flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 24px; gap: 36px; } }

/* ---------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.about .big { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; margin: 0; }
.about .big em { font-style: normal; color: var(--green); }
.promise { display: grid; gap: 0; }
.promise div { padding: 18px 0; border-top: 1px solid var(--line-2); }
.promise h3 { margin: 0 0 4px; font-size: 17px; }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

.team { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.team::-webkit-scrollbar { display: none; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #dcdad2; filter: saturate(.92); }
.member b { display: block; margin-top: 10px; font-size: 15px; }
.member span { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- contact */
.contact { background: var(--green); color: #eef3ea; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact h2 { color: #fff; }
.contact .section-head p { color: rgba(238, 243, 234, .75); }
.contact-list { display: grid; gap: 4px; margin-top: 8px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-weight: 600; }
.contact-list svg { margin-top: 2px; opacity: .8; }
.contact-list small { display: block; font-weight: 500; color: rgba(238, 243, 234, .65); font-size: 13px; }
.contact form { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 24px; } }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.form-grid > * { min-width: 0; }
.form-grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.f label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.f label .opt { color: var(--muted); font-weight: 500; }
.f input, .f select, .f textarea {
  width: 100%; height: 50px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; padding: 0 14px; font-size: 16px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.f textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(42, 106, 42, .12); }
.f .err { display: none; color: var(--red); font-size: 13px; margin-top: 5px; font-weight: 600; }
.f.invalid input, .f.invalid textarea { border-color: var(--red); }
.f.invalid .err { display: block; }
.phone-in { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone-in:focus-within { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(42, 106, 42, .12); }
.phone-in span { padding: 0 4px 0 14px; color: var(--muted); font-weight: 700; }
.phone-in input { border: 0 !important; box-shadow: none !important; padding-left: 6px; }
.f.invalid .phone-in { border-color: var(--red); }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { .form-grid.two { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 64px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.foot-grid a, .foot-grid p { display: block; margin: 0 0 8px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { font-weight: 500; color: var(--muted); max-width: 320px; margin-top: 14px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } .foot-grid > * { min-width: 0; overflow-wrap: anywhere; } .foot-about { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- listings page */
.page-head { padding: 34px 0 6px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.04em; line-height: 1; margin: 0 0 10px; font-weight: 800; }
.page-head p { margin: 0; color: var(--muted); }
.filters { position: sticky; top: 72px; z-index: 30; background: rgba(244, 243, 239, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 14px 0; margin: 18px 0 24px; border-bottom: 1px solid var(--line); }
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 260px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; padding: 0 16px 0 46px; font-size: 15px; outline: none; }
.search-box input:focus { border-color: var(--green-2); }
.select { position: relative; }
.select select { height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; padding: 0 38px 0 16px; font-weight: 700; font-size: 14px; appearance: none; cursor: pointer; outline: none; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select:focus { border-color: var(--green-2); }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.seg button { height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-weight: 600; font-size: 14px; }
.result-bar b { color: var(--ink); }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); font-size: 22px; margin: 14px 0 6px; letter-spacing: -.02em; }
.empty svg.i { width: 40px; height: 40px; color: var(--line-2); }
@media (max-width: 860px) {
  .filters { top: 64px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .filter-row::-webkit-scrollbar { display: none; }
  .search-box { flex: 0 0 220px; }
}

/* ---------------------------------------------------------------- property page */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; padding: 22px 0 16px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: min(70vh, 600px); border-radius: 26px; overflow: hidden; }
.gallery.one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.two { grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; }
.g-item { position: relative; overflow: hidden; background: #1c1d18; cursor: zoom-in; }
.g-item:first-child { grid-row: 1 / -1; }
.g-item .blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(30px) brightness(.7); transform: scale(1.1); }
.g-item .main { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.gallery:not(.one) .g-item:not(:first-child) .main { object-fit: cover; }
.g-item:hover .main { transform: scale(1.02); }
.g-all { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.g-count { display: none; }
@media (max-width: 980px) { .g-count { display: inline-flex; } }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; margin-top: 32px; align-items: start; }
.prop-title { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.prop-title h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.035em; margin: 8px 0 10px; font-weight: 800; }
.prop-title .loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 600; }
.prop-tools { display: flex; gap: 8px; flex: none; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin: 28px 0; }
.fact { padding: 16px 18px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.fact span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact b { display: block; font-size: 17px; letter-spacing: -.01em; margin-top: 4px; }
.fact small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.prop-section { padding: 26px 0; border-top: 1px solid var(--line); }
.prop-section h2 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 14px; }
.prop-desc { white-space: pre-line; color: var(--ink-2); font-size: 16px; margin: 0; }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.highlights span { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.highlights svg { width: 16px; height: 16px; color: var(--green-2); }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: 20px; background: #e4e2da; }
.book-card { position: sticky; top: 96px; background: var(--surface); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-lg); }
.book-card .price { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.book-card .price-full { color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 6px; }
.book-card .neg { display: inline-block; margin-top: 10px; }
.book-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.book-card .fee { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.book-card .fee b { color: var(--ink); }
.book-card .stack { display: grid; gap: 10px; }
.book-card .mini { display: flex; gap: 8px; margin-top: 12px; }
.book-card .mini .btn { flex: 1; }
.book-card .note { font-size: 13px; color: var(--muted); margin: 14px 0 0; display: flex; gap: 8px; }
.book-card .note svg { width: 16px; height: 16px; margin-top: 2px; color: var(--green-2); }
.mobile-bar { display: none; }
@media (max-width: 980px) {
  .prop-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .book-card { position: static; margin-top: 8px; box-shadow: none; border: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 62vh; border-radius: 0; margin: 0 -20px; }
  .g-item:not(:first-child) { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); align-items: center; gap: 14px; }
  .mobile-bar .p b { display: block; font-size: 19px; letter-spacing: -.03em; }
  .mobile-bar .p span { font-size: 12px; color: var(--muted); font-weight: 600; }
  .mobile-bar .btn { margin-left: auto; }
  body.has-mobile-bar .site-footer { padding-bottom: 120px; }
}

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 12, 10, .96); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: #fff; font-weight: 700; }
.lb-top .icon-btn { background: rgba(255, 255, 255, .1); border: 0; color: #fff; }
.lb-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .12); color: #fff; border: 0; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-thumbs { display: flex; gap: 8px; padding: 14px; overflow-x: auto; justify-content: center; }
.lb-thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; opacity: .5; flex: none; transition: opacity .2s; }
.lb-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- modal / sheet */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21, 22, 15, .5); animation: fade .25s; }
.modal-panel { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); }
.modal-close { position: absolute; top: 16px; right: 16px; }
.modal h2 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.03em; padding-right: 48px; }
.modal .sub { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.modal-prop { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 20px; }
.modal-prop img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #dcdad2; }
.modal-prop b { display: block; font-size: 15px; line-height: 1.3; }
.modal-prop span { font-size: 13px; color: var(--muted); font-weight: 600; }
.progress { display: flex; gap: 6px; margin: 0 0 22px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.progress i.on { background: var(--green-2); }
.day-chips { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.day-chips::-webkit-scrollbar { display: none; }
.day-chips button, .time-chips button { border: 1px solid var(--line-2); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, color .2s; }
.day-chips button { height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.day-chips button small { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.day-chips button b { font-size: 20px; letter-spacing: -.02em; }
.day-chips button[aria-pressed="true"], .time-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day-chips button[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.time-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-chips button { height: 44px; font-weight: 700; font-size: 14px; }
.pay-amount { text-align: center; margin-bottom: 18px; }
.pay-amount span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pay-amount b { display: block; font-size: 40px; letter-spacing: -.04em; line-height: 1.1; }
.qr-box { position: relative; width: 236px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; text-align: center; }
.qr-box .fp { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #c8102e; margin-bottom: 8px; }
.qr-box img, .qr-box svg { width: 100%; height: auto; display: block; }
.qr-box .merchant { font-size: 12px; font-weight: 700; margin-top: 8px; color: var(--ink-2); }
.demo-ribbon { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.demo-ribbon span { background: var(--red); color: #fff; font-weight: 800; letter-spacing: .2em; padding: 6px 18px; border-radius: 8px; transform: rotate(-14deg); font-size: 18px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.demo-note { text-align: center; font-size: 12.5px; color: var(--red); font-weight: 700; margin: 10px 0 0; }
.remark { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--saffron-soft); border-radius: 16px; padding: 12px 14px; margin: 18px 0 14px; }
.remark span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #9a5b06; display: block; }
.remark b { font-size: 20px; letter-spacing: .02em; }
.pay-steps { margin: 0 0 18px; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; }
.pay-steps li { margin-bottom: 4px; }
.upload { display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--line-2); border-radius: 16px; padding: 14px; cursor: pointer; transition: border-color .2s; }
.upload:hover { border-color: var(--ink); }
.upload input { display: none; }
.upload .thumb { width: 48px; height: 48px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; flex: none; }
.upload .thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload b { display: block; font-size: 14px; }
.upload small { color: var(--muted); font-size: 13px; }
.done { text-align: center; padding: 10px 0 0; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.done .ok svg { width: 30px; height: 30px; stroke-width: 2.2; }
.done .ref { display: inline-block; font-size: 22px; font-weight: 800; letter-spacing: .06em; background: var(--surface-2); border: 1px solid var(--line); padding: 8px 16px; border-radius: 12px; margin: 12px 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 560px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { border-radius: 26px 26px 0 0; max-height: 94vh; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); animation-name: sheet; }
  @keyframes sheet { from { transform: translateY(100%); } }
  .time-chips { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); display: flex; gap: 10px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: #ffd08a; }
body.has-mobile-bar .toast { bottom: 96px; }

/* ---------------------------------------------------------------- saved page */
.booking-list { display: grid; gap: 10px; margin-bottom: 40px; }
.booking-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px 10px 10px; }
.booking-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #dcdad2; }
.booking-row b { display: block; font-size: 15px; }
.booking-row span { font-size: 13px; color: var(--muted); font-weight: 600; }
.status { display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; }
.status.awaiting_payment { background: var(--saffron-soft); border-color: transparent; color: #9a5b06; }
.status.paid_unverified { background: #eef1fb; border-color: transparent; color: #2a3f8f; }
.status.confirmed, .status.completed { background: var(--green-soft); border-color: transparent; color: var(--green); }
.status.cancelled, .status.refunded { background: #f8e9e5; border-color: transparent; color: var(--red); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ================================================================ v2 additions */
html.lang-ne body { font-family: var(--font-np); }
html.lang-ne .hero h1, html.lang-ne .section-head h2, html.lang-ne .page-head h1, html.lang-ne .prop-title h1 { letter-spacing: -.01em; line-height: 1.15; }
html.lang-ne .num { font-family: var(--font-np); }
.lang-btn { height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14px; transition: border-color .2s; }
.lang-btn:hover { border-color: var(--ink); }
.lang-btn .np { font-family: var(--font-np); font-size: 15px; }
.badge.verified { background: var(--green); color: #fff; }
.badge.verified svg { width: 14px; height: 14px; }
.card-pa { font-size: 13px; font-weight: 700; color: var(--green); margin-top: -2px; }

/* compare tray */
.cmp-tray { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 45; display: inline-flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); }
.cmp-tray svg { width: 18px; height: 18px; }
body.has-mobile-bar .cmp-tray { bottom: 92px; }
.btn[aria-pressed="true"] { background: var(--green-soft); border-color: transparent; color: var(--green); }

/* booking: payment step */
.fee-line { display: flex; justify-content: space-between; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.fee-line b { font-size: 18px; }
.charge { background: var(--green); color: #fff; border-radius: 20px; padding: 16px 18px; margin: 6px 0 18px; }
.charge div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.charge span { font-weight: 700; font-size: 15px; opacity: .9; }
.charge b { font-size: 30px; letter-spacing: -.03em; }
.charge small { display: block; margin-top: 2px; font-size: 13px; opacity: .8; font-weight: 600; }
.qr-save { text-align: center; margin: 14px 0 6px; }
.qr-save p { font-size: 13px; color: var(--muted); margin: 8px auto 0; max-width: 360px; }
.pay-h { font-size: 16px; margin: 20px 0 10px; letter-spacing: -.01em; }
.pay-steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; counter-reset: none; }
.pay-steps li { display: grid; grid-template-columns: 26px 36px 1fr; gap: 10px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin: 0; }
.ps-n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ps-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.ps-ic svg { width: 19px; height: 19px; }
.pay-steps b { color: var(--ink); }

/* property page extras */
.prop-tools .btn { height: 42px; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.doc { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.doc .mk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--green); color: #fff; }
.doc .mk svg { width: 15px; height: 15px; stroke-width: 2.4; }
.doc.off { color: var(--muted); }
.doc.off .mk { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--line-2); }
.doc small { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); }
.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.near { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.near b { display: block; font-size: 15px; line-height: 1.25; }
.near span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.near em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 14px; white-space: nowrap; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.emi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.range label { display: flex; flex-wrap: wrap; gap: 2px 8px; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.range label b { color: var(--ink); }
.range input[type=range] { width: 100%; accent-color: var(--green-2); height: 28px; }
.emi-out { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; margin-top: 18px; }
.emi-out div { background: var(--surface-2); padding: 14px; }
.emi-out span { display: block; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.emi-out b { font-size: 18px; letter-spacing: -.02em; }
.emi-out div:first-child { background: var(--green); color: #fff; }
.emi-out div:first-child span { color: rgba(255, 255, 255, .75); }
.emi-out div:first-child b { font-size: 24px; }
.tool-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.conv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.conv div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.conv span { display: block; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.conv b { font-size: 15.5px; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #111; }
.video-frame.tall { aspect-ratio: 9 / 16; max-width: 360px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .emi-grid, .conv { grid-template-columns: minmax(0, 1fr); }
  .emi-out { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .emi-out div:first-child { grid-column: 1 / -1; }
}

/* compare page */
.cmp-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px 10px; }
.cmp-table { border-collapse: separate; border-spacing: 0; min-width: 640px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 15px; }
.cmp-table tr:first-child th, .cmp-table tr:first-child td { border-top: 0; }
.cmp-table th { width: 170px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: var(--surface-2); }
.cmp-table td { font-weight: 600; }
.cmp-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #dcdad2; }
.cmp-head a.t { display: block; font-weight: 800; font-size: 16px; margin: 10px 0 8px; line-height: 1.3; }
.cmp-best { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 3px 8px; border-radius: 999px; }

/* mobile: let title tools and section actions wrap instead of widening the page */
.range input { min-width: 0; width: 100%; }
@media (max-width: 640px) {
  .prop-title { flex-wrap: wrap; gap: 12px; }
  .prop-title > div:first-child { flex: 1 1 100%; min-width: 0; }
  .section-head { flex-wrap: wrap; gap: 14px; }
  .section-head .actions { flex-wrap: wrap; }
}
.brand > span { white-space: nowrap; }
@media (max-width: 420px) {
  .brand small { display: none; }
  .lang-btn { padding: 0 11px; font-size: 13px; }
}
@media (max-width: 400px) {
  .brand { gap: 7px; font-size: 16px; min-width: 0; }
  .brand img { width: 32px; height: 32px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn { width: 38px; height: 38px; }
  .lang-btn { height: 38px; padding: 0 9px; }
}
@media (max-width: 350px) { .brand > span { white-space: normal; } }
