/*
 * COMPLEXX FitScore 2.0: jelvény, popup, szűrő, méretprofil-varázsló.
 * Márkaszínek: olíva #6B6E48 (hover #565939), barna #4C2E1E, terrakotta #C56A52 (csak apró kiemelés),
 * semleges #F5F4F1 / #FAF9F7. Betűtípus: a téma (Rouna címek, DM Sans szöveg), itt csak hivatkozunk.
 * Kontraszt: minden szövegszín/háttér pár legalább 4,5:1 (WCAG AA).
 */
:root {
	--cxfit-olive: #6b6e48;
	--cxfit-olive-dark: #565939;
	--cxfit-brown: #4c2e1e;
	--cxfit-terra: #c56a52;
	--cxfit-bg: #f5f4f1;
	--cxfit-bg-2: #faf9f7;
	--cxfit-line: #d9d6cd;
	--cxfit-text: #2f2a25;
	--cxfit-muted: #5b564e;
	--cxfit-font: "DM Sans", inherit;
}

/* ---------- Jelvény ---------- */
.cxfit-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 6px 4px 10px;
	border-radius: 999px;
	font-family: var(--cxfit-font);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
	box-shadow: 0 1px 4px rgba(76, 46, 30, .18);
	border: 1px solid transparent;
}
.cxfit-ico { flex: 0 0 auto; }
.cxfit-badge-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--cxfit-brown);
	font-weight: 700;
	font-size: 12.5px;
}
.cxfit-badge-est {
	font-size: 11.5px;
	font-weight: 600;
	font-style: italic;
	opacity: .95;
}

/* Sávok: háttér/szöveg párok (kontraszt >= 4,5:1) */
.cxfit-band-great { background: #6b6e48; color: #ffffff; }          /* 5,3:1 */
.cxfit-band-good  { background: #e7e8d9; color: #3b3d27; border-color: #c4c7a4; } /* 8,8:1 */
.cxfit-band-risky { background: #f2ddd5; color: #4c2e1e; border-color: #c56a52; } /* 9,7:1 */
.cxfit-band-poor  { background: #8f3b2a; color: #ffffff; }          /* 7,4:1 */
.cxfit-band-none  { background: #e9e8e4; color: #34332f; border-color: #c9c7c0; } /* 9:1 */
.cxfit-band-cta   { background: #ffffff; color: #4c2e1e; border-color: #6b6e48; }
.cxfit-band-cta:hover, .cxfit-band-cta:focus-visible { background: #6b6e48; color: #ffffff; }
.cxfit-band-cta .cxfit-badge-label { text-decoration: underline; text-underline-offset: 2px; }
.cxfit-badge.is-estimated { border-style: dashed; border-color: currentColor; }

/* Termékkártya: a kép bal alsó részén, a Rey-féle pirula (óra ikon + szám, bal alul) FÖLÖTT, hogy ne ütközzön vele */
li.product, ul.products li.product, .rey-productThumbnail { position: relative; }
.cxfit-badge.is-loop {
	position: absolute;
	top: auto;
	right: auto;
	bottom: 52px;
	left: 10px;
	z-index: 6;
	max-width: calc(100% - 20px);
	box-sizing: border-box;
	overflow: visible;
	padding: 4px 8px 4px 10px;
	gap: 5px;
}
/* Pontszámos jelvény kártyán kompakt: ikon + pontszám; a felirat és a magyarázat a jelvényre kattintva nyílik (képernyőolvasónak megmarad) */
.cxfit-badge.is-loop:not(.cxfit-band-cta) .cxfit-badge-label,
.cxfit-badge.is-loop:not(.cxfit-band-cta) .cxfit-badge-est {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cxfit-badge.is-loop .cxfit-info { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 999px; background: transparent; }
.cxfit-badge.is-loop .cxfit-info > span { display: none; }
.cxfit-badge.is-loop .cxfit-info::after { inset: -6px; }
.cxfit-badge.is-loop.is-estimated .cxfit-badge-score::before { content: "~"; margin-right: 1px; }
.cxfit-badge.is-loop.cxfit-band-none { display: none; }

/*
 * "Méretem" belépő a kártyán (nincs pontszám): olvasható, kompakt jelvény látható felirattal.
 * Korábban (2.2.0) a kártya-szabály minden jelvény feliratát kivágta (1x1 px), a belépőnek pedig nincs pontszáma,
 * így csak a 16 px-es ikon maradt egy üres, a téma link-stílusától (szürke háttér, kerek sarok) elszürkített körben.
 * Az "a.cxfit-badge" + ancestor-specificitás a téma `.rey-productThumbnail a` / `ul.products li a` szabályai ellen is tart.
 */
html body a.cxfit-badge.cxfit-band-cta.is-loop {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 30px;
	padding: 4px 12px 4px 9px;
	margin: 0;
	border: 1px solid #6b6e48;
	border-radius: 999px;
	background: #ffffff;
	color: #4c2e1e;
	font: 600 12.5px/1.2 var(--cxfit-font);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	opacity: 1;
	box-shadow: 0 1px 4px rgba(76, 46, 30, .18);
}
html body a.cxfit-badge.cxfit-band-cta.is-loop .cxfit-ico { display: block; width: 16px; height: 16px; flex: 0 0 16px; color: #6b6e48; }
html body a.cxfit-badge.cxfit-band-cta.is-loop .cxfit-badge-label {
	position: static; display: inline; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto;
	color: inherit; font: inherit; text-decoration: none; white-space: nowrap; border: 0;
}
html body a.cxfit-badge.cxfit-band-cta.is-loop:hover,
html body a.cxfit-badge.cxfit-band-cta.is-loop:focus-visible {
	background: #6b6e48; border-color: #6b6e48; color: #ffffff; text-decoration: none;
}
html body a.cxfit-badge.cxfit-band-cta.is-loop:hover .cxfit-ico,
html body a.cxfit-badge.cxfit-band-cta.is-loop:focus-visible .cxfit-ico { color: #ffffff; }
@media (max-width: 480px) {
	.cxfit-badge.is-loop { bottom: 48px; left: 8px; }
	html body a.cxfit-badge.cxfit-band-cta.is-loop { min-height: 28px; padding: 3px 10px 3px 8px; font-size: 12px; }
}

/* Termékoldal: a cím fölött egy sorban */
.cxfit-badge-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}
.cxfit-badge.is-single { min-height: 36px; font-size: 13.5px; }
.cxfit-single-note { margin: -4px 0 14px; font-size: 13px; color: var(--cxfit-muted); }
.cxfit-single-note a { color: var(--cxfit-olive-dark); text-decoration: underline; }

/* "i" gomb: 44x44 px érintési felület, látszólag kisebb */
.cxfit-info {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	margin: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	color: inherit;
	font: 700 12px/1 Georgia, serif;
	cursor: pointer;
}
.cxfit-info::after { content: ""; position: absolute; inset: -11px; }
.cxfit-band-good .cxfit-info, .cxfit-band-risky .cxfit-info, .cxfit-band-none .cxfit-info { background: rgba(255, 255, 255, .6); }
.cxfit-info:focus-visible, .cxfit-band-cta:focus-visible {
	outline: 3px solid #c56a52;
	outline-offset: 2px;
}

/* Állapot- és megtakarítás-jelvény a termékoldalon (ugyanaz a stílusrendszer) */
.cxfit-cond-badge, .cxfit-save-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 4px 6px 4px 12px;
	border-radius: 999px;
	font-family: var(--cxfit-font);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.cxfit-cond-badge { background: #ffffff; color: #4c2e1e; border: 1px solid var(--cxfit-line); }
.cxfit-cond-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cxfit-cond-c, #6b6e48); flex: 0 0 auto; }
.cxfit-save-badge { background: #4c2e1e; color: #ffffff; }
.cxfit-save-badge .cxfit-info { background: rgba(255, 255, 255, .2); }

/* ---------- Magyarázó popup ---------- */
.cxfit-pop {
	position: fixed;
	z-index: 100000;
	width: 320px;
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 24px);
	overflow: auto;
	padding: 16px 18px 14px;
	background: #ffffff;
	color: var(--cxfit-text);
	border: 1px solid var(--cxfit-line);
	border-radius: 12px;
	box-shadow: 0 12px 36px rgba(76, 46, 30, .22);
	font-family: var(--cxfit-font);
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
}
.cxfit-pop[hidden] { display: none; }
.cxfit-pop:focus { outline: none; }
.cxfit-pop-title { margin: 0 28px 6px 0; font-size: 16px; font-weight: 700; color: var(--cxfit-brown); }
.cxfit-pop-summary { margin: 0 0 10px; font-weight: 600; }
.cxfit-pop-list { margin: 0 0 10px; padding: 0 0 0 18px; }
.cxfit-pop-list li { margin: 0 0 4px; }
.cxfit-pop-body { margin: 0 0 10px; color: var(--cxfit-muted); font-size: 13px; }
.cxfit-pop-link { color: var(--cxfit-olive-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cxfit-pop-close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--cxfit-brown);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.cxfit-pop-close:hover { background: var(--cxfit-bg); }
.cxfit-pop-close:focus-visible, .cxfit-pop-link:focus-visible { outline: 3px solid #c56a52; outline-offset: 2px; }

/* ---------- Szűrő ---------- */
.cxfit-filter-bar { margin: 0 0 18px; }
.cxfit-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 16px 6px 10px;
	border-radius: 999px;
	background: var(--cxfit-bg-2);
	border: 1px solid var(--cxfit-line);
	color: var(--cxfit-brown);
	font-family: var(--cxfit-font);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.cxfit-filter-toggle:hover { border-color: var(--cxfit-olive); }
.cxfit-filter-toggle:focus-visible { outline: 3px solid #c56a52; outline-offset: 2px; }
.cxfit-filter-track { position: relative; width: 40px; height: 22px; border-radius: 20px; background: #8b8a82; flex: 0 0 auto; }
.cxfit-filter-knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.cxfit-filter-toggle.is-on .cxfit-filter-track { background: var(--cxfit-olive); }
.cxfit-filter-toggle.is-on .cxfit-filter-knob { transform: translateX(18px); }
.cxfit-filter-note { margin: 6px 0 0; font-size: 12.5px; color: var(--cxfit-muted); }
.cxfit-cond-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.cxfit-cond-filter-btn {
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--cxfit-line);
	background: var(--cxfit-bg-2);
	color: var(--cxfit-brown);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.cxfit-cond-filter-btn.is-active { background: var(--cxfit-olive); border-color: var(--cxfit-olive); color: #fff; }

/* ---------- Feed ---------- */
.cxfit-feed-note { margin: 0 0 14px; font-size: 14px; color: var(--cxfit-muted); }
.cxfit-feed-note a { color: var(--cxfit-olive-dark); font-weight: 600; text-decoration: underline; }

/* ---------- Méretprofil-kérdéssor ([cxfit_wizard], Fiókom / Méretem) ---------- */
.cxfit-wizard {
	max-width: 520px;
	margin: 0 0 24px;
	padding: 20px 16px 24px;
	background: var(--cxfit-bg-2);
	border: 1px solid var(--cxfit-line);
	border-radius: 16px;
	font-family: var(--cxfit-font);
	color: var(--cxfit-text);
	position: relative;
	box-sizing: border-box;
}
.cxfit-wizard *, .cxfit-wizard *::before, .cxfit-wizard *::after { box-sizing: border-box; }
.cxfit-wizard [hidden] { display: none !important; }

/* Címek: a téma nagybetűs/keretes stílusa ellen nullázva */
.cxfit-wizard .cxfit-q {
	margin: 0 0 6px;
	padding: 0;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cxfit-brown);
	background: none;
	border: 0;
}
.cxfit-wizard .cxfit-q:focus { outline: none; }
.cxfit-wizard .cxfit-q:focus-visible { outline: 3px solid var(--cxfit-olive-dark); outline-offset: 4px; border-radius: 4px; }
.cxfit-wizard .cxfit-q-sm { font-size: 18px; margin-top: 18px; }
.cxfit-wizard .cxfit-sub { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--cxfit-muted); }
.cxfit-wizard .cxfit-eyebrow { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--cxfit-olive-dark); text-transform: none; letter-spacing: 0; }
.cxfit-wizard .cxfit-eyebrow::after { content: ""; display: block; width: 22px; height: 3px; margin-top: 4px; border-radius: 2px; background: var(--cxfit-terra); }
.cxfit-wizard .cxfit-gtitle { margin: 22px 0 0; font-size: 20px; text-transform: none; letter-spacing: 0; color: var(--cxfit-brown); }

/* Gombok */
.cxfit-wizard .cxfit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 600 16px/1.2 var(--cxfit-font);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cxfit-wizard .cxfit-btn:focus-visible { outline: 3px solid var(--cxfit-olive-dark); outline-offset: 3px; }
.cxfit-wizard .cxfit-btn-primary { background: var(--cxfit-olive); border-color: var(--cxfit-olive); color: #ffffff; }
.cxfit-wizard .cxfit-btn-primary:hover, .cxfit-wizard .cxfit-btn-primary:active { background: var(--cxfit-olive-dark); border-color: var(--cxfit-olive-dark); color: #ffffff; }
.cxfit-wizard .cxfit-btn-ghost { background: #ffffff; border-color: var(--cxfit-olive); color: var(--cxfit-olive-dark); }
.cxfit-wizard .cxfit-btn-ghost:hover { background: #e7e8d9; color: var(--cxfit-brown); }
.cxfit-wizard .cxfit-btn-link { background: transparent; border-color: transparent; color: var(--cxfit-brown); text-decoration: underline; text-underline-offset: 3px; padding-left: 12px; padding-right: 12px; }
.cxfit-wizard .cxfit-btn-link:hover { background: transparent; color: var(--cxfit-olive-dark); }
.cxfit-wizard .cxfit-btn-block { display: flex; width: 100%; }
.cxfit-wizard .cxfit-btn-small { min-height: 40px; padding: 6px 16px; margin-left: 4px; background: #ffffff; border-color: var(--cxfit-olive); color: var(--cxfit-olive-dark); font-size: 14px; }
.cxfit-wizard .cxfit-btn[disabled] { opacity: .6; cursor: default; }
.cxfit-step-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
.cxfit-step-actions .cxfit-btn-link { align-self: center; }
.cxfit-save-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cxfit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* JS-nélküli / JS-es állapot */
.cxfit-wizard:not(.is-stepped) .cxfit-js-only,
.cxfit-wizard:not(.is-stepped) [data-cxfit-jsonly] { display: none !important; }
.cxfit-wizard.is-stepped .cxfit-nojs-only { display: none !important; }
.cxfit-wizard:not(.is-stepped) .cxfit-step { margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--cxfit-line); }
.cxfit-wizard.is-stepped .cxfit-step { display: none; }
.cxfit-wizard.is-stepped .cxfit-step.is-current { display: block; animation: cxfit-in .22s ease both; }
@keyframes cxfit-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Folyamatjelző */
.cxfit-top { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.cxfit-back {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: -6px 0 -6px -10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--cxfit-brown);
	box-shadow: none;
	cursor: pointer;
}
.cxfit-back:hover { background: #e7e8d9; }
.cxfit-back:focus-visible { outline: 3px solid var(--cxfit-olive-dark); outline-offset: 2px; }
.cxfit-bar { flex: 1 1 auto; height: 6px; border-radius: 3px; background: #e4e2da; overflow: hidden; }
.cxfit-bar > i { display: block; height: 100%; width: var(--p, 0%); border-radius: 3px; background: var(--cxfit-olive); transition: width .25s ease; }
.cxfit-count { flex: 0 0 auto; min-width: 3.2em; text-align: right; font-size: 13px; color: var(--cxfit-muted); font-variant-numeric: tabular-nums; }
.cxfit-sr, .cxfit-next-sr:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cxfit-next-sr { margin-top: 16px; min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid var(--cxfit-olive); background: var(--cxfit-olive); color: #fff; font: 600 16px/1.2 var(--cxfit-font); }
.cxfit-next-sr:focus { outline: 3px solid var(--cxfit-olive-dark); outline-offset: 3px; }

/* Választó chipek és kártyák (div + rádió, nincs fieldset) */
.cxfit-opt { position: relative; display: block; margin: 0; }
.cxfit-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cxfit-face {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	padding: 10px 12px;
	border: 2px solid #8b8a82;
	border-radius: 14px;
	background: #ffffff;
	color: var(--cxfit-brown);
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cxfit-opt:hover .cxfit-face { border-color: var(--cxfit-olive); }
.cxfit-opt input:checked + .cxfit-face { background: var(--cxfit-olive); border-color: var(--cxfit-olive); color: #ffffff; }
.cxfit-opt input:focus-visible + .cxfit-face { outline: 3px solid var(--cxfit-olive-dark); outline-offset: 3px; }
.cxfit-face-tag { padding: 1px 8px; border-radius: 999px; background: #e7e8d9; color: #3b3d27; font-size: 12px; font-weight: 600; }
.cxfit-opt input:checked + .cxfit-face .cxfit-face-tag { background: rgba(255,255,255,.9); }
.cxfit-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cxfit-chips-cat { grid-template-columns: repeat(2, 1fr); }
.cxfit-cards { display: grid; gap: 10px; }
.cxfit-face-card { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 72px; padding: 14px 16px; text-align: left; }
.cxfit-face-card .cxfit-t { font-size: 18px; font-weight: 700; }
.cxfit-face-card .cxfit-s { font-size: 14px; font-weight: 400; opacity: .9; }

/* Méret: betű/szám váltó (CSS-sel, JS nélkül is) */
.cxfit-sizes { display: block; }
.cxfit-sizes .cxfit-chips { margin: 0 0 14px; }
.cxfit-switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cxfit-switch-input:checked ~ .cxfit-chips-letters { display: none; }
.cxfit-switch-input:not(:checked) ~ .cxfit-chips-nums { display: none; }
.cxfit-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--cxfit-brown); cursor: pointer; text-transform: none; letter-spacing: 0; }
.cxfit-switch-track { position: relative; flex: 0 0 auto; width: 46px; height: 26px; border-radius: 20px; background: #8b8a82; transition: background-color .15s ease; }
.cxfit-switch-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.cxfit-switch-input:checked ~ .cxfit-switch .cxfit-switch-track { background: var(--cxfit-olive); }
.cxfit-switch-input:checked ~ .cxfit-switch .cxfit-switch-knob { transform: translateX(20px); }
.cxfit-switch-input:focus-visible ~ .cxfit-switch .cxfit-switch-track { outline: 3px solid var(--cxfit-olive-dark); outline-offset: 3px; }
.cxfit-opt-wide .cxfit-face { min-height: 52px; border-style: dashed; font-size: 16px; }

/* Mérőpont-lépés */
.cxfit-diagram-wrap { margin: 0 0 14px; }
.cxfit-diagram { display: block; width: 100%; max-width: 170px; height: auto; margin: 0 auto; }
.cxfit-d-body { fill: #e7e8d9; stroke: #6b6e48; stroke-width: 2; stroke-linejoin: round; }
.cxfit-d-m { stroke: #c56a52; stroke-width: 1.6; stroke-dasharray: 4 3; }
.cxfit-d-t { fill: #4c2e1e; font: 600 11px/1 sans-serif; }
.cxfit-diagram.has-active .cxfit-d-pt { opacity: .28; }
.cxfit-diagram.has-active .cxfit-d-pt.is-active { opacity: 1; }
.cxfit-diagram .is-active .cxfit-d-m { stroke-width: 3; stroke-dasharray: none; }
.cxfit-diagram .is-active .cxfit-d-t { font-size: 13px; }
.cxfit-numrow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cxfit-wizard input.cxfit-num {
	width: 100%;
	max-width: 220px;
	height: 68px;
	padding: 8px 12px;
	border: 2px solid #8b8a82;
	border-radius: 14px;
	background: #ffffff;
	color: var(--cxfit-brown);
	font: 700 30px/1 var(--cxfit-font);
	text-align: center;
	box-shadow: none;
}
.cxfit-wizard input.cxfit-num:focus { border-color: var(--cxfit-olive-dark); outline: 3px solid var(--cxfit-olive-dark); outline-offset: 2px; }
.cxfit-wizard input.cxfit-num[aria-invalid="true"] { border-color: #8f3b2a; }
.cxfit-unit { font-size: 18px; color: var(--cxfit-muted); }
.cxfit-echo { min-height: 1.6em; margin: 10px 0 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--cxfit-olive-dark); }
.cxfit-err { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #8f3b2a; text-align: center; }
.cxfit-how { margin: 12px 0 0; text-align: center; }
.cxfit-how > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--cxfit-olive-dark); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.cxfit-how > summary::-webkit-details-marker { display: none; }
.cxfit-how > summary:focus-visible { outline: 3px solid var(--cxfit-olive-dark); outline-offset: 2px; }
.cxfit-how > p { margin: 4px 0 0; padding: 12px 14px; background: #ffffff; border: 1px solid var(--cxfit-line); border-radius: 10px; font-size: 14px; line-height: 1.5; color: var(--cxfit-muted); text-align: left; }

/* Kész képernyő */
.cxfit-sum { margin: 12px 0 0; padding: 0; list-style: none; }
.cxfit-sum li { padding: 10px 0; border-bottom: 1px solid var(--cxfit-line); font-size: 16px; }
.cxfit-coupon { margin: 14px 0 0; padding: 10px 14px; background: #e7e8d9; border-left: 3px solid var(--cxfit-terra); border-radius: 6px; font-size: 15px; font-weight: 600; color: #3b3d27; }

/* Szerkesztő nézet: kártyalista */
.cxfit-rows { margin: 8px 0 0; padding: 0; list-style: none; }
.cxfit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--cxfit-line); }
.cxfit-row-t { flex: 1 1 160px; font-size: 16px; font-weight: 600; color: var(--cxfit-brown); }
.cxfit-row-t-main { display: block; }
.cxfit-row-t-sub { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--cxfit-muted); }
.cxfit-row-a { display: inline-flex; align-items: center; gap: 4px; }
/* Szerkesztő nézet: kompakt másodlagos gombok (kb. 36 px magas, 14 px betű) */
.cxfit-wizard .cxfit-row-a .cxfit-btn { min-height: 36px; padding: 6px 16px; border-width: 1px; font-size: 14px; }
.cxfit-wizard .cxfit-row-a .cxfit-btn-link { min-height: 36px; padding: 6px 8px; font-size: 13px; font-weight: 500; }
.cxfit-inline { display: inline; margin: 0; }
.cxfit-list-foot { margin-top: 18px; }
.cxfit-wizard .cxfit-list-foot .cxfit-btn-link { font-size: 13px; font-weight: 500; min-height: 36px; padding-left: 0; }

/* Üzenetek, jelzés */
.cxfit-banner { margin: 0 0 16px; padding: 12px 14px; background: #e7e8d9; border-left: 3px solid var(--cxfit-olive); border-radius: 6px; font-size: 15px; color: #3b3d27; }
.cxfit-banner.is-error { background: #f6e3de; border-left-color: #8f3b2a; color: #6b2a1c; }
.cxfit-banner-line { display: block; margin-top: 2px; }
.cxfit-toast {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--cxfit-olive-dark);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	transform: translateX(-50%);
	box-shadow: 0 4px 14px rgba(76, 46, 30, .25);
	pointer-events: none;
}
.cxfit-wizard.is-busy .cxfit-step.is-current { opacity: .6; pointer-events: none; }

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

/* Visszajelzési űrlap (aláírt linkről) */
.cxfit-fb { max-width: 560px; margin: 24px auto; padding: 0 16px; font-family: var(--cxfit-font); color: var(--cxfit-text); }
.cxfit-fb h2 { color: var(--cxfit-brown); }

@media (prefers-reduced-motion: reduce) {
	.cxfit-filter-knob { transition: none; }
}


/* ---------- 2.2: hozzájárulás-doboz (GDPR), kompakt és jól látható ---------- */
.cxfit-consent { margin: 18px 0 0; padding: 12px 14px; background: #fff; border: 1px solid var(--cxfit-line); border-radius: 12px; }
.cxfit-consent[hidden] { display: none; }
.cxfit-consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--cxfit-text); cursor: pointer; text-align: left; }
.cxfit-consent-row input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cxfit-olive); }
.cxfit-consent-row a { color: var(--cxfit-brown); text-decoration: underline; text-underline-offset: 2px; }
.cxfit-consent-row input:focus-visible { outline: 3px solid var(--cxfit-terra); outline-offset: 2px; }
.cxfit-consent .cxfit-err { margin: 8px 0 0; }
.cxfit-done-quiz a { color: var(--cxfit-olive-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Fiókom menü: Méretem és NAWA-kredit ikon (a téma --nwi változóját használja, mint a többi pont) ---------- */
html body .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--nawa-kredit a,
html body .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--kredit a {
	--nwi: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8.5'/><path d='M14.8 9.4c-.5-.8-1.4-1.2-2.6-1.2-1.5 0-2.5.8-2.5 1.9 0 2.6 5.2 1.2 5.2 3.8 0 1.2-1.1 2-2.7 2-1.2 0-2.2-.5-2.8-1.4M12 6.6v1.6M12 15.8v1.6'/></svg>");
}
/* A maszk-ikon a témától függetlenül is megjelenik (ha a téma már rajzol ::before ikont, ugyanezt a --nwi-t használja) */
html body .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--nawa-kredit a::before,
html body .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--kredit a::before {
	background-color: currentColor;
	-webkit-mask: var(--nwi) center / contain no-repeat;
	mask: var(--nwi) center / contain no-repeat;
}

/* Kártyajelvény: az info-gomb átlátszó fedőréteg (a téma gombstílusa ne tegye szürke körré) */
html body .cxfit-badge.is-loop button.cxfit-info { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 999px; background: transparent !important; box-shadow: none; color: inherit; }
html body .cxfit-badge.is-loop button.cxfit-info > span { display: none; }

/* A méreted lista (2.2.3): minden sor ugyanúgy épül fel (cím + alsor balra, a gombok fix oszlopban jobbra), így a „Törlöm” nem tolja el a „Módosítom”-ot */
.cxfit-wizard .cxfit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 14px 0; }
.cxfit-wizard .cxfit-row-t { font-size: 16px; }
.cxfit-wizard .cxfit-row-a { display: grid; grid-template-columns: auto 72px; align-items: center; gap: 4px; }
.cxfit-wizard .cxfit-row-a2 { display: flex; justify-content: flex-start; }
.cxfit-wizard .cxfit-row-a2 .cxfit-inline { margin: 0; }
.cxfit-wizard .cxfit-row-a .cxfit-btn-ghost { min-height: 38px; padding: 6px 18px; }
.cxfit-wizard .cxfit-row-a2 .cxfit-btn-link { min-height: 38px; padding: 6px 4px; font-size: 13px; color: var(--cxfit-muted); }
.cxfit-wizard a.cxfit-btn.cxfit-add { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 14px; padding: 10px 16px; border: 1.5px dashed var(--cxfit-olive); border-radius: 14px; background: transparent; color: var(--cxfit-olive-dark); font-size: 15px; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.cxfit-wizard a.cxfit-btn.cxfit-add:hover { background: rgba(107, 110, 72, .08); }
.cxfit-wizard a.cxfit-btn.cxfit-add > span { font-size: 20px; line-height: 1; }
@media (max-width: 420px) {
	.cxfit-wizard .cxfit-row { grid-template-columns: minmax(0, 1fr); }
	.cxfit-wizard .cxfit-row-a { justify-content: start; }
}

/* 2.2.4: a téma link-hover aláhúzása / alsó sávja a gomb-linkeken (pl. „Módosítom”) ne jelenjen meg */
html body .cxfit-wizard a.cxfit-btn,
html body .cxfit-wizard a.cxfit-btn:hover,
html body .cxfit-wizard a.cxfit-btn:focus,
html body .cxfit-wizard a.cxfit-btn:active { text-decoration: none; background-image: none; box-shadow: none; }
html body .cxfit-wizard a.cxfit-btn::before,
html body .cxfit-wizard a.cxfit-btn::after { content: none; display: none; }
html body .cxfit-wizard .cxfit-btn-link:hover { text-decoration: underline; }

/* 2.2.4: fix dobozméret a lépésenkénti kitöltésnél. A fejléc fent, a kérdés alatta, a Tovább gomb mindig a doboz alján;
   minden lépés ugyanakkora, a doboz nem ugrál. A kategória-csoport burkolója (cxfit-gblock) „átlátszó” (display: contents),
   így a lépések közvetlenül a flex-oszlopban ülnek. Ha egy lépés mégsem fér el, csak a lépés belseje görget, a gomb alul tapad. */
.cxfit-wizard.is-stepped form.cxfit-flow { display: flex; flex-direction: column; height: 640px; }
.cxfit-wizard.is-stepped form.cxfit-flow > * { flex: none; }
.cxfit-wizard.is-stepped form.cxfit-flow > .cxfit-gblock { display: contents; }
.cxfit-wizard.is-stepped form.cxfit-flow .cxfit-step.is-current { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -6px; padding: 2px 6px 4px; }
.cxfit-wizard.is-stepped form.cxfit-flow .cxfit-step.is-current > .cxfit-step-actions { position: sticky; bottom: 0; margin-top: auto; padding-top: 16px; background: var(--cxfit-bg-2); }
.cxfit-wizard.is-stepped form.cxfit-flow > .cxfit-consent { margin-top: 12px; }
/* Fiókom: a Méretem doboz ugyanolyan széles, mint a Stílusom; a tartalom egy középre igazított, olvasható oszlop */
html body .woocommerce-MyAccount-content .cxfit-wizard { max-width: none; width: 100%; padding: 28px 32px 28px; }
html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step > *,
html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-consent { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
/* A felugró ablakban a képernyőhöz igazodik */
.nawa-ob-panel .cxfit-wizard.is-stepped form.cxfit-flow { height: min(640px, calc(100vh - 120px)); height: min(640px, calc(100dvh - 120px)); }
@media (max-width: 640px) {
	.cxfit-wizard.is-stepped form.cxfit-flow { height: min(640px, calc(100dvh - 160px)); }
	html body .woocommerce-MyAccount-content .cxfit-wizard { padding: 20px 16px 24px; }
}
/* Kész képernyő: a stílusteszt-ajánló egy kiemelt sorban (szöveg balra, gomb jobbra), nem tördelt link */
.cxfit-wizard .cxfit-done-quiz { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: #eceee2; }
.cxfit-wizard .cxfit-done-quiz-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cxfit-wizard .cxfit-done-quiz-t strong { color: var(--cxfit-brown); font: 600 15px/1.3 var(--cxfit-font); }
.cxfit-wizard .cxfit-done-quiz-t span { color: var(--cxfit-muted); font-size: 13.5px; line-height: 1.35; }
.cxfit-wizard .cxfit-done-quiz .cxfit-btn { flex: none; min-height: 40px; padding: 6px 18px; font-size: 14px; white-space: nowrap; }
@media (max-width: 380px) { .cxfit-wizard .cxfit-done-quiz { flex-wrap: wrap; } }

/* 2.2.4: kártyán a jelvény a kép bal alsó sarkában, egy sorban a Rey visszaszámlálójával (az jobb alul ül, bottom 16px) */
html body .rey-productThumbnail > .cxfit-badge.is-loop,
html body li.product .cxfit-badge.is-loop { top: auto; bottom: 9px; left: 12px; right: auto; }
/* Rámutatásra (és billentyűs fókuszra) feljön a magyarázó felirat a jelvény fölött */
.cxfit-badge.is-loop:not(.cxfit-band-cta):hover .cxfit-badge-label,
.cxfit-badge.is-loop:not(.cxfit-band-cta):focus-within .cxfit-badge-label {
	position: absolute; left: 0; bottom: calc(100% + 8px); width: auto; height: auto; margin: 0; padding: 6px 10px; overflow: visible; clip: auto;
	border-radius: 8px; background: #4c2e1e; color: #fff; font: 600 12px/1.2 var(--cxfit-font); white-space: nowrap; box-shadow: 0 4px 14px rgba(76, 46, 30, .22); pointer-events: none; z-index: 8;
}
.cxfit-badge.is-loop:not(.cxfit-band-cta):hover .cxfit-badge-label::after,
.cxfit-badge.is-loop:not(.cxfit-band-cta):focus-within .cxfit-badge-label::after { content: ""; position: absolute; left: 16px; top: 100%; border: 5px solid transparent; border-top-color: #4c2e1e; }
@media (max-width: 480px) {
	html body .rey-productThumbnail > .cxfit-badge.is-loop,
	html body li.product .cxfit-badge.is-loop { bottom: 8px; left: 8px; }
}

/* 2.2.4: termékoldali jelvénysor: minden jelvény egyforma magas, az „i” egy kis, kerek, halvány kör (a téma gombstílusa ne tegye szürke kockává) */
html body .cxfit-badge-row > .cxfit-badge,
html body .cxfit-badge-row > .cxfit-cond-badge,
html body .cxfit-badge-row > .cxfit-save-badge { box-sizing: border-box; height: 36px; min-height: 36px; padding-top: 0; padding-bottom: 0; box-shadow: none; }
html body .cxfit-badge-row button.cxfit-info,
html body .cxfit-badge.is-single button.cxfit-info {
	display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; min-width: 0; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: 50%; background: rgba(76, 46, 30, .1); color: inherit; box-shadow: none; font: 700 12px/1 Georgia, serif; letter-spacing: 0; text-transform: none;
}
html body .cxfit-badge-row .cxfit-band-great button.cxfit-info,
html body .cxfit-badge-row .cxfit-band-poor button.cxfit-info,
html body .cxfit-badge-row .cxfit-save-badge button.cxfit-info { background: rgba(255, 255, 255, .2); }
html body .cxfit-badge-row button.cxfit-info:hover { background: rgba(76, 46, 30, .18); }
html body .cxfit-badge-row .cxfit-band-great button.cxfit-info:hover,
html body .cxfit-badge-row .cxfit-band-poor button.cxfit-info:hover,
html body .cxfit-badge-row .cxfit-save-badge button.cxfit-info:hover { background: rgba(255, 255, 255, .32); }

/* 2.2.5: Rey Fiókom link-aláhúzás ki a gomb-linkeken; mérési lépés fekvő elrendezésben */
html body .cxfit-wizard a.cxfit-btn { --animlink-d: none; }
html body .woocommerce-account .rey-myAccContent .cxfit-wizard a.cxfit-btn::after { content: none; display: none; }
@media (min-width: 900px) {
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto 1fr auto; column-gap: 56px; align-content: stretch; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > * { grid-column: 2; width: 100%; max-width: 420px; margin-left: 0; margin-right: 0; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-diagram-wrap { grid-column: 1; grid-row: 1 / -1; align-self: center; justify-self: center; max-width: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 340px; border-radius: 18px; background: #f1efe7; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-diagram-wrap svg.cxfit-diagram { width: min(72%, 280px); max-width: none; height: auto; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-eyebrow { margin-top: 24px; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-numrow { justify-content: flex-start; margin-top: 20px; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-echo, html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-how { text-align: left; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-how { align-self: start; }
	html body .woocommerce-MyAccount-content .cxfit-wizard .cxfit-step.is-current:has(> .cxfit-diagram-wrap) > .cxfit-step-actions { grid-row: 8; align-self: end; }
}
