/* =========================================================
   Háziszörp téma – stílusok
   ========================================================= */

:root {
	--hsz-green: #80b600;
	--hsz-green-dark: #6b9a00;
	--hsz-green-soft: #99c533;
	--hsz-ink: #2a302f;
	--hsz-text: #54595f;
	--hsz-muted: #7a7a7a;
	--hsz-tint: #e8f5e9;
	--hsz-cream: #fff5ca;
	--hsz-border: #e5e5e5;
	--hsz-red: #d9534f;
	--hsz-star: #f2b01e;
	--hsz-white: #fff;
	--hsz-radius: 4px;
	--hsz-shadow: 0 6px 24px rgba(0, 0, 0, .08);
	--hsz-font: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--hsz-display: "IM Fell English", Georgia, "Times New Roman", serif;
	--hsz-container: 1200px;
	--hsz-gutter: 20px;
	--hsz-header-h: 0px;
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Alap betűméret: mobilon 17px, nagyobb képernyőn 18px – a rem-ben megadott méretek (címek, gombok) ezzel együtt nőnek. */
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 112.5%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--hsz-font);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--hsz-text);
	background: var(--hsz-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--hsz-green-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--hsz-green); }
h1, h2, h3, h4, h5, h6 { color: var(--hsz-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--hsz-green); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
/* Horgonyra ugráskor a ragadós fejléc ne takarja ki a célt. */
[id] { scroll-margin-top: 150px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hsz-skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--hsz-ink); color: #fff; padding: 10px 16px; border-radius: var(--hsz-radius);
}
.hsz-skip-link:focus { top: 12px; color: #fff; }

.hsz-icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }

.hsz-container { width: 100%; max-width: var(--hsz-container); margin: 0 auto; padding: 0 var(--hsz-gutter); }
.hsz-container--narrow { max-width: 900px; }
.hsz-center { text-align: center; }
.hsz-main { min-height: 40vh; }

/* ---------- Gombok ---------- */
.hsz-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wp-element-button, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	background: var(--hsz-green); color: #fff; border: 2px solid var(--hsz-green);
	border-radius: var(--hsz-radius); padding: .55em 1.3em;
	font-family: var(--hsz-font); font-size: 1.05rem; font-weight: 500; line-height: 1.3;
	text-decoration: none; text-align: center; transition: background-color .2s, border-color .2s, color .2s;
}
.hsz-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wp-element-button:hover {
	background: var(--hsz-green-dark); border-color: var(--hsz-green-dark); color: #fff;
}
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button.alt:disabled {
	background: var(--hsz-green); opacity: .5;
}
.hsz-button--lg { font-size: 1.3rem; padding: .55em 1.4em; }
.hsz-button--red { background: var(--hsz-red); border-color: var(--hsz-red); }
.hsz-button--red:hover { background: #c4403c; border-color: #c4403c; }
.hsz-button--outline { background: transparent; border-color: #fff; color: #fff; }
.hsz-button--outline:hover { background: #fff; border-color: #fff; color: var(--hsz-green-dark); }
.hsz-button--ghost { background: transparent; color: var(--hsz-green-dark); }
.hsz-button--ghost:hover { background: var(--hsz-green); border-color: var(--hsz-green); color: #fff; }
.hsz-button .hsz-icon { font-size: 1.1em; }

/* ---------- Üzlet értesítés (WooCommerce) a fejléc fölött ---------- */
body .woocommerce-store-notice.hsz-notice {
	position: relative; top: auto; left: auto; right: auto; z-index: auto; width: auto; margin: 0; padding: 0;
	background: var(--hsz-cream); color: var(--hsz-ink); box-shadow: none; text-align: center;
	font-size: 16px; line-height: 1.45; border-bottom: 1px solid #f0e0a0;
}
.hsz-notice__inner { position: relative; display: flex; justify-content: center; padding-top: 10px; padding-bottom: 10px; }
body .hsz-notice .hsz-notice__text { margin: 0; padding: 0 40px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.hsz-notice__text .hsz-icon { flex: none; font-size: 22px; color: var(--hsz-green); }
body .hsz-notice .hsz-notice__text a { color: var(--hsz-green-dark); text-decoration: underline; }
body .hsz-notice .hsz-notice__close {
	position: absolute; right: var(--hsz-gutter); top: 50%; transform: translateY(-50%);
	width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
	color: var(--hsz-ink); text-decoration: none; font-size: 20px; transition: background-color .2s;
}
body .hsz-notice .hsz-notice__close:hover { background: rgba(0, 0, 0, .07); color: var(--hsz-ink); }
@media (max-width: 600px) {
	body .woocommerce-store-notice.hsz-notice { font-size: 15px; }
	.hsz-notice__inner { justify-content: flex-start; }
	body .hsz-notice .hsz-notice__text { padding: 0 34px 0 0; text-align: left; align-items: flex-start; }
	body .hsz-notice .hsz-notice__close { right: 8px; }
}

/* ---------- Fejléc ---------- */
.hsz-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.admin-bar .hsz-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hsz-header { top: 0; } }
.hsz-header.is-scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .1); }

.hsz-topbar { background: var(--hsz-green); color: #fff; font-size: 15px; font-weight: 600; }
.hsz-topbar__inner { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 22px; padding-top: 5px; padding-bottom: 5px; }
.hsz-topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hsz-topbar a:hover { text-decoration: underline; color: #fff; }

.hsz-header__main { border-bottom: 2px solid var(--hsz-green); }
.hsz-header .hsz-container { max-width: 1320px; }
.hsz-header__inner { display: flex; align-items: center; gap: 22px; min-height: 88px; }
.hsz-logo { flex: none; }
.hsz-logo img { display: block; max-height: 50px; width: auto; }

.hsz-nav { margin-left: auto; }
.hsz-nav__toggle { display: none; }
.hsz-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: flex-end; }
.hsz-menu > li { position: relative; }
.hsz-menu a {
	display: block; padding: 8px; color: #222; text-decoration: none; white-space: nowrap;
	font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0;
}
.hsz-menu > li > a { --hsz-menu-pad: 8px; position: relative; padding: 12px var(--hsz-menu-pad); transition: color .3s; }
/* Zöld aláhúzás, ami a menüpont jobb széléről becsúszik – mint a régi (Elementor „underline / slide”) menüben. */
.hsz-menu > li > a::before {
	content: ""; position: absolute; bottom: 0; height: 3px; background: var(--hsz-green); pointer-events: none;
	left: calc(100% - var(--hsz-menu-pad)); width: 10px; opacity: 0;
	transition: left .3s cubic-bezier(.58, .3, .005, 1), width .3s cubic-bezier(.58, .3, .005, 1), opacity .3s cubic-bezier(.58, .3, .005, 1);
}
.hsz-menu > li:hover > a,
.hsz-menu > li > a:focus-visible,
.hsz-menu > .current-menu-item > a,
.hsz-menu > .current-menu-ancestor > a,
.hsz-menu > .current_page_item > a { color: var(--hsz-green-dark); }
.hsz-menu > li:hover > a::before,
.hsz-menu > li:focus-within > a::before,
.hsz-menu > .current-menu-item > a::before,
.hsz-menu > .current-menu-ancestor > a::before,
.hsz-menu > .current_page_item > a::before { left: var(--hsz-menu-pad); width: calc(100% - 2 * var(--hsz-menu-pad)); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hsz-menu > li > a::before { transition: none; } }
.hsz-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: 2px;
	border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
}
.hsz-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 230px; z-index: 20;
	background: #fff; box-shadow: var(--hsz-shadow); border-top: 2px solid var(--hsz-green);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.hsz-menu li:hover > .sub-menu,
.hsz-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hsz-menu .sub-menu a { text-transform: none; font-size: 16px; font-weight: 500; padding: 8px 18px; }
.hsz-menu .sub-menu a:hover { background: var(--hsz-tint); color: var(--hsz-green-dark); }

.hsz-cart {
	flex: none; position: relative; display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px; border: 1px solid #dcdcdc; border-radius: var(--hsz-radius);
	color: #333; text-decoration: none; font-size: 15px; font-weight: 600;
}
.hsz-cart:hover { border-color: var(--hsz-green); color: var(--hsz-green-dark); }
.hsz-cart .hsz-icon { font-size: 20px; color: var(--hsz-green); }
.hsz-cart__count {
	position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 10px; background: var(--hsz-green); color: #fff; font-size: 12px; line-height: 20px; text-align: center;
}

/* Keskenyebb asztali nézet: a menü még egy sorban, kicsit kisebb betűvel és logóval. */
@media (min-width: 1241px) and (max-width: 1340px) {
	.hsz-header__inner { gap: 18px; }
	.hsz-logo img { max-height: 44px; }
	.hsz-menu a { font-size: 14px; }
	.hsz-menu > li > a { --hsz-menu-pad: 7px; }
}
@media (max-width: 1240px) {
	.hsz-header__inner { min-height: 70px; gap: 10px; }
	.hsz-logo { flex: 1 1 auto; min-width: 0; }
	.hsz-logo img { max-height: 44px; max-width: 100%; }
	.hsz-cart { order: 2; }
	.hsz-nav { order: 3; margin-left: 0; }
	.hsz-nav__toggle {
		display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid #dcdcdc;
		border-radius: var(--hsz-radius); padding: 7px 10px; color: #222; font-weight: 600; font-size: 15px;
	}
	.hsz-nav__toggle .hsz-icon { font-size: 22px; }
	.hsz-nav__icon-close, .hsz-nav.is-open .hsz-nav__icon-open { display: none; }
	.hsz-nav.is-open .hsz-nav__icon-close { display: inline; }
	.hsz-menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
		flex-direction: column; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
		padding: 8px var(--hsz-gutter) 18px; max-height: calc(100vh - 140px); overflow-y: auto;
	}
	.hsz-nav.is-open .hsz-menu { display: flex; }
	.hsz-menu a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
	.hsz-menu > li > a { padding: 12px 4px; border-bottom: 1px solid #f0f0f0; }
	.hsz-menu > li > a::before { display: none; }
	.hsz-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		padding: 0 0 0 16px; min-width: 0;
	}
	.hsz-menu .menu-item-has-children > a::after { display: none; }
	.hsz-header__main { position: relative; }
}
@media (max-width: 600px) {
	.hsz-topbar { font-size: 13px; }
	.hsz-topbar__inner { justify-content: center; gap: 4px 16px; }
	.hsz-topbar__label { display: none; }
	.hsz-logo img { max-height: 36px; }
	.hsz-cart { padding: 6px 9px; }
	.hsz-cart__total { display: none; }
	.hsz-nav__toggle span { display: none; }
}

/* ---------- Szakaszok ---------- */
.hsz-section { padding: 70px 0; }
.hsz-section--tint { background: var(--hsz-tint); }
.hsz-section__title {
	font-family: var(--hsz-display); font-weight: 400; color: var(--hsz-green);
	font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); text-align: center; margin: 0 0 .9em;
}
@media (max-width: 600px) { .hsz-section { padding: 48px 0; } }

/* ---------- Nagy diavetítés ---------- */
.hsz-hero { position: relative; overflow: hidden; background: #333; touch-action: pan-y; }
.hsz-hero__track { position: relative; height: clamp(420px, 72vh, 650px); }
.hsz-hero__slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity .9s ease, visibility .9s;
}
.hsz-hero__slide.is-active { opacity: 1; visibility: visible; }
.hsz-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hsz-hero__slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .24); }
.hsz-hero__content {
	position: relative; z-index: 2; height: 100%; max-width: 980px; margin: 0 auto; padding: 40px 70px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.hsz-hero__title {
	color: #fff; font-family: var(--hsz-font); font-weight: 700; margin: 0 0 .5em;
	font-size: clamp(1.7rem, 1rem + 3vw, 3.4rem); line-height: 1.2; text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.hsz-hero__text { font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); max-width: 760px; }
/* Gomb, mint az eredeti diavetítésben: 32px (mobilon 25,6px), félkövér, fehér keretes;
   rámutatáskor áttetsző fehér háttér, zöld keret és felirat. */
.hsz-hero .hsz-button {
	font-size: clamp(1.5rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; line-height: 1; padding: 15px 30px; margin-top: .5em;
	transition: background-color .3s, border-color .3s, color .3s;
}
.hsz-hero .hsz-button--outline:hover, .hsz-hero .hsz-button--outline:focus-visible {
	background: rgba(255, 255, 255, .84); border-color: var(--hsz-green); color: var(--hsz-green);
}
/* Nyilak, mint az eredetin: kör nélküli, vékony fehér csúcsok a kép szélén */
.hsz-hero__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 48px; height: 72px; padding: 0; border: 0; display: grid; place-items: center;
	background: none; color: rgba(255, 255, 255, .9); font-size: 42px;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); transition: color .2s, transform .2s;
}
.hsz-hero__arrow .hsz-icon { stroke-width: 1.5; }
.hsz-hero__arrow:hover { color: #fff; background: none; transform: translateY(-50%) scale(1.12); }
.hsz-hero__arrow--prev { left: 6px; }
.hsz-hero__arrow--next { right: 6px; }
.hsz-hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.hsz-hero__dot {
	width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0;
	background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s;
}
.hsz-hero__dot.is-active { background: #fff; transform: scale(1.3); }
/* Diavetítés oldalakon ([hsz_diak]) */
.hsz-slides { margin: 1.4em 0 2em; border-radius: 10px; box-shadow: var(--hsz-shadow); }
.hsz-slides .hsz-hero__track { height: auto; aspect-ratio: 3 / 2; max-height: 600px; }
.hsz-slides .hsz-hero__slide::after { background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%); }
.hsz-slides .hsz-slides__content { max-width: none; margin: 0; padding: 30px 40px 46px; align-items: flex-start; justify-content: flex-end; text-align: left; }
.hsz-slides__link { display: inline-flex; align-items: center; gap: .4em; color: #fff; text-decoration: none; }
.hsz-slides__link::before { content: ""; position: absolute; inset: 0; }
.hsz-slides__link:hover, .hsz-slides__link:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.hsz-slides__link .hsz-icon { font-size: 1.4rem; }
.hsz-slides__title {
	margin: 0; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
@media (prefers-reduced-motion: no-preference) {
	.hsz-slides .hsz-hero__slide.is-active .hsz-hero__img { animation: hsz-kenburns 7s ease-out both; }
}
@keyframes hsz-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (max-width: 600px) {
	.hsz-slides .hsz-slides__content { padding: 20px 50px 40px 22px; }
}

@media (max-width: 600px) {
	.hsz-hero__content { padding: 30px 46px 50px; }
	.hsz-hero__arrow { width: 36px; height: 56px; font-size: 32px; }
	.hsz-hero .hsz-button { padding: 13px 20px; line-height: 1.15; }
	.hsz-hero__arrow--prev { left: 2px; }
	.hsz-hero__arrow--next { right: 2px; }
}

/* ---------- Idézet ---------- */
.hsz-quote { padding-bottom: 20px; }
.hsz-quote__inner { margin: 0 auto; max-width: 980px; text-align: center; }
.hsz-quote__inner::before, .hsz-quote__inner::after {
	content: ""; display: block; width: 240px; height: 3px; background: var(--hsz-green); margin: 0 auto 26px;
}
.hsz-quote__inner::after { margin: 26px auto 0; }
.hsz-quote blockquote { margin: 0; }
.hsz-quote blockquote p, .hsz-quote figcaption {
	font-style: italic; font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); line-height: 1.5;
	color: #16263a; letter-spacing: .03em; margin: 0;
}

/* ---------- Kiemelt termékek / terméklista ---------- */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(var(--hsz-cols, 4), minmax(0, 1fr)); gap: 34px 28px;
	margin: 0 0 2em; padding: 0;
}
.woocommerce ul.products.columns-2 { --hsz-cols: 2; }
.woocommerce ul.products.columns-3 { --hsz-cols: 3; }
.woocommerce ul.products.columns-4 { --hsz-cols: 4; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; clear: none !important;
	display: flex; flex-direction: column; text-align: center;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.woocommerce ul.products li.product a img {
	width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0 0 14px; background: #fff; transition: transform .3s;
}
.woocommerce ul.products li.product a:hover img { transform: scale(1.03); }
.hsz-loop-cats { display: block; font-size: 13px; font-style: italic; color: #999; margin-bottom: 2px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--hsz-font); font-size: 17px; font-weight: 600; color: #333; padding: 0 0 .4em; margin: 0;
}
.woocommerce ul.products li.product .price {
	color: var(--hsz-green); font-size: 19px; font-weight: 600; margin: auto 0 12px;
}
.woocommerce ul.products li.product .price del { color: #999; font-weight: 400; }
.woocommerce ul.products li.product .button { margin: 0 auto; font-size: 15px; padding: .5em 1.1em; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale {
	background: var(--hsz-red); border-radius: 50%; min-width: 46px; min-height: 46px; line-height: 46px; font-weight: 600; font-size: 13px;
}
@media (max-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products { --hsz-cols: 3 !important; }
}
@media (max-width: 760px) {
	.woocommerce ul.products, .woocommerce-page ul.products { --hsz-cols: 2 !important; gap: 26px 16px; }
}

/* ---------- Miért a Háziszörp? ---------- */
.hsz-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 50px; text-align: center; }
.hsz-why__icon { font-size: 46px; color: var(--hsz-green); margin-bottom: 10px; fill: var(--hsz-green); fill-opacity: .15; }
.hsz-why__title { color: var(--hsz-green); font-size: 1.45rem; font-weight: 500; margin-bottom: .5em; }
.hsz-why__item p { font-size: 1.05rem; max-width: 330px; margin: 0 auto; }
@media (max-width: 760px) { .hsz-why__grid { grid-template-columns: 1fr; } }

/* ---------- Cukormentes / Környezetbarát blokk ---------- */
/* Két egyforma magas oszlop: a gombok mindkét oldalon alul, egy vonalban – mint az eredetin. */
.hsz-promo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 70px; align-items: stretch; }
.hsz-promo--reverse .hsz-promo__product { order: 2; }
.hsz-promo__product { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hsz-promo__product > .hsz-button { margin-top: auto; }
.hsz-promo__text { display: flex; flex-direction: column; }
.hsz-promo__body { margin: auto 0; }
/* Mint az eredetin: az alcím és a gomb az oszlopban középen, a lista balra zárt. */
.hsz-promo__action { margin: 0; padding-top: 1.2em; text-align: center; }
.hsz-promo__subtitle { text-align: center; }
.hsz-promo__image { position: relative; display: inline-block; overflow: hidden; }
.hsz-promo__image img { width: min(340px, 100%); aspect-ratio: 1; object-fit: contain; }
.hsz-promo__label { font-size: 1.35rem; font-weight: 600; color: #111; margin: .6em 0 .5em; }
.hsz-promo__subtitle {
	font-family: var(--hsz-display); font-weight: 400; color: var(--hsz-green);
	font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: .8em;
}
.hsz-checklist { list-style: none; margin: 0 0 1.6em; padding: 0; font-size: 1.1rem; }
.hsz-checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .5em; }
.hsz-checklist .hsz-icon { color: var(--hsz-green); margin-top: .3em; }
.hsz-ribbon {
	position: absolute; z-index: 2; top: 22px; left: -42px; width: 160px; transform: rotate(-45deg);
	background: var(--hsz-green); color: #fff; text-align: center; font-size: 12px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; padding: 4px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
@media (max-width: 760px) {
	.hsz-promo__grid { grid-template-columns: 1fr; }
	.hsz-promo--reverse .hsz-promo__product { order: 0; }
	.hsz-promo__text { text-align: left; }
	.hsz-promo__body { margin: 0; }
}

/* Finom beúszás oldalról, amikor a blokk a képernyőre ér (csak asztali nézetben; a theme.js teszi rá az is-visible-t). */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
	.hsz-js .hsz-reveal { opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
	.hsz-js .hsz-reveal--left { transform: translateX(-60px); }
	.hsz-js .hsz-reveal--right { transform: translateX(60px); transition-delay: .12s; }
	.hsz-js .hsz-reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Rólunk írták ---------- */
.hsz-press__viewport { position: relative; max-width: 860px; margin: 0 auto; border-top: 3px solid var(--hsz-green); }
.hsz-press__track { display: grid; }
.hsz-press__item {
	grid-area: 1 / 1; position: relative; text-align: center; padding: 36px 20px 10px;
	opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
}
.hsz-press__item.is-active { opacity: 1; visibility: visible; }
.hsz-press__item::after { display: none; }
.hsz-press__img {
	width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; display: block;
	border: 3px solid var(--hsz-green); background: #fff;
}
.hsz-press__heading { font-size: 1.15rem; font-weight: 700; color: #111; margin-bottom: .6em; }
.hsz-press__text { font-size: 1.05rem; max-width: 720px; margin: 0 auto 1em; }
.hsz-press__source { font-weight: 700; color: #111; font-size: 1.1rem; margin-bottom: .3em; }
.hsz-press__source a { color: #111; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hsz-press__source a:hover { color: var(--hsz-green-dark); text-decoration: underline; }
.hsz-press__source .hsz-icon { font-size: .8em; color: var(--hsz-muted); }
.hsz-stars { color: var(--hsz-star); font-size: 26px; display: flex; justify-content: center; gap: 2px; margin: .4em 0 0; }
.hsz-stars .hsz-icon { fill: currentColor; stroke: none; }
/* Kiemelt cikk (TOP 100 oklevél + magazincikk képe) a diavetítés fölött */
.hsz-press-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; max-width: 1100px; margin: 0 auto 64px; }
.hsz-press-feature__body { text-align: center; }
.hsz-press-feature__body .hsz-press__img { width: 200px; height: 200px; }
.hsz-press-feature__body .hsz-press__heading { font-size: 1.3rem; }
.hsz-press-feature__body .hsz-press__source a { color: var(--hsz-green-dark); }
.hsz-press-feature__media { margin: 0; }
.hsz-press-feature__img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--hsz-shadow); }
@media (max-width: 800px) {
	.hsz-press-feature { grid-template-columns: 1fr; gap: 30px; margin-bottom: 48px; }
	.hsz-press-feature__media { max-width: 480px; margin: 0 auto; }
}
.hsz-press__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.hsz-press__dots { position: static; }
.hsz-press__dots .hsz-hero__dot { background: #cfd8c4; }
.hsz-press__dots .hsz-hero__dot.is-active { background: var(--hsz-green); }
.hsz-press__arrow { border: 0; background: none; color: #555; font-size: 30px; display: grid; place-items: center; padding: 4px; }
.hsz-press__arrow:hover { color: var(--hsz-green); }

/* ---------- Videó ---------- */
.hsz-video__frame {
	position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: var(--hsz-radius); background: #000; box-shadow: var(--hsz-shadow);
}
.hsz-video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hsz-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hsz-video__play {
	position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
	border: 3px solid #fff; background: rgba(0, 0, 0, .3); color: #fff; font-size: 34px; display: grid; place-items: center;
	transition: background .2s, transform .2s;
}
.hsz-video__play .hsz-icon { margin-left: 4px; fill: currentColor; }
.hsz-video__play:hover { background: var(--hsz-green); transform: scale(1.06); }
.hsz-video__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 60px; margin: 40px 0 0; }

/* ---------- Oldalak, blog ---------- */
.hsz-main > .hsz-container { padding-top: 44px; padding-bottom: 70px; }
.hsz-page__header { margin-bottom: 1.4em; }
.hsz-page__header--center { text-align: center; margin-bottom: 1.8em; }
.hsz-page__title {
	font-family: var(--hsz-display); font-weight: 400; color: var(--hsz-green);
	font-size: clamp(2rem, 1.3rem + 2vw, 2.9rem); margin: 0;
}
.hsz-page__thumb { margin: 0 0 1.6em; }
.hsz-page__thumb img { border-radius: var(--hsz-radius); }
.hsz-content > *:last-child { margin-bottom: 0; }
.hsz-content h2, .hsz-content h3 { margin-top: 1.6em; color: var(--hsz-ink); }
.hsz-content img { border-radius: 2px; }
.hsz-content .alignleft { float: left; margin: .3em 1.6em 1em 0; }
.hsz-content .alignright { float: right; margin: .3em 0 1em 1.6em; }
.hsz-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.hsz-content .wp-caption { max-width: 100%; }
.hsz-content .wp-caption-text { font-size: 15px; color: var(--hsz-muted); text-align: center; }
.hsz-content::after { content: ""; display: table; clear: both; }
.hsz-content iframe { max-width: 100%; }
.hsz-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.hsz-content th, .hsz-content td { border: 1px solid var(--hsz-border); padding: 8px 12px; text-align: left; }
.hsz-content th { background: var(--hsz-tint); color: var(--hsz-ink); }
.hsz-post__meta, .hsz-card__meta { color: var(--hsz-muted); font-size: 15px; margin: .4em 0 0; }

.hsz-blog--with-sidebar, .hsz-layout--with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.hsz-layout__content, .hsz-blog__content { min-width: 0; }
.hsz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.hsz-card { border: 1px solid var(--hsz-border); border-radius: var(--hsz-radius); overflow: hidden; background: #fff; transition: box-shadow .2s; }
.hsz-card:hover { box-shadow: var(--hsz-shadow); }
.hsz-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.hsz-card__media { position: relative; overflow: hidden; }
.hsz-card__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.hsz-card:hover .hsz-card__img { transform: scale(1.03); }
.hsz-card__badge {
	position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 999px;
	background: var(--hsz-green); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: .04em;
}
.hsz-card__badge--inline { position: static; align-self: flex-start; margin-bottom: 10px; }
.hsz-blog__intro { margin-bottom: 50px; padding-bottom: 40px; border-bottom: 2px solid var(--hsz-border); }
.hsz-blog__intro > h2:first-child { margin-top: 0; }
.hsz-blog__intro .wp-caption, .hsz-blog__intro img { margin-left: auto; margin-right: auto; }
.hsz-blog__intro img { display: block; border-radius: var(--hsz-radius); }
.hsz-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.hsz-card__title { font-size: 1.15rem; color: var(--hsz-ink); margin: 0; }
.hsz-card__excerpt { font-size: 17px; margin: .7em 0 1em; }
.hsz-card__more { margin-top: auto; color: var(--hsz-green-dark); font-weight: 600; font-size: 16px; }
.hsz-post-nav .nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hsz-border); }
.hsz-post-nav .nav-links span { display: block; font-size: 14px; color: var(--hsz-muted); }
.nav-links .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border: 1px solid var(--hsz-border); border-radius: var(--hsz-radius); text-decoration: none; }
.nav-links .page-numbers.current { background: var(--hsz-green); border-color: var(--hsz-green); color: #fff; }
@media (max-width: 900px) {
	.hsz-blog--with-sidebar, .hsz-layout--with-sidebar { grid-template-columns: 1fr; }
	.hsz-layout__sidebar, .hsz-blog__sidebar { border-top: 2px solid var(--hsz-border); padding-top: 34px; }
}

/* Oldalsávok, widgetek */
.widget { margin-bottom: 34px; }
.widget-title { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--hsz-ink); padding-bottom: 8px; border-bottom: 2px solid var(--hsz-green); margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 5px 0; border-bottom: 1px solid #f1f1f1; }
.widget a { color: var(--hsz-text); text-decoration: none; }
.widget a:hover { color: var(--hsz-green-dark); }
/* Termék widget: kis kép balra, mellette név és ár */
.widget ul.product_list_widget li { position: relative; min-height: 102px; padding: 11px 0 11px 94px; }
.widget ul.product_list_widget li a { display: block; font-weight: 600; line-height: 1.35; }
.widget ul.product_list_widget li img {
	position: absolute; left: 0; top: 11px; float: none; margin: 0;
	width: 80px; height: 80px; object-fit: contain; border-radius: var(--hsz-radius); background: #fff;
}
.widget ul.product_list_widget li .amount { display: inline-block; margin-top: 3px; color: var(--hsz-green-dark); font-weight: 600; font-size: .9em; }

/* Keresőmező, űrlapok */
.search-form { display: flex; gap: 8px; margin: 1em 0 1.6em; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], input[type="url"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; padding: .65em .8em; border: 1px solid #cfcfcf; border-radius: var(--hsz-radius);
	font: inherit; color: #333; background: #fff;
}
input:focus, textarea:focus, select:focus { border-color: var(--hsz-green); outline: 0; box-shadow: 0 0 0 3px rgba(128, 182, 0, .2); }
.search-form .search-submit { flex: none; }

/* Kapcsolati űrlap */
.hsz-form { max-width: 720px; }
.hsz-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.hsz-form__field label { display: block; font-weight: 600; color: var(--hsz-ink); margin-bottom: 4px; }
.hsz-form__consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.hsz-form__consent input { margin-top: .35em; }
.hsz-form__hp { position: absolute !important; left: -9999px; }
.hsz-form__notice { padding: 12px 16px; border-radius: var(--hsz-radius); font-weight: 600; }
.hsz-form__notice--ok { background: var(--hsz-tint); color: #2d5e00; border-left: 4px solid var(--hsz-green); }
.hsz-form__notice--error { background: #fdecea; color: #8a1f1b; border-left: 4px solid var(--hsz-red); }
@media (max-width: 600px) { .hsz-form__row { grid-template-columns: 1fr; } }

/* Ikonos doboz ([hsz_doboz]) – pl. Szállítási információk */
.hsz-box {
	display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: start;
	margin: 0 0 26px; padding: 26px 28px; background: #fff; border: 1px solid var(--hsz-border); border-radius: 10px;
}
.hsz-box--no-icon { grid-template-columns: minmax(0, 1fr); }
.hsz-box__icon {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 8px;
	background: var(--hsz-green); color: #fff; font-size: 34px;
}
.hsz-content .hsz-box .hsz-box__title { margin: 4px 0 .5em; font-size: 1.35rem; color: var(--hsz-ink); }
.hsz-box__body > :last-child { margin-bottom: 0; }
.hsz-box table { margin: .4em 0 1em; }
.hsz-box th:not(:first-child), .hsz-box td:not(:first-child) { text-align: right; white-space: nowrap; }
.hsz-box td strong { color: var(--hsz-ink); }
@media (max-width: 600px) {
	.hsz-box { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; }
	.hsz-box__icon { width: 54px; height: 54px; font-size: 28px; }
	.hsz-box th, .hsz-box td { padding: 7px 8px; font-size: .92em; }
}

/* Partnerek */
.hsz-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 28px; margin: 1.4em 0 2em; }
.hsz-partner {
	display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; align-items: center;
	padding: 26px; background: #fff; border: 1px solid var(--hsz-border); border-radius: 10px; box-shadow: var(--hsz-shadow);
}
.hsz-partner__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.hsz-partner__logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.hsz-partner__initial {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%;
	background: var(--hsz-tint); color: var(--hsz-green); font-family: var(--hsz-display); font-size: 4.2rem; line-height: 1;
}
.hsz-partner .hsz-partner__name { margin: 0; font-family: var(--hsz-display); font-weight: 400; color: var(--hsz-ink); font-size: 1.75rem; line-height: 1.15; }
.hsz-partner .hsz-partner__web { margin: .25em 0 0; font-size: 15px; color: var(--hsz-muted); }
.hsz-partner .hsz-partner__text { margin: .8em 0 0; }
.hsz-partner .hsz-partner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.1em 0 0; }
.hsz-partner__actions .hsz-button { font-size: 1rem; padding: .45em 1.1em; }
@media (max-width: 520px) {
	.hsz-partner { grid-template-columns: 1fr; text-align: center; padding: 22px; }
	.hsz-partner__media { width: 140px; margin: 0 auto; }
	.hsz-partner__actions { justify-content: center; }
}

.hsz-404 { text-align: center; }
.hsz-404 .search-form { max-width: 480px; margin: 1.4em auto; }

/* ---------- WooCommerce: bolt, termékoldal, kosár ---------- */
.hsz-shop--with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 50px; }
.hsz-shop__content { min-width: 0; }
@media (max-width: 900px) {
	.hsz-shop--with-sidebar { grid-template-columns: 1fr; }
	.hsz-shop__sidebar { border-top: 2px solid var(--hsz-border); padding-top: 34px; }
}
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--hsz-muted); margin-bottom: 1.4em; }
.woocommerce .hsz-shop__header .woocommerce-breadcrumb { margin-bottom: .9em; }
/* Bolt és kategória oldalak: több levegő a cím körül. */
.hsz-page__header.hsz-shop__header { padding-top: .6em; margin-bottom: 2.8em; }

/* Termékszűrő (BeRocket AJAX Product Filters) a téma stílusában */
.berocket_ajax_group_filter_title {
	font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--hsz-ink);
	padding-bottom: 8px; border-bottom: 2px solid var(--hsz-green); margin: 0 0 14px;
}
.bapf_sfilter { margin: 0 0 24px; }
.bapf_sfilter .bapf_head h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--hsz-ink); }
.bapf_sfilter .bapf_body ul { list-style: none; margin: 0; padding: 0; }
.bapf_sfilter .bapf_body li { display: flex; align-items: center; gap: 9px; padding: 3px 0; border: 0; }
.bapf_sfilter .bapf_body input[type="checkbox"] { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--hsz-green); cursor: pointer; }
.bapf_sfilter .bapf_body label { cursor: pointer; line-height: 1.4; }
.bapf_sfilter .bapf_body li.checked label { color: var(--hsz-green-dark); font-weight: 600; }
.woocommerce .woocommerce-breadcrumb a { color: var(--hsz-muted); }
.woocommerce-products-header__title.page-title {
	font-family: var(--hsz-display); font-weight: 400; color: var(--hsz-green); font-size: clamp(2rem, 1.3rem + 2vw, 2.9rem); margin: 0 0 .4em;
}
.woocommerce .woocommerce-result-count { font-size: 15px; color: var(--hsz-muted); }
.woocommerce .woocommerce-ordering select { width: auto; }

.woocommerce div.product .product_title {
	font-family: var(--hsz-display); font-weight: 400; color: var(--hsz-green); font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem);
}
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--hsz-green); font-size: 2rem; font-weight: 600; line-height: 1.2; }
/* Ár a rövid leírás után, közvetlenül a kosár gomb fölött – mint az élő oldalon. */
.woocommerce div.product .summary p.price { margin: 1em 0 .5em; padding-top: 1em; border-top: 1px solid #ececec; }
.woocommerce div.product .summary p.price:empty { display: none; }
.woocommerce div.product .summary .woocommerce-breadcrumb { margin-bottom: .6em; }
.woocommerce div.product .summary .product_title { margin-top: 0; }
.woocommerce div.product form.cart .button { font-size: 1.1rem; padding: .6em 1.6em; }
.woocommerce .quantity .qty { width: 4.5em; padding: .55em .4em; text-align: center; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 1.02rem; }
.woocommerce div.product .product_meta { font-size: 15px; color: var(--hsz-muted); border-top: 1px solid var(--hsz-border); padding-top: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 1.5em; border-bottom: 2px solid var(--hsz-border); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: none; border: 0; border-radius: 0; margin: 0 6px -2px 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: .6em 1em; font-weight: 600; color: var(--hsz-text); border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hsz-green-dark); border-bottom-color: var(--hsz-green); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 1.3rem; }
.woocommerce .related > h2, .woocommerce .upsells > h2 {
	font-family: var(--hsz-display); font-weight: 400; color: var(--hsz-green); font-size: 2rem; text-align: center; margin: 1.4em 0 .8em;
}
/* Leírás + kapcsolódó termékek egymás mellett */
.hsz-product-more { clear: both; padding-top: 30px; }
.hsz-product-more--with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.hsz-product-more__main { min-width: 0; }
.woocommerce .hsz-product-more__aside .related > h2 { font-size: 1.7rem; margin: 0 0 .9em; }
.woocommerce .hsz-product-more__aside ul.products { --hsz-cols: 1 !important; gap: 40px; margin: 0; }
.woocommerce .hsz-product-more__aside ul.products li.product a img { max-width: 230px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
	.hsz-product-more--with-aside { grid-template-columns: 1fr; gap: 20px; }
	.hsz-product-more__aside { border-top: 2px solid var(--hsz-border); padding-top: 30px; }
	.woocommerce .hsz-product-more__aside ul.products { --hsz-cols: 3 !important; gap: 26px 16px; }
}
@media (max-width: 600px) {
	.woocommerce .hsz-product-more__aside ul.products { --hsz-cols: 2 !important; }
}

.woocommerce-message, .woocommerce-info { border-top-color: var(--hsz-green); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--hsz-green); }
.woocommerce table.shop_table { border-radius: var(--hsz-radius); }
.woocommerce-message, .woocommerce-info { background-color: #f5f9ee; color: var(--hsz-text); }

/* ---------- Kosár és pénztár – könnyű, nem rácsos megjelenés (az eredeti OceanWP-s kosár mintájára) ---------- */
/* A tartalmi táblázatok általános rácsa és színezett fejléce itt nem kell. */
.hsz-content .woocommerce table.shop_table { border: 0; border-radius: 0; border-collapse: collapse; margin: 0 0 1.6em; }
.hsz-content .woocommerce table.shop_table th,
.hsz-content .woocommerce table.shop_table td { border: 0; border-bottom: 1px solid #ececec; background: none; padding: 16px 12px; vertical-align: middle; }
.hsz-content .woocommerce table.shop_table thead th {
	padding-top: 0; padding-bottom: 12px; border-bottom: 2px solid #ececec;
	font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #777;
}
.woocommerce table.shop_table .amount { color: var(--hsz-green-dark); }

/* Kosár: tételek */
.woocommerce-cart table.cart td.product-remove { width: 44px; padding-left: 0; padding-right: 0; }
.woocommerce-cart table.cart a.remove {
	width: 28px; height: 28px; margin: 0 auto; border: 1px solid #ccc; border-radius: 50%;
	font-size: 20px; font-weight: 400; line-height: 25px; color: #999 !important; transition: background-color .2s, border-color .2s, color .2s;
}
.woocommerce-cart table.cart a.remove:hover { background: var(--hsz-red); border-color: var(--hsz-red); color: #fff !important; }
.woocommerce-cart table.cart td.product-thumbnail { width: 84px; }
.woocommerce-cart table.cart td.product-thumbnail img { width: 64px; height: 64px; object-fit: contain; }
.woocommerce-cart table.cart td.product-name a { color: var(--hsz-ink); font-weight: 600; text-decoration: none; }
.woocommerce-cart table.cart td.product-name a:hover { color: var(--hsz-green-dark); }
.woocommerce-cart table.cart td.product-subtotal .amount { font-weight: 700; }
.woocommerce-cart .hsz-content table.cart td.actions { padding: 22px 0 0; border-bottom: 0; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; align-items: stretch; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 200px; margin: 0; }
.woocommerce-cart table.cart td.actions button[name="update_cart"] { background: transparent; color: var(--hsz-green-dark); }
.woocommerce-cart table.cart td.actions button[name="update_cart"]:hover { background: var(--hsz-green); color: #fff; }
.woocommerce-cart table.cart td.actions button[name="update_cart"]:disabled { opacity: .45; background: transparent; color: var(--hsz-green-dark); }

/* Mennyiség −/+ gombokkal (a gombokat a theme.js teszi be) */
.woocommerce .quantity.hsz-qty { display: inline-flex; align-items: stretch; border: 1px solid #d9d9d9; border-radius: var(--hsz-radius); overflow: hidden; background: #fff; }
.hsz-qty__btn { width: 38px; padding: 0; border: 0; background: #f6f6f6; color: #555; font-size: 20px; line-height: 1; transition: background-color .2s, color .2s; }
.hsz-qty__btn:hover { background: var(--hsz-tint); color: var(--hsz-green-dark); }
.woocommerce .quantity.hsz-qty .qty {
	width: 48px; margin: 0; padding: .5em .2em; border: 0; border-left: 1px solid #e3e3e3; border-right: 1px solid #e3e3e3; border-radius: 0;
	text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.woocommerce .quantity.hsz-qty .qty::-webkit-outer-spin-button,
.woocommerce .quantity.hsz-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .quantity.hsz-qty .qty:focus { box-shadow: none; }

/* Kosár összesítő: keretes doboz fejléccel */
.woocommerce-cart .cart-collaterals .cart_totals {
	width: min(100%, 520px); padding: 0 24px 24px; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px;
}
.woocommerce-cart .cart-collaterals .cart_totals h2 {
	margin: 0 -24px 14px; padding: 13px 24px; background: #f7f7f7; border-bottom: 1px solid #e6e6e6; border-radius: 8px 8px 0 0;
	font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-align: center; color: var(--hsz-ink);
}
.hsz-content .woocommerce .cart_totals table.shop_table { margin-bottom: 18px; }
.hsz-content .woocommerce .cart_totals table.shop_table th { width: 30%; padding-left: 0; font-weight: 600; color: #444; }
.hsz-content .woocommerce .cart_totals table.shop_table td { padding-right: 0; }
.hsz-content .woocommerce .cart_totals tr.order-total th, .hsz-content .woocommerce .cart_totals tr.order-total td { border-bottom: 0; font-size: 1.1em; }
.woocommerce .cart_totals .order-total .amount { font-size: 1.15em; font-weight: 700; }
.woocommerce .wc-proceed-to-checkout { padding: 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; margin: 0; font-size: 1.15rem; padding: .7em 1.4em; }

/* Szállítási módok listája (kosár és pénztár) */
.woocommerce ul#shipping_method { margin: 0; padding: 0; list-style: none; }
.woocommerce ul#shipping_method li { display: flex; align-items: baseline; gap: 8px; margin: 0 0 .5em; padding: 0; text-indent: 0; text-align: left; line-height: 1.45; }
.woocommerce ul#shipping_method li:last-child { margin-bottom: 0; }
.woocommerce ul#shipping_method li input { flex: none; margin: 0; accent-color: var(--hsz-green); }
.woocommerce ul#shipping_method li label { font-weight: 500; cursor: pointer; }
.woocommerce ul#shipping_method li input:checked + label { font-weight: 700; color: var(--hsz-ink); }
.woocommerce ul#shipping_method .amount { font-weight: 700; white-space: nowrap; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { text-align: left; margin: .6em 0 0; font-size: .92em; }

/* ---------- Pénztár ---------- */
/* A pénztár oldal saját bevezetője („Sürgősségi kiszállítást NEM vállalunk!”) zöld sávként, mint az eredetin; a köszönőoldalon nem kell. */
.woocommerce-checkout .hsz-content > h2:first-child {
	margin: 0 0 1.4em; padding: 12px 20px; border-radius: 6px; background: var(--hsz-green); color: #fff; font-size: 1.15rem; text-align: center;
}
.woocommerce-order-received .hsz-content > h2:first-child { display: none; }

/* „Visszatérő vásárló?” / „Van kuponja?” – visszafogott sorok doboz helyett */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0; padding: 12px 16px; background: none; border: 0; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec;
	text-align: center; font-size: 15px; color: #666;
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.woocommerce-checkout .woocommerce-form-login-toggle + .woocommerce-form-coupon-toggle .woocommerce-info { margin-top: -1px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 1.8em; }
.woocommerce-checkout form.checkout_coupon, .woocommerce-checkout form.woocommerce-form-login { border: 1px solid #ececec; border-radius: 8px; }

/* Címek: mint az oldalsáv címei */
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading {
	margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--hsz-green);
	font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--hsz-ink);
}
.woocommerce-checkout #ship-to-different-address { float: none; width: 100%; }
.woocommerce-checkout #ship-to-different-address label { font-weight: 700; cursor: pointer; }
.woocommerce-checkout .col2-set .col-2 { margin-top: 1.6em; }

/* Két oszlop: balra az adatok, jobbra a rendelés és a fizetés */
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
@media (min-width: 992px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: 56px; align-items: start; }
	.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
	.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: span 2; }
	.woocommerce-checkout form.checkout > #order_review_heading, .woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
	/* Csak rejtett mezők (WooCommerce rendelés-eredet) – ne foglaljon sort a rácsban. */
	.woocommerce-checkout form.checkout > wc-order-attribution-inputs { position: absolute; }
}
@media (max-width: 991px) {
	.woocommerce-checkout #order_review_heading { margin-top: 1.8em; }
}

/* Rendelés összesítő: világos kártya, soronként név balra, összeg jobbra */
.hsz-content .woocommerce table.woocommerce-checkout-review-order-table { display: block; background: #fafafa; border: 1px solid #ececec; border-radius: 8px; overflow: hidden; }
.woocommerce-checkout-review-order-table thead, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; }
.woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ececec; }
.woocommerce-checkout-review-order-table tfoot tr:last-child { border-bottom: 0; }
.hsz-content .woocommerce table.woocommerce-checkout-review-order-table th,
.hsz-content .woocommerce table.woocommerce-checkout-review-order-table td { display: block; width: auto; padding: 13px 18px; border: 0; background: none; }
.woocommerce-checkout-review-order-table tr > :first-child { flex: 1 1 auto; min-width: 0; }
.woocommerce-checkout-review-order-table tr > :last-child { flex: none; text-align: right; }
.woocommerce table.shop_table .amount { white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot th { font-weight: 600; color: #444; }
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { flex-direction: column; gap: 0; }
.hsz-content .woocommerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td { text-align: left; padding-top: 0; }
.woocommerce-checkout-review-order-table tr.order-total { background: #fff; }
.woocommerce-checkout-review-order-table tr.order-total th, .woocommerce-checkout-review-order-table tr.order-total td { font-size: 1.1em; }
.woocommerce-checkout-review-order-table .order-total .amount { font-size: 1.15em; font-weight: 700; }

/* Fizetés */
.woocommerce-checkout #payment { margin-top: 20px; background: #fafafa; border: 1px solid #ececec; border-radius: 8px; }
.woocommerce-checkout #payment ul.payment_methods { padding: 18px 22px; border-bottom: 1px solid #ececec; }
.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.5; }
.woocommerce-checkout #payment ul.payment_methods li input { accent-color: var(--hsz-green); }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; color: var(--hsz-ink); }
.woocommerce-checkout #payment div.payment_box {
	background: var(--hsz-tint); color: var(--hsz-text); border-left: 3px solid var(--hsz-green); border-radius: 4px; font-size: .95em;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--hsz-tint); }
.woocommerce-checkout #payment div.form-row { padding: 18px 22px; }
.woocommerce #payment #place_order { float: none; width: 100%; font-size: 1.15rem; padding: .75em 1.6em; }

/* ---------- Kosár mobilon: tételek kártyaként (kép, név, ár, mennyiség, törlés) ---------- */
@media (max-width: 768px) {
	.hsz-content .woocommerce table.cart, .hsz-content .woocommerce table.cart tbody { display: block; }
	.woocommerce-cart table.cart tr.cart_item {
		display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb name remove" "thumb price price" "thumb qty subtotal";
		gap: 6px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid #ececec;
	}
	.woocommerce-cart .hsz-content table.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
	.woocommerce-cart table.cart tr.cart_item td::before { display: none !important; }
	.woocommerce-cart table.cart td.product-thumbnail { grid-area: thumb; width: auto; align-self: start; }
	.woocommerce-cart table.cart td.product-thumbnail img { width: 72px; height: 72px; }
	.woocommerce-cart table.cart td.product-name { grid-area: name; }
	.woocommerce-cart table.cart td.product-remove { grid-area: remove; width: auto; }
	.woocommerce-cart table.cart td.product-price { grid-area: price; font-size: .92em; }
	.woocommerce-cart table.cart td.product-quantity { grid-area: qty; }
	.woocommerce-cart .hsz-content table.cart td.product-subtotal { grid-area: subtotal; text-align: right !important; }
	.woocommerce-cart table.cart tr:not(.cart_item) { display: block; }
	.woocommerce-cart .hsz-content table.cart td.actions { display: block; padding: 18px 0 0 !important; background: none !important; text-align: left !important; }
	.woocommerce-cart table.cart td.actions .coupon { margin-bottom: 10px; }
	/* Kis kiinduló szélesség, különben a mező a teljes táblázatot kitolja a képernyőről; a maradék helyet kitölti. */
	.woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1 1 100px; width: 100px; min-width: 0; }
	.woocommerce-cart table.cart td.actions button[name="update_cart"] { width: 100%; }
	.woocommerce-cart .cart-collaterals .cart_totals { padding: 0 18px 18px; }
	.woocommerce-cart .cart-collaterals .cart_totals h2 { margin: 0 -18px 12px; }
	/* Kosár összesítő: a szállítási módok a cím alatt, teljes szélességben */
	.woocommerce table.shop_table_responsive tr.woocommerce-shipping-totals td { text-align: left !important; }
	.woocommerce table.shop_table_responsive tr.woocommerce-shipping-totals td::before { float: none; display: block; margin-bottom: 8px; }
	.hsz-content .woocommerce .cart_totals table.shop_table td { padding-left: 0; }
	.hsz-content .woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: none; }
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 8px 12px; border-bottom: 1px solid var(--hsz-border); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--hsz-tint); color: var(--hsz-green-dark); font-weight: 600; }

/* ---------- Lábléc ---------- */
.hsz-footer { background: var(--hsz-cream); border-top: 3px solid var(--hsz-green); color: #333; font-size: 17px; }
.hsz-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px 50px; padding-top: 44px; padding-bottom: 36px; }
.hsz-footer__logo img { max-width: 220px; height: auto; display: block; margin-bottom: 18px; }
.hsz-footer__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #222; margin: 0 0 12px; }
.hsz-footer__menu ul { list-style: none; margin: 0; padding: 0; }
.hsz-footer__menu li { padding: 4px 0; }
.hsz-footer__menu li::before { content: "›"; color: var(--hsz-green); font-weight: 700; margin-right: 8px; }
.hsz-footer a { color: #333; text-decoration: none; }
.hsz-footer a:hover { color: var(--hsz-green-dark); text-decoration: underline; }
.hsz-footer__contact p { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.hsz-footer__contact .hsz-icon { color: var(--hsz-green); }
.hsz-social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; }
.hsz-social a {
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; font-size: 20px;
	transition: transform .2s, opacity .2s;
}
.hsz-social a:hover { transform: translateY(-2px); opacity: .9; text-decoration: none; }
.hsz-social__fb { background: #3b5998; }
.hsz-social__yt { background: #cd201f; }
.hsz-footer__bottom { border-top: 1px solid rgba(0, 0, 0, .08); padding: 14px 0; font-size: 14px; color: #666; text-align: center; letter-spacing: .03em; }
@media (max-width: 760px) {
	.hsz-footer__grid { grid-template-columns: 1fr; text-align: center; }
	.hsz-footer__logo img { margin: 0 auto 16px; }
	.hsz-social { justify-content: center; }
	.hsz-footer__contact p { justify-content: center; }
	.hsz-footer__menu li::before { display: none; }
}
