/* Hlavní menu, varianta A (podklad grafika SPEC-A.md). Načítá se až za hybrid-chrome.css a přebíjí jeho hlavičku.
   Paleta: navy #0c1148, zlatá #daa520 (jen pruhy, obrysy a text na navy; na bílé nikdy jako text), zelená #1d883c
   (hover #176b32, nesvětlovat). Mobil do 1023,98 px: karty kategorií s fotkou, podskupiny jako tlačítka.
   Od 1024 px: dvouřádková lišta (4 + 64 + 52 = 120 px) a mega menu. Všechny cíle klepnutí min. 44 px. */

.vm-header {
	--vm-navy: var(--verku-brand, #0c1148);
	--vm-navy-hover: #161a5c;
	--vm-gold: var(--verku-accent, #daa520);
	--vm-cta: #1d883c;
	--vm-cta-hover: #176b32;
	--vm-page: #f4f5f8;
	--vm-soft: #f7f4ea;
	--vm-muted: #5a5f75;
	--vm-text2: #2a2f55;
	--vm-line: #d9dce6;
	--vm-chip-border: #e3d6a4;
	--vm-thumb-bg: #eef0f5;
	--vm-thumb-contain: #f3f4f8;
}

.vm-header.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	flex: 0 0 auto; /* body je flex: hlavička se nesmí smrštit */
	height: auto;
	min-height: auto;
	max-height: none;
	background: #fff;
	border-top: 4px solid var(--vm-gold);
	border-bottom: 0;
	box-shadow: 0 2px 12px rgba(12, 17, 72, 0.08);
	overflow: visible;
}

/* Obrys zaostření jen z klávesnice. Uvnitř navy proužek, aby byl vidět i na bílé. */
.vm-header :is(a, button, summary):focus-visible {
	outline: 2px solid var(--vm-gold);
	outline-offset: 2px;
	box-shadow: 0 0 0 1px var(--vm-navy); /* tenký navy proužek pod zlatým obrysem, ať je zaostření vidět i na bílé */
}

.vm-header :is(a, button, summary):focus:not(:focus-visible) {
	outline: none;
}

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

/* ===== Řádek 1: logo, kontakty, nástroje ===== */

.vm-bar {
	position: static;
	display: flex;
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 10px 0 14px;
	height: 64px;
	box-sizing: border-box;
	box-shadow: inset 0 -1px 0 var(--vm-line);
}

.vm-logo {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
	margin: 0 auto 0 0;
	padding: 0;
	border-radius: 6px;
}

.vm-logo img {
	display: block;
	width: auto;
	height: 40px;
}

.vm-phones,
.vm-login {
	display: none;
}

.vm-tools {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 6px;
	margin-left: auto;
}

/* Telefon a hledání: dotyková plocha 44 px */
.vm-header .hybrid-search__btn,
.vm-header .hybrid-phones-pop.is-ready .hybrid-phones-pop__btn {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	color: var(--vm-navy);
	font-size: 1.2rem;
}

.vm-header .hybrid-search__btn:hover,
.vm-header .hybrid-phones-pop__btn:hover {
	background: var(--vm-soft);
}

/* Jedno tlačítko volání s nabídkou jmen (hybrid-call.js) i na tabletu, ne jen pod 576 px. */
@media (max-width: 1023.98px) {
	.vm-header .hybrid-phones-pop {
		display: block;
		position: relative;
	}

	.vm-header .hybrid-phones-pop.is-ready .hybrid-phones-pop__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.vm-header .hybrid-phones-pop.is-ready .hybrid-phones-pop__menu.is-open {
		display: block;
		position: absolute;
		top: calc(100% + 6px);
		right: 0;
		z-index: 1080;
		min-width: 230px;
		padding: 8px;
		background: #fff;
		border: 1px solid var(--vm-line);
		border-radius: 12px;
		box-shadow: 0 12px 32px rgba(12, 17, 72, 0.16);
	}

	.vm-header .hybrid-phones-pop__fallback,
	.vm-header .hybrid-phones-pop__list {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.vm-header .hybrid-phones-pop.is-ready .hybrid-phones-pop__fallback {
		display: none;
	}

	.vm-header .hybrid-phones-pop__row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 4px 6px;
	}

	.vm-header .hybrid-phones-pop__row + .hybrid-phones-pop__row {
		border-top: 1px solid var(--vm-line);
	}

	.vm-header .hybrid-phones-pop__name {
		font-weight: 700;
		font-size: 14px;
		color: var(--vm-navy);
	}

	.vm-header .hybrid-phones-pop__tel {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 4px 14px;
		border-radius: 8px;
		background: var(--vm-cta);
		color: #fff;
		font-weight: 700;
		font-size: 14px;
		text-decoration: none;
	}

	.vm-header .hybrid-phones-pop__tel:hover {
		background: var(--vm-cta-hover);
		color: #fff;
	}

	.vm-header .hybrid-search__panel {
		position: fixed;
		left: 8px;
		right: 8px;
		top: calc(var(--verku-header-h, 4.5rem) + var(--verku-cookie-h, 0px) + 8px);
		width: auto;
		max-width: none;
		box-sizing: border-box;
		z-index: 1045;
	}
}

/* Poptávka: navy tlačítko s textem i na mobilu (přebíjí hybrid-chrome.css) */
.vm-header .cart-toggle {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: 0;
	padding: 0 12px !important;
	border-radius: 8px !important;
	background: var(--vm-navy) !important;
	color: #fff !important;
	font-size: 14px;
	letter-spacing: 0.01em;
}

.vm-header .cart-toggle:hover,
.vm-header .cart-toggle:focus-visible,
.vm-header .cart-toggle.show {
	background: var(--vm-navy-hover) !important;
	color: #fff !important;
}

.vm-header .cart-toggle-label {
	display: inline !important;
	margin: 0 !important;
	font-size: 14px;
	font-weight: 700;
	color: #fff !important;
}

@media (max-width: 399.98px) {
	.vm-tools {
		gap: 2px;
	}

	.vm-header .cart-toggle {
		padding: 0 10px !important;
	}
}

@media (max-width: 359.98px) {
	.vm-header .cart-toggle-label {
		display: none !important;
	}

	.vm-logo img {
		height: 32px;
	}
}

/* Hamburger / křížek */
.vm-toggler {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--vm-navy);
	cursor: pointer;
}

.vm-toggler:hover {
	background: var(--vm-soft);
}

.vm-toggler__icon--close,
.vm-toggler[aria-expanded="true"] .vm-toggler__icon--open {
	display: none;
}

.vm-toggler[aria-expanded="true"] .vm-toggler__icon--close {
	display: block;
}

/* ===== Mobilní panel pod hlavičkou ===== */

.vm-panel {
	display: block;
}

.vm-js .vm-panel {
	display: none;
}

.vm-js .vm-header.is-open .vm-panel {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	top: var(--vm-top, 68px);
	bottom: 0;
	z-index: 1029;
	background: var(--vm-page);
	overflow: hidden;
	animation: vm-in 0.2s ease-out both;
}

.vm-js .vm-header.is-closing .vm-panel {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	top: var(--vm-top, 68px);
	bottom: 0;
	z-index: 1029;
	background: var(--vm-page);
	overflow: hidden;
	animation: vm-out 0.16s ease-in both;
	pointer-events: none;
}

@keyframes vm-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes vm-out {
	from {
		opacity: 1;
		transform: none;
	}

	to {
		opacity: 0;
		transform: translateY(-8px);
	}
}

.vm-panel__scroll {
	max-height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 12px 12px 0;
	box-sizing: border-box;
}

.vm-js .vm-header.is-open .vm-panel__scroll,
.vm-js .vm-header.is-closing .vm-panel__scroll {
	height: 100%;
}

html.vm-open,
html.vm-open body {
	overflow: hidden;
}

/* Když se menu-a.js nenačte (onerror odebere vm-js): bez přepínače, hlavička se nelepí, menu zůstane rozbalené pod ní. */
@media (max-width: 1023.98px) {
	html:not(.vm-js) .vm-header.site-header {
		position: relative;
	}

	html:not(.vm-js) .vm-toggler {
		display: none;
	}

	html:not(.vm-js) .vm-bar {
		flex-wrap: wrap;
		height: auto;
		min-height: 64px;
	}

	html:not(.vm-js) .vm-panel {
		flex: 0 0 100%;
		min-width: 0;
	}

	html:not(.vm-js) .vm-logo,
	html:not(.vm-js) .vm-tools {
		height: 64px;
	}
}

/* Řádky kategorií: karta 12 px, řádek min. 72 px, fotka 56 × 56 */
.vm-cats > .vm-item {
	margin: 0 0 8px;
	background: #fff;
	border: 1px solid var(--vm-line);
	border-radius: 12px;
}

.vm-cats > .vm-item.is-open {
	border-color: var(--vm-chip-border);
	box-shadow: 0 0 0 1px var(--vm-chip-border);
}

.vm-row {
	display: flex;
	align-items: stretch;
	min-height: 72px;
}

.vm-toplink {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 72px;
	padding: 10px 4px 10px 12px;
	color: var(--vm-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	box-sizing: border-box;
}

.vm-toplink:hover {
	color: var(--vm-navy);
	text-decoration: none;
}

.vm-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	min-width: 56px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--vm-navy);
	cursor: pointer;
}

.vm-photo {
	display: grid;
	place-items: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	background: var(--vm-thumb-contain);
	overflow: hidden;
}

.vm-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
	box-sizing: border-box;
}

.vm-photo--tile img {
	object-fit: cover;
	padding: 0;
}

/* Načítání fotky: rezervované místo, podklad #eef0f5 a pulz 1,2 s (jen s JS a bez omezení pohybu) */
.vm-js .vm-photo:not(.is-loaded):not(.is-missing):not(.vm-photo--empty),
.vm-js .vm-group__icon:not(.is-loaded):not(.is-missing):not(.vm-group__icon--empty) {
	background: var(--vm-thumb-bg);
	animation: vm-pulse 1.2s ease-in-out infinite;
}

.vm-js .vm-photo:not(.is-loaded) img,
.vm-js .vm-group__icon:not(.is-loaded) img {
	opacity: 0;
}

.vm-photo img,
.vm-group__icon img {
	transition: opacity 0.15s ease;
}

@keyframes vm-pulse {
	50% {
		opacity: 0.55;
	}
}

/* Chybějící fotka: světlý čtverec s okrajem a písmenem, bez rozbité ikony */
.vm-photo.is-missing img,
.vm-group__icon.is-missing img {
	display: none;
}

.vm-photo--empty,
.vm-photo.is-missing,
.vm-group__icon--empty,
.vm-group__icon.is-missing {
	background: var(--vm-thumb-bg);
	border: 1px solid var(--vm-line);
	box-sizing: border-box;
}

.vm-photo__letter {
	color: var(--vm-muted);
	font-size: 18px;
	font-weight: 700;
}

.vm-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.vm-caret {
	width: 20px;
	height: 20px;
	background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%230c1148' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	transition: transform 0.2s ease;
}

.vm-toggle[aria-expanded="true"] .vm-caret {
	transform: rotate(180deg);
}

/* Rozbalená skupina: nadpis skupiny (odkaz) a čipy, odsazení 80 px vlevo (12 + 56 + 12) */
.vm-js .vm-sub {
	display: none;
}

.vm-js .vm-item.is-open > .vm-sub {
	display: block;
}

.vm-sub__inner {
	padding: 4px 12px 14px 80px;
}

.vm-aside {
	display: none;
}

.vm-group {
	margin: 0;
}

.vm-group__head {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--vm-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
	text-decoration: none;
}

.vm-group__head:hover {
	color: var(--vm-navy);
	text-decoration: underline;
}

.vm-group__icon {
	display: none;
}

/* Skupina bez značek je sama čip */
.vm-group--solo {
	display: inline-block;
	margin: 0 8px 8px 0;
}

.vm-group--solo .vm-group__head {
	padding: 0 12px;
	border: 1px solid var(--vm-chip-border);
	border-radius: 999px;
	background: var(--vm-soft);
	font-weight: 600;
}

.vm-group--solo .vm-group__head:hover {
	background: #fff;
	border-color: var(--vm-gold);
	text-decoration: none;
}

.vm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
}

.vm-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--vm-chip-border);
	border-radius: 999px;
	background: var(--vm-soft);
	color: var(--vm-navy);
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.vm-chip:hover {
	background: #fff;
	border-color: var(--vm-gold);
	color: var(--vm-navy);
	text-decoration: none;
}

/* Články, Kontakt, Přihlášení */
.vm-info {
	margin: 4px 0 0;
}

.vm-info__link {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 8px;
	color: var(--vm-navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	text-decoration: none;
}

.vm-info__link:hover,
.vm-info__link[aria-current="page"] {
	background: #eceef5;
	color: var(--vm-navy);
	text-decoration: none;
}

/* Patička panelu: lepí se dole, ať Zavolat zůstane vidět i u dlouhého DAKEA */
.vm-foot {
	position: sticky;
	bottom: 0;
	margin: 8px -12px 0;
	padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
	background: var(--vm-page);
	border-top: 1px solid var(--vm-line);
}

.vm-foot > * + * {
	margin-top: 8px;
}

.vm-foot__people {
	display: block;
}

.vm-call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	border-radius: 8px;
	background: var(--vm-cta);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.vm-call:hover,
.vm-call:active {
	background: var(--vm-cta-hover);
	color: #fff;
	text-decoration: none;
}

.vm-foot__person {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 0 6px;
	color: var(--vm-navy);
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.vm-foot__who {
	font-weight: 700;
}

.vm-foot__num {
	color: var(--vm-muted);
	font-weight: 400;
	white-space: nowrap;
}

.vm-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1.5px solid var(--vm-navy);
	border-radius: 8px;
	background: #fff;
	color: var(--vm-navy);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.vm-contact:hover {
	background: var(--vm-soft);
	color: var(--vm-navy);
	text-decoration: none;
}

/* Telefon na šířku (např. 667 × 375): patička se nelepí, ať na kategorie zůstane místo; Zavolat je i v liště nahoře. */
@media (max-width: 1023.98px) and (max-height: 420px) {
	.vm-foot {
		position: static;
	}
}

/* ===== Počítač od 1024 px ===== */

@media (min-width: 1024px) {
	html.vm-open,
	html.vm-open body {
		overflow: visible;
	}

	.vm-bar {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"logo phones tools"
			"panel panel panel";
		grid-template-rows: 64px auto;
		column-gap: 24px;
		padding: 0 16px;
		height: auto;
		max-width: 1440px;
		box-shadow: none;
	}

	.vm-logo {
		grid-area: logo;
		margin: 0;
	}

	.vm-logo img {
		height: 46px;
	}

	.vm-phones {
		grid-area: phones;
		display: flex;
		align-items: center;
		gap: 24px;
		min-width: 0;
	}

	.vm-phone {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 44px;
		padding: 0 4px;
		border-radius: 6px;
		color: var(--vm-navy);
		text-decoration: none;
		white-space: nowrap;
	}

	.vm-phone:hover {
		color: var(--vm-navy);
		text-decoration: underline;
	}

	.vm-phone__who {
		font-size: 13px;
		font-weight: 700;
		line-height: 16px;
	}

	.vm-phone__num {
		font-size: 13px;
		font-weight: 400;
		line-height: 16px;
		color: var(--vm-muted);
	}

	.vm-tools {
		grid-area: tools;
		gap: 8px;
		margin-left: 0;
	}

	.vm-header .hybrid-phones-pop,
	.vm-header .vm-phones-pop {
		display: none !important;
	}

	.vm-toggler {
		display: none;
	}

	.vm-login {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.vm-login__link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 12px;
		border-radius: 8px;
		color: var(--vm-navy);
		font-size: 15px;
		font-weight: 700;
		text-decoration: none;
	}

	.vm-login__link:hover {
		background: var(--vm-soft);
		color: var(--vm-navy);
	}

	.vm-login__out {
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 8px;
		color: var(--vm-navy);
	}

	.vm-header .cart-toggle {
		min-width: 120px;
		justify-content: center;
		font-size: 15px;
	}

	.vm-header .cart-toggle-label {
		font-size: 15px;
	}

	.vm-header .hybrid-search__panel {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		width: min(22rem, 78vw);
	}

	/* Panel je druhý řádek lišty (navigace 52 px), vždy vidět */
	.vm-panel,
	.vm-js .vm-panel,
	.vm-js .vm-header.is-open .vm-panel,
	.vm-js .vm-header.is-closing .vm-panel {
		grid-area: panel;
		display: block;
		position: static;
		z-index: auto;
		background: #fff;
		overflow: visible;
		animation: none;
		pointer-events: auto;
	}

	.vm-panel__scroll,
	.vm-js .vm-header.is-open .vm-panel__scroll,
	.vm-js .vm-header.is-closing .vm-panel__scroll {
		height: auto;
		max-height: none;
		overflow: visible;
		padding: 0;
	}

	.vm-links {
		display: flex;
		align-items: stretch;
		flex-wrap: wrap;
		min-height: 52px;
		padding: 0 8px;
		box-shadow: inset 0 1px 0 var(--vm-line), inset 0 -1px 0 var(--vm-line);
		box-sizing: border-box;
	}

	.vm-cats {
		display: flex;
		align-items: stretch;
		flex-wrap: wrap;
	}

	.vm-cats > .vm-item {
		display: flex;
		margin: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		overflow: visible;
	}

	.vm-cats > .vm-item.is-open {
		border: 0;
		box-shadow: none;
	}

	.vm-row {
		position: relative;
		align-items: center;
		min-height: 52px;
	}

	.vm-toplink {
		flex: 0 1 auto;
		min-height: 52px;
		padding: 0 13px;
		gap: 0;
		font-size: 16px;
		line-height: 18px;
		text-align: center;
		justify-content: center;
		max-width: 190px;
	}

	.vm-item--sub .vm-toplink {
		padding-right: 0;
	}

	.vm-toggle {
		flex: 0 0 28px;
		min-width: 28px;
		width: 28px;
		min-height: 52px;
		align-self: stretch;
	}

	.vm-caret {
		width: 16px;
		height: 16px;
		background-size: 16px 16px;
	}

	/* Hover, otevřeno, aktivní stránka: podklad #f7f4ea a zlatý pruh 3 px dole, odsazený 12 px od krajů */
	.vm-row::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 0;
		height: 3px;
		background: var(--vm-gold);
		opacity: 0;
	}

	.vm-row:hover {
		background: var(--vm-soft);
	}

	.vm-row:hover::after,
	.vm-item.is-open > .vm-row::after,
	.vm-item.is-current > .vm-row::after {
		opacity: 1;
	}

	.vm-photo {
		display: none;
	}

	.vm-label {
		flex: 0 1 auto;
	}

	/* „Fasádní systém - Royal Facade“: pevný zlom na dva řádky, žádné osamocené „Facade“ */
	.vm-label__a,
	.vm-label__b {
		display: block;
		white-space: nowrap;
	}

	.vm-label__sep {
		display: none;
	}

	.vm-info {
		display: flex;
		align-items: stretch;
		margin: 0 0 0 8px;
	}

	.vm-pages {
		display: flex;
	}

	.vm-account {
		display: none;
	}

	.vm-info li {
		position: relative;
		display: flex;
	}

	.vm-info__link {
		min-height: 52px;
		padding: 0 13px;
		border-radius: 0;
		color: var(--vm-text2);
		font-size: 16px;
		font-weight: 600;
	}

	.vm-info__link:hover,
	.vm-info__link[aria-current="page"] {
		background: var(--vm-soft);
	}

	.vm-info li::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 0;
		height: 3px;
		background: var(--vm-gold);
		opacity: 0;
		pointer-events: none;
	}

	.vm-info li:hover::after,
	.vm-info li:has([aria-current="page"])::after {
		opacity: 1;
	}

	.vm-foot {
		display: none;
	}

	/* Mega menu: hned pod lištou, bez mezery. Vnitřní okraj 28 / 40 / 32, mřížka 3 sloupce + fotka 320, mezera 28 */
	.vm-sub,
	.vm-js .vm-sub {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 1031;
		background: #fff;
		border-top: 1px solid var(--vm-line);
		box-shadow: 0 16px 40px rgba(12, 17, 72, 0.12);
		max-height: calc(100vh - var(--verku-header-h, 120px) - 8px);
		overflow-y: auto;
	}

	.vm-js .vm-item.is-open > .vm-sub {
		display: block;
	}

	html:not(.vm-js) .vm-item--sub:hover > .vm-sub,
	html:not(.vm-js) .vm-item--sub:focus-within > .vm-sub {
		display: block;
	}

	.vm-sub__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 28px;
		max-width: 1440px;
		margin: 0 auto;
		padding: 28px 40px 32px;
		box-sizing: border-box;
	}

	.vm-groups {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px 28px;
		align-content: start;
	}

	.vm-group {
		min-width: 0;
	}

	.vm-group--wide {
		grid-column: 1 / -1;
	}

	.vm-group--solo {
		display: block;
		margin: 0;
	}

	.vm-group__head,
	.vm-group--solo .vm-group__head {
		gap: 12px;
		min-height: 56px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		font-size: 17px;
		font-weight: 700;
		line-height: 24px;
	}

	.vm-group--solo .vm-group__head:hover {
		background: transparent;
		text-decoration: underline;
	}

	.vm-group__icon {
		display: grid;
		place-items: center;
		flex: 0 0 56px;
		width: 56px;
		height: 56px;
		border-radius: 8px;
		background: var(--vm-thumb-contain);
		overflow: hidden;
	}

	.vm-group__icon img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		padding: 4px;
		box-sizing: border-box;
	}

	.vm-group__icon--thumb img {
		object-fit: contain;
		padding: 0; /* okraj 8 px je už v obrázku (112 × 112, zobrazení 56 × 56) */
	}

	.vm-chips {
		display: block;
		margin: 4px 0 0;
	}

	.vm-group--wide .vm-chips {
		columns: 3;
		column-gap: 28px;
	}

	.vm-chips li {
		break-inside: avoid;
	}

	.vm-chip {
		display: flex;
		justify-content: flex-start;
		min-height: 44px;
		padding: 0 4px;
		border: 0;
		border-radius: 6px;
		background: transparent;
		color: var(--vm-text2);
		font-size: 15px;
		font-weight: 600;
		line-height: 22px;
		text-align: left;
	}

	.vm-chip:hover {
		background: var(--vm-soft);
		border: 0;
		text-decoration: underline;
	}

	.vm-aside {
		position: relative;
		display: block;
		align-self: stretch;
		min-height: 260px;
		border-radius: 12px;
		background: var(--vm-thumb-contain);
		overflow: hidden;
		color: #fff;
		text-decoration: none;
	}

	.vm-aside img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: contain;
		padding: 16px;
		box-sizing: border-box;
	}

	.vm-aside--tile img {
		object-fit: cover;
		padding: 0;
	}

	/* Fotka výrobku (ERGO, cihly, stropy): logo se nepřekrývá přechodem, popisek je v samostatném navy pruhu pod fotkou. */
	.vm-aside:not(.vm-aside--tile) {
		display: flex;
		flex-direction: column;
	}

	.vm-aside:not(.vm-aside--tile) img {
		position: static;
		flex: 1 1 0;
		min-height: 0;
		height: auto;
		padding: 4px;
	}

	.vm-aside:not(.vm-aside--tile) .vm-aside__txt {
		position: static;
		flex: 0 0 auto;
		padding: 12px 20px;
		background: var(--vm-navy);
	}

	.vm-aside__txt {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 48px 20px 16px;
		background: linear-gradient(180deg, rgba(12, 17, 72, 0) 0%, rgba(12, 17, 72, 0.92) 70%);
	}

	.vm-aside__name {
		font-size: 18px;
		font-weight: 700;
		line-height: 24px;
		color: #fff;
	}

	.vm-aside__go {
		font-size: 14px;
		font-weight: 700;
		line-height: 20px;
		color: var(--vm-gold); /* zlatá jen na navy přechodu fotky */
	}

	.vm-aside:hover .vm-aside__go {
		text-decoration: underline;
	}
}

/* 1024 až 1279 px: menší okraje, ať se vejde osm položek */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.vm-bar {
		column-gap: 16px;
		padding: 0 16px;
	}

	.vm-phones {
		gap: 14px;
	}

	.vm-links {
		padding: 0 4px;
	}

	.vm-toplink {
		padding: 0 8px;
		font-size: 15px;
	}

	.vm-info__link {
		padding: 0 8px;
		font-size: 15px;
	}

	.vm-info {
		margin-left: 0;
	}

	.vm-sub__inner {
		grid-template-columns: minmax(0, 1fr) 260px;
		padding: 24px 24px 28px;
	}
}

@media (min-width: 1280px) {
	.vm-bar {
		padding: 0 32px;
	}

	.vm-links {
		padding: 0 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vm-caret,
	.vm-photo img,
	.vm-group__icon img {
		transition: none;
	}

	.vm-js .vm-header.is-open .vm-panel,
	.vm-js .vm-header.is-closing .vm-panel,
	.vm-js .vm-photo,
	.vm-js .vm-group__icon {
		animation: none !important;
	}
}
