/* Mojereality.sk – hlavné štýly (nad Bootstrap 5.3) */
:root {
  --mr-primary: #0d6e5b;
  --mr-primary-dark: #08513f;
  --mr-primary-light: #e7f4f0;
  --mr-accent: #ff7a1a;
  --mr-accent-dark: #e5600a;
  --mr-ink: #14211d;
  --mr-muted: #5d6b67;
  --mr-bg: #f6f8f7;
  --mr-card: #fff;
  --mr-border: #e3e9e6;
  --mr-radius: 14px;
  --mr-shadow: 0 1px 2px rgba(16, 40, 32, .06), 0 6px 18px rgba(16, 40, 32, .06);
  --bs-primary: var(--mr-primary);
  --bs-primary-rgb: 13, 110, 91;
  --bs-link-color: var(--mr-primary);
  --bs-link-color-rgb: 13, 110, 91;
  --bs-link-hover-color: var(--mr-primary-dark);
  --bs-body-font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --bs-body-color: var(--mr-ink);
  --bs-body-bg: var(--mr-bg);
  --bs-border-radius: 10px;
  --bs-border-radius-lg: 14px;
  --mr-placeholder: #e9efec;
  --mr-header: rgba(255, 255, 255, .96);
  --mr-hero-a: #0a5b4b;
  --mr-hero-b: #138a72;
  --mr-top-tint: #fff8f2;
  --mr-footer: #0f1f1b;
  --bs-secondary-bg: var(--mr-card);
  --bs-body-bg: var(--mr-bg);
}

/* ---------- Farebné témy (html[data-color]) ---------- */
[data-color="ocean"] { --mr-primary: #1d5fbf; --mr-primary-dark: #154a96; --mr-primary-light: #e8f0fb; --mr-hero-a: #123f80; --mr-hero-b: #2b7be0; --bs-primary-rgb: 29, 95, 191; --bs-link-color-rgb: 29, 95, 191; --mr-footer: #0e1726; }
[data-color="ametyst"] { --mr-primary: #6d3fc0; --mr-primary-dark: #55309a; --mr-primary-light: #f1ebfb; --mr-hero-a: #4a2687; --mr-hero-b: #8a5be0; --bs-primary-rgb: 109, 63, 192; --bs-link-color-rgb: 109, 63, 192; --mr-footer: #1a1326; }
[data-color="terakota"] { --mr-primary: #b4532a; --mr-primary-dark: #8f411f; --mr-primary-light: #fbeee7; --mr-hero-a: #7d3518; --mr-hero-b: #d06c3d; --mr-accent: #1f6f8b; --mr-accent-dark: #175a72; --bs-primary-rgb: 180, 83, 42; --bs-link-color-rgb: 180, 83, 42; --mr-footer: #24160f; }
[data-color="grafit"] { --mr-primary: #2f3a45; --mr-primary-dark: #1e262e; --mr-primary-light: #eceff2; --mr-hero-a: #1b232b; --mr-hero-b: #45525f; --mr-accent: #e8a317; --mr-accent-dark: #c98a0c; --bs-primary-rgb: 47, 58, 69; --bs-link-color-rgb: 47, 58, 69; --mr-footer: #11161b; }

/* ---------- Tmavý režim ---------- */
[data-bs-theme="dark"] {
  --mr-ink: #e6ecea;
  --mr-muted: #9fb0aa;
  --mr-bg: #0f1513;
  --mr-card: #18201d;
  --mr-border: #2a3531;
  --mr-placeholder: #222c28;
  --mr-header: rgba(18, 24, 22, .94);
  --mr-top-tint: #241d17;
  --mr-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --mr-primary-light: rgba(var(--bs-primary-rgb), .18);
  --bs-body-color: var(--mr-ink);
  --bs-body-bg: var(--mr-bg);
  --bs-border-color: var(--mr-border);
  --bs-tertiary-bg: var(--mr-card);
  color-scheme: dark;
}
[data-bs-theme="dark"] .text-primary, [data-bs-theme="dark"] .navbar-brand b, [data-bs-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):not(.chip):not(.cat-tile) { filter: brightness(1.35); }
[data-bs-theme="dark"] .listing-card__title a, [data-bs-theme="dark"] .listing-row__title a, [data-bs-theme="dark"] .post-card h3 a { filter: none; color: var(--mr-ink); }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select, [data-bs-theme="dark"] .input-group-text { background-color: #121a17; border-color: var(--mr-border); color: var(--mr-ink); }
[data-bs-theme="dark"] .bg-white { background: var(--mr-card) !important; }
[data-bs-theme="dark"] .text-bg-light, [data-bs-theme="dark"] .btn-light { background: var(--mr-placeholder) !important; color: var(--mr-ink) !important; }
[data-bs-theme="dark"] .listing-card__fav { background: rgba(24, 32, 29, .9); color: var(--mr-ink); }
[data-bs-theme="dark"] .search-box { box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
[data-bs-theme="dark"] .leaflet-tile-pane { filter: brightness(.75) contrast(1.1) saturate(.8); }

/* Prepínač témy */
.theme-swatches { display: flex; gap: .4rem; padding: .25rem 1rem .5rem; }
.theme-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--mr-card); box-shadow: 0 0 0 1px var(--mr-border); cursor: pointer; padding: 0; }
.theme-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--mr-ink); }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
a.btn:hover, a.btn:focus { text-decoration: none; }
h1, .h1 { font-weight: 700; letter-spacing: -.01em; }
h2, .h2, h3, .h3 { font-weight: 700; }
.bi { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: var(--mr-card); padding: .5rem 1rem; border-radius: 8px; }
.text-muted { color: var(--mr-muted) !important; }
.bg-accent { background: var(--mr-accent) !important; color: #fff; }
.border-accent { border: 2px solid var(--mr-accent) !important; }
.text-primary { color: var(--mr-primary) !important; }
.bg-primary-subtle { background: var(--mr-primary-light) !important; }

/* Tlačidlá */
.btn-primary { --bs-btn-bg: var(--mr-primary); --bs-btn-border-color: var(--mr-primary); --bs-btn-hover-bg: var(--mr-primary-dark); --bs-btn-hover-border-color: var(--mr-primary-dark); --bs-btn-active-bg: var(--mr-primary-dark); --bs-btn-disabled-bg: var(--mr-primary); }
.btn-outline-primary { --bs-btn-color: var(--mr-primary); --bs-btn-border-color: var(--mr-primary); --bs-btn-hover-bg: var(--mr-primary); --bs-btn-hover-border-color: var(--mr-primary); --bs-btn-active-bg: var(--mr-primary-dark); }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--mr-accent); --bs-btn-border-color: var(--mr-accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--mr-accent-dark); --bs-btn-hover-border-color: var(--mr-accent-dark); --bs-btn-active-bg: var(--mr-accent-dark); --bs-btn-active-color: #fff; font-weight: 600; }
.btn { font-weight: 500; }
.form-control:focus, .form-select:focus { border-color: var(--mr-primary); box-shadow: 0 0 0 .2rem rgba(13, 110, 91, .15); }
.form-check-input:checked { background-color: var(--mr-primary); border-color: var(--mr-primary); }

/* Hlavička */
/* rozmazanie je na pseudo-prvku: backdrop-filter priamo na hlavičke z nej robí obal pre position:fixed
   a mobilné menu (offcanvas) by roztiahlo stránku na dvojnásobnú šírku */
.site-header { border-bottom: 1px solid var(--mr-border); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mr-header); backdrop-filter: saturate(180%) blur(8px); }
.navbar { --bs-navbar-padding-y: 1.05rem; }
.navbar-brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.3rem; color: var(--mr-ink); }
.navbar-brand b { color: var(--mr-primary); font-weight: 700; }
.site-footer .navbar-brand b { color: #5fd3b5; }
.navbar .nav-link { color: var(--mr-ink); font-weight: 400; }
.navbar .btn { font-weight: 400; }
.dropdown-item { font-weight: 400; }
.navbar .nav-link:hover { color: var(--mr-primary); text-decoration: none; }
.dropdown-menu { border-color: var(--mr-border); box-shadow: var(--mr-shadow); border-radius: 12px; }
.dropdown-item:active { background: var(--mr-primary); }
@media (min-width: 992px) {
  .navbar .offcanvas { visibility: visible; }
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  /* menu účtu vpravo: pri hoveri (bez Bootstrapu) aj po kliknutí rovnako zarovnané doprava – inak preskakovalo */
  .navbar .dropdown-menu-end { right: 0; left: auto; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, var(--mr-hero-a) 0%, var(--mr-primary) 45%, var(--mr-hero-b) 100%); color: #fff; padding: 3.5rem 0 5.5rem; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 60%); pointer-events: none; }
.hero h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); max-width: 18ch; }
.hero .lead { color: rgba(255, 255, 255, .85); max-width: 62ch; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero-stats strong { color: #fff; font-size: 1.15rem; }

/* Vyhľadávanie */
.search-box { background: var(--mr-card); color: var(--mr-ink); border-radius: 18px; box-shadow: 0 18px 50px rgba(5, 40, 32, .25); padding: 1rem; position: relative; z-index: 5; }
.search-box__tabs { display: flex; gap: .25rem; margin-bottom: .75rem; }
.search-box__tab input { position: absolute; opacity: 0; pointer-events: none; }
.search-box__tab span { display: inline-block; padding: .45rem 1rem; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--mr-muted); }
.search-box__tab input:checked + span { background: var(--mr-primary-light); color: var(--mr-primary); }
.search-box__tab input:focus-visible + span { outline: 2px solid var(--mr-primary); }
.search-box__row { display: grid; gap: .75rem; grid-template-columns: 1fr; }
.search-box .form-label { font-size: .8rem; font-weight: 600; color: var(--mr-muted); margin-bottom: .25rem; }
.search-box .form-control, .search-box .form-select { min-height: 48px; }
.search-box__submit { min-height: 48px; align-self: end; }
@media (min-width: 768px) { .search-box { padding: 1.25rem; } .search-box__row { grid-template-columns: 2fr 1.4fr 1fr auto; align-items: end; } }
.loc-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1060; max-height: 320px; overflow: auto; border-radius: 12px; }
.loc-suggest .list-group-item { cursor: pointer; display: flex; justify-content: space-between; gap: .5rem; }
.loc-suggest .list-group-item.active { background: var(--mr-primary-light); color: var(--mr-ink); border-color: var(--mr-border); }
.loc-suggest small { color: var(--mr-muted); }

/* Sekcie */
.section { padding: 3rem 0; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.25rem; }
.section-title h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-tile { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: .85rem; padding: 1rem; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); color: var(--mr-ink); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--mr-shadow); text-decoration: none; color: var(--mr-ink); }
.cat-tile__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mr-primary-light); color: var(--mr-primary); font-size: 1.3rem; }
.cat-tile small { display: block; color: var(--mr-muted); }

/* Karta inzerátu */
.listing-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .listing-grid { grid-template-columns: repeat(3, 1fr); } .listing-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.listing-card { position: relative; display: flex; flex-direction: column; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); overflow: hidden; transition: box-shadow .15s, transform .15s; contain: layout paint; }
.listing-card:hover { box-shadow: var(--mr-shadow); transform: translateY(-2px); }
.listing-card.is-highlight { border-color: var(--mr-accent); box-shadow: 0 0 0 2px rgba(255, 122, 26, .25); }
.listing-card__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mr-placeholder); }
.listing-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-card__noimg { display: grid; place-items: center; height: 100%; font-size: 3rem; color: #b8c7c1; }
.listing-card__badges { position: absolute; top: .6rem; left: .6rem; display: flex; gap: .3rem; flex-wrap: wrap; }
.listing-card__badges .badge { font-weight: 600; }
.listing-card__count { position: absolute; bottom: .6rem; left: .6rem; font-size: .75rem; color: #fff; background: rgba(0, 0, 0, .55); padding: .15rem .45rem; border-radius: 6px; }
.listing-card__fav { position: absolute; top: .55rem; right: .55rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mr-card); color: var(--mr-ink); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.listing-card__fav.is-fav, .btn-fav.is-fav { color: #e0245e; }
.listing-card__body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.listing-card__price { font-weight: 800; font-size: 1.2rem; color: var(--mr-ink); }
.listing-card__title { font-size: .98rem; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card__title a { color: var(--mr-ink); }
.listing-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.listing-card__fav, .listing-card__img { z-index: 2; }
.listing-card__loc { font-size: .87rem; color: var(--mr-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-card__facts { list-style: none; padding: 0; margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .78rem; }
.listing-card__facts li { background: var(--mr-bg); border-radius: 6px; padding: .1rem .5rem; color: var(--mr-muted); }

/* Výpis */
.filters { background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); padding: 1rem; }
.filters .form-label { font-size: .82rem; font-weight: 600; color: var(--mr-muted); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .75rem; border: 1px solid var(--mr-border); border-radius: 999px; background: var(--mr-card); color: var(--mr-ink); font-size: .87rem; }
.chip:hover { border-color: var(--mr-primary); color: var(--mr-primary); text-decoration: none; }
.chip small { color: var(--mr-muted); }
.btn-check:checked + .chip, .btn-check:checked + .invalid-feedback + .chip {background: var(--mr-primary); border-color: var(--mr-primary); color: var(--mr-on-primary, #fff); }
.seo-text { color: var(--mr-muted); font-size: .95rem; }

/* Detail */
.gallery { display: grid; gap: .5rem; grid-template-columns: 1fr; border-radius: var(--mr-radius); overflow: hidden; position: relative; }
.gallery a { display: block; background: var(--mr-placeholder); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__main { aspect-ratio: 16 / 9; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 7; }
  .gallery__main { grid-row: span 2; aspect-ratio: auto; }
  .gallery a:not(.gallery__main) { display: block; }
}
.gallery a:not(.gallery__main) { display: none; }
@media (min-width: 768px) { .gallery a:nth-child(-n+5) { display: block; } }
.gallery__more { position: absolute; right: 1rem; bottom: 1rem; }
.detail-price { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.detail-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .detail-facts { grid-template-columns: repeat(4, 1fr); } }
.detail-fact { background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: 12px; padding: .75rem 1rem; }
.detail-fact small { display: block; color: var(--mr-muted); font-size: .78rem; }
.detail-fact strong { font-size: 1.05rem; }
.params { width: 100%; }
.params th { color: var(--mr-muted); font-weight: 500; width: 45%; padding: .45rem 0; border-bottom: 1px solid var(--mr-border); }
.params td { padding: .45rem 0; border-bottom: 1px solid var(--mr-border); font-weight: 600; }
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
@media (min-width: 768px) { .feature-list { grid-template-columns: repeat(3, 1fr); } }
.feature-list li::before { content: "✓"; color: var(--mr-primary); font-weight: 700; margin-right: .4rem; }
.description { line-height: 1.7; overflow-wrap: anywhere; }
.description.is-collapsed { max-height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.contact-card { background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); padding: 1.25rem; box-shadow: var(--mr-shadow); }
@media (min-width: 992px) { .sticky-aside { position: sticky; top: 105px; } }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--mr-primary-light); color: var(--mr-primary); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--mr-card); border-top: 1px solid var(--mr-border); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); display: flex; gap: .5rem; }
@media (min-width: 992px) { .mobile-cta { display: none; } }
.has-mobile-cta { padding-bottom: 76px; }
@media (min-width: 992px) { .has-mobile-cta { padding-bottom: 0; } }
.map-box { height: 320px; border-radius: var(--mr-radius); overflow: hidden; background: var(--mr-placeholder); }
.map-full { height: calc(100vh - 140px); min-height: 480px; border-radius: var(--mr-radius); overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1rem; color: #fff; font-size: .9rem; }

/* Účet */
.account-nav .list-group-item { border: 0; border-radius: 10px !important; display: flex; align-items: center; gap: .6rem; color: var(--mr-ink); }
.account-nav .list-group-item.active { background: var(--mr-primary-light); color: var(--mr-primary); font-weight: 600; }
.card { border-color: var(--mr-border); border-radius: var(--mr-radius); }
.stat-card { background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); padding: 1rem 1.25rem; }
.stat-card small { color: var(--mr-muted); }
.stat-card strong { display: block; font-size: 1.6rem; font-weight: 800; }
.upload-zone { border: 2px dashed var(--mr-border); border-radius: var(--mr-radius); padding: 2rem; text-align: center; background: var(--mr-card); cursor: pointer; transition: border-color .15s, background .15s; }
.upload-zone.is-over { border-color: var(--mr-primary); background: var(--mr-primary-light); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; }
.photo-grid__item { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--mr-placeholder); cursor: grab; }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid__item button { position: absolute; top: .3rem; right: .3rem; }
.photo-grid__item:first-child::after { content: "Titulná"; position: absolute; left: .3rem; bottom: .3rem; background: var(--mr-primary); color: var(--mr-on-primary, #fff); font-size: .7rem; padding: .1rem .4rem; border-radius: 5px; }
.photo-grid__item.is-uploading { opacity: .5; }
.plan-card { background: var(--mr-card); border: 2px solid var(--mr-border); border-radius: 18px; padding: 1.75rem; height: 100%; display: flex; flex-direction: column; }
.plan-card.is-featured { border-color: var(--mr-primary); box-shadow: 0 18px 40px rgba(13, 110, 91, .15); position: relative; }
.plan-card__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.plan-card ul { list-style: none; padding: 0; flex: 1; }
.plan-card li { padding: .35rem 0; }
.plan-card li::before { content: "✓"; color: var(--mr-primary); font-weight: 800; margin-right: .5rem; }

/* Blog */
.post-card { background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; position: relative; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; background: var(--mr-placeholder); }
.post-card h3 { font-size: 1.05rem; line-height: 1.35; }
.post-card h3 a { color: var(--mr-ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.prose { font-size: 1.08rem; line-height: 1.75; max-width: 72ch; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.ratio iframe { border-radius: 12px; }

/* Päta + cookie */
.site-footer { background: var(--mr-footer); color: #cfd8d5; }
.site-footer a { color: #cfd8d5; }
.site-footer a:hover { color: #fff; }
.site-footer li { padding: .2rem 0; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1090; background: var(--mr-footer); color: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .2); }
.cookie-bar a { color: #9fe3cf; }

/* Pomocné */
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--mr-card); border: 1px dashed var(--mr-border); border-radius: var(--mr-radius); }
.empty-state .bi { font-size: 2.5rem; color: var(--mr-primary); margin-bottom: .75rem; }
.toast-container { z-index: 2100; }
.leaflet-container { font-family: inherit; }
.map-popup img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: .4rem; }
.map-popup strong { display: block; }
.price-pin { background: var(--mr-primary); color: var(--mr-on-primary, #fff); font-weight: 700; font-size: .75rem; padding: .15rem .45rem; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); border: 2px solid #fff; transform: translate(-50%, -50%); display: inline-block; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Riadkový výpis (vyhľadávanie, kategórie) */
.listing-list { display: flex; flex-direction: column; gap: .85rem; }
.listing-row { position: relative; display: grid; grid-template-columns: 1fr; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); overflow: hidden; transition: box-shadow .15s; }
.listing-row:hover { box-shadow: var(--mr-shadow); }
.listing-row.is-highlight { border-color: var(--mr-accent); box-shadow: 0 0 0 2px rgba(255, 122, 26, .25); }
.listing-row.is-top { background: linear-gradient(90deg, var(--mr-card), var(--mr-top-tint)); }
.listing-row__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mr-placeholder); }
.listing-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.listing-row:hover .listing-row__img img { transform: scale(1.03); }
.listing-row__body { padding: .9rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.listing-row__title { font-size: 1.08rem; font-weight: 700; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-row__title a { color: var(--mr-ink); }
.listing-row__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.listing-row__fav { position: relative; z-index: 2; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--mr-border); background: var(--mr-card); display: grid; place-items: center; color: var(--mr-ink); }
.listing-row__fav.is-fav { color: #e0245e; }
.listing-row__loc { font-size: .9rem; color: var(--mr-muted); margin: 0; }
.listing-row__desc { font-size: .9rem; color: var(--mr-muted); margin: .15rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-row__foot { margin-top: auto; padding-top: .5rem; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.listing-row__price { font-size: 1.3rem; font-weight: 800; }
@media (min-width: 768px) {
  .listing-row { grid-template-columns: 300px 1fr; }
  .listing-row__img { aspect-ratio: auto; min-height: 100%; }
  .listing-row__img img { position: absolute; inset: 0; }
}
@media (min-width: 1200px) { .listing-row { grid-template-columns: 340px 1fr; } }

/* Topbar */
.topbar { background: var(--mr-footer); color: rgba(255, 255, 255, .78); font-size: .82rem; padding: .6rem 0; }
.topbar .bi { margin-right: .15rem; opacity: .85; }
.topbar a, .topbar__btn { color: rgba(255, 255, 255, .78); }
.topbar a:hover, .topbar__btn:hover { color: #fff; text-decoration: none; }
.topbar__btn { background: none; border: 0; padding: 0; font-size: inherit; }
.topbar .dropdown-menu { font-size: .9rem; }
/* položky rozbaľovacích menu v tmavej lište (jazyk) nesmú dediť bielu farbu odkazov */
.topbar .dropdown-menu .dropdown-item { color: var(--bs-dropdown-link-color); }
.topbar .dropdown-menu .dropdown-item:hover, .topbar .dropdown-menu .dropdown-item:focus { color: var(--bs-dropdown-link-hover-color); }
.topbar .dropdown-menu .dropdown-item.active, .topbar .dropdown-menu .dropdown-item:active { color: var(--bs-dropdown-link-active-color); }
/* výber jazyka a meny v hornej lište */
.locale-menu { padding: .5rem; min-width: 0; width: min(420px, calc(100vw - 32px)); }
.locale-menu.show { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.locale-menu .dropdown-header { padding: .35rem .75rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.locale-menu .dropdown-item { border-radius: 8px; padding: .45rem .75rem; display: flex; align-items: center; gap: .5rem; white-space: normal; }
.locale-menu__code { display: inline-grid; place-items: center; min-width: 2rem; height: 1.6rem; border: 1px solid var(--mr-border); border-radius: 6px; font-size: .75rem; font-weight: 600; }
.topbar .locale-menu .dropdown-item.active { background: var(--bs-tertiary-bg); color: var(--bs-body-color); font-weight: 600; }
.locale-menu .dropdown-item.active .locale-menu__code { border-color: var(--mr-primary); color: var(--mr-primary); }
@media (max-width: 420px) { .locale-menu.show { grid-template-columns: 1fr; } }

/* Online chat */
.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 1080; }
.has-mobile-cta .chat { bottom: 84px; }
@media (min-width: 992px) { .has-mobile-cta .chat { bottom: 1rem; } }
/* kým svieti lišta s cookies, bublina chatu by ju prekrývala */
body:has(#cookieBar:not(.d-none)) .chat { display: none; }
.chat__bubble { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--mr-primary); color: var(--mr-on-primary, #fff); font-size: 1.6rem; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .15s; }
.chat__bubble:hover { transform: scale(1.06); }
.chat.is-open .chat__bubble { display: none; }
.chat__panel { width: min(420px, calc(100vw - 2rem)); height: min(620px, calc(100vh - 6rem)); background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); display: flex; flex-direction: column; overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: var(--mr-primary); color: var(--mr-on-primary, #fff); }
.chat__head small { opacity: .8; }
.chat__head .avatar { background: rgba(127, 127, 127, .25); color: inherit; }
.chat__messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.chat__msg { max-width: 85%; padding: .55rem .8rem; border-radius: 14px; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat__msg--bot { background: var(--mr-bg); border: 1px solid var(--mr-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat__msg--user { background: var(--mr-primary); color: var(--mr-on-primary, #fff); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat__msg--user a { color: #fff; text-decoration: underline; }
.chat__msg.is-typing { opacity: .6; letter-spacing: .2em; }
.chat__form { display: flex; gap: .5rem; padding: .6rem; border-top: 1px solid var(--mr-border); }
.chat__form textarea { flex: 1; resize: none; border: 1px solid var(--mr-border); border-radius: 12px; padding: .5rem .75rem; background: var(--mr-bg); color: var(--mr-ink); max-height: 120px; }
.chat__note { font-size: .7rem; color: var(--mr-muted); text-align: center; margin: 0 0 .5rem; }

/* ---------- Typografia zladená s MojeUbytko.cz ---------- */
html { font-size: 95%; }                                   /* 15,2 px */
:root { --mr-ink: #222; --bs-body-line-height: 1.5; --bs-border-radius: 8px; }
[data-bs-theme="dark"] { --mr-ink: #e6ecea; }
body { font-size: 1rem; line-height: 1.5; }
h1, .h1 { font-size: 1.85rem; font-weight: 700; letter-spacing: 0; }
.hero h1 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); max-width: none; }
@media (max-width: 575.98px) { .hero h1 { font-size: 1.75rem; } }
h2, .h2 { font-size: 1.5rem; font-weight: 600; }
h3, .h3 { font-size: 1.15rem; font-weight: 600; }
.section-title h2 { font-size: 1.25rem; font-weight: 600; }  /* 19 px */
.section-title a, .text-muted, .small, small { font-size: .875rem; }
.text-muted { color: rgba(33, 37, 41, .75) !important; }
[data-bs-theme="dark"] .text-muted { color: var(--mr-muted) !important; }
.navbar .nav-link { font-size: 1rem; font-weight: 400; }
.navbar-brand { font-size: 1.6rem; font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.navbar-brand b { font-weight: 700; }
.topbar { font-size: .855rem; }                             /* 13 px */
.btn { font-weight: 600; --bs-btn-border-radius: 8px; }
.navbar .btn-link, .topbar__btn { font-weight: 400; }
.listing-card__price { font-size: 1.05rem; font-weight: 700; }
.listing-card__title { font-size: .95rem; font-weight: 600; }
.listing-row__title { font-size: 1.05rem; font-weight: 600; }
.listing-row__price { font-size: 1.2rem; font-weight: 700; }
.detail-price { font-weight: 700; }
.site-footer { font-size: .875rem; }
.site-footer a { color: #9aa4ab; }
.form-control, .form-select { font-size: .93rem; }
.cat-tile strong { font-weight: 600; }

/* Stránkovanie */
.pager { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.pager__pages { display: flex; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.pager__pages a, .pager__pages span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem; border-radius: 10px; border: 1px solid var(--mr-border); background: var(--mr-card); color: var(--mr-ink); font-weight: 600; transition: border-color .15s, background .15s, color .15s; }
.pager__pages a:hover { border-color: var(--mr-primary); color: var(--mr-primary); text-decoration: none; }
.pager__pages .is-current { background: var(--mr-primary); border-color: var(--mr-primary); color: var(--mr-on-primary, #fff); box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), .3); }
.pager__gap { display: grid; place-items: center; min-width: 24px; color: var(--mr-muted); }
.pager__nav { display: inline-flex; align-items: center; gap: .35rem; height: 42px; padding: 0 1rem; border-radius: 10px; border: 1px solid var(--mr-border); background: var(--mr-card); color: var(--mr-ink); font-weight: 600; }
.pager__nav:hover { border-color: var(--mr-primary); color: var(--mr-primary); text-decoration: none; }
.pager__nav.is-disabled { opacity: .4; pointer-events: none; }
@media (max-width: 575.98px) { .pager__nav span { display: none; } .pager__nav { padding: 0 .8rem; } .pager__pages a, .pager__pages span { min-width: 38px; height: 38px; } }

/* Slider sekcie */
.section-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mr-primary-light); color: var(--mr-primary); margin-right: .55rem; font-size: 1rem; vertical-align: middle; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .25rem .1rem 1rem; scrollbar-width: thin; overscroll-behavior-x: contain; }
@media (min-width: 576px) { .slider__track { grid-auto-columns: calc(50% - .5rem); } }
@media (min-width: 992px) { .slider__track { grid-auto-columns: calc(33.333% - .67rem); } }
@media (min-width: 1200px) { .slider__track { grid-auto-columns: calc(25% - .75rem); } }
.slider__item { scroll-snap-align: start; display: flex; }
.slider__item .listing-card { width: 100%; }
.slider__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--mr-border); background: var(--mr-card); color: var(--mr-ink); display: grid; place-items: center; }
.slider__btn:hover { border-color: var(--mr-primary); color: var(--mr-primary); }
.slider__btn:disabled { opacity: .35; }
.chip.is-active { background: var(--mr-primary); border-color: var(--mr-primary); color: var(--mr-on-primary, #fff); }
button.chip { cursor: pointer; }

/* Marketingové bloky */
.promo { border-radius: 22px; padding: 2rem; position: relative; overflow: hidden; }
@media (min-width: 992px) { .promo { padding: 3rem; } }
.promo--private { background: var(--mr-primary-light); }
.promo--agency { background: linear-gradient(135deg, var(--mr-hero-a), var(--mr-primary) 60%, var(--mr-hero-b)); color: #fff; }
.promo__eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--mr-primary); margin-bottom: .5rem; }
.promo--agency .promo__eyebrow { color: rgba(255, 255, 255, .8); }
.promo__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; margin-bottom: .75rem; }
.promo__text { font-size: 1.05rem; opacity: .9; max-width: 60ch; }
.promo__list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .45rem; }
.promo__list .bi { color: var(--mr-primary); margin-right: .4rem; }
.promo__calc { background: var(--mr-card); border-radius: 18px; padding: 1.75rem; box-shadow: var(--mr-shadow); }
.promo__big { font-size: 2.6rem; font-weight: 800; color: var(--mr-primary); line-height: 1.1; margin: .25rem 0; }
.promo__feature { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 1rem; height: 100%; display: flex; flex-direction: column; gap: .25rem; }
.promo__feature .bi { font-size: 1.5rem; margin-bottom: .25rem; }
.promo__feature span { font-size: .88rem; opacity: .85; }
.ai-advisor { background: var(--mr-card); border: 1px solid var(--mr-border); box-shadow: var(--mr-shadow); }
.ai-advisor .promo__eyebrow .bi { vertical-align: -.1em; }
.ai-advisor__form { display: flex; gap: .5rem; align-items: stretch; }
.ai-advisor__form textarea { resize: none; min-height: 3.2rem; }
.ai-advisor__form .btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 575.98px) { .ai-advisor__form { flex-direction: column; } }
.ai-advisor__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.ai-advisor__chips .chip { cursor: pointer; text-align: left; }
.ai-ask { border: 1px solid var(--mr-border); border-radius: 16px; padding: 1.1rem 1.25rem; background: var(--mr-card); }
.ai-ask .bi { color: var(--mr-primary); }
.ai-ask--compact .ai-advisor__form { flex-direction: column; }
.ai-ask--compact .chip { font-size: .8rem; }
.map-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .35rem; padding: 2rem; border-radius: 1rem; background: var(--mr-card); border: 1px solid var(--mr-border); color: var(--mr-ink); }
.map-cta:hover { text-decoration: none; color: var(--mr-ink); box-shadow: var(--mr-shadow); }
.map-cta__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--mr-primary-light); color: var(--mr-primary); display: grid; place-items: center; font-size: 1.6rem; }
.map-cta strong { font-size: 1.25rem; }
.agency-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.agency-strip__item { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem; border: 1px solid var(--mr-border); border-radius: 14px; background: var(--mr-card); color: var(--mr-ink); text-align: center; font-size: .88rem; }
.agency-strip__item:hover { text-decoration: none; border-color: var(--mr-primary); }
.agency-strip__item img { width: 64px; height: 64px; object-fit: contain; }
.agency-strip__item img.is-photo { border-radius: 50%; object-fit: cover; } /* fotka človeka v kruhu ako na profile, logo ostáva celé */
.accordion { --bs-accordion-bg: var(--mr-card); --bs-accordion-border-color: var(--mr-border); --bs-accordion-active-bg: var(--mr-primary-light); --bs-accordion-active-color: var(--mr-ink); --bs-accordion-btn-focus-box-shadow: none; }

/* ---------- Čisté biele pozadie ---------- */
:root { --mr-bg: #ffffff; --bs-body-bg: #ffffff; --mr-placeholder: #eef2f0; }
[data-bs-theme="dark"] { --mr-bg: #0f1513; --bs-body-bg: #0f1513; }
.filters, .contact-card, .detail-fact, .listing-row, .listing-card { border-color: var(--mr-border); }

/* ---------- Galéria detailu – pevné pomery, bez naťahovania ---------- */
.gallery { display: grid; gap: 6px; grid-template-columns: 1fr; border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: auto; }
.gallery a { position: relative; display: block; overflow: hidden; min-height: 0; background: var(--mr-placeholder); }
.gallery a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery__main { aspect-ratio: 16 / 10; }
.gallery a:not(.gallery__main) { display: none; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 21 / 9; max-height: 520px; }
  .gallery__main { grid-row: 1 / span 2; aspect-ratio: auto; }
  .gallery a:nth-child(-n+5):not(.gallery__main) { display: block; }
  .gallery--few { grid-template-columns: 1fr; aspect-ratio: 16 / 9; }
  .gallery--few .gallery__main { grid-row: auto; }
}

/* ---------- Galéria detailu (slider + náhľady) ---------- */
.gal__stage { position: relative; border-radius: 16px; overflow: hidden; background: #111; aspect-ratio: 16 / 10; max-height: 460px; width: 100%; }
@media (min-width: 992px) { .gal__stage { aspect-ratio: 16 / 9; } }
.gal__stage--empty { display: grid; place-items: center; color: #9aa; background: var(--mr-placeholder); }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: block; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal__slide--fit { position: relative; overflow: hidden; }
.gal__slide--fit::before { content: ''; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(26px) brightness(.75); }
.gal__slide--fit img { position: relative; object-fit: contain; }
.gal__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #222; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .2s; }
.gal__arrow--prev { left: 12px; } .gal__arrow--next { right: 12px; }
.gal__stage:hover .gal__arrow, .gal__arrow:focus-visible { opacity: 1; }
@media (hover: none) { .gal__arrow { opacity: .9; width: 38px; height: 38px; } }
.gal__count { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .82rem; padding: .25rem .6rem; border-radius: 8px; }
.gal__full { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; }
.gal__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gal__thumb { flex: 0 0 auto; width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--mr-placeholder); opacity: .65; transition: opacity .15s, border-color .15s; }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal__thumb:hover { opacity: 1; }
.gal__thumb.is-active { border-color: var(--mr-primary); opacity: 1; }

/* Reklamné pozície */
.ad-slot { position: relative; margin: 1rem 0; padding: .6rem .75rem .75rem; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); min-height: 120px; text-align: center; overflow: hidden; }
.ad-slot__label { position: absolute; top: .3rem; left: .6rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mr-muted); opacity: .8; }
.ad-slot__noads { position: absolute; top: .25rem; right: .6rem; font-size: .72rem; }
.ad-slot ins { margin-top: .9rem; }
.ad-slot--detail_side, .ad-slot--pros_side, .ad-slot--drazby_side { min-height: 270px; }
.ad-slot--detail_gal { margin: .75rem 0 0; min-height: 0; padding-bottom: .5rem; }
.listing-src { position: absolute; right: .45rem; bottom: .45rem; z-index: 1; padding: .1rem .4rem; border-radius: 6px; background: rgba(0, 0, 0, .38); color: rgba(255, 255, 255, .85); font-size: .62rem; line-height: 1.4; letter-spacing: .02em; pointer-events: none; }
.ad-strip { display: inline-block; width: 100%; height: 90px; }
@media (max-width: 575.98px) { .ad-strip { height: 100px; } }
/* reklama sa ukáže až po načítaní AdSense (po voľbe cookies); keď Google reklamu nemá, miesto sa zbalí */
html:not(.ads-on) .ad-slot, .ad-slot:has(ins[data-ad-status="unfilled"]) { display: none; }

/* Hero s fotkou podľa ročného obdobia */
.hero--photo { background: #0b2a23; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 20, 16, .55) 0%, rgba(5, 20, 16, .35) 45%, rgba(5, 20, 16, .65) 100%); }
.hero--photo .container-xl { z-index: 1; }
.hero--photo::after { display: none; }
@media (min-width: 992px) { .hero--photo { padding: 5rem 0 6rem; } }

.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: #fff; color: #222; border: 1px solid #dadce0; font-weight: 600; padding: .6rem 1rem; }
.btn-google:hover { background: #f7f8f8; color: #222; border-color: #c6c9cc; }
.divider-text { display: flex; align-items: center; gap: .75rem; color: var(--mr-muted); font-size: .82rem; margin-bottom: 1rem; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--mr-border); }
.upsell { background: linear-gradient(135deg, var(--mr-primary-light), #fff3e8); border-radius: 14px; padding: 1rem; }
[data-bs-theme="dark"] .upsell { background: var(--mr-card); border: 1px solid var(--mr-border); }
.min-w-0 { min-width: 0; }

/* Hero – nižší a tmavší (moderný vzhľad) */
.hero--photo { padding: 2.25rem 0 2.5rem; }
@media (min-width: 992px) { .hero--photo { padding: 3rem 0 3.25rem; } }
.hero--photo h1 { font-size: 2.1rem; margin-bottom: .5rem !important; }
@media (max-width: 575.98px) { .hero--photo h1 { font-size: 1.5rem; } }
.hero--photo .lead { font-size: 1rem; margin-bottom: 1.25rem !important; }
.hero__bg img { filter: brightness(.55) saturate(1.05); }
.hero__bg::after { background: linear-gradient(180deg, rgba(4, 14, 12, .45) 0%, rgba(4, 14, 12, .25) 40%, rgba(4, 14, 12, .7) 100%); }
.hero--photo .hero-stats { margin-top: 1rem; }

/* Platby */
.pay-methods { display: grid; gap: .5rem; }
.pay-method { display: block; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; }
.pay-method span { display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; border: 1px solid var(--mr-border); border-radius: 10px; font-weight: 600; font-size: .92rem; }
.pay-method small { margin-left: auto; color: var(--mr-muted); font-weight: 400; }
.pay-method input:checked + span { border-color: var(--mr-primary); background: var(--mr-primary-light); box-shadow: 0 0 0 1px var(--mr-primary); }
.pay-method input:focus-visible + span { outline: 2px solid var(--mr-primary); }
.qr-box { width: 240px; max-width: 100%; margin: 0 auto; padding: 10px; background: #fff; border-radius: 12px; border: 1px solid var(--mr-border); }
.qr-box svg { width: 100%; height: auto; display: block; }
.plan-card .pay-form { margin-top: auto; }

/* Kompaktný vyhľadávací box s AI poľom */
.search-box { padding: .75rem; border-radius: 16px; }
.search-box__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .55rem; flex-wrap: wrap; }
.search-box__tabs { margin: 0; }
.search-box__tab span { padding: .3rem .85rem; font-size: .9rem; }
.search-box__ai { font-size: .78rem; color: var(--mr-muted); display: inline-flex; align-items: center; gap: .3rem; }
.search-box__ai .bi { color: var(--mr-accent); }
.search-box__row { display: grid; gap: .5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .search-box__row { grid-template-columns: 1fr 230px auto; align-items: stretch; } }
.search-box .form-control, .search-box .form-select { min-height: 46px; }
.search-box__smart .form-control { padding-left: 2.4rem; font-size: 1rem; }
.search-box__icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--mr-muted); pointer-events: none; z-index: 2; }
.search-box__submit { min-height: 46px; padding: 0 1.4rem; }
@media (min-width: 992px) { .search-box { padding: .9rem 1rem 1rem; } }
.ai-query { display: inline-flex; align-items: center; gap: .4rem; background: var(--mr-primary-light); color: var(--mr-primary); border-radius: 999px; padding: .25rem .8rem; font-size: .88rem; }

/* AI efekt okolo vyhľadávania: rotujúci farebný okraj + žiara */
@property --mr-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hero .search-box { position: relative; isolation: isolate; border: 0; }
.hero .search-box::before, .hero .search-box::after {
  content: ""; position: absolute; inset: -2px; border-radius: 18px; z-index: -1;
  background: conic-gradient(from var(--mr-angle), #5fd3b5, #3b82f6, #a855f7, #ff7a1a, #5fd3b5);
  animation: mr-spin 6s linear infinite;
}
.hero .search-box::after { inset: -6px; filter: blur(18px); opacity: .55; z-index: -2; }
.hero .search-box > * { position: relative; }
.hero .search-box { background: var(--mr-card); }
.hero .search-box::selection { background: transparent; }
@keyframes mr-spin { to { --mr-angle: 360deg; } }
.search-box__ai .bi { animation: mr-twinkle 2.4s ease-in-out infinite; }
@keyframes mr-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.85) rotate(12deg); } }
.search-box__smart .form-control:focus { box-shadow: 0 0 0 .2rem rgba(168, 85, 247, .18); border-color: #a855f7; }
@media (prefers-reduced-motion: reduce) { .hero .search-box::before, .hero .search-box::after, .search-box__ai .bi { animation: none; } }
/* oprava: okraj cez dvojité pozadie, žiara cez tieň */
.hero .search-box::before, .hero .search-box::after { content: none; }
.hero .search-box {
  border: 2px solid transparent;
  background: linear-gradient(var(--mr-card), var(--mr-card)) padding-box,
              conic-gradient(from var(--mr-angle), #5fd3b5, #3b82f6, #a855f7, #ff7a1a, #5fd3b5) border-box;
  animation: mr-spin 6s linear infinite, mr-glow 6s ease-in-out infinite;
}
@keyframes mr-glow {
  0%, 100% { box-shadow: 0 18px 50px rgba(5, 40, 32, .3), 0 0 28px rgba(95, 211, 181, .35); }
  33% { box-shadow: 0 18px 50px rgba(5, 40, 32, .3), 0 0 28px rgba(59, 130, 246, .35); }
  66% { box-shadow: 0 18px 50px rgba(5, 40, 32, .3), 0 0 28px rgba(168, 85, 247, .35); }
}
@media (prefers-reduced-motion: reduce) { .hero .search-box { animation: none; } }

/* Téma Čierna (predvolená) – elegantný čierno-biely vzhľad s oranžovým akcentom */
[data-color="cierna"] { --mr-primary: #111111; --mr-primary-dark: #000000; --mr-primary-light: #f2f2f2; --mr-hero-a: #000; --mr-hero-b: #2b2b2b; --mr-accent: #ff7a1a; --mr-accent-dark: #e5600a; --bs-primary-rgb: 17, 17, 17; --bs-link-color-rgb: 17, 17, 17; --mr-footer: #0b0b0b; }
[data-bs-theme="dark"][data-color="cierna"] { --mr-primary: #f2f2f2; --mr-primary-dark: #ffffff; --mr-primary-light: rgba(255, 255, 255, .1); --bs-primary-rgb: 242, 242, 242; --bs-link-color-rgb: 230, 236, 234; --bs-link-hover-color-rgb: 255, 255, 255; }
[data-bs-theme="dark"][data-color="cierna"] .btn-primary { --bs-btn-color: #111; --bs-btn-hover-color: #000; }
/* text/ikona na primárnej farbe – v tmavej čiernej téme je primárna takmer biela */
[data-bs-theme="dark"][data-color="cierna"] { --mr-on-primary: #111; }
[data-bs-theme="dark"][data-color="cierna"] .chat__head .btn-close-white { filter: none; }
[data-color="cierna"] .navbar-brand b, [data-color="cierna"] .site-footer .navbar-brand b { color: inherit; }
[data-color="cierna"] .site-footer .navbar-brand b { color: #ff7a1a; }

/* ---------- Plynulé prechody medzi stránkami (View Transitions API) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: mr-header; }
.topbar { view-transition-name: mr-topbar; }
main { view-transition-name: mr-main; }
::view-transition-old(mr-main) { animation: 160ms cubic-bezier(.4, 0, 1, 1) both mr-fade-out; }
::view-transition-new(mr-main) { animation: 260ms cubic-bezier(0, 0, .2, 1) 60ms both mr-fade-in; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
::view-transition-group(mr-header), ::view-transition-group(mr-topbar) { animation: none; }
@keyframes mr-fade-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes mr-fade-in { from { opacity: 0; transform: translateY(10px); } }

/* jemné zjavenie obsahu pri prvom načítaní a pri posúvaní */
@keyframes mr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main > * { animation: mr-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
main > *:nth-child(2) { animation-delay: .05s; }
main > *:nth-child(3) { animation-delay: .1s; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.listing-card, .listing-row, .cat-tile, .post-card, .btn, .chip { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:active { transform: scale(.98); }
html { scroll-behavior: smooth; }
/* tenký indikátor načítania hore pri prechode */
.page-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--mr-accent), #a855f7); z-index: 3000; transition: width .4s ease, opacity .3s; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  main > *, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Skeleton loading (ako Facebook / YouTube) ---------- */
@keyframes mr-shimmer { 0% { background-position: -460px 0; } 100% { background-position: 460px 0; } }
.skeleton, .listing-card__img:not(.is-loaded), .listing-row__img:not(.is-loaded), .gal__slide:not(.is-loaded), .post-card .img-wrap:not(.is-loaded) {
  background-color: var(--mr-placeholder);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
  background-size: 460px 100%; background-repeat: no-repeat;
  animation: mr-shimmer 1.3s linear infinite;
}
[data-bs-theme="dark"] .skeleton, [data-bs-theme="dark"] .listing-card__img:not(.is-loaded), [data-bs-theme="dark"] .listing-row__img:not(.is-loaded) {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, 0) 100%);
}
.listing-card__img img, .listing-row__img img, .gal__slide img { opacity: 0; transition: opacity .35s ease; }
.is-loaded img { opacity: 1; }
/* kostra karty pri AJAX načítaní */
.skeleton-card { border: 1px solid var(--mr-border); border-radius: var(--mr-radius); overflow: hidden; background: var(--mr-card); }
.skeleton-card .sk-img { aspect-ratio: 16 / 9; }
.skeleton-card .sk-body { padding: .9rem 1rem 1rem; display: grid; gap: .5rem; }
.skeleton-line { height: 12px; border-radius: 6px; }
.skeleton-line.w-40 { width: 40%; } .skeleton-line.w-60 { width: 60%; } .skeleton-line.w-80 { width: 80%; } .skeleton-line.h-18 { height: 18px; }
@media (prefers-reduced-motion: reduce) { .skeleton, .listing-card__img, .listing-row__img { animation: none !important; } }
.hero__bg img { filter: brightness(.68) saturate(1.1); }
.hero__bg::after { background: linear-gradient(90deg, rgba(4, 14, 12, .55) 0%, rgba(4, 14, 12, .15) 70%), linear-gradient(180deg, rgba(4, 14, 12, .2) 0%, rgba(4, 14, 12, .55) 100%); }

/* Hero – text vycentrovaný */
.hero--photo .container-xl > h1, .hero--photo .container-xl > .lead { text-align: center; margin-left: auto; margin-right: auto; }
.hero--photo .lead { max-width: 70ch; }
.hero--photo .hero-stats { justify-content: center; }

/* Sprievodca pridaním inzerátu */
.add-head { max-width: 860px; }
.stepper { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: .45rem; padding: .35rem .85rem .35rem .4rem; border-radius: 999px; background: var(--mr-bg); border: 1px solid var(--mr-border); color: var(--mr-muted); font-size: .9rem; }
.stepper span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mr-border); color: var(--mr-ink); font-weight: 700; font-size: .8rem; }
.stepper .is-active { border-color: var(--mr-primary); color: var(--mr-ink); font-weight: 600; }
.stepper .is-active span { background: var(--mr-primary); color: var(--mr-on-primary, #fff); }
.stepper .is-done span { background: #16a34a; color: #fff; }
.d-contents { display: contents; }
[data-params] [hidden] { display: none !important; }

/* Dashboard */
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.mini-chart span { flex: 1; background: var(--mr-primary); opacity: .82; border-radius: 3px 3px 0 0; transition: opacity .15s; }
.mini-chart span:hover { opacity: 1; background: var(--mr-accent); }
.upgrade-banner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-radius: 16px; background: linear-gradient(135deg, #fff4ea, #ffe7d4); border: 1px solid #ffd2ad; }
.upgrade-banner .bi { color: var(--mr-accent); }
[data-bs-theme="dark"] .upgrade-banner { background: #2a1d12; border-color: #5a3a1e; }
.stat-card small { display: block; }
.chat__msg--admin { border-color: var(--mr-accent) !important; background: #fff4ea !important; }

/* Trhový prehľad cien lokality */
.market-box { border: 1px solid var(--mr-border); border-radius: var(--mr-radius); padding: 1rem 1.25rem; background: linear-gradient(135deg, var(--mr-card), var(--mr-bg)); }
.market-box small { display: block; color: var(--mr-muted); font-size: .78rem; }
.market-box strong { font-size: 1.2rem; }

/* Zdieľanie */
.share-bar { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--mr-border); background: var(--mr-card); color: var(--mr-ink); display: inline-grid; place-items: center; }
.share-btn:hover { border-color: var(--mr-primary); color: var(--mr-primary); text-decoration: none; }

/* Hero: väčší nadpis, nižší vyhľadávací box */
.hero--photo h1 { font-size: 2.75rem; letter-spacing: .01em; }
@media (max-width: 575.98px) { .hero--photo h1 { font-size: 1.9rem; } }
.hero--photo .search-box { padding: .55rem .6rem; border-radius: 14px; }
.hero--photo .search-box__top { margin-bottom: .4rem; }
.hero--photo .search-box__tab span { padding: .18rem .75rem; font-size: .85rem; }
.hero--photo .search-box .form-control, .hero--photo .search-box .form-select, .hero--photo .search-box__submit { min-height: 40px; }
.hero--photo .search-box__smart .form-control { font-size: .95rem; }

/* Tlačidlo „Pridať inzerát“ v hlavičke – pôvodná farba, menšie a zaoblené */
.btn-add { --bs-btn-padding-y: .32rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .9rem; --bs-btn-font-weight: 600; --bs-btn-color: #fff; --bs-btn-bg: var(--mr-accent); --bs-btn-border-color: var(--mr-accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--mr-accent-dark); --bs-btn-hover-border-color: var(--mr-accent-dark); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--mr-accent-dark); border-radius: 999px; }
.btn-add .bi { margin-right: .15rem; }
.btn-add--nav { --bs-btn-padding-y: .3rem; --bs-btn-padding-x: .8rem; --bs-btn-font-size: .85rem; white-space: nowrap; }
.btn-add--nav + .navbar-toggler { margin-left: .35rem; }

/* Cena v karte inzerátu vpravo dole, menšia */
.listing-card__price { margin-top: auto; padding-top: .35rem; align-self: flex-end; font-size: .98rem; font-weight: 700; }
.listing-row__price { font-size: 1.05rem; font-weight: 700; }

/* Horná lišta (jazyk, mena) – ponuky musia byť nad hlavným menu (view-transition-name vytvára vlastnú vrstvu) */
.topbar { position: relative; z-index: 1030; }
/* Otvorené mobilné menu musí byť nad hornou lištou aj nad bublinou chatu (offcanvas je vnútri hlavičky so z-index 1020) */
.site-header:has(.offcanvas.show), .site-header:has(.offcanvas.showing), .site-header:has(.offcanvas.hiding) { z-index: 1095; }
body:has(.offcanvas.show) .chat, body:has(.offcanvas.showing) .chat { display: none; }
@media (max-width: 991.98px) {
  .navbar .offcanvas-body .nav-link, .navbar .offcanvas-body .btn-link { text-align: left; padding-left: 0; }
  .offcanvas-extra { border-top: 1px solid var(--mr-border); margin-top: .75rem; padding-top: .5rem; }
  .offcanvas-extra a, .offcanvas-extra button { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; color: var(--mr-ink); background: none; border: 0; width: 100%; text-align: left; }
  .offcanvas-extra .bi { color: var(--mr-primary); }
}

/* Tmavý režim s čiernou témou: primárna farba je svetlá → aktívne čipy potrebujú tmavý text */
[data-bs-theme="dark"][data-color="cierna"] .btn-check:checked + .chip,
[data-bs-theme="dark"][data-color="cierna"] .chip.is-active { color: #111; }

/* ---------- Mobil (do 576 px): jemnejšia typografia, menšie okraje, kompaktné karty ---------- */
@media (max-width: 575.98px) {
  html { font-size: 90%; }                                  /* 14,4 px */
  body { line-height: 1.55; }
  h1, .h1 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; }
  h2, .h2 { font-size: 1.3rem; line-height: 1.3; }
  .h4 { font-size: 1.12rem; font-weight: 700; }
  .section { padding: 2.25rem 0; }
  .section-title { margin-bottom: .9rem; align-items: center; }
  .section-title h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
  .section-title p { font-size: .82rem; }
  .section-icon { width: 28px; height: 28px; border-radius: 8px; font-size: .85rem; margin-right: .45rem; }
  .slider__btn { width: 34px; height: 34px; }
  /* polia formulárov 16 px – iPhone inak pri ťuknutí priblíži stránku */
  .form-control, .form-select { font-size: 16px; }
  .btn { --bs-btn-font-size: .95rem; }

  /* hlavička */
  .navbar { --bs-navbar-padding-y: .7rem; }
  .navbar-brand { font-size: 1.35rem; gap: .45rem; }
  .navbar-brand svg { width: 30px; height: 30px; }

  /* omrvinky v jednom riadku, posuvné */
  .breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: .8rem; margin-bottom: .25rem; }
  .breadcrumb::-webkit-scrollbar { display: none; }
  .breadcrumb-item.active { overflow: hidden; text-overflow: ellipsis; min-width: 0; }

  /* dlaždice kategórií: ikona nad názvom, bez podnadpisu */
  .cat-tiles { gap: .5rem; }
  .cat-tile { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .8rem .85rem; overflow-wrap: normal; hyphens: auto; font-size: .9rem; line-height: 1.3; }
  .cat-tile__icon { width: 34px; height: 34px; border-radius: 9px; font-size: 1rem; }
  .cat-tile small { display: none; }

  /* karta inzerátu */
  .listing-grid { gap: .75rem; }
  .listing-card__body { padding: .7rem .85rem .8rem; gap: .2rem; }
  .listing-card__title { font-size: .93rem; line-height: 1.35; }
  .listing-card__loc { font-size: .8rem; }
  .listing-card__facts { font-size: .74rem; gap: .3rem; }
  .listing-card__facts li { padding: .05rem .45rem; }
  .listing-card__price { font-size: 1rem; padding-top: .2rem; }
  .listing-card__fav { width: 34px; height: 34px; top: .5rem; right: .5rem; }
  .listing-card__badges .badge { font-size: .68rem; padding: .3em .55em; }

  /* vodorovné posúvanie (najnovšie na úvode, podobné na detaile) – stránka nie je nekonečne dlhá */
  .listing-grid--scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5); padding: .1rem calc(var(--bs-gutter-x, 1.5rem) * .5) .5rem; scroll-padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5); }
  .listing-grid--scroll::-webkit-scrollbar { display: none; }
  .listing-grid--scroll > * { scroll-snap-align: start; }

  /* riadkový výpis */
  .listing-list { gap: .75rem; }
  .listing-row__body { padding: .7rem .85rem .8rem; gap: .25rem; }
  .listing-row__title { font-size: .98rem; line-height: 1.35; }
  .listing-row__loc, .listing-row__desc { font-size: .8rem; }
  .listing-row__fav { width: 34px; height: 34px; }
  .listing-row__foot { padding-top: .3rem; font-size: .8rem; }
  .listing-row__price { font-size: 1.02rem; }

  /* detail inzerátu */
  .detail-price { font-size: 1.45rem; }
  .detail-facts { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .detail-fact { padding: .5rem .6rem; border-radius: 10px; }
  .detail-fact small { font-size: .7rem; }
  .detail-fact strong { font-size: .9rem; line-height: 1.25; display: block; }
  .btn-fav { padding: .35rem .55rem; }
  .description { font-size: .95rem; line-height: 1.6; }
  .description p { margin-bottom: .55rem; }
  .params th, .params td { padding: .4rem 0; font-size: .88rem; }
  .feature-list { font-size: .9rem; gap: .25rem; }
  .contact-card { padding: 1rem; }
  .gal__thumbs { gap: 6px; }

  /* marketingové bloky */
  .promo { border-radius: 16px; padding: 1.35rem; }
  .promo__title { font-size: 1.25rem; }
  .promo__text { font-size: .93rem; }
  .promo__big { font-size: 2rem; }
  .promo__calc { padding: 1.25rem; border-radius: 14px; }
  .promo__feature { padding: .8rem; }
  .map-cta { padding: 1.25rem; }
  .map-cta strong { font-size: 1.05rem; }
  .plan-card__price { font-size: 2.1rem; }
  .prose { font-size: 1rem; }
  .card-body.p-4 { padding: 1.1rem !important; }
}

/* Tlačidlá v pätičke nepreberajú sivú farbu odkazov */
.site-footer a.btn { color: var(--bs-btn-color); }
.site-footer a.btn:hover { color: var(--bs-btn-hover-color); }
/* Odrážky v popise inzerátu */
.description ul { padding-left: 1.2rem; margin-bottom: .75rem; }
.description li { margin-bottom: .15rem; }
.description li::marker { color: var(--mr-muted); }
@media (max-width: 575.98px) {
  .breadcrumb-item { flex-shrink: 0; }
  .breadcrumb-item.active { flex-shrink: 1; }
  .site-footer { font-size: .85rem; }
  .site-footer li { padding: .12rem 0; }
}
@media (max-width: 575.98px) {
  /* úvodný blok */
  .hero--photo { padding: 1.75rem 0 1.75rem; }
  .hero--photo h1 { font-size: 1.55rem; line-height: 1.2; letter-spacing: 0; }
  .hero--photo .lead { font-size: .92rem; line-height: 1.5; margin-bottom: 1rem !important; }
  .hero--photo .search-box__smart .form-control { font-size: 16px; }
  .hero--photo .hero-stats { gap: .35rem 1rem; font-size: .8rem; margin-top: .85rem; }
  /* dlaždice kategórií: ikona a názov v jednom riadku, kompaktne */
  .cat-tile { flex-direction: row; align-items: center; gap: .6rem; padding: .6rem .7rem; font-size: .86rem; border-radius: 12px; }
  .cat-tile__icon { width: 32px; height: 32px; }
}
/* Nadpisy krokov vo formulároch (karty) */
.card-body > h2.h5, .card-body > div > h2.h5 { font-weight: 700; }
@media (max-width: 575.98px) {
  .prose h2 { font-size: 1.2rem; margin-top: 1.5rem; }
  .prose h3 { font-size: 1.05rem; }
}

/* ---------- Jednotný vzhľad (desktop aj mobil) ---------- */
/* všetky nadpisy rovnakou hrúbkou – Bootstrap dáva .h4/.h5 iba 500, čo pri Ariale pôsobí tenko */
h4, .h4, h5, .h5, h6, .h6 { font-weight: 600; }
h2.h4, h2.h5 { letter-spacing: -.005em; }
.post-card h3 { font-weight: 600; }
/* nadpisy sekcií na úvode bez ikon – rovnaké ako „Čo hľadáte?“ a „Najnovšie inzeráty“ */
.section-icon { display: none; }
/* údaje na detaile v jednom riadku */
@media (min-width: 768px) { .detail-facts { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }

/* ---------- Magazín: ľavé menu tém ---------- */
.mag-nav__title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mr-muted); margin: 0 0 .4rem .75rem; }
.mag-nav__list { list-style: none; padding: 0; margin: 0; }
.mag-nav__list a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem .75rem; border-radius: 10px; color: var(--mr-ink); font-size: .92rem; line-height: 1.3; }
.mag-nav__list a:hover { background: var(--mr-primary-light); text-decoration: none; }
.mag-nav__list a.is-active { background: var(--mr-primary); color: var(--mr-on-primary, #fff); font-weight: 600; }
.mag-nav__list a.is-active small { color: inherit; opacity: .75; }
.mag-nav__list a.is-guide:not(.is-active) { font-weight: 600; }
.mag-nav__list a .bi { margin-right: .25rem; }
.mag-nav__list small { color: var(--mr-muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.mag-nav__cta { margin-top: 1.25rem; padding: 1rem; border-radius: var(--mr-radius); background: var(--mr-primary-light); font-size: .88rem; }
.mag-nav__cta p { color: var(--mr-muted); margin: .25rem 0 .75rem; }
@media (min-width: 992px) { .mag-nav { position: sticky; top: 105px; max-height: calc(100vh - 125px); overflow-y: auto; padding-right: .25rem; scrollbar-width: thin; } }
/* mobil/tablet: témy ako vodorovne posúvateľné čipy */
@media (max-width: 991.98px) {
  .mag-nav__title { display: none; }
  .mag-nav__list { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5); padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5); padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); }
  .mag-nav__list::-webkit-scrollbar { display: none; }
  .mag-nav__list a { white-space: nowrap; border: 1px solid var(--mr-border); border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; }
}
/* hlavný článok: obrázok vedľa textu */
@media (min-width: 768px) {
  .post-card--lead { flex-direction: row; }
  .post-card--lead img { width: 58%; aspect-ratio: 4 / 3; height: auto; min-height: 100%; object-fit: cover; align-self: stretch; }
  .post-card--lead .h5 { font-size: 1.45rem; }
}
@media (max-width: 575.98px) { .post-card .h5 { font-size: 1.02rem; } .post-card small.text-primary { font-size: .75rem; } }

/* ---------- Vyhľadávanie: jeden elegantný panel ---------- */
.sbar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--mr-card); color: var(--mr-ink); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .08); padding: .4rem; position: relative; z-index: 5; text-align: left; }
[data-bs-theme="dark"] .sbar { box-shadow: 0 20px 60px rgba(0, 0, 0, .6); border: 1px solid var(--mr-border); }
.sbar__field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: .55rem 1rem .5rem; border-radius: 13px; min-width: 0; transition: background-color .15s; }
.sbar__field:hover { background: var(--mr-bg); }
.sbar__field:focus-within { background: var(--mr-card); box-shadow: inset 0 0 0 2px var(--mr-ink); }
.sbar__label { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mr-muted); margin: 0 0 .1rem; cursor: pointer; }
.sbar__input, .sbar__select { border: 0; background: transparent; color: var(--mr-ink); padding: 0; width: 100%; font-size: 1rem; line-height: 1.5; outline: none; box-shadow: none; }
.sbar__input::placeholder { color: var(--mr-muted); opacity: .8; }
.sbar__select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.25rem; font-weight: 600; text-overflow: ellipsis;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right center / 12px no-repeat; }
.sbar__select option { color: #222; }
.sbar__field--q { grid-column: 1 / -1; padding-left: 2.75rem; }
.sbar__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--mr-muted); font-size: 1.1rem; pointer-events: none; }
.sbar__field--sel + .sbar__field--sel::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--mr-border); }
.sbar__submit { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .3rem; min-height: 50px; border: 0; border-radius: 13px; background: var(--mr-accent); color: #fff; font-weight: 700; font-size: 1rem; padding: 0 1.5rem; transition: background-color .15s, transform .15s; }
.sbar__submit:hover { background: var(--mr-accent-dark); }
.sbar__submit:active { transform: scale(.98); }
.sbar .loc-suggest { position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 20; border-radius: 12px; overflow: hidden; }
/* mobil: oddeľovacia čiara medzi poľom a výbermi */
.sbar__field--q::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 1px; background: var(--mr-border); }
@media (min-width: 768px) {
  .sbar { grid-template-columns: minmax(0, 1fr) 170px 220px auto; align-items: stretch; border-radius: 999px; padding: .45rem; }
  .sbar__field { border-radius: 999px; padding: .5rem 1.25rem; }
  .sbar__field--q { grid-column: auto; padding-left: 3rem; }
  .sbar__icon { left: 1.25rem; }
  .sbar__field--q::after { display: none; }
  .sbar__field--sel::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--mr-border); }
  .sbar__field:hover::before, .sbar__field:focus-within::before, .sbar__field:hover + .sbar__field::before, .sbar__field:focus-within + .sbar__field::before { opacity: 0; }
  .sbar__submit { grid-column: auto; margin: 0 0 0 .35rem; border-radius: 999px; min-height: 56px; padding: 0 1.75rem; }
}
@media (max-width: 575.98px) { .sbar__input, .sbar__select { font-size: 16px; } }
.hero--photo .sbar { max-width: 980px; margin: 0 auto; }
/* kompaktnejší úvodný blok a vyhľadávanie */
.hero--photo { padding: 1.6rem 0 1.4rem; }
.hero--photo h1 { font-size: 2.2rem; margin-bottom: .3rem !important; }
.hero--photo .lead { font-size: .95rem; margin-bottom: .9rem !important; }
.hero--photo .hero-stats { margin-top: .7rem; font-size: .82rem; gap: .35rem 1.25rem; }
.sbar { padding: .3rem; }
.sbar__field { padding: .32rem 1rem .3rem; }
.sbar__label { font-size: .62rem; margin-bottom: 0; }
.sbar__input, .sbar__select { font-size: .95rem; line-height: 1.4; }
.sbar__submit { min-height: 44px; margin-top: .25rem; }
@media (min-width: 768px) { .sbar { padding: .3rem; } .sbar__field { padding: .35rem 1.15rem; } .sbar__submit { min-height: 48px; margin: 0 0 0 .3rem; } }
@media (max-width: 575.98px) {
  .hero--photo { padding: 1.1rem 0 1rem; }
  .hero--photo h1 { font-size: 1.35rem; }
  .hero--photo .lead { font-size: .82rem; line-height: 1.45; margin-bottom: .75rem !important; }
  .hero--photo .hero-stats { font-size: .72rem; margin-top: .6rem; gap: .2rem .8rem; }
  .sbar__field { padding: .35rem .85rem .3rem; }
  .sbar__field--q { padding-left: 2.5rem; }
  .sbar__icon { left: .85rem; }
  .sbar__input, .sbar__select { font-size: 16px; }
}
.sbar__field--q { padding-left: 2.6rem; }
@media (min-width: 768px) { .sbar__field--q { padding-left: 2.9rem; } .sbar__icon { left: 1.15rem; } }
@media (max-width: 575.98px) { .sbar__field--q { padding-left: 2.5rem; } }
/* úvodný blok – stredná výška */
.hero--photo { padding: 2.6rem 0 2.4rem; }
.hero--photo h1 { font-size: 2.45rem; margin-bottom: .5rem !important; }
.hero--photo .lead { font-size: 1rem; margin-bottom: 1.25rem !important; }
.hero--photo .hero-stats { margin-top: 1rem; }
@media (max-width: 575.98px) {
  .hero--photo { padding: 1.6rem 0 1.5rem; }
  .hero--photo h1 { font-size: 1.45rem; }
  .hero--photo .lead { font-size: .85rem; margin-bottom: 1rem !important; }
}
/* hlavné menu – vzdušnejšie */
@media (min-width: 992px) { .navbar-nav.mx-lg-auto { gap: 1.1rem; } .navbar-nav.mx-lg-auto .nav-link { padding-left: .55rem; padding-right: .55rem; } }
/* vlastné rozbaľovacie ponuky vo vyhľadávaní */
.sbar__btn { display: block; width: 100%; border: 0; background: transparent; color: var(--mr-ink); padding: 0 1.4rem 0 0; text-align: left; font-size: .95rem; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right center / 12px no-repeat; }
.sbar__btn:focus { outline: none; }
.sbar__field.is-open .sbar__btn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2 11 6-6 6 6'/%3E%3C/svg%3E"); }
.sbar__field.is-open { background: var(--mr-card); box-shadow: inset 0 0 0 2px var(--mr-ink); }
.sbar__menu { position: absolute; left: 0; top: calc(100% + .6rem); z-index: 30; min-width: 100%; width: max-content; max-width: min(320px, 92vw); max-height: 360px; overflow-y: auto; padding: .4rem; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .22); scrollbar-width: thin; animation: sbar-pop .14s ease-out; }
[data-bs-theme="dark"] .sbar__menu { box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
@keyframes sbar-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sbar__opt { display: block; width: 100%; border: 0; background: transparent; color: var(--mr-ink); text-align: left; padding: .5rem .75rem; border-radius: 10px; font-size: .92rem; line-height: 1.3; cursor: pointer; }
.sbar__opt:hover, .sbar__opt:focus { background: var(--mr-bg); outline: none; }
.sbar__opt.is-root { font-weight: 600; margin-top: .15rem; }
.sbar__opt.is-child { padding-left: 1.6rem; color: var(--mr-muted); font-size: .88rem; }
.sbar__opt.is-child:hover { color: var(--mr-ink); }
.sbar__opt.is-selected { background: var(--mr-primary); color: var(--mr-on-primary, #fff); font-weight: 600; }
[data-bs-theme="dark"] .sbar__opt:hover, [data-bs-theme="dark"] .sbar__opt:focus { background: rgba(255, 255, 255, .07); }
/* menu pri pravom okraji (typ nehnuteľnosti) sa zarovná doprava, aby nevybehlo z obrazovky */
.sbar__field--sel:last-of-type .sbar__menu { left: auto; right: 0; }
@media (max-width: 767.98px) { .sbar__field--sel:first-of-type .sbar__menu { left: 0; right: auto; } .sbar__menu { max-height: 300px; } }
@media (max-width: 575.98px) { .sbar__btn { font-size: 16px; } }
/* rozbaľovacia ponuka vyhľadávania môže presahovať pod úvodný blok */
.hero--photo { overflow: visible; z-index: 3; }
.hero--photo .hero__bg { overflow: hidden; }

/* ---------- Detail: okolie a občianska vybavenosť ---------- */
.area__skeleton { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.area__skeleton span { height: 64px; border-radius: 14px; background: linear-gradient(90deg, var(--mr-placeholder) 0%, var(--mr-bg) 50%, var(--mr-placeholder) 100%); background-size: 200% 100%; animation: area-shimmer 1.3s linear infinite; }
@keyframes area-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.area.is-loaded > * { animation: sbar-pop .3s ease-out both; }
.area__stats { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-bottom: 1rem; }
@media (min-width: 576px) { .area__stats { grid-template-columns: 1fr 1fr; } }
.area__stat { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1px solid var(--mr-border); border-radius: 14px; background: var(--mr-card); }
.area__stat small { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mr-muted); }
.area__stat strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.area__stat span { display: block; font-size: .8rem; color: var(--mr-muted); line-height: 1.35; }
.area__ring { --p: 0; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#16a34a calc(var(--p) * 1%), var(--mr-placeholder) 0); position: relative; }
.area__ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--mr-card); }
.area__ring b { position: relative; font-size: 1rem; }
.area__noise { flex-shrink: 0; display: flex; align-items: flex-end; gap: 3px; height: 40px; width: 56px; justify-content: center; }
.area__noise i { width: 7px; border-radius: 3px; background: var(--mr-placeholder); }
.area__noise i:nth-child(1) { height: 30%; } .area__noise i:nth-child(2) { height: 47%; } .area__noise i:nth-child(3) { height: 64%; } .area__noise i:nth-child(4) { height: 82%; } .area__noise i:nth-child(5) { height: 100%; }
.area__noise[data-l="1"] i:nth-child(-n+1), .area__noise[data-l="2"] i:nth-child(-n+2) { background: #16a34a; }
.area__noise[data-l="3"] i:nth-child(-n+3) { background: #eab308; }
.area__noise[data-l="4"] i:nth-child(-n+4), .area__noise[data-l="5"] i:nth-child(-n+5) { background: #ef4444; }
.area__list { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; }
@media (min-width: 768px) { .area__list { grid-template-columns: 1fr 1fr; } }
.area__list li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--mr-border); }
.area__list .bi { flex-shrink: 0; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--mr-primary-light); color: var(--mr-primary); }
.area__name { flex: 1; min-width: 0; font-size: .92rem; font-weight: 600; line-height: 1.25; }
.area__name small { display: block; font-weight: 400; color: var(--mr-muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.area__dist { text-align: right; line-height: 1.2; white-space: nowrap; }
.area__dist b { display: block; font-size: .9rem; }
.area__dist small { color: var(--mr-muted); font-size: .75rem; }
[data-bs-theme="dark"] .area__noise i { background: rgba(255, 255, 255, .14); }
[data-bs-theme="dark"] .area__ring { background: conic-gradient(#22c55e calc(var(--p) * 1%), rgba(255, 255, 255, .12) 0); }
[data-bs-theme="dark"] .area__skeleton span { background: linear-gradient(90deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .05) 100%); background-size: 200% 100%; }

/* ---------- Moderné vylepšenia ---------- */
/* fotka z karty plynule prejde na hlavnú fotku detailu */
.gal__slide:first-child img { view-transition-name: mr-photo; }
::view-transition-group(mr-photo) { animation-duration: 320ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(mr-photo), ::view-transition-new(mr-photo) { height: 100%; object-fit: cover; }
/* obsah mimo obrazovky sa vykreslí až pri posunutí – rýchlejšie prvé zobrazenie */
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 700px; }
/* jemnejšie zalamovanie nadpisov a textu */
h1, h2, h3, .h1, .h2, .h3, .h4, .h5 { text-wrap: balance; }
/* nadpisy inzerátov: plná šírka riadku (balance nechával vpravo prázdne miesto) */
.listing-card__title, .listing-row__title, .cmp-table__title, .dhead__title { text-wrap: wrap; }
p, li { text-wrap: pretty; }
/* farba zvýraznenia a kurzora v poliach podľa značky */
:root { accent-color: var(--mr-accent); }
::selection { background: rgba(255, 122, 26, .25); }
/* plynulé posúvanie na kotvy, s ohľadom na lepkavú hlavičku */
html { scroll-padding-top: 105px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.market-faq { border-top: 1px solid var(--mr-border); margin-top: .6rem; padding-top: .5rem; }
.market-faq summary { cursor: pointer; font-weight: 600; font-size: .9rem; list-style-position: outside; }
.market-faq p { margin-top: .35rem; color: var(--mr-muted); }
.guide-links { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem; border: 1px solid var(--mr-border); border-radius: 14px; background: var(--mr-card); }
.guide-links__title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mr-muted); margin-bottom: .15rem; }
.guide-links a { font-weight: 600; font-size: .92rem; color: var(--mr-ink); }
.guide-links a:hover { color: var(--mr-accent); text-decoration: none; }

/* živé výsledky vyhľadávania (AJAX) */
[data-live="results"] { transition: opacity .18s ease; }
[data-live="results"].is-loading { opacity: .5; pointer-events: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

/* ---------- Detail inzerátu: hlavička nad fotkami ---------- */
.dhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 2rem; align-items: end; padding: 1.25rem 0 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--mr-border); }
.dhead__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.dtag { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .01em; background: var(--mr-soft, rgba(127,127,127,.1)); color: var(--mr-muted); border: 1px solid var(--mr-border); }
.dtag--offer { background: var(--mr-primary); border-color: var(--mr-primary); color: var(--mr-on-primary, #fff); }
.dtag--new { background: rgba(25,135,84,.12); border-color: rgba(25,135,84,.3); color: #198754; }
.dtag--drop { background: rgba(220,53,69,.1); border-color: rgba(220,53,69,.3); color: #dc3545; }
.dtag--sold { background: #6c757d; border-color: #6c757d; color: #fff; }
.dtag .bi { width: .8em; height: .8em; }
.dhead__title { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.22; letter-spacing: -.015em; margin: 0 0 .4rem; }
.dhead__loc { color: var(--mr-muted); margin: 0 0 .6rem; font-size: .95rem; }
.dhead__loc a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dhead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; list-style: none; padding: 0; margin: 0; font-size: .82rem; color: var(--mr-muted); }
.dhead__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.dhead__id { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .55rem; border: 1px dashed var(--mr-border); border-radius: 6px; background: none; color: var(--mr-ink); font: 600 .8rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; cursor: pointer; }
.dhead__id:hover { border-color: var(--mr-primary); color: var(--mr-primary); }
.dhead__id .bi { width: .85em; height: .85em; opacity: .7; }
.dhead__side { text-align: right; }
.dhead__price { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.dhead__sub { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem .8rem; font-size: .85rem; color: var(--mr-muted); margin-top: .25rem; }
.dhead__promote { margin-top: .6rem; }
.dhead__actions { display: flex; justify-content: flex-end; gap: .4rem; margin-top: .75rem; }
.dbtn { display: inline-flex; align-items: center; gap: .4rem; height: 2.25rem; padding: 0 .85rem; border: 1px solid var(--mr-border); border-radius: 999px; background: var(--mr-card); color: var(--mr-ink); font-size: .85rem; font-weight: 500; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.dbtn:hover { border-color: var(--mr-primary); color: var(--mr-primary); }
.dbtn.is-fav { color: #dc3545; border-color: rgba(220,53,69,.45); }
.dbtn.d-none { display: none !important; }
/* počítač: nadpis cez celú šírku; vľavo lokalita, údaje a Propagovať, vpravo cena a tlačidlá – Propagovať v jednom riadku s tlačidlami */
@media (min-width: 768px) {
  .dhead { row-gap: 0; align-items: start; }
  .dhead__main, .dhead__side { display: contents; }
  .dhead__tags, .dhead__title { grid-column: 1 / -1; }
  .dhead__loc { grid-column: 1; grid-row: 3; }
  .dhead__meta { grid-column: 1; grid-row: 4; }
  .dhead__side > * { grid-column: 2; justify-self: end; text-align: right; }
  .dhead__price { grid-row: 3 / 5; align-self: end; }
  .dhead__promote, .dhead__actions { grid-row: 6; align-self: center; margin-top: .75rem; }
  .dhead__promote { grid-column: 1; }
}
@media (max-width: 767.98px) {
  .dhead { grid-template-columns: 1fr; gap: .6rem; padding: .9rem 0 .8rem; align-items: start; }
  .dhead__side { text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem .75rem; }
  .dhead__price { font-size: 1.55rem; }
  .dhead__sub { justify-content: flex-start; grid-column: 1; margin: 0; }
  .dhead__actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .dbtn { width: 2.4rem; padding: 0; justify-content: center; }
  .dbtn span { display: none; }
  .dhead__meta { gap: .3rem .8rem; font-size: .78rem; }
}
@media print { .dhead__actions, .dhead__id .bi { display: none !important; } }
/* QR kód: pri tlači detailu inzerátu a v okne „QR“ */
.print-qr { display: none; }
@media print { .print-qr { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; font-size: 10pt; break-inside: avoid; } .print-qr svg { width: 2.6cm; height: 2.6cm; flex: none; } }
.qr-box { max-width: 240px; margin: 0 auto .75rem; }
.qr-box svg { width: 100%; height: auto; display: block; }
@media (max-width: 767.98px) {
  .breadcrumb { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .breadcrumb-item { flex-shrink: 0; }
  .breadcrumb .breadcrumb-item:last-child { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Môj účet: dátumy inzerátu */
.my-listing__dates { display: flex; flex-wrap: wrap; gap: .15rem .9rem; margin: .35rem 0 0; font-size: .78rem; color: var(--mr-muted); }
.my-listing__dates span:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--mr-ink); }
.meta-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem 1.5rem; margin: .4rem 0 0; }
.meta-dates dt { font-size: .74rem; font-weight: 500; color: var(--mr-muted); text-transform: uppercase; letter-spacing: .04em; }
.meta-dates dd { margin: 0; font-weight: 600; font-size: .92rem; }
.listing-meta .dhead__id { cursor: default; }

/* Môj účet na mobile: menu ako vodorovný pás, obsah hneď pod ním */
@media (max-width: 991.98px) {
  .account-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: .4rem; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; border-radius: 0; scroll-snap-type: x proximity; scroll-padding-inline: 16px; position: relative; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav .list-group-item { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; width: auto; padding: .45rem .9rem; border: 1px solid var(--mr-border) !important; border-radius: 999px !important; margin: 0 !important; white-space: nowrap; font-size: .88rem; scroll-snap-align: start; }
  .account-nav .list-group-item .badge { margin-left: .2rem !important; }
  .account-nav + .upsell { display: none; }
}
[data-bs-theme="dark"] .badge.text-bg-light { background: rgba(255,255,255,.12) !important; color: var(--mr-ink) !important; }

/* Typ inzerenta na karte (súkromný / developer) */
.listing-card__foot { margin-top: auto; padding-top: .35rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.listing-card__foot .listing-card__price { margin: 0 0 0 auto; padding: 0; }
.seller-tag { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 600; color: #1d7a46; background: #e8f6ee; border-radius: 999px; padding: .12rem .5rem; white-space: nowrap; }
.seller-tag--dev { color: #6b4bb8; background: #f0ebfb; }
.seller-tag .bi { width: .85em; height: .85em; }
.dtag--private { background: #e8f6ee; border-color: #bfe5cf; color: #1d7a46; }
.dtag--dev { background: #f0ebfb; border-color: #d9cdf5; color: #6b4bb8; }
/* Kancelária makléra v kontaktnej karte */
.contact-agency { display: flex; align-items: center; gap: .65rem; margin: -.25rem 0 1rem; padding: .55rem .7rem; border: 1px solid var(--mr-border); border-radius: .75rem; color: inherit; text-decoration: none; }
.contact-agency:hover { border-color: var(--mr-primary); }
.contact-agency img, .contact-agency__logo { width: 36px; height: 36px; border-radius: .5rem; object-fit: contain; background: #fff; flex: none; }
.contact-agency__logo { display: grid; place-items: center; background: var(--mr-soft, #f1f3f5); color: var(--mr-muted); }
.contact-agency__text { flex: 1; min-width: 0; line-height: 1.2; }
.contact-agency strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Kto inzeruje? – tri karty */
.who-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.who-pick--4 { grid-template-columns: repeat(2, 1fr); }
.who-pick__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: .7rem .4rem; border: 1.5px solid var(--mr-border); border-radius: .75rem; cursor: pointer; line-height: 1.15; height: 100%; transition: border-color .15s, background .15s; }
.who-pick__card .bi { width: 1.5rem; height: 1.5rem; color: var(--mr-primary); margin-bottom: .2rem; }
.who-pick__card strong { font-size: .85rem; }
.who-pick__card small { font-size: .72rem; color: var(--mr-muted); }
.who-pick__card:hover { border-color: var(--mr-primary); }
.btn-check:checked + .who-pick__card { border-color: var(--mr-primary); background: var(--mr-primary-light); box-shadow: 0 0 0 1px var(--mr-primary) inset; }
.btn-check:focus-visible + .who-pick__card { outline: 2px solid var(--mr-primary); outline-offset: 2px; }
/* Moja kancelária */
.office-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--mr-border); border-radius: 16px; background: var(--bs-body-bg, #fff); }
.office-head__logo { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: var(--mr-primary-light); color: var(--mr-primary); display: grid; place-items: center; flex: none; }
.office-head__logo .bi { width: 1.6rem; height: 1.6rem; }
.team-table .dropdown-item { white-space: normal; }
/* Kalkulačka úspory pre kancelárie */
.savings-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .75rem; border-radius: 12px; background: var(--mr-primary-light); }
.savings-out small { display: block; font-size: .72rem; color: var(--mr-muted); }
.savings-out strong { font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 575.98px) { .savings-out strong { font-size: 1rem; } }
/* Makléri na profile kancelárie */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; }
.agent-card { display: flex; align-items: center; line-height: 1.25; gap: .75rem; padding: .75rem; border: 1px solid var(--mr-border); border-radius: 12px; background: var(--bs-body-bg, #fff); color: inherit; text-decoration: none; }
.agent-card:hover { border-color: var(--mr-primary); }
.agent-card .avatar { width: 44px; height: 44px; flex: none; }
.who-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: 12px; background: var(--mr-primary-light); font-size: .9rem; }
.who-line > .bi { color: var(--mr-primary); }
.who-line a { margin-left: auto; font-weight: 600; }
.who-legend { font-size: inherit; float: none; }
/* Prehľad: rovnako vysoké dlaždice, čísla v jednej línii (popis má 1 – 2 riadky) */
.stat-card { height: 100%; display: flex; flex-direction: column; }
.stat-card > small:first-child { min-height: 2.6em; line-height: 1.3; }
.stat-card .progress { margin-top: auto !important; }
/* Môj balík: 2 hlavné karty + kompaktné ďalšie balíky */
.plan-card__features { columns: 1; }
@media (min-width: 1400px) { .plan-card__features { columns: 2; column-gap: 1.5rem; } .plan-card__features li { break-inside: avoid; } }
.plan-card.is-current { border-color: var(--mr-primary); }
.plan-card--compact { padding: 1.25rem 1.5rem; }
.plan-card--compact .plan-card__price { font-size: 1.8rem; }
.plan-card__more summary { cursor: pointer; font-weight: 600; color: var(--mr-primary); }
.plan-card__more[open] summary { margin-bottom: .25rem; }
/* TOP z balíka */
/* ponuka TOP po zverejnení inzerátu */
.top-offer { position: relative; padding: 1.5rem; border: 2px solid var(--mr-accent); border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--mr-accent) 9%, var(--mr-card)), var(--mr-card) 60%); box-shadow: var(--mr-shadow); }
.top-offer__badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--mr-primary); }
.top-offer__grid { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 768px) { .top-offer__grid { grid-template-columns: 1fr 300px; } }
.top-offer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.top-offer__list li { display: flex; gap: .6rem; align-items: flex-start; }
.top-offer__list .bi { color: var(--mr-accent); font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.top-offer__price { padding: 1rem 1.1rem; border-radius: 14px; background: var(--mr-card); border: 1px solid var(--mr-border); text-align: center; }
.top-offer__amount { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.credit-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 2px solid var(--mr-primary); border-radius: 16px; background: var(--mr-primary-light); }
/* Prehľad ponuky na stránkach lokalít a kategórií */
.landing-box { padding: 1.25rem 1.5rem; border: 1px solid var(--mr-border); border-radius: 16px; background: var(--bs-body-bg, #fff); }
.landing-box p { line-height: 1.6; }

/* Odborníci */
.pro-list { display: grid; gap: .5rem; }
.pro-row { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); color: var(--mr-ink); transition: box-shadow .15s; }
.pro-row:hover { box-shadow: var(--mr-shadow); text-decoration: none; color: var(--mr-ink); }
.pro-row.is-premium { border-color: var(--mr-accent); box-shadow: 0 0 0 2px rgba(255, 122, 26, .2); }
.pro-row .badge { font-weight: 600; vertical-align: middle; }
.pro-row__go { color: var(--mr-muted); flex-shrink: 0; }
.avatar--lg { width: 64px; height: 64px; font-size: 1.6rem; }
/* Obyvateľstvo lokality */
.obec-stat__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .obec-stat__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.obec-stat__grid small { display: block; color: var(--mr-muted); font-size: .78rem; }
.obec-stat__grid strong { font-size: 1.15rem; }
/* Generátor zmlúv */
.contract-card { display: flex; gap: .85rem; height: 100%; padding: 1rem 1.1rem; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); color: var(--mr-ink); transition: box-shadow .15s, border-color .15s; }
.contract-card:hover { box-shadow: var(--mr-shadow); border-color: var(--mr-primary); color: var(--mr-ink); text-decoration: none; }
.contract-card__icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.3rem; background: var(--mr-primary-light); color: var(--mr-primary); }
.contract-person { padding: .85rem; border: 1px dashed var(--mr-border); border-radius: 12px; margin-bottom: .6rem; }
.contract-paper { position: relative; background: #fff; color: #1b1b1b; border: 1px solid var(--mr-border); border-radius: 6px; box-shadow: var(--mr-shadow); padding: 2.2rem clamp(1rem, 5vw, 3.2rem); font-family: 'Times New Roman', Georgia, serif; font-size: 1.02rem; line-height: 1.5; overflow: hidden; }
.contract-paper h1 { font-size: 1.55rem; text-align: center; font-weight: 700; margin: 0 0 .2rem; color: #111; }
.contract-paper h3 { font-size: 1.05rem; font-weight: 700; margin: 1.3rem 0 .4rem; color: #111; }
.contract-paper p { margin: 0 0 .5rem; text-align: justify; }
.contract-paper .contract-sub { text-align: center; font-size: .9rem; color: #444; margin-bottom: 1.2rem; }
.contract-table { width: 100%; border-collapse: collapse; margin: .4rem 0 .8rem; font-size: .95rem; }
.contract-table th, .contract-table td { border: 1px solid #999; padding: .25rem .45rem; }
.contract-signs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.contract-sign__line { margin-top: 2.2rem; }
.contract-sign__role { font-weight: 700; margin-top: .5rem; }
.contract-disclaimer { font-size: .72rem; line-height: 1.45; color: var(--mr-muted); margin: .75rem 0 0; }
.contract-doc--locked { filter: blur(5px); user-select: none; pointer-events: none; max-height: 420px; overflow: hidden; }
.contract-lock { position: absolute; left: 0; right: 0; bottom: 0; height: 380px; display: grid; place-items: center; text-align: center; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 45%); }
.contract-lock > div { display: grid; justify-items: center; gap: .25rem; font-family: var(--bs-body-font-family); }
.contract-lock .bi { font-size: 1.8rem; color: var(--mr-primary); }
.contract-paper--print { max-width: 21cm; margin: 0 auto 2rem; border: 0; box-shadow: none; }
@media print { .contract-paper--print { padding: 0; font-size: 12pt; } }
/* Čo obsahuje propagácia (objednávka) */
.promo-info { padding: 1rem 1.25rem; border-radius: var(--mr-radius); background: var(--mr-primary-light); }
.promo-info__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .92rem; }
@media (min-width: 768px) { .promo-info__list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.promo-info__list .bi { color: var(--bs-success); margin-right: .3rem; }
/* Tlačidlo Propagovať v hlavičke detailov */
.btn-promote { --bs-btn-color: var(--mr-accent, #ff7a1a); --bs-btn-border-color: var(--mr-accent, #ff7a1a); --bs-btn-hover-bg: var(--mr-accent, #ff7a1a); --bs-btn-hover-border-color: var(--mr-accent, #ff7a1a); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--mr-accent, #ff7a1a); --bs-btn-active-color: #fff; border-radius: 999px; font-weight: 600; white-space: nowrap; }
/* Živý počet v menu (Dražby) */
.nav-count { display: inline-flex; align-items: center; gap: .25rem; margin-left: .35rem; padding: 0 .4rem 0 .35rem; border-radius: 999px; background: var(--mr-accent, #ff7a1a); color: #fff; font-size: .62rem; font-weight: 700; line-height: 1.5; pointer-events: none; }
/* na počítači bublina vpravo hore nad položkou – menu sa nerozširuje */
@media (min-width: 992px) { .nav-link--count { position: relative; } .nav-count { position: absolute; top: -.05rem; right: -.95rem; transform: translateY(-35%); margin: 0; box-shadow: 0 0 0 2px var(--mr-card, #fff); } }
.nav-count__dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: nav-pulse 1.8s ease-out infinite; }
@keyframes nav-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); } 70% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .nav-count__dot { animation: none; } }
/* Propagácia – karty na titulnej stránke */
.promo-card { display: flex; align-items: center; gap: .85rem; height: 100%; padding: 1rem 1.1rem; background: var(--mr-card); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); color: var(--mr-ink); transition: box-shadow .15s, border-color .15s; position: relative; }
a.promo-card:hover { box-shadow: var(--mr-shadow); border-color: var(--mr-primary); color: var(--mr-ink); text-decoration: none; }
.promo-card__logo { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--mr-primary), var(--mr-accent, #ff7a1a)); }
.promo-card__cat { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mr-muted); }
.promo-card__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .87rem; color: var(--mr-muted); }
.promo-card__go { color: var(--mr-muted); flex-shrink: 0; align-self: flex-start; }
.promo-cta { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border: 1px dashed var(--mr-border); border-radius: var(--mr-radius); background: var(--mr-card); color: var(--mr-ink); }
.promo-cta:hover { border-color: var(--mr-primary); color: var(--mr-ink); text-decoration: none; }
.promo-cta > .bi { font-size: 1.5rem; color: var(--mr-primary); flex-shrink: 0; }
/* Akcia v cenníku */
.promo-ribbon { display: inline-block; text-align: center; padding: .45rem 1rem; border-radius: 999px; background: rgba(25, 135, 84, .12); color: var(--bs-success-text-emphasis); font-size: .95rem; line-height: 1.4; }
@media (max-width: 575.98px) { .promo-ribbon { border-radius: 14px; font-size: .9rem; } }
.promo-ribbon--dark { background: rgba(255, 255, 255, .16); color: #fff; }
.promo-bonus { display: flex; gap: .5rem; align-items: flex-start; padding: .6rem .8rem; border-radius: 12px; background: rgba(25, 135, 84, .12); color: var(--bs-success-text-emphasis); font-size: .92rem; }
/* Dražby */
.auction-row__date { width: 52px; height: 52px; border-radius: 12px; background: var(--mr-primary-light); color: var(--mr-primary); display: grid; place-content: center; text-align: center; line-height: 1.05; flex-shrink: 0; }
.auction-row__date strong { font-size: 1.25rem; }
.auction-row__date small { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.auction-row__price { text-align: right; flex-shrink: 0; display: grid; line-height: 1.15; }
.auction-row__price strong { color: var(--mr-primary); white-space: nowrap; }
.auction-text { white-space: normal; overflow-wrap: anywhere; font-size: .95rem; }

/* ---------- Opravy z testu na mobile (Android, Chrome, tmavý režim) ---------- */
/* hlavička: plné pozadie – polopriehľadné s rozmazaním na Androide presvitá */
.site-header { background-color: #fff; }
[data-bs-theme="dark"] .site-header { background-color: rgb(18, 24, 22); }
/* dlaždice kategórií bez delenia slov spojovníkom */
.cat-tile { hyphens: manual; }
/* ukážkové texty vo formulároch nesmú vyzerať ako vyplnené údaje */
.form-control::placeholder { color: var(--mr-muted); opacity: .75; }
[data-bs-theme="dark"] .form-control::placeholder { color: var(--mr-muted); opacity: .6; }
/* tmavý režim: sekundárne tlačidlá (Filtrovať, Mapa) čitateľné */
[data-bs-theme="dark"] .btn-outline-secondary { --bs-btn-color: var(--mr-ink); --bs-btn-border-color: #3c4a45; --bs-btn-hover-bg: #26312d; --bs-btn-hover-border-color: #4a5a54; --bs-btn-hover-color: var(--mr-ink); --bs-btn-active-bg: #2c3833; --bs-btn-active-color: var(--mr-ink); }
/* tmavý režim: blok pre kancelárie má tmavé pozadie (pri čiernej téme je primárna farba svetlá) */
[data-bs-theme="dark"] .promo--agency { background: linear-gradient(135deg, #1b2622, #22302b 60%, #1a2420); color: var(--mr-ink); }
[data-bs-theme="dark"] .promo--agency .btn-light { background: #e6ecea !important; color: #111 !important; }
/* chat: tmavá hlavička v tmavom režime */
[data-bs-theme="dark"] .chat__head { background: #1f2925; color: #e6ecea; border-bottom: 1px solid #2a3531; }
[data-bs-theme="dark"] .chat__head .btn-close { filter: invert(1) grayscale(1) brightness(2); }
@media (max-width: 575.98px) {
  /* bublina menšia, nezakrýva toľko obsahu; pätička má pod ňou miesto */
  .chat { right: .75rem; bottom: .75rem; }
  .chat__bubble { width: 52px; height: 52px; font-size: 1.35rem; }
  .site-footer { padding-bottom: 4.5rem; }
  /* otvorený chat na celú obrazovku – s klávesnicou sa zmenší (interactive-widget=resizes-content) */
  .chat.is-open { inset: 0; right: 0; bottom: 0; }
  .chat.is-open .chat__panel { width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; }
  .chat.is-open .chat__head { padding-top: calc(.85rem + env(safe-area-inset-top)); }
}
/* odkazy v odpovediach chatu – viditeľné v svetlom aj tmavom režime */
.chat__msg--bot a { color: var(--mr-accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
/* mapa: zoskupené inzeráty */
.cluster-pin { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 .5rem; border-radius: 19px; background: var(--mr-accent); color: #fff; font-weight: 700; font-size: .9rem; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); cursor: pointer; white-space: nowrap; }
.chat__contact { max-width: 100%; width: 100%; }
.chat__contact .form-check { padding-left: 1.6em; }
/* aktívna položka v ponukách vo farbe témy (nie predvolená modrá) */
.dropdown-item.active { background: var(--mr-primary); color: var(--mr-on-primary, #fff); }
/* tmavý režim: zvolené tlačidlo s obrysom (prepínače typu účtu, ponuky…) – text v kontrastnej farbe */
[data-bs-theme="dark"] .btn-check:checked + .btn-outline-primary, [data-bs-theme="dark"] .btn-outline-primary.active { color: var(--mr-on-primary, #fff); }

/* Platba: faktúra na súkromnú osobu / firmu */
.billing { margin-bottom: 1rem; }
.billing__type { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.billing__type label { display: block; cursor: pointer; }
.billing__type input { position: absolute; opacity: 0; }
.billing__type span { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem .6rem; border: 1px solid var(--mr-border); border-radius: 10px; font-weight: 600; font-size: .9rem; text-align: center; }
.billing__type input:checked + span { border-color: var(--mr-primary); background: var(--mr-primary-light); box-shadow: 0 0 0 1px var(--mr-primary); }
.billing__type input:focus-visible + span { outline: 2px solid var(--mr-primary); outline-offset: 2px; }
.billing__company { margin-top: .75rem; padding: .75rem; border: 1px solid var(--mr-border); border-radius: 10px; }

/* Výber služby kartou (topovanie) – platba je jedna pod kartami */
.plan-choice { cursor: pointer; position: relative; transition: border-color .15s, box-shadow .15s; }
.plan-choice > input { position: absolute; opacity: 0; }
.plan-choice__mark { display: none; margin-top: .75rem; font-weight: 700; font-size: .9rem; color: var(--mr-primary); }
.plan-choice:has(> input:checked) { border-color: var(--mr-primary); box-shadow: 0 0 0 2px var(--mr-primary) inset, 0 18px 40px rgba(13, 110, 91, .12); }
.plan-choice:has(> input:checked) .plan-choice__mark { display: block; }
.plan-choice:has(> input:focus-visible) { outline: 2px solid var(--mr-primary); outline-offset: 3px; }

/* Detail: občianska vybavenosť a hluk ako sklenené štítky na hlavnej fotke */
#okolie { scroll-margin-top: 90px; }
.gal__area { position: absolute; left: 12px; top: 12px; z-index: 3; display: flex; flex-wrap: wrap; gap: .5rem; max-width: calc(100% - 24px); opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.gal__area.is-in { opacity: 1; transform: none; pointer-events: auto; }
.gal__chip { display: flex; align-items: center; gap: .55rem; padding: .35rem .75rem .35rem .4rem; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; line-height: 1.15;
  background: rgba(15, 23, 20, .45); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: background .15s; }
.gal__chip:hover, .gal__chip:focus-visible { background: rgba(15, 23, 20, .62); color: #fff; }
.gal__chip small { display: block; font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; opacity: .8; }
.gal__ring { --p: 0; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(#4ade80 calc(var(--p) * 1%), rgba(255, 255, 255, .25) 0); }
.gal__ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: rgba(15, 23, 20, .75); }
.gal__ring b { position: relative; font-size: .72rem; }
.gal__bars.area__noise { width: 32px; height: 22px; gap: 2px; }
.gal__bars.area__noise i { width: 4px; background: rgba(255, 255, 255, .3); }
@media (max-width: 575.98px) {
  .gal__area { left: 8px; top: 8px; gap: .35rem; }
  .gal__chip { font-size: .75rem; padding: .25rem .6rem .25rem .3rem; gap: .4rem; }
  .gal__chip small { display: none; }
  .gal__ring { width: 26px; height: 26px; }
  .gal__ring b { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) { .gal__area { transition: none; } }

/* Porovnanie inzerátov */
.listing-card__cmp { top: 3.4rem; }
.listing-card__cmp.is-cmp, .listing-row__cmp.is-cmp, .dbtn.is-cmp { color: var(--mr-primary); box-shadow: 0 0 0 2px var(--mr-primary); }
.dbtn.is-cmp { border-color: var(--mr-primary); box-shadow: none; }
.cmp-bar { position: fixed; left: 1rem; bottom: 1rem; z-index: 1035; display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem .55rem 1rem; background: var(--mr-card); color: var(--mr-ink); border: 1px solid var(--mr-border); border-radius: 999px; box-shadow: var(--mr-shadow), 0 8px 24px rgba(0, 0, 0, .15); max-width: calc(100vw - 2rem); }
.cmp-bar[hidden] { display: none; }
.cmp-bar__text { font-size: .88rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 991.98px) { .has-mobile-cta .cmp-bar { bottom: calc(4.4rem + env(safe-area-inset-bottom)); } }
.cmp-wrap { border: 1px solid var(--mr-border); border-radius: var(--mr-radius); background: var(--mr-card); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.cmp-table th, .cmp-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--mr-border); vertical-align: top; text-align: left; }
.cmp-table thead th { vertical-align: top; min-width: 190px; max-width: 320px; font-weight: 600; }
.cmp-table tbody th { color: var(--mr-muted); font-weight: 500; white-space: nowrap; width: 1%; }
.cmp-table__lab { width: 1%; }
.cmp-table td.is-best { background: rgba(25, 135, 84, .1); color: #146c43; font-weight: 600; }
[data-bs-theme="dark"] .cmp-table td.is-best { color: #75b798; }
.cmp-table__img { display: block; aspect-ratio: 16 / 9; max-width: 300px; border-radius: 8px; overflow: hidden; background: var(--mr-bg); margin-bottom: .45rem; }
.cmp-table__img img { width: 100%; height: 100%; object-fit: cover; }
.cmp-table__img span { display: grid; place-items: center; height: 100%; font-size: 2rem; color: var(--mr-muted); }
.cmp-table__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--mr-ink); font-size: .92rem; line-height: 1.35; }
.cmp-table__group th { background: var(--mr-bg); color: var(--mr-ink) !important; font-weight: 700 !important; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }

/* Kalkulačky v detaile a na samostatných stránkach */
.calc-box { padding: 1rem; border-radius: 1rem; background: var(--bs-primary-bg-subtle); }
@media (min-width: 768px) { .calc-box { padding: 1.5rem; } }
.calc-box__tabs { gap: .35rem; flex-wrap: wrap; }
.calc-box__tabs .nav-link { border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; background: var(--mr-card); color: var(--mr-ink); }
.calc-box__tabs .nav-link.active { background: var(--mr-primary); color: #fff; }
.calc-out { background: var(--mr-card); border-radius: .75rem; padding: .75rem 1rem; }
.calc-out__list { list-style: none; padding: 0; margin: 0 0 .5rem; font-size: .9rem; }
.calc-out__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; border-bottom: 1px dashed var(--mr-border); }
.calc-out__total, .calc-out__sum { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.calc-out__total strong { font-size: 1.35rem; color: var(--mr-primary); }
.calc-out__sum { color: var(--mr-muted); font-size: .9rem; }
.calc-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 768px) { .calc-kpis { grid-template-columns: repeat(4, 1fr); } }
.calc-kpis > div { background: var(--mr-card); border-radius: .75rem; padding: .6rem .8rem; }
.calc-kpis small { display: block; color: var(--mr-muted); font-size: .8rem; }
.calc-kpis strong { font-size: 1.3rem; }

/* Vývoj ceny */
.price-hist { list-style: none; padding: 0; margin: 0; border: 1px solid var(--mr-border); border-radius: var(--mr-radius); background: var(--mr-card); }
.price-hist li { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .75rem; align-items: center; padding: .55rem .9rem; border-bottom: 1px solid var(--mr-border); }
.price-hist li:last-child { border-bottom: 0; }
.price-hist__date { color: var(--mr-muted); font-size: .88rem; }
.price-hist__ch { font-size: .85rem; color: var(--mr-muted); white-space: nowrap; }
.price-hist__ch.is-down { color: #198754; font-weight: 600; }
.price-hist__ch.is-up { color: #dc3545; font-weight: 600; }
a.dtag { text-decoration: none; }
.who-details summary { cursor: pointer; list-style: none; } .who-details summary::-webkit-details-marker { display: none; }
/* Ako inzerujete? – nízke karty: ikona vľavo, text vpravo */
.who-pick--4 .who-pick__card { flex-direction: row; align-items: center; text-align: left; gap: .5rem; padding: .45rem .6rem; }
.who-pick--4 .who-pick__card .bi { width: 1.2rem; height: 1.2rem; margin: 0; flex: none; }
.who-pick--4 .who-pick__card span { display: flex; flex-direction: column; min-width: 0; }
/* Formulár inzerátu v účte: zasúvacie ľavé menu (len počítač) */
.acc-toggle { display: none; align-items: center; gap: .35rem; }
@media (min-width: 992px) {
  .account-shell--wide .acc-toggle { display: inline-flex; }
  .account-shell--wide > .account-side { overflow: hidden; transition: width .45s cubic-bezier(.4, 0, .2, 1), padding .45s cubic-bezier(.4, 0, .2, 1), opacity .25s ease; }
  .account-shell--wide > .account-side > * { min-width: 210px; }
  .account-shell--wide > .account-main { transition: width .45s cubic-bezier(.4, 0, .2, 1); }
  .account-shell.is-collapsed > .account-side { width: 0; padding-left: 0; padding-right: 0; opacity: 0; visibility: hidden; transition: width .45s cubic-bezier(.4, 0, .2, 1), padding .45s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, visibility 0s .45s; }
  .account-shell.is-collapsed > .account-main { width: 100%; }
}
/* úzky mobil: v hlavičke len „+ Pridať“, aby sa ikona menu nezalomila */
@media (max-width: 991.98px) { .site-header .navbar > .container-xl { flex-wrap: nowrap; } }
@media (max-width: 374.98px) { .btn-add__more { display: none; } }
/* Titulka: striedajúce sa texty nad vyhľadávačom (všetky v jednej bunke mriežky – výška sa nemení) */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-slide__title { font-size: 2.5rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); color: #fff; }
.hero-slide .lead { margin-left: auto; margin-right: auto; }
.hero-slide__link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero-slide__link:hover { color: var(--mr-accent); }
@media (max-width: 575.98px) { .hero-slide__title { font-size: 1.75rem; } }
.hero-slide__link::after { content: " →"; }
.hero--photo .hero-slide { text-align: center; }
.hero--photo .hero-slide__title { font-size: 2.1rem; margin-bottom: .5rem !important; }
@media (max-width: 575.98px) { .hero--photo .hero-slide__title { font-size: 1.5rem; } }
/* Telefón uvedený v popise inzerátu – odkrytie tlačidlom (štatistika zobrazení telefónu) */
.desc-phone { display: inline-flex; align-items: baseline; gap: .35rem; padding: .05rem .55rem; border-radius: 999px; background: var(--mr-primary-light); color: var(--mr-primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.desc-phone small { font-weight: 600; text-decoration: underline; }
.desc-phone[data-loaded] small { display: none; }
.desc-email { font-weight: 600; }
/* Stránka Reklama a spolupráca */
.projects-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.project-card { display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--mr-border); border-radius: 16px; background: var(--mr-card); box-shadow: var(--mr-shadow); transition: transform .15s, border-color .15s; }
.project-card:hover { transform: translateY(-2px); border-color: var(--mr-primary); }
.project-card__head { display: flex; gap: .8rem; align-items: center; margin-bottom: .9rem; }
.project-card__head img, .project-card__mark { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 11px; }
.project-card__mark { display: grid; place-items: center; background: var(--mr-primary-light); color: var(--mr-primary); font-weight: 800; font-size: 1.3rem; }
.project-card p a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.project-card__points { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; font-size: .9rem; }
.project-card__points .bi { color: var(--mr-primary); }
.contact-hero { background: linear-gradient(135deg, var(--mr-primary-light), transparent 70%); border-bottom: 1px solid var(--mr-border); }
.contact-hero .lead { max-width: 62ch; }
.contact-channels { display: grid; gap: .9rem; }
.contact-channel { display: flex; gap: 1rem; padding: 1.15rem 1.25rem; border: 1px solid var(--mr-border); border-radius: 16px; background: var(--mr-card); }
.contact-channel__icon { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--mr-primary-light); color: var(--mr-primary); font-size: 1.25rem; }
.contact-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .9rem; }
.contact-links a::before { content: "→ "; color: var(--mr-muted); }
.contact-form { border-radius: 18px; box-shadow: var(--mr-shadow); }
.contact-topics { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-topics .chip { cursor: pointer; }
.adv-hero { background: linear-gradient(135deg, var(--mr-primary-light), transparent 70%); border-bottom: 1px solid var(--mr-border); }
.adv-hero .lead { max-width: 60ch; }
.adv-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.adv-stats strong { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--mr-primary); }
.adv-stats span { font-size: .875rem; color: var(--mr-muted); }
.adv-card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border: 1px solid var(--mr-border); border-radius: 16px; background: var(--bs-body-bg, #fff); transition: border-color .2s, box-shadow .2s; }
.adv-card:hover { border-color: var(--mr-primary); box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.adv-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mr-primary-light); color: var(--mr-primary); }
.adv-card__icon .bi { width: 1.4rem; height: 1.4rem; }
.adv-card__price { font-size: 1.05rem; }
.adv-steps > div > div { height: 100%; padding: 1.25rem; border-radius: 14px; background: var(--mr-primary-light); }
.adv-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: .5rem; border-radius: 50%; background: var(--mr-primary); color: #fff; font-weight: 700; font-size: .9rem; }
.adv-steps strong { display: block; margin-bottom: .25rem; }
a[data-zoom] { cursor: zoom-in; display: inline-block; border-radius: 50%; }

/* Titulka .sk: banner českej verzie portálu (NemovitostiZdarma.cz) */
.cz-banner { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; min-height: 230px; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; background: linear-gradient(120deg, #0b3266 0%, #11457e 45%, #1d5fbf 100%); box-shadow: 0 18px 40px -22px rgba(17, 69, 126, .7); isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
.cz-banner:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 26px 50px -24px rgba(17, 69, 126, .85); }
.cz-banner::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 20, 26, .55), rgba(215, 20, 26, 0) 70%); z-index: -1; }
.cz-banner__photo { background-size: cover; background-position: 50% 70%; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); transition: transform .6s ease; }
.cz-banner:hover .cz-banner__photo { transform: scale(1.04); }
.cz-banner__body { display: flex; flex-direction: column; justify-content: center; gap: .55rem; padding: 2rem 2.25rem 2rem .5rem; }
.cz-banner__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cz-banner__flag { width: 20px; height: 13px; border-radius: 2px; background: linear-gradient(to bottom, #fff 50%, #d7141a 50%); position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.cz-banner__flag::before { content: ""; position: absolute; left: 0; top: 0; border-style: solid; border-width: 6.5px 0 6.5px 10px; border-color: transparent transparent transparent #11457e; }
.cz-banner__title { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 800; }
.cz-banner__title b { color: #ffb27a; }
.cz-banner__text { color: rgba(255, 255, 255, .85); max-width: 52ch; }
.cz-banner__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; padding: .6rem 1.1rem; border-radius: 12px; background: #fff; color: #11457e; font-weight: 700; transition: gap .2s ease; }
.cz-banner:hover .cz-banner__cta { gap: .8rem; }
@media (max-width: 767.98px) {
  .cz-banner { grid-template-columns: 1fr; }
  .cz-banner__photo { height: 150px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .cz-banner__body { padding: .5rem 1.4rem 1.6rem; }
}
