@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700&display=swap');

/* ============================================================
 * Akkumentő — ported from child_laszlo17/style.css
 * Asset paths rewritten to /media/wp-uploads/...
 * ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	padding: 0;
	color: #888;
	font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	background: #fff;
}

img, video { height: auto; max-width: 100%; width: auto; }

a {
	color: #000;
	text-decoration: none;
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
	transition: color .15s ease;
}
a:hover { color: #0094ff; box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important; }

ul { list-style: none; padding: 0; margin: 0; }

hr {
	background-color: transparent;
	border: 0;
	height: 4px;
	color: #000;
	margin-top: 20px;
	margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
	line-height: 1.3;
	margin: 0 0 .5em;
}
h1 {
	font-size: 22px;
	font-weight: 700;
	padding: .5em 0 0;
}
h2 { padding-top: 10px; color: #060000; font-size: 20px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }

p { margin: 0 0 1em; }

.section_h1 {
	font-size: 26px;
	font-weight: 700;
	color: #000;
	padding: 1em 0 0 30px;
}

/* ============================================================
 * Layout primitives
 * ============================================================ */

#wrapper { min-height: 100vh; display: flex; flex-direction: column; }

.site-content, .site { margin: 0; padding: 0; }
.entry-content, .wrap { width: 100% !important; }
.wrap { max-width: 1200px !important; padding: 0 !important; margin: 0 !important; }

.container {
	width: 100%;
	padding-left: 10vw;
	padding-right: 10vw;
}

main.mainSection {
	flex: 1 1 auto;
	padding: 0;
}
.main-content { padding-top: 16px; padding-bottom: 40px; }

/* No-hero pages (order form, thank-you, FAQ, wiki, services hub): the breadcrumb
 * is the first content and would otherwise hide under the fixed translucent
 * header (.head_laci, 68px desktop / 75px ≤770px). When .main-content is the
 * first child of <main> (i.e. there's no .head_new_belso hero before it), give
 * it top clearance equal to the header height + breathing room. Hero pages are
 * unaffected: their first child is the hero, which sits under the header by design. */
main.mainSection > .main-content:first-child { padding-top: 84px; }
@media screen and (max-width: 770px) {
	main.mainSection > .main-content:first-child { padding-top: 91px; }
}

/* Skip-to-content link — visually hidden but reachable via keyboard tab.
 * Without this, the link rendered inline at the top of the page pushed the
 * hero down ~22px, exposing the body bg behind the translucent header bar
 * and producing a visible white strip that live doesn't have. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: .875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#content { padding-bottom: 0 !important; }

/* ============================================================
 * Header (fixed, translucent — stays translucent on scroll to
 * match live, which never opaque-fills the header bar)
 * ============================================================ */

.head_laci {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 68px;
	z-index: 10;
	text-align: center;
	padding: 0 20px 0 0;
	background: rgba(111, 111, 111, .25);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	align-items: center;
}

.headerContainer {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: stretch;
	background-color: transparent;
	padding-left: 10vw;
	padding-right: 10vw;
}

.headLogo {
	order: 0;
	flex: 0 0 50px;
	align-self: flex-start;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 40px;
	height: 70px;
}

#logoimg {
	width: 50px;
	padding-top: 12px;
}

.headButton {
	order: 2;
	flex: 0 1 auto;
	align-self: stretch;
}

#img_call1 {
	margin-top: 10px;
	max-width: 315px;
	min-width: 230px;
	width: 230px;
	float: right;
}

.akku_button_main {
	background: #0094ff;
	color: #fff !important;
	border-radius: 8px;
	font-weight: 700;
	font-size: 10px;
	padding: 5px 3px;
	margin: 0;
	cursor: pointer;
	text-align: center;
	transition: background .3s ease-out;
}
.akku_button_main:hover {
	background: #0038ff !important;
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .45);
}

.gomb_cim1 { color: #fff; margin: 0; padding: 0; font-size: 18px; }
.gomb_cim2 { color: #fff; margin: 0; padding: 0; font-size: 10px; font-weight: 400; display: none; }

.headNyitva {
	color: #000;
	font-size: 12px;
	text-align: right;
}

.headMenu {
	order: 1;
	flex: 1 1 auto;
	align-self: auto;
}
.headMenu #top-menu { display: inline-block; }

.menu-main_menu-container {
	padding-top: 20px;
	padding-right: 15px;
}

.main-navigation { position: relative; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation li { position: relative; display: inline-block; }
.main-navigation a {
	padding: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #000;
	text-decoration: none;
	display: inline-block;
}
.main-navigation a:hover { color: #0094ff; }
.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
	z-index: 11;
}
.main-navigation li:hover > .sub-menu { display: block; }
.main-navigation .sub-menu li { display: block; }
.main-navigation .sub-menu a { display: block; padding: 8px 12px; white-space: nowrap; }

.main-navigation .menu-item-has-children > a > .icon,
.main-navigation .page_item_has_children > a > .icon { display: none; }

/* Mobile-menu bits (hidden on desktop by default) */
.menu-main_mobile_ikon,
.menu-main_mobile { display: none; }

/* ============================================================
 * Hero section (background image, full viewport)
 * ============================================================ */

.head_new {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	background-image: url('/media/wp-uploads/2024/03/am_bg4.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	margin-top: 0;
	height: calc(100vh - 65px);
	min-height: 520px;
}

.head_new_belso {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	background-image: url('/media/wp-uploads/2024/03/am_bg4.jpg') !important;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	margin-top: 65px;
	height: 40vh;
	min-height: 240px;
}

.content_box {
	display: inline-block;
	padding: 32px 16px;
	width: min-content;
	min-width: 45%;
	border-radius: 16px;
	background: rgba(111, 111, 111, .25);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	margin-left: 10vw;
	margin-right: 10vw;
	color: #fff;
}

.head_laci2, .head_laci2_belso {
	display: inline-block;
	max-width: 1200px;
	text-align: center;
	background-position-y: top;
	background-position-x: center;
	background-repeat: no-repeat;
	padding-top: 0;
}
.head_laci2 { background-color: transparent; }

.main_head {
	margin-top: 0;
	padding-top: 10px;
	max-width: 1200px;
}

.main_h1, .main_div { text-align: left; color: #fff; }
.main_h1 {
	margin-top: 20px;
	font-size: 20px;
	font-weight: 700;
	line-height: 16px;
}
.main_div {
	font-size: 16px;
	font-weight: 500;
	line-height: 120%;
}

.main_head_belso .main_h1,
.main_head_belso .main_div { color: #fff; text-align: left; }

/* Primary CTA button used in hero */
.akku_button_cta {
	border-radius: 8px;
	background: #0094ff;
	display: flex;
	height: 54px;
	padding: 16px 20px;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	cursor: pointer;
	color: #fff;
	font-family: "Libre Franklin", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 22px;
	border: 0;
	transition: background .3s ease-out;
}
.akku_button_cta:hover {
	background: #0038ff !important;
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .45);
}

/* Vehicle picker / "akkukereso" container inside hero */
.akkukeresoContainer {
	display: inline-flex;
	align-items: flex-start;
	gap: 16px;
	background-color: transparent;
	color: #fff;
	max-width: 1200px;
}

.fields {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.colaa {
	float: left;
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: left;
	width: 100%;
}

.sumo {
	display: flex;
	height: 38px;
	padding: 0 12px;
	justify-content: space-between;
	align-items: center;
	border-radius: 8px;
	border: 1px solid #d5d5d5;
	background: #fff;
	min-width: 180px;
	font-weight: 600;
	color: #333;
}

select.sumo { appearance: auto; -webkit-appearance: auto; }

select {
	border-width: 0;
	height: 2em;
	min-width: 160px;
	font-weight: 700;
}

.akkuk_div {
	padding-top: 5px;
	text-align: left;
	color: #fff;
}

.arrow_icon {
	width: 20px;
	vertical-align: sub;
}

.hidden-content { display: none; }

/* ============================================================
 * Homepage content blocks
 * ============================================================ */

.folyamat {
	min-width: 180px;
	float: left;
	width: 24%;
	padding: 10px;
}
.folyamat h2 { color: #000; font-size: 16px; font-weight: 700; }
.folyamat div { font-size: 15px; color: #888; }

.harom {
	float: left;
	width: 33%;
	padding: 30px;
	min-width: 230px;
}
.harom .cont_img,
.harom .cont_text { width: 100%; min-width: 200px; }

.cont_img { float: right; width: 40%; min-width: 340px; padding: 0; }
.cont_text { float: left; width: 60%; min-width: 340px; }

.ot {
	min-width: 180px;
	float: left;
	width: 20%;
	padding: 10px;
	text-align: center;
}
.ot a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
}

.tl_right { float: right; width: 35%; min-width: 320px; }
.tl_left { float: left; width: 60%; min-width: 320px; }

/* Street pages wrap their body in .tl-content-u, whose only children are the
 * floated .tl_left / .tl_right columns. Without containing those floats the
 * wrapper collapses to zero height, so the following Akku Tudástár panel
 * rendered on top of the content instead of below the "Közeli utcák" list.
 * flow-root makes the wrapper enclose its floats. */
.tl-content-u { display: flow-root; }

.tl-content-a {
	padding: 8px;
}

.kek_parent {
	width: 100%;
	text-align: left;
	padding-bottom: 10px;
}
.kek_parent a { color: #000; }

.teljescikk, .tobbcikk {
	text-align: right;
	width: 100%;
	padding-top: 1px;
}
.teljescikk a { color: #000; font-size: 16px; font-weight: 700; }
.tobbcikk { padding-right: 30px; }
.tobbcikk a {
	font-size: 18px;
	font-weight: 700;
	color: #000;
	box-shadow: none;
}

/* FAQ */
#kerdesvalasz h1 { padding: .5em 0; }
.h1_gyik {
	border-bottom: 1px solid #eee;
	margin-bottom: 8px;
}
.h1_gyik h2 {
	font-size: 16px;
	font-weight: 700;
	color: #000;
	padding-left: 15px;
	cursor: pointer;
	padding-top: 10px;
}
.gyik_icon {
	padding-top: 0;
	padding-left: 15px;
	height: 12px;
	float: right;
	margin-top: 5px;
}
.tog_d {
	display: none;
	margin-bottom: 15px;
	padding: 0 0 12px 30px;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
}
.h1_gyik.open .tog_d { display: block; }

/* Akkumulátor cards */
.harom_akku {
	float: left;
	width: 33%;
	padding: 8px;
	min-width: 320px;
	font-size: 12px;
}
.akku_img { float: left; padding: 5px; width: 100px; }
.akku_info { float: left; padding: 3px; color: #000; max-width: 220px; }

.akku_button,
.akku_button_szurke {
	margin: auto;
	color: #fff !important;
	border-radius: 2px;
	font-weight: 700;
	text-align: center;
}
.akku_button {
	background: #0094ff;
	border-radius: 8px;
	padding: 10px;
	font-size: 18px;
	transition: background .3s ease-out;
}
.akku_button:hover {
	background: #0038ff !important;
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .45);
}
.akku_button_szurke {
	background: #888;
	padding: 10px;
	font-size: 18px;
}

.akku_bbb { text-align: center; margin-bottom: -15px; }
.akku_h1 { margin: auto auto 0; font-size: 18px; text-align: center; }

/* Breadcrumb */
.breadcrumb,
.bread_crumb {
	padding: 8px 0;
	font-size: 13px;
}
.breadcrumb a,
.bread_crumb a,
.breadcrumb span,
.bread_crumb .current {
	color: #000;
	padding: 3px;
	text-decoration: none;
}
.breadcrumb a:hover { color: #0094ff; }

/* ============================================================
 * Footer
 * ============================================================ */

.site-footer {
	border: 0;
	margin: 0;
	padding: 20px 0 32px;
	background: #fff;
	color: #000;
}
.site-footer .wrap { padding: 0 10vw !important; }
.site-footer .widget-area {
	padding-top: 25px;
	padding-bottom: 2em;
	padding-left: 60px;
}
.site-footer .widget-column.footer-widget-1,
.site-footer .widget-column.footer-widget-2 {
	margin-top: -20px;
	margin-bottom: 20px;
	float: left;
	width: 50%;
	min-width: 260px;
}
.widget { padding-bottom: 0; }
.widget ol li,
.widget ul li {
	border: 0;
	padding: .1em 0;
	font-weight: 700;
}
.widget ol li a,
.widget ul li a { color: #888; }

.head1 { float: left; min-width: 50px; width: 50px; text-align: left; padding: 0 0 0 10px; }
.head1 img { width: 50px; }
.foot1 {
	font-size: 15px;
	float: left;
	text-align: left;
	padding-top: 5px;
	padding-left: 10px;
	color: #000;
}

.typeCardList { display: none; }

/* ============================================================
 * Home/util cards still used by current index.tpl
 * ============================================================ */

.hero {
	padding: 40px 0 20px;
}
.hero h1 { font-size: 32px; color: #000; }
.hero .lead { max-width: 720px; font-size: 18px; color: #444; }
.heroCta { margin-top: 16px; }

.btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: background .3s ease-out;
}
.btnPrimary { background: #0094ff; color: #fff !important; }
.btnPrimary:hover { background: #0038ff; }
.btnSecondary { background: #f4f6f8; color: #0038ff !important; border: 1px solid #cdd5e0; }
.btnSecondary:hover { background: #e6ebf2; }

/* Empty-battery CTA on /gepjarmuvek/ leaf pages — A4c.
   Renders when vehicle has no battery recommendations linked
   (typically the 4,784 WP-imported legacy vehicles). */
.batteryEmptyCta {
	margin: 16px 0 24px;
	padding: 20px 24px;
	background: #f4f6f8;
	border: 1px solid #cdd5e0;
	border-radius: 12px;
}
.batteryEmptyCta p { margin: 0 0 12px; line-height: 1.5; color: #1a2a3a; }
.batteryEmptyCta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) {
	.batteryEmptyCta-actions { flex-direction: column; }
	.batteryEmptyCta-actions .btn { text-align: center; }
}

.homeSection { margin: 36px 0; }
.homeSection h2 { font-size: 22px; margin: 0 0 12px; }

.vehiclePicker {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 16px 0;
	padding: 16px;
	background: #f7f8fa;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
}
.vpField { display: flex; flex-direction: column; gap: 4px; }
.vpField span { font-size: 13px; font-weight: 600; color: #333; }
.vpField select {
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	background: #fff;
	color: #333;
	height: auto;
	min-width: 0;
	width: 100%;
}
.vpField select:disabled { background: #eee; color: #888; }

.serviceGrid, .serviceList {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.serviceCard, .serviceBlock {
	padding: 18px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
}
.serviceCard h3 { margin-top: 0; font-size: 17px; }
.serviceCard a, .serviceBlock a { color: #0094ff; text-decoration: none; }

.articleGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.articleCard {
	padding: 16px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
}
.articleCard h3 { margin-top: 0; font-size: 17px; }
.articleCard a { color: #0094ff; text-decoration: none; }

.reviewGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.reviewCard {
	padding: 16px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
}
.reviewCard blockquote { margin: 0 0 8px; font-style: italic; color: #333; }
.reviewCard cite { font-weight: 600; color: #0094ff; font-style: normal; }

.faqPage .faqItem {
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 12px;
	background: #fff;
}
.faqPage .faqItem h2 { font-size: 17px; margin: 0 0 8px; padding: 0; }
.faqPage .faqAnswer { color: #444; }
.faqIntro { font-size: 17px; margin: 16px 0; }

.error404 { text-align: center; padding: 48px 0; }
.error404Links { list-style: none; padding: 0; display: inline-block; text-align: left; }
.error404Links li { margin: 6px 0; }

.introGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.introCard {
	border: 1px solid #e5e5e5;
	padding: 16px;
	border-radius: 12px;
	background: #fff;
}

/* ============================================================
 * Responsive — ported breakpoints
 * ============================================================ */

@media screen and (max-width: 1024px) {
	.container { padding-left: 24px; padding-right: 24px; }
	.headerContainer { padding-left: 24px; padding-right: 24px; }
}

@media screen and (max-width: 770px) {
	body { padding: 0; }
	main { padding: 0 10px; }

	#logoimg { padding-top: 15px; width: 40px; }

	.menu-main_mobile_ikon {
		display: block;
		width: 30px;
		padding-top: 18px;
		margin: 0 auto;
		float: inherit;
	}
	#menu_3 { display: none; }

	.menu-main_mobile {
		display: none;
		margin-top: -2px;
		margin-bottom: 0;
		font-weight: 700;
		background-color: #fff;
		text-align: left;
		padding: 20px;
	}

	.gomb_cim1 { font-size: 16px; }
	.akku_button_main {
		padding: 10px 3px;
		border-radius: 8px;
		background: #0094ff;
	}

	.tl_left { width: auto; min-width: auto; }

	.headButton { order: 1; flex: 1 1 auto; }
	.headMenu { order: 2; flex: 0 0 50px; }

	.headNyitva { text-align: left; width: 150px; }

	#img_call1 {
		float: inherit;
		margin-top: 10px;
		margin-left: 0;
		width: auto;
		min-width: auto;
	}

	.head_laci { height: 75px; padding: 0; }
	.head_laci2 {
		background-size: cover;
		display: inline-flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin: 0;
	}
	.head_laci2_belso { background-size: cover; }

	.content_box {
		display: inline-block;
		padding: 16px;
		width: 100%;
		border-radius: 16px;
		background: rgba(111, 111, 111, .25);
		backdrop-filter: blur(6px);
		margin-left: 0;
		margin-right: 0;
	}

	#site-navigation { display: none; }

	.folyamat { width: 90%; }
	.colaa, .harom { width: 100%; }
	.harom { padding: 20px; }
	.harom_akku { padding: 8px; width: 100%; }
	.ot { width: 100%; }

	.akkukeresoContainer {
		flex-direction: column;
		padding-left: 16px;
		padding-right: 16px;
		width: 100%;
	}

	.fields {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.head_new { padding-top: 55px; height: 100vh; }
	.vehiclePicker { grid-template-columns: 1fr; }
}

@media screen and (max-width: 560px) {
	.head2 { width: 72%; min-width: 280px; text-align: center; }
	#img_call1 { margin-top: 5px; min-width: 280px; width: 280px; }
	.vehiclePicker { grid-template-columns: 1fr; }
}

@media screen and (max-width: 470px) {
	.akku_button_cta { width: 100%; }
	.akkuk_div {
		padding-top: 5px;
		text-align: right;
		padding-left: 16px;
		padding-right: 16px;
	}
	.container {
		width: 100%;
		max-width: 1200px;
		padding-left: 16px;
		padding-right: 16px;
	}
	.site-footer .widget-area { padding-left: 10px; }
	.foot1 { font-size: 9px; padding-bottom: 50px; }
}

@media screen and (max-width: 450px) {
	.head_new {
		background-image: url('/media/wp-uploads/2024/03/am_bg4_m.jpg');
		height: 100vh;
		padding-left: 16px;
		padding-right: 16px;
		background-position: top center;
	}
	.head_new_belso {
		background-image: url('/media/wp-uploads/2024/03/am_bg4_m.jpg');
		height: auto;
		padding: 16px;
		background-position: top center;
	}
	.headerContainer {
		padding-left: 0;
		padding-right: 0;
	}
	.gomb_cim1 { font-size: 10px; }
	.main_head {
		margin-top: 0;
		padding-left: 0;
		padding-right: 0;
	}
}

/* Picker form — compact mobile variant.
 * Hides field labels and tightens padding so the hero stays short enough that
 * the district chip bar + info/timetable cards fit beneath it on a phone
 * screen. Mirrors live's mobile hero where labels live as placeholders inside
 * each select (no separate label above). 600px breakpoint covers iPhones in
 * portrait (390-430 logical px) and most Android phones. */
@media screen and (max-width: 600px) {
	.vpField span { display: none; }
	.vpField select {
		padding: 8px 10px;
		font-size: 13px;
	}
	.vehiclePicker {
		gap: 8px;
		padding: 12px;
		margin: 8px 0;
	}
}

/* Clearfix for floats inside wrap */
.wrap::after, .entry-content::after, .folyamat-row::after {
	content: "";
	display: table;
	clear: both;
}

/* Hero picker: collapsed-to-button by default (homepage only).
   JS adds .heroPickerHost--expanded on Megnézem mennyiért click. */
.heroPickerHost .vehiclePicker,
.heroPickerHost .akkuk_div { display: none; }
.heroPickerHost.heroPickerHost--expanded .heroPickerExpand { display: none; }
.heroPickerHost.heroPickerHost--expanded .vehiclePicker { display: grid; }
.heroPickerHost.heroPickerHost--expanded .akkuk_div { display: block; }
.heroPickerExpand {
	border: 0;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	width: auto;
	min-width: 240px;
	margin-top: 12px;
}

/* Battery cards on /autok/ leaf — fixed-width cards so every card is the same
   size whether the page lists one battery or four; four fit per row in the
   80vw container without stretching a lone card to full width. */
.batteryGrid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 24px 0 32px;
}
.batteryCard {
	flex: 0 0 255px;
	width: 255px;
	box-sizing: border-box;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
	display: flex;
	flex-direction: column;
}
.batteryCard-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #1a1a1a;
}
.batteryCard-imageWrap {
	text-align: center;
	margin-bottom: 12px;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.batteryCard-image {
	max-width: 100%;
	max-height: 140px;
	object-fit: contain;
}
.batteryCard-specs {
	font-size: 13px;
	margin: 0 0 16px;
	display: grid;
	/* Label column flexes and wraps; value column sizes to its content
	   (max-content) so short codes like "AGM_VR760" always stay on one row.
	   minmax(0, 1fr) on the label lets it shrink/wrap instead of pushing the
	   value out past the card's right edge. */
	grid-template-columns: minmax(0, 1fr) max-content;
	row-gap: 4px;
	column-gap: 8px;
}
.batteryCard-specs dt { font-weight: 600; color: #555; margin: 0; overflow-wrap: anywhere; }
.batteryCard-specs dd { margin: 0; color: #1a1a1a; text-align: right; }
.batteryCard-cta {
	display: block;
	text-align: center;
	background: #0094ff;
	color: #fff;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	margin-top: auto;
}
.batteryCard-cta:hover { background: #0085e6; color: #fff; }
.batteryCard-prices {
	margin-top: 12px;
	text-align: center;
	font-size: 14px;
	color: #333;
}
.batteryCard-prices > div { padding: 2px 0; }
.batteryCard-prices strong { color: #0094ff; }
@media (max-width: 560px) {
	.batteryCard { flex-basis: 100%; width: 100%; }
}

/* C1 — /autok/ crawlable brand directory (one H2 per fuel-type category). */
.autokBrandDirectory { margin-top: 32px; }
.autokBrandDirectory-intro { font-size: 18px; font-weight: 600; margin: 0 0 18px; color: #333; }
.autokBrandDirectory-section { margin-bottom: 28px; }
.autokBrandDirectory-section h2 { font-size: 20px; margin: 0 0 12px; color: #0094ff; }
.autokBrandDirectory-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 4px 18px;
}
.autokBrandDirectory-list li { margin: 0; }
.autokBrandDirectory-list a { color: #333; text-decoration: none; font-size: 14px; }
.autokBrandDirectory-list a:hover { color: #0094ff; text-decoration: underline; }

/* Vehicle spec list — render inline as "Gyártás: 2013–2020 | Teljesítmény: ..." */
.vehicleSpecs {
	margin: 16px 0;
	font-size: 14px;
	line-height: 1.9;
	color: #333;
}
.vehicleSpecs dt,
.vehicleSpecs dd { display: inline; margin: 0; }
.vehicleSpecs dt { font-weight: 600; }
.vehicleSpecs dt::after { content: ": "; }
.vehicleSpecs dd:not(:last-of-type)::after {
	content: "|";
	margin: 0 8px;
	color: #c8c8c8;
	font-weight: 400;
}

/* District map image (with the "Átlagos kiérkezés" overlay) embedded in
 * area page content — cap its display size so it doesn't fill the viewport,
 * and center it. Street pages float their map (.tl_img) to the right, so the
 * centering is scoped to exclude those. */
.areaContent img {
	max-width: 480px;
	height: auto;
	border-radius: 8px;
}
.areaContent img:not(.tl_img) {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 560px) {
	.areaContent img { max-width: 100%; }
}

/* ============================================================
 * /megrendeles/ — order checkout (modern two-column layout)
 * ============================================================ */
.orderPage { max-width: 1080px; margin: 0 auto; }
.orderPage-head { margin: 4px 0 24px; }
.orderPage-head h1 { margin: 0 0 8px; }
.orderPage-lead { font-size: 16px; color: #555; max-width: 760px; margin: 0; line-height: 1.6; }
.orderPage-lead strong { color: #1a1a1a; }

.orderLayout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}
@media (min-width: 900px) {
	.orderLayout { grid-template-columns: minmax(0, 1fr) 340px; }
	.orderAside { position: sticky; top: 88px; }
}

/* --- Form cards --- */
.orderForm { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.orderCard {
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	background: #fff;
	padding: 22px 24px 26px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.orderCard-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 18px;
	padding: 0;
}
.orderCard-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #0094ff;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	flex: 0 0 28px;
}

.orderFields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
@media (max-width: 560px) { .orderFields { grid-template-columns: 1fr; } }

.orderField { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.orderField--full { grid-column: 1 / -1; }
.orderField-label { font-size: 13px; font-weight: 600; color: #444; }
.orderField-label em { color: #e23; font-style: normal; }
.orderField-label small { color: #999; font-weight: 400; }

.orderField input,
.orderField select,
.orderField textarea {
	width: 100%;
	box-sizing: border-box;
	/* height/font-weight reset the global `select { height: 2em; font-weight:700 }`
	   rule, which otherwise squished this select's text to ~8px and rendered it
	   bold/unreadable. */
	height: auto;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: #1a1a1a;
	background: #fff;
	border: 1px solid #d4d4d4;
	border-radius: 8px;
	padding: 11px 13px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
/* Native select arrow + room for it so long district labels stay readable. */
.orderField select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23555' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
	cursor: pointer;
}
.orderField textarea { resize: vertical; min-height: 70px; }
.orderField input::placeholder,
.orderField textarea::placeholder { color: #aaa; }
.orderField input:focus,
.orderField select:focus,
.orderField textarea:focus {
	outline: none;
	border-color: #0094ff;
	box-shadow: 0 0 0 3px rgba(0, 148, 255, .15);
}
.orderField select:disabled { background: #f4f4f4; color: #999; cursor: not-allowed; }

.formError {
	margin: 0;
	padding: 12px 16px;
	border-radius: 8px;
	background: #fdecec;
	border: 1px solid #f5c2c2;
	color: #c0392b;
	font-size: 14px;
	font-weight: 600;
}

.orderSubmitRow { display: flex; flex-direction: column; gap: 12px; }
.orderSubmit {
	width: 100%;
	border: 0;
	cursor: pointer;
	background: #0094ff;
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	padding: 16px 20px;
	border-radius: 10px;
	transition: background .15s ease, box-shadow .15s ease, transform .05s ease;
}
.orderSubmit:hover { background: #0038ff; box-shadow: 0 4px 14px rgba(0, 56, 255, .28); }
.orderSubmit:active { transform: translateY(1px); }
.orderSubmit:disabled { background: #9ccbee; cursor: default; box-shadow: none; }
.orderSubmit-note { font-size: 12px; color: #888; margin: 0; line-height: 1.5; }
.orderSubmit-note a { color: #0094ff; text-decoration: underline; }

/* --- Summary card --- */
.orderSummary {
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	background: #fff;
	padding: 22px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
.orderSummary-title { font-size: 17px; font-weight: 700; margin: 0 0 16px; padding: 0; color: #1a1a1a; }

.orderSummary-product { display: flex; gap: 14px; align-items: center; }
.orderSummary-img {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f7f7f7;
	border-radius: 8px;
	padding: 6px;
}
.orderSummary-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.orderSummary-prodInfo { min-width: 0; }
.orderSummary-prodName { font-weight: 700; color: #1a1a1a; margin: 0 0 2px; font-size: 15px; line-height: 1.35; }
.orderSummary-prodBrand { font-size: 13px; color: #777; margin: 0; }

.orderSummary-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.orderSummary-chips li {
	font-size: 12px;
	font-weight: 600;
	color: #0061a8;
	background: #e8f4fe;
	border-radius: 999px;
	padding: 4px 10px;
	list-style: none;
}

.orderSummary-vehicle {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}
.orderSummary-vehicleLabel { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .03em; }
.orderSummary-vehicleName { font-size: 14px; font-weight: 600; color: #1a1a1a; }

.orderSummary-prices { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #eee; }
.orderSummary-prices > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; }
.orderSummary-prices dt { font-size: 14px; color: #555; margin: 0; }
.orderSummary-prices dd { font-size: 14px; color: #1a1a1a; margin: 0; font-weight: 600; white-space: nowrap; }
.orderSummary-total { margin-top: 6px; padding-top: 12px !important; border-top: 1px solid #eee; }
.orderSummary-total dt { font-size: 15px !important; font-weight: 700; color: #1a1a1a; }
.orderSummary-total dd { font-size: 20px !important; font-weight: 800; color: #0094ff; }
.orderSummary-payNote { font-size: 12px; color: #999; margin: 8px 0 0; }

.orderSummary-notice { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }
.orderSummary-notice a { color: #0094ff; text-decoration: underline; }

.orderSummary-trust { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 10px; }
.orderSummary-trust li {
	position: relative;
	padding-left: 26px;
	font-size: 13px;
	color: #444;
	list-style: none;
	line-height: 1.4;
}
.orderSummary-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 16px;
	background: #0094ff;
	border-radius: 50%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.orderSummary-trust strong { color: #1a1a1a; }

.orderSummary-phone { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eee; text-align: center; }
.orderSummary-phone span { display: block; font-size: 12px; color: #888; margin-bottom: 2px; }
.orderSummary-phone a { font-size: 19px; font-weight: 800; color: #0094ff; }
.orderSummary-phone a:hover { color: #0038ff; }

/* On mobile show the order summary above the form so the customer sees what
   they're ordering before filling in details. */
@media (max-width: 899px) {
	.orderAside { order: -1; }
}

/* ====================== Thank-you page (/koszonjuk-megrendeleset/) ====================== */
.thankyou { max-width: 880px; margin: 0 auto; }

.ty-hero { text-align: center; margin: 8px 0 28px; }
.ty-badge {
	width: 76px; height: 76px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	margin: 0 auto 18px;
}
.ty-badge--success {
	background: #16b364;
	box-shadow: 0 8px 24px rgba(22, 179, 100, .32);
	animation: tyPop .35s ease-out both;
}
.ty-badge--error { background: #f2994a; box-shadow: 0 8px 24px rgba(242, 153, 74, .28); }
@keyframes tyPop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

.ty-hero h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.25; color: #1a1a1a; }
.ty-lead { font-size: 16px; color: #555; line-height: 1.6; max-width: 620px; margin: 0 auto; }
.ty-lead strong { color: #1a1a1a; }
.ty-ordernum {
	display: inline-block;
	margin: 18px auto 0;
	padding: 8px 16px;
	background: #e8f4fe;
	color: #0061a8;
	border-radius: 999px;
	font-size: 14px;
}
.ty-ordernum strong { color: #0061a8; letter-spacing: .02em; }

.ty-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 760px) { .ty-grid { grid-template-columns: 1fr 1fr; } }

.ty-card {
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	background: #fff;
	padding: 22px 24px 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.ty-card--center { text-align: center; max-width: 560px; margin: 0 auto; }
.ty-card-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 0 0 16px; padding: 0; }
.ty-card-note { font-size: 13px; color: #888; margin: 14px 0 0; }

/* Order detail rows */
.ty-details { margin: 0; }
.ty-details > div {
	display: flex; justify-content: space-between; gap: 14px;
	padding: 11px 0; border-top: 1px solid #f0f0f0;
}
.ty-details > div:first-child { border-top: 0; padding-top: 0; }
.ty-details dt { font-size: 14px; color: #777; margin: 0; flex: 0 0 auto; }
.ty-details dd { font-size: 14px; color: #1a1a1a; font-weight: 600; margin: 0; text-align: right; }

/* Numbered next-steps list */
.ty-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ty-steps li { display: flex; gap: 14px; align-items: flex-start; }
.ty-step-n {
	flex: 0 0 28px;
	width: 28px; height: 28px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: #0094ff; color: #fff;
	font-size: 14px; font-weight: 700;
}
.ty-steps strong { display: block; color: #1a1a1a; font-size: 15px; margin: 3px 0 2px; }
.ty-steps p { margin: 0; font-size: 13px; color: #666; line-height: 1.5; }

/* Trust + phone strip */
.ty-strip {
	margin: 24px 0 0;
	padding: 22px 24px;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	background: #fafbfc;
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: center;
}
@media (min-width: 760px) { .ty-strip { grid-template-columns: 1fr auto; } }
.ty-strip--center { justify-items: center; }
.ty-trust { margin: 0 !important; padding: 0 !important; border-top: 0 !important;
	display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
@media (max-width: 520px) { .ty-trust { grid-template-columns: 1fr; } }
.ty-phone { text-align: center; }
.ty-phone span { display: block; font-size: 12px; color: #888; margin-bottom: 2px; }
.ty-phone a { font-size: 20px; font-weight: 800; color: #0094ff; white-space: nowrap; }
.ty-phone a:hover { color: #0038ff; }

/* Action buttons */
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 0; }
.ty-card--center .ty-actions { margin-top: 0; }
.ty-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: inherit; font-size: 16px; font-weight: 700;
	padding: 13px 26px; border-radius: 10px; cursor: pointer;
	text-decoration: none; transition: background .15s ease, box-shadow .15s ease, transform .05s ease, border-color .15s ease;
}
.ty-btn--primary { background: #0094ff; color: #fff; border: 1px solid #0094ff; }
.ty-btn--primary:hover { background: #0038ff; border-color: #0038ff; box-shadow: 0 4px 14px rgba(0, 56, 255, .28); }
.ty-btn--primary:active { transform: translateY(1px); }
.ty-btn--ghost { background: #fff; color: #0094ff; border: 1px solid #cfe6fb; }
.ty-btn--ghost:hover { border-color: #0094ff; background: #f3f9ff; }
