/* Közös komponensek. Oldalspecifikus stílus a pages/<oldal>.css-be kerül, .tf-<oldal>- előtaggal. */

/* ---------- Ikon ---------- */
.tf-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

/* ---------- Gombok ---------- */
.tf-btn {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 28px;
	border: 1.5px solid transparent;
	border-radius: var(--r-pill);
	background: var(--c-blue-strong);
	color: #fff;
	font-family: var(--f-body);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.tf-btn:hover {
	background: var(--c-navy);
	color: #fff;
}

.tf-btn .tf-icon {
	width: 18px;
	height: 18px;
}

/* Fotós CTA: világos kék, sötét felirat */
.tf-btn--accent {
	background: var(--c-blue-bright);
	color: var(--c-navy);
}

.tf-btn--accent:hover {
	background: #fff;
	color: var(--c-navy);
}

/* Másodlagos: világoskék pill */
.tf-btn--secondary {
	background: var(--c-sky-100);
	color: var(--c-blue-ink);
}

.tf-btn--secondary:hover {
	background: var(--c-sky-300);
	color: var(--c-navy);
}

.tf-btn--dark {
	background: var(--c-navy);
	color: #fff;
}

.tf-btn--dark:hover {
	background: var(--c-blue-strong);
}

.tf-btn--white {
	background: #fff;
	color: var(--c-navy);
}

.tf-btn--white:hover {
	background: var(--c-sky-200);
	color: var(--c-navy);
}

.tf-btn--outline {
	border-color: currentColor;
	background: transparent;
	color: var(--c-navy);
}

.tf-btn--outline:hover {
	background: var(--c-navy);
	border-color: var(--c-navy);
	color: #fff;
}

.tf-btn--sm {
	min-height: 38px;
	padding: 7px 20px;
	font-size: var(--fs-sm);
}

.tf-btn--lg {
	min-height: 52px;
	padding-inline: 32px;
}

.tf-btn--block {
	display: flex;
	width: 100%;
}

.tf-btn[disabled],
.tf-btn.is-disabled {
	background: var(--c-sky-50);
	color: var(--c-disabled);
	cursor: not-allowed;
}

/* Szöveges link nyíllal („Összes cikk →”) */
.tf-link-arrow {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--c-blue-strong);
	font-weight: 600;
	text-decoration: none;
}

.tf-link-arrow .tf-icon {
	width: 16px;
	height: 16px;
	transition: transform var(--t-fast) var(--ease);
}

.tf-link-arrow:hover .tf-icon {
	transform: translateX(3px);
}

.tf-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
}

/* Kerek ikon gombok (mobil fejléc) */
.tf-round-btn {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	text-decoration: none;
}

.tf-round-btn .tf-icon {
	width: 22px;
	height: 22px;
}

.tf-round-btn--sky {
	background: var(--c-sky-100);
	color: var(--c-blue-strong);
}

.tf-round-btn--dark {
	background: var(--c-navy);
	color: #fff;
}

@media (hover: hover) {
	.tf-round-btn--sky:hover {
		background: var(--c-sky-300);
		color: var(--c-navy);
	}

	.tf-round-btn--dark:hover {
		background: var(--c-blue-strong);
		color: #fff;
	}
}

/* ---------- Chipek / szűrő pillek ---------- */
.tf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tf-chip {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	min-height: 37px;
	padding: 6px 16px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--c-sky-100);
	color: var(--c-blue-ink);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.tf-chip:hover {
	background: var(--c-sky-300);
	color: var(--c-navy);
}

.tf-chip.is-active,
.tf-chip[aria-pressed="true"],
.tf-chip[aria-current="page"],
.tf-chip[aria-current="true"] {
	background: var(--c-navy);
	color: #fff;
}

.tf-chip__count {
	font-weight: 400;
	opacity: 0.75;
}

.tf-chip--sm {
	min-height: 30px;
	padding: 4px 12px;
	font-size: var(--fs-2xs);
}

/* Fehér chip világoskék alapon (szállítási sávok) */
.tf-chip--white {
	background: #fff;
	color: var(--c-ink);
	font-weight: 500;
	cursor: default;
}

.tf-chip--white strong {
	font-weight: 700;
}

.tf-chip--white:hover {
	background: #fff;
	color: var(--c-ink);
}

.tf-chip--disabled,
.tf-chip:disabled {
	background: var(--c-sky-50);
	color: var(--c-disabled);
	cursor: not-allowed;
}

/* ---------- Jelvények ---------- */
.tf-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: var(--r-pill);
	background: #fff;
	color: var(--c-navy);
	font-size: var(--fs-2xs);
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.tf-badge--success {
	background: var(--c-success-bg);
	color: var(--c-success);
	font-size: var(--fs-3xs);
}

.tf-badge--sky {
	background: var(--c-sky-100);
	color: var(--c-blue-ink);
}

.tf-badge--dark {
	background: var(--c-navy);
	color: #fff;
}

/* Fotó sarkában */
.tf-badge--on-photo {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
}

/* ---------- Eyebrow, szekció fej ---------- */
.tf-eyebrow {
	color: var(--c-blue-strong);
	font-size: var(--fs-2xs);
	font-weight: 600;
	letter-spacing: var(--ls-eyebrow);
	line-height: 1.4;
	text-transform: uppercase;
}

.tf-eyebrow--light {
	color: var(--c-sky-400);
}

.tf-section-head {
	display: grid;
	gap: var(--s-3);
	max-width: 760px;
	margin-bottom: var(--s-8);
}

.tf-section-head--center {
	margin-inline: auto;
	text-align: center;
	justify-items: center;
}

.tf-section-head__title {
	font-size: var(--fs-h2);
	line-height: 1.3;
}

.tf-section-head__lead,
.tf-lead {
	color: var(--c-muted);
	font-size: var(--fs-lead);
	line-height: 1.6;
}

/* ---------- Morzsamenü ---------- */
.tf-breadcrumbs {
	color: var(--c-muted);
	font-size: var(--fs-xs);
}

.tf-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4px;
}

.tf-breadcrumbs__item + .tf-breadcrumbs__item::before {
	content: "/";
	margin-right: 4px;
}

.tf-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.tf-breadcrumbs a:hover {
	color: var(--c-navy);
	text-decoration: underline;
}

.tf-breadcrumbs [aria-current="page"] {
	color: var(--c-ink);
	font-weight: 700;
}

.tf-breadcrumbs--light {
	color: var(--c-sky-300);
}

.tf-breadcrumbs--light a:hover,
.tf-breadcrumbs--light [aria-current="page"] {
	color: #fff;
}

/* ---------- Űrlap mezők ---------- */
/* A címke a szürke dobozon belül, az érték alatta (pénztár és kalkulátor design). */
.tf-field {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tf-field__box {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 9px 16px 8px;
	border: 1.5px solid transparent;
	border-radius: var(--r-md);
	background: var(--c-surface);
	transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.tf-field__box:focus-within {
	border-color: var(--c-blue);
	background: var(--c-bg);
	box-shadow: var(--sh-focus);
}

.tf-field__label {
	color: var(--c-muted);
	font-size: var(--fs-3xs);
	font-weight: 600;
	line-height: 1.3;
}

.tf-req {
	color: inherit;
}

.tf-field__box :where(input, select, textarea) {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	box-shadow: none;
	color: var(--c-ink);
	font-size: var(--fs-body);
}

.tf-field__box :where(input, select, textarea):focus-visible {
	box-shadow: none;
}

.tf-field__box select {
	background-position: right 0 center;
}

.tf-field__hint {
	padding-inline: 4px;
	color: var(--c-muted);
	font-size: var(--fs-3xs);
}

.tf-field__error {
	padding-inline: 4px;
	color: var(--c-error);
	font-size: var(--fs-3xs);
	font-weight: 500;
}

.tf-field.is-error .tf-field__box,
.tf-field__box:has([aria-invalid="true"]) {
	border-color: var(--c-error);
	background: var(--c-bg);
}

/* Kívül álló címke (pl. megjegyzés mező) */
.tf-label {
	display: block;
	margin-bottom: 6px;
	color: var(--c-ink);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.tf-input-error,
input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
	border-color: var(--c-error);
	background-color: var(--c-bg);
}

.tf-form-grid {
	display: grid;
	gap: 10px;
}

@media (min-width: 640px) {
	.tf-form-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Jelölőnégyzet sor */
.tf-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--c-ink);
	font-size: var(--fs-xs);
	line-height: 1.45;
}

.tf-check input {
	margin-top: 0;
}

/* ---------- Rádió kártyák ---------- */
.tf-options {
	display: grid;
	gap: 10px;
}

.tf-option {
	position: relative;
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 16px 20px;
	border: 1.5px solid transparent;
	border-radius: var(--r-md);
	background: var(--c-surface);
	cursor: pointer;
	transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.tf-option:hover {
	border-color: var(--c-sky-300);
}

.tf-option:has(input:checked),
.tf-option.is-selected {
	border-color: var(--c-blue-bright);
	background: var(--c-sky-200);
}

.tf-option:has(input:focus-visible) {
	outline: 3px solid var(--c-focus);
	outline-offset: 2px;
}

.tf-option input:focus-visible {
	outline: none;
}

.tf-option__body {
	display: grid;
	flex: 1;
	gap: 1px;
	min-width: 0;
}

.tf-option__title {
	color: var(--c-ink);
	font-size: var(--fs-body);
	font-weight: 600;
	line-height: 1.35;
}

.tf-option__title small {
	color: var(--c-muted);
	font-size: var(--fs-xs);
	font-weight: 400;
}

.tf-option__sub {
	color: var(--c-muted);
	font-size: var(--fs-xs);
	line-height: 1.4;
}

.tf-option__aside {
	display: flex;
	flex: none;
	gap: 12px;
	align-items: center;
}

.tf-option__price {
	color: var(--c-ink);
	font-family: var(--f-head);
	font-size: 1.1875rem;
	font-weight: 600;
	white-space: nowrap;
}

.tf-option.is-disabled,
.tf-option:has(input:disabled) {
	border-color: transparent;
	background: var(--c-sky-50);
	cursor: not-allowed;
}

.tf-option.is-disabled :is(.tf-option__title, .tf-option__sub, .tf-option__price),
.tf-option:has(input:disabled) :is(.tf-option__title, .tf-option__sub, .tf-option__price) {
	color: var(--c-disabled);
}

.tf-option__detail {
	flex-basis: 100%;
	margin-left: 36px;
	padding: 10px 12px;
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--c-blue-ink);
	font-size: var(--fs-xs);
}

.tf-option--wrap {
	flex-wrap: wrap;
}

/* ---------- Táblázatok ---------- */
.tf-table-wrap {
	overflow-x: auto;
	padding: 4px 18px;
	border-radius: var(--r-md);
	background: var(--c-surface);
}

.tf-table,
.tf-prose table {
	width: 100%;
	color: var(--c-text);
	font-size: var(--fs-sm);
	line-height: 1.45;
}

.tf-table th,
.tf-table td,
.tf-prose th,
.tf-prose td {
	padding: 13px 4px;
	border-bottom: 1px solid var(--c-line-soft);
	text-align: left;
	vertical-align: top;
}

.tf-table th,
.tf-prose th {
	color: var(--c-ink);
	font-weight: 600;
}

.tf-table tr:last-child td,
.tf-prose tr:last-child td {
	border-bottom: 0;
}

.tf-table .is-num,
.tf-table td.num {
	text-align: right;
	white-space: nowrap;
}

.tf-table tr.is-active td {
	color: var(--c-navy);
	font-weight: 600;
}

/* ---------- GYIK ---------- */
.tf-faq {
	display: grid;
	gap: 8px;
}

.tf-faq__title {
	margin-bottom: var(--s-6);
	font-size: var(--fs-h2);
	text-align: center;
}

.tf-faq__item {
	border-radius: var(--r-md);
	background: var(--c-surface);
}

.tf-faq__q {
	display: flex;
	gap: var(--s-4);
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	color: var(--c-ink);
	font-size: var(--fs-body);
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

.tf-faq__q::-webkit-details-marker {
	display: none;
}

.tf-faq__q:focus-visible {
	border-radius: var(--r-md);
}

.tf-faq__toggle {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
}

.tf-faq__toggle::before,
.tf-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 2px;
	border-radius: 1px;
	background: var(--c-blue);
	transform: translate(-50%, -50%);
	transition: transform var(--t-fast) var(--ease);
}

.tf-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.tf-faq__item[open] .tf-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.tf-faq__a {
	padding: 0 18px 18px;
	color: var(--c-muted);
	font-size: var(--fs-xs);
	line-height: 1.6;
}

.tf-faq__a > * + * {
	margin-top: 0.6em;
}

/* Desktop design: kérdés 18 px, válasz 16 px. */
@media (min-width: 960px) {
	.tf-faq__q {
		padding: 22px 26px;
		font-size: 1.125rem;
	}

	.tf-faq__a {
		padding: 0 26px 22px;
		font-size: var(--fs-body);
	}
}

/* ---------- CTA sáv ---------- */
.tf-cta-band {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 340px;
	overflow: hidden;
	border-radius: var(--r-xl);
	background: var(--c-navy);
	isolation: isolate;
}

.tf-cta-band__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 41, 52, 0.2) 0%, rgba(8, 41, 52, 0.35) 45%, rgba(8, 41, 52, 0.88) 100%);
}

.tf-cta-band__body {
	display: grid;
	gap: var(--s-3);
	width: 100%;
	padding: var(--s-6) var(--s-6) 28px;
	color: var(--c-sky-200);
}

.tf-cta-band__title {
	color: #fff;
	font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
	line-height: 1.08;
	/* A design töréspontja: „Kezdjük el a / tavadat.” (a kiegyensúlyozott tördelés „Kezdjük el / a tavadat.” lenne). */
	text-wrap: wrap;
}

.tf-cta-band__text {
	font-size: 1.125rem;
	line-height: 1.35;
}

.tf-cta-band__text a {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.tf-cta-band__text a:hover {
	color: #fff;
	text-decoration: underline;
}

.tf-cta-band__btn {
	width: 100%;
	font-size: var(--fs-body);
}

@media (min-width: 960px) {
	.tf-cta-band {
		align-items: flex-start;
		min-height: 360px;
	}

	.tf-cta-band::before {
		background: linear-gradient(90deg, rgba(8, 41, 52, 0.72) 0%, rgba(8, 41, 52, 0.45) 40%, rgba(8, 41, 52, 0.08) 75%);
	}

	.tf-cta-band__body {
		gap: var(--s-4);
		max-width: 720px;
		padding: 64px;
	}

	.tf-cta-band__text {
		line-height: var(--lh-body);
	}

	.tf-cta-band__btn {
		justify-self: start;
		width: auto;
		margin-top: var(--s-3);
		font-size: 1.0625rem;
	}
}

/* ---------- Bizalmi sor ---------- */
.tf-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	justify-content: center;
	color: var(--c-blue-ink);
	font-family: var(--f-head);
	font-size: var(--fs-trust);
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

@media (min-width: 960px) {
	.tf-trust {
		gap: 8px 0;
	}

	.tf-trust__item + .tf-trust__item::before {
		content: "";
		display: inline-block;
		width: 6px;
		height: 6px;
		margin: 0 23px;
		border-radius: 50%;
		background: var(--c-sky-400);
		vertical-align: middle;
	}
}

/* ---------- Fotók, fotó kártyák ---------- */
.tf-photo {
	position: relative;
	overflow: hidden;
	border-radius: var(--r-lg);
	background: var(--c-surface);
}

.tf-photo > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-photo--card {
	aspect-ratio: 312 / 225;
}

.tf-photo--wide {
	border-radius: var(--r-xl);
}

/* Felirat a fotó alján (pl. „helyettesítő” címke vagy vásárlói vélemény) */
.tf-photo__caption {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
	padding: 10px 14px;
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--c-ink);
	font-size: var(--fs-2xs);
	font-weight: 600;
}

.tf-photo-card {
	display: grid;
	gap: var(--s-3);
	color: var(--c-text);
	text-decoration: none;
}

.tf-photo-card__head {
	display: flex;
	gap: var(--s-3);
	align-items: baseline;
	justify-content: space-between;
}

.tf-photo-card__title {
	font-size: var(--fs-card);
	font-weight: 600;
	line-height: 1.25;
}

.tf-photo-card__meta {
	color: var(--c-muted);
	font-size: var(--fs-xs);
}

.tf-photo-card__text {
	font-size: var(--fs-sm);
}

a.tf-photo-card:hover .tf-photo-card__title {
	color: var(--c-blue-strong);
}

/* Belső oldali fotós hero */
.tf-photo-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 280px;
	overflow: hidden;
	border-radius: var(--r-xl);
	background: var(--c-navy);
	isolation: isolate;
}

.tf-photo-hero > img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--tf-pos, center);
}

.tf-photo-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 41, 52, 0.25) 0%, rgba(8, 41, 52, 0.8) 100%);
}

.tf-photo-hero__body {
	display: grid;
	gap: var(--s-3);
	max-width: 720px;
	padding: var(--s-6);
}

.tf-photo-hero__title {
	color: #fff;
	font-size: var(--fs-h1);
	line-height: 1.12;
}

.tf-photo-hero__lead {
	color: var(--c-sky-200);
	font-size: var(--fs-lead);
}

@media (min-width: 960px) {
	.tf-photo-hero {
		align-items: flex-start;
		min-height: 340px;
	}

	.tf-photo-hero::before {
		background: linear-gradient(90deg, rgba(8, 41, 52, 0.72) 0%, rgba(8, 41, 52, 0.45) 45%, rgba(8, 41, 52, 0.08) 80%);
	}

	.tf-photo-hero__body {
		gap: var(--s-4);
		padding: 56px 64px;
	}
}

/* ---------- Ár ---------- */
.tf-price {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.15;
}

.tf-price--right {
	align-items: flex-end;
	text-align: right;
}

.tf-price__amount {
	color: var(--c-navy);
	font-family: var(--f-head);
	font-size: var(--fs-card);
	font-weight: 600;
	white-space: nowrap;
}

.tf-price__unit {
	color: var(--c-muted);
	font-size: var(--fs-3xs);
}

.tf-price--lg .tf-price__amount {
	font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
	font-weight: 700;
}

.tf-price--sm .tf-price__amount {
	font-size: 1.1875rem;
}

/* ---------- Lista sorok (címke – érték) ---------- */
.tf-rows {
	display: grid;
}

.tf-row {
	display: flex;
	gap: var(--s-4);
	align-items: baseline;
	justify-content: space-between;
	padding-block: 10px;
	border-bottom: 1px solid var(--c-line);
	font-size: var(--fs-xs);
}

.tf-row:last-child {
	border-bottom: 0;
}

.tf-row__label {
	color: var(--c-ink);
}

.tf-row__label small {
	color: var(--c-muted);
	font-size: inherit;
}

.tf-row__value {
	color: var(--c-ink);
	font-weight: 600;
	white-space: nowrap;
}

.tf-row--total {
	padding-top: var(--s-4);
	border-top: 1px solid var(--c-line);
}

.tf-row--total .tf-row__label {
	font-weight: 600;
}

.tf-row--total .tf-row__value {
	color: var(--c-navy);
	font-family: var(--f-head);
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
	font-weight: 700;
}

/* ---------- Kártyák ---------- */
.tf-card {
	padding: var(--s-6);
	border-radius: var(--r-lg);
	background: var(--c-surface);
}

.tf-card--white {
	background: #fff;
	box-shadow: var(--sh-card);
}

/* Lebegő összesítő / gyorskalkulátor sáv */
.tf-card--float {
	background: #fff;
	box-shadow: var(--sh-float);
}

.tf-card--selected {
	border: 1.5px solid var(--c-blue-bright);
}

/* ---------- Megjegyzés dobozok ---------- */
.tf-notice {
	padding: 16px 20px;
	border-radius: var(--r-md);
	background: var(--c-sky-100);
	color: var(--c-blue-ink);
	font-size: var(--fs-sm);
	line-height: 1.6;
}

.tf-notice > * + * {
	margin-top: 0.5em;
}

.tf-notice a {
	color: inherit;
	font-weight: 600;
}

.tf-notice--error {
	background: var(--c-error-bg);
	color: var(--c-error-ink);
}

.tf-notice--success {
	background: var(--c-success-bg);
	color: var(--c-success);
}

.tf-notice--dark {
	background: var(--c-navy);
	color: var(--c-sky-300);
}

/* WooCommerce értesítések (a WC saját CSS-e ki van kapcsolva) */
.woocommerce-notices-wrapper:empty {
	display: none;
}

:where(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 var(--s-5);
	padding: 16px 20px;
	border-radius: var(--r-md);
	background: var(--c-sky-100);
	color: var(--c-blue-ink);
	font-size: var(--fs-sm);
	list-style: none;
}

:where(.woocommerce-error) {
	display: block;
	background: var(--c-error-bg);
	color: var(--c-error-ink);
}

:where(.woocommerce-error) li + li {
	margin-top: 4px;
}

:where(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) {
	color: inherit;
	font-weight: 600;
}

:where(.woocommerce-message, .woocommerce-info) .button {
	order: 2;
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 7px 20px;
	border-radius: var(--r-pill);
	background: var(--c-blue-strong);
	color: #fff;
	font-size: var(--fs-sm);
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Mennyiség léptető ( − 1 + ) ---------- */
.tf-stepper {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding: 4px;
	border-radius: var(--r-pill);
	background: #fff;
}

.tf-stepper__btn {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--c-blue);
}

.tf-stepper__btn .tf-icon {
	width: 16px;
	height: 16px;
}

.tf-stepper__btn:hover {
	background: var(--c-sky-100);
	color: var(--c-navy);
}

.tf-stepper__btn:disabled {
	color: var(--c-control);
	cursor: not-allowed;
}

.tf-stepper__input,
.tf-stepper input[type="number"] {
	width: 3.5em;
	min-height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-ink);
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
}

.tf-stepper__input::-webkit-outer-spin-button,
.tf-stepper__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.tf-stepper__input:focus-visible {
	box-shadow: none;
	background: transparent;
}

.tf-stepper__unit {
	margin-left: -6px;
	padding-right: 4px;
	color: var(--c-ink);
	font-weight: 600;
}

/* Nagy változat világoskék alapon, fehér kerek gombokkal (geotextília) */
.tf-stepper--lg {
	gap: 8px;
	padding: 6px;
	background: var(--c-sky-100);
}

.tf-stepper--lg .tf-stepper__btn {
	width: 44px;
	height: 44px;
	background: #fff;
}

.tf-stepper--lg .tf-stepper__input {
	width: 2.4em;
	font-family: var(--f-head);
	font-size: 1.5rem;
}

.tf-stepper--lg .tf-stepper__unit {
	font-family: var(--f-head);
}

/* ---------- Lépés pillek (Kosár — Pénztár — Fizetés) ---------- */
.tf-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tf-steps__sep {
	width: 24px;
	height: 1px;
	background: var(--c-sky-300);
}

@media (min-width: 640px) {
	.tf-steps__sep {
		width: 40px;
	}
}

/* ---------- Tartalom tipográfia (the_content) ---------- */
.tf-prose {
	color: var(--c-text);
	font-size: var(--fs-prose);
	line-height: var(--lh-prose);
}

.tf-prose > * + * {
	margin-top: 1em;
}

.tf-prose h2 {
	margin-top: 1.8em;
	margin-bottom: -0.2em;
	font-size: var(--fs-h4);
	line-height: 1.3;
}

.tf-prose h3 {
	margin-top: 1.6em;
	margin-bottom: -0.3em;
	font-size: 1.25rem;
	line-height: 1.35;
}

.tf-prose h4 {
	margin-top: 1.4em;
	font-family: var(--f-body);
	font-size: var(--fs-body);
}

.tf-prose > :first-child {
	margin-top: 0;
}

.tf-prose ul,
.tf-prose ol {
	padding-left: 1.3em;
}

.tf-prose li + li {
	margin-top: 0.35em;
}

.tf-prose li::marker {
	color: var(--c-blue);
}

.tf-prose a {
	color: var(--c-blue-strong);
	text-decoration: underline;
}

.tf-prose a:hover {
	color: var(--c-navy);
}

.tf-prose strong {
	color: var(--c-ink);
}

.tf-prose blockquote {
	padding: 16px 22px;
	border-left: 3px solid var(--c-blue-bright);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	background: var(--c-sky-100);
	color: var(--c-blue-ink);
}

.tf-prose img,
.tf-prose figure img {
	border-radius: var(--r-lg);
}

.tf-prose figcaption {
	margin-top: 8px;
	color: var(--c-muted);
	font-size: var(--fs-xs);
}

/* A tartalomban lévő táblázat felületi dobozban, mint a designban. */
.tf-prose table {
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--c-surface);
}

.tf-prose :is(th, td):first-child {
	padding-left: 18px;
}

.tf-prose :is(th, td):last-child {
	padding-right: 18px;
}

.tf-prose .wp-block-table {
	margin-inline: 0;
	overflow-x: auto;
}

.tf-prose .wp-block-table :is(thead, tfoot) {
	border: 0;
}

.tf-prose .wp-block-table :is(th, td) {
	border-width: 0 0 1px;
	border-color: var(--c-line-soft);
}

/* Oldalszámozás */
.nav-links,
.tf-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--s-8);
}

.nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: var(--r-pill);
	background: var(--c-sky-100);
	color: var(--c-blue-ink);
	font-weight: 600;
	text-decoration: none;
}

.nav-links .page-numbers.current {
	background: var(--c-navy);
	color: #fff;
}

/* A WooCommerce fókuszba teszi az értesítést (képernyőolvasónak), ez nem interaktív elem. */
:where(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-NoticeGroup):focus-visible {
	outline: none;
}
