/* Kalkulačka úspory – wizard vo vizuáli šablóny freyaled.
   Farby, písmo a zaoblenie berie z --bs-* premenných šablóny (svetlý aj tmavý režim [data-bs-theme=dark]),
   vlastná je len farba pôvodného stavu (oranžová z palety šablóny), tmavý text na zelenej (bublina úspory na mobile) a farby svetla.
   --fc-header nastavuje calculator.js (výška pevnej hlavičky šablóny). */

.fc {
	--fc-old: var(--bs-orange, #ff786b);
	--fc-surface: rgba(var(--bs-primary-rgb), .08);
	--fc-line: var(--bs-border-color-translucent);
	--fc-dark: #191b22;
	--fc-on-green: #1e3548;
	--fc-ease: cubic-bezier(.2, .7, .2, 1);
	--fc-header: 0px;
	--fc-gap: 3rem;
	/* najmenšie písmo kalkulačky: 14 px pri 15 px písme webu (spätná väzba 25. 10.: nič pod 14 px) */
	--fc-small: .9375rem;
	margin-bottom: 3rem;
}
/* Bootstrap zmenšuje small, .small, .form-text a malé tlačidlá na .875em, pri 15 px písme webu to je 13 px */
.fc small, .fc .small, .fc .form-text, .fc .btn-sm, .fc .badge { font-size: max(14px, .875em); }
.fc .btn { font-size: var(--fc-small); }
.fc-loading { min-height: 60vh; }

/* Šablóna dáva obsahu stránky col-lg-10; kalkulačka má celú šírku wrappera.
   overflow-x: hidden na .wrapper (a na mobile aj na #content) by vypol sticky časti, clip orezáva rovnako bez scroll kontajnera. */
.entry-content:has(> .fc) { flex: 0 0 100%; width: 100%; max-width: 100%; padding-top: 1rem !important; } /* py-lg-5 šablóny má !important */
.wrapper:has(.fc), #content.container:has(.fc) { overflow-x: clip; overflow-y: visible; } /* šablóna: #content.container do 575 px */

.fc-display {
	font-family: "freya-MonumentExtended", Poppins, system-ui, sans-serif;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -.01em;
}
.fc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: var(--fc-small);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bs-primary-text-emphasis);
}
.fc-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--bs-primary); box-shadow: 0 0 10px var(--bs-primary); }
.fc .badge.fc-badge-test { background: var(--bs-warning-bg-subtle); border-color: var(--bs-warning-border-subtle); color: var(--bs-warning-text-emphasis); text-transform: none; font-weight: 600; }
.fc .badge.fc-badge-estimate { background: var(--bs-primary-bg-subtle); border-color: transparent; color: var(--bs-primary-text-emphasis); text-transform: none; }

/* ---------- kroky: tichý riadok bez rámu (spätná väzba 1. 11.: wizard bol príliš nápadný) ---------- */

.fc-steps { margin-bottom: 1.5rem; }
.fc-steps ol { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.fc-steps li { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.fc-steps li:last-child { flex: none; }
/* spojnica medzi krokmi, za hotovým krokom farbou primary */
.fc-steps li:not(:last-child)::after { content: ""; flex: 1 1 1rem; min-width: .5rem; height: 1px; margin: 0 .25rem; background: var(--fc-line); }
.fc-steps li.is-done::after { background: rgba(var(--bs-primary-rgb), .5); }
.fc-step-tab {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-width: 0;
	padding: .3rem .6rem .3rem .3rem;
	border: 0;
	border-radius: var(--bs-border-radius-pill);
	background: transparent;
	color: var(--bs-secondary-color);
	font-size: var(--fc-small);
	font-weight: 500;
	text-align: left;
	transition: background-color .2s, color .2s;
}
.fc-step-tab:hover { color: var(--bs-body-color); background: var(--bs-tertiary-bg); }
.fc-step-tab-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-step-tab-num {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	border: 1px solid var(--fc-line);
	border-radius: 50%;
	color: var(--bs-secondary-color);
	font-size: var(--fc-small);
}
.fc-step-tab.is-done .fc-step-tab-num { border-color: transparent; color: var(--bs-primary-text-emphasis); }
.fc-step-tab[aria-current="step"] { color: var(--bs-body-color); font-weight: 600; }
.fc-step-tab[aria-current="step"] .fc-step-tab-num { border-color: var(--bs-primary); background: var(--bs-primary); color: var(--fc-on-green); }

/* ---------- rozloženie ---------- */

.fc-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 32%, 400px); gap: 2.5rem; align-items: start; }
.is-result .fc-layout { grid-template-columns: minmax(0, 1fr); }
.is-result .fc-aside { display: none; }
.fc-aside { align-self: stretch; }
.fc-aside-inner { position: sticky; top: calc(var(--fc-header) + 1.25rem); }
.fc-step:focus { outline: none; }

/* tlačidlá plávajú nad obsahom bez pásu pozadia, obsah za nimi je vidieť (spätná väzba 1. 11.) */
.fc-nav {
	position: sticky;
	bottom: 0;
	z-index: 15;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .5rem;
	margin-top: var(--fc-gap);
	padding: .9rem 0;
	pointer-events: none;
}
.fc-nav > * { pointer-events: auto; }
.fc-nav .btn { margin: 0; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); }
.fc-nav .btn-outline-secondary:not(:hover):not(:active) { background: var(--bs-body-bg); }
.is-result .fc-nav { position: static; padding-top: 1.25rem; border-top: 1px solid var(--fc-line); }
.is-result .fc-nav .btn { box-shadow: none; }

.fc-step-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.fc-step-title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin: 0 0 .4rem; line-height: 1.3; }
.fc-badge-icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: var(--bs-border-radius);
	background: var(--bs-primary-bg-subtle);
	color: var(--bs-primary-text-emphasis);
}
.fc-badge-icon--sm { width: 2.5rem; height: 2.5rem; font-size: 1.15rem; }

/* sekcie kroku: oddelené čiarou a väčšou medzerou */
.fc-section { margin-top: var(--fc-gap); padding: 2rem 0 0; border-top: 1px solid var(--fc-line); } /* šablóna dáva section vlastný padding */
.fc-step-head + .fc-section { margin-top: 0; padding-top: 0; border-top: 0; }
.fc-section-title { font-family: inherit; font-size: 1.1rem; font-weight: 600; margin: 0 0 1.25rem; }
.fc-section-title span { font-size: var(--fc-small); font-weight: 400; color: var(--bs-secondary-color); }
.fc-info { display: flex; gap: .6rem; padding: 1rem 1.1rem; border-radius: var(--bs-border-radius); background: var(--bs-tertiary-bg); color: var(--bs-body-color); }
.fc-info .bi { color: var(--bs-primary); }

.is-entering-forward { animation: fc-forward .45s var(--fc-ease); }
.is-entering-back { animation: fc-back .45s var(--fc-ease); }
@keyframes fc-forward { from { opacity: 0; transform: translateX(24px); } }
@keyframes fc-back { from { opacity: 0; transform: translateX(-24px); } }
.is-lit .fc-choice, .is-lit .fc-field, .is-lit .fc-kpi { animation: fc-up .5s var(--fc-ease) backwards; }
.is-lit .fc-type:nth-child(2) .fc-choice, .is-lit .fc-choice:nth-child(2), .is-lit .fc-field:nth-child(2), .is-lit .fc-kpi:nth-child(2) { animation-delay: .05s; }
.is-lit .fc-type:nth-child(3) .fc-choice, .is-lit .fc-choice:nth-child(3), .is-lit .fc-field:nth-child(3), .is-lit .fc-kpi:nth-child(3) { animation-delay: .1s; }
.is-lit .fc-type:nth-child(n+4) .fc-choice, .is-lit .fc-choice:nth-child(n+4) { animation-delay: .15s; }
@keyframes fc-up { from { opacity: 0; transform: translateY(8px); } }

/* ---------- voľby s ikonkami ---------- */

.fc-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; }
.fc-choices--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.fc-choices--compact { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: .5rem; }
.fc-choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: .75rem;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: .8rem .9rem;
	text-align: left;
	border: 1px solid var(--fc-line);
	border-radius: var(--bs-border-radius);
	background: var(--bs-body-bg);
	color: var(--bs-body-color);
	cursor: pointer;
	transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
.fc-choice:hover { border-color: var(--bs-primary); transform: translateY(-1px); }
.fc-choice:focus-visible, .fc-choice:has(input:focus-visible) { outline: 0; box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25); }
.fc-choice-icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 3rem;
	height: 3rem;
	border-radius: .75rem;
	background: var(--bs-tertiary-bg);
	color: var(--bs-secondary-color);
	transition: background-color .25s, color .25s, box-shadow .25s;
}
.fc-choice-icon svg { width: 32px; height: 32px; }
.fc-choice-text { display: flex; flex-direction: column; min-width: 0; }
.fc-choice-name { font-size: 1.0667rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; } /* 16 px */
.fc-choice-desc { font-size: var(--fc-small); color: var(--bs-secondary-color); line-height: 1.35; margin-top: .15rem; }
.fc-choice[aria-checked="true"], .fc-choice:has(input:checked) { border-color: var(--bs-primary); background: var(--fc-surface); }
.fc-choice[aria-checked="true"] .fc-choice-icon, .fc-choice:has(input:checked) .fc-choice-icon { background: var(--bs-primary); color: #fff; box-shadow: 0 0 16px rgba(var(--bs-primary-rgb), .55); }
.fc-choice--check { padding-right: 2.2rem; }
.fc-choice--check .form-check-input { position: absolute; top: .6rem; right: .6rem; margin: 0; }

/* prostredie: dlaždice 64 – 72 px s ikonou 32 px, názov na jeden riadok */
.fc-choices--compact .fc-choice { min-height: 68px; padding: .5rem .75rem; gap: .75rem; }
.fc-choices--compact .fc-choice-icon { width: 46px; height: 46px; border-radius: .6rem; }
.fc-choices--compact .fc-choice-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-choices--compact .fc-choice-desc { margin-top: 0; }

/* typy svietidiel: typ a príkon v plávajúcom okne nad mriežkou */
.fc-type { position: relative; }
.fc-types .fc-choice-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-popover {
	position: absolute;
	top: calc(100% + .4rem);
	left: 0;
	z-index: 30;
	width: max(100%, 330px);
	max-width: calc(100vw - 2rem);
	padding: .5rem;
	border: 1px solid rgba(var(--bs-primary-rgb), .6);
	border-radius: var(--bs-border-radius);
	background: var(--bs-body-bg);
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35);
	animation: fc-up .2s var(--fc-ease);
}
.fc-popover.is-right { left: auto; right: 0; }
.fc-popover-head { display: flex; justify-content: space-between; align-items: center; padding: .25rem .5rem .5rem; font-size: var(--fc-small); }
.fc-popover-head .btn-close { font-size: .65rem; }
.fc-popover-option {
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: flex-start;
	gap: .1rem;
	margin: 0;
	padding: .55rem .6rem;
	border: 1px solid transparent;
	border-radius: var(--bs-border-radius-sm);
	background: transparent;
	color: var(--bs-body-color);
	font-size: var(--fc-small);
	text-align: left;
}
.fc-popover-option small { color: var(--bs-secondary-color); font-weight: 400; }
.fc-popover-option:hover { background: var(--bs-tertiary-bg); }
.fc-popover-option[aria-checked="true"] { border-color: var(--bs-primary); background: var(--fc-surface); font-weight: 600; }
.fc-count { margin-top: 1.5rem; }

/* polia s posuvníkmi */
.fc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.25rem 1.75rem; }
.fc-options + .fc-fields { margin-top: 1.5rem; }
.fc-field-row { display: flex; align-items: center; gap: .75rem; }
.fc-field-row .form-range { flex: 1; min-width: 0; }
.fc-field .form-label { font-weight: 600; font-size: 1rem; margin-bottom: .35rem; }
.fc .fc-number { width: 8.25rem; flex: none; flex-wrap: nowrap; }
.fc-number .form-control { min-width: 0; padding-left: .5rem; padding-right: .5rem; text-align: right; font-weight: 600; }
.fc .fc-number .form-control, .fc .fc-number .input-group-text { font-size: 1rem; }
.fc-field-error { margin-top: .35rem; font-size: var(--fc-small); color: var(--bs-form-invalid-color, var(--bs-danger)); }
/* šablóna má sivú guľôčku, ktorú na sivej dráhe takmer nevidno */
.fc .form-range::-webkit-slider-runnable-track { background: var(--bs-secondary-bg); }
.fc .form-range::-moz-range-track { background: var(--bs-secondary-bg); }
.fc .form-range::-webkit-slider-thumb { width: 1.15rem; height: 1.15rem; margin-top: -.325rem; background: var(--bs-primary); box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .2); }
.fc .form-range::-moz-range-thumb { width: 1.15rem; height: 1.15rem; background: var(--bs-primary); box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .2); }
.fc .form-range::-webkit-slider-thumb:active { background: var(--bs-primary); box-shadow: 0 0 0 6px rgba(var(--bs-primary-rgb), .3); }
.fc .form-range::-moz-range-thumb:active { background: var(--bs-primary); box-shadow: 0 0 0 6px rgba(var(--bs-primary-rgb), .3); }
.fc-hint { font-size: var(--fc-small); color: var(--bs-secondary-color); margin: 1rem 0 0; }
.fc-hint .bi { color: var(--bs-primary); }
.fc .btn-xs { font-size: var(--fc-small); padding: .25rem .7rem; }

/* svetlo: luxy, kužeľ, farba */
.fc-lux { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 1.5rem; align-items: center; }
.fc-field-label { font-weight: 600; font-size: 1rem; margin: 0 0 .35rem; }
.fc-norms { display: flex; flex-wrap: wrap; margin: .5rem 0 0; }
.fc-norms .btn[aria-pressed="true"] { border-color: var(--bs-primary); color: var(--bs-primary-text-emphasis); background: var(--fc-surface); }
.fc-cone { width: 100%; height: auto; }
.fc-cone-beam { transition: opacity .5s ease; }
.fc-cone-beam path, .fc-cone-beam ellipse { transition: fill .4s; }
.fc-colors { display: flex; flex-wrap: wrap; gap: .5rem; }
.fc-color {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem 1rem;
	border: 1px solid var(--fc-line);
	border-radius: var(--bs-border-radius-pill);
	background: var(--bs-body-bg);
	color: var(--bs-body-color);
	font-weight: 600;
	font-size: 1rem;
	transition: border-color .2s, background-color .2s;
}
.fc-color span { font-weight: 400; color: var(--bs-secondary-color); }
.fc-color i { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }

/* prevádzka: výber a posuvník hodín vedľa seba, na mobile pod sebou */
.fc-operation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem; align-items: start; }
.fc .fc-operation .form-select { padding: .4rem 2.25rem .4rem .75rem; border-radius: var(--bs-border-radius); font-size: var(--fc-small); text-overflow: ellipsis; }

/* kompaktné voľby s popisom a údajom (cena elektriny) */
.fc-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.fc-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
	padding: .45rem .75rem;
	border: 1px solid var(--fc-line);
	border-radius: var(--bs-border-radius-sm);
	background: var(--bs-body-bg);
	color: var(--bs-body-color);
	line-height: 1.3;
	text-align: left;
	transition: border-color .2s, background-color .2s;
}
.fc-option b { font-size: 1rem; }
.fc-option span { font-size: var(--fc-small); color: var(--bs-secondary-color); }
.fc-color:hover, .fc-option:hover { border-color: var(--bs-primary); }
.fc-color[aria-checked="true"], .fc-option[aria-checked="true"] { border-color: var(--bs-primary); background: var(--fc-surface); }
.fc-options + .fc-field { margin-top: 1.25rem; max-width: 26rem; }

/* ---------- priebežný súhrn ----------
   Decentná karta ako ostatné plochy šablóny (pozadie stránky, jemný okraj); zelená je len v čísle úspory a pruhu LED. */

.fc-summary {
	display: grid;
	gap: 1rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--fc-line);
	border-radius: var(--bs-border-radius-lg);
	background: var(--bs-body-bg);
	color: var(--bs-body-color);
	box-shadow: 0 12px 32px -24px rgba(0, 0, 0, .35);
	font-size: 1rem; /* panel 15 px */
}
[data-bs-theme="dark"] .fc-summary { background: var(--bs-tertiary-bg); box-shadow: none; }
.fc-summary-head { display: flex; gap: .65rem; align-items: center; }
.fc-summary-head > div { display: flex; flex-direction: column; line-height: 1.25; }
.fc-summary .fc-eyebrow { color: var(--bs-secondary-color); }
.fc-summary-savings { display: flex; flex-direction: column; }
.fc-summary-savings > span { font-size: var(--fc-small); color: var(--bs-secondary-color); }
.fc-summary-savings b { font-size: 2rem; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--bs-primary); }
.fc-summary-savings small { font-size: var(--fc-small); color: var(--bs-secondary-color); }
.fc-summary-bars { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; align-items: center; gap: .35rem .5rem; font-size: var(--fc-small); }
.fc-summary-bars > span:nth-child(3n + 1) { color: var(--bs-secondary-color); }
.fc-summary-bars > span:nth-child(3n) { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.fc-summary .fc-bar { background: var(--bs-secondary-bg); }
[data-bs-theme="dark"] .fc-summary .fc-bar { background: var(--bs-body-bg); }
.fc-summary-facts { width: 100%; margin: 0; border-collapse: collapse; border-top: 1px solid var(--fc-line); }
.fc-summary-facts th, .fc-summary-facts td { padding: .4rem 0; border: 0; border-bottom: 1px solid var(--fc-line); background: none; text-align: left; vertical-align: top; }
.fc-summary-facts th { width: 40%; padding-right: 1rem; font-size: var(--fc-small); font-weight: 400; color: var(--bs-secondary-color); }
.fc-summary-facts td { font-weight: 600; font-variant-numeric: tabular-nums; }
.fc-summary-facts tr:last-child th, .fc-summary-facts tr:last-child td { border-bottom: 0; }
.fc-summary-cta { display: grid; gap: .6rem; padding-top: .85rem; border-top: 1px solid var(--fc-line); }
.fc-summary-cta p { margin: 0; font-size: 14px; line-height: 1.35; color: var(--bs-secondary-color); } /* najmenšie povolené písmo */
.fc-mobile-summary { display: none; }

.fc-bar { height: .6rem; border-radius: 1rem; background: var(--bs-tertiary-bg); overflow: hidden; }
.fc-bar-fill { height: 100%; width: 0; border-radius: inherit; transition: width .8s var(--fc-ease); }
.fc-bar-fill--old { background: var(--fc-old); }
.fc-bar-fill--led { background: linear-gradient(90deg, var(--bs-primary), #33ffaa); box-shadow: 0 0 10px rgba(var(--bs-primary-rgb), .5); }

/* súhrn na mobile a tablete: natívny modálny dialog v strede obrazovky, vždy celý viditeľný */
.fc-dialog {
	width: min(400px, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--bs-border-radius-lg);
	background: transparent;
	color: var(--bs-body-color);
	overflow: visible;
}
.fc-dialog::backdrop { background: rgba(10, 12, 16, .55); }
.fc-dialog[open] { animation: fc-up .25s var(--fc-ease); }
.fc-summary--dialog { position: relative; max-height: calc(100dvh - 2rem); overflow-y: auto; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5); }
.fc-summary--dialog .fc-summary-head { padding-right: 2rem; }
.fc-dialog-close { position: absolute; top: 1rem; right: 1rem; }
[data-bs-theme="dark"] .fc-dialog-close { filter: var(--bs-btn-close-white-filter, invert(1) grayscale(100%) brightness(200%)); }

/* ---------- výsledok ---------- */

.fc-result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.fc-result-head .btn { margin: 0; }
.fc-kpis { display: grid; grid-auto-flow: column; grid-template-columns: 1.4fr; grid-auto-columns: minmax(0, 1fr); gap: 1rem; }
.fc-kpi { padding: 1.25rem; border: 1px solid var(--fc-line); border-radius: var(--bs-border-radius); }
.fc-kpi--main { background: radial-gradient(130% 160% at 100% 0%, rgba(var(--bs-primary-rgb), .35), transparent 60%), var(--fc-dark); border-color: transparent; color: #fff; }
.fc-kpi-label { font-size: var(--fc-small); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bs-secondary-color); }
.fc-kpi--main .fc-kpi-label { color: var(--bs-primary); }
.fc-kpi-value { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 700; line-height: 1.15; margin: .35rem 0; font-variant-numeric: tabular-nums; }
.fc-kpi--main .fc-kpi-value { text-shadow: 0 0 24px rgba(var(--bs-primary-rgb), .7); }
.fc-kpi-value small { font-size: max(14px, .45em); font-weight: 600; margin-left: .25rem; color: var(--bs-secondary-color); }
.fc-kpi-detail { font-size: var(--fc-small); color: var(--bs-secondary-color); }
.fc-kpi-detail a { color: inherit; }
.fc-kpi--main .fc-kpi-detail { color: rgba(255, 255, 255, .7); }
.fc-estimate-note { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 0; padding: 1rem 1.25rem; border: 1px dashed rgba(var(--bs-primary-rgb), .6); border-radius: var(--bs-border-radius); background: var(--fc-surface); }
.fc-estimate-note p { flex: 1; }
.fc-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; margin-top: var(--fc-gap); }
.fc .card.fc-box { padding: 1.5rem; height: 100%; border: 1px solid var(--fc-line); border-radius: var(--bs-border-radius-lg); box-shadow: none; } /* šablóna dáva kartám zelený okraj */
.fc-box-title { font-family: inherit; font-size: 1.4rem; font-weight: 600; margin: 0 0 .3rem; }
.fc-box-lead { font-size: var(--fc-small); color: var(--bs-secondary-color); margin: 0 0 1rem; }

/* izometrická scéna (scene.js): vždy nočná, aj vo svetlom režime (svietidlá svietia v tme, spätná väzba 1. 11.) */
.fc-scene-wrap { margin: 0 0 1.25rem; }
.fc-scene-wrap figcaption { margin-top: .5rem; font-size: var(--fc-small); color: var(--bs-secondary-color); text-align: center; }
.fc-scene {
	--fc-ink: #dee2e6;
	--fc-paper: #1c1f27;
	--fc-beam: var(--fc-light);
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--bs-border-radius);
	background: radial-gradient(120% 90% at 50% 0%, #262a36, var(--fc-dark));
}
.fc-scene-stop { stop-color: var(--fc-beam); }
.fc-scene-floor { fill: color-mix(in srgb, var(--fc-ink) 13%, var(--fc-paper)); }
.fc-scene-grid polyline { stroke: color-mix(in srgb, var(--fc-ink) 7%, transparent); fill: none; }
.fc-scene-wall-a { fill: color-mix(in srgb, var(--fc-ink) 19%, var(--fc-paper)); }
.fc-scene-wall-b { fill: color-mix(in srgb, var(--fc-ink) 23%, var(--fc-paper)); }
.fc-scene-window, .fc-scene-door { fill: color-mix(in srgb, var(--fc-ink) 9%, var(--fc-paper)); }
.fc-scene-board { fill: color-mix(in srgb, var(--bs-success, #198754) 45%, var(--fc-dark)); }
.fc-scene-ground { fill: color-mix(in srgb, var(--fc-ink) 12%, var(--fc-paper)); }
.fc-scene-asphalt { fill: color-mix(in srgb, var(--fc-ink) 20%, var(--fc-paper)); }
.fc-scene-grass { fill: color-mix(in srgb, var(--bs-success, #198754) 22%, var(--fc-paper)); }
.fc-scene-lines * { fill: none; stroke: color-mix(in srgb, var(--fc-ink) 30%, transparent); stroke-width: 1.5; }
.fc-scene-top { fill: color-mix(in srgb, var(--fc-ink) 26%, var(--fc-paper)); }
.fc-scene-front { fill: color-mix(in srgb, var(--fc-ink) 18%, var(--fc-paper)); }
.fc-scene-side { fill: color-mix(in srgb, var(--fc-ink) 13%, var(--fc-paper)); }
.fc-scene-partition .fc-scene-top { fill: color-mix(in srgb, var(--fc-ink) 55%, var(--fc-paper)); }
.fc-scene-partition .fc-scene-front { fill: color-mix(in srgb, var(--fc-ink) 34%, var(--fc-paper)); }
.fc-scene-partition .fc-scene-side { fill: color-mix(in srgb, var(--fc-ink) 28%, var(--fc-paper)); }
.fc-scene-rack .fc-scene-front { fill: color-mix(in srgb, var(--bs-orange, #ff786b) 22%, color-mix(in srgb, var(--fc-ink) 18%, var(--fc-paper))); }
.fc-scene-beam.fc-scene-beam--board { fill: url(#fc-sbb); }
.fc-scene-car .fc-scene-top { fill: color-mix(in srgb, var(--bs-primary) 40%, var(--fc-paper)); }
.fc-scene-goal * { fill: color-mix(in srgb, var(--fc-ink) 70%, transparent); }
.fc-scene-billboard { fill: color-mix(in srgb, var(--fc-ink) 16%, var(--fc-paper)); }
.fc-scene-pools, .fc-scene-beams { mix-blend-mode: screen; }
.fc-scene-pool { fill: url(#fc-sp); animation: fc-fade .9s ease backwards; animation-delay: calc(min(var(--i), 40) * 45ms + .3s); }
.fc-scene-beam { fill: url(#fc-sb); animation: fc-fade .9s ease backwards; animation-delay: calc(min(var(--i), 40) * 45ms + .3s); }
.fc-scene-lum ellipse { fill: var(--fc-light); filter: drop-shadow(0 0 4px var(--fc-light)); animation: fc-lum .5s ease backwards; animation-delay: calc(min(var(--i), 40) * 45ms + .2s); }
.fc-scene-pole { stroke: color-mix(in srgb, var(--fc-ink) 40%, transparent); stroke-width: 1.2; fill: none; }
.fc-scene-arm { stroke: color-mix(in srgb, var(--fc-ink) 55%, transparent); stroke-width: 3; }
@keyframes fc-lum { from { fill: color-mix(in srgb, var(--fc-ink) 30%, var(--fc-paper)); } }
.fc-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: 0 0 1rem; font-size: 1rem; }
.fc-dl dt { font-weight: 400; color: var(--bs-secondary-color); }
.fc-dl dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes fc-fade { from { opacity: 0; } }
.fc-columns { display: grid; gap: 1rem; margin-top: 1rem; }
.fc-columns-label { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fc-small); margin-bottom: .35rem; }
.fc-columns-label span { color: var(--bs-secondary-color); min-width: 0; }
.fc-columns-label b { white-space: nowrap; }
.fc-columns .fc-bar { height: 1rem; }
.fc-chart { width: 100%; height: auto; margin-top: .5rem; }
.fc-chart text { font-size: 14px; fill: var(--bs-secondary-color); font-family: inherit; }
.fc-chart-grid { stroke: var(--fc-line); }
.fc-chart-area { fill: var(--bs-primary); opacity: .12; animation: fc-fade 1s ease .4s backwards; }
.fc-chart-line { fill: none; stroke: var(--bs-primary); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; animation: fc-draw 1.2s var(--fc-ease) .2s backwards; }
.fc-chart-dot { fill: var(--bs-primary); stroke: var(--bs-body-bg); stroke-width: 2; animation: fc-fade .3s ease 1.3s backwards; }
.fc .fc-chart-label { fill: var(--bs-body-color); font-weight: 600; animation: fc-fade .3s ease 1.3s backwards; }
@keyframes fc-draw { from { stroke-dashoffset: 1; } }

.fc-result-head + .fc-kpis, .fc-result-head + .fc-info { margin-top: 0; }
.fc-picks { display: grid; gap: 2rem; }
.fc-picks--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 1.5rem; align-items: start; }
.fc-picks-col > .fc-section-title { margin-bottom: 1rem; }

/* Karta produktu ako v šablóne (freyaled-wp-theme PR #2, _product-card.scss, rozloženie horizontal).
   Kým šablóna kartu nemá na webe, štýly sú tu; triedy sú rovnaké, takže po nasadení šablóny vyzerajú karty rovnako. */
.fc-products, .fc-cases { display: grid; gap: .75rem; }
/* bez podobnej realizácie nejde karta na celú šírku: karty vedľa seba */
.fc-picks:not(.fc-picks--two) .fc-products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.fc .product-card__inner {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	overflow: hidden;
	background: var(--bs-body-bg);
	border: 1px solid var(--bs-border-color-translucent);
	border-radius: var(--bs-border-radius);
	transition: border-color .3s ease, transform .3s ease;
}
.fc .product-card__inner:hover, .fc .product-card__inner:focus-within { border-color: var(--bs-primary); transform: translateY(-2px); }
.fc .product-card__media {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	align-self: stretch;
	width: 4.5rem;
	min-height: 4.5rem;
	background: #fff; /* fotky produktov majú biele pozadie */
	border-right: 1px solid var(--bs-border-color-translucent);
	overflow: hidden;
}
.fc .product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: .375rem; }
.fc .fc-case .product-card__media { background: var(--bs-tertiary-bg); color: var(--bs-secondary-color); }
.fc .fc-case .product-card__media img { object-fit: cover; padding: 0; }
.fc .product-card__placeholder { font-size: 1.75rem; color: var(--bs-gray-400); }
.fc .product-card__body { display: flex; flex-direction: column; justify-content: center; flex: 1; gap: .2rem; min-width: 0; padding: .5rem .75rem .5rem 1rem; }
.fc .product-card__title { margin: 0; font-family: Poppins, system-ui, sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.fc .product-card__title a { color: var(--bs-body-color); text-decoration: none; }
.fc .product-card__inner:hover .product-card__title a, .fc .product-card__title a:focus-visible { color: var(--bs-primary-text-emphasis); }
.fc .product-card__meta { margin: 0; font-size: var(--fc-small); color: var(--bs-secondary-color); }
.fc .product-card__arrow { flex: none; margin-right: 1rem; color: var(--bs-secondary-color); font-size: 1rem; line-height: 1; transition: color .3s ease, transform .3s ease; }
.fc .product-card__inner:hover .product-card__arrow, .fc .product-card__inner:focus-within .product-card__arrow { color: var(--bs-primary-text-emphasis); transform: translateX(3px); }
[data-bs-theme="dark"] .fc .product-card__media { border-color: transparent; }

/* „Ako sme počítali“: tlačidlo pri sume a popover v hornej vrstve (umiestni ho calculator.js) */
.fc-how-button { display: inline-flex; align-items: center; gap: .35rem; margin: .6rem 0 0; padding: 0; border: 0; background: none; color: inherit; font-size: var(--fc-small); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fc-kpi--main .fc-how-button { color: #fff; }
.fc-how-button .bi { color: var(--bs-primary); text-decoration: none; }
.fc-how-button:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 3px; border-radius: 2px; }
.fc-info .fc-how-button { margin: 0 0 0 .25rem; }
.fc-how { margin: 1rem 0 0; padding: 1.1rem 1.25rem; border-radius: var(--bs-border-radius-lg); background: var(--bs-tertiary-bg); font-size: var(--fc-small); line-height: 1.5; animation: fc-fade .3s ease; }
.fc-how-title { font-family: inherit; font-size: 1rem; font-weight: 600; margin: 0 0 .5rem; }
.fc-how ul { margin: 0; padding-left: 1.1rem; color: var(--bs-secondary-color); }
.fc-how li + li { margin-top: .35rem; }

/* ---------- výzva na dopyt ---------- */

.fc-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "top form" "direct form";
	grid-template-rows: auto 1fr;
	gap: 1.5rem clamp(2.5rem, 1rem + 4vw, 5rem);
	margin-top: var(--fc-gap);
	padding: clamp(1.75rem, 1rem + 3vw, 3.75rem);
	border-radius: var(--bs-border-radius-lg);
	background: radial-gradient(90% 120% at 0% 0%, rgba(var(--bs-primary-rgb), .3), transparent 55%), var(--fc-dark);
	color: rgba(255, 255, 255, .8);
	overflow: hidden;
	scroll-margin-top: calc(var(--fc-header) + 1rem);
}
[data-bs-theme="dark"] .fc-cta, [data-bs-theme="dark"] .fc-kpi--main { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.fc-cta-top { grid-area: top; position: relative; }
.fc-cta-form { grid-area: form; position: relative; align-self: start; padding-left: clamp(0rem, -1rem + 3vw, 2.5rem); border-left: 1px solid rgba(255, 255, 255, .1); }
.fc-cta .fc-eyebrow { color: var(--bs-primary); }
.fc-cta .fc-display { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); margin: 1rem 0 1.25rem; }
.fc-cta-hook { font-size: 1.0667rem; line-height: 1.6; margin-bottom: 2rem; }
.fc-cta-hook b { color: #fff; white-space: nowrap; }
/* čo technik spresní: motivácia nechať kontakt namiesto ďalšieho vypĺňania */
.fc-cta-refine-title { font-size: var(--fc-small); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin: 0 0 .85rem; }
.fc-cta-refine { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.fc-cta-refine li { display: flex; align-items: center; gap: .85rem; line-height: 1.45; }
.fc-cta-refine .bi { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(var(--bs-primary-rgb), .15); color: var(--bs-primary); }
.fc-cta-refine b { color: #fff; font-weight: 600; }
.fc-cta-direct { grid-area: direct; align-self: end; position: relative; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: var(--fc-small); margin: 0; }
.fc-cta-direct-name { font-weight: 600; }
.fc-cta-direct a { color: #fff; }
.fc-cta-beam { position: absolute; top: -40%; width: 140px; height: 160%; background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), .35), transparent 70%); filter: blur(24px); transform: rotate(18deg); pointer-events: none; animation: fc-beam 6s ease-in-out infinite alternate; }
.fc-cta-beam--1 { right: 30%; }
.fc-cta-beam--2 { right: 5%; animation-delay: -3s; opacity: .6; }
@keyframes fc-beam { from { transform: rotate(14deg) translateX(-10px); } to { transform: rotate(22deg) translateX(10px); } }

/* formulár priamo na tmavej výzve, bez vlastného pozadia */
.fc-form, .fc-thanks { color: rgba(255, 255, 255, .8); }
.fc-form-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.fc-form-title { color: #fff; font-size: 1.15rem; }
.fc-form-field { margin-bottom: 1rem; }
.fc-form-field .form-label { font-size: var(--fc-small); font-weight: 600; margin-bottom: .25rem; color: #fff; }
.fc-form-input { position: relative; }
.fc-form-input > .bi { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--bs-secondary-color); pointer-events: none; z-index: 1; }
.fc-form-input .form-control { padding-left: 2.5rem; }
.fc-form .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.fc-form .form-control:focus { background: rgba(255, 255, 255, .12); border-color: var(--bs-primary); color: #fff; }
.fc-form .form-control.is-invalid { border-color: #ff9b8f; }
.fc-form .fc-form-input > .bi { color: rgba(255, 255, 255, .55); }
.fc-form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
.fc-form-error { color: #ff9b8f; font-size: var(--fc-small); margin: -.4rem 0 .6rem; }
.fc-form-more { display: inline-flex; align-items: center; gap: .4rem; margin: -.25rem 0 1rem; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font-size: var(--fc-small); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(255, 255, 255, .35); }
.fc-form-more:hover { color: #fff; text-decoration-color: currentColor; }
.fc-form-more .bi { color: var(--bs-primary); }
.fc-form-micro { font-size: var(--fc-small); text-align: center; white-space: nowrap; margin: .85rem 0 0; color: rgba(255, 255, 255, .65); }
@media (max-width: 359.98px) { .fc-form-micro { white-space: normal; } }
.fc-form-micro .bi { color: var(--bs-primary); }
.fc-form .btn-lg { font-size: 1rem; white-space: normal; margin-top: .25rem !important; }
.fc-attachments-list { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .35rem; font-size: var(--fc-small); }
.fc-attachments-list li { display: flex; align-items: center; gap: .5rem; padding: .35rem .5rem .35rem .75rem; border-radius: var(--bs-border-radius-sm); background: rgba(255, 255, 255, .08); }
.fc-attachments-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-attachments-list small { opacity: .7; white-space: nowrap; }
.fc-attachments-list .btn-close { font-size: .6rem; }
.fc-attachments-add { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .6rem .85rem; border: 1px dashed rgba(255, 255, 255, .35); border-radius: var(--bs-border-radius); font-size: var(--fc-small); cursor: pointer; transition: border-color .2s, background-color .2s; }
.fc-attachments-add:hover, .fc-attachments-add:focus-within { border-color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .1); }
.fc-attachments-add.is-invalid { border-color: #ff9b8f; }
.fc-attachments-add .bi { color: var(--bs-primary); font-size: 1.1rem; }
.fc-attachments-add b { color: #fff; }
.fc-attachments-add span span { display: block; font-size: var(--fc-small); opacity: .75; }
.fc-form a { color: #fff; }
.fc-consent { font-size: var(--fc-small); margin: .25rem 0 1.25rem; }
.fc-consent .form-check-input { background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.fc-consent .form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.fc-consent .form-check-input.is-invalid { border-color: #ff9b8f; }
.fc-consent .form-check-label { color: rgba(255, 255, 255, .85); }
.fc-consent .fc-form-error { margin: .25rem 0 0; }
.fc-send-error { font-size: var(--fc-small); }
.fc-send-error a { color: inherit; }
.fc-thanks { text-align: center; }
.fc-thanks h4 { color: #fff; }
.fc-thanks h4:focus { outline: none; }
.fc-test-note { text-align: left; font-size: var(--fc-small); }
.fc-ok { width: 4.5rem; height: 4.5rem; margin: .5rem auto 1rem; display: block; }
.fc-ok circle { fill: rgba(var(--bs-primary-rgb), .15); stroke: var(--bs-primary); stroke-width: 3; }
.fc-ok path { fill: none; stroke: var(--bs-primary); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: fc-draw .6s var(--fc-ease) .2s backwards; }

/* plávajúce tlačidlo na výsledku */
.fc-floating {
	position: fixed;
	z-index: 1030;
	left: 50%;
	bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .5rem .5rem .5rem 1.25rem;
	border-radius: var(--bs-border-radius-pill);
	background: var(--fc-dark);
	color: #fff;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .1);
	transform: translate(-50%, 150%);
	opacity: 0;
	transition: transform .4s var(--fc-ease), opacity .3s;
	white-space: nowrap;
	font-size: 1rem;
}
.fc-floating.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- tablet a mobil ---------- */

@media (max-width: 991.98px) {
	.fc { --fc-gap: 2.25rem; }
	.fc-layout { grid-template-columns: minmax(0, 1fr); }
	.fc-aside { display: none; }
	.fc-cta { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "form" "direct"; grid-template-rows: none; row-gap: 2rem; }
	.fc-cta-form { padding: 2rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
	/* Súhrn s úsporou lepí nad spodnou navigáciou, ale je v toku stránky: na konci kroku zaberie vlastný riadok
	   a nezakryje posledné voľby (spätná väzba 25. 10.). Rozbalený súhrn sa otvára nad ním. */
	.fc-mobile-summary {
		position: sticky;
		z-index: 16;
		bottom: calc(var(--fc-nav-h, 4.5rem) + .5rem);
		display: flex;
		justify-content: flex-end;
		margin-top: var(--fc-gap);
		pointer-events: none;
	}
	.fc-mobile-summary > * { pointer-events: auto; }
	.fc-mobile-summary:not(:empty) + .fc-nav { margin-top: .5rem; }
	.fc-mobile-summary:empty { display: none; }
	.fc-pill {
		display: inline-flex;
		align-items: baseline;
		gap: .35rem;
		padding: .55rem 1rem;
		border: 0;
		border-radius: var(--bs-border-radius-pill);
		background: var(--bs-primary);
		color: var(--fc-on-green);
		font-size: var(--fc-small);
		box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
	}
	.fc-pill b { font-size: 1rem; }
	.fc-pill .bi { align-self: center; }
}
@media (max-width: 767.98px) {
	.fc-step-tab { padding-right: .3rem; }
	.fc-step-tab[aria-current="step"] { padding-right: .6rem; }
	.fc-step-tab:not([aria-current="step"]) .fc-step-tab-name { display: none; }
	.fc-kpis { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
	.fc-kpi--main { grid-column: 1 / -1; }
	.fc-lux { grid-template-columns: minmax(0, 1fr); }
	.fc-lux > [data-slot="cone"] { max-width: 220px; margin: 0 auto; order: -1; }
	.fc-estimate-note { flex-wrap: wrap; }
	.fc-choices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
	.fc-choices--wide, .fc-choices--compact { grid-template-columns: minmax(0, 1fr); }
	.fc-choice { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .75rem; }
	.fc-choices--wide .fc-choice, .fc-choices--compact .fc-choice { flex-direction: row; align-items: center; }
	.fc-choice--check { padding-right: 2.2rem; }
	.fc-picks--two { grid-template-columns: minmax(0, 1fr); }
	.fc-form-pair { grid-template-columns: minmax(0, 1fr); }
	.fc-nav .btn { flex: 1; white-space: nowrap; }
	.fc-result-head .btn { width: 100%; margin-bottom: 1rem; }
	.fc-popover { width: calc(200% + .5rem); }
}
@media (max-width: 575.98px) {
	.fc-operation { grid-template-columns: minmax(0, 1fr); }
	.fc-cta { padding: 1.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	.fc *, .fc *::before, .fc *::after { animation: none !important; transition: none !important; }
}
