:root {
	--green: #556e45;
	--green-dark: #44583a;
	--yellow: #ffe14d;
	--yellow-dark: #e5a632;
	--ink: #1a1a1a;
	--text: #333333;
	--muted: #5a5a5a;
	--line: #e4e6df;
	--bg: #ffffff;
	--bg-alt: #f4f9f4;
	--charcoal: #20231d;
	--shadow-sm: 0 1px 0 var(--line);
	--shadow: 0 14px 34px rgba(26, 26, 26, 0.08);
	--radius: 0px;
	--radius-input: 3px;
}

* {
	box-sizing: border-box;
}

html, body {
	overflow-x: clip; /* defenzivní pojistka proti horizontálnímu přesahu */
}

html.has-offer-lightbox {
	overflow: hidden;
}

body {
	margin: 0;
	color: var(--text);
	background: var(--bg);
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	color: var(--ink);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--green);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--green-dark);
}

.icon {
	width: 1em;
	height: 1em;
	display: block;
}

.wrap {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	top: -48px;
	left: 16px;
	z-index: 100;
	padding: 8px 12px;
	background: var(--yellow);
	color: var(--ink);
}

.skip-link:focus {
	top: 12px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Header ---------- */
.topbar {
	background: var(--green);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.84rem;
}

.topbar__inner {
	min-height: 42px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.topbar__contacts {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.topbar__contacts a,
.topbar__contacts span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #fff;
}

.topbar__contacts .icon {
	font-size: 15px;
	opacity: 0.85;
}

.topbar__nav {
	display: flex;
	align-items: center;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.topbar__nav a {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
}

.topbar a:hover {
	color: var(--yellow);
}

.topbar__nav a:hover {
	color: var(--yellow);
}

/* Výška topbaru per breakpoint — používá se jako offset pro slide headeru. */
:root {
	--topbar-h: 42px;
}

@media (max-width: 1020px) {
	:root {
		--topbar-h: 38px;
	}
}

@media (max-width: 680px) {
	:root {
		--topbar-h: 36px;
	}
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	transition: transform 0.3s ease, box-shadow 0.25s ease;
	will-change: transform;
}

/* Při scrollu dolů se header posune o výšku topbaru nahoru
   → topbar zmizí, nav řádek zůstane na vrcholu viewportu. */
.site-header.is-scrolled {
	transform: translateY(calc(var(--topbar-h) * -1));
	box-shadow: 0 6px 20px rgba(26, 26, 26, 0.07);
}

/* Body padding = plná výška headeru (topbar + nav). Žádný overlay
   přes hero/banner v top stavu. V scrolled stavu vznikne pod headerem
   krátký prázdný prostor (= sklouznutý topbar), což je čitelnější než
   zasahování do obsahu. */
body {
	padding-top: 200px;
}

@media (max-width: 1020px) {
	body {
		padding-top: 130px;
	}
}

@media (max-width: 680px) {
	body {
		padding-top: 122px;
	}
}

.site-header__inner {
	padding-block: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	transition: padding 0.25s ease;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	flex: none;
}

.brand:hover {
	color: var(--ink);
}

.custom-logo,
.brand .custom-logo,
.brand img {
	height: 116px;
	width: auto;
	max-width: none;
	display: block;
	transition: height 0.25s ease;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.brand__mark {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	background: var(--green);
	color: #fff;
	font-weight: 800;
}

.brand__text {
	display: grid;
	line-height: 1.2;
}

.brand__text strong {
	font-size: 1.2rem;
	font-weight: 800;
}

.brand__text small {
	color: var(--muted);
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.site-nav {
	flex: 1;
}

.site-nav__list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	display: block;
	padding: 10px 13px;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
}

.site-nav__list a:hover {
	color: var(--green-dark);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a,
.site-nav__list .current-menu-parent > a {
	color: var(--green-dark);
	box-shadow: inset 0 -2px 0 var(--green);
}

/* Header dropdown submenus */
.site-nav__list .menu-item-has-children {
	position: relative;
}

.site-nav__list .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: 0.65;
}

.site-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--bg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 40;
}

.site-nav__list .menu-item-has-children:hover > .sub-menu,
.site-nav__list .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav__list .sub-menu a {
	padding: 9px 18px;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}

.site-nav__list .sub-menu a:hover {
	background: var(--bg-alt);
	color: var(--green-dark);
}

.site-nav__list .sub-menu .current-menu-item > a {
	box-shadow: none;
	color: var(--green-dark);
}

.nav-toggle {
	display: none;
	position: relative;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--line);
	background: var(--bg);
	cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) {
	top: 16px;
}

.nav-toggle span:nth-child(2) {
	top: 23px;
}

.nav-toggle span:nth-child(3) {
	top: 30px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	top: 23px;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	top: 23px;
	transform: rotate(-45deg);
}

.site-nav__extra {
	display: none;
}

.submenu-toggle {
	display: none;
}

/* ---------- Buttons (square) ---------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 13px 30px;
	border: 2px solid transparent;
	font-weight: 700;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button--primary {
	background: var(--yellow);
	border-color: var(--yellow);
	color: var(--ink);
}

.button--primary:hover {
	background: var(--yellow-dark);
	border-color: var(--yellow-dark);
	color: var(--ink);
}

.button--light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.button--light:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	color: #fff;
	background-color: var(--green-dark);
	background-size: cover;
	background-position: center;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 28, 16, 0.55);
}

.hero__inner {
	position: relative;
	z-index: 1;
	padding: 96px 0;
}

.hero__content {
	max-width: 680px;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--green);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.hero .eyebrow,
.page-hero--detail .eyebrow,
.page-hero--catalog .eyebrow {
	color: var(--yellow);
}

.hero h1,
.page-hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 4.6vw, 3.4rem);
	font-weight: 800;
	color: inherit;
}

.hero p {
	max-width: 560px;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 30px;
}

/* ---------- Sections ---------- */
.section {
	padding: 80px 0;
}

.section--compact {
	padding: 64px 0 40px;
}

.section--alt {
	background: var(--bg-alt);
}

.section--dark {
	background: var(--charcoal);
	color: rgba(255, 255, 255, 0.82);
}

.section__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
}

.section__header h2,
.split h2,
.news-strip h2 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 800;
}

.section__header > a {
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.section-intro {
	max-width: 640px;
	margin: 0 auto 40px;
	text-align: center;
}

.section-intro h2 {
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	font-weight: 800;
}

.section-intro p {
	color: var(--muted);
	margin: 8px 0 0;
}

/* ---------- Category tiles ---------- */
.category-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--line);
}

.category-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: 38px 24px;
	background: var(--bg);
	color: var(--ink);
	border-right: 1px solid var(--line);
	transition: background 0.15s ease;
}

.category-tiles .category-tile:last-child {
	border-right: 0;
}

.category-tile:hover {
	background: var(--bg-alt);
	color: var(--ink);
}

.category-tile__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	color: var(--green);
	font-size: 40px;
}

.category-tile:hover .category-tile__icon {
	color: var(--green-dark);
}

.category-tile__text span {
	display: block;
	color: var(--green);
	font-weight: 700;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.category-tile__text strong {
	display: block;
	margin-top: 4px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ink);
}

/* ---------- Benefits / features row ---------- */
.features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}

.feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.feature__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	background: var(--green);
	color: #fff;
	font-size: 26px;
}

.feature h3 {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 700;
}

.feature p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--muted);
}

/* ---------- Offer grid + cards (square) ---------- */
.offer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.offer-grid--catalog {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-card {
	display: flex;
	flex-direction: column;
	background: var(--bg);
	border: 1px solid var(--line);
	transition: border-color 0.15s ease, box-shadow 0.18s ease;
}

.offer-card:hover {
	border-color: var(--green);
	box-shadow: var(--shadow);
}

.offer-card__image {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--bg-alt);
	overflow: hidden;
}

.offer-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.offer-card:hover .offer-card__image img {
	transform: scale(1.04);
}

.offer-card__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--muted);
	font-weight: 700;
}

.offer-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	padding: 6px 14px;
	background: var(--green);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.offer-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
}

.offer-card__meta {
	min-height: 1.1em;
	margin: 0 0 6px;
	color: var(--green);
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.offer-card__title {
	min-height: 2.6em;
	margin: 0 0 18px;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
}

.offer-card__title a {
	color: var(--ink);
}

.offer-card__title a:hover {
	color: var(--green-dark);
}

.offer-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.offer-card__footer strong {
	color: var(--ink);
	font-size: 1.1rem;
	font-weight: 800;
}

.offer-card__link {
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	background: var(--green);
	color: #fff;
	font-weight: 700;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.offer-card__link:hover {
	background: var(--green-dark);
	color: #fff;
}

/* ---------- Split / services ---------- */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: 52px;
	align-items: center;
}

.split p {
	color: rgba(255, 255, 255, 0.74);
	max-width: 620px;
}

.section--dark h2 {
	color: #fff;
}

.service-list {
	display: grid;
	gap: 12px;
}

.service-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	font-weight: 600;
}

.service-list a::after {
	content: "→";
	opacity: 0.7;
}

.service-list a:hover {
	background: var(--green-dark);
	border-color: var(--green-dark);
	color: #fff;
}

/* ---------- News ---------- */
.news-strip {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 46px;
}

.news-strip__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.news-strip__items article {
	padding: 26px;
	border: 1px solid var(--line);
	background: var(--bg);
}

.news-strip__items h3 {
	margin-top: 0;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.66);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.86);
}

.breadcrumb a:hover {
	color: var(--yellow);
}

.breadcrumb span {
	opacity: 0.6;
}

/* ---------- Page / catalog hero ---------- */
.page-hero {
	padding: 64px 0;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--line);
}

.page-hero--catalog,
.page-hero--detail {
	background: var(--charcoal);
	color: #fff;
	border-bottom: 0;
}

.page-hero h1 {
	font-size: clamp(1.9rem, 3.6vw, 2.7rem);
	font-weight: 800;
}

.page-hero p {
	max-width: 720px;
	color: var(--muted);
}

.page-hero--catalog p,
.page-hero--detail p {
	color: rgba(255, 255, 255, 0.78);
}

/* ---------- Catalog layout (sidebar like reference shop) ---------- */
.catalog-layout {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 36px;
	align-items: start;
}

.catalog-filter {
	border: 1px solid var(--line);
}

.catalog-filter h2 {
	margin: 0;
	padding: 16px 18px;
	background: var(--green);
	color: #fff;
	font-size: 0.86rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.catalog-filter nav {
	display: grid;
}

.catalog-filter a {
	padding: 12px 18px;
	border-top: 1px solid var(--line);
	color: var(--text);
	font-weight: 600;
	font-size: 0.92rem;
}

.catalog-filter a:first-child {
	border-top: 0;
}

.catalog-filter a:hover {
	background: var(--bg-alt);
	color: var(--green-dark);
}

.catalog-filter a.is-active {
	background: var(--bg-alt);
	color: var(--green-dark);
	box-shadow: inset 3px 0 0 var(--green);
}

.catalog-results__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.catalog-count {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 600;
}

/* ---------- Pagination ---------- */
.nav-links,
.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 44px;
}

.nav-links a,
.nav-links span,
.page-numbers {
	display: inline-flex;
	align-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	justify-content: center;
	border: 1px solid var(--line);
	background: var(--bg);
	font-weight: 700;
	color: var(--ink);
}

.nav-links a:hover,
a.page-numbers:hover {
	border-color: var(--green);
	color: var(--green-dark);
}

.nav-links .current,
.page-numbers.current {
	background: var(--green);
	color: #fff;
	border-color: var(--green);
}

.empty-state {
	padding: 48px;
	border: 1px solid var(--line);
	background: var(--bg-alt);
	text-align: center;
}

.empty-state h2 {
	margin-top: 0;
}

/* ---------- Offer detail ---------- */
.offer-detail__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.offer-detail__head h1 {
	color: #fff;
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	font-weight: 800;
}

.offer-detail__title {
	display: grid;
	gap: 14px;
}

.offer-detail__title .eyebrow,
.offer-detail__title h1 {
	margin: 0;
}

.offer-detail__quick-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.offer-detail__quick-actions .button {
	min-height: 46px;
	padding: 11px 22px;
	font-size: 0.82rem;
}

.price-panel {
	min-width: 230px;
	padding: 22px 26px;
	background: var(--yellow);
	color: var(--ink);
}

.price-panel span,
.price-panel small {
	display: block;
	color: rgba(26, 26, 26, 0.7);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.price-panel strong {
	display: block;
	margin: 4px 0;
	font-size: 1.9rem;
	font-weight: 800;
	color: var(--ink);
}

.offer-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 370px;
	gap: 44px;
	align-items: start;
}

.offer-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 36px;
}

.offer-gallery__item {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	cursor: zoom-in;
}

.offer-gallery__item.is-primary {
	grid-column: span 4;
	aspect-ratio: 16 / 10;
}

.offer-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.offer-gallery__item:hover img {
	transform: scale(1.03);
}

.offer-lightbox[hidden] {
	display: none;
}

.offer-lightbox {
	position: fixed;
	inset: 0;
	z-index: 250;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 42px);
}

.offer-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(16, 18, 14, 0.9);
	cursor: zoom-out;
}

.offer-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: min(100%, 1120px);
	max-height: calc(100dvh - 56px);
}

.offer-lightbox img {
	display: block;
	max-width: 100%;
	max-height: calc(100dvh - 90px);
	object-fit: contain;
	background: #111;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.offer-lightbox__close,
.offer-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	border: 0;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	box-shadow: var(--shadow);
}

.offer-lightbox__close {
	top: -18px;
	right: -18px;
	width: 44px;
	height: 44px;
	font-size: 1.6rem;
	line-height: 1;
}

.offer-lightbox__nav {
	top: 50%;
	width: 50px;
	height: 64px;
	transform: translateY(-50%);
	font-size: 2rem;
}

.offer-lightbox__nav--prev {
	left: -66px;
}

.offer-lightbox__nav--next {
	right: -66px;
}

.offer-lightbox.is-single .offer-lightbox__nav {
	display: none;
}

@media (max-width: 1240px) {
	.offer-lightbox__close {
		top: 12px;
		right: 12px;
	}

	.offer-lightbox__nav--prev {
		left: 12px;
	}

	.offer-lightbox__nav--next {
		right: 12px;
	}
}

.content-block {
	font-size: 1.02rem;
}

.content-block h2,
.spec-panel h2,
.inquiry-panel h2,
.contact-form-block h2 {
	margin-top: 0;
	font-size: 1.3rem;
	font-weight: 800;
}

.content-block--page {
	padding: 56px 0 80px;
	max-width: 880px;
}

.content-block table {
	width: 100%;
	border-collapse: collapse;
}

.content-block td,
.content-block th {
	padding: 11px;
	border-bottom: 1px solid var(--line);
}

.bezvaauto-map {
	width: 100%;
	height: 420px;
	border: 0;
	margin-top: 24px;
}

.offer-sidebar {
	display: grid;
	gap: 20px;
	position: sticky;
	top: 110px;
}

.spec-panel,
.inquiry-panel,
.contact-form-block {
	padding: 26px;
	border: 1px solid var(--line);
	background: var(--bg);
}

.inquiry-panel {
	scroll-margin-top: 120px;
}

.spec-panel dl {
	display: grid;
	margin: 0;
}

.spec-panel dl div {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
}

.spec-panel dl div:last-child {
	border-bottom: 0;
}

.spec-panel dt {
	color: var(--muted);
}

.spec-panel dd {
	margin: 0;
	font-weight: 700;
	color: var(--ink);
}

/* ---------- Forms ---------- */
.inquiry-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.inquiry-form label,
.inquiry-form__wide {
	display: grid;
	gap: 6px;
}

.inquiry-form__wide,
.inquiry-form button {
	grid-column: 1 / -1;
}

.inquiry-form span {
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--ink);
}

.inquiry-form input,
.inquiry-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius-input);
	padding: 12px 13px;
	font: inherit;
	background: var(--bg);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(85, 110, 69, 0.16);
}

.inquiry-form textarea {
	resize: vertical;
}

.inquiry-form__trap {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.offer-sticky-cta {
	display: none;
}

.form-status {
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: var(--radius-input);
	font-weight: 700;
}

.form-status--ok {
	background: #e7f5e8;
	color: #235427;
}

.form-status--error {
	background: #fde7e3;
	color: #842515;
}

/* ---------- Posts ---------- */
.post-list {
	max-width: 880px;
}

.post-row {
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
}

.post-row h2 {
	margin: 0 0 8px;
	font-size: 1.4rem;
	font-weight: 700;
}

.post-row__date {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 0.88rem;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--charcoal);
	color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
	color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
	color: var(--yellow);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 32px;
	padding: 60px 0 36px;
}

.site-footer h2,
.site-footer h3 {
	margin-top: 0;
	color: #fff;
}

.site-footer h3 {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.86rem;
}

.site-footer__credits {
	color: rgba(255, 255, 255, 0.6);
}

.footer-contacts,
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.footer-links {
	gap: 9px;
}

.footer-contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

.footer-contacts .icon {
	font-size: 18px;
	margin-top: 2px;
	color: var(--yellow);
	flex: none;
}

/* ---------- Block content (Gutenberg) ---------- */
.entry-content > * {
	max-width: 880px;
	margin-inline: auto;
}

.entry-content > .alignwide {
	max-width: 1200px;
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content > * + * {
	margin-top: 28px;
}

.entry-content .wp-block-columns {
	gap: 24px;
}

.entry-content h2 {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

/* ---------- Contact page ---------- */
.contact-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
}

.contact-card {
	padding: 22px;
	border: 1px solid var(--line);
	background: var(--bg);
}

.contact-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	background: var(--green);
	color: #fff;
	font-size: 24px;
}

.contact-card h3 {
	margin: 0 0 6px;
	font-size: 1rem;
}

.contact-card p {
	margin: 0;
	line-height: 1.5;
}

.contact-card__muted {
	margin-top: 6px !important;
	color: var(--muted);
	font-size: 0.86rem;
}

/* ---------- Services page ---------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.service-block {
	padding: 34px 30px;
	border: 1px solid var(--line);
	background: var(--bg);
}

.service-block__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 18px;
	background: var(--bg-alt);
	color: var(--green);
	font-size: 32px;
}

.service-block h2 {
	font-size: 1.25rem;
	margin: 0 0 12px;
}

.service-block p {
	margin: 0 0 10px;
}

.service-block__muted {
	color: var(--muted);
	font-size: 0.9rem;
}

.services-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 44px;
	padding: 32px 36px;
	background: var(--bg-alt);
	border-left: 4px solid var(--green);
}

.services-cta p {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ink);
}

/* Core button block styled to match theme buttons */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 13px 30px;
	background: var(--yellow);
	color: var(--ink);
	border-radius: 0;
	font-weight: 700;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wp-block-button__link:hover {
	background: var(--yellow-dark);
	color: var(--ink);
}

/* ---------- 404 ---------- */
.error-404 {
	display: flex;
	align-items: center;
	min-height: calc(100vh - 126px);
	padding: 80px 0;
	background: var(--charcoal);
	color: rgba(255, 255, 255, 0.82);
	text-align: center;
}

.error-404__inner {
	max-width: 640px;
}

.error-404 .hero__actions {
	justify-content: center;
}

.error-404__code {
	margin: 0;
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
	color: var(--yellow);
}

.error-404 h1 {
	margin: 6px 0 14px;
	color: #fff;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.error-404__lead {
	margin: 0 auto;
	max-width: 460px;
	font-size: 1.08rem;
}

.error-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 36px;
}

.error-404__links a {
	padding: 9px 18px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
}

.error-404__links a:hover {
	border-color: var(--yellow);
	color: var(--yellow);
}

/* ---------- Catalog sidebar (filter + featured) ---------- */
.catalog-sidebar {
	display: grid;
	gap: 28px;
	align-content: start;
}

.sidebar-featured h2 {
	margin: 0 0 14px;
	font-size: 0.86rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sidebar-featured__list {
	display: grid;
	gap: 12px;
}

.featured-item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border: 1px solid var(--line);
	background: var(--bg);
	color: var(--ink);
}

.featured-item:hover {
	border-color: var(--green);
	color: var(--ink);
}

.featured-item__image {
	flex: none;
	width: 64px;
	height: 64px;
	overflow: hidden;
	background: var(--bg-alt);
}

.featured-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.featured-item__image .offer-card__placeholder {
	font-size: 0.6rem;
}

.featured-item__body {
	display: grid;
	gap: 3px;
}

.featured-item__title {
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.3;
}

.featured-item__price {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--green);
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
	.site-header__inner {
		padding-block: 12px;
	}

	.custom-logo,
	.brand .custom-logo,
	.brand img {
		height: 56px;
	}

	.topbar__secondary {
		display: none;
	}

	.nav-toggle {
		display: block;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - 100%);
		overflow-y: auto;
		background: var(--bg);
		border-top: 1px solid var(--line);
		box-shadow: var(--shadow);
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		width: 100%;
		margin: 0;
		padding: 8px 0;
		display: block;
	}

	.site-nav__list > li {
		border-bottom: 1px solid var(--line);
	}

	.site-nav__list a {
		padding: 15px clamp(20px, 5vw, 40px);
		font-size: 1.05rem;
		white-space: normal;
	}

	.site-nav__list .current-menu-item > a,
	.site-nav__list .current_page_item > a,
	.site-nav__list .current-menu-ancestor > a,
	.site-nav__list .current-menu-parent > a {
		box-shadow: inset 4px 0 0 var(--green);
		background: var(--bg-alt);
	}

	.site-nav__list .sub-menu {
		display: none;
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
		min-width: 0;
		list-style: none;
		background: var(--bg-alt);
	}

	.site-nav__list .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.submenu-toggle {
		display: grid;
		place-items: center;
		position: absolute;
		top: 2px;
		right: 6px;
		width: 50px;
		height: 50px;
		background: none;
		border: 0;
		cursor: pointer;
	}

	.submenu-toggle__icon {
		width: 9px;
		height: 9px;
		border-right: 2px solid var(--ink);
		border-bottom: 2px solid var(--ink);
		transform: translateY(-2px) rotate(45deg);
		transition: transform 0.2s ease;
	}

	.menu-item-has-children.is-open > .submenu-toggle .submenu-toggle__icon {
		transform: translateY(2px) rotate(-135deg);
	}

	.site-nav__list .sub-menu a {
		padding-left: clamp(36px, 9vw, 60px);
		font-size: 0.98rem;
		font-weight: 600;
		color: var(--muted);
	}

	.site-nav__list .sub-menu li:not(:last-child) {
		border-bottom: 1px solid var(--line);
	}

	.site-nav__list .menu-item-has-children > a::after {
		display: none;
	}

	/* Secondary links + contact moved into the burger panel */
	.site-nav__extra {
		display: block;
		padding: 8px 0 16px;
		background: var(--bg-alt);
	}

	.site-nav__extra .topbar__nav {
		display: block;
		padding: 0;
	}

	.site-nav__extra .topbar__nav li {
		border-bottom: 1px solid var(--line);
	}

	.site-nav__extra .topbar__nav a {
		display: block;
		padding: 13px clamp(20px, 5vw, 40px);
		color: var(--ink);
		font-size: 1rem;
		font-weight: 600;
	}

	.site-nav__contact {
		display: flex;
		flex-wrap: wrap;
		gap: 10px 22px;
		padding: 16px clamp(20px, 5vw, 40px) 4px;
	}

	.site-nav__contact a {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 0;
		color: var(--green-dark);
		font-weight: 700;
		font-size: 0.95rem;
	}

	.site-nav__contact .icon {
		font-size: 17px;
	}

	.category-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.category-tile:nth-child(2) {
		border-right: 0;
	}

	.category-tile:nth-child(1),
	.category-tile:nth-child(2) {
		border-bottom: 1px solid var(--line);
	}

	.features,
	.offer-grid,
	.offer-grid--catalog {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-layout,
	.offer-detail__grid,
	.news-strip,
	.split,
	.contact-layout,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.offer-sidebar {
		position: static;
	}

	.catalog-sidebar {
		gap: 16px;
	}

	.catalog-filter nav {
		grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	}

	.catalog-filter a {
		border-top: 0;
		border-right: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
	}

	.sidebar-featured {
		display: none;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.wrap {
		width: min(100% - 28px, 1200px);
	}

	.topbar {
		font-size: 0.78rem;
	}

	.topbar__inner {
		justify-content: center;
		gap: 8px 16px;
		min-height: 0;
		padding: 7px 0;
	}

	.topbar__contacts {
		justify-content: center;
		gap: 8px 16px;
	}

	.topbar__contacts span {
		display: none; /* skrýt otevírací dobu na malých displejích */
	}

	.brand {
		min-width: auto;
	}

	.brand__text small {
		display: none;
	}

	.hero {
		min-height: 480px;
	}

	.hero__inner {
		padding: 56px 0 48px;
	}

	.hero__content {
		max-width: 100%;
	}

	.hero h1,
	.page-hero h1 {
		font-size: clamp(1.7rem, 6vw, 2.2rem);
	}

	.hero p {
		max-width: 100%;
		font-size: 1rem;
	}

	.page-hero--catalog {
		padding: 44px 0;
	}

	.page-hero--catalog p {
		margin-bottom: 0;
	}

	.bezvaauto-offer-archive .section {
		padding-top: 36px;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.button {
		width: 100%;
		padding-inline: 18px;
		white-space: normal;
	}

	.section {
		padding: 56px 0;
	}

	.section__header,
	.offer-detail__head,
	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.offer-detail__title,
	.offer-detail__quick-actions {
		width: 100%;
	}

	.offer-detail__quick-actions {
		flex-direction: column;
	}

	.catalog-filter h2 {
		padding: 13px 14px;
	}

	.catalog-filter nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-filter a {
		padding: 10px 12px;
		font-size: 0.84rem;
	}

	.catalog-results__bar {
		margin-bottom: 18px;
		padding-bottom: 12px;
	}

	.category-tiles,
	.features,
	.offer-grid,
	.offer-grid--catalog,
	.news-strip__items,
	.contact-info,
	.site-footer__grid,
	.inquiry-form {
		grid-template-columns: 1fr;
	}

	.category-tile {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.offer-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.offer-gallery__item.is-primary {
		grid-column: span 2;
	}

	.spec-panel dl div {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.price-panel {
		width: 100%;
	}

	.offer-lightbox {
		padding: 12px;
	}

	.offer-lightbox img {
		max-height: calc(100dvh - 68px);
	}

	.offer-lightbox__close {
		top: 8px;
		right: 8px;
	}

	.offer-lightbox__nav {
		width: 42px;
		height: 56px;
		background: rgba(255, 255, 255, 0.92);
	}

	.offer-lightbox__nav--prev {
		left: 8px;
	}

	.offer-lightbox__nav--next {
		right: 8px;
	}

	body.single-nabidka {
		padding-bottom: calc(74px + env(safe-area-inset-bottom));
	}

	.offer-sticky-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 120;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line);
		background: var(--bg);
		box-shadow: 0 -12px 28px rgba(26, 26, 26, 0.12);
	}

	.offer-sticky-cta a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 0 12px;
		font-size: 0.86rem;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.04em;
	}

	.offer-sticky-cta a:first-child {
		background: var(--green);
		color: #fff;
	}

	.offer-sticky-cta a:last-child {
		background: var(--yellow);
		color: var(--ink);
	}
}
