:root {
  --acc: #1fbf75;
  --acc-dark: #169b5e;
  --acc-soft: #e8f8f0;
  --ink: #1c2530;
  --ink-2: #5a6573;
  --ink-3: #8b95a3;
  --line: #e7eaef;
  --bg: #f5f6f8;
  --card: #ffffff;
  --urgent: #ef5350;
  --shadow-sm: 0 1px 2px rgba(20,30,45,.05), 0 2px 8px rgba(20,30,45,.04);
  --shadow-md: 0 4px 14px rgba(20,30,45,.08), 0 10px 30px rgba(20,30,45,.06);
  --r: 14px;
  --r-sm: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
svg { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ===== Topbar ===== */
.topbar {
  background: var(--ink);
  color: #cdd4dd;
  font-size: 13px;
}
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 40px; }
.topbar a, .topbar button { color: #cdd4dd; transition: color .15s; }
.topbar a:hover, .topbar button:hover { color: #fff; }
.topbar .spacer { flex: 1; }
.tb-city { display: inline-flex; align-items: center; gap: 5px; }
.tb-city svg { width: 15px; height: 15px; }
.tb-post { color: #fff !important; font-weight: 600; }

/* ===== Header ===== */
.header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .wrap { display: flex; align-items: center; gap: 18px; height: 76px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--acc); }

.searchbar {
  flex: 1; display: flex; align-items: stretch; background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .15s, box-shadow .15s; max-width: 720px;
}
.searchbar:focus-within { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.searchbar .cat-btn {
  display: flex; align-items: center; gap: 7px; padding: 0 16px; font-size: 14px;
  color: var(--ink-2); border-right: 1px solid var(--line); white-space: nowrap; font-weight: 500;
}
.searchbar .cat-btn:hover { color: var(--acc); }
.searchbar .cat-btn svg { width: 17px; height: 17px; }
.searchbar input { flex: 1; border: none; outline: none; padding: 0 16px; min-width: 80px; }
.searchbar input::placeholder { color: var(--ink-3); }
.searchbar .go { background: var(--acc); color: #fff; padding: 0 24px; display: flex; align-items: center; font-weight: 600; transition: background .15s; }
.searchbar .go:hover { background: var(--acc-dark); }
.searchbar .go svg { width: 18px; height: 18px; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 11px; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.fav-count {
  position: absolute; top: 3px; right: 7px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--urgent); color: #fff; font-size: 10px; font-weight: 700; border-radius: 9px;
  display: none; align-items: center; justify-content: center; line-height: 17px;
}
.fav-count.on { display: flex; }
.btn-post {
  display: inline-flex; align-items: center; gap: 8px; background: var(--acc); color: #fff;
  font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: var(--r); transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn-post:hover { background: var(--acc-dark); }
.btn-post:active { transform: scale(.97); }
.btn-post svg { width: 17px; height: 17px; }
.burger { display: none; }

/* ===== Category strip ===== */
.catbar { background: var(--card); border-bottom: 1px solid var(--line); }
.catbar .wrap { display: flex; gap: 4px; overflow-x: auto; height: 52px; align-items: center; scrollbar-width: none; }
.catbar .wrap::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; font-weight: 500;
}
.cat-pill svg { width: 17px; height: 17px; color: var(--ink-3); }
.cat-pill:hover { background: var(--bg); color: var(--ink); }
.cat-pill.active { background: var(--acc-soft); color: var(--acc-dark); }
.cat-pill.active svg { color: var(--acc); }

/* ===== Hero ===== */
.hero { padding: 28px 0 8px; }
.hero-banner {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 230px;
  display: flex; align-items: center; background: linear-gradient(110deg, #143d2c 0%, #1a7a52 60%, #1fbf75 100%);
  box-shadow: var(--shadow-md); cursor: pointer; transition: transform .2s;
}
.hero-banner:hover { transform: translateY(-2px); }
.hero-banner .bg-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity;
}
.hero-banner .inner { position: relative; padding: 38px 44px; color: #fff; max-width: 600px; }
.hero-banner .tag { display: inline-block; background: rgba(255,255,255,.16); padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .03em; margin-bottom: 14px; }
.hero-banner h1 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.hero-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 22px; max-width: 440px; }
.hero-banner .b-cta { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 12px; transition: transform .12s; }
.hero-banner:hover .b-cta { transform: translateX(3px); }

/* ===== Category tiles ===== */
.section { padding: 32px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.section-head .link { color: var(--acc); font-weight: 600; font-size: 14px; }
.section-head .link:hover { color: var(--acc-dark); }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, box-shadow .15s, transform .1s; text-align: left;
}
.tile:hover { border-color: var(--acc); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.tile .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--acc-soft); color: var(--acc-dark); display: flex; align-items: center; justify-content: center; }
.tile .ic svg { width: 24px; height: 24px; }
.tile .tname { font-weight: 700; font-size: 15px; }
.tile .tcount { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ===== Listings toolbar ===== */
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.list-toolbar h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.list-toolbar .meta { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.tb-right { display: flex; align-items: center; gap: 12px; }
.view-toggle { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.view-toggle button { width: 34px; height: 30px; border-radius: 7px; color: var(--ink-3); display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.view-toggle button.active { background: var(--acc-soft); color: var(--acc-dark); }
.view-toggle button svg { width: 18px; height: 18px; }
.sort-sel { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 8px 12px; font-size: 14px; color: var(--ink-2); outline: none; cursor: pointer; }
.sort-sel:focus { border-color: var(--acc); }

/* ===== Cards grid ===== */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .18s, transform .12s; cursor: pointer; position: relative;
}
.card:hover { border-color: #d4dae2; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .ph { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #eef1f4, #e4e8ee); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .ph img { transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 7px; letter-spacing: .01em; color: #fff; backdrop-filter: blur(2px); }
.badge.new { background: var(--acc); }
.badge.urgent { background: var(--urgent); }
.fav-btn {
  position: absolute; top: 9px; right: 9px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink-3); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(20,30,45,.12); transition: transform .12s, color .15s; z-index: 2;
}
.fav-btn svg { width: 19px; height: 19px; fill: none; }
.fav-btn:hover { transform: scale(1.12); color: var(--urgent); }
.fav-btn.on { color: var(--urgent); }
.fav-btn.on svg { fill: var(--urgent); }
.card .body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .price { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.card .ctitle { font-size: 14px; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.card .cmeta { margin-top: auto; display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12.5px; padding-top: 4px; }
.card .cmeta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

/* list view */
.grid.list-view { grid-template-columns: 1fr; gap: 12px; }
.grid.list-view .card { flex-direction: row; }
.grid.list-view .card .ph { width: 240px; flex: none; aspect-ratio: auto; }
.grid.list-view .card .body { padding: 16px 18px; gap: 8px; }
.grid.list-view .card .price { font-size: 22px; order: -1; }
.grid.list-view .card .ctitle { font-size: 16px; -webkit-line-clamp: 1; min-height: 0; font-weight: 600; }
.grid.list-view .card .ldesc { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty svg { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--line); }
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ===== How it works ===== */
.how { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how-item { display: flex; flex-direction: column; gap: 12px; }
.how-item .hic { width: 52px; height: 52px; border-radius: 14px; background: var(--acc-soft); color: var(--acc-dark); display: flex; align-items: center; justify-content: center; }
.how-item .hic svg { width: 26px; height: 26px; }
.how-item h3 { font-size: 16px; font-weight: 700; }
.how-item p { font-size: 14px; color: var(--ink-2); }

/* ===== CTA ===== */
.cta-block { text-align: center; padding: 56px 24px; background: linear-gradient(135deg, var(--acc-soft), #fff); border: 1px solid var(--line); border-radius: 20px; }
.cta-block h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 10px; }
.cta-block p { color: var(--ink-2); font-size: 16px; max-width: 460px; margin: 0 auto 24px; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #aab3bf; margin-top: 48px; padding: 48px 0 28px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .flogo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer .flogo svg { width: 30px; height: 30px; }
.footer .fabout { font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a, .footer ul button { font-size: 14px; color: #aab3bf; transition: color .15s; text-align: left; }
.footer ul a:hover, .footer ul button:hover { color: #fff; }
.footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.footer .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: #cdd4dd; transition: background .15s; }
.footer .socials a:hover { background: var(--acc); color: #fff; }
.footer .socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: #fff; }

/* ===== Modal ===== */
.overlay { position: fixed; inset: 0; background: rgba(18,24,33,.55); backdrop-filter: blur(3px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.overlay.on { display: flex; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--card); border-radius: 18px; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 70px rgba(15,23,33,.35); animation: pop .22s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; }
.modal-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.modal-close { width: 34px; height: 34px; border-radius: 9px; color: var(--ink-3); display: flex; align-items: center; justify-content: center; transition: background .15s; font-size: 22px; }
.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-body { padding: 18px 24px 26px; }
.modal-body > p.sub { color: var(--ink-2); font-size: 14.5px; margin-bottom: 18px; margin-top: -4px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s; background: var(--card);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.field .err { color: var(--urgent); font-size: 12px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--urgent); }
.field.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-primary { width: 100%; background: var(--acc); color: #fff; font-weight: 700; font-size: 15px; padding: 13px; border-radius: var(--r-sm); transition: background .15s, transform .1s; margin-top: 4px; }
.btn-primary:hover { background: var(--acc-dark); }
.btn-primary:active { transform: scale(.99); }
.btn-ghost { width: 100%; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; padding: 12px; border-radius: var(--r-sm); transition: border-color .15s; margin-top: 10px; }
.btn-ghost:hover { border-color: var(--ink-3); }
.modal-success { text-align: center; padding: 12px 0 6px; }
.modal-success .ok-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.modal-success .ok-ic svg { width: 34px; height: 34px; }
.modal-success h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.modal-success p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 20px; }
.switch-line { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 16px; }
.switch-line button { color: var(--acc); font-weight: 600; }
.legal-text p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.6; }
.legal-text p:last-child { margin-bottom: 0; }

/* city dropdown */
.city-modal .city-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.city-list button { text-align: left; padding: 11px 14px; border-radius: var(--r-sm); font-size: 14.5px; transition: background .15s; display: flex; align-items: center; gap: 8px; }
.city-list button svg { width: 16px; height: 16px; color: var(--ink-3); }
.city-list button:hover { background: var(--bg); }
.city-list button.cur { background: var(--acc-soft); color: var(--acc-dark); font-weight: 600; }
.city-list button.cur svg { color: var(--acc); }

/* ===== Toast ===== */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; padding: 12px 20px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15,23,33,.3); display: flex; align-items: center; gap: 10px; animation: toastin .25s ease;
}
.toast svg { width: 18px; height: 18px; color: var(--acc); }
.toast.fade-out { animation: toastout .25s ease forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastout { to { opacity: 0; transform: translateY(8px); } }

/* ===== Listing page ===== */
.lp { padding: 26px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--acc); }
.breadcrumb span.sep { color: var(--line); }
.lp-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.gallery { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gallery .main { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #eef1f4, #e4e8ee); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .badges { top: 14px; left: 14px; }
.gallery .thumbs { display: flex; gap: 8px; padding: 10px; }
.gallery .thumbs button { flex: 1; aspect-ratio: 4/3; border-radius: 9px; overflow: hidden; border: 2px solid transparent; background: #eef1f4; transition: border-color .15s; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs button.active { border-color: var(--acc); }
.lp-desc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-top: 20px; }
.lp-desc h2 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.lp-desc p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.lp-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lp-specs .spec { background: var(--bg); border-radius: 9px; padding: 8px 14px; font-size: 13.5px; color: var(--ink-2); }
.lp-specs .spec b { color: var(--ink); font-weight: 600; }

.lp-info { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.lp-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.lp-box .lp-price { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; }
.lp-box .lp-title { font-size: 17px; font-weight: 600; margin: 8px 0 4px; line-height: 1.4; }
.lp-box .lp-meta { color: var(--ink-3); font-size: 13.5px; display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.lp-box .lp-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.lp-actions { display: flex; flex-direction: column; gap: 10px; }
.lp-actions .row { display: flex; gap: 10px; }
.lp-actions .row .btn-primary, .lp-actions .row .btn-ghost { margin: 0; }
.btn-call { flex: 1; background: var(--card); border: 1.5px solid var(--acc); color: var(--acc-dark); font-weight: 700; font-size: 15px; padding: 13px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s; }
.btn-call:hover { background: var(--acc-soft); }
.btn-call svg { width: 18px; height: 18px; }
.lp-fav { width: 52px; flex: none; border: 1.5px solid var(--line); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--ink-3); transition: border-color .15s, color .15s; }
.lp-fav svg { width: 21px; height: 21px; fill: none; }
.lp-fav:hover { border-color: var(--urgent); color: var(--urgent); }
.lp-fav.on { color: var(--urgent); border-color: #f5c2c0; background: #fdecec; }
.lp-fav.on svg { fill: var(--urgent); }

.seller-box { display: flex; align-items: center; gap: 14px; }
.seller-av { width: 52px; height: 52px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex: none; }
.seller-box .sname { font-weight: 700; font-size: 16px; }
.seller-box .stype { font-size: 13px; color: var(--ink-3); }
.seller-box .srate { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.seller-box .srate svg { width: 14px; height: 14px; color: #f5a623; fill: #f5a623; }
.safe-note { display: flex; gap: 10px; align-items: flex-start; background: var(--acc-soft); border-radius: var(--r-sm); padding: 13px 15px; font-size: 13px; color: var(--acc-dark); margin-top: 4px; }
.safe-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* 404 */
.nf { min-height: 62vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.nf-inner .big { font-size: 110px; font-weight: 900; letter-spacing: -0.04em; color: var(--acc); line-height: 1; }
.nf-inner h1 { font-size: 26px; font-weight: 800; margin: 8px 0 10px; }
.nf-inner p { color: var(--ink-2); font-size: 16px; margin-bottom: 26px; max-width: 400px; }
.nf-inner .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .lp-grid { grid-template-columns: 1fr 320px; }
}
@media (max-width: 860px) {
  .header .wrap { gap: 12px; flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; }
  .searchbar { order: 3; width: 100%; flex-basis: 100%; max-width: none; }
  .searchbar .cat-btn span { display: none; }
  .header-actions .lbl-hide { display: none; }
  .how-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-info { position: static; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .burger { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink-2); }
  .burger:hover { background: var(--bg); }
  .btn-post .lbl { display: none; }
  .btn-post { padding: 11px 13px; }
  .header-actions { gap: 2px; }
  .icon-btn span { display: none; }
  .icon-btn { padding: 9px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .grid.list-view .card { flex-direction: column; }
  .grid.list-view .card .ph { width: 100%; aspect-ratio: 4/3; }
  .grid.list-view .card .price { order: 0; }
  .grid.list-view .card .ldesc { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-banner { min-height: 200px; }
  .hero-banner .inner { padding: 26px 22px; }
  .hero-banner h1 { font-size: 25px; }
  .hero-banner p { font-size: 14.5px; }
  .section { padding: 26px 0; }
  .section-head h2, .list-toolbar h2 { font-size: 20px; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .city-modal .city-list { grid-template-columns: 1fr; }
  .nf-inner .big { font-size: 84px; }
  .topbar .tb-hide { display: none; }
}
.mobile-cats { display: none; }
.mobile-cats.on { display: block; position: fixed; inset: 0; z-index: 60; background: var(--card); padding: 20px; overflow-y: auto; }
.mobile-cats .mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-cats .mc-head .logo { font-size: 20px; }
.mobile-cats a, .mobile-cats button.mc-link { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 10px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.mobile-cats a svg, .mobile-cats button.mc-link svg { width: 20px; height: 20px; color: var(--ink-3); }
.mobile-cats a:active, .mobile-cats button.mc-link:active { background: var(--bg); }
