/*
Theme Name: Huber Konstrukt
Theme URI: https://huberkonstrukt.sk
Author: Huber Konstrukt, s.r.o.
Description: Huber Konstrukt – bádogos webshop és ácsmunkák (portec.sk mintájára): WooCommerce termékek profil-konfigurátorral és élő árral, ajánlatkérés fotófeltöltéssel, ácsmunka-kalkulátor, referenciák, SK/HU. Aktiváláskor a Megjelenés → Huber Setup automatikusan telepíti a plugineket és a demo boltot.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huber-konstrukt
Tags: business, construction, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ------------------------------------------------------------------
   1. Tokenek
------------------------------------------------------------------ */
:root {
	--wood-950: #1d120c;
	--wood-900: #2a1a12;
	--wood-800: #3b2418;
	--wood-700: #563421;
	--wood-600: #7a4a2c;
	--wood-400: #b07c55;
	--wood-300: #cfa585;
	--sand-200: #eadccb;
	--sand-100: #f6efe6;
	--paper: #fbf8f3;
	--accent: #e2a03a;
	--accent-600: #c9852080;
	--accent-dark: #b9781c;
	--ok: #2f7a4a;
	--err: #a33a2a;

	--ink: var(--wood-900);
	--ink-soft: #5d4637;
	--line: #e4d6c5;

	--f-head: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
	--f-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 6px;
	--r: 12px;
	--r-lg: 20px;
	--shadow: 0 1px 2px rgba(42, 26, 18, .06), 0 10px 30px -12px rgba(42, 26, 18, .25);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
}

/* ------------------------------------------------------------------
   2. Alap
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
html, body { overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood-600); text-underline-offset: 3px; }
a:hover { color: var(--wood-800); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--wood-900); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.hk-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--wood-900); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 700; }
.hk-skip:focus { left: 8px; }

.hk-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hk-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ------------------------------------------------------------------
   3. Gombok, címkék, tipó-elemek
------------------------------------------------------------------ */
.hk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .72em 1.25em; border-radius: var(--r-sm); border: 2px solid transparent;
	font: 700 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.hk-btn:active { transform: translateY(1px); }
.hk-btn--lg { font-size: 17px; padding: .9em 1.5em; }
.hk-btn--accent { background: var(--accent); color: var(--wood-900); }
.hk-btn--accent:hover { background: #ecb355; color: var(--wood-900); }
.hk-btn--dark { background: var(--wood-900); color: var(--sand-100); }
.hk-btn--dark:hover { background: var(--wood-700); color: #fff; }
.hk-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.hk-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: inherit; }

.hk-eyebrow {
	display: inline-block; font: 700 13px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase;
	color: var(--wood-600); margin-bottom: 14px;
}
.hk-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.hk-eyebrow--light { color: var(--wood-300); }
.hk-h2 { font-size: clamp(28px, 3.6vw, 42px); }
.hk-lead { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
.hk-tag {
	display: inline-block; background: var(--accent); color: var(--wood-900);
	font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
	padding: 6px 9px; border-radius: 4px;
}
.hk-tag--dark { background: var(--wood-900); color: var(--accent); }

/* ------------------------------------------------------------------
   4. Topbar + fejléc
------------------------------------------------------------------ */
.hk-topbar { background: var(--wood-950); color: var(--wood-300); font-size: 14px; }
.hk-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.hk-topbar a { color: var(--sand-200); text-decoration: none; }
.hk-topbar a:hover { color: var(--accent); }
.hk-topbar__contact { display: flex; gap: 20px; align-items: center; }
.hk-topbar__contact > a { display: inline-flex; gap: 6px; align-items: center; }

.hk-lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; overflow: hidden; }
.hk-lang a { padding: 2px 8px; font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.hk-lang a.is-current { background: var(--accent); color: var(--wood-900); }

.hk-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 248, 243, .94); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .hk-header { top: 32px; }
.hk-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.hk-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wood-900); }
.hk-brand__mark { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--wood-400); }
.hk-brand__text { display: flex; flex-direction: column; line-height: 1; }
.hk-brand__name { font: 700 22px/1 var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
.hk-brand__tag { font: 600 11px/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: var(--wood-600); margin-top: 6px; }

.hk-nav { display: flex; align-items: center; gap: 28px; }
.hk-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hk-menu > li { position: relative; }
.hk-menu a { display: block; padding: 10px 12px; color: var(--wood-900); text-decoration: none; font-weight: 600; border-radius: var(--r-sm); }
.hk-menu a:hover, .hk-menu .current-menu-item > a, .hk-menu .current-menu-ancestor > a { color: var(--wood-600); background: var(--sand-100); }
.hk-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.hk-menu li:hover > .sub-menu, .hk-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hk-menu .sub-menu a { font-weight: 500; }
.hk-menu .menu-item-has-children > a::after { content: "▾"; margin-left: 6px; font-size: 11px; color: var(--wood-400); }

.hk-burger { display: none; background: none; border: 0; padding: 8px; color: var(--wood-900); cursor: pointer; }
.hk-burger .hk-ico { width: 28px; height: 28px; }
.hk-burger__close { display: none; }

/* ------------------------------------------------------------------
   5. Hero
------------------------------------------------------------------ */
.hk-hero {
	position: relative; overflow: hidden; color: var(--sand-100);
	background:
		radial-gradient(1100px 500px at 85% 20%, rgba(176, 124, 85, .28), transparent 60%),
		repeating-linear-gradient(176deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
		repeating-linear-gradient(178deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 23px),
		linear-gradient(180deg, var(--wood-800), var(--wood-950));
}
.hk-hero::after {
	/* tető-szilueta a hero alján */
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px;
	background: var(--paper);
	clip-path: polygon(0 100%, 0 70%, 50% 0, 100% 70%, 100% 100%);
}
.hk-hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 128px; }
.hk-hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; margin-bottom: 20px; }
.hk-hero__lead { font-size: 19px; color: var(--sand-200); max-width: 54ch; margin-bottom: 28px; }
.hk-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hk-hero__actions .hk-btn--ghost { color: var(--sand-100); border-color: rgba(246, 239, 230, .45); }
.hk-hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--wood-300); font-weight: 600; font-size: 15px; }
.hk-hero__facts li { display: inline-flex; gap: 8px; align-items: center; }
.hk-hero__facts .hk-ico { color: var(--accent); }

.hk-hero__media { position: relative; aspect-ratio: 1 / .92; }
.hk-hero__photo {
	position: absolute; margin: 0; border-radius: var(--r); overflow: hidden;
	border: 6px solid var(--sand-100); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.hk-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hk-hero__photo--a { left: 0; top: 4%; width: 68%; aspect-ratio: 4 / 3; transform: rotate(-2.5deg); z-index: 2; }
.hk-hero__photo--b { right: 0; top: 0; width: 46%; aspect-ratio: 3 / 4; transform: rotate(3deg); z-index: 1; }
.hk-hero__photo--c { right: 6%; bottom: 0; width: 58%; aspect-ratio: 16 / 10; transform: rotate(-1deg); z-index: 3; }
.hk-hero__badge {
	position: absolute; left: 6%; bottom: 6%; z-index: 4; width: 116px; height: 116px; border-radius: 50%;
	overflow: hidden; border: 4px solid var(--accent); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .7);
}
.hk-hero__badge img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------
   6. Szekciók
------------------------------------------------------------------ */
.hk-section { padding: clamp(64px, 9vw, 112px) 0; }
.hk-section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.hk-section--sand { background: var(--sand-100); }
.hk-section--dark {
	background:
		repeating-linear-gradient(176deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 11px),
		var(--wood-900);
	color: var(--sand-200);
}
.hk-section--dark .hk-h2 { color: #fff; }
.hk-section--dark .hk-eyebrow { color: var(--wood-300); }
.hk-sechead { margin-bottom: 40px; }
.hk-sechead-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.hk-sechead-row .hk-sechead { margin: 0; }
.hk-section--dark .hk-btn--ghost { color: var(--sand-100); border-color: rgba(246, 239, 230, .4); }

/* Szolgáltatás-kártyák */
.hk-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hk-service {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hk-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--wood-300); color: var(--ink); }
.hk-service__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand-200); }
.hk-service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hk-service:hover .hk-service__img img { transform: scale(1.05); }
.hk-service__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 24px 24px; flex: 1; }
.hk-service__icon {
	position: absolute; top: -28px; left: 22px; width: 52px; height: 52px; border-radius: 12px;
	display: grid; place-items: center; background: var(--wood-900); color: var(--accent);
	box-shadow: 0 0 0 4px #fff;
}
.hk-service__icon .hk-ico { width: 26px; height: 26px; }
.hk-service .hk-tag { position: absolute; top: 14px; right: 18px; }
.hk-service__title { font: 700 22px/1.2 var(--f-head); color: var(--wood-900); margin-top: 6px; }
.hk-service__text { color: var(--ink-soft); font-size: 16px; }
.hk-service__more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--wood-600); display: inline-flex; gap: 6px; align-items: center; }
.hk-service--cta {
	background:
		repeating-linear-gradient(176deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 9px),
		var(--wood-800);
	border-color: var(--wood-800); justify-content: flex-end;
}
.hk-service--cta .hk-service__body { justify-content: flex-end; padding-top: 24px; }
.hk-service--cta .hk-service__title { color: #fff; font-size: 26px; }
.hk-service--cta .hk-service__text { color: var(--sand-200); }
.hk-service--cta .hk-service__more { color: var(--accent); }

/* Újdonság sáv */
.hk-band { background: var(--accent); }
.hk-band__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hk-band__media { border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--wood-900); transform: rotate(-1.2deg); box-shadow: 0 24px 50px -24px rgba(42, 26, 18, .7); }
.hk-band__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hk-band__copy .hk-h2 { margin-top: 14px; }
.hk-band__copy p { font-size: 18px; max-width: 52ch; }

/* Lépések */
.hk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.hk-step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 28px 24px; border: 1px solid var(--line); }
.hk-step::after {
	content: ""; position: absolute; top: 46px; right: -22px; width: 22px; height: 2px;
	background: repeating-linear-gradient(90deg, var(--wood-400) 0 4px, transparent 4px 8px);
}
.hk-step:last-child::after { display: none; }
.hk-step__n { font: 700 44px/1 var(--f-head); color: var(--accent); display: block; margin-bottom: 14px; }
.hk-step h3 { font-size: 22px; margin-bottom: 6px; }
.hk-step p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* Referenciák */
.hk-refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hk-ref { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; display: block; color: #fff; text-decoration: none; background: var(--wood-800); }
.hk-ref img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.hk-ref:hover img { transform: scale(1.05); }
.hk-ref figcaption {
	position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; font: 700 19px/1.2 var(--f-head);
	background: linear-gradient(to top, rgba(29, 18, 12, .9), transparent);
}
.hk-ref__type { display: block; font: 700 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.hk-refs--light .hk-ref { box-shadow: var(--shadow); }

.hk-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hk-filter a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--wood-800); font-weight: 600; background: #fff; }
.hk-filter a.is-active, .hk-filter a:hover { background: var(--wood-900); border-color: var(--wood-900); color: var(--sand-100); }

/* ------------------------------------------------------------------
   7. Űrlapmezők (kalkulátor + ajánlatkérés)
------------------------------------------------------------------ */
.hk-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; flex: 1; min-width: 0; }
.hk-label { font-weight: 700; font-size: 15px; color: var(--wood-800); }
.hk-field small { color: var(--ink-soft); font-size: 14px; }
.hk-row { display: flex; gap: 16px; }
.hk-field input[type="text"], .hk-field input[type="tel"], .hk-field input[type="email"],
.hk-field input[type="number"], .hk-field select, .hk-field textarea {
	width: 100%; font: 400 17px/1.4 var(--f-body); color: var(--ink);
	background: #fff; border: 1.5px solid #d9c8b4; border-radius: var(--r-sm); padding: 12px 14px;
	transition: border-color .15s, box-shadow .15s;
}
.hk-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a4a2c' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.hk-field input:focus, .hk-field select:focus, .hk-field textarea:focus { outline: none; border-color: var(--wood-600); box-shadow: 0 0 0 4px rgba(226, 160, 58, .3); }
.hk-file input[type="file"] { width: 100%; max-width: 100%; padding: 18px; border: 1.5px dashed var(--wood-400); border-radius: var(--r); background: var(--paper); font: inherit; cursor: pointer; }
.hk-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.hk-checks label, .hk-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.hk-checks input, .hk-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wood-700); flex: none; }
.hk-consent { margin: 4px 0 22px; color: var(--ink-soft); font-size: 15px; }

/* Szegmentált választó */
.hk-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.hk-seg label { cursor: pointer; }
.hk-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hk-seg span {
	display: inline-block; padding: 10px 16px; border: 1.5px solid #d9c8b4; border-radius: var(--r-sm);
	font-weight: 600; background: #fff; transition: .15s;
}
.hk-seg input:checked + span { background: var(--wood-900); border-color: var(--wood-900); color: var(--sand-100); }
.hk-seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(226, 160, 58, .45); }

/* ------------------------------------------------------------------
   8. Kalkulátor
------------------------------------------------------------------ */
.hk-calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.hk-calc__tabs { display: flex; background: var(--sand-100); border-bottom: 1px solid var(--line); overflow-x: auto; }
.hk-calc__tab {
	flex: 1; padding: 18px 20px; border: 0; background: transparent; font: 700 16px/1.2 var(--f-body); color: var(--ink-soft);
	cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap;
}
.hk-calc__tab.is-active { color: var(--wood-900); border-bottom-color: var(--accent); background: #fff; }
.hk-calc__body { display: grid; grid-template-columns: 1.4fr 1fr; }
.hk-calc__form { padding: 32px; }
.hk-calc__panel { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.hk-calc__panel.is-active { display: block; }
.hk-calc__result {
	display: flex; flex-direction: column; gap: 10px; padding: 32px; color: var(--sand-100);
	background:
		repeating-linear-gradient(176deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
		var(--wood-900);
}
.hk-calc__eyebrow { font: 700 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--wood-300); }
.hk-calc__price { font: 700 clamp(30px, 3.4vw, 40px)/1.1 var(--f-head); color: var(--accent); }
.hk-calc__note { font-size: 14px; color: var(--wood-300); }
.hk-calc__summary { list-style: none; margin: 8px 0 12px; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--sand-200); }
.hk-calc__summary li::before { content: "— "; color: var(--wood-400); }
.hk-calc__cta { margin-top: auto; }
.hk-calc__disclaimer { font-size: 13px; color: var(--wood-300); }

/* ------------------------------------------------------------------
   9. Ajánlatkérés / kapcsolat
------------------------------------------------------------------ */
.hk-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.hk-contact > *, .hk-calc__body > *, .hk-hero__in > *, .hk-band__in > * { min-width: 0; }
.hk-contact__card { margin-top: 28px; background: var(--wood-900); color: var(--sand-100); border-radius: var(--r-lg); padding: 10px; }
.hk-contact__line { display: flex; gap: 14px; align-items: center; padding: 14px 16px; color: var(--sand-100); text-decoration: none; border-radius: var(--r); }
a.hk-contact__line:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.hk-contact__line .hk-ico { color: var(--accent); width: 22px; height: 22px; }
.hk-contact__line--big { font: 700 26px/1 var(--f-head); }
.hk-contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.hk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hk-quote__calc { background: var(--sand-100); border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; margin: 0 0 18px; }
.hk-alert { padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 20px; }
.hk-alert--ok { background: #e7f3ea; color: var(--ok); border: 1px solid #bcdcc5; }
.hk-alert--err { background: #f8e8e5; color: var(--err); border: 1px solid #e5c1bb; }

/* ------------------------------------------------------------------
   10. Aloldalak
------------------------------------------------------------------ */
.hk-pagehero {
	color: var(--sand-100); padding: 56px 0 72px; position: relative;
	background:
		repeating-linear-gradient(176deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
		linear-gradient(180deg, var(--wood-800), var(--wood-900));
}
.hk-pagehero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 36px; background: var(--paper); clip-path: polygon(0 100%, 0 60%, 50% 0, 100% 60%, 100% 100%); }
.hk-pagehero__title { color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin: 0; }
.hk-pagehero__lead { color: var(--sand-200); font-size: 19px; max-width: 64ch; margin: 14px 0 0; }
.hk-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--wood-300); margin-bottom: 14px; }
.hk-crumbs a { color: var(--sand-200); text-decoration: none; }
.hk-crumbs a:hover { color: var(--accent); }

.hk-content { max-width: 860px; }
.hk-content > * + * { margin-top: 1em; }
.hk-content figure { margin-left: 0; margin-right: 0; }
.hk-content > p:first-child { font-size: 19px; color: var(--ink-soft); }
.hk-content h2 { font-size: 32px; margin-top: 1.6em; }
.hk-content h3 { font-size: 24px; margin-top: 1.4em; }
.hk-content ul { padding-left: 1.2em; }
.hk-content li { margin: .3em 0; }
.hk-content li::marker { color: var(--accent); }
.hk-content__cover { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; }
.hk-content .wp-block-image img, .hk-content figure img { border-radius: var(--r); }
.hk-content .wp-block-gallery { gap: 12px; }
.hk-content .wp-block-columns { gap: 28px; }
.hk-content .wp-block-button__link { background: var(--accent); color: var(--wood-900); border-radius: var(--r-sm); font-weight: 700; }
.hk-content .is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--wood-900); color: var(--wood-900); }
.hk-content .hk-callout { background: var(--sand-100); border-left: 4px solid var(--accent); padding: 20px 24px; border-radius: var(--r-sm); }
.hk-content .hk-checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.hk-content .hk-checklist li { padding-left: 30px; position: relative; margin: 0; }
.hk-content .hk-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wood-900); background: var(--accent); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 3px; }
.hk-content:has(.hk-calc) { max-width: none; }
.hk-calc .hk-calc__summary { padding-left: 0; }
.hk-calc .hk-calc__summary li { margin: 0; }

.hk-refdetail__cover { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; }
.hk-refdetail__grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.hk-refdetail__aside { background: var(--sand-100); border-radius: var(--r-lg); padding: 24px; align-self: start; position: sticky; top: 110px; }

.hk-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hk-post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hk-post__img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hk-post__body { padding: 20px 22px 24px; }
.hk-post__body time { font-size: 14px; color: var(--ink-soft); }
.hk-post__title { font-size: 22px; margin: 6px 0 8px; }
.hk-post__title a { color: var(--wood-900); text-decoration: none; }
.hk-pager { margin-top: 32px; }
.hk-pager .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; margin-right: 4px; }
.hk-pager .current { background: var(--wood-900); color: #fff; border-color: var(--wood-900); }

/* ------------------------------------------------------------------
   11. Lábléc
------------------------------------------------------------------ */
.hk-footer { background: var(--wood-950); color: var(--wood-300); padding: 72px 0 24px; font-size: 16px; }
.hk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
.hk-footer__brand img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 16px; border: 3px solid var(--wood-700); }
.hk-footer__brand p { max-width: 40ch; }
.hk-footer__h { color: var(--sand-100); font-size: 18px; margin-bottom: 14px; }
.hk-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hk-footer a { color: var(--sand-200); text-decoration: none; }
.hk-footer a:hover { color: var(--accent); }
.hk-footer__contact a, .hk-footer__contact span { display: inline-flex; gap: 10px; align-items: center; }
.hk-footer__contact .hk-ico { color: var(--accent); }
.hk-social { display: flex; gap: 10px; margin-top: 18px; }
.hk-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--wood-700); }
.hk-social a:hover { background: var(--accent); color: var(--wood-900); border-color: var(--accent); }
.hk-footer__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--wood-800); margin-top: 56px; padding-top: 20px; font-size: 14px; color: var(--wood-400); }
.hk-footer__axes { font-size: 18px; color: var(--wood-700); }

.hk-mobilebar { display: none; }

/* ------------------------------------------------------------------
   12. Reszponzív
------------------------------------------------------------------ */

@media (max-width: 1080px) {
	.hk-services { grid-template-columns: repeat(2, 1fr); }
	.hk-steps { grid-template-columns: repeat(2, 1fr); }
	.hk-step::after { display: none; }
	.hk-footer__grid { grid-template-columns: 1fr 1fr; }
	.hk-hero__in { gap: 32px; }
}

@media (max-width: 960px) {
	.hk-topbar__claim { display: none; }
	.hk-topbar__in { justify-content: center; }

	.hk-hero__in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 96px; }
	.hk-hero__media { max-width: 560px; width: 100%; margin: 8px auto 0; }
	.hk-band__in { grid-template-columns: 1fr; gap: 32px; }
	.hk-calc__body { grid-template-columns: 1fr; }
	.hk-contact { grid-template-columns: 1fr; gap: 32px; }
	.hk-refs, .hk-posts { grid-template-columns: repeat(2, 1fr); }
	.hk-refdetail__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.hk-topbar__contact > a:nth-child(2) { display: none; }
	.hk-header__in { min-height: 64px; }
	.hk-brand__mark { width: 44px; height: 44px; }
	.hk-brand__name { font-size: 18px; }
	.hk-brand__tag { font-size: 10px; letter-spacing: .24em; }
	.hk-hero__lead, .hk-lead { font-size: 17px; }
	.hk-hero__actions .hk-btn { width: 100%; }
	.hk-hero__badge { width: 84px; height: 84px; }
	.hk-services, .hk-steps, .hk-refs, .hk-posts { grid-template-columns: 1fr; }
	.hk-row { flex-direction: column; gap: 0; }
	.hk-calc__form, .hk-calc__result { padding: 22px; }
	.hk-calc__tab { padding: 14px 8px; font-size: 14px; white-space: normal; line-height: 1.25; }
	.hk-content .hk-checklist { grid-template-columns: 1fr; }
	.hk-footer__grid { grid-template-columns: 1fr; }
	.hk-footer__bottom { flex-direction: column; gap: 8px; }

	.hk-mobilebar {
		display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		background: var(--wood-950); padding: 8px; gap: 8px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
	}
	.hk-mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
	.hk-mobilebar__call { color: var(--sand-100); border: 1.5px solid var(--wood-600); }
	.hk-mobilebar__quote { background: var(--accent); color: var(--wood-900); }
}

@media (max-width: 782px) { .admin-bar .hk-header { top: 46px; } }

/* ==================================================================
   13. E-shop és konfigurátor (portec-szerkezet)
================================================================== */

/* Fejléc: eszközök, menü-felülcím, ikonok a lenyílóban */
.hk-header__in { gap: 18px; }
.hk-nav { margin-left: auto; gap: 18px; }
.hk-tools { display: flex; align-items: center; gap: 4px; }
.hk-tool { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--wood-900); }
.hk-tool:hover { background: var(--sand-100); color: var(--wood-600); }
.hk-tool .hk-ico { width: 22px; height: 22px; }
.hk-cartcount {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--accent); color: var(--wood-900); font: 700 11px/18px var(--f-body); text-align: center;
}
.hk-menu > li > a { padding: 10px 10px; }
.hk-menu__shop > a { display: flex; flex-direction: column; line-height: 1.05; padding-top: 4px; padding-bottom: 6px; }
.hk-menu__kicker { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); }
.hk-menu .sub-menu a { display: flex; align-items: center; gap: 10px; }
.hk-menuico { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--wood-900); color: var(--accent); display: inline-grid; place-items: center; }
.hk-menuico .hk-ico { width: 18px; height: 18px; }
.hk-nav__cta { white-space: nowrap; }
.hk-notices { padding-top: 18px; }
.hk-notices .woocommerce-message, .hk-notices .woocommerce-error, .hk-notices .woocommerce-info { margin: 0; }

/* Hero: konfigurátor-kártya a fotók előtt */
.hk-hero__photo--a { left: 0; top: 2%; width: 62%; aspect-ratio: 4 / 3; transform: rotate(-2.5deg); z-index: 2; }
.hk-hero__photo--b { right: 0; top: 8%; width: 50%; aspect-ratio: 3 / 4; transform: rotate(3deg); z-index: 1; }
.hk-hero__phone { color: var(--wood-300); margin: 0; font-size: 16px; }
.hk-hero__phone a { color: var(--sand-100); font-weight: 700; }
.hk-hero__card {
	position: absolute; right: 2%; bottom: 0; z-index: 3; width: min(340px, 72%);
	background: var(--paper); color: var(--wood-900); border-radius: var(--r-lg); padding: 14px 16px 12px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65); border: 1px solid var(--line);
}
.hk-hero__cardhead { display: flex; justify-content: space-between; align-items: center; font: 700 16px/1.2 var(--f-head); }
.hk-hero__cardtag { font: 700 11px/1 var(--f-body); letter-spacing: .1em; background: #383e42; color: #fff; padding: 5px 7px; border-radius: 4px; }
.hk-hero__draw {
	margin: 8px 0; border-radius: var(--r-sm); overflow: hidden;
	background-color: #fff;
	background-image: linear-gradient(var(--sand-100) 1px, transparent 1px), linear-gradient(90deg, var(--sand-100) 1px, transparent 1px);
	background-size: 16px 16px;
}
.hk-hero__draw svg { width: 100%; height: auto; display: block; }
.hk-hero__cardstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.hk-hero__cardstats div { background: var(--sand-100); border-radius: var(--r-sm); padding: 6px 8px; }
.hk-hero__cardstats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.hk-hero__cardstats dd { margin: 0; font: 700 16px/1.2 var(--f-head); font-variant-numeric: tabular-nums; }
.hk-hero__badge { left: 2%; bottom: 10%; }

/* Előnysor */
.hk-perks { background: var(--paper); }
.hk-perks__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.hk-perk { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--wood-800); }
.hk-perk .hk-ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--sand-100); color: var(--wood-600); flex: none; }

/* Kategória-rács */
.hk-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hk-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hk-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--wood-300); color: var(--ink); }
.hk-cat__img { aspect-ratio: 4 / 3; background: var(--sand-100); overflow: hidden; }
.hk-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hk-cat:hover .hk-cat__img img { transform: scale(1.06); }
.hk-cat__body { position: relative; padding: 30px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.hk-cat__icon { position: absolute; top: -24px; left: 18px; width: 46px; height: 46px; border-radius: 12px; background: var(--wood-900); color: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.hk-cat__title { font: 700 20px/1.2 var(--f-head); color: var(--wood-900); }
.hk-cat__text { font-size: 15px; color: var(--ink-soft); }

.hk-band__media--sheet {
	transform: rotate(-1deg); background-color: #fff; padding: 8px;
	background-image: linear-gradient(var(--sand-100) 1px, transparent 1px), linear-gradient(90deg, var(--sand-100) 1px, transparent 1px);
	background-size: 20px 20px;
}
.hk-band__media--sheet svg { width: 100%; height: auto; display: block; }

/* Kis gomb */
.hk-btn--small { padding: 6px 12px; font-size: 14px; border: 1.5px solid #d9c8b4; background: #fff; color: var(--wood-800); }
.hk-btn--small:hover { border-color: var(--wood-600); color: var(--wood-900); }
.hk-btn--small:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Konfigurátor ---------- */
.hk-prof { display: grid; gap: 20px; }
.hk-prof__stage { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.hk-prof__draw { background-color: #fff; }
.hk-prof__draw svg { width: 100%; height: auto; display: block; }
.hk-prof-grid line { stroke: #f1e8dc; stroke-width: 1; }
.hk-prof-line { fill: none; stroke: #383e42; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.hk-prof-line.is-bad { stroke: var(--err); stroke-dasharray: 10 6; }
.hk-prof-len { font: 700 13px var(--f-body); fill: var(--wood-900); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.hk-prof-ang { font: 600 11.5px var(--f-body); fill: var(--wood-600); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.hk-prof-dot { fill: var(--accent); }
.hk-prof__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.hk-prof__stats div { padding: 10px 14px; }
.hk-prof__stats div + div { border-left: 1px solid var(--line); }
.hk-prof__stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.hk-prof__stats dd { margin: 0; font: 700 18px/1.2 var(--f-head); font-variant-numeric: tabular-nums; }
.hk-prof__status { margin: 0; padding: 10px 14px; font-weight: 600; font-size: 15px; border-top: 1px solid var(--line); }
.hk-prof__status.is-ok { color: var(--ok); background: #eef6f0; }
.hk-prof__status.is-bad { color: var(--err); background: #f9ecea; }

.hk-prof__form .hk-field { margin-bottom: 14px; }
.hk-prof__shape { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin-bottom: 14px; background: var(--paper); }
.hk-prof__shapehead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hk-prof__shapebtns { display: flex; gap: 6px; }
.hk-prof__segs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hk-prof__seg, .hk-prof__bend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hk-prof__bend { padding-left: 18px; position: relative; }
.hk-prof__bend::before { content: ""; position: absolute; left: 6px; top: -6px; bottom: -6px; border-left: 2px dotted var(--wood-300); }
.hk-prof__tag { min-width: 64px; font-size: 13px; font-weight: 700; color: var(--wood-700); }
.hk-prof__bend .hk-prof__tag { color: var(--accent-dark); }
.hk-prof__in { display: inline-flex; align-items: center; border: 1.5px solid #d9c8b4; border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.hk-prof__in input { width: 76px; border: 0; padding: 8px 10px; font: 600 16px var(--f-body); font-variant-numeric: tabular-nums; color: var(--ink); background: transparent; }
.hk-prof__in input:focus { outline: none; }
.hk-prof__in:focus-within { border-color: var(--wood-600); box-shadow: 0 0 0 3px rgba(226, 160, 58, .3); }
.hk-prof__in span { padding: 0 10px 0 2px; color: var(--ink-soft); font-size: 14px; }
.hk-prof__dir { display: inline-flex; border: 1.5px solid #d9c8b4; border-radius: var(--r-sm); overflow: hidden; }
.hk-prof__dir button { border: 0; background: #fff; padding: 7px 10px; font: 600 14px var(--f-body); color: var(--ink-soft); cursor: pointer; }
.hk-prof__dir button[aria-pressed="true"] { background: var(--wood-900); color: var(--sand-100); }
.hk-prof__price { background: var(--wood-900); color: var(--sand-100); border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.hk-prof__pricerow { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.hk-prof__pricerow strong { font-family: var(--f-head); }
.hk-prof__pricerow--total { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 8px; font-size: 18px; }
.hk-prof__pricerow--total strong { color: var(--accent); font-size: 26px; }
.hk-prof__note { color: var(--wood-300); font-size: 13px; }
.hk-prof__buy { width: 100%; }
.hk-prof__buy:disabled { opacity: .5; cursor: not-allowed; }
.hk-prof__delivery { display: flex; gap: 8px; align-items: center; color: var(--ink-soft); font-size: 15px; margin: 10px 0 0; }
.hk-prof__delivery .hk-ico { color: var(--wood-600); }

/* Konfigurátor oldal: két oszlop */
.hk-content:has(.hk-prof) { max-width: none; }
.hk-content > .hk-prof { grid-template-columns: 1.15fr 1fr; align-items: start; }
.hk-content > .hk-prof .hk-prof__stage { position: sticky; top: 100px; }

/* ---------- Termékoldal ---------- */
.hk-product-crumbs { padding-top: 22px; }
.hk-crumbs--light { color: var(--ink-soft); }
.hk-crumbs--light a { color: var(--wood-600); }
.hk-product__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 18px; padding-bottom: 56px; }
.hk-product__top > * { min-width: 0; }
.hk-gallery { position: sticky; top: 100px; }
.hk-gallery__main { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-100); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.hk-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.hk-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.hk-gallery__thumbs button { width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: var(--sand-100); }
.hk-gallery__thumbs button.is-active { border-color: var(--accent); }
.hk-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hk-summary__title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.hk-summary__lead { font-size: 18px; color: var(--ink-soft); }
.hk-summary__meta { list-style: none; margin: 0 0 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-weight: 600; color: var(--wood-800); }
.hk-summary__meta li { display: flex; gap: 10px; align-items: center; }
.hk-summary__meta .hk-ico { color: var(--accent-dark); }
.hk-summary .hk-prof { grid-template-columns: 1fr; }
.hk-summary__help { margin-top: 14px; color: var(--ink-soft); }
.hk-ask { background: var(--sand-100); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: 22px 24px; }
.hk-ask__title { font-size: 24px; }
.hk-product__details { padding-bottom: 32px; }
.hk-product__desc { max-width: 900px; display: flex; flex-direction: column; gap: 40px; }
.hk-h3 { font-size: 28px; }
.hk-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.hk-spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.hk-spec th, .hk-spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hk-spec th { background: var(--sand-100); font-weight: 700; color: var(--wood-800); }
.hk-spec td:nth-child(2), .hk-spec td:nth-child(3) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hk-spec tr:last-child td { border-bottom: 0; }
.hk-spec__note { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.hk-faq { display: flex; flex-direction: column; gap: 8px; }
.hk-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; }
.hk-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hk-faq summary::-webkit-details-marker { display: none; }
.hk-faq summary::after { content: "+"; color: var(--accent-dark); font-size: 22px; line-height: 1; }
.hk-faq details[open] summary::after { content: "−"; }
.hk-faq details p { color: var(--ink-soft); padding-bottom: 14px; margin: 0; }
.hk-product__related { padding-bottom: 40px; }

/* ---------- WooCommerce lista ---------- */
.hk-catnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hk-catnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--wood-800); font-weight: 600; text-decoration: none; }
.hk-catnav a .hk-ico { width: 18px; height: 18px; color: var(--wood-600); }
.hk-catnav a.is-active, .hk-catnav a:hover { background: var(--wood-900); border-color: var(--wood-900); color: var(--sand-100); }
.hk-catnav a.is-active .hk-ico, .hk-catnav a:hover .hk-ico { color: var(--accent); }
.hk-catnav__cfg { margin-left: auto; border-color: var(--accent) !important; }

.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; padding-bottom: 18px;
}
.woocommerce ul.products li.product a img { margin: 0 0 14px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand-100); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 700 20px/1.2 var(--f-head) !important; color: var(--wood-900); padding: 0 18px !important; }
.woocommerce ul.products li.product .price { padding: 0 18px; color: var(--wood-700) !important; font-weight: 600; margin-top: auto !important; }
.woocommerce ul.products li.product .button { margin: 10px 18px 0 !important; }
.hk-price-from small { color: var(--ink-soft); font-weight: 400; }
.hk-price-ask { color: var(--wood-600); font-style: italic; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .hk-loop-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
	background: var(--accent) !important; color: var(--wood-900) !important; border-radius: var(--r-sm) !important;
	font: 700 15px/1.2 var(--f-body) !important; padding: .7em 1.1em !important; text-decoration: none;
}
.woocommerce .button:hover { background: #ecb355 !important; }
.hk-loop-btn--ghost { background: transparent !important; border: 2px solid var(--wood-900) !important; }
.woocommerce .button .hk-ico { width: 18px; height: 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--accent) !important; background: var(--sand-100) !important; color: var(--ink) !important; border-radius: var(--r-sm); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent-dark) !important; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 18px !important; }
.hk-cart-prof svg { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.related.products > h2 { font-size: 28px; margin-bottom: 18px; }

@media (max-width: 1080px) {
	.hk-cats { grid-template-columns: repeat(2, 1fr); }
	.hk-perks__in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.hk-product__top { grid-template-columns: 1fr; gap: 28px; }
	.hk-gallery { position: static; }
	.hk-content > .hk-prof { grid-template-columns: 1fr; }
	.hk-content > .hk-prof .hk-prof__stage { position: static; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
	.hk-catnav__cfg { margin-left: 0; }
	.hk-hero__card { right: 0; }
}
@media (max-width: 640px) {
	.hk-cats, .hk-perks__in { grid-template-columns: 1fr 1fr; gap: 12px; }
	.hk-perk { flex-direction: column; text-align: center; font-size: 14px; gap: 8px; }
	.hk-cat__body { padding: 26px 14px 16px; }
	.hk-cat__title { font-size: 17px; }
	.hk-cat__text { display: none; }
	.hk-hero__card { width: 78%; padding: 10px 12px; }
	.hk-hero__cardstats dd { font-size: 14px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; padding: 0 12px !important; }
	.woocommerce ul.products li.product .price { padding: 0 12px; }
	.woocommerce ul.products li.product .button { margin: 8px 12px 0 !important; font-size: 13px !important; }
	.hk-prof__in input { width: 64px; }
	.hk-prof__tag { min-width: 56px; }
	.hk-tool { width: 38px; height: 38px; }
}

/* Fejléc: ne törjön a menü; a fejléc szélesebb sávot kap, mint a tartalom */
.hk-header .hk-wrap, .hk-topbar .hk-wrap { max-width: 1340px; }
.hk-brand__name, .hk-menu a, .hk-nav__cta { white-space: nowrap; }
.hk-menu__shop > a::after { display: none; }
.hk-brand__text { flex: none; }

/* Mobil / tablet menü (a fájl végén, hogy minden asztali szabályt felülírjon) */
@media (max-width: 1279px) {
	/* backdrop-filter nélkül a fix menü a viewporthoz igazodik */
	.hk-header { backdrop-filter: none; background: var(--paper); }
	.hk-burger { display: block; }
	.hk-nav {
		position: fixed; inset: 0 0 0 auto; top: 0; width: min(380px, 88vw); z-index: 60;
		flex-direction: column; align-items: stretch; gap: 20px; padding: 96px 24px 24px;
		background: var(--paper);
		transform: translateX(100%); transition: transform .25s, box-shadow .25s; overflow-y: auto; visibility: hidden;
	}
	.hk-nav-open .hk-nav { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0, 0, 0, .25); }
	.hk-nav-open .hk-burger__open { display: none; }
	.hk-nav-open .hk-burger__close { display: block; }
	.hk-burger { position: relative; z-index: 70; }
	.hk-menu { flex-direction: column; }
	.hk-menu a { font-size: 19px; padding: 12px 8px; }
	.hk-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.hk-menu .sub-menu a { font-size: 16px; padding: 8px; }
	.hk-tools { margin-left: auto; }
	.hk-burger { order: 3; }
	.hk-menu__shop > a { flex-direction: row; gap: 8px; align-items: baseline; }
	.hk-nav__cta { align-self: flex-start; }
}

/* Termékrács finomítás + mobil fejléc */
.woocommerce ul.products, .woocommerce-page ul.products { padding: 0 !important; list-style: none; }
.woocommerce ul.products li.product a { text-decoration: none; }
.hk-prof .hk-row > .hk-field:first-child { flex: 1.5; }
@media (max-width: 640px) {
	.hk-brand { gap: 8px; min-width: 0; }
	.hk-brand__name { font-size: 16px; }
	.hk-brand__tag { font-size: 9px; letter-spacing: .2em; }
	.hk-tools .hk-tool:not(.hk-tool--cart) { display: none; }
	.hk-header__in { gap: 8px; }
}
