/*
Theme Name: Verumella
Theme URI: https://verumella.com
Author: Verumella
Description: Könnyű, egyedi téma a Verumella hatnyelvű katalógusához (WooCommerce katalógusmód, Polylang).
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: verumella
*/

/* ---------- Fontok (saját tárhelyről, latin + latin-ext) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-ext-wght.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokenek ---------- */
:root {
	--vm-olive: #24392F;
	--vm-sage: #788774;
	--vm-ivory: #F6F3EC;
	--vm-sand: #D9C5A4;
	--vm-bronze: #A47D55;
	--vm-text: #46544B;
	--vm-line: #E6E4DB;
	--vm-white: #FFFFFF;
	--vm-olive-90: #2f4a3d;
	--vm-error: #9b2c22;
	--vm-ok: #2f6b45;

	--vm-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--vm-sans: "Instrument Sans", Arial, Helvetica, sans-serif;

	--vm-max: 1280px;
	--vm-gutter: clamp(16px, 4vw, 40px);
	--vm-gap: 24px;
	--vm-section: clamp(56px, 8vw, 100px);
	--vm-radius-s: 2px;
	--vm-radius-m: 6px;
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--vm-white);
	color: var(--vm-text);
	font-family: var(--vm-sans);
	font-size: 17px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--vm-olive); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--vm-bronze); }
:focus-visible { outline: 2px solid var(--vm-bronze); outline-offset: 3px; }
::selection { background: var(--vm-sand); color: var(--vm-olive); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--vm-olive); font-family: var(--vm-serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1, .vm-h1 { font-size: clamp(42px, 6.4vw, 82px); }
h2, .vm-h2 { font-size: clamp(32px, 4.2vw, 54px); }
h3, .vm-h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
h4 { font-family: var(--vm-sans); font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.4; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000; background: var(--vm-white); padding: 12px 16px; top: 8px; left: 8px; }
.vm-wrap { width: 100%; max-width: calc(var(--vm-max) + 2 * var(--vm-gutter)); margin-inline: auto; padding-inline: var(--vm-gutter); }
.vm-narrow { max-width: 720px; }
.vm-muted { color: var(--vm-sage); }
.vm-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 640px; }
.vm-section { padding-block: var(--vm-section); }
.vm-section--ivory { background: var(--vm-ivory); }
.vm-section--olive { background: var(--vm-olive); color: #E9E6DC; }
.vm-section--olive h2, .vm-section--olive h3 { color: var(--vm-ivory); }
.vm-section--olive a:not(.vm-btn) { color: var(--vm-sand); }
.vm-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.vm-section__head p { max-width: 560px; margin: 0; }
.vm-section__head h2 { margin: 0; max-width: 720px; }

/* ---------- Gombok ---------- */
.vm-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px;
	border: 1px solid var(--vm-olive); border-radius: var(--vm-radius-s);
	background: var(--vm-olive); color: var(--vm-ivory);
	font-family: var(--vm-sans); font-size: 14px; font-weight: 600; letter-spacing: .02em; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.vm-btn:hover, .wp-block-button__link:hover { background: var(--vm-olive-90); color: var(--vm-white); }
.vm-btn--ghost, .is-style-outline .wp-block-button__link { background: transparent; color: var(--vm-olive); }
.vm-btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--vm-olive); color: var(--vm-ivory); }
.vm-btn--light { background: var(--vm-ivory); border-color: var(--vm-ivory); color: var(--vm-olive); }
.vm-btn--light:hover { background: var(--vm-white); color: var(--vm-olive); }
.vm-btn--line-light { background: transparent; border-color: rgba(246,243,236,.6); color: var(--vm-ivory); }
.vm-btn--line-light:hover { background: var(--vm-ivory); color: var(--vm-olive); }
.vm-btn--sm { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.vm-btn.is-added { background: var(--vm-sage); border-color: var(--vm-sage); color: var(--vm-white); }
.vm-btn[disabled] { opacity: .6; cursor: progress; }
.vm-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.vm-link { background: none; border: 0; padding: 0; color: var(--vm-olive); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }

/* ---------- Fejléc ---------- */
.vm-skip { position: absolute; left: -9999px; }
.vm-skip:focus { left: 8px; top: 8px; z-index: 1000; background: var(--vm-white); padding: 10px 14px; }
.vm-notice { background: var(--vm-olive); color: var(--vm-ivory); font-size: 13px; text-align: center; padding: 6px var(--vm-gutter); }
.vm-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--vm-line); backdrop-filter: saturate(1.2) blur(6px); }
.admin-bar .vm-header { top: 32px; }
.vm-header__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 76px; }
.vm-logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--vm-olive); line-height: 1; }
.vm-logo__word { font-family: var(--vm-serif); font-weight: 500; font-size: 30px; letter-spacing: .14em; }
.vm-logo__tag { font-size: 9.5px; letter-spacing: .22em; color: var(--vm-sage); margin-top: 6px; }
.vm-nav { justify-self: center; }
.vm-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 26px; flex-wrap: wrap; }
.vm-nav a { display: inline-block; padding: 8px 0; text-decoration: none; color: var(--vm-olive); font-size: 15px; font-weight: 500; border-bottom: 1px solid transparent; }
.vm-nav a:hover, .vm-nav .current-menu-item > a, .vm-nav .current-menu-ancestor > a { border-bottom-color: var(--vm-bronze); color: var(--vm-olive); }
.vm-tools { display: flex; align-items: center; gap: 10px; }
.vm-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--vm-olive); border-radius: var(--vm-radius-m); cursor: pointer; text-decoration: none; }
.vm-icon-btn:hover { background: var(--vm-ivory); color: var(--vm-olive); }
.vm-icon-btn svg { width: 20px; height: 20px; }
.vm-badge { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--vm-bronze); color: var(--vm-white); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.vm-lang { position: relative; }
.vm-lang > button { width: auto; padding: 0 10px; gap: 6px; font: 600 13px/1 var(--vm-sans); letter-spacing: .04em; }
.vm-lang ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--vm-white); border: 1px solid var(--vm-line); border-radius: var(--vm-radius-m); box-shadow: 0 12px 30px -18px rgba(36,57,47,.45); }
.vm-lang ul[hidden] { display: none; }
.vm-lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; text-decoration: none; font-size: 14px; border-radius: 4px; }
.vm-lang li a:hover { background: var(--vm-ivory); }
.vm-lang li a[aria-current="true"] { font-weight: 600; }
.vm-lang li small { color: var(--vm-sage); }
.vm-menu-toggle { display: none; }
.vm-search-panel { border-top: 1px solid var(--vm-line); background: var(--vm-white); }
.vm-search-panel[hidden] { display: none; }
.vm-search-panel form { display: flex; gap: 10px; padding-block: 16px; }
.vm-search-panel input[type=search] { flex: 1; }

/* ---------- Űrlapelemek ---------- */
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=url], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px;
	border: 1px solid #CFCBBE; border-radius: var(--vm-radius-s);
	background: var(--vm-white); color: var(--vm-olive);
	font: 16px/1.4 var(--vm-sans);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--vm-sage); outline-offset: 0; border-color: var(--vm-sage); }
.is-invalid { border-color: var(--vm-error) !important; outline-color: var(--vm-error) !important; }
label { display: block; font-size: 14px; font-weight: 600; color: var(--vm-olive); margin-bottom: 6px; }
.vm-req { color: var(--vm-bronze); }

/* ---------- Hero ---------- */
.vm-hero { position: relative; background: var(--vm-ivory); overflow: hidden; }
.vm-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(78vh, 760px); }
.vm-hero__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 64px) clamp(40px, 6vw, 96px) max(var(--vm-gutter), calc((100vw - var(--vm-max)) / 2)); }
.vm-hero__kicker { font-size: 14px; color: var(--vm-sage); margin-bottom: 18px; }
.vm-hero h1 { margin-bottom: 24px; max-width: 9.5em; }
.vm-hero__text p { max-width: 30em; }
.vm-hero__media { position: relative; min-height: 320px; background: var(--vm-sand); }
.vm-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kategóriacsempék ---------- */
.vm-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--vm-gap); }
.vm-cat { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 28px 26px 24px; border: 1px solid var(--vm-line); background: var(--vm-white); text-decoration: none; color: var(--vm-text); transition: border-color .2s, background-color .2s; }
.vm-cat:hover { border-color: var(--vm-sand); background: #FDFCF8; color: var(--vm-text); }
.vm-cat h3 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 14px; }
.vm-cat p { font-size: 15px; margin: 0; }
.vm-cat__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--vm-line); font-size: 13px; color: var(--vm-sage); font-variant-numeric: tabular-nums; }
.vm-cat__img { aspect-ratio: 4 / 5; object-fit: cover; margin: -28px -26px 22px; width: calc(100% + 52px); max-width: none; }

/* ---------- Márkák ---------- */
.vm-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0; border-top: 1px solid var(--vm-line); }
.vm-brand-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 16px; padding: 22px 4px 22px 0; border-bottom: 1px solid var(--vm-line); text-decoration: none; color: var(--vm-text); }
.vm-brand-row strong { font-family: var(--vm-serif); font-weight: 500; font-size: 32px; color: var(--vm-olive); line-height: 1.1; }
.vm-brand-row span { font-size: 13px; color: var(--vm-sage); font-variant-numeric: tabular-nums; }
.vm-brand-row em { grid-column: 1 / -1; font-style: normal; font-size: 15px; }
.vm-brand-row:hover strong { color: var(--vm-bronze); }
@media (min-width: 700px) {
	.vm-brands { column-gap: 40px; }
}

/* ---------- Termékkártya (adatlap-stílus) ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--vm-gap); margin: 0; padding: 0; list-style: none; }
.vm-card { display: flex; flex-direction: column; min-width: 0; }
.vm-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--vm-white); border: 1px solid var(--vm-line); outline: 6px solid transparent; outline-offset: -7px; transition: outline-color .2s; }
.vm-card__media:hover { outline-color: var(--vm-ivory); }
.vm-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.vm-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; padding: 18px; background: repeating-linear-gradient(135deg, var(--vm-ivory) 0 10px, #F1EDE3 10px 20px); color: var(--vm-sage); font-size: 12.5px; line-height: 1.4; text-align: center; }
.vm-ph svg { width: 34px; height: 34px; opacity: .7; }
.vm-card__body { padding-top: 16px; display: flex; flex-direction: column; flex: 1; }
.vm-card__brand { font-size: 13px; font-weight: 600; color: var(--vm-sage); text-decoration: none; margin-bottom: 4px; }
.vm-card__title { font-family: var(--vm-serif); font-weight: 600; font-size: 21px; line-height: 1.2; margin: 0 0 12px; }
.vm-card__title a { color: var(--vm-olive); text-decoration: none; }
.vm-card__title a:hover { color: var(--vm-bronze); }
.vm-spec { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0 0 16px; padding-top: 10px; border-top: 1px solid var(--vm-line); font-size: 13px; font-variant-numeric: tabular-nums; }
.vm-spec dt { color: var(--vm-sage); }
.vm-spec dd { margin: 0; color: var(--vm-olive); text-align: right; }
.vm-card .vm-add-quote { margin-top: auto; align-self: flex-start; }

/* ---------- Mediterrán blokk ---------- */
.vm-story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vm-story__img { aspect-ratio: 3 / 2; background: var(--vm-sand); overflow: hidden; }
.vm-story__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- B2B sáv ---------- */
.vm-b2b { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.vm-b2b p { font-size: 18px; max-width: 34em; }
.vm-b2b__aside { border-left: 1px solid rgba(217,197,164,.4); padding-left: 32px; }
.vm-b2b__aside ul { margin: 0 0 24px; padding: 0; list-style: none; }
.vm-b2b__aside li { padding: 8px 0; border-bottom: 1px solid rgba(217,197,164,.25); font-size: 15px; }

/* ---------- Útmutatók ---------- */
.vm-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vm-gap); }
.vm-guide { display: flex; flex-direction: column; gap: 10px; padding: 26px 0 0; border-top: 2px solid var(--vm-olive); text-decoration: none; color: var(--vm-text); }
.vm-guide h3 { font-size: 27px; margin: 0; }
.vm-guide:hover h3 { color: var(--vm-bronze); }
.vm-guide p { font-size: 15px; margin: 0; }

/* ---------- GYIK ---------- */
.vm-faq { border-top: 1px solid var(--vm-line); max-width: 860px; }
.vm-faq details { border-bottom: 1px solid var(--vm-line); }
.vm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--vm-serif); font-size: 24px; font-weight: 500; color: var(--vm-olive); line-height: 1.25; }
.vm-faq summary::-webkit-details-marker { display: none; }
.vm-faq summary::after { content: "+"; font-family: var(--vm-sans); font-size: 22px; color: var(--vm-bronze); transition: transform .2s; }
.vm-faq details[open] summary::after { transform: rotate(45deg); }
.vm-faq details > div { padding: 0 0 22px; max-width: 680px; }

/* ---------- Oldalfej, morzsamenü ---------- */
.vm-pagehead { background: var(--vm-ivory); padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.vm-pagehead h1 { margin-bottom: 18px; }
.vm-pagehead .vm-lead { margin: 0; }
.vm-crumbs { font-size: 13px; color: var(--vm-sage); margin-bottom: 22px; }
.vm-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vm-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--vm-sand); }
.vm-crumbs a { color: var(--vm-sage); text-decoration: none; }
.vm-crumbs a:hover { color: var(--vm-olive); text-decoration: underline; }
.vm-crumbs [aria-current] { color: var(--vm-olive); }

/* ---------- Katalógus + szűrők ---------- */
.vm-catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.vm-filters { position: sticky; top: 100px; }
.vm-filters fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.vm-filters legend { font-size: 13px; font-weight: 600; color: var(--vm-olive); margin-bottom: 10px; padding: 0; }
.vm-filters label { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; color: var(--vm-text); margin: 0; padding: 5px 0; cursor: pointer; }
.vm-filters label small { margin-left: auto; color: var(--vm-sage); font-variant-numeric: tabular-nums; }
.vm-filters input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--vm-olive); }
.vm-filters__actions { display: flex; gap: 12px; align-items: center; }
.vm-filters__head { display: none; }
.vm-catalog__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--vm-line); font-size: 14px; color: var(--vm-sage); }
.vm-catalog__bar form { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.vm-filter-open { display: none; }
.vm-empty { padding: 48px 0; max-width: 560px; }
.vm-pagination { margin-top: 48px; display: flex; gap: 6px; flex-wrap: wrap; }
.vm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--vm-line); text-decoration: none; font-variant-numeric: tabular-nums; }
.vm-pagination .current { background: var(--vm-olive); color: var(--vm-ivory); border-color: var(--vm-olive); }

/* ---------- Termékoldal ---------- */
.vm-product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: clamp(28px, 4vw, 56px) var(--vm-section); }
.vm-gallery__main { aspect-ratio: 1 / 1; border: 1px solid var(--vm-line); background: var(--vm-white); }
.vm-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.vm-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.vm-gallery__thumbs button { width: 76px; height: 76px; padding: 4px; border: 1px solid var(--vm-line); background: var(--vm-white); cursor: pointer; }
.vm-gallery__thumbs button[aria-pressed="true"] { border-color: var(--vm-olive); }
.vm-product__summary { position: sticky; top: 100px; }
.vm-product__brand { display: inline-block; font-size: 14px; font-weight: 600; color: var(--vm-sage); text-decoration: none; margin-bottom: 10px; }
.vm-product h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 18px; }
.vm-product__short { font-size: 18px; margin-bottom: 26px; }
.vm-product .vm-spec { font-size: 15px; gap: 0; margin-bottom: 28px; padding-top: 0; border-top: 1px solid var(--vm-line); }
.vm-product .vm-spec dt, .vm-product .vm-spec dd { padding: 11px 0; border-bottom: 1px solid var(--vm-line); }
.vm-product .vm-spec dt { padding-right: 20px; }
.vm-b2b-note { margin-top: 28px; padding: 20px 22px; background: var(--vm-ivory); border-left: 3px solid var(--vm-sand); font-size: 15px; }
.vm-b2b-note strong { display: block; font-family: var(--vm-serif); font-size: 22px; font-weight: 600; color: var(--vm-olive); margin-bottom: 6px; }
.vm-tabs { border-top: 1px solid var(--vm-line); }
.vm-tabs details { border-bottom: 1px solid var(--vm-line); }
.vm-tabs summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--vm-olive); display: flex; justify-content: space-between; }
.vm-tabs summary::-webkit-details-marker { display: none; }
.vm-tabs summary::after { content: "+"; color: var(--vm-bronze); }
.vm-tabs details[open] summary::after { content: "–"; }
.vm-tabs details > div { padding-bottom: 22px; max-width: 72ch; }
.vm-inci { font-size: 14px; line-height: 1.7; }

/* ---------- Ajánlatkérés ---------- */
.vm-quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.vm-quote__list { position: sticky; top: 100px; padding: 26px; background: var(--vm-ivory); }
.vm-quote__count { display: inline-flex; min-width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 14px; background: var(--vm-olive); color: var(--vm-ivory); font: 600 13px/1 var(--vm-sans); vertical-align: middle; }
.vm-qlist { list-style: none; margin: 0; padding: 0; }
.vm-qlist__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 84px; gap: 6px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--vm-line); }
.vm-qlist__row img, .vm-qlist__ph { width: 56px; height: 56px; object-fit: contain; background: var(--vm-white); border: 1px solid var(--vm-line); }
.vm-qlist__main a { display: block; font-weight: 600; text-decoration: none; font-size: 15px; line-height: 1.3; }
.vm-qlist__main small { color: var(--vm-sage); font-variant-numeric: tabular-nums; }
.vm-qlist__qty input { min-height: 40px; padding: 6px 8px; text-align: right; }
.vm-qlist__row .vm-link { grid-column: 2 / -1; justify-self: start; font-size: 13px; }
.vm-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 18px; }
.vm-field { margin-bottom: 18px; }
.vm-form__grid .vm-field { margin: 0; }
.vm-field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.vm-field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--vm-olive); }
.vm-field--check label { font-weight: 400; font-size: 14px; color: var(--vm-text); }
.vm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vm-form__status { margin-top: 18px; font-size: 15px; }
.vm-form__status.is-error { color: var(--vm-error); }
.vm-form__status.is-ok { padding: 20px 22px; background: #EEF3EC; color: var(--vm-ok); border-left: 3px solid var(--vm-sage); font-size: 17px; }

/* ---------- Tartalom (Gutenberg) ---------- */
.vm-content > * { max-width: 760px; }
.vm-content > .alignwide, .vm-content > .vm-quote, .vm-content > .vm-who, .vm-content > .wp-block-columns, .vm-content > .vm-brands, .vm-content > .vm-guides, .vm-content > .vm-grid { max-width: var(--vm-max); }
.vm-content > .alignfull { max-width: none; }
.vm-content h2 { margin-top: 1.6em; font-size: clamp(30px, 3.2vw, 42px); }
.vm-content h3 { margin-top: 1.4em; }
.vm-content ul, .vm-content ol { padding-left: 1.2em; }
.vm-content li { margin-bottom: .4em; }
.vm-content blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--vm-sand); font-family: var(--vm-serif); font-size: 24px; color: var(--vm-olive); }
.vm-article { padding-block: clamp(32px, 5vw, 64px) var(--vm-section); }
.vm-article__meta { font-size: 14px; color: var(--vm-sage); margin-bottom: 30px; }
.vm-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--vm-line); }

/* ---------- Szerkeszthető főoldal / oldalak blokkokból ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.wp-block-button { margin: 0; }
.vm-front > .wp-block-group, .vm-content > .wp-block-group.alignfull { padding-block: var(--vm-section); }
.vm-front > .wp-block-group > .wp-block-group__inner-container,
.vm-content > .wp-block-group.alignfull > .wp-block-group__inner-container { max-width: calc(var(--vm-max) + 2 * var(--vm-gutter)); margin-inline: auto; padding-inline: var(--vm-gutter); }
.vm-content > .wp-block-group.alignfull { margin-inline: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.vm-band-ivory { background: var(--vm-ivory); }
.vm-band-olive { background: var(--vm-olive); color: #E9E6DC; }
.vm-band-olive h2, .vm-band-olive h3 { color: var(--vm-ivory); }
.vm-band-olive a:not(.wp-block-button__link) { color: var(--vm-sand); }
.vm-band-olive .wp-block-button__link { background: var(--vm-ivory); border-color: var(--vm-ivory); color: var(--vm-olive); }
.vm-band-olive .is-style-outline .wp-block-button__link { background: transparent; border-color: rgba(246,243,236,.6); color: var(--vm-ivory); }
.vm-band-olive .is-style-outline .wp-block-button__link:hover { background: var(--vm-ivory); color: var(--vm-olive); }
.vm-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.vm-head > .wp-block-group__inner-container { display: contents; }
.vm-head h2 { margin: 0; }
.vm-head p { margin: 0; }
.vm-kicker { font-size: 14px; color: var(--vm-sage); margin-bottom: 18px; }
.vm-band-olive .vm-kicker { color: var(--vm-sand); }

/* Hero */
.vm-front > .vm-hero-block { padding: 0; background: var(--vm-ivory); }
.vm-hero-block .wp-block-media-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(78vh, 760px); }
.vm-hero-block .wp-block-media-text__content { order: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 64px) clamp(40px, 6vw, 96px) max(var(--vm-gutter), calc((100vw - var(--vm-max)) / 2)); }
.vm-hero-block .wp-block-media-text__media { order: 1; position: relative; margin: 0; background: var(--vm-sand); min-height: 320px; }
.vm-hero-block .wp-block-media-text__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-hero-block h1 { max-width: 9.5em; margin-bottom: 24px; }
.vm-hero-block p:not(.vm-kicker) { max-width: 30em; font-size: clamp(18px, 1.5vw, 20px); }
.vm-hero-text { padding: clamp(56px, 9vw, 140px) 0 clamp(48px, 7vw, 110px); }
.vm-hero-text h1 { font-size: clamp(48px, 8.2vw, 112px); max-width: 8.5em; line-height: 1; letter-spacing: -.012em; }
.vm-hero-text p:not(.vm-kicker) { max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); }

/* Történet (kép + szöveg) */
.vm-story-block .wp-block-media-text { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vm-story-block .wp-block-media-text__media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--vm-sand); }
.vm-story-block .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }
.vm-story-block .wp-block-media-text__content { padding: 0; }
.vm-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.vm-split > .wp-block-group__inner-container { display: contents; }

/* GYIK a core „Részletek” blokkal */
.wp-block-details { border-bottom: 1px solid var(--vm-line); margin: 0; max-width: 860px; }
.wp-block-details:first-of-type { border-top: 1px solid var(--vm-line); }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--vm-serif); font-size: 24px; font-weight: 500; color: var(--vm-olive); line-height: 1.25; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-family: var(--vm-sans); font-size: 22px; color: var(--vm-bronze); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { max-width: 680px; }
.wp-block-details > :last-child { padding-bottom: 22px; margin-bottom: 0; }
.wp-block-separator { border: 0; border-top: 1px solid var(--vm-line); margin: 40px 0; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.vm-who .wp-block-column { border-top: 2px solid var(--vm-olive); padding-top: 20px; }
.vm-who h3 { font-size: 26px; margin-top: 0; }

@media (max-width: 980px) {
	.vm-hero-block .wp-block-media-text, .vm-story-block .wp-block-media-text { grid-template-columns: 1fr; min-height: 0; }
	.vm-hero-block .wp-block-media-text__media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
	.vm-hero-block .wp-block-media-text__content { padding: 36px var(--vm-gutter) 48px; }
	.vm-head, .vm-split { grid-template-columns: 1fr; }
}

/* ---------- Lábléc ---------- */
.vm-footer { background: var(--vm-olive); color: #D8D6CC; padding: 72px 0 28px; font-size: 15px; }
.vm-footer a { color: #ECE9DF; text-decoration: none; }
.vm-footer a:hover { color: var(--vm-sand); text-decoration: underline; }
.vm-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.vm-footer .vm-logo { color: var(--vm-ivory); }
.vm-footer .vm-logo__tag { color: var(--vm-sand); }
.vm-footer h2 { font-family: var(--vm-sans); font-size: 14px; font-weight: 600; color: var(--vm-sand); margin-bottom: 14px; }
.vm-footer ul { list-style: none; margin: 0; padding: 0; }
.vm-footer li { padding: 4px 0; }
.vm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(217,197,164,.25); font-size: 13px; color: #B9BDB1; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1100px) {
	.vm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vm-nav ul { gap: 4px 18px; }
	.vm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
	.vm-header__in { grid-template-columns: auto 1fr; min-height: 64px; }
	.vm-logo__word { font-size: 24px; }
	.vm-logo__tag { display: none; }
	.vm-tools { justify-self: end; }
	.vm-menu-toggle { display: inline-flex; }
	.vm-nav { position: fixed; inset: 64px 0 0 0; background: var(--vm-white); padding: 16px var(--vm-gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
	.admin-bar .vm-nav { inset: 110px 0 0 0; }
	.vm-nav.is-open { transform: none; visibility: visible; }
	.vm-nav ul { flex-direction: column; gap: 0; }
	.vm-nav a { display: block; padding: 16px 0; font-family: var(--vm-serif); font-size: 28px; border-bottom: 1px solid var(--vm-line); }
}
@media (max-width: 980px) {
	.vm-hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.vm-hero__media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
	.vm-hero__text { padding: 36px var(--vm-gutter) 48px; }
	.vm-story, .vm-b2b, .vm-product, .vm-quote { grid-template-columns: 1fr; }
	.vm-b2b__aside { border-left: 0; padding-left: 0; border-top: 1px solid rgba(217,197,164,.4); padding-top: 24px; }
	.vm-product__summary, .vm-quote__list { position: static; }
	.vm-catalog { grid-template-columns: 1fr; }
	.vm-filter-open { display: inline-flex; }
	.vm-filters { position: fixed; inset: 0; z-index: 80; background: var(--vm-white); padding: 0 var(--vm-gutter) 24px; overflow-y: auto; display: none; }
	.vm-filters.is-open { display: block; }
	.vm-filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--vm-white); padding: 14px 0; margin-bottom: 14px; border-bottom: 1px solid var(--vm-line); }
	.vm-filters__actions { position: sticky; bottom: 0; background: var(--vm-white); padding: 14px 0; border-top: 1px solid var(--vm-line); }
	.vm-guides { grid-template-columns: 1fr; }
	.vm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.vm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
	.vm-card__title { font-size: 18px; }
	.vm-spec { font-size: 12px; }
	.vm-card .vm-add-quote { width: 100%; }
	.vm-cat { min-height: 0; }
	.vm-form__grid { grid-template-columns: 1fr; }
	.vm-footer__grid { grid-template-columns: 1fr; }
	.vm-catalog__bar form { max-width: none; flex-basis: 100%; }
	.vm-lang > button span.vm-lang__name { display: none; }
}
@media (max-width: 420px) {
	.vm-cats { grid-template-columns: 1fr; }
	.vm-header__in { gap: 8px; }
	.vm-logo__word { font-size: 19px; letter-spacing: .1em; }
	.vm-tools { gap: 0; }
	.vm-icon-btn { width: 40px; }
	.vm-lang > button { padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.vm-header, .vm-footer, .vm-filters, .vm-add-quote { display: none !important; }
}