/*
Theme Name: Hello Elementor Child — Cylinderhead
Theme URI: https://cylinderhead.hu/
Description: Cylinderhead saját child theme — minimal layout-csiszolás Hello Elementor fölé
Author: cylinderhead.hu
Author URI: https://cylinderhead.hu/
Template: hello-elementor
Version: 0.1.8
Text Domain: hello-cylinderhead
*/

/* ========================================
   ALAP — Hello Elementor szülő-stílus felülírások
   ======================================== */

:root {
	--ch-color-instock: #198754;
	--ch-color-incoming: #fd7e14;
	--ch-color-orderable: #6c757d;
	--ch-color-accent: #1d3557;
	--ch-color-accent-strong: #0b1d3a;
	--ch-color-bg-soft: #f5f7fa;
	--ch-color-border: #e2e6ea;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
	color: #1f2533;
	background: #fff;
}

/* === Header redesign — logo bal + nav jobb + sticky === */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--ch-color-border);
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
	position: sticky;
	top: 0;
	z-index: 100;
}
.site-header .header-inner,
.site-header > .ast-container,
.site-header.site-header-inverse,
.site-header > div {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}
.site-header .site-branding {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.site-header .site-branding .site-title {
	margin: 0;
	font-size: 22px !important;
	line-height: 1.1;
}
.site-header .site-branding .site-title a {
	color: var(--ch-color-accent);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none !important;
}
.site-header .site-branding .site-description {
	font-size: 12px;
	color: #5b6471;
	margin: 0;
	font-weight: 500;
}

/* Navigation menu */
.site-header .site-navigation,
.site-header nav.main-navigation {
	margin: 0;
}
.site-header ul#menu-fomenu,
.site-header ul.primary-menu,
.site-header nav ul {
	display: flex !important;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-header nav ul li {
	margin: 0;
	padding: 0;
}
.site-header nav ul li a {
	display: block;
	padding: 8px 14px;
	color: #1f2533 !important;
	font-weight: 600;
	font-size: 14px;
	border-radius: 6px;
	text-decoration: none !important;
	transition: all 0.15s;
	letter-spacing: -0.005em;
}
.site-header nav ul li a:hover {
	background: rgba(255,126,41,0.08);
	color: #ff7e29 !important;
}
.site-header nav ul li.current-menu-item > a,
.site-header nav ul li.current_page_item > a {
	color: #ff7e29 !important;
	background: rgba(255,126,41,0.08);
}

/* CTA-jellegű kiemelés: Hengerfejek + Ajánlatkérés — slug alapján */
.site-header nav ul li.menu-item a[href*="termekek"],
.site-header nav ul li.menu-item a[href*="ajanlatkeres"] {
	background: #ff7e29;
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(255,126,41,0.25);
}
.site-header nav ul li.menu-item a[href*="termekek"]:hover,
.site-header nav ul li.menu-item a[href*="ajanlatkeres"]:hover {
	background: #ff6a0c;
	color: #fff !important;
}

@media (max-width: 900px) {
	.site-header > div {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.site-header nav ul {
		gap: 2px;
		flex-wrap: wrap;
	}
}

/* Site-wide content max-width — Hello-default kicsit nagyobb.
   FONTOS: a fő .site-main NE legyen boxos, mert akkor a hero/CTA-banner-ek
   és a footer fölötti quality-strip nem tudnak full-width-be kifutni. */
.site-main {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.entry-content {
	max-width: 1200px;
	margin: 0 auto;
}

/* Sima WP-pages (jogi szövegek, ÁSZF, Adatkezelés, Cookie tájékoztató, GYIK,
   Kapcsolat-page-content stb.) tartalmának KÖZÉPRE igazítása + padding.
   A Hello Elementor parent `template-parts/single.php` `<div class="page-content">`-be
   teszi a `the_content()`-et, és a parent theme NEM ad neki max-width-et.
   FONTOS: csak akkor szűkítjük, ha a page nincs Elementor-szakaszokkal
   (Elementor `.elementor-section` saját max-width-et kezel) — viszont
   ha mindig szűkítjük, az Elementor szakaszok 1200px-be férnek bele,
   ami szebb és konzisztens. */
body.page main.site-main > .page-content,
body.page main.site-main .page-content,
body.single main.site-main > .page-content,
body.single main.site-main .page-content {
	max-width: 1200px;
	margin: 32px auto !important;
	padding: 0 24px !important;
}

/* Page heading (h1.entry-title) is centered/contained too. Hello Elementor a
   `<div class="page-header">`-be rakja, mi pedig a saját ch-page-hero-t használjuk
   az archive/shop oldalakon. A jogi-pages-eken a parent rendereli a h1-t. */
body.page main.site-main > .page-header,
body.single main.site-main > .page-header {
	max-width: 1200px;
	margin: 32px auto 0 !important;
	padding: 0 24px !important;
}
body.page main.site-main > .page-header h1.entry-title,
body.single main.site-main > .page-header h1.entry-title {
	font-size: 2em;
	color: var(--ch-color-accent);
	margin: 0 0 8px;
}

/* Page-content tipográfia jobb olvashatóság-ra */
body.page main.site-main .page-content h2,
body.page main.site-main .page-content h3,
body.single main.site-main .page-content h2,
body.single main.site-main .page-content h3 {
	color: var(--ch-color-accent);
	margin-top: 1.6em;
}
body.page main.site-main .page-content p,
body.page main.site-main .page-content ul,
body.page main.site-main .page-content ol,
body.single main.site-main .page-content p,
body.single main.site-main .page-content ul,
body.single main.site-main .page-content ol {
	line-height: 1.6;
	color: #2b3340;
}

/* Mobil: kisebb padding a sima oldalakon */
@media (max-width: 700px) {
	body.page main.site-main > .page-content,
	body.page main.site-main .page-content,
	body.single main.site-main > .page-content,
	body.single main.site-main .page-content {
		margin: 20px auto !important;
		padding: 0 16px !important;
	}
	body.page main.site-main > .page-header,
	body.single main.site-main > .page-header {
		margin: 20px auto 0 !important;
		padding: 0 16px !important;
	}
	body.page main.site-main > .page-header h1.entry-title,
	body.single main.site-main > .page-header h1.entry-title {
		font-size: 1.5em;
	}
}

/* Linkek */
a {
	color: var(--ch-color-accent);
}
a:hover {
	color: var(--ch-color-accent-strong);
}

/* WP 6.7+ globális link-underline override Woo termékeken és termékkártyákon.
   FONTOS: az `ul.products` parent class .woocommerce néha hiányzik (page-content
   render esetén), ezért teljesen general selector-ral kötünk. */
ul.products li.product a,
ul.products li.product a:hover,
ul.products li.product a:visited,
ul.products li.product a:focus,
ul.products li.product *,
ul.products li.product .price,
.woocommerce a:not(.button):not(.wp-element-button),
.woocommerce a:not(.button):not(.wp-element-button):hover,
.woocommerce a:not(.button):not(.wp-element-button):visited {
	text-decoration: none !important;
}
ul.products li.product a:hover .woocommerce-loop-product__title {
	color: #ff7e29 !important;
}

/* Gombok — Woo + Hello Elementor */
.button,
button[type="submit"],
.wc-block-components-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input[type="submit"],
.woocommerce-cart input[name="update_cart"],
.woocommerce-cart button[name="update_cart"] {
	background: var(--ch-color-accent) !important;
	color: #fff !important;
	border: 0 !important;
	padding: 10px 20px !important;
	border-radius: 6px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background 0.15s;
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--ch-color-accent-strong);
	color: #fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--ch-color-instock);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: #126539;
}

/* Termékkártyák */
.woocommerce ul.products li.product {
	padding: 14px;
	border: 1px solid var(--ch-color-border);
	border-radius: 8px;
	transition: box-shadow 0.15s, border-color 0.15s;
	background: #fff;
}
.woocommerce ul.products li.product:hover {
	box-shadow: 0 4px 18px rgba(29, 53, 87, 0.08);
	border-color: var(--ch-color-accent);
}
.woocommerce ul.products li.product .price {
	color: var(--ch-color-accent);
	font-weight: 700;
	font-size: 1.05em;
}
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1em;
	line-height: 1.3;
	color: var(--ch-color-accent);
	min-height: 2.6em;
	font-weight: 700;
	margin-bottom: 6px;
}
.woocommerce ul.products li.product a,
.woocommerce ul.products li.product a:hover,
.woocommerce ul.products li.product a:focus,
.woocommerce ul.products li.product a:visited {
	text-decoration: none !important;
}
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title {
	color: #ff7e29;
}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price * {
	text-decoration: none !important;
}
.woocommerce ul.products li.product .button {
	text-decoration: none !important;
	margin-top: 8px;
	display: inline-block;
}
.woocommerce ul.products li.product .ch-badge {
	margin-bottom: 8px;
}

/* Single product page */
.single-product .product .entry-summary h1 {
	color: var(--ch-color-accent);
	font-size: 1.6em;
	line-height: 1.25;
}
.single-product .product .price {
	color: var(--ch-color-accent);
	font-weight: 700;
	font-size: 1.6em;
}
.single-product .ch-quote-secondary {
	margin-top: 12px;
}

/* Hero on homepage */
.ch-hero {
	background: linear-gradient(135deg, var(--ch-color-accent) 0%, var(--ch-color-accent-strong) 100%);
	color: #fff;
	padding: 48px 24px;
	border-radius: 12px;
	margin-bottom: 32px;
	text-align: center;
}
.ch-hero h1 {
	color: #fff;
	font-size: 2.2em;
	line-height: 1.2;
	margin: 0 0 12px;
}
.ch-hero__lead {
	color: rgba(255,255,255,0.92);
	font-size: 1.1em;
	max-width: 760px;
	margin: 0 auto;
	line-height: 1.5;
}
@media (max-width: 600px) {
	.ch-hero { padding: 28px 16px; }
	.ch-hero h1 { font-size: 1.6em; }
	.ch-hero__lead { font-size: 1em; }
}

/* Footer — Hello Elementor saját */
.site-footer {
	background: var(--ch-color-bg-soft);
	border-top: 1px solid var(--ch-color-border);
	padding: 24px 16px;
	margin-top: 40px;
}
.site-footer a {
	color: var(--ch-color-accent);
}

/* Form-fields polish */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
textarea,
select {
	border: 1px solid var(--ch-color-border);
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 15px;
	font-family: inherit;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Cart / checkout / account oldalak: visszahozzuk az 1200px-es konténert.
   A `body.page main.site-main` máskor full-width, hogy a hero-k kifuthassanak,
   de a Woo-os belső oldalakon ezt felülírjuk. Specificity-növelés `html body`-val,
   hogy a fenti `body.page main.site-main { max-width: none }` szabályt biztosan veri. */
html body.woocommerce-cart main.site-main,
html body.woocommerce-checkout main.site-main,
html body.woocommerce-account main.site-main,
html body.woocommerce-cart main.woocommerce-main,
html body.woocommerce-checkout main.woocommerce-main,
html body.woocommerce-account main.woocommerce-main,
html body.page-id-6 main.site-main,
html body.page-id-7 main.site-main,
html body.page-id-8 main.site-main {
	max-width: 1200px !important;
	margin: 32px auto !important;
	padding: 0 24px !important;
}

/* Page-title visszahozzuk a Woo oldalakon (Kosár / Pénztár / Fiók fejléc) */
body.woocommerce-cart main h1.entry-title,
body.woocommerce-checkout main h1.entry-title,
body.woocommerce-account main h1.entry-title,
body.page-id-6 main h1.entry-title,
body.page-id-7 main h1.entry-title,
body.page-id-8 main h1.entry-title {
	display: block !important;
	color: var(--ch-color-accent);
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 800;
	margin: 0 0 24px;
	letter-spacing: -0.02em;
}

/* Checkout polish */
.woocommerce-checkout .checkout #order_review {
	background: var(--ch-color-bg-soft);
	border-radius: 8px;
	padding: 20px;
}
.woocommerce-checkout .form-row label {
	font-weight: 600;
	font-size: 14px;
}
.woocommerce-checkout #customer_details {
	background: #fff;
	padding: 28px;
	border: 1px solid var(--ch-color-border);
	border-radius: 12px;
}
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
	width: 48% !important;
	float: none !important;
	display: inline-block;
	vertical-align: top;
}
@media (max-width: 800px) {
	.woocommerce-checkout .col-1,
	.woocommerce-checkout .col-2 {
		width: 100% !important;
		display: block;
	}
}

/* Cart table */
.woocommerce-cart .shop_table {
	border: 1px solid var(--ch-color-border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.woocommerce-cart .cart-collaterals {
	margin-top: 24px;
}
.woocommerce-cart .cart_totals {
	background: var(--ch-color-bg-soft);
	border: 1px solid var(--ch-color-border);
	border-radius: 12px;
	padding: 24px;
}

/* My Account */
.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--ch-color-bg-soft);
	border-radius: 12px;
	padding: 16px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 8px 12px;
	color: var(--ch-color-accent);
	text-decoration: none !important;
	border-radius: 6px;
	font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: rgba(255,126,41,0.08);
	color: #ff7e29;
}
@media (max-width: 800px) {
	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
	font-size: 13px;
	color: #666;
	margin-bottom: 16px;
}
.woocommerce-breadcrumb a {
	color: var(--ch-color-accent);
}

/* Termékleírás (long_desc) listák */
.woocommerce-product-details__short-description ul,
.woocommerce-Tabs-panel ul {
	padding-left: 22px;
}
.woocommerce-product-details__short-description li,
.woocommerce-Tabs-panel li {
	margin-bottom: 4px;
}
.woocommerce-Tabs-panel h4 {
	color: var(--ch-color-accent);
	margin-top: 16px;
}

/* ============================================================
   HOMEPAGE — Speedia-vibe
   ============================================================ */

.ch-home-hero {
	position: relative;
	min-height: 540px;
	background:
		linear-gradient(135deg, rgba(11,29,58,0.92) 0%, rgba(29,53,87,0.85) 100%),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="g" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 40L40 0" stroke="%23ffffff" stroke-opacity="0.04" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23g)"/></svg>');
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
	margin: 0 auto 0;
}
.ch-home-hero__inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 80px 24px 100px;
	text-align: center;
	position: relative;
	z-index: 2;
}
.ch-home-hero__eyebrow {
	display: inline-block;
	background: rgba(255,255,255,0.12);
	color: #ffd166;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.ch-home-hero__title {
	color: #fff;
	font-size: clamp(28px, 5vw, 52px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}
.ch-home-hero__title span {
	color: #ff7e29;
}
.ch-home-hero__lead {
	color: rgba(255,255,255,0.86);
	font-size: 17px;
	line-height: 1.55;
	margin: 0 auto 32px;
	max-width: 720px;
}
.ch-home-hero .ch-search-form {
	background: #fff;
	max-width: 720px;
	margin: 0 auto 24px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.ch-home-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 12px;
}
.ch-home-hero__btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	transition: transform 0.15s, box-shadow 0.15s;
}
.ch-home-hero__btn--primary {
	background: #ff7e29;
	color: #fff !important;
	box-shadow: 0 4px 16px rgba(255,126,41,0.35);
}
.ch-home-hero__btn--primary:hover {
	background: #ff6a0c;
	transform: translateY(-1px);
}
.ch-home-hero__btn--ghost {
	background: transparent;
	color: #fff !important;
	border: 1.5px solid rgba(255,255,255,0.35);
}
.ch-home-hero__btn--ghost:hover {
	background: rgba(255,255,255,0.1);
}

/* TRUST STRIP */
.ch-trust-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: linear-gradient(135deg, #ff7e29 0%, #ff5a00 100%);
	color: #fff;
	max-width: 1200px;
	margin: -50px auto 0;
	border-radius: 14px;
	padding: 30px 24px;
	box-shadow: 0 16px 40px rgba(255,90,0,0.25);
	position: relative;
	z-index: 5;
}
.ch-trust-strip__item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 6px 14px;
}
.ch-trust-strip__item img {
	width: 48px;
	height: auto;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}
.ch-trust-strip__title {
	font-weight: 700;
	font-size: 15px;
}
.ch-trust-strip__desc {
	font-size: 13px;
	opacity: 0.9;
}
@media (max-width: 900px) {
	.ch-trust-strip { grid-template-columns: repeat(2, 1fr); margin-top: -30px; gap: 8px; }
}
@media (max-width: 500px) {
	.ch-trust-strip { grid-template-columns: 1fr; }
}

/* SECTION HEADERS */
.ch-section-head {
	max-width: 800px;
	margin: 0 auto 36px;
	text-align: center;
}
.ch-section-head__eyebrow {
	display: inline-block;
	color: #ff7e29;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.ch-section-head__title {
	color: var(--ch-color-accent);
	font-size: clamp(24px, 3.5vw, 36px);
	font-weight: 800;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
}
.ch-section-head__lead {
	color: #5b6471;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
}
.ch-section-foot {
	text-align: center;
	margin-top: 26px;
}
.ch-link-btn {
	color: #ff7e29 !important;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: 2px solid #ff7e29;
	padding-bottom: 2px;
}
.ch-link-btn:hover {
	color: #ff6a0c !important;
}

/* WC `[product_categories]` grid override */
.woocommerce ul.products li.product-category {
	border: 1px solid #e2e6ea;
	border-radius: 10px;
	padding: 18px;
	background: #fff;
	transition: all 0.18s;
	text-align: center;
}
.woocommerce ul.products li.product-category:hover {
	border-color: #ff7e29;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.woocommerce ul.products li.product-category h2 {
	color: var(--ch-color-accent);
	font-size: 16px;
	font-weight: 700;
	margin: 12px 0 6px;
	min-height: auto !important;
}
.woocommerce ul.products li.product-category mark.count {
	background: rgba(255,126,41,0.12);
	color: #ff7e29;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
}

/* ENGINE CTA */
.ch-engine-cta {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.ch-engine-cta__inner {
	background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
	border-radius: 14px;
	padding: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
}
.ch-engine-cta h3 {
	color: var(--ch-color-accent);
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.25;
}
.ch-engine-cta p {
	color: #5b6471;
	margin: 0;
}
.ch-engine-cta .ch-search-form {
	background: #fff;
	margin: 0;
}
@media (max-width: 800px) {
	.ch-engine-cta__inner { grid-template-columns: 1fr; padding: 28px; }
}

/* MIÉRT MINKET */
.ch-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
}
.ch-features__item {
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 14px;
	padding: 30px 28px;
	transition: all 0.2s;
}
.ch-features__item:hover {
	border-color: #ff7e29;
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(0,0,0,0.06);
}
.ch-features__num {
	font-size: 32px;
	font-weight: 800;
	color: #ff7e29;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
.ch-features__item h4 {
	color: var(--ch-color-accent);
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px;
}
.ch-features__item p {
	color: #5b6471;
	margin: 0;
	line-height: 1.55;
	font-size: 15px;
}
@media (max-width: 800px) {
	.ch-features { grid-template-columns: 1fr; }
}

/* FINAL CTA */
.ch-final-cta {
	background: linear-gradient(135deg, #0b1d3a 0%, #1d3557 100%);
	color: #fff;
	padding: 60px 20px;
	text-align: center;
}
.ch-final-cta__inner {
	max-width: 700px;
	margin: 0 auto;
}
.ch-final-cta h2 {
	color: #fff;
	font-size: clamp(24px, 3.5vw, 34px);
	font-weight: 800;
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}
.ch-final-cta p {
	color: rgba(255,255,255,0.86);
	font-size: 16px;
	margin: 0 0 26px;
	line-height: 1.55;
}
.ch-final-cta__btn {
	display: inline-block;
	background: #ff7e29;
	color: #fff !important;
	padding: 16px 32px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none !important;
	box-shadow: 0 4px 16px rgba(255,126,41,0.35);
	transition: all 0.18s;
}
.ch-final-cta__btn:hover {
	background: #ff6a0c;
	transform: translateY(-1px);
}

/* "Speedia" home Elementor sections cleanup — eltüntetjük az elem-szekciókat
   amiket Speedia importáltunk a contact/about/faq/shop oldalra ami régen ott volt */
.elementor-page main.site-main {
	max-width: none !important;
	padding: 0 !important;
}
body.home main.site-main,
body.home .site-main {
	padding-top: 0 !important;
}

/* Page title elrejtése a homepage-en (Hello Elementor "Főoldal" h1) */
body.home .page-header,
body.home .entry-header,
body.home .elementor-page-title,
body.home main h1.entry-title,
body.home main > .page-header h1,
body.home main > article > header.entry-header {
	display: none !important;
}

/* ============================================================
   BELSŐ OLDALAK — közös hero + body
   ============================================================ */

/* Page title elrejtés — a parent Hello Elementor `<div class="page-header">`
   kis duplikált címét mindig elrejtjük, mert vagy:
   1. A page-en saját .ch-page-hero van (termekek, ajanlatkeres, kategória, shop)
   2. A page tartalmában van saját <h1> (jogi pages: ÁSZF, Adatkezelés, Cookie, GYIK, Rólunk)
   Mindkét esetben felesleges a parent template auto-injected page-header-je. */
body.page main > .page-header,
body.page main h1.entry-title:first-child,
body.page main > article > header.entry-header,
body.single main > .page-header,
body.single main h1.entry-title:first-child,
body.single main > article > header.entry-header,
body.woocommerce-shop main > h1.page-title,
body.woocommerce-shop main h1.page-title:first-child,
body.woocommerce main h1.page-title:first-child,
body.archive.woocommerce h1.page-title,
.woocommerce-products-header,
.woocommerce-products-header__title,
body.post-type-archive-product header.woocommerce-products-header,
body.tax-product_cat header.woocommerce-products-header,
body.woocommerce-shop .page-header,
body.woocommerce-shop .entry-header,
body.tax-product_cat .page-header {
	display: none !important;
}
body.page main.site-main {
	max-width: none !important;
	padding: 0 !important;
}
body.page .ch-page-body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px;
}
/* A hero teljes szélességű, a tartalma középre */
body.page .ch-page-hero {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}
/* Termékkatalógus oldalakon a Woo grid (`<ul class="products">`) és a
   ch-filter szűrő szépen 1200px-be szűkítve, jól igazodva. */
body.page .ch-page-body .ch-filter,
body.page .ch-page-body .ch-results-count,
body.page .ch-page-body ul.products {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}
body.page .ch-page-body ul.products.columns-4,
.woocommerce-page ul.products.columns-4,
body ul.products.columns-4 {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
}
body ul.products.columns-4 li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	min-width: 0;
	overflow: hidden;
}
body ul.products.columns-4 li.product .woocommerce-loop-product__title,
body ul.products.columns-4 li.product h2 {
	overflow-wrap: anywhere;
	word-break: break-word;
}
/* WC clearfix `::before` / `::after` foglal cellát a CSS gridben — eltüntetjük. */
body ul.products.columns-4::before,
body ul.products.columns-4::after,
body .woocommerce ul.products::before,
body .woocommerce ul.products::after {
	display: none !important;
	content: none !important;
}
@media (max-width: 1200px) {
	body.page .ch-page-body ul.products.columns-4,
	body.archive ul.products.columns-4,
	body.woocommerce ul.products.columns-4,
	body ul.products.columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 900px) {
	body.page .ch-page-body ul.products.columns-4,
	body.archive ul.products.columns-4,
	body.woocommerce ul.products.columns-4,
	body ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 600px) {
	body.page .ch-page-body ul.products.columns-4,
	body.archive ul.products.columns-4,
	body.woocommerce ul.products.columns-4,
	body ul.products.columns-4 {
		grid-template-columns: 1fr !important;
	}
}
.ch-results-count {
	color: #5b6471;
	font-size: 14px;
	margin: 18px 0 14px;
}
.ch-results-count strong {
	color: var(--ch-color-accent);
	font-size: 18px;
}

.ch-page-hero {
	background: linear-gradient(135deg, #0b1d3a 0%, #1d3557 100%);
	color: #fff;
	padding: 60px 24px;
	margin: 0 0 40px;
	width: 100%;
}
.ch-page-hero--green {
	background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
}
.ch-page-hero--orange {
	background: linear-gradient(135deg, #b8520d 0%, #fd7e14 100%);
}
.ch-page-hero__inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}
.ch-page-hero__eyebrow {
	display: inline-block;
	background: rgba(255,255,255,0.12);
	color: #ffd166;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.ch-page-hero h1 {
	color: #fff;
	font-size: clamp(28px, 4.5vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}
.ch-page-hero p {
	color: rgba(255,255,255,0.86);
	font-size: 16px;
	margin: 0;
	line-height: 1.55;
}
.ch-page-hero p a {
	color: #ffd166;
}

.ch-page-body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px;
}
.ch-page-body h2 {
	color: var(--ch-color-accent);
	font-size: 24px;
	font-weight: 800;
	margin: 32px 0 16px;
}
.ch-page-body ul,
.ch-page-body ol {
	padding-left: 22px;
}

/* Ajánlatkérés-page rács: form + sidebar */
.ch-quote-page {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 32px;
	align-items: start;
}
.ch-quote-page__form {
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	padding: 28px;
}
.ch-quote-page__aside {
	background: #f5f7fa;
	border-radius: 12px;
	padding: 24px;
	font-size: 14px;
}
.ch-quote-page__aside h3 {
	color: var(--ch-color-accent);
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px;
}
.ch-quote-page__aside hr {
	border: 0;
	border-top: 1px solid #e2e6ea;
	margin: 14px 0;
}
@media (max-width: 800px) {
	.ch-quote-page { grid-template-columns: 1fr; }
}

/* Kapcsolat-grid */
.ch-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	max-width: 1200px;
}
.ch-contact-card {
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	padding: 26px;
	text-align: center;
	transition: all 0.2s;
}
.ch-contact-card:hover {
	border-color: #ff7e29;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.ch-contact-card__icon {
	font-size: 36px;
	margin-bottom: 8px;
}
.ch-contact-card h3 {
	color: var(--ch-color-accent);
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px;
}
.ch-contact-card p {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
}
.ch-contact-card a {
	color: #ff7e29;
}
.ch-contact-card small {
	color: #888;
	font-size: 13px;
}
@media (max-width: 800px) {
	.ch-contact-grid { grid-template-columns: 1fr; }
}

.ch-company-data li {
	margin-bottom: 6px;
}
.ch-company-data em {
	color: #aaa;
	font-style: italic;
	font-size: 13px;
}

/* GYIK */
.ch-faq details {
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 12px;
	transition: border-color 0.15s;
}
.ch-faq details[open] {
	border-color: #ff7e29;
	box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.ch-faq summary {
	font-weight: 700;
	color: var(--ch-color-accent);
	cursor: pointer;
	font-size: 16px;
	padding: 4px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.ch-faq summary::after {
	content: '+';
	color: #ff7e29;
	font-size: 22px;
	font-weight: 600;
}
.ch-faq details[open] summary::after {
	content: '–';
}
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq details > div {
	padding-top: 10px;
	color: #5b6471;
	line-height: 1.6;
}

.ch-target-list li {
	margin-bottom: 12px;
	line-height: 1.55;
}

/* Features 3-col extension */
.ch-features--3col {
	margin-top: 40px;
}

/* ============================================================
   SEARCH PAGE — /kereses/
   ============================================================ */
.ch-search-form-wrap {
	margin-top: 24px;
	margin-bottom: 24px;
}
.ch-search-form {
	background: #f7f8fa;
	border-radius: 10px;
	padding: 24px;
	border: 1px solid var(--ch-color-border);
}
.ch-search-form__label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--ch-color-accent);
}
.ch-search-form__row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ch-search-form__row input[type="search"] {
	flex: 1 1 320px;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--ch-color-border);
	border-radius: 6px;
	font-size: 16px;
}
.ch-search-form__btn {
	flex: 0 0 auto;
	padding: 10px 24px;
}
.ch-search-form__hint {
	margin: 8px 0 0;
	font-size: 13px;
	color: #5b6471;
}
.ch-search-results__count {
	margin: 0 0 18px;
	color: #5b6471;
}

/* ============================================================
   MOBILE — globális finomhangolás <= 900px és <= 600px
   ============================================================ */

/* Header strip (telefon/e-mail/nyitvatartás) — mobilon kompakt */
@media (max-width: 700px) {
	.ch-header-strip,
	.ch-header-strip__inner {
		font-size: 12px !important;
	}
	.ch-header-strip__inner {
		flex-wrap: wrap;
		gap: 8px !important;
		justify-content: center;
		padding: 6px 12px !important;
	}
	.ch-header-strip__right {
		display: none;
	}
}

/* Site header logó + menü mobilon */
@media (max-width: 900px) {
	.site-header .site-title,
	.site-header .site-title a,
	.site-header h1.site-logo,
	.site-header .site-logo a {
		font-size: 1em !important;
		line-height: 1.2 !important;
	}
	.site-header .site-description {
		display: none !important;
	}
	.site-header .site-branding {
		flex: 1 1 auto;
	}
}

/* Mobile dropdown menü — Hello Elementor menü-dropdown stílus felülírás */
@media (max-width: 900px) {
	.site-navigation-dropdown,
	.site-navigation-dropdown .menu {
		background: #fff;
	}
	.site-navigation-dropdown ul.menu li.menu-item {
		border-bottom: 1px solid var(--ch-color-border);
	}
	.site-navigation-dropdown ul.menu li.menu-item a {
		padding: 14px 18px !important;
		font-size: 1em !important;
		font-weight: 600 !important;
		display: block;
		color: var(--ch-color-accent) !important;
	}
	/* Az orange CTA háttér NE legyen full-width sáv mobilon — sima szín hover-rel */
	.site-navigation-dropdown ul.menu li.menu-item a[href*="termekek"],
	.site-navigation-dropdown ul.menu li.menu-item a[href*="ajanlatkeres"],
	.site-header .site-navigation-dropdown ul li.menu-item a[href*="termekek"],
	.site-header .site-navigation-dropdown ul li.menu-item a[href*="ajanlatkeres"] {
		background: transparent !important;
		color: #ff6a0c !important;
		font-weight: 700 !important;
	}
	.site-navigation-dropdown ul.menu li.menu-item a[href*="termekek"]:hover,
	.site-navigation-dropdown ul.menu li.menu-item a[href*="ajanlatkeres"]:hover {
		background: #fff5ec !important;
		color: #ff6a0c !important;
	}
	/* A statikus header menü (.site-navigation, nem dropdown) is ha látszik */
	.site-header > .header-inner > .site-navigation ul li.menu-item a[href*="termekek"],
	.site-header > .header-inner > .site-navigation ul li.menu-item a[href*="ajanlatkeres"] {
		background: transparent !important;
		color: #ff6a0c !important;
	}
}

/* Page hero (.ch-page-hero) mobilon */
@media (max-width: 700px) {
	.ch-page-hero {
		padding: 36px 16px !important;
		margin-bottom: 20px !important;
	}
	.ch-page-hero h1 {
		font-size: 1.6em !important;
	}
	.ch-page-hero p {
		font-size: 0.95em !important;
	}
	.ch-page-hero__eyebrow {
		font-size: 0.78em !important;
	}
}

/* Filter form mobilon — egymás alatt */
@media (max-width: 700px) {
	.ch-filter {
		padding: 16px !important;
	}
	.ch-filter__row {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}
	.ch-filter__row select {
		font-size: 16px; /* iOS zoom blokkolás */
	}
}

/* Termékkártyák mobilon — kisebb padding, kisebb font */
@media (max-width: 700px) {
	.woocommerce ul.products li.product {
		padding: 10px !important;
	}
	.woocommerce ul.products li.product h2,
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.92em !important;
		min-height: 0 !important;
	}
	.woocommerce ul.products li.product .button {
		padding: 8px 14px !important;
		font-size: 0.9em !important;
	}
	.ch-badge {
		font-size: 11px !important;
		padding: 3px 8px !important;
	}
}

/* Search results grid mobilon: 4 → 3 → 2 → 1 column */
@media (max-width: 1100px) {
	.ch-search-results ul.products.columns-4,
	.ch-filtered-products ul.products.columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 800px) {
	.ch-search-results ul.products.columns-4,
	.ch-filtered-products ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 500px) {
	.ch-search-results ul.products.columns-4,
	.ch-filtered-products ul.products.columns-4 {
		grid-template-columns: 1fr !important;
	}
	.ch-search-form__row {
		flex-direction: column;
	}
	.ch-search-form__row input[type="search"] {
		flex: 0 0 auto;
		width: 100%;
		height: auto;
	}
	.ch-search-form__btn {
		width: 100%;
	}
}

/* Floating cart mobilon — kisebb */
@media (max-width: 600px) {
	.ch-floating-cart {
		bottom: 12px !important;
		right: 12px !important;
		padding: 8px 14px !important;
		font-size: 13px !important;
	}
}

/* Footer mobilon */
@media (max-width: 700px) {
	.site-footer .footer-inner,
	.site-footer > div {
		flex-direction: column !important;
		gap: 12px !important;
		text-align: center;
	}
	.site-footer .menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px !important;
	}
}

/* Bankkártya logók mobilon — még kisebb, középre */
@media (max-width: 600px) {
	.ch-payment-logos {
		justify-content: center !important;
		flex-wrap: wrap;
	}
	.ch-payment-logos img {
		max-height: 18px !important;
	}
}

/* Body margin reset mobil eszközökön (oldalsó scrolling elkerülése) */
@media (max-width: 700px) {
	body {
		overflow-x: hidden;
	}
}

/* WC kosár oldal mobilon */
@media (max-width: 700px) {
	.woocommerce-cart .shop_table,
	.woocommerce-cart table.cart {
		font-size: 13px;
	}
	.woocommerce-cart .quantity input.qty {
		width: 60px !important;
	}
	.woocommerce-cart .actions .coupon {
		display: block !important;
		width: 100%;
		margin-bottom: 12px;
	}
}
