/* Byty v zahradách — vrstva projektu nad upravenou šablonou Brave Development.
   Barevnost z vizualizací: zeleň zahrad, antracit RAL 7016 (okna, žaluzie), teplá bílá omítka. */
:root {
	--rf-green: #617952;
	--rf-green-dark: #4d6141;
	--rf-green-soft: #eef1e8;
	--rf-green-ink: #566c48;
	--rf-on-green: #fff;
	--rf-ink-2: #45484f;
	--bvz-anthracite: #45484f;
	--bvz-sand: #a39d92;
	--bvz-warm: #f6f4ef;
	--bvz-sun: #c99a4b;
}

/* --- Textové logo (logo projektu není součástí zakázky) --------------------- */
.bvzLogo { display: inline-flex; align-items: center; gap: 10px; color: var(--bvz-anthracite); text-decoration: none; line-height: 1; }
.bvzLogo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--rf-green); color: #fff; flex: none; }
.bvzLogo__mark svg { width: 26px; height: 26px; }
.bvzLogo__text { display: grid; gap: 4px; }
.bvzLogo__text strong { font: 600 1.9rem/1 Urbanist, sans-serif; letter-spacing: -0.01em; white-space: nowrap; }
.bvzLogo__text small { font: 500 1.15rem/1 Urbanist, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #6b6f72; white-space: nowrap; }
.bvzLogo--light { color: #fff; }
.bvzLogo--light .bvzLogo__text small { color: rgb(255 255 255 / 0.7); }
a.logo { display: inline-flex !important; align-items: center; }

@media (max-width: 479px) {
	.bvzLogo__mark { width: 34px; height: 34px; border-radius: 9px; }
	.bvzLogo__mark svg { width: 22px; height: 22px; }
	.bvzLogo__text strong { font-size: 1.6rem; }
	.bvzLogo__text small { font-size: 1rem; }
}
.addressCard .logo, .colleagueBox .companyLogo { display: block; margin-bottom: 12px; }

/* --- Úvod: střídání vizualizací (dočasně, dokud nebude video) -------------- */
section.panoramaHero.rfSlideHero { background: var(--bvz-anthracite); }
.rfSlides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.rfSlide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; transform: scale(1.04); }
.rfSlide.is-active { opacity: 1; animation: bvzKen 9s ease-out both; }
@keyframes bvzKen { from { transform: scale(1.08); } to { transform: scale(1.0); } }
@media (prefers-reduced-motion: reduce) { .rfSlide.is-active { animation: none; transform: none; } }
.rfSlideHero .rfVideoHero__shade { background: linear-gradient(90deg, rgb(20 24 22 / 0.55), rgb(20 24 22 / 0.15) 55%, transparent), linear-gradient(0deg, rgb(20 24 22 / 0.45), transparent 45%); }
.rfSlideDots { position: absolute; z-index: 45; left: var(--rf-gutter); bottom: 28px; display: flex; gap: 8px; }
.rfSlideDots button { width: 32px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgb(255 255 255 / 0.45); cursor: pointer; }
.rfSlideDots button.is-active { background: #fff; }
.rfSlideDots button::after { content: ""; display: block; height: 24px; margin-top: -10px; }
@media (max-width: 639px) { .rfSlideDots { bottom: 16px; } }

/* --- Ceny na vyžádání, štítky -------------------------------------------- */
.rfPriceOnRequest { font-weight: 500 !important; color: var(--bvz-anthracite) !important; }
.flatCard .top { display: flex; gap: 6px; flex-wrap: wrap; }
.flatCard .top .rfTag { background: var(--bvz-sun) !important; color: #1d1a14 !important; }
.rfPlanPic { background: #fff; }
.rfPlanPic img { object-fit: contain !important; }
.heroGallery .rfPlanMain { background: #fff; border: 1px solid var(--rf-line); }
.heroGallery .rfPlanMain img { object-fit: contain !important; }
.rfNote { margin-top: 18px; font-size: 1.35rem; line-height: 1.5; color: #666; }

/* --- Standardy ------------------------------------------------------------ */
section.rfStandards { padding: var(--rf-section-y) 0; background: var(--bvz-warm); }
.rfStandards .top { margin-bottom: var(--rf-head-gap); }
.rfStandards .top .subtitle, .rfPois .top .subtitle { margin: 0 0 8px; font: 700 1.3rem/1.3 Urbanist, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rf-green-ink); }
.rfStandards .top h2, .rfPois .top h2 { margin: 0; }
.rfStandards__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rfStandard { padding: 24px; border-radius: var(--rf-radius-lg); background: #fff; box-shadow: var(--rf-shadow-sm); }
.rfStandard .mdi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--rf-green-soft); color: var(--rf-green-ink); font-size: 2.4rem; }
.rfStandard h3 { margin: 16px 0 8px; font: 600 1.7rem/1.3 Urbanist, sans-serif; color: var(--bvz-anthracite); }
.rfStandard p { margin: 0; font-size: 1.45rem; line-height: 1.6; color: #555; }

/* --- Lokalita: vzdálenosti ------------------------------------------------- */
section.rfPois { padding: var(--rf-section-y) 0 0; }
.rfPois .top { margin-bottom: var(--rf-head-gap); }
.rfPois__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px 32px; }
.rfPois__col h3 { margin: 0 0 10px; font: 600 1.6rem/1.3 Urbanist, sans-serif; color: var(--bvz-anthracite); }
.rfPois__col ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rf-line); }
.rfPois__col li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rf-line); font-size: 1.45rem; }
.rfPois__col li .mdi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rf-green); color: #fff; font-size: 1.8rem; }
.rfPois__col li small { display: block; color: #666; font-size: 1.2rem; }
.rfPois__col li b { font-weight: 600; color: var(--rf-green-ink); white-space: nowrap; }

/* --- Výběr bytů: filtr ---------------------------------------------------- */
.rfFilter { display: grid; gap: 18px; margin-bottom: 24px; }
.rfFilter__group { display: grid; gap: 8px; }
.rfFilter__label { margin: 0; font: 600 1.25rem/1.3 Urbanist, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #555; }
.rfFilter__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rfChip { min-height: 40px; padding: 0 14px; border: 1px solid var(--rf-line-strong); border-radius: 999px; background: #fff; color: var(--bvz-anthracite); font: 500 1.4rem/1 Urbanist, sans-serif; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.rfChip:hover { border-color: var(--rf-green); }
.rfChip[aria-pressed="true"] { background: var(--rf-green); border-color: var(--rf-green); color: #fff; }
.rfChip:focus-visible { outline: 2px solid var(--rf-green); outline-offset: 2px; }
.rfFilter__reset { justify-self: start; padding: 0; border: 0; background: none; color: var(--rf-green-ink); font: 500 1.35rem/1.4 Urbanist, sans-serif; text-decoration: underline; cursor: pointer; }
.rfFloorLinks { display: grid; gap: 6px; margin-bottom: 24px; }
.rfFloorLinks a { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--rf-radius); background: var(--bvz-warm); color: var(--bvz-anthracite); text-decoration: none; font: 500 1.45rem/1 Urbanist, sans-serif; }
.rfFloorLinks a small { color: #666; font-size: 1.25rem; }
.rfFloorLinks a:hover { background: var(--rf-green-soft); }
.rfEmpty { padding: 32px 0; font-size: 1.5rem; }
.unitsGrid > [hidden] { display: none !important; }
@media (max-width: 959px) {
	.rfFilter { grid-template-columns: 1fr 1fr; }
	.rfFloorLinks { grid-template-columns: repeat(4, 1fr); }
	.rfFloorLinks a { grid-template-columns: 1fr; justify-items: center; padding: 8px; text-align: center; }
	.rfFloorLinks a small, .rfFloorLinks a .mdi { display: none; }
}

/* --- Aktuality, kontakt ---------------------------------------------------- */
.rfNewsGrid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 959px) { .rfNewsGrid { grid-template-columns: 1fr; } }
.newsExtract__more { margin-top: 32px; text-align: center; }
.rfArticleGallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 24px 0; }
.rfArticleGallery img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--rf-radius); }
.rfAvatar { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--rf-green); color: #fff; font: 600 3rem/1 Urbanist, sans-serif; flex: none; }
section.topContact .entityBox .rfAvatar { margin: 0 24px 0 0; }
section.topContact .entityBox { display: flex; align-items: center; }
.rfSimilar .top { margin-bottom: var(--rf-head-gap); }
.rfSimilar { padding-bottom: var(--rf-section-y); }

/* --- Plovoucí kontakt: na úvodu vpravo, jinde také --------------------------- */
.dispositionShowcase .building .stats .price strong { white-space: nowrap; }

section.topBar a.logo { max-width: none !important; width: auto !important; flex: none; }
section.topBar .uk-width-auto:has(> a.logo) { flex: none; }

section.rfSimilar .unitsGrid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px; margin: 0 !important; }
.rfSimilar .unitsGrid > div { width: auto !important; padding: 0 !important; margin: 0 !important; }
@media (max-width: 1199px) { section.rfSimilar .unitsGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 479px) { section.rfSimilar .unitsGrid { grid-template-columns: 1fr !important; } }
.colleagueBox .companyLogo { width: auto !important; max-width: none !important; height: auto !important; overflow: visible !important; }
.heroGallery .thumbs a:first-child { background: #fff; }
.heroGallery .thumbs a:first-child img { object-fit: contain !important; }

/* Formulářové sekce: závoj v zeleni projektu */
html.rf-on section.brokerOffer::before,
html.rf-on section.form::before { background-color: #2f4321 !important; opacity: 0.92 !important; }
section.form .content .rfFormViz img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rf-radius-lg); }

/* Patička: čitelnost na antracitu */
section.footerMain .officeAddress__label { color: var(--bvz-sand) !important; }
section.footerMain .footerTools ul li { color: rgb(255 255 255 / 0.8) !important; }

/* Nadpisy vlastních sekcí jako ostatní nadpisy šablony */
.rfStandards .top h2, .rfPois .top h2, .rfSimilar .top h2 { font: 600 3.75rem/1.18 Urbanist, sans-serif; letter-spacing: -0.01em; color: var(--rf-ink, #000); }
@media (max-width: 639px) { .rfStandards .top h2, .rfPois .top h2, .rfSimilar .top h2 { font-size: 2.8rem; } }
/* aktuality: fotky ze stavby mají různé poměry stran */
.pageConBox picture img, .newsExtractCard picture img { width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; }

/* Filtr: tlačítka stejného tvaru (šablona přebíjí styly <button>) */
.rfFilter .rfChip { display: inline-flex !important; align-items: center; justify-content: center; height: 38px !important; min-height: 0 !important; min-width: 0 !important; width: auto !important; padding: 0 14px !important; margin: 0 !important; border-radius: 999px !important; line-height: 1 !important; box-shadow: none !important; }
@media (max-width: 959px) {
	.rfFilter { grid-template-columns: 1fr; gap: 14px; }
	.rfFloorLinks { display: none; } /* podlaží řeší filtr i vizualizace domu */
}
/* Aktuality na úvodu: na mobilu pod sebou */
@media (max-width: 959px) { section.newsExtract .rfNewsGrid { grid-template-columns: 1fr !important; } }
/* Vizualizace domu na mobilu: posuvník nepřetéká stránku */
html.rf-on section.vizualize { overflow-x: clip; }

/* Pulzující obrys: silueta domu (polygon z tools/project.mjs) místo obdélníku */
html.rf-on .rfHouseOutline polygon { fill: rgb(97 121 82 / 0.14); stroke: var(--rf-green); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; animation: rfHousePulse 2.4s ease-in-out infinite; transition: opacity .4s ease; }
html.rf-on .maping.rf-touched .rfHouseOutline polygon { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.rf-on .rfHouseOutline polygon { animation: none; } }

/* --- Logo projektu (SVG klienta) ------------------------------------------- */
a.logo .bvzLogoImg { display: block !important; width: auto !important; height: 46px !important; max-width: none !important; object-fit: contain; }
section.footerMain a.logo .bvzLogoImg { height: 50px !important; }
@media (max-width: 479px) { section.topBar a.logo .bvzLogoImg { height: 36px !important; } }
.colleagueBox .companyLogo .bvzLogoImg, .addressCard .logo .bvzLogoImg { display: block; height: 34px; width: auto; }

/* --- Písma: nadpisy Fraunces Regular, ostatní Urbanist ---------------------- */
html.rf-on body { font-family: 'Urbanist', system-ui, sans-serif; }
html.rf-on :is(h1, h2, h3, .h1, .h2),
html.rf-on section.panoramaHero .panoramaHero__copy h1,
html.rf-on .homehover-content h2,
html.rf-on .qtipBox-headerPart .name,
html.rf-on .reason__value {
	font-family: 'Fraunces', Georgia, serif !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
}
html.rf-on h1 span, html.rf-on h2 span { font-family: inherit !important; font-weight: 400 !important; }
/* drobné nadpisy v patičce a štítky zůstávají v Urbanist (velká písmena) */
html.rf-on section.footerMain h3, html.rf-on .rfPois__col h3 { font-family: 'Urbanist', sans-serif !important; font-weight: 700 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; font-size: 1.3rem; }
html.rf-on .rfPois__col h3 { text-transform: none !important; letter-spacing: 0 !important; font-size: 1.7rem; }

/* Logo v hlavičce: šablona dává .logo pevnou výšku 5.9rem a overflow:hidden → ořez */
section.topBar .container .uk-grid > div a.logo { height: auto !important; max-height: none !important; overflow: visible !important; margin-top: 0 !important; padding: 4px 0; }
section.topBar .container .uk-grid > div a.logo .bvzLogoImg { height: 46px !important; }
@media (max-width: 479px) { section.topBar .container .uk-grid > div a.logo .bvzLogoImg { height: 36px !important; } }

/* Klientský web: přepínač verzí šablony (Původní/Upravená) se nezobrazuje */
.refineSwitch { display: none !important; }

/* Úvod: větší nadpis */
html.rf-on section.panoramaHero.rfVideoHero .panoramaHero__copy h1 { font-size: clamp(4.4rem, 6.4vw, 10rem) !important; line-height: 1.02 !important; margin-bottom: 0.15em; }
/* Vyhledávání: přes celou šířku, okraje vlevo/vpravo stejné jako u hlavičky (logo / menu) */
@media (min-width: 640px) {
	html.rf-on section.panoramaHero.rfVideoHero .panoramaHero__quickSearch { left: var(--rf-gutter) !important; right: var(--rf-gutter) !important; width: auto !important; max-width: none !important; transform: none !important; }
}
@media (min-width: 960px) {
	html.rf-on section.panoramaHero.rfVideoHero .panoramaHero__copyInner { width: auto !important; max-width: 60rem !important; }
	html.rf-on section.panoramaHero.rfVideoHero .panoramaHero__copy h1 { white-space: nowrap; max-width: none !important; width: auto !important; }
}

/* --- Oblíbené a porovnání --------------------------------------------------- */
.flatCard .title .icon { display: flex; gap: 6px; }
.flatCard .title .icon button, .unitSave { cursor: pointer; }
.flatCard .title .icon button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rf-line-strong); border-radius: 50%; background: #fff; }
.flatCard .title .icon button img, .flatCard .title .icon button svg { width: 18px; height: 18px; }
[data-rf-fav].is-active, [data-rf-cmp].is-active { background: var(--rf-green) !important; border-color: var(--rf-green) !important; color: #fff !important; }
[data-rf-fav].is-active svg *, [data-rf-cmp].is-active svg * { stroke: #fff; }
.unitSave.is-active { background: transparent !important; color: var(--rf-green-ink) !important; font-weight: 700; }
.unitSave.is-active svg * { stroke: var(--rf-green-ink); }
.rfToast { position: fixed; left: 50%; bottom: 96px; z-index: 100000; transform: translate(-50%, 12px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--bvz-anthracite); color: #fff; font: 600 1.4rem/1.3 Urbanist, sans-serif; transition: .25s; pointer-events: none; }
.rfToast.is-in { opacity: 1; transform: translate(-50%, 0); }
.rfSavedEmpty { padding: 24px 0 48px; font-size: 1.6rem; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rfSaved { padding-bottom: var(--rf-section-y); }
section.rfCompare { padding-bottom: var(--rf-section-y); }
.rfCompare__wrap { overflow-x: auto; }
.rfCompare__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1.5rem; }
.rfCompare__table th, .rfCompare__table td { padding: 12px 14px; border-bottom: 1px solid var(--rf-line); text-align: left; vertical-align: top; }
.rfCompare__table thead th { vertical-align: bottom; }
.rfCompare__table thead img { display: block; width: 100%; max-width: 240px; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); margin-bottom: 10px; }
.rfCompare__table thead a { color: var(--bvz-anthracite); text-decoration: none; font: 400 2rem/1.2 Fraunces, serif; }
.rfCompare__table tbody th { color: #666; font-weight: 600; white-space: nowrap; }
.rfCompare__rm { display: block; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--rf-green-ink); text-decoration: underline; cursor: pointer; font: 500 1.3rem Urbanist, sans-serif; }
/* Vyhledávání: stejný odstup od okraje úvodu vlevo, vpravo i dole */
@media (min-width: 640px) {
	html.rf-on section.panoramaHero.rfVideoHero { --bvz-search-inset: clamp(16px, 2.2vw, 36px); }
	html.rf-on section.panoramaHero.rfVideoHero .panoramaHero__quickSearch { left: var(--bvz-search-inset) !important; right: var(--bvz-search-inset) !important; bottom: var(--bvz-search-inset) !important; top: auto !important; }
}

/* Všechna tlačítka plně zakulacená */
html.rf-on :is(a.button, button.button, .button, .uk-button, input[type="submit"], .submitPack, .submitPack input, .footerCta, .button-main, .button-flat, .rfMenuCta a, .cookie-bar-modal button, .cookie-bar-modal .button, .panoramaHero__quickSearchSubmit, .floorBtn, .buildingBtn, .viewToggle__option, .tab, .reoReservation-open, .buyPanel__cta) { border-radius: 999px !important; }
html.rf-on .rfMobileBar a.is-main { border-radius: 999px; }

/* Půdorys podlaží: celý na první obrazovce */
html.rf-on section.floorExtract .floorExtract-plan .mapingFloor { max-width: min(100%, calc((100vh - 300px) * var(--rf-plan-ratio, 1.85))); margin-inline: auto; }
html.rf-on section.floorExtract .floorExtract-plan .mapingFloor img.map { width: 100%; height: auto; }

/* Karta kontaktu ve formuláři detailu bytu: logo nad kontaktem, ne přes něj */
html.rf-on section.brokerOffer .colleagueBox .companyLogo { position: static !important; width: auto !important; aspect-ratio: auto !important; overflow: visible !important; margin: 0 0 18px !important; }
html.rf-on section.brokerOffer .colleagueBox .companyLogo .bvzLogoImg { width: auto !important; height: 40px !important; object-fit: contain; }

/* --- Výběr bytů: vizualizace jako nízký banner přes celou šířku, nadpis v obrázku --- */
html.rf-on section.vizualize.rfVizBanner { padding: 0 !important; margin: 0 0 32px; }
html.rf-on section.vizualize.rfVizBanner .container { max-width: none !important; width: 100% !important; padding: 0 !important; }
html.rf-on section.vizualize.rfVizBanner .rfVizHint { display: none; }
html.rf-on section.vizualize.rfVizBanner .rfVizScroll { margin: 0 !important; overflow: visible !important; }
html.rf-on section.vizualize.rfVizBanner .maping {
	position: relative; width: 100% !important; max-width: none !important; margin: 0 !important;
	aspect-ratio: 2 / 1; max-height: clamp(300px, 46vh, 520px) !important; height: auto !important;
	overflow: hidden; border-radius: 0 !important;
}
/* obrázek, plátno zvýraznění i obrys mají stejný rámeček (výška banneru × 2) → oblasti sedí; dům je vždy celý */
html.rf-on section.vizualize.rfVizBanner .maping > :is(img.map, div.map, .rfHouseOutline) {
	position: absolute !important; top: 0 !important; left: 50% !important; height: 100% !important; width: auto !important;
	aspect-ratio: 2 / 1; transform: translateX(-50%); margin: 0 !important; z-index: 2;
}
html.rf-on section.vizualize.rfVizBanner .maping > .rfHouseOutline { z-index: 5; max-width: none !important; } /* UIkit: svg { max-width: 100% } */
/* okolí obrázku: stejná vizualizace rozmazaná přes celou šířku — stačí 240 px (6 kB), rozmazání detail stejně smaže */
html.rf-on section.vizualize.rfVizBanner .maping::before { content: ''; position: absolute; inset: -30px; z-index: 0; background: url('img/house-blur-240.webp') center / cover; filter: blur(24px) saturate(1.1); }
html.rf-on section.vizualize.rfVizBanner .maping::after { display: none; }
html.rf-on .rfVizOverlay {
	position: absolute; z-index: 6; inset: 0 auto 0 0; width: min(560px, 60%);
	display: flex; flex-direction: column; justify-content: center; padding: 0 var(--rf-gutter);
	background: linear-gradient(90deg, rgb(25 30 22 / .6), rgb(25 30 22 / .25) 70%, transparent); color: #fff; pointer-events: none;
}
html.rf-on .rfVizOverlay .subtitle { margin: 0 0 10px; color: #fff; font: 700 1.3rem/1.3 Urbanist, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 3px rgb(0 0 0 / .4); }
html.rf-on .rfVizOverlay h1 { margin: 0; color: #fff !important; font-size: clamp(3.6rem, 4.6vw, 6.4rem) !important; line-height: 1.05; text-shadow: 0 2px 12px rgb(0 0 0 / .35); }
html.rf-on .rfVizOverlay__hint { margin: 14px 0 0; font: 500 1.5rem/1.4 Urbanist, sans-serif; color: rgb(255 255 255 / .9); }
@media (max-width: 767px) {
	html.rf-on section.vizualize.rfVizBanner .maping { aspect-ratio: auto; height: 340px !important; }
	html.rf-on section.vizualize.rfVizBanner .maping > :is(img.map, div.map, .rfHouseOutline) { width: 680px !important; }
	html.rf-on .rfVizOverlay { width: 100%; justify-content: flex-end; padding-bottom: 20px; background: linear-gradient(0deg, rgb(25 30 22 / .65), transparent 75%); }
}

/* --- Připomínky klienta 27. 10. ------------------------------------------- */
.rfCompletion { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font: 600 1.5rem/1.2 Urbanist, sans-serif; }
.rfCompletion .mdi { font-size: 1.9rem; }
.rfNewsNoImg { padding: 24px; border-radius: var(--rf-radius-lg); background: #fff; box-shadow: var(--rf-shadow-sm); height: 100%; }
section.rfSportHighlight { padding: clamp(24px, 3vw, 48px) 0 clamp(32px, 4vw, 64px); }
.rfSportHighlight__box { display: flex; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 44px); border-radius: var(--rf-radius-lg); background: var(--rf-green-soft); }
.rfSportHighlight__box > .mdi { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--rf-green); color: #fff; font-size: 4.4rem; }
.rfSportHighlight__box .subtitle { margin: 0 0 6px; font: 700 1.3rem/1.3 Urbanist, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--rf-green-ink); }
.rfSportHighlight__box h2 { margin: 0 0 10px; }
.rfSportHighlight__box p:last-child { margin: 0; max-width: 70ch; font-size: 1.6rem; line-height: 1.6; color: #444; }
@media (max-width: 639px) { .rfSportHighlight__box { flex-direction: column; align-items: flex-start; } .rfSportHighlight__box > .mdi { width: 64px; height: 64px; font-size: 3.4rem; } }
section.calculator .rfNote { color: #555; }

/* Hover tlačítek: na zelené ploše vždy bílý text (kontrastní pravidla šablony dávala zelený text na zelené) */
html.rf-on :is(a.button, .button, .uk-button, .footerCta, .button-main, .button-flat):is(:hover, :focus-visible),
html.rf-on :is(a.button, .button, .uk-button, .footerCta, .button-main, .button-flat):is(:hover, :focus-visible) :is(span, i, .mdi) {
	color: #fff !important;
}
html.rf-on :is(a.button, .button):is(:hover, :focus-visible) svg * { stroke: #fff; }
/* odkaz „Detail bytu“ na kartě je textový (bez plochy) — hover v zelené */
html.rf-on .flatCard .cardFoot .button:is(:hover, :focus-visible),
html.rf-on .flatCard .cardFoot .button:is(:hover, :focus-visible) :is(span, i, .mdi) { color: var(--rf-green-ink) !important; }

/* Úvod podstránek na mobilu: obrázek je skrytý → odsazení textu od další sekce */
@media (max-width: 959px) { html.rf-on section.pageTopPanel { padding-bottom: clamp(32px, 8vw, 56px) !important; } }

/* Legenda mapy: jen zaškrtávátko a název (malé piny byly nerozlišitelné), bez zdvojeného ✔ */
html.rf-on section.mapContent .mapWrapper .legend p label::after { content: none !important; display: none !important; }
html.rf-on section.mapContent .mapWrapper .legend p label { font-size: 1.5rem; }

/* --- Brave: pin bodu v seznamu vzdáleností (ikona z administrace místo <i class="mdi">) --- */
.rfPois__col li .rfPois__icon { display: block; width: 34px; height: 34px; object-fit: contain; }
.rfPois__col li a { color: inherit; text-decoration: none; }
.rfPois__col li a:hover { color: var(--rf-green-ink); }
.rfSportHighlight__box .editableBlock p { margin: 0; max-width: 70ch; font-size: 1.6rem; line-height: 1.6; color: #444; }
/* iniciály kontaktní osoby (bez fotky) v kartě makléře na detailu bytu */
.colleagueBox .rfAvatar { width: 72px; height: 72px; font-size: 2.4rem; }

/* ==========================================================================
   Sjednocená vyskakovací okna — všechna UIkit
   modální okna (poptávka bytu, hlídač, rezervace, potvrzení odeslání formuláře,
   sdílení výběru, flash zprávy). Jeden překryv, jedno zaoblení, stejná tlačítka.
   ========================================================================== */
:root {
	--bvz-modal-radius: 24px;
	--bvz-modal-shadow: 0 24px 64px rgb(28 31 26 / 0.22);
	--bvz-overlay: rgb(36 40 33 / 0.55);
}

/* překryv: místo syté zelené tlumený antracit s jemným rozostřením */
html.rf-on .uk-modal { background: var(--bvz-overlay); backdrop-filter: blur(3px); }
html.rf-on .uk-modal-dialog {
	border-radius: var(--bvz-modal-radius);
	box-shadow: var(--bvz-modal-shadow);
	overflow: hidden;
	font-family: 'Urbanist', sans-serif;
	color: var(--bvz-anthracite);
}
html.rf-on .uk-modal-dialog h2, html.rf-on .uk-modal-dialog .uk-modal-title, html.rf-on .uk-modal-dialog h3.title {
	font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.01em; color: var(--bvz-anthracite);
}
/* zavírací křížek: kulaté tlačítko v rohu */
html.rf-on .uk-modal-dialog > .uk-modal-close-default,
html.rf-on .uk-modal-dialog > .uk-modal-close {
	top: 18px; right: 18px; width: 40px; height: 40px; padding: 0;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--rf-green-soft); color: var(--rf-green-ink); transition: background .2s, color .2s;
}
html.rf-on .uk-modal-dialog > .uk-modal-close-default:hover,
html.rf-on .uk-modal-dialog > .uk-modal-close:hover { background: var(--rf-green); color: #fff; }
/* pole formulářů v oknech */
html.rf-on .uk-modal-dialog input.uk-input, html.rf-on .uk-modal-dialog input[type="text"],
html.rf-on .uk-modal-dialog input[type="email"], html.rf-on .uk-modal-dialog input[type="tel"],
html.rf-on .uk-modal-dialog textarea {
	border-radius: 12px; border-color: #dcdfd6; font-family: 'Urbanist', sans-serif;
}
html.rf-on .uk-modal-dialog input:focus, html.rf-on .uk-modal-dialog textarea:focus {
	border-color: var(--rf-green); box-shadow: 0 0 0 3px rgb(97 121 82 / 0.18); outline: none;
}

/* Formuláře v sekci .form (Kontakt, oblíbené, poptávka nad patičkou): sloupec s tlačítkem podle
   obsahu, text o ochraně údajů se zalomí ve zbytku — dřív se roztáhl text a tlačítko (≈ 200 px)
   přeteklo přes něj (tablet 1024 px i desktop). */
@media (min-width: 640px) {
	section.form form .uk-grid > .uk-width-expand\@s:has(> .submitPack) { flex: none; width: auto; max-width: 50%; }
	section.form form .uk-grid > .uk-width-expand\@s:has(> .submitPack) + .uk-width-auto\@s { flex: 1; min-width: 0; width: auto; }
}
/* Vizitka kontaktní osoby u formuláře: logo nad kartou v toku, ne přes jméno (jako u makléře na detailu bytu) */
html.rf-on .contactPersonPanel .companyLogo { position: static !important; width: auto !important; aspect-ratio: auto !important; overflow: visible !important; margin: 0 0 18px !important; }
html.rf-on .contactPersonPanel .companyLogo .bvzLogoImg, html.rf-on .contactPersonPanel .companyLogo img { width: auto !important; height: 40px !important; object-fit: contain; }

/* Výběr bytů: akce pod filtrem a načítací překryv výsledků (project.js) */
.rfFilter__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rfFilter__actions [hidden] { display: none !important; }
.rfFilter .rfFilter__show { display: none !important; }
@media (max-width: 959px) {
	/* výsledky jsou na mobilu až pod filtrem — tlačítko s počtem k nim sjede */
	.rfFilter .rfFilter__show { display: inline-flex !important; align-items: center; justify-content: center; flex: 1 1 100%; height: 46px !important; min-height: 0 !important; margin: 0 !important; padding: 0 22px !important; border: 0 !important; border-radius: 999px !important; background: var(--rf-green) !important; color: #fff !important; font: 600 1.45rem/1 Urbanist, sans-serif !important; letter-spacing: .02em; box-shadow: none !important; cursor: pointer; }
	.rfFilter__actions { justify-content: center; }
}
.unitsTableSection { position: relative; }
/* Překryv jen přes sloupec výsledků (position: absolute uvnitř sekce, z-index 3) — fixní hlavička
   webu má z-index 980, takže přes ni nikdy nevyleze. */
.rfLoading { position: absolute; inset: -6px; z-index: 3; border-radius: var(--rf-radius); background: rgb(255 255 255 / .72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility 0s linear .16s; }
.unitsTableSection.is-loading .rfLoading { opacity: 1; visibility: visible; transition: opacity .12s ease; }
/* kolečko drží střed obrazovky i ve dlouhém výpisu (sticky uvnitř překryvu) */
.rfLoading span { position: sticky; top: calc(50vh - 22px); display: block; width: 44px; height: 44px; margin: 90px auto; border: 3px solid rgb(97 121 82 / .2); border-top-color: var(--rf-green); border-radius: 50%; animation: rfSpin .7s linear infinite; }
@keyframes rfSpin { to { transform: rotate(360deg); } }
/* dlaždice po přepnutí jemně najedou */
.unitsTableSection:not(.is-loading) .unitsGrid > div:not([hidden]) { animation: rfTileIn .28s ease both; }
@keyframes rfTileIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .unitsTableSection .unitsGrid > div, .rfLoading span { animation: none !important; } }

/* --- Financování: platební podmínky ve třech krocích (Menu/payment_terms.latte) ------- */
/* nadpis a nadtitulek přebírá section.purchaseSteps (sekce má obě třídy); navazuje hned pod postup koupě */
section.purchaseSteps.rfPayment { padding-top: 0; }
.rfPayment__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.rfPayment__step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 26px; border-radius: var(--rf-radius-lg); background: var(--bvz-warm); }
/* šipka mezi kroky jako u „Postupu při koupi bytu“ */
.rfPayment__step:not(:last-child)::after { content: '→'; position: absolute; top: 44px; right: -14px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--rf-green-ink); font-size: 1.5rem; box-shadow: var(--rf-shadow-sm); }
.rfPayment__num { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--rf-green); border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgb(97 121 82 / .3); background: #fff; color: var(--bvz-anthracite); font: 600 1.8rem/1 Urbanist, sans-serif; }
.rfPayment__step h3 { margin: 8px 0 0; font: 600 1.75rem/1.3 Urbanist, sans-serif; color: var(--bvz-anthracite); }
.rfPayment__amount { margin: 0; font: 600 2rem/1.35 Urbanist, sans-serif; color: var(--rf-green-ink); }
.rfPayment .rfNote { margin: 18px 0 0; text-align: center; }
@media (max-width: 959px) {
	.rfPayment__steps { grid-template-columns: 1fr; }
	/* mobil: číslo vlevo, text vpravo — kroky nejsou zbytečně vysoké */
	.rfPayment__step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; align-items: center; padding: 18px; }
	.rfPayment__num { grid-row: span 2; width: 44px; height: 44px; font-size: 1.6rem; }
	.rfPayment__step h3 { margin: 0; }
	.rfPayment__amount { font-size: 1.7rem; }
	.rfPayment__step:not(:last-child)::after { content: '↓'; top: auto; right: auto; bottom: -14px; left: 50%; transform: translateX(-50%); }
}

/* --- O projektu: výhody projektu (Menu/advantages.latte) — karty jako Standardy, bílé pozadí sekce */
section.rfStandards.rfAdvantages { background: #fff; }
.rfAdvantages .rfStandard { background: var(--bvz-warm); box-shadow: none; }
.rfAdvantages .rfStandard .mdi { background: #fff; }
@media (min-width: 960px) { .rfAdvantages .rfStandards__grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Pás výhod: ikona z fontu místo nahraného obrázku (Menu/benefits.latte) */
.benefitsBox .rfBenefitIcon { display: grid; place-items: center; width: 8.3rem; height: 8.3rem; margin: .1rem auto 1.9rem; border-radius: 50%; /* stejný box jako nahraný obrázek (8,6 × 8,5 rem + 1,8 rem) */ background: #eef1e8; color: var(--rf-green, #617952); font-size: 3.4rem; line-height: 1; }

/* --- Čitelnost (zadání 11. 11.): drobné texty ve Standardech, navigaci a patičce ----------
   Písmo je na webu plynulé podle šířky okna (rem), na mobilu se proto drobné texty zmenšily
   pod 12 px — každá velikost má i spodní hranici v px. */
.rfStandard h3 { font-size: max(1.85rem, 16.5px); }
.rfStandard p { font-size: max(1.65rem, 14.5px); line-height: 1.6; }
.rfNote { font-size: max(1.4rem, 13px); }
.unitRooms__note, .unitRooms p { font-size: max(1.35rem, 13px); }
header nav a > span, header .menuLink .text { font-size: max(1.4rem, 13px) !important; }
header .button.button-main { font-size: max(1.35rem, 12.5px) !important; }
footer h3 { font-size: max(1.35rem, 12.5px) !important; }
footer .footerNav a, footer .address, footer .address a, footer .contactLink span { font-size: max(1.6rem, 15px) !important; }
footer .officeAddress__label { font-size: max(1.3rem, 12.5px) !important; }
section.footerEnd a, section.footerEnd .copy { font-size: max(1.3rem, 12.5px) !important; }
.flatCard .param span, .flatCard .params span, .flatCard > .content p:not(.price) { font-size: max(1.45rem, 13.5px); }
footer .officeAddress__person { margin-top: 10px; }
footer .officeAddress__person a { color: inherit; text-decoration: none; }
footer .officeAddress__person a:hover { text-decoration: underline; }

/* --- Dokumenty ke stažení a energetická náročnost (detail bytu, Standardy) ---------------- */
section.rfDownloads { padding: 0 0 var(--rf-section-y); }
.rfDownloads__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; max-width: 122rem; margin: 0 auto; }
.rfDownloads__title { margin: 0 0 14px; font-size: max(2.4rem, 21px); }
.rfDownloads__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rfDownloads__list a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 52px; padding: 0 18px; border-radius: var(--rf-radius); background: var(--bvz-warm); color: var(--bvz-anthracite); font: 500 max(1.55rem, 14.5px)/1.3 Urbanist, sans-serif; text-decoration: none; transition: background-color .15s; }
.rfDownloads__list a:hover { background: var(--rf-green-soft); }
.rfDownloads__list .mdi { font-size: 2.2rem; color: var(--rf-green-ink); }
.rfPenb { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 24px; border-radius: var(--rf-radius-lg); background: #fff; box-shadow: var(--rf-shadow-sm); }
.rfStandards--end .rfPenb { margin-bottom: 18px; }
.rfPenb__scale { display: grid; gap: 3px; }
.rfPenb__step { display: block; width: 42px; padding: 1px 0 1px 8px; color: #fff; font: 700 1.2rem/1.5 Urbanist, sans-serif; clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%); }
.rfPenb__step--0 { background: #2e8b3d; } .rfPenb__step--1 { background: #5fae3b; width: 50px; } .rfPenb__step--2 { background: #b7cf2c; width: 58px; }
.rfPenb__step--3 { background: #f2d22b; width: 66px; color: #444; } .rfPenb__step--4 { background: #f2a72b; width: 74px; } .rfPenb__step--5 { background: #e8692a; width: 82px; } .rfPenb__step--6 { background: #d63a2a; width: 90px; }
.rfPenb__step.is-active { outline: 2px solid var(--bvz-anthracite); outline-offset: 2px; font-size: 1.5rem; }
.rfPenb__title { margin: 0 0 4px; font: 700 max(1.25rem, 12px)/1.3 Urbanist, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--rf-green-ink); }
.rfPenb__label { margin: 0 0 6px; font: 600 max(2rem, 18px)/1.3 Urbanist, sans-serif; color: var(--bvz-anthracite); }
.rfPenb__note { margin: 0 0 10px; font-size: max(1.4rem, 13px); color: #555; }
.rfPenb__link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--rf-green-ink); }
.rfPenb__link .mdi { font-size: 2rem; }
section.rfStandards--end { padding-top: 0; }
@media (max-width: 959px) { .rfDownloads__grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .rfPenb { grid-template-columns: 1fr; } }

/* Štítek „Vizualizace“ na obrázcích vizualizací (project.js) — fotografie stavby ho nemají */
.rfVizBadge { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgb(25 30 22 / .62); color: #fff; font: 600 max(1.15rem, 11.5px)/1.3 Urbanist, sans-serif; letter-spacing: .04em; pointer-events: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Detail aktuality: fotogalerie ze stavby (News/detail.latte) */
section.rfNewsGallery { padding: 0 0 var(--rf-section-y); }
.rfNewsGallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rfNewsGallery__grid a { display: block; overflow: hidden; border-radius: var(--rf-radius); aspect-ratio: 4 / 3; }
.rfNewsGallery__grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rfNewsGallery__grid a:hover img { transform: scale(1.04); }

/* Detail bytu, horní galerie: výkresy (půdorys bytu, patra) v náhledu celé na bílém, bez ořezu */
.heroGallery .thumbs a.is-drawing { background: #fff; box-shadow: inset 0 0 0 1px var(--rf-line, #e3e1da); }
.heroGallery .thumbs a.is-drawing img { object-fit: contain !important; padding: 8px; background: #fff; }
.heroGallery .mainPhoto--drawing img { object-fit: contain !important; background: #fff; }

/* Cena / stav bytu (@unitPrice.latte): prodaný a rezervovaný byt jen stav, bez ceny */
.rfPriceState { font-weight: 600; }
.rfPriceState--sold { color: #9a4a3f; }
.rfPriceState--reserved { color: #b07a1f; }
.rfPricePerMeter { display: block; font-size: .7em; font-weight: 400; color: #666; }
.flatCard .price .rfPriceState { font-size: max(1.6rem, 15px); }
/* detail bytu: příplatky (garáž, wallbox) pod cenou */
.buyPanel__extras { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: max(1.4rem, 13px); line-height: 1.45; color: #555; }
.buyPanel__extras .mdi { font-size: 1.8rem; line-height: 1.1; color: var(--rf-green-ink); }
/* karty bytů: půdorys celý (contain), ne ořez do výřezu; cena v plné velikosti textu karty */
.flatCard .picture > a picture img, .flatCard .picture > picture img, .flatCard .picture > a > img { object-fit: contain !important; background: #fff; }
.flatCard .price .rfPriceValue { font-size: inherit !important; color: inherit !important; font-weight: inherit; }

/* === Zadání 19. 11. 2026 =================================================================== */
/* Čitelnost výpisu: výrazný štítek stavu (volný zeleně, rezervovaný oranžově, prodaný šedě),
   větší označení bytu a ztlumené prodané/rezervované karty — volné byty jsou vidět na první pohled. */
html .flatCard .top label.rfState { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px !important; border-radius: 999px !important; font: 700 max(1.3rem, 12.5px)/1 Urbanist, sans-serif !important; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
html .flatCard .top label.rfState::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
html .flatCard .top label.rfState--available { background: var(--rf-green) !important; color: #fff !important; }
html .flatCard .top label.rfState--reserved { background: #f6e3c2 !important; color: #7a4e0c !important; }
html .flatCard .top label.rfState--sold { background: #e8e6e1 !important; color: #5c5850 !important; }
html body .flatCard .title h3 { font-size: max(2.8rem, 23px) !important; font-weight: 600; line-height: 1.15; }
.flatCard.is-sold .picture, .flatCard.is-reserved .picture { opacity: .55; filter: grayscale(.6); transition: opacity .2s, filter .2s; }
.flatCard.is-sold:hover .picture, .flatCard.is-reserved:hover .picture { opacity: .85; filter: none; }
html body .flatCard.is-sold .title h3, html body .flatCard.is-reserved .title h3 { color: #6d6a63 !important; }
.flatCard.is-available .price .rfPriceValue { color: var(--rf-green-ink) !important; font-weight: 700; }

/* pilulka „Pouze volné“ s tečkou stavu */
.rfChip--free { display: inline-flex !important; align-items: center; gap: 8px; }
.rfChip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rf-green); box-shadow: 0 0 0 2px #fff; }
.rfChip--free[aria-pressed="true"] .rfChip__dot { background: #fff; box-shadow: 0 0 0 2px var(--rf-green); }

/* stránka podlaží: přepínač nad půdorysem */
.rfOnlyFree { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.rfOnlyFree .rfChip { min-height: 40px; padding: 0 16px; border: 1px solid var(--rf-line-strong, #cfcac0); border-radius: 999px; background: #fff; color: var(--bvz-anthracite, #2b2a27); font: 600 1.45rem/1 Urbanist, sans-serif; cursor: pointer; }
.rfOnlyFree .rfChip[aria-pressed="true"] { background: var(--rf-green); border-color: var(--rf-green); color: #fff; }
.rfOnlyFree__count { font: 500 max(1.4rem, 13px)/1.3 Urbanist, sans-serif; color: var(--rf-green-ink); }
.unitsTableSection .unitsGrid > [hidden] { display: none !important; }

/* Garáže a sklepy — řádky pod byty */
.rfExtras { padding: 56px 0 24px; }
.rfExtras .top { margin-bottom: 22px; }
.rfExtras .top .subtitle { margin: 0 0 8px; font: 700 1.3rem/1.3 Urbanist, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rf-green-ink); }
.rfExtras .top h2 { margin: 0; font: 600 3.75rem/1.18 Urbanist, sans-serif; letter-spacing: -0.01em; color: var(--rf-ink, #000); }
@media (max-width: 639px) { .rfExtras .top h2 { font-size: 2.8rem; } }
.rfExtras__lead { max-width: 720px; margin: 8px 0 0; font-size: max(1.6rem, 15px); color: #555; }
.rfExtras__table { border-top: 1px solid var(--rf-line-strong, #d8d3c8); }
.rfExtras__row { display: grid; grid-template-columns: 1.7fr .8fr .9fr 1.1fr 1fr 1fr; align-items: center; gap: 12px; min-height: 52px; padding: 8px 4px; border-bottom: 1px solid var(--rf-line, #e7e3da); font-size: max(1.55rem, 14.5px); }
.rfExtras__row--head { min-height: 0; padding: 12px 4px; font: 600 max(1.25rem, 12px)/1.3 Urbanist, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6d6a63; }
.rfExtras__name { font-weight: 600; font-size: max(1.75rem, 16px); }
.rfExtras__level { color: #555; }
.rfExtras__price { font-weight: 700; color: var(--rf-green-ink); white-space: nowrap; }
.rfExtras__row.is-sold, .rfExtras__row.is-reserved { color: #8a867d; }
.rfExtras__row.is-sold .rfExtras__name, .rfExtras__row.is-reserved .rfExtras__name { color: #6d6a63; }
.rfExtras__action { text-align: right; }
.rfExtras__action .button { display: inline-flex !important; align-items: center; height: 38px !important; min-height: 0 !important; padding: 0 16px !important; font-size: max(1.3rem, 12.5px) !important; letter-spacing: .06em; white-space: nowrap; }
.rfExtras label.rfState { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font: 700 max(1.2rem, 11.5px)/1 Urbanist, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.rfExtras label.rfState::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rfExtras label.rfState--available { background: var(--rf-green); color: #fff; }
.rfExtras label.rfState--reserved { background: #f6e3c2; color: #7a4e0c; }
.rfExtras label.rfState--sold { background: #e8e6e1; color: #5c5850; }
.rfExtras .rfNote { margin-top: 14px; }
.rfExtras__plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 920px)); gap: 20px; margin-top: 26px; }
.rfExtras__plan { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--rf-line, #e7e3da); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; }
.rfExtras__plan img { width: 100%; height: auto; }
.rfExtras__plan span { font-weight: 600; }
@media (max-width: 959px) {
	.rfExtras__row--head { display: none; }
	.rfExtras__row { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 4px; }
	.rfExtras__name { grid-column: 1; }
	.rfExtras__state { grid-column: 2; grid-row: 1; justify-self: end; }
	.rfExtras__level, .rfExtras__area { grid-column: 1 / -1; font-size: max(1.4rem, 13.5px); }
	.rfExtras__level::before, .rfExtras__area::before { content: attr(data-label) ": "; color: #8a867d; }
	.rfExtras__price { grid-column: 1; }
	.rfExtras__action { grid-column: 2; }
	.rfExtras__row:not(.is-available) .rfExtras__price { display: none; }
}

/* Standardy — klientské změny povrchů: termín výběru jako štítek, vizualizace varianty nad textem */
.rfStandard__deadline { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; min-height: 0 !important; margin: 2px 0 10px !important; padding: 5px 12px !important; line-height: 1.25 !important; font-size: max(1.45rem, 13.5px) !important; border-radius: 999px; background: var(--rf-green-soft, #eef1e8); color: var(--rf-green-ink) !important; font-weight: 700; }
.rfStandard__image { display: block; margin: -4px -4px 12px; border-radius: 10px; overflow: hidden; }
.rfStandard__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rfStandard .rfStandard__deadline .mdi { display: inline !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; border-radius: 0 !important; font-size: 1.15em !important; line-height: 1 !important; color: inherit !important; }

/* --- Standardy: vizualizace koupelen (menu standards_bathrooms) ------------- */
section.rfStandards--bathrooms { background: #fff; }
.rfBathrooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.rfBathroom { padding: 20px; border-radius: var(--rf-radius-lg); background: var(--bvz-warm); }
.rfBathroom__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.rfBathroom__head h3 { margin: 0; font: 600 max(2.2rem, 19px)/1.25 Urbanist, sans-serif; color: var(--bvz-anthracite); }
.rfBathroom__head p { margin: 0; font-size: max(1.55rem, 14px); line-height: 1.5; color: #555; }
.rfBathroom__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rfBathroom__pic { display: block; overflow: hidden; border-radius: 10px; background: #e9e5dd; }
.rfBathroom__pic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.rfBathroom__pic:hover img { transform: scale(1.04); }
.rfBathroom__pic--main { grid-column: 1 / -1; }

/* ---------- Stav „V jednání“ (štítek bytu s typem unit-status-negotiation) — 23. 11. 2026 ----------
   Jen zobrazení: v administraci zůstává stav bytu, web ukáže název štítku a modrou barvu
   všude, kde ukazuje dostupnost (karta, cena, detail, bublina a plocha na půdorysu, náhled patra). */
html .flatCard .top label.rfState--negotiation { background: #dbe7f1 !important; color: #24557a !important; }
.flatCard.is-negotiation .picture { opacity: .55; filter: grayscale(.6); transition: opacity .2s, filter .2s; }
.flatCard.is-negotiation:hover .picture { opacity: .85; filter: none; }
html body .flatCard.is-negotiation .title h3 { color: #6d6a63 !important; }
.rfPriceState--negotiation { color: #2f6f9f; }
html body .buyPanel__state .dot.negotiation { background: #2f6f9f !important; }
html .qtipBox-headerPart.is-negotiation { background: #2f6f9f; }
html .qtipBox-bodyPart .value.negotiation { color: #2f6f9f; }
html .floorPosition.is-negotiation .floorPosition__polygon polygon { fill: rgba(47, 111, 159, .4); stroke: #2f6f9f; }
html .floorPreview.is-negotiation .overlay polygon { fill: rgba(47, 111, 159, .35); stroke: #2f6f9f; }

/* Půdorysy garáže 1. PP / 2. PP na telefonu: výkres v plné čitelné šířce s vodorovným posunem
   (čísla stání čitelná bez zvětšování), klik dál otevře zvětšení v lightboxu. — 23. 11. 2026 */
@media (max-width: 639px) {
	.rfExtras__plans { grid-template-columns: minmax(0, 1fr); }
	.rfExtras__plan { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.rfExtras__plan img { width: 820px; max-width: none; }
	.rfExtras__plan span { position: sticky; left: 0; }
}
@media (min-width: 960px) {
	.rfExtras__plans { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* =====================================================================================
   Hover efekty — 24. 11. 2026 (připomínka: změny „skokem“ bez času, podtržené odkazy).
   Zásady: nikde text-decoration underline; odkazy dostanou čáru, která se při najetí
   plynule vysune zleva (gradient na pozadí = funguje i u víceřádkového textu a nekoliduje
   s ::before/::after šablon); vše, co na hover mění barvu, stín, posun nebo výplň ikony,
   má přechod. Křivka a délky jednotné přes proměnné.
   ===================================================================================== */
:root {
	--rf-ease: cubic-bezier(.22, .61, .36, 1);
	--rf-fast: .22s;
	--rf-mid: .35s;
}

/* 1) Výchozí přechod pro všechno klikací, co vlastní přechod nemá (:where = nulová specificita,
      konkrétní pravidla šablony mají přednost). */
:where(a, button, .button, input[type="submit"], label.rfFilterPill, .uk-navbar-nav > li > a) {
	transition-property: color, background-color, border-color, box-shadow, opacity, transform, filter;
	transition-duration: var(--rf-fast);
	transition-timing-function: var(--rf-ease);
}
:where(a, button, .button, .submitPack) :where(svg path, svg line, svg circle, svg rect, svg polyline) {
	transition: stroke var(--rf-fast) var(--rf-ease), fill var(--rf-fast) var(--rf-ease);
}
:where(a, button, .button) :where(i.mdi, .chevronBack, picture.icon) {
	transition: transform var(--rf-fast) var(--rf-ease), translate var(--rf-fast) var(--rf-ease), color var(--rf-fast) var(--rf-ease);
}

/* 2) Žádné podtržení — ani v klidu, ani na hover */
html body a,
html body a:hover,
html body a:focus,
html body a span,
html body a:hover span,
html body .button span,
html body .button:hover span {
	text-decoration: none !important;
}

/* 3) Vysouvací čára: textové odkazy v obsahu, „Detail bytu“, „Všechny byty“, odkazy v detailu
      bytu, patička, kontakty. Čára je v klidu nulová a při najetí doroste zleva. */
html body :is(.text, .editableBlock, .rfNote, .officeAddress__person, .rfLead__card, .addressCard, .uk-grid-margin > p, .reoReservation-gdpr, form) a:not(.button):not([class*="button"]),
html body .flatCard .cardFoot a.button > span,
html body .backLink a > span,
html body.frontend-reounit .pageTopPanel .atr a,
html body.frontend-reounit .pageTopPanel .catalogSheet__button span,
html body.frontend-reounit .pageTopPanel .unitSave span,
html body section.brokerOffer a.next-link {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1px;
	transition: background-size var(--rf-mid) var(--rf-ease), color var(--rf-fast) var(--rf-ease);
	padding-bottom: 1px;
}
html body :is(.text, .editableBlock, .rfNote, .officeAddress__person, .rfLead__card, .addressCard, .uk-grid-margin > p, .reoReservation-gdpr, form) a:not(.button):not([class*="button"]):hover,
html body .flatCard .cardFoot a.button:hover > span,
html body .backLink a:hover > span,
html body.frontend-reounit .pageTopPanel .atr a:hover,
html body.frontend-reounit .pageTopPanel .catalogSheet__button:hover span,
html body.frontend-reounit .pageTopPanel .unitSave:hover span,
html body section.brokerOffer a.next-link:hover {
	background-size: 100% 1px;
}
/* „Všechny byty“ měl čáru napevno v pseudo-prvku — pryč, nahrazuje ji vysouvací čára výš */
html body .backLink a > span::after,
html body .backLink a > span::before { content: none !important; }
/* šipky u odkazů se při najetí posunou ve směru odkazu */
html body .flatCard .cardFoot a.button i.mdi, html body .backLink a .chevronBack { transition: translate var(--rf-fast) var(--rf-ease); }
html body .flatCard .cardFoot a.button:hover i.mdi { translate: 3px 0; }
html body .backLink a:hover .chevronBack { translate: -3px 0; }

/* 4) Karta bytu („productbox“): zvednutí, stín a podklad půdorysu plynule, bez skoku zaoblení */
html body .flatCard {
	transition: transform var(--rf-mid) var(--rf-ease), box-shadow var(--rf-mid) var(--rf-ease) !important;
	will-change: transform;
}
html body .flatCard .picture,
html body .flatCard .picture:hover,
html body .flatCard .picture:has(.picture__plan):hover {
	border-radius: 16px 16px 0 0 !important;
	transition: background-color var(--rf-mid) var(--rf-ease), opacity var(--rf-mid) var(--rf-ease), filter var(--rf-mid) var(--rf-ease) !important;
}
html body .flatCard .picture img { transition: transform .6s var(--rf-ease), opacity var(--rf-mid) var(--rf-ease); }
html body .flatCard:hover .picture img { transform: scale(1.025); }
html body .flatCard .title .icon button svg :is(path, line) { transition: stroke var(--rf-fast) var(--rf-ease), fill var(--rf-fast) var(--rf-ease); }

/* 5) Další místa, kde se hover měnil skokem */
html body .rfFloorLinks a,
html body .uk-light a,
html body .leaflet-bar a,
html body .cookie-consent .cc-toggle,
html body section.pageContent .container .text p a {
	transition: color var(--rf-fast) var(--rf-ease), background-color var(--rf-fast) var(--rf-ease), background-size var(--rf-mid) var(--rf-ease);
}
html body .submitPack picture.icon svg path { transition: stroke var(--rf-fast) var(--rf-ease); }

@media (prefers-reduced-motion: reduce) {
	html body .flatCard, html body .flatCard .picture img, :where(a, button, .button) { transition-duration: .01s !important; }
	html body .flatCard:hover .picture img { transform: none; }
}

/* ---------- GDPR (Zásady ochrany osobních údajů) — vzhled podle rezidenceveveri.cz/gdpr, 24. 11. 2026 ----------
   Prostý dokument: bez karty a barevného pásu, velký nadpis, tučné číslované oddíly, krátké řádky. */
body.frontend-processingpersonaldata section.pageTopPanel.pageTopPanel--plain { background: #fff !important; padding-bottom: 0 !important; }
body.frontend-processingpersonaldata section.pageTopPanel.pageTopPanel--plain .container { max-width: calc(80rem + 2 * var(--rf-gutter, 24px)); }
body.frontend-processingpersonaldata section.pageTopPanel.pageTopPanel--plain h1 { max-width: 16ch; line-height: 1.12; }
html body section.pageContent.pageContent--legal { padding: 2.4rem 0 9rem; }
html body section.pageContent.pageContent--legal .container { max-width: calc(80rem + 2 * var(--rf-gutter, 24px)); }
html body section.pageContent.pageContent--legal .container .text {
	padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; border-radius: 0 !important; max-width: none;
}
html body section.pageContent.pageContent--legal .container .text h2 {
	font-family: inherit !important; font-weight: 700 !important; font-size: 1.9rem !important; line-height: 1.4 !important; letter-spacing: 0; color: #1f241c; margin: 3.6rem 0 .8rem !important;
}
html body section.pageContent.pageContent--legal .container .text h2:first-child { margin-top: 0 !important; }
html body section.pageContent.pageContent--legal .container .text :is(p, li) { font-size: 1.7rem; line-height: 1.65; }
html body section.pageContent.pageContent--legal .container .text p { margin: 0 0 1rem; max-width: 72ch; }
html body section.pageContent.pageContent--legal .container .text ul { margin: .4rem 0 1.2rem; }
html body section.pageContent.pageContent--legal .container .text li { margin-bottom: .2rem; }

/* Formuláře (úvod „Domluvte si prohlídku“, Kontakty, poptávka na detailu bytu): věta o ochraně osobních údajů
   a „Ozveme se vám…“ stejně velké jako ostatní text (byly 13 px) — připomínka klienta 24. 11. 2026. */
html body :is(section.form, section.rfLead, section.brokerOffer) form .uk-grid > div > p,
html body :is(section.form, section.rfLead, section.brokerOffer) form .uk-grid > div > p a {
	font-size: 16px !important;
	line-height: 1.5 !important;
}
