@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400;1,700&display=swap');

/* Reset theme wrappers for tbt-pg and top wave */
.ff-tbt-landing-page #page-wrap {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	background-image: url('../images/bg-wave-top.webp');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% auto;
}

.ff-tbt-landing-page #notitlebar {
	display: none !important;
}

body.ff-tbt-landing-page,
.ff-tbt-landing-page {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 500;
}

/* Full-bleed sections use 100vw, which includes the desktop scrollbar width -> clip the overflow */
body.ff-tbt-landing-page {
	overflow-x: clip;
}

/* -------------------------------------------------------------
   LANDING TITLEBAR (#fulltitle)
   ------------------------------------------------------------- */
#fulltitle.ff-landing-titlebar,
.ff-tbt-landing-page #fulltitle {
	padding: 20px 0 !important;
	margin-top: -10px !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: relative;
	z-index: 20;
	text-transform: uppercase !important;
}

#fulltitle.ff-landing-titlebar .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 0 160px !important;
	box-sizing: border-box;
}

.ff-titlebar-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end !important;
	gap: 24px;
	flex-wrap: wrap;
	text-transform: uppercase !important;
}

.ff-titlebar-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem !important;
	line-height: 1.4;
	text-transform: uppercase !important;
}

.ff-titlebar-item {
	color: #ffffff !important;
	font-size: 1rem !important;
	font-weight: 300 !important;
	text-decoration: none !important;
	display: inline-block;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: none !important;
}

.ff-titlebar-item:hover,
.ff-titlebar-item:focus,
.ff-titlebar-item:active {
	color: #ffffff !important;
	text-decoration: none !important;
	transform: none !important;
	opacity: 1 !important;
}

.ff-titlebar-kapcsolat {
	/* font-weight: 700 !important; */
	color: #ffffff !important;
	text-transform: uppercase !important;
}

.ff-titlebar-kapcsolat:hover,
.ff-titlebar-kapcsolat:focus,
.ff-titlebar-kapcsolat:active {
	color: #ffffff !important;
	text-decoration: none !important;
	transform: none !important;
	opacity: 1 !important;
}

.ff-titlebar-sep {
	color: #ffffff !important;
	user-select: none;
	font-weight: 300 !important;
	font-size: 1rem !important;
	opacity: 0.75;
}

.ff-titlebar-action {
	display: flex;
	align-items: center;
}

.ff-titlebar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff !important;
	color: #000000 !important;
	border: none !important;
	border-radius: 0.5em !important;
	padding: 10px 1.25rem !important;
	margin-left: 1rem;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	white-space: nowrap;
}

.ff-titlebar-btn:hover {
	background-color: #000000 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	transform: translateY(-1px);
}

.ff-titlebar-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

@media (max-width: 960px) {
	#fulltitle.ff-landing-titlebar .container,
	.ff-tbt-landing-page #fulltitle .container {
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-top: 4.5rem !important;
		width: 100%;
	}
	.ff-titlebar-inner {
		justify-content: center;
		gap: 12px;
	}
	.ff-titlebar-links {
		font-size: 0.95rem !important;
		gap: 10px 10px;
		justify-content: center;
		padding: 0 1rem;
	}
	.ff-titlebar-sep {
		/* display: none !important; */
	}
	.ff-titlebar-item {
		/* display: none !important; */
	}
	.ff-titlebar-btn {
		font-size: 0.95rem !important;
		padding: 8px 18px !important;
		margin-left: 0 !important;
	}
}

/* Anchor Jump Targets */
#aktualis,
#szemelyautok,
#elektromos-autok,
#tehergepkocsik,
#kapcsolat,
#ajanlat,
.ff-anchor-target,
[id^="ff-list-"] {
	scroll-margin-top: 110px;
}

/* Container & Base Layout */
.ff-landing-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 500;
	color: #1a202c;
	line-height: 1.5;
}

/* Zero out default Gutenberg block gap/margin between sections on landing page */
.ff-tbt-landing-page .entry-content > .wp-block-group,
.ff-tbt-landing-page .wp-block-group.ff-landing-section,
.ff-tbt-landing-page .wp-block-group#kapcsolat,
.ff-tbt-landing-page #kapcsolat.wp-block-group,
.ff-tbt-landing-page .wp-block-group:has(.ff-benefits-section),
.ff-tbt-landing-page .wp-block-group:has(.ff-contact-section) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}


/* Group Block Column Width Variations */
.wp-block-group.ff-width-1400,
.wp-block-group.is-style-ff-width-1400 {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.wp-block-group.ff-width-1200,
.wp-block-group.is-style-ff-width-1200 {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.wp-block-group.ff-width-960,
.wp-block-group.is-style-ff-width-960 {
	max-width: 960px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.wp-block-group.ff-width-800,
.wp-block-group.is-style-ff-width-800 {
	max-width: 800px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.wp-block-group.ff-width-640,
.wp-block-group.is-style-ff-width-640 {
	max-width: 640px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.wp-block-group.ff-width-full,
.wp-block-group.is-style-ff-width-full {
	max-width: 100% !important;
	width: 100% !important;
}

.ff-landing-section {
	/* margin-bottom: 60px; */
}

/* -------------------------------------------------------------
   1. HEADER SECTION (tbt-pg-header)
   ------------------------------------------------------------- */
.ff-header-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
	padding: 40px 0 20px;
}

.ff-header-left {
	flex: 1 1 630px;
}

.ff-header-badge {
	display: inline-block;
	background-color: #007bc4;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 6px;
	margin-top: 2rem;
	margin-bottom: 20px;
}

.ff-header-title {
	font-size: 4.45rem;
	font-weight: 900;
	color: #000000;
	line-height: 1.15;
	margin: 0 0 24px;
	letter-spacing: -0.5px;
}

.ff-header-lead {
	border-left: 4px solid #007bc4;
	padding-left: 16px;
	margin-bottom: 30px;
	font-size: 1.5rem;
	font-weight: 500;
	color: #2d3748;
	line-height: 1.1;
}

.ff-header-actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.ff-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #007bc4;
	color: #ffffff !important;
	/* font-size: 14px; */
	font-weight: 700;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: 6px;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease;
	box-shadow: 0 4px 12px rgba(0, 123, 196, 0.25);
}

.ff-btn-primary:hover {
	background-color: #0064a0;
	transform: translateY(-1px);
	color: #ffffff !important;
}

.ff-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	color: #1a202c !important;
	border: 1px solid #cbd5e1;
	/* font-size: 14px; */
	font-weight: 700;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: 6px;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.ff-btn-secondary:hover {
	border-color: #94a3b8;
	background-color: #f8fafc;
	color: #000000 !important;
}

/* Right Inclusion Box */
.ff-header-right {
	flex: 1 1 440px;
}

.ff-inclusion-box {
	background: #ffffff;
	border-radius: 12px;
	padding: 52px 28px;
	border: 1px solid #e2e8f0;
	box-shadow: var(--ff-box-shadow, 2px 4px 0px rgba(0, 0, 0, 0.12));
}

.ff-inclusion-title {
	font-size: 1.6875rem;
	font-weight: 700;
	color: #007bc4;
	text-transform: uppercase;
	margin: 0 0 18px;
	line-height: 1.3;
}

.ff-inclusion-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-inclusion-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 1.2rem;
	color: #334155;
	font-weight: 400;
	line-height: 1.1;
}

.ff-inclusion-list li:last-child {
	border-bottom: none;
}

.ff-circle-check {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	border: 2px solid #007bc4;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.ff-circle-check svg {
	width: 0.875rem;
	height: 0.875rem;
	stroke: #007bc4;
	stroke-width: 2.5;
	fill: none;
}

/* -------------------------------------------------------------
   2. VEHICLE SEARCH SECTION (tbt-pg-vehicle-search)
   ------------------------------------------------------------- */
.ff-vehicle-search-section {
	text-align: center;
	padding: 40px 0 25px;
	position: relative;
	z-index: 10;
}

#aktualis,
.ff-search-results-outer {
	position: relative;
	z-index: 5;
}

.ff-search-main-title {
	font-size: 3.75rem;
	font-weight: 800;
	color: #0f172a;
	text-transform: uppercase;
	margin: 0 auto 10px;
	letter-spacing: -0.5px;
	max-width: 40rem;

}

.ff-search-subtitle {
	font-size: 1.35rem;
	/* color: #475569; */
	margin: 0 0 28px;
}

.ff-search-bar-wrap {
	display: inline-flex;
	align-items: center;
	background-color: #edf2f7;
	border-radius: 10px;
	padding: 6px 12px;
	max-width: 620px;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 24px;
	gap: 12px;
	position: relative;
	z-index: 11;
}

.ff-search-input-box {
	display: flex;
	align-items: center;
	flex: 1;
	background: #ffffff;
	border-radius: 8px;
	padding: 8px 14px;
	position: relative;
	min-width: 0;
	box-sizing: border-box;
}

.ff-search-icon {
	color: #64748b;
	margin-right: 8px;
	flex-shrink: 0;
}

.ff-search-input-box input[type="text"].ff-search-input,
input[type="text"].ff-search-input,
.ff-search-input {
	border: none !important;
	background: transparent !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 auto !important;
	font-size: 15px;
	color: #1e293b;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	height: 3rem !important;
	min-height: unset !important;
	line-height: normal !important;
	display: inline-block !important;
}

.ff-search-input-box input[type="text"].ff-search-input:focus,
input[type="text"].ff-search-input:focus,
.ff-search-input:focus {
	border: none !important;
	outline: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ff-search-clear {
	background: transparent;
	border: none;
	font-size: 20px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	padding: 0 4px;
	flex-shrink: 0;
}

.ff-search-clear:hover {
	color: #334155;
}

.ff-search-counter {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 400;
	color: #334155;
	white-space: nowrap;
	padding-right: 4px;
	flex-shrink: 0;
}

.ff-search-counter .ff-counter-car-icon,
.ff-search-counter svg {
	width: 20px;
	height: 15px;
	fill: #334155;
	color: #334155;
	flex-shrink: 0;
}

.ff-search-categories {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.ff-scat-btn {
	background-color: #f1f5f9;
	color: #334155;
	border: none;
	border-radius: 6px;
	font-size: 1.125rem; /* 18px */
	font-weight: 400;
	text-transform: none; /* ne legyen csupa nagybetu */
	padding: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ff-scat-btn:hover {
	background-color: #e2e8f0;
	color: #0f172a;
}

.ff-scat-btn.active {
	background-color: #007bc4;
	color: #ffffff;
}

.ff-search-divider {
	border: none;
	height: 1px;
	background-color: #e2e8f0;
	margin: 35px auto 0;
	max-width: 1200px;
	width: 100%;
}

.ff-offers-header {
	text-align: center;
	margin-bottom: 20px;
}

.ff-offers-header h2 {
	font-size: 2.75rem; /* 44px */
	font-weight: 900;
	color: #0f172a;
	/* text-transform: uppercase; */
	margin: 0;
}

/* -------------------------------------------------------------
   3. VEHICLE LIST & CARD (tbt-pg-vehicle-card / list)
   ------------------------------------------------------------- */
.ff-vehicle-filter-section + br,
.ff-vehicle-list-outer + br {
	display: none !important;
}

.ff-vehicle-list-outer {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% auto;
	padding-bottom: 40px;
	padding-top: 0.1px;
	z-index: 2;
}

.ff-vehicle-list-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* Category wave backgrounds & section background color */
.ff-vlist-outer-passenger_cars {
	background-image: url('../images/bg-wave-car-top.webp');
	background-color: #f6f8fa;
}

.ff-vlist-outer-electric_cars {
	background-image: url('../images/bg-wave-ev-top.webp');
	background-color: #f6f8fa;
}

.ff-vlist-outer-commercial_vehicles {
	background-image: url('../images/bg-wave-van-top.webp');
	background-color: #f6f8fa;
}

.ff-vehicle-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin-top: 24px;
}

.ff-vehicle-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 20px;
	box-sizing: border-box;
	box-shadow: var(--ff-box-shadow, 2px 4px 0px rgba(0, 0, 0, 0.12));
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	min-width: 0;
	max-width: 100%;
	width: 100%;
	overflow: hidden;
}

.ff-vehicle-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ff-box-shadow-hover, 3px 8px 0px rgba(0, 0, 0, 0.16));
}

.ff-vcard-media {
	position: relative;
	background: #f8fafc;
	border-radius: 12px;
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	overflow: visible;
	margin-bottom: 14px;
}

.ff-vcard-media img {
	max-height: 165px;
	max-width: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.ff-vehicle-card:hover .ff-vcard-media img {
	transform: scale(1.03);
}

.ff-vcard-media-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.ff-vehicle-card {
	scroll-margin-top: 120px;
}

/* Floating Discount Wavy Badge */
.ff-vcard-discount-badge {
	position: absolute;
	top: -10px;
	right: 10px;
	width: 40px;
	height: 40px;
	background: transparent !important;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
}

.ff-vcard-discount-badge .ff-discount-burst,
.ff-vcard-discount-badge svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	fill: var(--ff-card-accent, #007bc4);
	overflow: visible;
}

.ff-vcard-discount-badge .ff-pct {
	position: relative;
	z-index: 3;
	font-size: 1.7rem;
	font-weight: 400;
	margin-left: 2px;
	margin-top: -1px;
	line-height: 1;
	color: #ffffff;
}

/* Category & feature tag badges under photo */
.ff-vcard-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.ff-vcard-tag {
	color: #ffffff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
}

.ff-vcard-title {
	font-size: 1.25rem; /* 20px */
	font-weight: 500;
	color: #0f172a;
	margin: 0 0 14px;
	line-height: 1.3;
	white-space: var(--ff-feat-white-space, nowrap);
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	display: block;
}

/* Daily / Monthly Switcher Toggle */
.ff-vcard-pricing-toggle {
	display: flex;
	background: #f1f5f9;
	border-radius: 6px;
	padding: 3px;
	margin-bottom: 14px;
}

.ff-toggle-btn {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	height: 30px; /* 30 pixel magas */
	line-height: 30px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	color: #475569;
	cursor: pointer;
	transition: all 0.15s ease;
}

.ff-toggle-btn.active {
	background: var(--ff-card-accent, #007bc4);
	color: #ffffff;
}

/* Price Display */
.ff-vcard-price-display {
	/* margin-bottom: 16px; */
	/* min-height: 38px; */
}

.ff-price-view {
	display: none;
	align-items: baseline;
	gap: 4px;
	flex-wrap: wrap;
}

.ff-price-view.active {
	display: flex;
}

.ff-price-prefix {
	font-size: 13px;
	color: #0f172a;
	font-weight: 600;
}

.ff-price-old {
	font-size: 13px;
	color: var(--ff-card-accent, #007bc4);
	font-weight: 700;
	text-decoration: line-through;
}

.ff-helyett {
	font-size: 11px;
	color: var(--ff-card-accent, #007bc4);
	font-weight: 700;
}

.ff-price-val {
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.ff-price-suffix {
	font-size: 13px;
	color: #64748b;
	font-weight: 600;
}

/* Futásteljesítmény / futamidő */
.ff-vcard-terms {
    display: flex;
    gap: 0;
    margin-top: 5px;
    padding: 6px 0 4px 0;
    border-top: 1px solid #e8edf3;
    border-bottom: 1px solid #e8edf3;
}

.ff-vcard-term {
	flex: 1 1 50%;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ff-vcard-term + .ff-vcard-term {
	padding-left: 16px;
	border-left: 1px solid #e8edf3;
}
/* .ff-vcard-term:first-child {
    flex: 1 1 51%;
}
.ff-vcard-term:last-child {
    flex: 1 1 49%;
} */

.ff-vcard-term-label {
	font-size: 12px;
	color: #475569;
	font-weight: 400;
}

.ff-vcard-term-val {
	font-size: 16px;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.2;
}

/* Features checklist 2-column with dynamic content width */
:root {
	/* Jellemzők egysoros levágása: 'nowrap' = 1 sorban marad és levágódik (...), 'normal' = sortörés engedélyezve */
	/* --ff-feat-white-space: nowrap; */
	--ff-feat-white-space: normal;
	/* Globális kártya árnyék (jobbra 2px, lefelé 4px vékony szürke árnyék a design terv szerint) */
	--ff-box-shadow: 2px 4px 0px rgba(0, 0, 0, 0.12);
	--ff-box-shadow-hover: 3px 6px 0px rgba(0, 0, 0, 0.16);
}

.ff-vcard-features {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	display: grid;
	grid-template-columns: auto auto;
	justify-content: space-between;
	gap: 5px 10px;
	border-top: 1px solid #f1f5f9;
	padding-top: 14px;
	flex-grow: 1;
	/* height: 56px; */
}

.ff-vcard-feat-item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #334155;
	line-height: 1;
	min-width: 0;
	overflow: hidden;
}

.ff-vcard-feat-item span {
	white-space: var(--ff-feat-white-space, nowrap);
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	display: inline-block;
}

.ff-check-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	margin-top: 0;
}

/* Custom Floating Bubble Tooltip for Truncated Features */
.ff-bubble-tooltip {
	position: fixed;
	z-index: 999999;
	background: #1e293b;
	color: #ffffff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	padding: 6px 12px;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	white-space: normal;
	max-width: 280px;
	text-align: center;
}

.ff-bubble-tooltip.ff-tip-show {
	opacity: 1;
	transform: translateY(0);
}

.ff-bubble-tooltip::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	border-width: 5px 5px 0 5px;
	border-style: solid;
	border-color: #1e293b transparent transparent transparent;
}

.ff-bubble-tooltip.ff-tip-below::after {
	bottom: auto;
	top: -5px;
	border-width: 0 5px 5px 5px;
	border-color: transparent transparent #1e293b transparent;
}

/* CTA Button */
.ff-vcard-cta {
	margin-bottom: 14px;
}

.ff-vcard-btn {
	display: block;
	width: 100%;
	text-align: center;
	color: #ffffff !important;
	border: none;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.2;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 12px 0;
	border-radius: 6px;
	text-decoration: none !important;
	transition: opacity 0.2s ease, transform 0.15s ease;
	box-sizing: border-box;
}

.ff-vcard-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	color: #ffffff !important;
}

/* Bottom specs row */
.ff-vcard-specs {
	display: flex;
	gap: 6px;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.ff-vcard-specs::-webkit-scrollbar {
	display: none;
}

.ff-vcard-spec-item {
	flex: 1;
	background: #f8fafc;
	border: 1px solid #edf2f7;
	border-radius: 6px;
	padding: 6px 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-size: 11px;
	color: #334155;
	font-weight: 600;
	white-space: var(--ff-feat-white-space, nowrap);
	text-overflow: ellipsis;
	overflow: hidden;
}

.ff-vcard-spec-item svg {
	flex-shrink: 0;
	color: #475569;
}

/* -------------------------------------------------------------
   4. VEHICLE FILTER HEADER SECTION (tbt-pg-vehicle-filter)
   ------------------------------------------------------------- */
.ff-vehicle-filter-section {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	box-sizing: border-box;
	background-color: var(--ff-filter-accent, #007bc4);
}

.ff-filter-header {
	background-color: var(--ff-filter-accent, #007bc4);
	color: #ffffff;
	text-align: center;
	padding: 28px 20px 22px;
	position: relative;
}

.ff-filter-header-inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ff-filter-header-text {
	text-align: center;
	width: 100%;
}

.ff-filter-header-ev .ff-filter-header-img-wrap {
	position: absolute;
	left: calc(50% + 235px);
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 2;
	display: flex;
	align-items: center;
}

.ff-filter-header-ev .ff-filter-ev-img {
	width: 330px;
	height: auto;
	margin-bottom: -3.5%;
	max-height: 200px;
	object-fit: contain;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@media (max-width: 1024px) {
	.ff-filter-header-ev .ff-filter-header-img-wrap {
		left: auto;
		right: 20px;
	}
	.ff-filter-header-ev .ff-filter-ev-img {
		width: 80px;
		max-height: 65px;
	}
}

@media (max-width: 800px) {
	.ff-filter-header-ev .ff-filter-header-img-wrap {
		display: none;
	}
}

.ff-filter-title {
	font-size: 2.875rem; /* 46px */
	font-weight: 900;
	color: #ffffff;
	margin: 0 auto 8px;
	letter-spacing: 0.5px;
	max-width: 1200px;
}

.ff-filter-subtitle {
	font-size: 1rem; /* normal meret */
	color: #ffffff; /* feher szin */
	margin: 0 auto;
	max-width: 1200px;
	font-weight: 300;
}

/* Category dark accent colors */
#szemelyautok,
.ff-vfilter-passenger_cars {
	--ff-filter-dark: #001f46;
}

#elektromos-autok,
.ff-vfilter-electric_cars {
	--ff-filter-dark: #127405;
}

#tehergepkocsik,
.ff-vfilter-commercial_vehicles {
	--ff-filter-dark: #1a222f;
}

.ff-filter-info-bar {
	background-color: transparent;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
}

#szemelyautok .ff-filter-info-bar,
.ff-vfilter-passenger_cars .ff-filter-info-bar {
	background-color: transparent;
}

#elektromos-autok .ff-filter-info-bar,
.ff-vfilter-electric_cars .ff-filter-info-bar {
	background-color: transparent;
}

#tehergepkocsik .ff-filter-info-bar,
.ff-vfilter-commercial_vehicles .ff-filter-info-bar {
	background-color: transparent;
}

/* Díj váltó (Önerővel / Önerő nélkül) - az Opel landing .ff_lp_opel_cars_switch megjelenésével */
.ff-filter-global-toggle {
	display: flex;
	justify-content: center;
	width: fit-content;
	margin: 0 auto;
	padding: 2px;
	gap: 2px;
	border-radius: 10px;
	background-color: #ffffff;
	/* box-shadow: 0 8px 24px rgba(23, 30, 39, 0.22); */
}

.ff-gtoggle-btn {
	min-width: 190px;
	padding: 11px 18px;
	margin: 0 !important;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #000000;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ff-gtoggle-btn:focus-visible {
	outline: 2px solid #007bc4;
	outline-offset: -2px;
}

.ff-gtoggle-btn.active {
	background-color: #16294a;
	color: #ffffff;
}

@media (max-width: 640px) {
	.ff-filter-global-toggle {
		width: 100%;
		max-width: 360px;
	}
	.ff-gtoggle-btn {
		flex: 1 1 0;
		min-width: 0;
		padding: 11px 8px;
		font-size: 13px;
	}
}

.ff-filter-controls-wrap {
	background-color: var(--ff-filter-accent, #007bc4);
	width: 100%;
}

.ff-filter-controls {
	background-color: transparent;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 1.5rem 20px 0rem 20px;
	gap: 15px;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

.ff-filter-tags {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ff-filter-label {
	color: #ffffff;
	font-size: 15px;
	font-weight: 300;
	margin-right: 4px;
}

.ff-filter-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--ff-filter-dark, #0b1a2c);
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.4px;
	line-height: 1;
	height: 28px;
	padding: 2px 12px 0 12px;
	margin: 0 !important;
	cursor: pointer;
	transition: background 0.15s ease;
	vertical-align: middle;
	box-sizing: border-box;
}

#szemelyautok .ff-filter-tag,
.ff-vfilter-passenger_cars .ff-filter-tag {
	background-color: #001f46;
}

#elektromos-autok .ff-filter-tag,
.ff-vfilter-electric_cars .ff-filter-tag {
	background-color: #127405;
}

#tehergepkocsik .ff-filter-tag,
.ff-vfilter-commercial_vehicles .ff-filter-tag {
	background-color: #1a222f;
}

.ff-filter-tag:hover {
	opacity: 0.9;
}

.ff-filter-tag.active {
	background-color: #ffffff !important;
	color: var(--ff-filter-dark, #0b1a2c) !important;
}

#szemelyautok .ff-filter-tag.active,
.ff-vfilter-passenger_cars .ff-filter-tag.active {
	color: #001f46 !important;
}

#elektromos-autok .ff-filter-tag.active,
.ff-vfilter-electric_cars .ff-filter-tag.active {
	color: #127405 !important;
}

#tehergepkocsik .ff-filter-tag.active,
.ff-vfilter-commercial_vehicles .ff-filter-tag.active {
	color: #1a222f !important;
}

.ff-filter-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
}

.ff-sort-dir-toggle {
	background: transparent;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border-radius: 4px;
	transition: opacity 0.15s ease;
}

.ff-sort-dir-toggle:hover {
	opacity: 0.8;
}

.ff-sort-dir-toggle svg {
	width: 18px;
	height: 18px;
	stroke: #ffffff;
	display: block;
	transition: transform 0.25s ease;
}

.ff-sort-dir-toggle[data-dir="desc"] svg {
	transform: scaleY(-1);
}

.ff-sort-icon {
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.ff-sort-icon svg {
	width: 16px;
	height: 16px;
	stroke: #ffffff;
	display: block;
}

.ff-custom-select {
	position: relative;
	display: inline-block;
}

.ff-custom-select-btn {
	background: #ffffff;
	color: #0b1a2c;
	border: none;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
	line-height: 1.3;
	height: 32px;
	box-sizing: border-box;
}

.ff-custom-select-btn:hover,
.ff-custom-select-btn:focus,
.ff-custom-select-btn:active {
	background-color: #f1f5f9 !important;
	color: #0b1a2c !important;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.ff-select-chevron {
	stroke: #0b1a2c;
	transition: transform 0.2s ease;
}

.ff-custom-select-btn:hover .ff-select-chevron,
.ff-custom-select-btn:focus .ff-select-chevron {
	stroke: #0b1a2c !important;
}

.ff-custom-select.open .ff-select-chevron {
	transform: rotate(180deg);
}

.ff-custom-select-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: -2.5rem;
	min-width: 160px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 0;
	margin: 0;
	list-style: none;
	z-index: 999;
	overflow: hidden;
	display: none;
	animation: ffDropdownFadeIn 0.15s ease;
}

.ff-custom-select.open .ff-custom-select-menu {
	display: block;
	border: 1px solid #ffffff;
}

@keyframes ffDropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ff-custom-select-item {
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 400;
	color: #0b1a2c;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
	border-bottom: 1px solid #f1f5f9;
}

.ff-custom-select-item:last-child {
	border-bottom: none;
}

.ff-custom-select-item:hover {
	background-color: #f1f5f9;
	color: #0b1a2c;
}

.ff-custom-select-item.active,
.ff-custom-select-item.active:hover {
	background-color: var(--ff-filter-dark, #0b1a2c);
	color: #ffffff;
}

#szemelyautok .ff-custom-select-item.active,
#szemelyautok .ff-custom-select-item.active:hover,
.ff-vfilter-passenger_cars .ff-custom-select-item.active,
.ff-vfilter-passenger_cars .ff-custom-select-item.active:hover {
	background-color: #001f46;
	color: #ffffff;
}

#elektromos-autok .ff-custom-select-item.active,
#elektromos-autok .ff-custom-select-item.active:hover,
.ff-vfilter-electric_cars .ff-custom-select-item.active,
.ff-vfilter-electric_cars .ff-custom-select-item.active:hover {
	background-color: #127405;
	color: #ffffff;
}

#tehergepkocsik .ff-custom-select-item.active,
#tehergepkocsik .ff-custom-select-item.active:hover,
.ff-vfilter-commercial_vehicles .ff-custom-select-item.active,
.ff-vfilter-commercial_vehicles .ff-custom-select-item.active:hover {
	background-color: #1a222f;
	color: #ffffff;
}

/* -------------------------------------------------------------
   5. SERVICES SECTION (tbt-pg-services)
   ------------------------------------------------------------- */
.ff-services-section {
	text-align: center;
	padding: 40px 0 100px;
	position: relative;
	z-index: 1;
}

.ff-services-section::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
	height: 50vw;
	min-height: 100%;
	background-image: url('../images/bg-wave-services.webp');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% auto;
	pointer-events: none;
	z-index: 0;
}

.ff-services-section > * {
	position: relative;
	z-index: 1;
}

.ff-services-title {
	font-size: 3.5625rem; /* 57px */
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 8px;
}

.ff-services-title span {
	color: #007bc4;
}

.ff-services-subtitle {
	font-size: 1.35rem;
	font-weight: 500;
	margin: 0 0 28px;
}

.ff-services-grid {
	display: grid;
	/* !important: WordPress core injects a competing grid-template-columns rule
	   for Group blocks with layout type "grid" (wp-includes/block-supports/layout.php) */
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 2.375rem; /* 38px */
}

.ff-service-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px 20px;
	box-shadow: var(--ff-box-shadow, 2px 4px 0px rgba(0, 0, 0, 0.12));
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-service-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--ff-box-shadow-hover, 3px 8px 0px rgba(0, 0, 0, 0.16));
}

.ff-service-icon {
	margin-bottom: 16px;
	color: #1a202c;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ff-service-icon svg {
	width: 72px; /* 70-75px */
	height: 72px;
	stroke: #1a202c;
}

.ff-service-name {
	font-size: 1.375rem; /* 22px */
	font-weight: 800;
	color: #007bc4;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.ff-service-desc {
	font-size: 1.0625rem; /* 17px */
	font-weight: 600;
	color: #475569;
	margin: 0;
	line-height: 1.45;
}

/* -------------------------------------------------------------
   6. MORE INFO BOX (tbt-pg-more-box)
   ------------------------------------------------------------- */
.ff-more-box {
	background-color: #007bc4;
	border-radius: 16px;
	padding: 0;
	display: flex;
	align-items: flex-end;
	gap: 30px;
	color: #ffffff;
	position: relative;
	box-shadow: var(--ff-box-shadow, 2px 4px 0px rgba(0, 0, 0, 0.12));
	margin: 50px 0 40px;
	overflow: visible;
	align-items: center;
}

/* A fotó ~1rem-mel kilóg a kék doboz tetején, alul a doboz aljáig ér, ott levágva */
.ff-more-person {
	position: relative;
	flex-shrink: 0;
	width: 200px;
	min-height: 200px;
	margin-top: -1rem;
	margin-bottom: 0;
	margin-left: 0;
	align-self: stretch;
	border-radius: 16px 16px 0 16px;
	overflow: hidden;
	background: transparent;
	border: none;
}

.ff-more-person img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center top;
	border-radius: 16px 16px 0 16px;
	margin: 0;
}

.ff-more-text {
	flex: 1;
	text-align: center;
	padding-bottom: 8px;
    padding: 3% 6%;
    box-sizing: border-box;
}

.ff-more-text p {
	font-size: 17px;
	line-height: 1.55;
	color: #ffffff;
	margin: 0 0 12px;
	font-weight: 400;
}

.ff-more-chevron {
	display: inline-block;
	font-size: 3.125rem; /* ~50px */
	font-weight: 900;
	line-height: 0.6;
	color: #ffffff;
	text-decoration: none !important;
	transform: scale(1.3, 0.65); /* felulrol kissé lapitott */
	transform-origin: center center;
}

/* -------------------------------------------------------------
   7. BENEFITS SECTION (tbt-pg-benefits)
   ------------------------------------------------------------- */
.ff-benefits-section {
	text-align: center;
	padding: 50px 20px;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	box-sizing: border-box;
	background-color: #f6f8fa;
}

.ff-benefits-section .ff-benefits-title,
.ff-benefits-section .ff-benefits-grid {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.ff-benefits-title {
	font-size: 3.5625rem; /* 57px */
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 32px;
	text-transform: uppercase;
}

.ff-benefits-grid {
	display: grid;
	/* !important: see .ff-services-grid comment above */
	grid-template-columns: repeat(5, 1fr) !important;
	gap: 1.4375rem; /* 23px */
}

.ff-benefit-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px 16px;
	box-shadow: var(--ff-box-shadow, 2px 4px 0px rgba(0, 0, 0, 0.12));
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: 1rem; /* normal meret */
	color: #334155;
	line-height: 1.45;
}

.ff-benefit-icon {
	width: 42px; /* 42px */
	height: 42px; /* 42px */
	border: 2px solid #007bc4;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	flex-shrink: 0;
}

.ff-benefit-icon svg {
	width: 20px;
	height: 20px;
	stroke: #007bc4;
	stroke-width: 2.5;
	fill: none;
}

.ff-benefit-card p {
	margin: 0;
	font-size: 1rem;
}

.ff-benefit-card strong {
	color: #0f172a;
}

/* -------------------------------------------------------------
   8. CONTACT SECTION (tbt-pg-contact / form / infos)
   ------------------------------------------------------------- */
.ff-contact-section {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 50px 20px 90px;
	box-sizing: border-box;
	background-image: url('../images/bg-wave-kapcsolat-bottom.webp');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100% auto;
	background-color: #f6f8fa;
}

.ff-contact-section .ff-contact-main-title,
.ff-contact-section .ff-contact-grid {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.ff-contact-section::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 2rem;
	height: 1rem;
	background-color: #007bc4;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	z-index: 10;
}

.ff-contact-main-title {
	text-align: center;
	font-size: 3.125rem; /* 50px */
	font-weight: 900;
	color: #0f172a;
	text-transform: uppercase;
	margin: 0 0 32px;
}

.ff-contact-grid {
	display: grid;
	/* !important: see .ff-services-grid comment above */
	grid-template-columns: 1fr 1.3fr !important;
	gap: 32px;
	align-items: stretch;
}

/* Left Contact Infos */
.ff-contact-infos-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px;
	box-shadow: var(--ff-box-shadow, 2px 4px 0px rgba(0, 0, 0, 0.12));
	display: flex;
	flex-direction: column;
	/* explicit stretch: WordPress's global .is-layout-flex rule forces align-items:center otherwise */
	align-items: stretch;
}

.ff-cinfos-title {
	font-size: 2.5rem; /* 40px */
	font-weight: 800;
	color: #007bc4;
	margin: 0 0 8px;
	text-align: center; /* kozepre igazitva */
}

.ff-cinfos-subtitle {
	font-size: 1rem; /* normal meret */
	color: #475569;
	margin: 0 0 20px;
	line-height: 1.4;
	text-align: center; /* kozepre igazitva */
}

.ff-cinfos-divider {
	height: 1px;
	background-color: #e2e8f0;
	margin-bottom: 20px;
}

.ff-cinfos-items {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.ff-cinfos-items li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 1rem; /* normal meret */
	color: #1e293b;
	font-weight: 500;
}

.ff-cinfos-items a {
	min-width: 0;
	overflow-wrap: anywhere;
	color: #007bc4 !important;
	text-decoration: underline !important;
}

.ff-cinfos-map-wrap {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	flex-grow: 1;
	min-height: 220px;
}

.ff-cinfos-map-wrap iframe {
	width: 100%;
	height: 100%;
	min-height: 220px;
	border: none;
	display: block;
}

/* Right Contact Form */
.ff-contact-form-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px;
	box-shadow: var(--ff-box-shadow, 2px 4px 0px rgba(0, 0, 0, 0.12));
}

@media (max-width: 768px) {
	.ff-contact-form-card {
		padding: 36px 20px;
	}
}

.ff-cform-title {
	font-size: 2.5rem; /* 40px */
	font-weight: 900;
	color: #0f172a;
	text-align: center; /* kozepre igazitva */
	margin: 0 0 10px;
}

.ff-cform-subtitle {
	font-size: 1rem; /* normal meret */
	color: #475569;
	text-align: center; /* kozepre igazitva */
	margin: 0 0 28px;
	line-height: 1.45;
}

/* CF7 inputs within tbt-pg */
.ff-contact-form-card .wpcf7-form,
.ff-popup-form-card .wpcf7-form {
	margin: 0;
	padding: 0;
}

.ff-cform-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.ff-cform-wrap p {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

.ff-cform-wrap br {
	display: none !important;
}

.ff-cform-wrap > .wpcf7-form-control-wrap,
.ff-contact-form-card .wpcf7-form-control-wrap,
.ff-popup-form-card .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	margin-bottom: 0;
}

.ff-cform-row {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 14px !important;
	width: 100% !important;
}

.ff-cform-row > .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
}

.ff-cform-field,
.ff-cform-wrap input[type="text"],
.ff-cform-wrap input[type="email"],
.ff-cform-wrap input[type="tel"],
.ff-cform-wrap input[type="date"],
.ff-cform-wrap select,
.ff-contact-form-card input[type="date"],
.ff-popup-form-card input[type="date"] {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 44px;
	height: 44px;
	margin: 5px 0 0 !important;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 1rem; /* normal meret */
	color: #1e293b;
	background-color: #ffffff;
	box-sizing: border-box !important;
	transition: border-color 0.2s ease;
	outline: none;
	font-family: inherit;
}

.ff-contact-form-card .simpleselect,
.ff-popup-form-card .simpleselect {
	display: none !important;
}

.ff-contact-form-card .hidden_select_container,
.ff-popup-form-card .hidden_select_container {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	overflow: visible !important;
}

select.ff-cform-field,
.ff-cform-wrap select,
.ff-contact-form-card select,
.ff-popup-form-card select {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: #ffffff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 16px 16px !important;
	padding-right: 36px !important;
}

.ff-cform-wrap input[type="date"]::-webkit-calendar-picker-indicator,
.ff-contact-form-card input[type="date"]::-webkit-calendar-picker-indicator,
.ff-popup-form-card input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.75;
	padding: 4px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ff-cform-wrap input[type="date"]::-webkit-calendar-picker-indicator:hover,
.ff-contact-form-card input[type="date"]::-webkit-calendar-picker-indicator:hover,
.ff-popup-form-card input[type="date"]::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
	transform: scale(1.1);
}

.ff-cform-field:focus,
.ff-cform-wrap input:focus,
.ff-cform-wrap select:focus {
	border-color: #007bc4;
}

.ff-cform-textarea,
.ff-cform-wrap textarea,
.ff-contact-form-card textarea,
.ff-popup-form-card textarea {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 90px;
	margin: 5px 0 0 !important;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 1rem; /* normal meret */
	color: #1e293b;
	background-color: #ffffff;
	box-sizing: border-box !important;
	resize: vertical;
	outline: none;
	font-family: inherit;
}

.ff-cform-textarea:focus,
.ff-cform-wrap textarea:focus {
	border-color: #007bc4;
}

.ff-cform-consent {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	width: 100% !important;
	gap: 8px;
	font-size: 1rem; /* normal meret */
	color: #475569;
	margin: 8px auto 16px !important;
}

.ff-cform-consent .wpcf7-form-control-wrap,
.ff-cform-consent .wpcf7-acceptance,
.ff-cform-consent .wpcf7-list-item {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	margin: 0 auto !important;
}

.ff-cform-consent label {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	cursor: pointer;
	margin: 0 !important;
	color: #475569;
	font-weight: 400;
}

.ff-cform-consent input[type="checkbox"] {
	margin: 0 !important;
	cursor: pointer;
	width: 16px;
	height: 16px;
	accent-color: #007bc4;
}

.ff-cform-consent a {
	color: #007bc4;
	text-decoration: underline;
}

.ff-cform-submit-wrap {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	text-align: center !important;
	width: 100% !important;
	margin: 8px auto 0 auto !important;
	position: relative !important;
}

.ff-cform-submit {
	display: inline-block !important;
	width: auto !important;
	min-width: 240px !important;
	margin: 0 auto !important;
	background-color: #007bc4 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 6px !important;
	font-size: 1rem !important; /* normal meret */
	font-weight: 800 !important;
	padding: 16px 48px !important;
	cursor: pointer !important;
	text-align: center !important;
	transition: background-color 0.2s ease, transform 0.15s ease !important;
	text-transform: uppercase !important;
}

.ff-cform-submit-wrap .wpcf7-spinner {
	position: absolute !important;
	margin: 0 !important;
	right: 15px !important;
}

.ff-cform-submit:hover {
	background-color: #0064a0 !important;
	transform: translateY(-1px) !important;
}

/* Letiltott / inaktív elküldés gomb (pl. amíg az elfogadás nincs bepipálva) */
.ff-cform-submit:disabled,
.ff-cform-submit[disabled],
.ff-contact-form-card input[type="submit"]:disabled,
.ff-contact-form-card input[type="submit"][disabled],
.ff-popup-form-card .ff-cform-submit:disabled,
.ff-popup-form-card .ff-cform-submit[disabled],
.ff-popup-form-card input[type="submit"]:disabled,
.ff-popup-form-card input[type="submit"][disabled],
.ff-contact-form-card button[type="submit"]:disabled,
.ff-contact-form-card button[type="submit"][disabled],
.ff-popup-form-card button[type="submit"]:disabled,
.ff-popup-form-card button[type="submit"][disabled] {
	background-color: #94a3b8 !important;
	color: #ffffff !important;
	cursor: not-allowed !important;
	opacity: 0.65 !important;
	transform: none !important;
	box-shadow: none !important;
	pointer-events: auto !important;
}

.ff-cform-submit:disabled:hover,
.ff-cform-submit[disabled]:hover,
.ff-contact-form-card input[type="submit"]:disabled:hover,
.ff-contact-form-card input[type="submit"][disabled]:hover,
.ff-popup-form-card .ff-cform-submit:disabled:hover,
.ff-popup-form-card .ff-cform-submit[disabled]:hover,
.ff-popup-form-card input[type="submit"]:disabled:hover,
.ff-popup-form-card input[type="submit"][disabled]:hover,
.ff-contact-form-card button[type="submit"]:disabled:hover,
.ff-contact-form-card button[type="submit"][disabled]:hover,
.ff-popup-form-card button[type="submit"]:disabled:hover,
.ff-popup-form-card button[type="submit"][disabled]:hover {
	background-color: #94a3b8 !important;
	color: #ffffff !important;
	cursor: not-allowed !important;
	transform: none !important;
	box-shadow: none !important;
}

/* -------------------------------------------------------------
   9. SALES REP SECTION (tbt-pg-sales-rep)
   ------------------------------------------------------------- */
.ff-srep-wrapper,
#kapcsolat,
.ff-landing-section:has(.ff-sales-rep-section),
.ff-landing-section:has(.ff-contact-section) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.ff-sales-rep-section {
	background-color: #1a202c;
	color: #ffffff;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	border-radius: 0;
	padding: 50px 20px;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	text-align: center;
	box-sizing: border-box;
	font-weight: 300; /* vekonyabb 300 vastagsag */
}

.ff-sales-rep-section::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 2rem;
	height: 1rem;
	background-color: #1a202c;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	z-index: 10;
}

.ff-srep-header-sub {
	font-size: 1rem;
	letter-spacing: 1px;
	color: #ffffff;
	text-transform: uppercase;
	margin: 0 0 6px;
	font-weight: 300;
}

.ff-srep-header-main {
	font-size: 1.625rem;
	font-weight: 300;
	letter-spacing: 0.5px;
	color: #ffffff;
	text-transform: uppercase;
	margin: 0 0 28px;
}

.ff-srep-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.ff-srep-avatar {
	width: 170px;
	height: 170px;
	border-radius: 0;
	border: none !important;
	overflow: hidden;
	margin-bottom: 2rem;
}

.ff-srep-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	border-radius: 0;
	border: none !important;
}

.ff-srep-name {
	font-size: 1.45rem;
	font-weight: 700 !important;
	color: #ffffff;
	margin: 0 0 1rem;
}

.ff-srep-role {
	font-size: 1rem;
	font-weight: 300;
	color: #ffffff;
	margin: 0 0 16px;
	max-width: 540px;
}

.ff-srep-contacts {
	font-size: 1rem;
	font-weight: 300;
	color: #ffffff;
	line-height: 1.8;
}

.ff-srep-contacts a {
	color: #ffffff !important;
	text-decoration: underline !important;
	font-weight: 300;
}

.ff-srep-hours {
	font-size: 1rem;
	font-weight: 300;
	color: #ffffff;
	margin-top: 4px;
}

/* -------------------------------------------------------------
   10. MOTTO SECTION (tbt-pg-motto)
   ------------------------------------------------------------- */
.ff-motto-wrapper,
.ff-landing-section:has(.ff-motto-section) {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.ff-motto-section {
	background-color: #007bc4;
	color: #ffffff;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	border-radius: 0 !important;
	padding: 75px 20px;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	text-align: center;
	box-sizing: border-box;
	font-weight: 300;
}

.ff-motto-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.ff-motto-sub {
	font-size: 1rem;
	color: #ffffff;
	margin: 0 0 8px;
	font-weight: 300;
}

.ff-motto-main {
	font-size: 2.625rem;
	font-weight: 200;
	color: #ffffff;
	text-transform: uppercase;
	margin: 0.5em auto 0.75em auto;
	letter-spacing: 0.5px;
}

.ff-motto-desc {
	font-size: 1rem;
	color: #ffffff;
	margin: 0 auto;
	max-width: 1200px;
	font-weight: 300;
}

/* -------------------------------------------------------------
   RESPONSIVENESS (Tablet & Mobile)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
	.ff-vehicle-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ff-services-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.ff-benefits-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 768px) {
	.ff-header-wrap {
		flex-direction: column;
	}
	.ff-header-left {
		flex: 1 1;
	}
	.ff-header-title {
		font-size: 32px;
	}
	.ff-search-main-title {
		font-size: 2rem;
	}
	.ff-scat-btn {
		font-size: 0.825rem;
	}
	.ff-filter-title {
		font-size: 2.25rem;
	}
	.ff-filter-controls {
		flex-direction: column;
		align-items: stretch;
	}
	.ff-filter-tags {
		justify-content: center;
	}
	.ff-filter-label {
		width: 100%;
		text-align: center;
		margin-right: 0;
		margin-bottom: 4px;
	}
	.ff-filter-sort {
		justify-content: center;
	}
	.ff-vehicle-grid {
		grid-template-columns: 1fr;
	}
	.ff-services-title {
		font-size: 2.25rem;
	}
	.ff-services-grid {
		grid-template-columns: 1fr !important;
	}
	.ff-benefits-title,
	.ff-benefits-section .ff-benefits-title {
		font-size: 2.25rem;
	}
	.ff-benefits-grid {
		grid-template-columns: 1fr !important;
	}
	/* minmax(0, ...): a sima 1fr a tartalom min-szélességére nyúlik (hosszú e-mail) és kilóg a képből */
	.ff-contact-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.ff-cform-row {
		grid-template-columns: 1fr !important;
	}
	.ff-motto-main {
		max-width: 310px;
	}
	.ff-more-box {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 0;
	}
	.ff-more-person {
		align-self: center;
		height: 200px;
		margin-top: -1rem;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 0;
		border-radius: 40%;
	}
	.ff-more-person img {
		border-radius: 40%;
		object-position: center top;
	}
	.ff-more-text {
		text-align: center;
		width: 100%;
		padding: 0rem 1.5rem 1.5rem 1.5rem;
		box-sizing: border-box;
	}
	.ff-popup-body {
		grid-template-columns: 1fr !important;
	}
	.ff-popup-close {
		top: 10px !important;
		right: 10px !important;
	}
	.ff-popup-dialog {
		padding: 20px 16px !important;
	}
}

/* =============================================================
   10. POPUP MODAL (tbt-pg-popup)
   ============================================================= */
html.ff-popup-open,
body.ff-popup-open {
	overflow: hidden !important;
}

.ff-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ff-popup-overlay.ff-popup-active {
	opacity: 1;
	visibility: visible;
}

.ff-popup-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
}

.ff-popup-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 20px;
	max-width: 800px;
	width: 100%;
	box-sizing: border-box;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
	z-index: 2;
	overflow: visible;
	transform: scale(0.94) translateY(10px);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ff-popup-scroll {
	max-height: 88vh;
	overflow-y: auto;
	padding: 28px 32px 32px;
	border-radius: 20px;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.ff-popup-scroll {
		padding: 28px 10px 32px;
	}
}

.ff-popup-overlay.ff-popup-active .ff-popup-dialog {
	transform: scale(1) translateY(0);
}

/* Close Button (Circle with white border) */
.ff-popup-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 36px;
	height: 36px;
	background: #000000;
	color: #ffffff;
	border: 3px solid #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	padding: 0;
	transition: transform 0.15s ease, background-color 0.15s ease;
	z-index: 10;
}

.ff-popup-close:hover {
	transform: scale(1.1);
	background-color: #007bc4;
}

/* Header Banner */
.ff-popup-header-banner {
	background: #007bc4;
	color: #ffffff;
	text-align: center;
	border-radius: 8px;
	padding: 10px 20px;
	margin-bottom: 24px;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Popup Body 2-Column Grid */
.ff-popup-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
}

/* Left Column */
.ff-popup-left-col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0;
	padding-right: 1.5rem;
	border-right: 1px solid #e2e8f0;
}

.ff-popup-car-preview {
	display: flex;
	flex-direction: column;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 0;
}

.ff-popup-car-media {
	height: auto;
	min-height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.ff-popup-car-media img {
	max-height: 200px !important;
	max-width: 100%;
	object-fit: contain;
}

.ff-popup-car-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.ff-popup-car-tags .ff-vcard-tag {
	font-size: 10px;
	padding: 2px 8px;
	border-radius: 4px;
	color: #ffffff;
	background-color: #007bc4;
	font-weight: 700;
	display: inline-block;
}

.ff-popup-car-title {
	font-size: 20px;
	font-weight: 500;
	color: #0f172a;
	margin: 0 0 15px;
	line-height: 1.3;
}

.ff-popup-car-features {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 8px;
	font-size: 11px;
	color: #334155;
}

.ff-popup-car-features .ff-vcard-feat-item {
	display: flex;
	align-items: center;
	gap: 5px;
	line-height: 1.2;
}

.ff-popup-car-specs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	font-size: 11px;
	color: #334155;
}

.ff-popup-car-specs .ff-vcard-spec-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	padding: 4px 8px;
}

/* Sales Rep Info in Popup */
.ff-popup-sales-rep {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 1.5rem 0 0 0 !important;
}

.ff-popup-srep-avatar {
	flex: 0 0 35%;
	width: 35%;
	aspect-ratio: 1 / 1;
	height: auto;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.ff-popup-srep-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ff-popup-srep-info {
	flex: 1;
	min-width: 0;
	font-size: 12px;
	line-height: 1.35;
	color: #334155;
}

.ff-popup-srep-name {
	font-size: 1.2rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.ff-popup-srep-role {
	font-size: 11px;
	color: #64748b;
	margin: 0 0 4px;
}

.ff-popup-srep-contacts {
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 4px;
}

.ff-popup-srep-contacts a {
	color: #007bc4 !important;
	text-decoration: underline !important;
}

.ff-popup-srep-motto {
	font-size: 10px;
	color: #64748b;
	font-style: italic;
	margin: 0;
	line-height: 1.3;
}

/* Right Column: Form Card */
.ff-popup-right-col {
	display: flex;
	flex-direction: column;
	padding-left: 1.5rem;
}

.ff-popup-form-card .wpcf7-form,
.ff-popup-form-card .ff-cform-wrap {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

.ff-popup-form-card .ff-cform-row {
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
	width: 100% !important;
}

.ff-popup-form-card .wpcf7-form-control-wrap {
	margin: 0 !important;
	display: block !important;
	width: 100% !important;
}

.ff-popup-form-card .ff-cform-field,
.ff-popup-form-card input[type="text"],
.ff-popup-form-card input[type="email"],
.ff-popup-form-card input[type="tel"],
.ff-popup-form-card input[type="date"],
.ff-popup-form-card select {
	margin: 0 !important;
	padding: 8px 12px;
	font-size: 1rem;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	width: 100% !important;
	min-height: 40px !important;
	height: 40px !important;
	box-sizing: border-box !important;
}

.ff-popup-form-card select {
	padding-right: 32px !important;
	background-position: right 10px center !important;
}

.ff-popup-form-card .ff-cform-textarea,
.ff-popup-form-card textarea {
	margin: 0 !important;
	min-height: 55px;
	padding: 8px 12px;
	font-size: 1rem;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	width: 100% !important;
}

.ff-popup-form-card .ff-cform-consent,
.ff-popup-form-card .ff-cform-consent .wpcf7-form-control-wrap,
.ff-popup-form-card .ff-cform-consent .wpcf7-acceptance,
.ff-popup-form-card .ff-cform-consent .wpcf7-list-item,
.ff-popup-form-card .ff-cform-consent label {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	text-align: left !important;
	margin: 0 !important;
}

.ff-popup-form-card .ff-cform-consent {
	font-size: 12px;
	margin: 0.5rem 0 !important;
	gap: 6px !important;
	width: 100% !important;
}

.ff-popup-form-card .ff-cform-submit-wrap {
	display: flex !important;
	justify-content: flex-start !important;
	text-align: left !important;
	margin-top: 2px !important;
}

.ff-popup-form-card .ff-cform-submit {
	width: auto !important;
	min-width: 180px;
	max-width: 100%;
	display: inline-block !important;
	padding: 14px 44px;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	border-radius: 6px;
}

@media (max-width: 768px) {
	.ff-popup-body {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.ff-popup-left-col {
		border-right: none;
		border-bottom: 1px solid #e2e8f0;
		padding-right: 0;
		padding-bottom: 1.5rem;
	}
	.ff-popup-right-col {
		padding-left: 0;
		padding-top: 1.5rem;
	}
}

/* -------------------------------------------------------------
   STICKY CONTACT WIDGET (RIGHT SIDEBAR)
   ------------------------------------------------------------- */
.ff-sticky-contact-widget {
	position: fixed;
	top: 325px;
	right: 0;
	z-index: 99999;
	background-color: #000000;
	border-radius: 8px 0 0 8px;
	box-shadow: var(--ff-box-shadow-sticky, -2px 4px 0px rgba(0, 0, 0, 0.12));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 6px 0;
	width: 48px;
	overflow: hidden;
}

.ff-sticky-contact-widget .ff-sticky-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: #ffffff !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.2s ease;
	position: relative;
	box-sizing: border-box;
}

.ff-sticky-contact-widget .ff-sticky-btn:hover {
	background-color: rgba(255, 255, 255, 0.15);
	color: #ffffff !important;
}

.ff-sticky-contact-widget .ff-sticky-btn svg {
	width: 22px;
	height: 22px;
	stroke: #ffffff;
	transition: transform 0.2s ease;
}

.ff-sticky-contact-widget .ff-sticky-btn:hover svg {
	transform: scale(1.1);
}

.ff-sticky-contact-widget .ff-sticky-divider {
	width: 30px;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.35);
	margin: 2px 0;
}

@media (max-width: 768px) {
	.ff-sticky-contact-widget {
		top: 250px;
		width: 40px;
		border-radius: 7px 0 0 7px;
		padding: 4px 0;
	}
	.ff-sticky-contact-widget .ff-sticky-btn {
		width: 40px;
		height: 40px;
	}
	.ff-sticky-contact-widget .ff-sticky-btn svg {
		width: 18px;
		height: 18px;
	}
	.ff-sticky-contact-widget .ff-sticky-divider {
		width: 24px;
	}
}

/* =============================================================
   VEHICLE IMAGE LIGHTBOX MODAL (ff-lightbox)
   ============================================================= */

.ff-vcard-media.ff-lightbox-enabled,
.ff-vcard-media.ff-vcard-lightbox,
.ff-vcard-media.has-lightbox,
.ff-vehicle-card.ff-lightbox-enabled .ff-vcard-media,
.ff-vehicle-card.ff-vcard-lightbox .ff-vcard-media,
.ff-vehicle-card.has-lightbox .ff-vcard-media {
	cursor: pointer;
}

.ff-vcard-media.ff-lightbox-enabled img,
.ff-vcard-media.ff-vcard-lightbox img,
.ff-vcard-media.has-lightbox img,
.ff-vehicle-card.ff-lightbox-enabled .ff-vcard-media img,
.ff-vehicle-card.ff-vcard-lightbox .ff-vcard-media img,
.ff-vehicle-card.has-lightbox .ff-vcard-media img {
	cursor: pointer;
}

.ff-lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(10, 15, 26, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
	padding: 24px;
	box-sizing: border-box;
	user-select: none;
}

.ff-lightbox-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Header bar with title, counter and close button */
.ff-lightbox-header {
	position: absolute;
	top: 24px;
	left: 0;
	width: 100%;
	padding: 0 32px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 10;
}

.ff-lightbox-title-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: calc(100% - 120px);
}

.ff-lightbox-title {
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 800;
	margin: 0;
	padding: 0;
	line-height: 1.25;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ff-lightbox-counter {
	color: #94a3b8;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.ff-lightbox-close {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	line-height: 1;
	transition: all 0.2s ease;
	outline: none;
	padding: 0;
}

.ff-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.08);
	color: #ffffff;
}

/* Content stage */
.ff-lightbox-stage {
	position: relative;
	width: 100%;
	max-width: 1100px;
	height: calc(100vh - 160px);
	max-height: 680px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.ff-lightbox-img-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 100%;
}

.ff-lightbox-img {
	max-width: 90vw;
	max-height: 65vh;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
	transform: scale(0.92);
	opacity: 0;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.ff-lightbox-overlay.active .ff-lightbox-img {
	transform: scale(1);
	opacity: 1;
}

.ff-lightbox-img.sliding-out-left {
	transform: translateX(-40px) scale(0.95);
	opacity: 0;
}

.ff-lightbox-img.sliding-out-right {
	transform: translateX(40px) scale(0.95);
	opacity: 0;
}

/* Navigation Arrows */
.ff-lightbox-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #ffffff;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	z-index: 10;
	outline: none;
	padding: 0;
}

.ff-lightbox-arrow svg {
	width: 24px;
	height: 24px;
	stroke: #ffffff;
	stroke-width: 2.5;
	fill: none;
	transition: transform 0.2s ease;
}

.ff-lightbox-arrow:hover {
	background: rgba(0, 123, 196, 0.85);
	border-color: #007bc4;
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 8px 24px rgba(0, 123, 196, 0.4);
}

.ff-lightbox-prev {
	left: 20px;
}

.ff-lightbox-prev:hover svg {
	transform: translateX(-2px);
}

.ff-lightbox-next {
	right: 20px;
}

.ff-lightbox-next:hover svg {
	transform: translateX(2px);
}

@media (max-width: 768px) {
	.ff-lightbox-header {
		top: 16px;
		padding: 0 16px;
	}
	.ff-lightbox-title {
		font-size: 1.15rem;
	}
	.ff-lightbox-stage {
		height: calc(100vh - 130px);
	}
	.ff-lightbox-img {
		max-height: 55vh;
		max-width: 88vw;
	}
	.ff-lightbox-arrow {
		width: 40px;
		height: 40px;
	}
	.ff-lightbox-arrow svg {
		width: 18px;
		height: 18px;
	}
	.ff-lightbox-prev {
		left: 8px;
	}
	.ff-lightbox-next {
		right: 8px;
	}
}


/* Popup: a "your-model" mező rejtett (a kiválasztott autót a JS állítja be) */
#ff-popup-form-card .wpcf7-form-control-wrap[data-name="your-model"] {
	display: none;
}

/* Oldali űrlap: a "your-model" mező teljes hasábszélességű */
.ff-contact-form-card .wpcf7-form-control-wrap[data-name="your-model"],
.ff-contact-form-card .ff-cform-row > .wpcf7-form-control-wrap[data-name="your-model"] {
	grid-column: 1 / -1;
	display: block !important;
	width: 100% !important;
}

.ff-contact-form-card select[name="your-model"] {
	width: 100% !important;
}

/* Kereső: lábjegyzet és "Nem találta meg az autót?" blokk */
.ff-search-footnote {
	margin: -18px 0 22px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #64748b;
}

.ff-search-notfound {
	max-width: 860px;
	margin: 32px auto 0;
	text-align: center;
	font-weight: 400;
}

.ff-search-notfound-text {
	margin: 0 0 18px;
	font-size: 1.05rem;
	line-height: 1.5;
}

.ff-search-notfound-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}
