:root {
  --bg: #f6f8f5;
  --surface: #ffffff;
  --surface-2: #eef4ef;
  --text: #1d2b22;
  --muted: #64746a;
  --line: #dfe8e1;
  --primary: #1f7a45;
  --primary-dark: #176138;
  --primary-light: #e8f5ec;
  --accent: #c98b2f;
  --danger: #c0392b;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(29, 43, 34, 0.06);
  --container: 1220px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 2px; }

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.site-main { min-height: 60vh; padding-bottom: 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: #bfd0c4; background: #f9fcfa; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: rgba(31,122,69,.08); }
.btn-sm { padding: 9px 14px; border-radius: 10px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(223,232,225,.7); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #3aa35f); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 22px; letter-spacing: -0.03em; color: #183322; }
.logo-text small { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: auto; }
.main-nav a { padding: 10px 12px; border-radius: 10px; font-weight: 600; color: #385043; font-size: 15px; }
.main-nav a:hover { background: var(--primary-light); color: var(--primary-dark); }
.main-nav .nav-cta { color: var(--primary); }
.nav-more { position: relative; }
.nav-more-btn { padding: 10px 12px; border-radius: 10px; font-weight: 600; color: #385043; font-size: 15px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-more-btn:hover, .nav-more.open .nav-more-btn { background: var(--primary-light); color: var(--primary-dark); }
.nav-more-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; z-index: 120; }
.nav-more.open .nav-more-menu { display: grid; gap: 2px; }
.nav-more-menu a { padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-link { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: #385043; }
.icon-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Flash */
.flash-wrap { padding-top: 16px; display: grid; gap: 10px; }
.flash { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.flash-success { background: #e8f5ec; color: #176138; }
.flash-error { background: #fdecea; color: #922b21; }

/* Hero */
.hero { padding: 40px 0 24px; background: linear-gradient(180deg, #edf6f0 0%, #f6f8f5 100%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 16px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; color: #4b5f52; margin: 0 0 24px; max-width: 680px; }
.search-panel { background: #fff; padding: 18px; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(223,232,225,.7); }
.search-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: #4b5f52; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #8bc49d; box-shadow: 0 0 0 4px rgba(31,122,69,.1); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.stat-card { background: rgba(255,255,255,.7); border: 1px solid rgba(223,232,225,.8); padding: 16px; border-radius: 14px; }
.stat-card strong { display: block; font-size: 28px; line-height: 1; color: var(--primary-dark); }
.stat-card span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-visual { background: linear-gradient(160deg, #1f7a45, #2e9a5b); color: #fff; border-radius: 28px; padding: 28px; min-height: 360px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(31,122,69,.25); }
.hero-visual::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); right: -80px; bottom: -80px; }
.hero-visual h3 { font-size: 28px; margin: 0 0 12px; line-height: 1.2; }
.hero-visual p { color: rgba(255,255,255,.88); margin: 0 0 20px; font-size: 16px; }
.hero-visual ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-visual li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.hero-visual li::before { content: '✓'; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 12px; margin-top: 1px; }

/* Sections */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.03em; }
.section-head p { margin: 8px 0 0; color: var(--muted); }
.link-more { color: var(--primary); font-weight: 700; white-space: nowrap; }
.link-more:hover { color: var(--primary-dark); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); transition: .2s; }
.cat-card:hover { transform: translateY(-2px); border-color: #bfd0c4; }
.cat-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.cat-card h3 { margin: 0 0 6px; font-size: 20px; }
.cat-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.listing-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column; }
.listing-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(29,43,34,.1); }
.card { background: #fff; border: 1px solid rgba(223,232,225,.9); border-radius: var(--radius); box-shadow: 0 4px 18px rgba(24,50,34,.04); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #e8efe9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; right: 48px; }
.badge { padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; background: rgba(255,255,255,.92); color: #294235; backdrop-filter: blur(4px); }
.badge-green { background: rgba(31,122,69,.92); color: #fff; }
.badge-amber { background: rgba(201,139,47,.95); color: #fff; }
.fav-btn { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #5f7066; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.fav-btn:hover, .fav-btn.active { color: #d94f5c; }
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn.active svg { fill: currentColor; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-price { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.card-sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.card-title { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--primary); }
.card-meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid #edf2ee; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.card-location { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Filters / catalog */
.page-head { padding: 32px 0 8px; }
.page-head h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.catalog-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 24px 0 40px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; position: sticky; top: 96px; box-shadow: var(--shadow); }
.filters h3 { margin: 0 0 16px; font-size: 20px; }
.filters .field { margin-bottom: 14px; }
.filters .check { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: #385043; margin-bottom: 10px; }
.filters .check input { width: 18px; height: 18px; accent-color: var(--primary); }
.filter-actions { display: grid; gap: 10px; margin-top: 18px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar .count { color: var(--muted); font-weight: 600; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.pagination a:hover { border-color: #bfd0c4; color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.empty-state { background: #fff; border: 1px dashed #bfd0c4; border-radius: 20px; padding: 40px 24px; text-align: center; color: var(--muted); }
.empty-state h3 { color: var(--text); margin: 0 0 8px; font-size: 24px; }

/* Detail */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; padding: 28px 0 40px; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-main { aspect-ratio: 16 / 10; background: #e8efe9; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 12px; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.detail-price { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px; }
.detail-sub { color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.detail-title { font-size: 28px; line-height: 1.25; margin: 0 0 14px; letter-spacing: -0.02em; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.detail-badges .badge { font-size: 12px; padding: 7px 12px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.spec { padding: 14px; background: #f7faf8; border-radius: 14px; }
.spec span { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.spec strong { font-size: 15px; }
.seller-box { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.seller-box .name { font-weight: 700; margin-bottom: 4px; }
.seller-box .meta { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.phone-reveal { width: 100%; }
.phone-hidden { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--primary-light); border-radius: 14px; font-weight: 800; color: var(--primary-dark); }
.detail-content { margin-top: 24px; display: grid; gap: 24px; }
.content-block { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.content-block h2, .content-block h3 { margin: 0 0 14px; letter-spacing: -0.02em; }
.content-block p { margin: 0 0 12px; color: #3f5247; }
.content-block p:last-child { margin-bottom: 0; }
.features { display: flex; flex-wrap: wrap; gap: 10px; }
.feature { padding: 8px 12px; border-radius: 999px; background: #f1f6f2; color: #355243; font-size: 14px; font-weight: 600; }

/* Forms */
.form-page { padding: 32px 0 48px; }
.form-shell { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.form-shell.wide { max-width: 920px; }
.form-shell h1 { margin: 0 0 8px; font-size: 34px; letter-spacing: -0.03em; }
.form-shell .lead { color: var(--muted); margin: 0 0 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .field { margin: 0; }
.check-row { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 4px 0; }
.check-row label, .check-inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #385043; }
.check-row input, .check-inline input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-actions { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.auth-alt { margin-top: 18px; color: var(--muted); font-size: 14px; }
.auth-alt a { color: var(--primary); font-weight: 700; }
textarea { resize: vertical; min-height: 120px; }

/* Account */
.account-grid { display: grid; gap: 24px; padding: 24px 0 40px; }
.account-section { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.account-section h2 { margin: 0 0 18px; font-size: 28px; letter-spacing: -0.02em; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.account-head h1 { margin: 0; font-size: 38px; letter-spacing: -0.03em; }
.list-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid #edf2ee; align-items: center; }
.list-row:last-child { border-bottom: 0; padding-bottom: 0; }
.list-row img { width: 140px; height: 100px; object-fit: cover; border-radius: 14px; background: #e8efe9; }
.list-row h3 { margin: 0 0 6px; font-size: 18px; }
.list-row p { margin: 0; color: var(--muted); font-size: 14px; }
.list-row .price { font-size: 20px; font-weight: 800; white-space: nowrap; }

/* Static/content */
.static-page { padding: 32px 0 48px; }
.static-shell { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.static-shell h1 { margin: 0 0 20px; font-size: 38px; line-height: 1.1; letter-spacing: -0.03em; }
.prose p, .prose li { color: #3f5247; font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--primary); font-weight: 600; }

/* Footer */
.site-footer { background: #18261d; color: #e4ece6; padding: 48px 0 0; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-brand p { color: #b7c5bc; margin: 16px 0 0; max-width: 340px; font-size: 14px; }
.site-footer .logo-mark { background: linear-gradient(135deg, #2f9858, #54b879); }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text small { color: #a8bcae; }
.site-footer h4 { margin: 0 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.site-footer a { display: block; color: #b7c5bc; padding: 5px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-note { font-size: 13px; color: #95a79b; margin-top: 12px; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.1); color: #95a79b; font-size: 14px; }

/* Misc */
.muted { color: var(--muted); }
.section-alt { background: #fff; border-top: 1px solid #edf2ee; border-bottom: 1px solid #edf2ee; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 20px; border-radius: 18px; background: #f7faf8; border: 1px solid #e6eee8; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.region-link { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.region-link span { color: var(--muted); font-weight: 600; font-size: 14px; }
.region-link:hover { border-color: #bfd0c4; color: var(--primary); }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid, .steps, .region-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .header-inner { min-height: 70px; gap: 12px; flex-wrap: wrap; padding: 10px 0; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; order: 4; flex-direction: column; align-items: stretch; margin: 0; padding: 8px 0 12px; border-top: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .header-actions { margin-left: 0; width: 100%; order: 3; justify-content: flex-start; display: none; padding-bottom: 8px; }
  .header-actions.open { display: flex; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid-3 { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex !important; }
  .filters { display: none; }
  .filters.open { display: block; margin-bottom: 16px; }
  .nav-more-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-more-btn { width: 100%; text-align: left; }
  .cat-grid, .steps, .region-grid, .form-grid, .specs { grid-template-columns: 1fr; }
  .form-shell, .static-shell { padding: 20px; border-radius: 18px; }
  .list-row { grid-template-columns: 100px 1fr; }
  .list-row .price { grid-column: 2; }
  .list-row img { width: 100px; height: 76px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .detail-price { font-size: 32px; }
  .detail-title { font-size: 24px; }
}
.fav-btn-detail.active { color: #d94f5c; border-color: #f0c4c8; background: #fff8f8; }
.fav-btn-detail.active svg { fill: currentColor; }

/* Map / catalog view toggle */
.view-toggle { display: flex; gap: 8px; align-items: center; }
.view-toggle-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.map-wrap { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #eef3ee; }
.map-wrap-catalog { height: 480px; }
.map-wrap-detail { height: 300px; }
.map-info { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.map-popup strong { display: block; margin-bottom: 4px; font-size: 14px; line-height: 1.35; }
.map-popup a { color: var(--primary); text-decoration: none; }
.map-popup a:hover { text-decoration: underline; }
.map-popup div { font-size: 13px; color: #43554b; margin-bottom: 2px; }
.catalog-cards-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .catalog-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .catalog-cards-grid { grid-template-columns: 1fr; }
  .map-wrap-catalog { height: 360px; }
  .map-wrap-detail { height: 260px; }
  .results-bar { align-items: stretch; }
}

/* shared stats */
.adm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:20px}
.adm-stat{background:#fff;border:1px solid #e5ece7;border-radius:14px;padding:16px}
.adm-stat strong{display:block;font-size:28px;line-height:1}
.adm-stat span{color:#667;font-size:13px}
