:root {
  --bg-page: #f7f9fc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-navy: #0b1220;
  --bg-navy-card: #131c31;

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;

  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;

  --green-600: #059669;
  --green-50: #ecfdf5;

  --border: #e2e8f0;
  --border-hover: #cbd5e1;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, 0.25);

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
  display: grid;
  place-items: center;
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-dot {
  color: #60a5fa;
}

.header-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-post-ad {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}

.btn-post-ad:hover {
  background: #059669;
  transform: translateY(-1px);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nav-btn.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.nav-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  padding: 1px 6px;
  border-radius: 999px;
}

.pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.pro-pill:hover {
  filter: brightness(1.08);
}

.pro-pill.is-pro {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.pro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fde047;
}

.pro-pill.is-pro .pro-dot {
  background: #fff;
}

/* Compact Punchy Hero Band (Listings immediately visible above the fold!) */
.hero-band {
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(37, 99, 235, 0.28) 0%, rgba(11, 18, 32, 0) 75%),
    var(--bg-navy);
  color: #fff;
  padding: 18px 0 38px;
}

.hero-compact {
  max-width: 980px;
  margin: 0 auto;
}

.hero-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-compact-head h1 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.text-glow {
  color: #60a5fa;
}

.btn-radar-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 6px 13px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-radar-inline:hover {
  background: var(--blue-700);
}

/* Crisp White AI Search Box */
.ai-search-shell {
  text-align: left;
}

.ai-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 16px;
  padding: 7px 7px 7px 14px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.2s;
}

.ai-input-row:focus-within {
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.28), 0 0 0 3px rgba(96, 165, 250, 0.5);
}

.ai-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ai-input-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-900);
  padding: 10px 4px;
}

.ai-input-row input::placeholder {
  color: var(--ink-400);
}

.ai-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px 24px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}

.ai-submit-btn:hover:not(:disabled) {
  background: var(--blue-700);
}

.ai-submit-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ai-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ai-prompts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.prompts-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.prompt-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.prompt-chip:hover {
  background: rgba(37, 99, 235, 0.32);
  border-color: rgba(96, 165, 250, 0.55);
  color: #fff;
}

.ai-quota-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.quota-dots {
  display: flex;
  gap: 5px;
}

.q-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.q-dot.active {
  background: #60a5fa;
}

.q-dot.pro {
  background: #34d399;
}

/* AI Result Panel */
.ai-result-panel {
  margin-top: 16px;
  padding: 16px 18px;
  background: rgba(19, 28, 49, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 14px;
}

.ai-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ai-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-tag {
  font-size: 12px;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.24);
  color: #bfdbfe;
  padding: 3px 10px;
  border-radius: 999px;
}

.ai-clear-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.ai-clear-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ai-summary-text {
  margin: 0;
  font-size: 14.5px;
  color: #f8fafc;
}

.ai-tip-row {
  margin-top: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

.tip-label {
  color: #60a5fa;
  font-weight: 700;
  margin-right: 5px;
}

/* Floating Filter Card (overlaps hero slightly for crisp depth) */
.controls-section {
  margin-top: -22px;
  position: relative;
  z-index: 20;
}

.filter-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}

.filter-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.segmented-tabs {
  display: inline-flex;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: 11px;
}

.seg-tab {
  border: none;
  background: transparent;
  color: var(--ink-700);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.seg-tab.active {
  background: var(--bg-white);
  color: var(--blue-600);
  box-shadow: var(--shadow-xs);
}

.filter-quick-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  user-select: none;
}

.toggle-pill input {
  accent-color: var(--blue-600);
  margin: 0;
}

.toggle-pill:has(input:checked) {
  background: var(--blue-50);
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.text-reset-btn {
  background: none;
  border: none;
  color: var(--ink-500);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
}

.text-reset-btn:hover {
  color: var(--blue-600);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-500);
}

.field select,
.field input[type="number"] {
  height: 40px;
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  outline: none;
}

.field select:focus,
.field input[type="number"]:focus {
  border-color: var(--blue-600);
  background: #fff;
}

.dual-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.room-pills {
  display: flex;
  gap: 4px;
}

.room-pill {
  flex: 1;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
}

.room-pill.active {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-inputs span {
  color: var(--ink-400);
}

/* Radar Push Strip */
.radar-strip {
  margin-top: 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.radar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.radar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.radar-left strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}

.radar-left p {
  margin: 1px 0 0;
  font-size: 12.5px;
  color: var(--ink-500);
}

.radar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-primary-sm {
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 15px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary-sm:hover {
  background: var(--blue-700);
}

.btn-primary-sm.full {
  width: 100%;
}

.btn-outline-sm {
  background: #fff;
  color: var(--ink-900);
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-outline-sm:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

/* Listings Feed — Crisp 4-Column Photo-First Grid */
.listings-section {
  padding: 22px 0 64px;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.results-bar h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.results-count {
  font-weight: 600;
  color: var(--ink-500);
  font-size: 15px;
}

.results-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-meta {
  font-size: 12.5px;
  color: var(--ink-500);
}

.btn-sync-live {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-700);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9px;
  cursor: pointer;
}

.btn-sync-live:hover:not(:disabled) {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Ultra-Clean Listing Card */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-subtle);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-top-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 84px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  pointer-events: none;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  backdrop-filter: blur(8px);
}

.badge-deal {
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
}

.badge-vip {
  background: #f59e0b;
  color: #fff;
}

.badge-ai {
  background: var(--blue-600);
  color: #fff;
}

.fav-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.fav-btn:hover {
  transform: scale(1.08);
}

.fav-btn.saved {
  color: #e11d48;
}

.card-source-pill {
  position: absolute;
  bottom: 9px;
  right: 9px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-900);
  padding: 3px 8px;
  border-radius: 7px;
  box-shadow: var(--shadow-xs);
}

.card-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.card-unit-price {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}

.card-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.card-ai-reason {
  margin: 2px 0 8px;
  padding: 6px 9px;
  background: var(--blue-50);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1.35;
}

.card-location {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-bottom: 10px;
}

.card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.micro-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--ink-700);
}

.micro-tag.kupca {
  background: var(--green-50);
  color: var(--green-600);
}

.micro-tag.owner {
  background: var(--blue-50);
  color: var(--blue-600);
}

.card-time {
  font-size: 11.5px;
  color: var(--ink-400);
  white-space: nowrap;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn-load-more {
  background: #fff;
  color: var(--ink-900);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.15s;
}

.btn-load-more:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}

/* Custom Animated SVG Checkbox Pills */
.custom-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  user-select: none;
  transition: all 0.16s ease;
}

.custom-check-pill:hover {
  border-color: var(--border-hover);
  background: var(--bg-page);
}

.custom-check-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-check-pill .check-box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.8px solid #cbd5e1;
  background: #fff;
  display: grid;
  place-items: center;
  color: transparent;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.custom-check-pill input:checked + .check-box {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.custom-check-pill:has(input:checked) {
  background: var(--blue-50);
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--blue-700);
}

/* Custom Styled Selects & Inputs */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink-500);
  border-bottom: 2px solid var(--ink-500);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px !important;
  cursor: pointer;
}

/* Searchable Location Combobox */
.combo-wrap {
  position: relative;
}

.combo-wrap input {
  height: 40px;
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 54px 0 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.combo-wrap input:focus {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.combo-clear {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--bg-subtle);
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.combo-clear:hover {
  background: #e2e8f0;
  color: var(--ink-900);
}

.combo-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-500);
  pointer-events: none;
  display: flex;
}

.combo-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 80;
  padding: 6px;
}

.combo-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
  padding: 8px 10px 4px;
}

.combo-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  cursor: pointer;
  display: block;
}

.combo-option:hover,
.combo-option.selected {
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 700;
}

.combo-empty {
  padding: 14px 10px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-500);
}

/* Native TOP Badge & Card Polish */
.badge-top-mekan {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.card.is-own-top {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

/* Light Modals (Detail Modal & Post Ad Modal) */
.modal-dialog.modal-light {
  background: #fff;
  color: var(--ink-900);
  border: 1px solid var(--border);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-listing {
  max-width: 860px;
}

.modal-post-ad {
  max-width: 660px;
}

.modal-close.light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-900);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
  z-index: 15;
}

.detail-gallery {
  position: relative;
  height: 380px;
  background: #0f172a;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 24px 0;
  overflow-x: auto;
}

.detail-thumb {
  width: 68px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.detail-thumb.active {
  border-color: var(--blue-600);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-body {
  padding: 20px 26px 26px;
}

.detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.detail-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.detail-subprice {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 600;
}

.detail-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.detail-loc {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
}

.spec-box span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-500);
  font-weight: 600;
}

.spec-box strong {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-900);
}

.detail-desc {
  margin: 0 0 16px;
  color: var(--ink-700);
  line-height: 1.65;
  font-size: 14.5px;
  white-space: pre-line;
}

.mortgage-box {
  padding: 14px 16px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  margin-bottom: 18px;
}

.mortgage-box h4 {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
}

.mortgage-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.mortgage-monthly {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-700);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-phone-reveal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-600);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-phone-reveal:hover {
  background: #047857;
}

.btn-orig-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: var(--bg-page);
  color: var(--ink-900);
  border: 1px solid var(--border-hover);
  border-radius: 11px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 700;
}

.btn-orig-source:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

/* Post Ad Form */
.post-ad-content {
  padding: 26px 28px 28px;
}

.post-ad-head {
  margin-bottom: 18px;
}

.top-pill-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  background: var(--blue-50);
  color: var(--blue-600);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.post-ad-head h2 {
  margin: 0 0 4px;
  font-size: 23px;
  font-weight: 800;
}

.post-ad-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-500);
}

.post-ad-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.post-ad-form input[type="text"],
.post-ad-form input[type="number"],
.post-ad-form textarea {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-900);
  outline: none;
}

.post-ad-form input:focus,
.post-ad-form textarea:focus {
  border-color: var(--blue-600);
  background: #fff;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.file-input {
  padding: 8px !important;
  cursor: pointer;
}

.post-ad-checks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-submit-ad {
  width: 100%;
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

.btn-submit-ad:hover:not(:disabled) {
  background: var(--blue-700);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--ink-400);
  font-size: 12px;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.deal-and-mobile-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-hover);
  background: #fff;
  color: var(--ink-900);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-filter-toggle.open {
  background: var(--blue-50);
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.pro-plans-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-card.plan-owner {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, var(--bg-navy-card) 100%);
}

.btn-plan-pick {
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  background: var(--blue-600);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}

.btn-plan-pick:hover {
  background: var(--blue-700);
}

.btn-plan-pick.green {
  background: #10b981;
}

.btn-plan-pick.green:hover {
  background: #059669;
}

.pro-mini-tag.timer-active {
  background: #059669;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pro-mini-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  padding: 2px 5px;
  border-radius: 5px;
  line-height: 1;
}

/* iPhone & Narrow Mobile Bulletproof Fixes */
.site-header {
  padding-top: env(safe-area-inset-top);
}

.site-footer {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

@media (max-width: 640px) {
  .field select,
  .field input[type="number"],
  .combo-wrap input,
  .ai-input-row input,
  .post-ad-form input,
  .post-ad-form textarea {
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom on focus! */
  }
  .modal-backdrop {
    padding: 12px;
    align-items: end;
  }
  .modal-dialog {
    max-height: 90dvh;
    border-radius: 18px;
  }
  .post-ad-content,
  .pro-modal-content {
    padding: 20px 16px;
  }
  .header-inner {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .pro-pill {
    white-space: nowrap;
  }
  .filter-quick-toggles {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .filter-quick-toggles::-webkit-scrollbar {
    display: none;
  }
  .filter-quick-toggles > * {
    flex-shrink: 0;
  }
}

/* Viewed ("Baxılıb") & Hide Unwanted ("Arzu olunmayan") Card Controls */
.card.is-viewed {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.card.is-viewed .card-media img {
  filter: grayscale(88%) brightness(0.84);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.35s ease;
}

.card.is-viewed:hover .card-media img {
  filter: grayscale(25%) brightness(0.95);
  opacity: 0.92;
}

.card.is-viewed .card-title,
.card.is-viewed .card-price {
  color: var(--ink-500);
}

/* AI Search Animated Progress Bar */
.ai-progress-wrap {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(19, 28, 49, 0.88);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 12px;
}

.ai-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 7px;
}

.ai-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.ai-progress-fill {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 50%, #34d399 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
  animation: shimmerBar 1.4s linear infinite;
}

@keyframes shimmerBar {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.badge-viewed {
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
}

.card-action-btns {
  position: absolute;
  top: 9px;
  right: 9px;
  display: flex;
  gap: 5px;
}

.card-action-btns .fav-btn {
  position: static;
}

.hide-ad-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-500);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s;
}

.hide-ad-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Legal Footer & Cookie Banner */
.footer-legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 28px;
}

.footer-brand-col p {
  margin: 6px 0 10px;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  color: var(--ink-400);
}

.footer-links-col strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.footer-legal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 14px;
}

.footer-legal-links a {
  font-size: 12.5px;
  color: var(--ink-500);
  text-decoration: none;
  font-weight: 500;
}

.footer-legal-links a:hover {
  color: var(--blue-600);
  text-decoration: underline;
}

.legal-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.45;
  padding: 10px 12px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.legal-agree-row input {
  margin-top: 2px;
  accent-color: var(--blue-600);
}

.legal-agree-row a {
  color: var(--blue-600);
  font-weight: 700;
}

.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 760px;
  background: var(--bg-navy);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 180;
}

.cookie-bar p {
  margin: 0;
  font-size: 13px;
}

.cookie-bar a {
  color: #60a5fa;
  font-weight: 700;
}

@media (max-width: 768px) {
  .footer-legal-grid,
  .footer-legal-links {
    grid-template-columns: 1fr;
  }
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-lg);
}

.empty-state h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
}

.empty-state p {
  margin: 0 auto 18px;
  max-width: 480px;
  color: var(--ink-500);
}

.empty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--ink-500);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-size: 12.5px;
  color: var(--ink-500);
}

/* PRO Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.68);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.modal-close.static {
  position: static;
  background: var(--bg-subtle);
  color: var(--ink-900);
  border-color: var(--border);
}

.pro-modal-content {
  padding: 32px;
}

.pro-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #60a5fa;
}

.pro-modal-content h2 {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.pro-lead {
  margin: 0 0 22px;
  color: #94a3b8;
  font-size: 14px;
}

.pro-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.plan-card {
  position: relative;
  background: var(--bg-navy-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
}

.plan-card.featured {
  border-color: #3b82f6;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, var(--bg-navy-card) 100%);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--blue-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 22px;
  font-weight: 800;
}

.plan-price span {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pro-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-pro-unlock {
  width: 100%;
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

.btn-pro-unlock:hover {
  background: var(--blue-700);
}

.pro-note {
  font-size: 12px;
  color: #94a3b8;
}

/* Alerts Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
}

.drawer-panel {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.drawer-header {
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.drawer-header p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--ink-500);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
}

.alert-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.alert-meta {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 3px;
}

.alert-item-actions {
  margin-top: 10px;
}

.alert-del-btn {
  background: none;
  border: none;
  color: var(--ink-400);
  cursor: pointer;
  font-size: 18px;
}

.alert-del-btn:hover {
  color: #e11d48;
}

.drawer-footer {
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid var(--border);
}

/* Toast Stack */
.toast-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.toast {
  background: var(--bg-navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-left: 3.5px solid var(--blue-600);
  font-size: 13.5px;
  font-weight: 500;
}

.toast.success {
  border-left-color: #10b981;
}

/* Responsive */
@media (max-width: 1150px) {
  .listings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-live-pill {
    display: none;
  }
  .listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 12px;
    max-width: 100vw;
  }
  .header-inner {
    height: 54px;
    gap: 6px;
  }
  .brand {
    gap: 6px;
    flex-shrink: 0;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .brand-text {
    font-size: 14.5px;
  }
  .header-actions {
    gap: 5px;
    flex-shrink: 1;
    min-width: 0;
  }
  .btn-post-ad {
    padding: 6px 9px;
    font-size: 12px;
    border-radius: 8px;
  }
  .btn-post-ad span {
    display: none;
  }
  .btn-post-ad::after {
    content: "Elan";
  }
  .nav-btn {
    padding: 6px 7px;
    font-size: 12px;
    border-radius: 8px;
  }
  .nav-btn span:not(.nav-badge) {
    display: none;
  }
  .nav-badge {
    display: none;
  }
  .pro-pill {
    padding: 6px 10px;
    font-size: 11.5px;
    border-radius: 8px;
    max-width: none;
    white-space: nowrap;
  }
  .pro-pill .pro-dot {
    display: none;
  }
  .hero-band {
    padding: 18px 0 34px;
  }
  .hero-compact-head {
    margin-bottom: 12px;
    gap: 6px 10px;
  }
  .hero-compact-head h1 {
    font-size: 20px;
    line-height: 1.2;
  }
  .ai-quota-bar {
    font-size: 12px;
  }
  .ai-input-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 12px 10px;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.16);
  }
  .ai-icon-badge {
    display: grid;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .ai-input-row input {
    width: 100%;
    padding: 10px 4px;
    min-width: 0;
    line-height: 1.35;
  }
  .ai-submit-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 12px;
  }
  .ai-progress-wrap {
    margin-top: 12px;
    padding: 11px 13px;
  }
  .ai-meta-row {
    margin-top: 12px;
  }
  .ai-prompts {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding-bottom: 2px;
  }
  .ai-prompts::-webkit-scrollbar {
    display: none;
  }
  .prompt-chip {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12.5px;
    padding: 6px 12px;
  }
  .controls-section {
    margin-top: -18px;
  }
  .filter-card {
    padding: 10px 11px;
  }
  .filter-top-bar {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    gap: 8px;
  }
  .deal-and-mobile-filter {
    width: 100%;
  }
  .segmented-tabs {
    flex: 1;
    min-width: 0;
  }
  .seg-tab {
    flex: 1;
    padding: 6px 4px;
    font-size: 12px;
    text-align: center;
  }
  .mobile-filter-toggle {
    display: inline-flex;
  }
  .filter-quick-toggles {
    gap: 6px;
    margin-top: 2px;
  }
  .custom-check-pill {
    padding: 5px 9px 5px 7px;
    font-size: 12px;
  }
  .filter-grid {
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .filter-grid.mobile-open {
    display: grid;
  }
  .listings-section {
    padding: 14px 0 48px;
  }
  .listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .card {
    min-width: 0;
  }
  .card-top-badges {
    top: 7px;
    left: 7px;
    right: 7px;
    gap: 4px;
  }
  .card-top-badges .badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1.3;
  }
  .card-action-btns {
    top: auto;
    bottom: 7px;
    right: 7px;
    gap: 5px;
  }
  .card-action-btns .hide-ad-btn,
  .card-action-btns .fav-btn {
    width: 28px;
    height: 28px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.22);
  }
  .card-action-btns svg {
    width: 14px;
    height: 14px;
  }
  .card-body {
    padding: 9px;
  }
  .card-price {
    font-size: 15.5px;
  }
  .card-unit-price {
    display: none;
  }
  .card-title {
    font-size: 12.5px;
  }
  .card-specs,
  .card-location {
    font-size: 11px;
  }
  .pro-plans,
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .footer-meta {
    align-items: flex-start;
  }
}
