/* ગોંડલ પ્રોપર્ટી બજાર — styles */
:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-2: #efe9dd;
  --text: #1b2230;
  --muted: #5d6573;
  --line: #e3ddcf;
  --brand: #0e4d5c;
  --brand-ink: #ffffff;
  --brand-soft: #dcecef;
  --accent: #e0601a;
  --accent-soft: #fde8da;
  --ok: #1f8a4c;
  --ok-soft: #dcf3e5;
  --warn: #b7791f;
  --warn-soft: #fbf0d9;
  --danger: #c0392b;
  --danger-soft: #fbe2df;
  --shadow: 0 1px 2px rgba(20, 30, 45, .05), 0 8px 28px rgba(20, 30, 45, .07);
  --shadow-lg: 0 18px 50px rgba(20, 30, 45, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --head: 'Baloo Bhai 2', 'Hind Vadodara', system-ui, sans-serif;
  --body: 'Hind Vadodara', 'Noto Sans Gujarati', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1318; --surface: #161d24; --surface-2: #1d2630; --text: #e8edf2; --muted: #9ba6b3;
    --line: #2a3440; --brand: #4fb0c2; --brand-ink: #071a1f; --brand-soft: #16343b;
    --accent: #f2843f; --accent-soft: #3a2416; --ok: #4cc283; --ok-soft: #133224;
    --warn: #e0a94a; --warn-soft: #382a12; --danger: #ef6a5b; --danger-soft: #3b1a17;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35); --shadow-lg: 0 18px 50px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1318; --surface: #161d24; --surface-2: #1d2630; --text: #e8edf2; --muted: #9ba6b3;
  --line: #2a3440; --brand: #4fb0c2; --brand-ink: #071a1f; --brand-soft: #16343b;
  --accent: #f2843f; --accent-soft: #3a2416; --ok: #4cc283; --ok-soft: #133224;
  --warn: #e0a94a; --warn-soft: #382a12; --danger: #ef6a5b; --danger-soft: #3b1a17;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35); --shadow-lg: 0 18px 50px rgba(0,0,0,.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body);
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.25; margin: 0 0 .4em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; }
.logo small { display: block; font-family: var(--body); font-weight: 500; font-size: .72rem; color: var(--muted); line-height: 1; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a, .icon-btn {
  text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer;
}
.nav a:hover, .icon-btn:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { color: var(--brand); background: var(--brand-soft); }
.fav-count { background: var(--accent); color: #fff; border-radius: 99px; font-size: .7rem; padding: 0 6px; min-width: 18px; text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 11px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform .12s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--line); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.demo-banner { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: .88rem; padding: 6px 16px; font-weight: 600; }

/* ---------- mobile bottom nav ---------- */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  .nav .hide-m { display: none; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 45;
    background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .72rem; text-decoration: none; color: var(--muted); font-weight: 600; padding: 4px; }
  .bottom-nav a.active { color: var(--brand); }
  .bottom-nav a .icon { width: 22px; height: 22px; }
  .bottom-nav .post-fab { margin-top: -22px; }
  .bottom-nav .post-fab span.fab { width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 45%, transparent); }
  body { padding-bottom: 76px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: #0b3c48; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; padding: 56px 0 64px; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); max-width: 16ch; font-weight: 800; }
.hero p.lead { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 44ch; opacity: .9; margin: 0 0 26px; }
.hero-stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats b { font-family: var(--head); font-size: 1.5rem; display: block; line-height: 1; }
.hero-stats span { font-size: .85rem; opacity: .8; }

.search-panel {
  background: var(--surface); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px; max-width: 860px;
}
.seg { display: inline-flex; background: var(--surface-2); padding: 4px; border-radius: 12px; gap: 4px; margin-bottom: 12px; }
.seg button { border: 0; background: none; padding: 7px 16px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.search-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 10px; }
@media (max-width: 760px) { .search-grid { grid-template-columns: 1fr 1fr; } .search-grid .btn { grid-column: 1 / -1; } .search-grid .full-m { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: 5px; }
.field > span, .label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: 11px; padding: 10px 12px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.input { min-height: 120px; resize: vertical; }
.req::after { content: ' *'; color: var(--danger); }

/* ---------- sections ---------- */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0; }
.section-head p { margin: 2px 0 0; color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.cat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 8px; text-align: center;
  text-decoration: none; font-weight: 600; font-size: .92rem; transition: transform .15s, box-shadow .2s, border-color .2s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.cat .cat-ic { width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.cat .cat-ic .icon { width: 24px; height: 24px; }
.cat small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.card {
  position: relative; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: transform .18s, box-shadow .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); display: block; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface); color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.badge.sale { background: var(--brand); color: var(--brand-ink); }
.badge.rent { background: #6d3fc0; color: #fff; }
.badge.feat { background: #f5b301; color: #2b1d00; }
.badge.sold { background: var(--danger); color: #fff; }
.badge.pending { background: var(--warn-soft); color: var(--warn); }
.photo-count { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .76rem; padding: 2px 8px; border-radius: 8px; display: flex; align-items: center; gap: 4px; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #444; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: transform .15s;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn[aria-pressed="true"] { color: #e0245e; }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price { font-family: var(--head); font-size: 1.35rem; font-weight: 800; color: var(--brand); line-height: 1.2; }
.price small { font-size: .78rem; font-weight: 600; color: var(--muted); font-family: var(--body); }
.card-title { font-size: 1.02rem; font-weight: 600; margin: 0; font-family: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card .fav-btn { z-index: 2; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .88rem; }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: auto; }
.card.is-sold .card-media img { filter: grayscale(.8); }

.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sh 1.3s infinite; border-radius: var(--radius); height: 330px; }
@keyframes sh { to { background-position: -200% 0; } }

.empty { text-align: center; padding: 48px 16px; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty .icon { width: 54px; height: 54px; color: var(--muted); margin-bottom: 8px; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.feature .f-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 10px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }

.cta-band { background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); color: #fff; border-radius: 24px; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 4px 0 0; opacity: .88; }
[data-theme="dark"] .cta-band, :root:not([data-theme="light"]) .cta-band { color: #fff; }

/* ---------- search page ---------- */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 24px 0 48px; align-items: start; }
@media (max-width: 900px) { .search-layout { grid-template-columns: 1fr; } }
.filters { background: var(--surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); display: grid; gap: 14px; position: sticky; top: 80px; }
@media (max-width: 900px) {
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 86vh; overflow: auto; z-index: 60; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .28s; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .filters.open { transform: none; box-shadow: var(--shadow-lg); }
}
.filters-toggle { display: none; }
@media (max-width: 900px) { .filters-toggle { display: inline-flex; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: 6px 12px; border-radius: 99px; cursor: pointer; font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"], .chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.results-head h1 { font-size: 1.35rem; margin: 0; }
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
.backdrop.show { opacity: 1; pointer-events: auto; }

/* ---------- detail ---------- */
.crumbs { font-size: .88rem; color: var(--muted); padding: 16px 0 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--brand); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(480px, 56vw); border-radius: var(--radius); overflow: hidden; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; background: var(--surface-2); position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery.n1 { grid-template-columns: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; }
.gallery.n2 button:nth-child(2) { grid-row: 1 / 3; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery .more { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
@media (max-width: 760px) {
  .gallery, .gallery.n2, .gallery.n3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 62vw; border-radius: 0; margin-inline: -16px; grid-template-columns: none; }
  .gallery button { flex: 0 0 100%; scroll-snap-align: center; }
  .gallery .more { display: none; }
}
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 22px 0 56px; align-items: start; }
@media (max-width: 960px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 6px 0; }
.detail-price { font-family: var(--head); font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; color: var(--brand); line-height: 1.1; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 18px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 12px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.spec { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.spec small { display: block; color: var(--muted); font-size: .78rem; }
.spec b { font-weight: 700; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 14px; }
.amen span { display: flex; align-items: center; gap: 8px; }
.amen .icon { color: var(--ok); }
.desc { white-space: pre-line; }
.map-frame { width: 100%; height: 300px; border: 0; border-radius: 12px; background: var(--surface-2); }
.contact-card { position: sticky; top: 84px; margin-top: 0; }
.owner { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; font-family: var(--head); }
.phone-reveal { font-family: var(--head); font-size: 1.3rem; letter-spacing: .5px; }
.contact-actions { display: grid; gap: 10px; }
.mini-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.tip { background: var(--warn-soft); color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: .88rem; margin-top: 14px; display: flex; gap: 10px; }
.tip .icon { color: var(--warn); margin-top: 3px; }
.stat-line { display: flex; gap: 16px; color: var(--muted); font-size: .86rem; margin-top: 10px; flex-wrap: wrap; }
.stat-line span { display: inline-flex; align-items: center; gap: 4px; }
.sticky-cta { display: none; }
@media (max-width: 960px) {
  .contact-card { position: static; }
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); z-index: 44; }
}
@media (min-width: 761px) and (max-width: 960px) { .sticky-cta { bottom: 0; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: #05080c; z-index: 100; display: none; touch-action: pan-y; }
.lightbox.open { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #fff; }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform .25s; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255,255,255,.26); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-thumbs { display: flex; gap: 6px; padding: 10px 16px 16px; overflow-x: auto; justify-content: center; }
.lb-thumbs button { width: 64px; height: 48px; flex: none; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; opacity: .55; background: #222; }
.lb-thumbs button.on { border-color: #fff; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-close { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }

/* ---------- forms (post) ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 24px 0 56px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { order: -1; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.form-card h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: .9rem; flex: none; }
.row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }
.row.three { grid-template-columns: repeat(3, 1fr); }
.row > .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .row, .row.three { grid-template-columns: 1fr; } }
.type-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.type-pick label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; cursor: pointer; font-weight: 600; font-size: .9rem; position: relative; }
.type-pick label .icon { display: block; margin: 0 auto 4px; width: 26px; height: 26px; color: var(--brand); }
.type-pick input { position: absolute; opacity: 0; }
.type-pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.type-pick label:has(input:focus-visible) { outline: 3px solid var(--accent); }
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px 16px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; display: block; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone .icon { width: 40px; height: 40px; color: var(--brand); margin: 0 auto 6px; display: block; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 14px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 2px solid transparent; }
.thumb.cover { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .t-act { position: absolute; inset: auto 4px 4px 4px; display: flex; justify-content: space-between; gap: 4px; }
.thumb .t-act button { border: 0; background: rgba(0,0,0,.65); color: #fff; border-radius: 8px; width: 28px; height: 28px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.thumb .cover-tag { position: absolute; top: 4px; left: 4px; background: var(--accent); color: #fff; font-size: .7rem; padding: 1px 7px; border-radius: 6px; font-weight: 700; }
.thumb.loading::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); background-size: 200% 100%; animation: sh 1s infinite; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 3px; flex: none; }
.progress { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 12px; display: none; }
.progress.show { display: block; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.form-error { background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600; display: none; }
.form-error.show { display: block; }
.preview-card { position: sticky; top: 84px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- tools ---------- */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0 56px; }
@media (max-width: 860px) { .tools-grid { grid-template-columns: 1fr; } }
.result-big { font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--brand); }
.emi-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; margin: 10px 0 6px; }
.emi-bar i:first-child { background: var(--brand); } .emi-bar i:last-child { background: var(--accent); }
.legend { display: flex; gap: 16px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--c); }
input[type=range] { width: 100%; accent-color: var(--brand); }
.conv-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.conv-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.conv-table td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- admin / my ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { border: 0; background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.tab .n { opacity: .75; font-weight: 600; margin-left: 4px; }
.admin-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; align-items: start; }
.admin-row img, .admin-row .ph { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.admin-row .acts { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 680px) { .admin-row { grid-template-columns: 90px 1fr; } .admin-row img, .admin-row .ph { width: 90px; height: 70px; } .admin-row .acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.kpi b { font-family: var(--head); font-size: 1.6rem; display: block; line-height: 1.1; }
.kpi span { color: var(--muted); font-size: .85rem; }
.report-note { background: var(--danger-soft); color: var(--danger); border-radius: 8px; padding: 4px 8px; font-size: .84rem; margin-top: 6px; }

/* ---------- footer ---------- */
.footer { background: #0b2a33; color: #c9d6da; padding: 40px 0 28px; margin-top: 30px; }
.footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h3 { color: #fff; font-size: 1.05rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; font-size: .84rem; opacity: .8; }

/* ---------- toast / modal ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: #1b2230; color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 600; z-index: 120; opacity: 0; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
dialog.modal { border: 0; border-radius: 20px; padding: 0; width: min(460px, calc(100% - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(0,0,0,.5); }
.modal-body { padding: 22px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

.page-head { padding: 28px 0 6px; }
.page-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.page-head p { color: var(--muted); margin: 4px 0 0; }
.center { text-align: center; }
.mt { margin-top: 18px; }
.success-box { text-align: center; padding: 40px 20px; }
.success-box .big-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; }
.success-box .big-ic .icon { width: 40px; height: 40px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#preview{pointer-events:none}

/* ===== v2: smaller, scalable images + friendlier layout ===== */
.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card-media { aspect-ratio: 16 / 10; }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { border-radius: 14px; }
  .card-body { padding: 9px 10px 10px; gap: 2px; }
  .price { font-size: 1.05rem; }
  .price small { font-size: .7rem; }
  .card-title { font-size: .88rem; line-height: 1.35; }
  .meta { font-size: .76rem; gap: 2px 8px; }
  .meta span:nth-child(n+3) { display: none; }
  .card-foot { font-size: .7rem; padding-top: 6px; }
  .card-foot span:first-child { display: none; }
  .badge { font-size: .66rem; padding: 2px 7px; }
  .badges { top: 6px; left: 6px; gap: 4px; }
  .fav-btn { width: 32px; height: 32px; top: 6px; right: 6px; }
  .fav-btn .icon { width: 16px; height: 16px; }
  .photo-count { bottom: 6px; left: 6px; font-size: .7rem; }
  .skeleton { height: 230px; }
}

/* detail gallery: compact, tap to open zoom viewer */
.gallery { height: min(380px, 40vw); }
.gallery button::after { content: '🔍'; position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.55); border-radius: 8px; padding: 2px 6px; font-size: .8rem; opacity: 0; transition: opacity .2s; }
.gallery button:first-child::after { opacity: 1; }
@media (max-width: 760px) {
  .gallery, .gallery.n2, .gallery.n3 { height: min(58vw, 300px); }
}
.gallery-hint { font-size: .8rem; color: var(--muted); margin: 6px 0 0; text-align: right; }

/* zoom viewer */
.lb-stage { touch-action: none; cursor: zoom-in; }
.lb-stage.zoomed { cursor: grab; }
.lb-stage img { max-width: min(100%, 1100px); max-height: 100%; transition: transform .12s ease-out; transform-origin: center; will-change: transform; }
.lb-zoom { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border-radius: 99px; padding: 3px; }
.lb-zoom button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.lb-zoom span { min-width: 46px; text-align: center; font-size: .85rem; color: #fff; font-variant-numeric: tabular-nums; }
.lb-thumbs button { width: 54px; height: 40px; }

/* admin */
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 14px; padding: 10px 14px; margin-top: 14px; }
.admin-bar b { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); }
.admin-bar .badge { box-shadow: none; }
.admin-bar-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.admin-desc { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.admin-row .acts .btn { min-width: 110px; }
#adminLink { position: relative; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; gap: 10px; } }
.how-step { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.how-step > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--head); }
.how-step p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.back-link { font-weight: 700; margin-right: 6px; }

/* bigger touch targets & readable text on phones */
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .hero .wrap { padding: 36px 0 40px; }
  .section { padding: 30px 0; }
}

[hidden] { display: none !important; }

/* ===== v3: MyKhetar brand + professional responsive polish ===== */
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.2px; color: var(--text); }
.brand-name em { font-style: normal; color: var(--accent); }
.brand small { margin-top: 2px; }
.footer .brand-name.foot { color: #fff; font-size: 1.5rem; }
.foot-cta { background: rgba(255,255,255,.08); border-radius: 10px; padding: 8px 12px; display: inline-block; margin: 4px 0 0; }

.hero-kicker { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 5px 12px; border-radius: 99px; font-size: .9rem; font-weight: 600; margin-bottom: 14px; backdrop-filter: blur(6px); }
.hero h1 { max-width: 20ch; }
.hero h1 .hl { color: #ffc58f; display: inline-block; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.city-chips a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 6px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); transition: background .15s; }
.city-chips a:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.stat-line .hot { color: var(--accent); font-weight: 700; }

/* Tablet (portrait & landscape) */
@media (min-width: 561px) and (max-width: 1024px) {
  .wrap { width: min(1200px, 100% - 40px); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .gallery { height: 46vw; max-height: 420px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .search-layout { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
}
@media (min-width: 561px) and (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
/* Large desktop */
@media (min-width: 1025px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .search-layout .grid { grid-template-columns: repeat(3, 1fr); }
}
/* Footer: 4 columns on desktop, 2 on tablet, 1 on phone */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Phone refinements */
@media (max-width: 560px) {
  .brand-name { font-size: 1.15rem; }
  .logo-mark { width: 34px; height: 34px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-kicker { font-size: .8rem; }
  .search-panel { padding: 12px; }
  .city-chips a { font-size: .82rem; padding: 5px 10px; }
  .detail-title { font-size: 1.35rem; }
  .panel { padding: 16px; }
}

/* Subtle professional touches */
.card { will-change: transform; }
.topbar { box-shadow: 0 1px 0 var(--line); }
.btn-primary, .btn-brand, .btn-wa { letter-spacing: .1px; }
::selection { background: var(--accent-soft); }

/* ===== v4: compact, professional layout ===== */
.hero .wrap { padding: 34px 0 30px; }
.hero h1 { font-size: clamp(1.45rem, 2.9vw, 2.15rem); max-width: 30ch; line-height: 1.3; font-weight: 800; margin-bottom: 6px; }
.hero h1 .hl { display: inline; }
.hero p.lead { font-size: clamp(.92rem, 1.4vw, 1.05rem); margin: 0 0 18px; opacity: .88; }
.search-panel { padding: 12px; border-radius: 14px; max-width: 900px; }
.search-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.search-top .seg { margin-bottom: 0; }
.search-top .city-chips { margin-top: 0; }
.search-grid { grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; }
.search-grid .input { min-height: 44px; }
.search-grid .btn { min-height: 44px; padding: 0 20px; }
.hero-art { opacity: .9; }

.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: flex; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; padding: 10px 0; font-size: .88rem; font-weight: 600; color: var(--muted); }
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip .icon { color: var(--accent); }

.section { padding: 26px 0; }
.section-head { margin-bottom: 12px; align-items: center; }
.section-head h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.cats { grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cat { padding: 10px 6px; font-size: .84rem; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cat .cat-ic { width: 36px; height: 36px; border-radius: 10px; margin: 0; }
.cat .cat-ic .icon { width: 19px; height: 19px; }

.cta-band { padding: 18px 22px; border-radius: 16px; }
.cta-band h2 { font-size: 1.2rem; }
.cta-band p { font-size: .92rem; }

.footer { padding: 26px 0 18px; margin-top: 10px; font-size: .92rem; }
.footer h3 { font-size: .98rem; margin-bottom: 6px; }
.footer .fine { margin-top: 16px; padding-top: 12px; }

@media (max-width: 1024px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .full-m, .search-grid .btn { grid-column: 1 / -1; }
  .trust-strip .wrap { justify-content: flex-start; font-size: .8rem; gap: 6px 14px; }
}
@media (max-width: 560px) {
  .hero .wrap { padding: 22px 0 20px; }
  .hero h1 { font-size: 1.35rem; }
  .search-top { flex-direction: column; align-items: stretch; }
  .search-top .seg { align-self: flex-start; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .cat { font-size: .74rem; padding: 8px 4px; }
  .cat .cat-ic { width: 32px; height: 32px; }
  .section { padding: 20px 0; }
  .cta-band { padding: 16px; }
}

/* ===== v5: hearts, bottom nav, account, contact ===== */
/* favourite heart: red when saved */
.fav-btn { color: #5d6573; background: rgba(255,255,255,.95); }
.fav-btn[aria-pressed="true"] { background: #e0245e; color: #fff; }
.fav-btn[aria-pressed="true"] svg { fill: #fff; stroke: #fff; }
.fav-btn:active { transform: scale(.9); }
.gallery-wrap { position: relative; }
.gallery-fav { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; z-index: 5; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.gallery-fav .icon { width: 22px; height: 22px; }
@media (max-width: 760px) { .gallery-fav { top: 10px; right: -4px; } }
.fav-text[aria-pressed="true"] { background: #fde3ea; color: #c81d4e; }
.fav-text[aria-pressed="true"] svg { fill: currentColor; }

/* header account link */
.acct-link { border: 1.5px solid var(--line); }
.show-m { display: none !important; }
@media (max-width: 760px) { .show-m { display: inline-flex !important; } }

/* bottom nav: Home in the centre, Add to its right */
.bottom-nav .home-fab { margin-top: -22px; }
.bottom-nav .home-fab .fab { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 40%, transparent); border: 3px solid var(--surface); }
.bottom-nav .home-fab.active { color: var(--brand); }
.bottom-nav .add-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.bottom-nav .add-ic .icon { width: 18px; height: 18px; }
.bottom-nav .add-tab { color: var(--accent); }

/* account */
.narrow-page { max-width: 760px; }
.auth-card .seg { margin-bottom: 14px; }
.auth-form { display: grid; gap: 12px; }
.small-note { font-size: .86rem; margin: 2px 0 0; text-align: center; }
.acct-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 36px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.office-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.office-head .logo-mark { flex: none; }
.office-head .muted { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.office-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.foot-office { font-style: normal; background: rgba(255,255,255,.07); border-radius: 10px; padding: 10px 12px; line-height: 1.7; display: inline-block; }
.msg-row .avatar { width: 48px; height: 48px; }
.msg-row.done { opacity: .65; }
@media (max-width: 680px) { .admin-row.msg-row { grid-template-columns: 48px 1fr; } }

/* ===== v6: offers ===== */
.btn-offer { background: #f5b301; color: #2b1d00; box-shadow: 0 6px 16px rgba(245,179,1,.3); }
.btn-offer:hover { background: #e6a800; }
.sticky-cta.three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.sticky-cta.three .btn { padding-inline: 8px; }
.offer-form { display: grid; gap: 10px; }
.offer-form .offer-price { font-family: var(--head); font-size: 1.25rem; font-weight: 700; }
.offer-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.offer-row:last-child { border-bottom: 0; }
.offer-amt { font-family: var(--head); font-size: 1.15rem; color: var(--ok); }
.offer-acts { display: flex; gap: 6px; }

/* ===== v7: ad-page action bar sits clear of the raised Home button ===== */
@media (max-width: 760px) {
  .sticky-cta { padding: 10px 14px 34px; box-shadow: 0 -6px 18px rgba(20,30,45,.08); }
  body:has(.sticky-cta) { padding-bottom: 168px; }
}

/* ===== v8: sample ads + admin edit ===== */
.badge.sample { background: #ece7f7; color: #5b3fa0; }
.sample-note { display: flex; gap: 6px; align-items: center; background: #f1edfa; color: #4a3486; border-radius: 10px; padding: 6px 10px; font-size: .88rem; margin: 2px 0 6px; }
.sample-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.sample-tools > span { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; }
.sample-toggle { background: #f1edfa; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.edit-thumb { cursor: pointer; }
.edit-thumb .rm-tag { position: absolute; left: 4px; bottom: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: .75rem; padding: 2px 7px; border-radius: 7px; display: flex; align-items: center; gap: 4px; }
.edit-thumb:has(input:checked) img { opacity: .35; }
.edit-thumb:has(input:checked) { border-color: var(--danger); }
