/*
Theme Name: MK Vzory
Theme URI: https://www.mkvzory.cz/
Author: Digital Depo
Author URI: https://www.digitaldepo.cz/
Description: Klasická šablona pro e-shop se vzory smluv advokátní kanceláře MKAK. Navazuje na vizuální identitu mkak.cz – tmavá modrá a zlatá, serifové nadpisy. Připraveno pro WooCommerce a digitální produkty.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mkvzory
Tags: e-commerce, custom-menu, translation-ready
*/

/* ==================================================================
   1) DESIGN TOKENY
   ================================================================== */
:root {
	/* Značka */
	--navy:        #152E5B;
	--navy-deep:   #0C1B36;
	--navy-ink:    #081226;
	--navy-tint:   #E9EDF4;

	--gold:        #D4AF37;
	--gold-light:  #E8CE72;
	--gold-dark:   #A8842A;
	--gold-soft:   #B1976B;

	/* Plochy a text */
	--bg:          #FFFFFF;
	--bg-soft:     #F7F5F0;
	--line:        #E4E0D6;
	--line-soft:   #EFEDE7;
	--text:        #1D2430;
	--text-muted:  #5A6371;
	--text-invert: #FFFFFF;
	--text-invert-muted: #C6CEDC;

	/* Tvar a pohyb */
	--radius:      10px;
	--radius-lg:   18px;
	--maxw:        1240px;
	--maxw-narrow: 860px;
	--ease:        cubic-bezier(.22,.61,.36,1);
	--shadow:      0 2px 6px rgba(12,27,54,.05), 0 12px 32px rgba(12,27,54,.07);
	--shadow-lg:   0 4px 12px rgba(12,27,54,.08), 0 24px 56px rgba(12,27,54,.12);

	/* Písmo */
	--font-head: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==================================================================
   2) RESET A ZÁKLAD
   ================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.has-menu-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration-color: rgba(21,46,91,.3); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -.01em;
	color: var(--navy);
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong { font-weight: 600; color: var(--text); }
em { font-style: italic; }

::selection { background: var(--gold); color: var(--navy-ink); }

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px;
	width: auto; height: auto; clip: auto;
	z-index: 999; padding: 12px 18px;
	background: var(--gold); color: var(--navy-ink);
	border-radius: var(--radius); font-weight: 600;
}

/* ==================================================================
   3) LAYOUT
   ================================================================== */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--maxw-narrow); }
.center { text-align: center; }

.section { padding: clamp(56px, 6vw, 96px) 0; }
.section--tight { padding: clamp(40px, 4vw, 64px) 0; }
.section--soft { background: var(--bg-soft); }
.section--shop { padding-top: clamp(36px, 4vw, 56px); }

.section__head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__lead { color: var(--text-muted); font-size: 1.06rem; }

.kicker {
	display: inline-block;
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-dark);
	margin-bottom: 14px;
	position: relative;
	padding-left: 34px;
}
.kicker::before {
	content: ""; position: absolute; left: 0; top: .62em;
	width: 24px; height: 2px; background: var(--gold);
}
.section__head:not(.section__head--left) .kicker { padding-left: 0; }
.section__head:not(.section__head--left) .kicker::before { display: none; }
.kicker--light { color: var(--gold-light); }

/* ==================================================================
   4) TLAČÍTKA
   ================================================================== */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 28px;
	font-family: var(--font-body);
	font-size: 1rem; font-weight: 600; line-height: 1;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 12px 20px; font-size: .95rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy-ink); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-ink); box-shadow: 0 8px 20px rgba(212,175,55,.32); }

.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

.btn--outline-light { background: transparent; border-color: rgba(212,175,55,.7); color: var(--gold-light); }
.btn--outline-light:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-ink); }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

/* ==================================================================
   5) TOPBAR + HLAVIČKA
   ================================================================== */
.topbar { background: var(--navy-ink); color: var(--text-invert-muted); font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--gold); }

.site-header {
	position: sticky; top: 0; z-index: 90;
	background: var(--navy);
	transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(8,18,38,.28); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }

/* Logo */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.site-header .brand-logo { max-height: 52px; width: auto; }
.woocommerce-page .site-header .brand-logo { height: auto; }
.brand-mark {
	font-family: var(--font-head);
	font-size: 2rem; font-weight: 700; line-height: 1;
	letter-spacing: .02em;
	background: linear-gradient(150deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text__name { color: #fff; font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; }
.brand-text__sub { color: var(--gold-soft); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* Navigace */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__item > a {
	display: flex; align-items: center; gap: 4px;
	padding: 12px 14px;
	color: #E7EBF2; font-size: .97rem; font-weight: 500;
	text-decoration: none; border-radius: var(--radius);
	transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__item > a:hover, .nav__item.is-current > a { color: var(--gold-light); background: rgba(255,255,255,.06); }
.nav__chev { transition: transform .2s var(--ease); }
.nav__item.has-sub:hover .nav__chev { transform: rotate(180deg); }

.subnav {
	position: absolute; top: calc(100% + 6px); left: 0;
	min-width: 268px; padding: 10px; margin: 0;
	list-style: none;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item.has-sub:hover .subnav,
.nav__item.has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li { margin: 0; }
.subnav a {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 14px; border-radius: var(--radius);
	color: var(--navy); font-size: .96rem; font-weight: 500; text-decoration: none;
	transition: background .18s var(--ease);
}
.subnav a:hover { background: var(--navy-tint); color: var(--navy); }
.subnav__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--navy-tint); color: var(--navy); flex: none; }
.subnav__icon .icon { width: 19px; height: 19px; }
.subnav a:hover .subnav__icon { background: var(--gold); color: var(--navy-ink); }

/* Akce vpravo */
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.cart-link {
	position: relative; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: var(--radius);
	color: #E7EBF2; text-decoration: none;
	transition: background .2s var(--ease), color .2s var(--ease);
}
.cart-link:hover { background: rgba(255,255,255,.08); color: var(--gold-light); }
.cart-link__count {
	position: absolute; top: 4px; right: 3px;
	min-width: 19px; height: 19px; padding: 0 5px;
	display: grid; place-items: center;
	background: var(--gold); color: var(--navy-ink);
	font-size: .7rem; font-weight: 700; border-radius: 10px;
}

.burger { display: none; width: 46px; height: 46px; padding: 11px; background: transparent; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger span + span { margin-top: 6px; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobilní menu */
.mobile-menu {
	position: fixed; inset: 118px 0 0; z-index: 88;
	background: var(--navy-deep);
	overflow-y: auto;
	opacity: 0; transform: translateY(-12px);
	transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); }
.mobile-menu__inner { padding: 24px 24px 48px; }
.mobile-menu__list { list-style: none; margin: 22px 0; padding: 0; }
.mobile-menu__list > li { position: relative; border-bottom: 1px solid rgba(255,255,255,.1); margin: 0; }
.mobile-menu__list > li > a {
	display: block; padding: 16px 48px 16px 0;
	color: #fff; font-family: var(--font-head); font-size: 1.22rem; text-decoration: none;
}
.mobile-menu__toggle {
	position: absolute; top: 8px; right: 0;
	width: 44px; height: 44px; display: grid; place-items: center;
	background: transparent; border: 0; color: var(--gold); cursor: pointer;
}
.mobile-menu__toggle .icon { transition: transform .2s var(--ease); }
.mobile-menu__list > li.is-open .mobile-menu__toggle .icon { transform: rotate(180deg); }
.mobile-menu__sub { display: none; list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; }
.mobile-menu__list > li.is-open .mobile-menu__sub { display: block; }
.mobile-menu__sub a { display: block; padding: 11px 0; color: var(--text-invert-muted); font-size: 1rem; text-decoration: none; }
.mobile-menu__sub a:hover { color: var(--gold-light); }
.mobile-menu__contact { margin-top: 22px; }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); text-decoration: none; }

/* ==================================================================
   6) HERO
   ================================================================== */
.hero {
	position: relative;
	background: var(--navy-deep);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(120% 100% at 78% 15%, rgba(212,175,55,.16), transparent 55%),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-ink) 100%);
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(90% 80% at 70% 20%, #000, transparent 72%);
	-webkit-mask-image: radial-gradient(90% 80% at 70% 20%, #000, transparent 72%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 780px; padding: clamp(56px, 7vw, 104px) 0; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--text-invert-muted); max-width: 640px; }

.hero--sub .hero__content { padding: clamp(44px, 5vw, 72px) 0; }
.hero--product .hero__content { padding: clamp(36px, 4vw, 56px) 0; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 26px 0 0; padding: 0; }
.hero__trust li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; color: #DCE3EE; }
.hero__trust .icon { color: var(--gold); }

.hero__search { margin-top: 26px; }

/* Vyhledávání */
.vsearch {
	position: relative; display: flex; align-items: center; gap: 8px;
	margin-top: 30px; padding: 8px;
	background: #fff; border-radius: 14px;
	box-shadow: var(--shadow-lg);
	max-width: 660px;
}
.vsearch__icon { position: absolute; left: 22px; color: var(--text-muted); pointer-events: none; }
.vsearch input[type="search"] {
	flex: 1; min-width: 0;
	padding: 14px 12px 14px 50px;
	border: 0; background: transparent;
	font-family: var(--font-body); font-size: 1rem; color: var(--text);
}
.vsearch input[type="search"]:focus { outline: none; }
.vsearch input::placeholder { color: #8A929E; }
.vsearch__btn { flex: none; }

.mobile-menu .vsearch { margin-top: 0; box-shadow: none; }

/* ==================================================================
   7) BENEFITY, KATEGORIE, KROKY
   ================================================================== */
.ben-grid, .cat-grid, .card-grid, .steps { display: grid; gap: 22px; }
.ben-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ben-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.ben-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }

.ben { padding: 4px 0; }
.ben__icon {
	display: grid; place-items: center;
	width: 48px; height: 48px; margin-bottom: 16px;
	border-radius: 12px;
	background: var(--navy-tint); color: var(--navy);
}
.ben h3 { margin-bottom: .35em; }
.ben p { color: var(--text-muted); font-size: .97rem; }

/* Kategorie */
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.cat-card {
	display: flex; flex-direction: column;
	padding: 30px 28px 26px;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none; color: var(--text);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--text); }
.cat-card__icon {
	display: grid; place-items: center;
	width: 52px; height: 52px; margin-bottom: 18px;
	border-radius: 13px;
	background: linear-gradient(140deg, var(--navy), var(--navy-deep));
	color: var(--gold-light);
	transition: background .25s var(--ease), color .25s var(--ease);
}
.cat-card:hover .cat-card__icon { background: var(--gold); color: var(--navy-ink); }
.cat-card h3 { margin-bottom: .3em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cat-card__count {
	font-family: var(--font-body); font-size: .74rem; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--gold-dark); background: rgba(212,175,55,.12);
	padding: 3px 9px; border-radius: 999px;
}
.cat-card__lead { color: var(--text-muted); font-size: .96rem; margin-bottom: 14px; }
.cat-card__list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.cat-card__list li {
	margin: 0; padding: 5px 11px;
	background: var(--bg-soft); border: 1px solid var(--line-soft);
	border-radius: 999px; font-size: .82rem; color: var(--text-muted);
}
.cat-card__more {
	margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
	color: var(--navy); font-weight: 600; font-size: .95rem;
}
.cat-card:hover .cat-card__more { color: var(--gold-dark); }
.cat-card__more .icon { transition: transform .2s var(--ease); }
.cat-card:hover .cat-card__more .icon { transform: translateX(4px); }

/* Kroky */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.steps.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.step {
	position: relative; margin: 0;
	padding: 30px 26px 26px;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.step__num {
	position: absolute; top: -16px; left: 26px;
	display: grid; place-items: center;
	width: 34px; height: 34px;
	background: var(--gold); color: var(--navy-ink);
	font-weight: 700; font-size: .95rem;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(212,175,55,.35);
}
.step__icon { display: block; margin-bottom: 14px; color: var(--navy); }
.step__icon .icon { width: 28px; height: 28px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--text-muted); font-size: .96rem; }
.section--soft .step, .section--soft .cat-card { background: #fff; }

/* ==================================================================
   8) SPLIT SEKCE, CHECKLIST, KONTAKT
   ================================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.split__text h2 { margin-bottom: .5em; }
.split__text p { color: var(--text-muted); }
.split__text .btn { margin-top: 12px; }
.split__panel {
	padding: 32px 30px;
	background: #fff; border: 1px solid var(--line);
	border-left: 3px solid var(--gold);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.split__panel h3 { margin-bottom: 1em; }
.split__note { margin-top: 18px; font-size: .88rem; color: var(--text-muted); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 12px; margin-bottom: 13px; color: var(--text); font-size: .99rem; }
.checklist .icon { color: var(--gold-dark); margin-top: 4px; flex: none; }
.checklist--plain li { display: block; }

.contact-list { list-style: none; margin: 22px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.contact-list .icon { color: var(--gold-dark); margin-top: 3px; flex: none; }
.contact-list span:first-child { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.contact-list a { font-weight: 600; text-decoration: none; }

/* ==================================================================
   9) FAQ
   ================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	width: 100%; padding: 22px 0;
	background: transparent; border: 0; cursor: pointer;
	font-family: var(--font-head); font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); font-weight: 600;
	color: var(--navy); text-align: left; line-height: 1.35;
}
.faq-item__q:hover { color: var(--gold-dark); }
.faq-item__chev { color: var(--gold-dark); transition: transform .25s var(--ease); flex: none; }
.faq-item.open .faq-item__chev { transform: rotate(180deg); }
.faq-item__a {
	display: grid; grid-template-rows: 0fr;
	transition: grid-template-rows .28s var(--ease);
}
.faq-item.open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > p { overflow: hidden; margin: 0; color: var(--text-muted); }
.faq-item.open .faq-item__a > p { padding-bottom: 22px; }
.faq__more { margin-top: 26px; }
.faq__more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }

/* ==================================================================
   10) CTA NA ADVOKÁTNÍ KANCELÁŘ
   ================================================================== */
.ak-cta { background: var(--navy-deep); color: #fff; padding: clamp(40px, 4.5vw, 64px) 0; }
.ak-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ak-cta__text { display: flex; gap: 20px; align-items: flex-start; max-width: 760px; }
.ak-cta__icon {
	display: grid; place-items: center; flex: none;
	width: 52px; height: 52px; border-radius: 13px;
	background: rgba(212,175,55,.14); color: var(--gold-light);
}
.ak-cta h2 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin-bottom: .4em; }
.ak-cta p { color: var(--text-invert-muted); font-size: .99rem; margin: 0; }
.ak-cta p + p { margin-top: .75em; }
.ak-cta .btn { flex: none; }

/* ==================================================================
   11) PATIČKA
   ================================================================== */
.site-footer { background: var(--navy-ink); color: var(--text-invert-muted); padding: clamp(48px, 5vw, 72px) 0 0; }
.site-footer__top {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px 32px;
	padding-bottom: 44px;
}
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--text-invert-muted); text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--gold-light); }
.brand-mark--footer { display: inline-block; margin-bottom: 14px; }
.site-footer__claim { color: #DCE3EE; font-size: .99rem; }
.site-footer__note { font-size: .88rem; color: #9AA6B8; }
.site-footer__note a { color: var(--gold-soft); text-decoration: underline; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--gold); margin-top: 3px; flex: none; }
.site-footer__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
	padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1);
	font-size: .85rem; color: #8B97AA;
}
.site-footer__bottom p { margin: 0; }
.site-footer__made a { color: var(--gold-soft); }

/* Sticky lišta na mobilu */
.sticky-bar { display: none; }

/* ==================================================================
   12) OBSAHOVÉ STRÁNKY (prose)
   ================================================================== */
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose a { font-weight: 500; }
.prose blockquote {
	margin: 1.6em 0; padding: 18px 24px;
	background: var(--bg-soft); border-left: 3px solid var(--gold);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--text-muted);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }

.card-grid { grid-template-columns: repeat(3, 1fr); }
.post-card {
	display: flex; flex-direction: column;
	padding: 26px; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	text-decoration: none; color: var(--text);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.post-card__icon { color: var(--gold-dark); margin-bottom: 14px; }
.post-card h2 { font-size: 1.2rem; margin-bottom: .4em; }
.post-card p { color: var(--text-muted); font-size: .95rem; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: .93rem; }

.empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 0; }
.empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--bg-soft); color: var(--text-muted); margin-bottom: 18px; }
.empty p { color: var(--text-muted); margin-bottom: 22px; }

.crumbs { border-bottom: 1px solid var(--line-soft); font-size: .88rem; padding: 14px 0; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-dark); }
.crumbs__sep { margin: 0 8px; color: var(--line); }

.pagination, .woocommerce-pagination { margin-top: 44px; }
.pagination .page-numbers, .woocommerce-pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 12px; margin: 0 4px;
	border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--navy); text-decoration: none; font-weight: 500;
}
.pagination .page-numbers.current, .woocommerce-pagination .page-numbers.current {
	background: var(--navy); border-color: var(--navy); color: #fff;
}
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 0; list-style: none; padding: 0; border: 0 !important; }
.woocommerce-pagination li { border: 0 !important; margin: 0; }

/* ==================================================================
   13) WOOCOMMERCE
   ================================================================== */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	border-top: 0; border-left: 3px solid var(--gold);
	background: var(--bg-soft); color: var(--text);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 16px 20px 16px 22px;
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before { display: none; }
.woocommerce .woocommerce-error { border-left-color: #C0392B; }

/* Katalog vzorů */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	display: flex; flex-direction: column;
	padding: 26px 24px 24px;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.vzor-card__media { display: block; margin-bottom: 16px; }
.vzor-card__media--icon {
	display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 11px;
	background: var(--navy-tint); color: var(--navy);
}
.vzor-card__media--icon .icon { width: 24px; height: 24px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-head); font-size: 1.15rem !important; font-weight: 600;
	color: var(--navy); padding: 0 !important; margin: 0 0 .35em !important;
}
.vzor-card__lead { color: var(--text-muted); font-size: .93rem; margin: 0 0 14px; }
.woocommerce ul.products li.product .price {
	display: block; margin: auto 0 16px !important;
	font-family: var(--font-head); font-size: 1.32rem; font-weight: 600; color: var(--navy) !important;
}
.woocommerce ul.products li.product .price del { color: var(--text-muted); font-size: .85em; }
.woocommerce ul.products li.product .button {
	align-self: flex-start;
	background: var(--navy) !important; color: #fff !important;
	padding: 12px 20px !important; border-radius: var(--radius) !important;
	font-family: var(--font-body); font-size: .95rem !important; font-weight: 600 !important;
	transition: background .2s var(--ease);
}
.woocommerce ul.products li.product .button:hover { background: var(--gold) !important; color: var(--navy-ink) !important; }
.woocommerce ul.products li.product .added_to_cart { margin-left: 12px; font-size: .9rem; }

.woocommerce .woocommerce-result-count { color: var(--text-muted); font-size: .92rem; }
.woocommerce .woocommerce-ordering select {
	padding: 10px 14px; border: 1px solid var(--line);
	border-radius: var(--radius); font-family: var(--font-body); font-size: .93rem; color: var(--text); background: #fff;
}

/* Detail vzoru */
.woocommerce div.product { display: grid; grid-template-columns: 1fr; gap: 0; }
.woocommerce div.product .woocommerce-product-gallery { display: none; }
.woocommerce div.product .summary { margin: 0 !important; width: 100% !important; float: none !important; max-width: var(--maxw-narrow); }
.woocommerce div.product .product_title { display: none; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--navy) !important; margin-bottom: 8px;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 26px; }
.woocommerce div.product form.cart { margin-bottom: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.woocommerce div.product form.cart .quantity { display: none; }
.woocommerce div.product form.cart .button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
	background: var(--gold) !important; color: var(--navy-ink) !important;
	padding: 15px 30px !important; border-radius: var(--radius) !important;
	font-family: var(--font-body); font-weight: 600 !important; font-size: 1rem !important;
	transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background: var(--gold-light) !important; color: var(--navy-ink) !important; box-shadow: 0 8px 20px rgba(212,175,55,.32);
}
.woocommerce .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--navy); color: #fff;
	border-radius: var(--radius); padding: 13px 24px;
	font-family: var(--font-body); font-weight: 600; font-size: .96rem;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--navy-deep); color: #fff; }

.assurance { list-style: none; margin: 0 0 20px; padding: 22px 24px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.assurance li { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; font-size: .96rem; }
.assurance li:last-child { margin-bottom: 0; }
.assurance .icon { color: var(--gold-dark); }
.assurance__ak { font-size: .92rem; color: var(--text-muted); margin-bottom: 26px; }

.woocommerce div.product .product_meta {
	margin: 4px 0 26px; padding-top: 18px;
	border-top: 1px solid var(--line-soft);
	font-size: .87rem; color: var(--text-muted);
}
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .product_meta a { color: var(--text-muted); }
.woocommerce div.product .product_meta a:hover { color: var(--gold-dark); }

.woocommerce div.product .woocommerce-tabs { margin-top: 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 24px !important; border-bottom: 1px solid var(--line); display: flex; gap: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent !important; border: 0 !important; border-radius: 0 !important;
	margin: 0 !important; padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block; padding: 14px 18px !important;
	font-family: var(--font-body); font-weight: 600; color: var(--text-muted) !important;
	border-bottom: 2px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--navy) !important; border-bottom-color: var(--gold); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 0; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2 { display: none; }

.woocommerce .related.products { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.woocommerce .related.products > h2 { font-size: 1.6rem; margin-bottom: 26px; }

/* Košík */
.woocommerce table.shop_table {
	border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: separate; overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--bg-soft); font-family: var(--font-body); font-weight: 600; color: var(--navy); padding: 16px; }
.woocommerce table.shop_table td { padding: 18px 16px; border-top: 1px solid var(--line-soft); }
.woocommerce table.shop_table .product-thumbnail { display: none; }
.woocommerce a.remove { color: var(--text-muted) !important; font-weight: 400; }
.woocommerce a.remove:hover { background: transparent !important; color: #C0392B !important; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 1.3rem; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }

/* Pokladna */
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr; gap: 0; width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce form .form-row { padding: 0; margin: 0 0 18px; }
.woocommerce form .form-row label { font-weight: 500; font-size: .93rem; margin-bottom: 6px; display: block; color: var(--text); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-container .select2-selection--single,
.woocommerce form .form-row select {
	width: 100%; padding: 13px 15px;
	border: 1px solid var(--line); border-radius: var(--radius);
	font-family: var(--font-body); font-size: 1rem; color: var(--text); background: #fff;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18); outline: none;
}
.woocommerce-checkout #payment { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 8px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 14px 18px; }
.woocommerce-checkout #payment div.form-row { padding: 18px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #place_order { width: 100%; font-size: 1.05rem !important; padding: 17px 24px !important; }

/* Účet */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px 1fr; grid-template-areas: "notice notice" "nav content"; gap: 32px; }
.woocommerce-account .woocommerce-notices-wrapper { grid-area: notice; }
.woocommerce-account .woocommerce-MyAccount-navigation { grid-area: nav; width: 100%; float: none; }
.woocommerce-account .woocommerce-MyAccount-content { grid-area: content; width: 100%; float: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0 0 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block; padding: 12px 16px; border-radius: var(--radius);
	color: var(--text); text-decoration: none; font-weight: 500;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--navy-tint); color: var(--navy); }
.woocommerce-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; grid-area: content; }
.woocommerce-account #customer_login .col-1, .woocommerce-account #customer_login .col-2 { width: 100%; float: none; }

/* ==================================================================
   14) REVEAL
   ================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
	.btn:hover, .cat-card:hover, .post-card:hover { transform: none; }
}

/* ==================================================================
   15) RESPONZIVITA
   ================================================================== */
@media (max-width: 1080px) {
	.nav { display: none; }
	.burger { display: block; }
	.site-header__inner { min-height: 70px; }
	.site-header__cta { display: none; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.cat-grid, .ben-grid.cols-4, .steps.cols-4, .card-grid,
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; }
	.ak-cta__inner { flex-direction: column; align-items: flex-start; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; grid-template-areas: "notice" "nav" "content"; }
	.woocommerce-account #customer_login { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 16.5px; }
	.wrap { padding: 0 18px; }
	/* Vyšší specificita než .topbar p (0,1,1), jinak by se pravidlo neuplatnilo */
	.topbar p.topbar__meta { display: none; }
	.topbar p.topbar__claim { font-size: .8rem; justify-content: center; }
	.topbar__inner { justify-content: center; }

	.hero__content { padding: 40px 0 44px; }
	.hero::after { mask-image: none; -webkit-mask-image: none; opacity: .5; }

	.vsearch { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px; }
	.vsearch__icon { top: 26px; }
	.vsearch input[type="search"] { padding: 12px 12px 12px 46px; }
	.vsearch__btn { width: 100%; justify-content: center; }

	/* Mřížky zpět na jeden sloupec – stejná specificita jako výše */
	.cat-grid, .ben-grid.cols-4, .ben-grid.cols-3, .ben-grid.cols-2,
	.steps.cols-4, .steps.cols-3, .steps.cols-2,
	.card-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
	.steps { gap: 30px; }

	.section { padding: 44px 0; }
	.split__panel { padding: 26px 22px; }

	.site-footer__top { grid-template-columns: 1fr; gap: 30px; }
	.site-footer__bottom { flex-direction: column; }

	.mobile-menu { inset: 102px 0 0; }

	/* Sticky lišta */
	.sticky-bar {
		position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
		display: grid; grid-template-columns: repeat(3, 1fr);
		background: var(--navy-deep);
		border-top: 1px solid rgba(255,255,255,.1);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.sticky-bar__item {
		display: flex; flex-direction: column; align-items: center; gap: 3px;
		padding: 9px 6px; color: #DCE3EE; text-decoration: none; font-size: .72rem;
	}
	.sticky-bar__item .icon { width: 21px; height: 21px; color: var(--gold); }
	body { padding-bottom: 62px; }
	body.has-menu-open .sticky-bar { display: none; }

	.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.7rem; }
	.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 12px 10px; }
}

/* Logo „MK VZORY“ */
.brand-text__name { letter-spacing: .14em; font-size: 1.05rem; }
.brand-footer-word {
	font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
	letter-spacing: .1em; color: var(--gold-soft); margin-left: 8px;
}

/* Poznámka pod podnadpisem kategorie */
.hero__note {
	margin-top: 14px; max-width: 680px;
	font-size: .9rem; line-height: 1.6; color: #A9B4C6;
	padding-left: 14px; border-left: 2px solid rgba(212,175,55,.5);
}

/* Odrážky „Co získáte s každým vzorem“ */
.checklist li > span { display: block; }
.checklist li strong { color: var(--navy); }

/* Nabídka konzultace v košíku */
.upsell-box {
	display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
	margin: 28px 0 36px; padding: 24px 26px;
	background: var(--bg-soft); border: 1px solid var(--line);
	border-left: 3px solid var(--gold); border-radius: var(--radius-lg);
}
.upsell-box__icon {
	display: grid; place-items: center; flex: none;
	width: 48px; height: 48px; border-radius: 12px;
	background: var(--navy-tint); color: var(--navy);
}
.upsell-box__text { flex: 1 1 340px; }
.upsell-box__text h2 { font-size: 1.2rem; margin-bottom: .3em; }
.upsell-box__text p { font-size: .95rem; color: var(--text-muted); margin: 0; }
.upsell-box__action { display: flex; align-items: center; gap: 16px; flex: none; }
.upsell-box__price { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.upsell-box__price del { display: none; }
@media (max-width: 640px) {
	.upsell-box { padding: 20px; }
	.upsell-box__action { width: 100%; justify-content: space-between; }
}
