/* 123 Car — site styles */
:root {
  --blue: #1F2430;
  --blue-dark: #0E1116;
  --blue-soft: #EEF0F3;
  --red: #D7263D;
  --ink: #16203A;
  --muted: #5A6478;
  --line: #DCE2EC;
  --mist: #F3F5F9;
  --white: #FFFFFF;
  --ok: #1E7A4C;
  --ok-soft: #E6F4EC;
  --err: #B3261E;
  --err-soft: #FCEBEA;
  --r-s: 6px;
  --r: 10px;
  --r-l: 14px;
  --shadow: 0 1px 2px rgba(22, 32, 58, .06), 0 6px 20px rgba(22, 32, 58, .08);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: 16px;
  --header-h: 64px;
}
@media (min-width: 720px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(26px, 4.4vw, 36px); }
h2 { font-size: clamp(20px, 3vw, 24px); }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #E3B400; outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { top: 8px; color: #fff; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.loading { color: var(--muted); padding: 48px 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-s); border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-accent { background: #F5C400; color: #1F2430; }
.btn-accent:hover { background: #E0B200; color: #1F2430; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #B9C3D6; color: var(--ink); background: var(--mist); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #921F18; color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--mist); }
.icon-btn--light { color: #fff; }
.icon-btn--light:hover { background: rgba(255, 255, 255, .15); }
.link-quiet { color: var(--muted); font-size: 14px; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); text-decoration: none; flex: none; }
.logo:hover { color: var(--blue); }
.logo-mark { width: 36px; height: 36px; }
.logo-word { font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-aux a:not(.btn) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-aux a:not(.btn):hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-aux { margin-left: auto !important; }
.nav-aux .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-s); cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 24px; height: 24px; margin: auto; }
.menu-close { display: none; }

@media (max-width: 959px) {
  .menu-btn { display: grid; place-items: center; }
  .menu-btn[aria-expanded="true"] .menu-open { display: none; }
  .menu-btn[aria-expanded="true"] .menu-close { display: block; }
  .main-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; overflow-y: auto; border-top: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a, .nav-aux a:not(.btn) { display: flex; min-height: 52px; padding: 0 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover, .nav-aux a:not(.btn):hover { background: transparent; }
  .nav-aux { margin: 0 !important; }
  .nav-aux .btn { margin: 20px 0 0; width: 100%; min-height: 48px; font-size: 16px; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; background: var(--blue); color: #fff; overflow: hidden; padding: 52px 0 56px; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; color: rgba(255, 255, 255, .24); pointer-events: none; }
.hero-inner { position: relative; text-align: center; }
.hero-title { font-size: min(54px, calc((100vw - 2 * var(--gutter)) / var(--fit))); white-space: nowrap; margin: 0 0 12px; letter-spacing: -0.025em; }
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, .86); margin: 0 auto 28px; max-width: 34em; }
.hero-search { max-width: 980px; margin: 0 auto; background: var(--white); color: var(--ink); border-radius: var(--r-l); padding: 14px; box-shadow: 0 10px 40px rgba(4, 40, 30, .28); text-align: left; }
.hero-search .seg { margin-bottom: 12px; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-s); font-size: 17px; background: var(--white); }
.search-row input:focus { border-color: var(--blue); outline: 3px solid rgba(31, 36, 48, .18); outline-offset: 0; }
.search-row .btn { height: 52px; padding: 0 22px; font-size: 16px; }
@media (max-width: 519px) {
  .hero { padding: 32px 0 36px; }
  .skyline { height: 120px; }
  .search-row .btn span { display: none; }
  .search-row .btn { width: 52px; padding: 0; }
  .search-row .btn svg { width: 22px; height: 22px; }
}

/* Segmented control */
.seg { display: inline-flex; border: 0; padding: 3px; margin: 0; background: var(--mist); border-radius: 8px; gap: 2px; }
.seg legend { padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span, .seg button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 18px; border-radius: 6px; font-weight: 600; font-size: 15px; color: var(--muted); border: 0; background: transparent; cursor: pointer; white-space: nowrap; }
.seg input:checked + span, .seg button[aria-pressed="true"] { background: var(--white); color: var(--blue); box-shadow: 0 1px 3px rgba(22, 32, 58, .14); }
.seg input:focus-visible + span { outline: 3px solid #E3B400; outline-offset: 1px; }
.seg--block { display: flex; width: 100%; }
.seg--block label { flex: 1; }
.seg--block span { width: 100%; }
.seg--block legend { float: left; width: 100%; margin-bottom: 6px; }
fieldset.seg--block { flex-wrap: wrap; }
.seg--sm span, .seg--sm button { min-height: 32px; padding: 0 12px; font-size: 14px; }

/* Sections */
.section { padding-top: 48px; padding-bottom: 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-links { display: flex; gap: 20px; margin: 0; font-weight: 500; }
.city-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.city-chips a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-weight: 500; }
.city-chips a:hover { border-color: var(--blue); color: var(--blue); }

.adv-band { background: var(--mist); margin-top: 56px; padding: 56px 0; }
.adv-inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .adv-inner { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; } }
.adv-copy p { color: var(--muted); font-size: 17px; max-width: 32em; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 70px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 17px; }
.steps h3 { margin: 0 0 2px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.steps--plain li { border: 0; padding-left: 58px; background: transparent; padding-top: 8px; padding-bottom: 8px; }
.steps--plain li::before { left: 0; top: 8px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card-list { display: grid; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card:hover { border-color: #B9C3D6; box-shadow: var(--shadow); }
.card-media { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; color: #9AA5BA; font-size: 14px; }
.no-photo svg { width: 48px; height: 48px; margin: 0 auto 6px; color: #C3CBDA; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.card-title { font-size: 17px; margin: 0; padding-right: 36px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card-sub { color: var(--muted); font-size: 15px; margin: 0; }
.card-price { font-weight: 700; font-size: 18px; margin: 8px 0 0; }
.card-price small { font-weight: 500; color: var(--muted); font-size: 14px; }
.card-facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 14px; }
.card-adv { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.card .fav { position: absolute; z-index: 2; }
.card-flags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; z-index: 1; }
.flag { padding: 3px 9px; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.flag--new { background: var(--blue); color: #fff; }
.flag--status { background: var(--ink); color: #fff; }
.fav { top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); cursor: pointer; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.fav svg { width: 22px; height: 22px; }
.fav[aria-pressed="true"] { color: var(--red); }
.fav[aria-pressed="true"] path { fill: currentColor; }
@media (min-width: 640px) {
  .card-list .card { flex-direction: row; }
  .card-list .card-media { flex: 0 0 300px; aspect-ratio: auto; min-height: 200px; }
  .card-list .card-body { padding: 18px 20px; }
  .card-list .fav { left: 250px; right: auto; }
}
.empty { padding: 40px 24px; border: 1px dashed #C3CBDA; border-radius: var(--r); text-align: center; color: var(--muted); }
.empty h2, .empty h3 { color: var(--ink); }
.empty .btn { margin-top: 8px; }

/* Search page */
.search-page { padding-top: 24px; padding-bottom: 56px; }
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: #A6AFC0; }
.crumbs a { color: var(--muted); }
.search-head h1 { margin-bottom: 6px; }
.search-intro { color: var(--muted); max-width: 46em; }
.search-layout { display: grid; gap: 28px; margin-top: 20px; align-items: start; }
@media (min-width: 960px) { .search-layout { grid-template-columns: 280px 1fr; } }
.filters form { display: flex; flex-direction: column; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h2 { font-size: 18px; margin: 0; }
.filters-head .icon-btn { display: none; }
.filters-body { display: grid; gap: 20px; padding: 16px 0; }
.filters-body .field + .field { margin-top: 0; }
.filters-foot { display: grid; gap: 10px; justify-items: center; }
.f-label, .field > label, .field > legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks { display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; margin: 0; }
.check input.invalid { outline: 2px solid var(--err); outline-offset: 2px; }
.check--top { align-items: flex-start; font-size: 15px; margin: 4px 0 18px; }
.check--top input { margin-top: 3px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.results-count { margin: 0; font-weight: 600; }
.results-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.results-tools select { height: 38px; font-size: 14px; }
.filters-toggle { display: none; }
.filters-toggle svg { width: 18px; height: 18px; }
.filters-toggle .badge { margin-left: 2px; }
.results-map { height: min(70vh, 640px); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--mist); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.pager p { margin: 0; color: var(--muted); font-size: 15px; }
.filters-scrim { display: none; }
@media (max-width: 959px) {
  .filters-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 70; background: var(--white); display: none; }
  .filters.open { display: block; }
  .filters form { height: 100%; }
  .filters-head { padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
  .filters-head .icon-btn { display: inline-grid; }
  .filters-body { flex: 1; overflow-y: auto; padding: 20px var(--gutter); }
  .filters-foot { padding: 12px var(--gutter) 16px; border-top: 1px solid var(--line); }
  .results-tools { width: 100%; }
  .results-tools .sort { flex: 1; }
  .results-tools .sort select { width: 100%; }
}

/* Forms */
.field { display: block; border: 0; margin: 0; padding: 0; min-width: 0; }
.field + .field { margin-top: 16px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #C9D1DF; border-radius: var(--r-s); background: var(--white); font-size: 16px; }
textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%235A6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 36px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(31, 36, 48, .18); outline-offset: 0; }
.invalid input, .invalid select, .invalid textarea, input.invalid { border-color: var(--err); }
.field-error { color: var(--err); font-size: 14px; margin: 6px 0 0; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.opt { font-weight: 400; color: var(--muted); }
.field-aside { text-align: right; margin: 8px 0 16px; font-size: 15px; }
.form-msg { padding: 12px 14px; border-radius: var(--r-s); margin-bottom: 18px; font-size: 15px; background: var(--err-soft); color: var(--err); }
.form-msg.ok { background: var(--ok-soft); color: var(--ok); }
.grid-2, .grid-3 { display: grid; gap: 16px; }
.grid-2 .field + .field, .grid-3 .field + .field { margin-top: 0; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Auth */
.auth-wrap { padding-top: 40px; padding-bottom: 64px; }
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-card--wide { max-width: 520px; }
.auth-card h1 { margin-bottom: 20px; }
.auth-alt { margin-top: 20px; text-align: center; color: var(--muted); }
.choices { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.choices legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: grid; gap: 1px; padding: 12px 14px 12px 44px; border: 1px solid var(--line); border-radius: var(--r-s); position: relative; }
.choice span::before { content: ''; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #A6AFC0; background: var(--white); }
.choice small { color: var(--muted); font-size: 14px; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); }
.choice input:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 3px var(--white); background: var(--blue); }
.choice input:focus-visible + span { outline: 3px solid #E3B400; outline-offset: 2px; }

/* Content pages */
.content-page { max-width: 780px; padding-top: 40px; padding-bottom: 64px; }
.lead { font-size: 19px; color: var(--muted); }
.prose { font-size: 17px; }
.prose h2 { margin-top: 36px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.note { background: var(--mist); border-radius: var(--r-s); padding: 14px 16px; font-size: 16px; }
.contact-list { display: grid; gap: 0; margin: 24px 0 0; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; }
.content-cta { margin-top: 32px; }
.city-table { list-style: none; margin: 24px 0 0; padding: 0; }
.city-table li { display: flex; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.city-name { flex: 1; font-weight: 600; }
.notfound .btn { margin: 4px 8px 4px 0; }

/* Property page */
.property-page { padding-top: 20px; padding-bottom: 64px; }
.gallery { display: grid; gap: 8px; margin: 8px 0 24px; }
.gallery-main { position: relative; aspect-ratio: 3 / 2; max-height: 560px; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.gallery-main button.gm-open { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gm-count { position: absolute; right: 12px; bottom: 12px; background: rgba(22, 32, 58, .78); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 14px; pointer-events: none; }
.gm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); z-index: 1; }
.gm-nav svg { width: 22px; height: 22px; }
.gm-prev { left: 12px; } .gm-next { right: 12px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 96px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--mist); }
.thumbs button[aria-current="true"] { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .prop-layout { grid-template-columns: 1fr 360px; gap: 48px; align-items: start; } .prop-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.prop-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.prop-head h1 { margin: 0 0 2px; }
.prop-sub { color: var(--muted); font-size: 17px; margin: 0; }
.prop-actions { display: flex; gap: 8px; flex: none; }
.prop-actions .btn svg { width: 18px; height: 18px; }
.prop-actions .btn[aria-pressed="true"] { color: var(--red); border-color: #F0B8C0; }
.prop-actions .btn[aria-pressed="true"] path { fill: currentColor; }
.prop-price { font-size: 26px; font-weight: 700; margin: 14px 0 0; }
.prop-price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.prop-status { display: inline-block; margin-top: 10px; }
.quick-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-facts li { display: grid; }
.quick-facts span { font-size: 13px; color: var(--muted); }
.quick-facts strong { font-size: 17px; }
.prop-section { margin-top: 32px; }
.prop-desc { white-space: pre-line; font-size: 17px; }
.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.prop-map { height: 320px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; background: var(--white); }
.contact-card h2 { font-size: 20px; }
.adv-box { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.adv-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.adv-box p { margin: 0; }
.adv-box .adv-kind { font-size: 14px; color: var(--muted); }
.adv-box a { font-weight: 600; }
.contact-card .btn-row { display: flex; gap: 8px; margin-bottom: 16px; }
.contact-card .btn-row .btn { flex: 1; }
.contact-card .hint { margin-top: 10px; }
.contact-card .field + .field { margin-top: 12px; }
.contact-card form .btn { margin-top: 14px; }
.mobile-bar { display: none; }
@media (max-width: 959px) {
  .mobile-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .mobile-bar .btn { flex: 1; }
  .property-page { padding-bottom: 96px; }
  .prop-actions .btn span { display: none; }
  .prop-actions .btn { width: 44px; padding: 0; }
}

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: #0E1428; color: #fff; }
.lightbox::backdrop { background: rgba(14, 20, 40, .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 8px 20px; font-size: 15px; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 0 24px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; }
.lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-nav svg { width: 26px; height: 26px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 639px) { .lb-nav { display: none; } }

/* Account */
.account-page { padding-top: 32px; padding-bottom: 64px; }
.account-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.account-head h1 { margin: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 14px; border: 0; background: transparent; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.my-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.my-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); align-items: center; }
.my-thumb { width: 96px; height: 72px; border-radius: 6px; overflow: hidden; background: var(--mist); }
.my-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-thumb .no-photo svg { width: 28px; height: 28px; margin: 0; }
.my-info h3 { margin: 0; font-size: 16px; }
.my-info p { margin: 0; color: var(--muted); font-size: 14px; }
.my-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.my-actions select { width: auto; min-height: 38px; font-size: 14px; padding-top: 6px; padding-bottom: 6px; }
.my-actions .btn-del { margin-left: auto; color: var(--err); }
@media (min-width: 760px) { .my-item { grid-template-columns: 120px 1fr auto; } .my-thumb { width: 120px; height: 84px; } .my-actions { grid-column: auto; } }
.msg { border: 1px solid var(--line); border-radius: var(--r); }
.msg + .msg { margin-top: 10px; }
.msg summary { list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.msg summary::-webkit-details-marker { display: none; }
.msg-from { font-weight: 600; }
.msg.unread .msg-from::after { content: attr(data-new); margin-left: 8px; font-size: 12px; font-weight: 700; color: #fff; background: var(--red); border-radius: 4px; padding: 1px 6px; vertical-align: 2px; }
.msg-date { color: var(--muted); font-size: 14px; }
.msg-about { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.msg-body { padding: 0 16px 16px; }
.msg-body p { white-space: pre-line; }
.msg-meta { color: var(--muted); font-size: 15px; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-form { max-width: 520px; }
.stack-form .btn { margin-top: 20px; }
.stack-form--sep { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.stack-form--sep h2 { font-size: 19px; }
.info-box { background: var(--mist); border-radius: var(--r-s); padding: 14px 16px; margin-bottom: 20px; }
.confirm { border: 0; border-radius: var(--r-l); padding: 24px; max-width: 400px; width: calc(100% - 32px); box-shadow: var(--shadow); }
.confirm::backdrop { background: rgba(22, 32, 58, .45); }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* Editor */
.editor-page { max-width: 860px; padding-top: 32px; padding-bottom: 64px; }
.ed-section { padding: 24px 0; border-top: 1px solid var(--line); }
.ed-section:first-child { border-top: 0; padding-top: 8px; }
.ed-section h2 { font-size: 20px; margin-bottom: 14px; }
.ed-section > .hint { margin: -6px 0 14px; }
.addr-status { font-size: 15px; margin: 12px 0 0; color: var(--muted); min-height: 1.5em; }
.addr-status.ok { color: var(--ok); }
.addr-status.warn { color: #9A5B00; }
.photo-grid { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.photo-grid:empty { display: none; }
.photo-item { position: relative; border-radius: var(--r-s); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-item .cover-tag { position: absolute; left: 6px; top: 6px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.photo-tools { display: flex; justify-content: space-between; padding: 4px; background: var(--white); }
.photo-tools button { width: 36px; height: 34px; border: 0; background: transparent; border-radius: 4px; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.photo-tools button:hover { background: var(--mist); }
.photo-tools button:disabled { opacity: .3; cursor: default; }
.photo-tools svg { width: 18px; height: 18px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-btn:focus-within { outline: 3px solid #E3B400; outline-offset: 2px; }
.ed-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); z-index: 5; }
.ed-progress { margin: 0 auto 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 519px) { .ed-actions .btn { flex: 1; } .ed-progress { flex-basis: 100%; } }

/* Advertiser page */
.advertiser-page { padding-top: 32px; padding-bottom: 64px; }
.adv-head { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.adv-head .adv-avatar { width: 64px; height: 64px; font-size: 24px; }
.adv-head h1 { margin: 0; }
.adv-head p { margin: 2px 0 0; color: var(--muted); }
.adv-head .adv-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }

/* Map markers */
.price-pin { background: var(--blue); color: #fff; font: 600 13px/1 var(--font); padding: 6px 8px; border-radius: 6px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transform: translate(-50%, -100%); position: absolute; left: 0; top: 0; }
.price-pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--blue); }
.leaflet-marker-icon.pin-wrap { background: none; border: 0; }
.map-pop { width: 220px; font-family: var(--font); }
.map-pop img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.map-pop strong { display: block; font-size: 15px; color: var(--ink); }
.map-pop span { display: block; color: var(--muted); font-size: 13px; }
.map-pop b { display: block; margin-top: 4px; font-size: 15px; }
.leaflet-container { font-family: var(--font); }

/* Footer */
.site-footer { background: var(--ink); color: #C7CEDD; margin-top: 0; padding: 48px 0 28px; font-size: 15px; }
.site-footer a { color: #E6EAF2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.logo--footer { color: #fff; }
.logo--footer .logo-word { color: #fff; }
.logo--footer .logo-mark text { fill: var(--ink); }
.footer-brand p { margin: 10px 0 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid #2D3858; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: #9AA5BA; }
.footer-legal p { margin: 0; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-s); box-shadow: var(--shadow); font-size: 15px; max-width: calc(100% - 32px); }
@media (max-width: 959px) { .property-page ~ .toast, body:has(.mobile-bar) .toast { bottom: 88px; } }
input[list]::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }

/* ---------- 123 Markt ---------- */
.hero-search { display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr auto; gap: 8px; padding: 10px; }
.hero-search input, .hero-search select { height: 52px; min-height: 52px; font-size: 16px; }
.hero-search .hs-btn { height: 52px; padding: 0 22px; font-size: 16px; }
.hero-search .hs-btn svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hs-q { grid-column: 1 / -1; }
  .hs-cat { grid-column: 1 / -1; }
  .hero-search .hs-btn { grid-column: 1 / -1; width: 100%; }
}
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.cat-tiles a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; }
.cat-tiles a:hover { border-color: var(--blue); color: var(--blue); }
.cat-tiles .cat-ext { border-style: dashed; }
.cat-tiles .cat-ext span { font-weight: 400; font-size: 14px; color: var(--muted); }
@media (max-width: 519px) { .cat-tiles { grid-template-columns: 1fr 1fr; } .cat-tiles a { font-size: 15px; padding: 8px 12px; } }

.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ad-grid--results { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ad-card .card-media { aspect-ratio: 1 / 1; }
.ad-card .card-body { padding: 10px 12px 12px; gap: 0; }
.ad-card .card-title { font-size: 15px; font-weight: 600; line-height: 1.35; padding-right: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ad-card .card-price { font-size: 17px; margin: 6px 0 2px; }
.ad-card .card-price small { display: block; font-size: 13px; }
.ad-card .card-sub { font-size: 13px; }
.ad-card .fav { width: 36px; height: 36px; top: 8px; right: 8px; }
.ad-card .fav svg { width: 20px; height: 20px; }
@media (max-width: 519px) {
  .ad-grid, .ad-grid--results { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ad-card .card-title { font-size: 14px; }
  .ad-card .card-price { font-size: 16px; }
}
.ad-card .no-photo svg { width: 40px; height: 40px; }

.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips li { padding: 14px 18px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.tips h3 { margin: 0 0 2px; }
.tips p { margin: 0; color: var(--muted); font-size: 15px; }
.tips .tips-more { background: transparent; border: 0; padding: 4px 0 0; font-weight: 600; }

.inline-row { display: flex; gap: 8px; }
.inline-row input { flex: 1; min-width: 0; }
.plate-input { text-transform: uppercase; max-width: 220px; font-weight: 600; letter-spacing: .04em; }
.plate { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #F7C600; color: #111; font-weight: 700; letter-spacing: .04em; border: 1px solid #C9A200; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-btn svg { width: 16px; height: 16px; }
.link-btn:hover { color: var(--ink); }
.report-row { margin-top: 28px; }
.sub-h { margin-top: 40px; }
.content-page--wide { max-width: 1200px; }

.bid-list { list-style: none; margin: 0 0 16px; padding: 0; }
.bid-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bid-name { font-weight: 600; }
.bid-amount { font-weight: 700; text-align: right; }
.bid-date { color: var(--muted); font-size: 14px; }
.bid-list .link-btn { justify-self: end; }
.bid-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.bid-form .inline-row { max-width: 420px; }

.conv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.conv-item { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; }
.conv-item:hover { border-color: #B9C3D6; }
.conv-item.unread { border-color: var(--blue); background: var(--blue-soft); }
.conv-name { font-weight: 600; }
.conv-date { color: var(--muted); font-size: 14px; }
.conv-ad { grid-column: 1 / -1; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.thread-title { flex: 1; min-width: 0; display: grid; }
.thread-title a { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-msgs { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; height: min(56vh, 520px); overflow-y: auto; background: var(--mist); }
.bubble { max-width: 78%; align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 14px; }
.bubble.mine { align-self: flex-end; background: var(--blue); color: #fff; border-color: var(--blue); border-radius: 14px 14px 4px 14px; }
.bubble p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.bubble span { display: block; margin-top: 4px; font-size: 12px; opacity: .75; }
.thread-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: flex-end; }
.thread-form textarea { min-height: 46px; height: 46px; resize: vertical; }
@media (max-width: 519px) { .thread-head .btn-del { display: none; } }
.stack { display: grid; gap: 8px; }
@media (max-width: 899px) { .hero-search { grid-template-columns: 3fr 2fr; } }

/* ---------- 123 Car ---------- */
.car-search { grid-template-columns: 1.1fr 1fr 1fr 1.1fr .9fr auto; align-items: end; }
.hs-f { display: grid; gap: 4px; min-width: 0; }
.hs-f > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.hs-f select, .hs-f input { min-width: 0; width: 100%; }
@media (max-width: 899px) {
  .car-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .car-search .hs-btn { grid-column: 1 / -1; width: 100%; }
}
.car-specs { list-style: none; margin: 4px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 13px; color: var(--ink); }
.brand-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.brand-tiles a { min-height: 52px; }
@media (max-width: 519px) { .brand-tiles { grid-template-columns: 1fr 1fr 1fr; } .brand-tiles a { font-size: 14px; padding: 8px 10px; } }
.plate-band { background: #F5C400; color: #1F2430; margin-top: 56px; padding: 40px 0; }
.plate-inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .plate-inner { grid-template-columns: 1fr auto; } }
.plate-band h2 { margin: 0 0 4px; }
.plate-band p { margin: 0; }
.plate-band + .adv-band { margin-top: 0; }
.plate-form { display: flex; gap: 8px; flex-wrap: wrap; }
.plate-input--big { height: 56px; min-height: 56px; max-width: 260px; font-size: 24px; text-align: center; background: #F7C600; border: 2px solid #1F2430; border-radius: 6px; color: #111; padding-left: 40px; background-image: linear-gradient(90deg, #003399 0 32px, transparent 32px); }
.plate-input--big::placeholder { color: rgba(17, 17, 17, .45); }
.plate-form .btn { height: 56px; }
.plate-page .plate-form { margin: 24px 0 8px; }
.plate-card { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.plate-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 12px; }
.plate-head h2 { margin: 0; }
.plate-head .plate { font-size: 20px; padding: 4px 12px; }
.plate-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.prop-main { min-width: 0; }
.prop-head > div:first-child { min-width: 0; }
.prop-head h1 { overflow-wrap: anywhere; }
.prop-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .prop-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
.contact-card .btn-block { white-space: normal; height: auto; min-height: 44px; padding: 10px 16px; text-align: center; line-height: 1.35; }
input.plate-input--big { background-color: #F7C600 !important; border: 2px solid #1F2430 !important; background-image: linear-gradient(90deg, #003399 0 32px, transparent 32px) !important; padding-left: 40px !important; color: #111 !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
