/*
Theme Name: GeneratePress Nemovitomat
Template:   generatepress
Version:    1.0.0
Description: Custom child theme for nemovitomat.cz
*/

/* ===================================
   CSS PROMĚNNÉ
   =================================== */
:root {
	--navy:       #1e2d40;
	--navy-dark:  #152030;
	--white:      #ffffff;
	--gray-light: #f7f8fa;
	--gray-mid:   #e2e8f0;
	--text-dark:  #1a202c;
	--text-mid:   #4a5568;
	--text-light: #718096;
	--coral:      #e05a3a;
	--coral-dark: #c44d2f;
	--radius:     8px;
	--shadow:     0 4px 24px rgba(0,0,0,0.08);
	--shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
	--font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
}

html {
	scrollbar-gutter: stable;
}

/* ===================================
   ZÁKLAD
   =================================== */
body {
	font-family: var(--font);
	color: var(--text-dark);
	background: var(--white);
	line-height: 1.7;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

a {
	color: var(--coral);
}

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

/* ===================================
   HEADER / NAVIGACE — light Vercel-style
   =================================== */

/* Odstraň mezery GP */
.page-template-homepage .site-content,
.page-template-homepage #primary,
.page-template-homepage .content-area,
.page-template-homepage .inside-article,
.page-template-homepage .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.page-template-homepage .entry-content > *:not(section),
.page-template-homepage .entry-content > .wp-block-html:first-child,
.page-template-homepage .entry-content > p:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.page-template-homepage .nm-hero {
	margin-top: 0 !important;
	padding-top: 52px !important;
}

/* Header wrapper */
.nm-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gray-mid);
}

/* Navbar row */
.nm-navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	height: 60px;
	gap: 32px;
}

/* Logo */
.nm-logo {
	display: flex;
	align-items: center;
	gap: 3px;
	text-decoration: none;
	flex-shrink: 0;
}

.nm-logo:hover {
	text-decoration: none;
}

.nm-logo-img {
	display: block;
	flex-shrink: 0;
	height: 25px;
	width: auto;
}

.nm-logo-wordmark {
	color: #1e2d40;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

/* Nav linky (desktop) */
.nm-nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
}

.nm-nav-links a {
	color: var(--text-mid);
	font-size: 0.875rem;
/*	font-size: 1rem;*/
	font-weight: 500;
	padding: 7px 12px;
	border-radius: 6px;
	text-decoration: none;
	transition: color 0.15s, background 0.15s;
}

.nm-nav-links a:hover {
	color: var(--text-dark);
	background: var(--gray-light);
}

/* Akce vpravo */
.nm-nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* Tlačítka v navbaru */
.nm-btn-nav-ghost {
	display: inline-flex;
	align-items: center;
	color: var(--text-dark);
	font-size: 0.875rem;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid #d1d5db;
	background: transparent;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
	line-height: 1;
}

.nm-btn-nav-ghost:hover {
	color: var(--text-dark);
	background: var(--gray-light);
	text-decoration: none;
}

.nm-btn-nav-primary {
	display: inline-flex;
	align-items: center;
	background: var(--navy);
	color: var(--white) !important;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.15s, opacity 0.15s;
	line-height: 1;
}

.nm-btn-nav-primary:hover {
	background: var(--navy-dark);
	color: var(--white) !important;
	text-decoration: none;
}

/* ---- User menu (avatar + dropdown) ---- */
.nm-user-menu {
	position: relative;
}

.nm-avatar-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid var(--gray-mid);
	border-radius: 8px;
	padding: 5px 10px 5px 5px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	font-family: var(--font);
}

.nm-avatar-btn:hover {
	border-color: #c0c8d2;
	background: var(--gray-light);
}

.nm-avatar-initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--navy);
	color: var(--white);
	font-size: 0.7rem;
	font-weight: 700;
	border-radius: 6px;
	letter-spacing: 0.02em;
	flex-shrink: 0;
}

.nm-avatar-initials--sm {
	width: 36px;
	height: 36px;
	font-size: 0.8rem;
	border-radius: 8px;
}


.nm-avatar-chevron {
	color: var(--text-light);
	transition: transform 0.2s;
	flex-shrink: 0;
}

.nm-avatar-btn[aria-expanded="true"] .nm-avatar-chevron {
	transform: rotate(180deg);
}

/* Dropdown panel */
.nm-user-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: var(--white);
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
	z-index: 100;
	overflow: hidden;
}

.nm-user-dropdown.is-open {
	display: block;
}

.nm-user-dropdown-header {
	padding: 12px 16px;
}

.nm-user-name {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-dark);
	line-height: 1.35;
}

.nm-user-email {
	display: block;
	font-size: 0.78rem;
	color: var(--text-light);
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nm-dropdown-divider {
	height: 1px;
	background: var(--gray-mid);
	margin: 0;
}

.nm-dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	font-size: 0.875rem;
	color: var(--text-dark);
	text-decoration: none;
	transition: background 0.12s;
}

.nm-dropdown-item:hover {
	background: var(--gray-light);
	color: var(--text-dark);
	text-decoration: none;
}

.nm-dropdown-item svg {
	color: var(--text-light);
	flex-shrink: 0;
}

.nm-dropdown-item--danger {
	color: #c0392b;
}

.nm-dropdown-item--danger svg {
	color: #c0392b;
}

.nm-dropdown-item--danger:hover {
	background: #fef2f2;
	color: #c0392b;
}

/* ---- Hamburger ---- */
.nm-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	background: none;
	border: 1px solid var(--gray-mid);
	border-radius: 6px;
	cursor: pointer;
	padding: 7px 8px;
	flex-shrink: 0;
	transition: background 0.15s;
}

.nm-hamburger:hover {
	background: var(--gray-light);
}

.nm-hamburger span {
	display: block;
	width: 100%;
	height: 1.5px;
	background: var(--text-dark);
	border-radius: 2px;
	transition: opacity 0.2s, transform 0.2s;
}

.nm-hamburger.is-open span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.nm-hamburger.is-open span:nth-child(2) {
	opacity: 0;
}
.nm-hamburger.is-open span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- Mobile menu ---- */
.nm-mobile-menu {
	display: none;
	border-top: 1px solid var(--gray-mid);
	background: var(--white);
}

.nm-mobile-menu.is-open {
	display: block;
}

.nm-mobile-nav {
	padding: 8px 24px 4px;
}

.nm-mobile-nav a {
	display: block;
	padding: 11px 0;
	color: var(--text-dark);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var(--gray-mid);
}

.nm-mobile-nav a:last-child {
	border-bottom: none;
}

.nm-mobile-nav a:hover {
	color: var(--coral);
}

.nm-mobile-actions {
	padding: 12px 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nm-mobile-user-info {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0 12px;
}

.nm-mobile-user-name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-dark);
}

.nm-mobile-user-email {
	font-size: 0.78rem;
	color: var(--text-light);
}

.nm-btn-full {
	width: 100%;
	justify-content: center;
	text-align: center;
}

/* ===================================
   FULLWIDTH STRÁNKA (bez sidebaru, bez titulku)
   =================================== */
.page-template-homepage .entry-header,
.page-template-homepage .post-navigation,
.page-template-homepage .comments-area {
	display: none !important;
}

.page-template-homepage .site-content,
.page-template-homepage .content-area,
.page-template-homepage #primary,
.page-template-homepage .inside-article,
.page-template-homepage .entry-content,
.page-template-homepage article {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.page-template-homepage .grid-container,
.page-template-homepage .container {
	max-width: 100% !important;
	padding: 0 !important;
}

/* Footer je výjimka — nesmí mít padding 0 */
.site-footer .inside-site-info {
	padding: 24px 40px !important;
}

/* ===================================
   SEKCE - OBECNÉ
   =================================== */
.nm-section {
	padding: 64px 40px 56px;
}

.nm-screenshots-section {
	padding: 20px 40px 48px;
}


#funkce {
	width: 100%;
	scroll-margin-top: 60px;
}

.nm-section-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.nm-section-gray {
	background: var(--gray-light);
}

.nm-section-navy {
	background: var(--navy);
}

.nm-section h2,
.nm-screenshots-section h2 {
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	font-weight: 700;
	color: var(--navy);
	margin-top: 0 !important;
	margin-bottom: 10px;
	line-height: 1.25;
	text-align: center;
}

.nm-section-navy h2 {
	color: var(--white);
}

/* Cena — navy accent sekce */
#cena {
	background: var(--navy);
}

#cena h2 {
	color: var(--white);
}

#cena h3 {
	color: rgba(255,255,255,0.9) !important;
}

#cena .nm-pricing-advantages li {
	color: rgba(255,255,255,0.72);
	border-bottom-color: rgba(255,255,255,0.12);
}

#cena .nm-pricing-advantages li::before {
	color: var(--coral);
}

#cena .nm-pricing-box {
	border-color: rgba(255,255,255,0.15);
	box-shadow: 0 8px 48px rgba(0,0,0,0.35);
}

.nm-section-lead {
	color: var(--text-mid);
	font-size: 1rem;
	max-width: 540px;
	margin: 0 auto 36px;
	line-height: 1.65;
	text-align: center;
}

/* ===================================
   HERO SEKCE
   =================================== */
.nm-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: #0d243c;
	background-image:
		radial-gradient(ellipse 76% 54% at 12% 6%, rgba(100, 155, 210, 0.48) 0%, rgba(100, 155, 210, 0.18) 35%, transparent 66%),
		radial-gradient(ellipse 48% 36% at 90% 18%, rgba(224, 90, 58, 0.13) 0%, transparent 66%),
		radial-gradient(ellipse 66% 52% at 64% 92%, rgba(3, 16, 29, 0.86) 0%, transparent 72%),
		linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
		linear-gradient(138deg, #143657 0%, #0f2a45 45%, #081521 100%);
	background-size: 142% 142%, 132% 132%, 146% 146%, 52px 52px, 52px 52px, 100% 100%;
	padding: 72px 40px 48px;
	text-align: center;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.nm-hero::before {
	content: '';
	position: absolute;
	inset: -18%;
	background:
		radial-gradient(ellipse 38% 32% at 24% 42%, rgba(133, 190, 238, 0.34) 0%, transparent 74%),
		radial-gradient(ellipse 36% 28% at 68% 30%, rgba(255, 255, 255, 0.17) 0%, transparent 70%),
		linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.1) 46%, transparent 76%);
	opacity: 0.95;
	pointer-events: none;
	z-index: 0;
	transform-origin: 50% 46%;
	will-change: transform, opacity;
	animation: nm-hero-swell 11s ease-in-out infinite alternate;
}

.nm-hero::after {
	content: '';
	position: absolute;
	inset: -14%;
	background:
		radial-gradient(ellipse 70% 30% at 50% 100%, rgba(115, 165, 210, 0.31) 0%, transparent 72%),
		radial-gradient(ellipse 30% 24% at 18% 82%, rgba(224, 90, 58, 0.12) 0%, transparent 74%);
	opacity: 0.9;
	pointer-events: none;
	z-index: 0;
	transform-origin: 54% 62%;
	will-change: transform, opacity;
	animation: nm-hero-deep 15s ease-in-out infinite alternate;
}

.nm-hero > * {
	position: relative;
	z-index: 1;
}

@keyframes nm-hero-swell {
	0% {
		transform: translate3d(-2.8%, -1.6%, 0) rotate(-1deg) scale(1.025);
		opacity: 0.64;
	}
	50% {
		transform: translate3d(3.2%, 2.1%, 0) rotate(1deg) scale(1.085);
		opacity: 0.95;
	}
	100% {
		transform: translate3d(-1.1%, 2.8%, 0) rotate(-0.55deg) scale(1.055);
		opacity: 0.82;
	}
}

@keyframes nm-hero-deep {
	0% {
		transform: translate3d(1.9%, 0.6%, 0) scale(1.025);
		opacity: 0.64;
	}
	50% {
		transform: translate3d(-2.9%, -1.1%, 0) scale(1.075);
		opacity: 0.95;
	}
	100% {
		transform: translate3d(1.1%, -2.2%, 0) scale(1.055);
		opacity: 0.8;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nm-hero::before,
	.nm-hero::after {
		animation: none;
	}
}

.nm-hero-badge {
	display: inline-block;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.22);
	color: rgba(255,255,255,0.85);
	font-size: 0.78rem;
	font-weight: 500;
	padding: 5px 14px;
	border-radius: 50px;
	margin: 0 8px 20px 0;
	letter-spacing: 0.03em;
}

.nm-hero-badge[data-tooltip] {
	position: relative;
	cursor: default;
}

.nm-hero-badge[data-tooltip]::before {
	content: '';
	position: absolute;
	top: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-bottom-color: rgba(10,18,28,0.93);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 100;
}

.nm-hero-badge[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(10,18,28,0.93);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.5;
	padding: 8px 12px;
	border-radius: 6px;
	white-space: normal;
	width: calc(100% - 16px);
	text-align: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 100;
	letter-spacing: 0;
}

.nm-hero-badge[data-tooltip]:hover {
	z-index: 10;
}

.nm-hero-badge[data-tooltip]:hover::before,
.nm-hero-badge[data-tooltip]:hover::after {
	opacity: 1;
}

@keyframes nm-comet {
	0%   { opacity: 0; transform: rotate(var(--cr, 35deg)) translateX(0); }
	10%  { opacity: 0.9; }
	85%  { opacity: 0.9; }
	100% { opacity: 0; transform: rotate(var(--cr, 35deg)) translateX(var(--dx, 300px)); }
}

.nm-comet {
	display: none;
}

.nm-hero h1 {
	color: #ffffff;
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 auto 18px;
	max-width: 780px;
	position: relative;
	z-index: 1;
}

.nm-hero-tagline {
	font-size: 1.75rem;
	font-weight: 500;
	color: rgba(255,255,255,0.5);
	margin: -6px auto 24px;
	position: relative;
	z-index: 1;
	letter-spacing: -0.02em;
}

.nm-hero-subtitle {
	color: rgba(255,255,255,0.72);
	font-size: 1.05rem;
	max-width: 900px;
	margin: 0 auto 36px;
	line-height: 1.65;
	position: relative;
	z-index: 1;
}

.nm-hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.nm-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s;
	cursor: pointer;
	border: none;
}

.nm-btn-primary {
	background: var(--coral);
	color: var(--white) !important;
}

.nm-btn-primary:hover {
	background: var(--coral-dark);
	color: var(--white) !important;
	box-shadow: 0 4px 16px rgba(224,90,58,0.35);
}

.nm-btn-outline {
	background: transparent;
	color: #ffffff !important;
	border: 2px solid rgba(255,255,255,0.35);
}

.nm-btn-outline:hover {
	border-color: rgba(255,255,255,0.7);
	background: rgba(255,255,255,0.08);
	color: #ffffff !important;
}

/* Statistiky v hero */
.nm-hero-stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin-top: 28px;
	padding-top: 24px;
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.nm-hero-stat {
	text-align: center;
	padding: 0 16px;
	border-right: 1px solid rgba(255,255,255,0.12);
	min-width: 0;
}

/* Konec každého řádku (5., 10.) — bez pravého oddělovače */
.nm-hero-stat:nth-child(5n) {
	border-right: none;
}

/* 2. řádek — mezera nahoře */
.nm-hero-stat:nth-child(n+6) {
	margin-top: 18px;
}

.nm-hero-stat-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1;
}

.nm-hero-stat-label {
	display: block;
	font-size: 0.75rem;
	color: rgba(255,255,255,0.55);
	margin-top: 5px;
	white-space: nowrap;
}

/* ===================================
   APP SCREENSHOTS SEKCE
   =================================== */
.nm-screenshots-section {
	background: var(--gray-light);
	padding: 48px 40px 48px;
	text-align: center;
}


.nm-screenshots-section .nm-screenshots-subtitle {
	font-size: 1rem;
	color: var(--text-mid);
	margin-bottom: 32px;
}

.nm-screenshots-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 28px;
}

.nm-tab {
	background: var(--white);
	border: 1.5px solid var(--gray-mid);
	border-radius: 100px;
	padding: 8px 20px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-mid);
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	white-space: nowrap;
}

.nm-tab:hover {
	background: rgba(224,90,58,0.06);
	border-color: var(--coral);
	color: var(--coral);
}

.nm-tab.is-active {
	background: var(--coral);
	border-color: var(--coral);
	color: var(--white);
}

.nm-screenshots-frame {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
}

.nm-screenshot-slide {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.nm-screenshot-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.nm-screenshot-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.nm-screenshot-slide--native {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.nm-screenshot-slide--native .nm-screenshot-img {
	width: auto !important;
	max-width: min(100%, 811px);
	margin: 0;
}

/* ===================================
   FEATURE KARTY
   =================================== */
.nm-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* 16 karet = 4 × 4 — všechny řady plné */

.nm-feature-card {
	background: var(--white);
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	padding: 20px 20px 16px;
	transition: background 0.08s, border-color 0.08s;
	display: flex;
	flex-direction: column;
}

.nm-section-gray .nm-feature-card {
	background: var(--white);
}

.nm-feature-card.is-clickable {
	cursor: pointer;
}

.nm-feature-card.is-clickable::after {
	content: 'Zobrazit ukázku →';
	display: block;
	margin-top: auto;
	padding-top: 12px;
	padding-right: 56px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--coral);
	opacity: 0;
}

.nm-feature-card.is-clickable:hover,
.nm-feature-card.nm-card-tier-premium.is-clickable:hover {
	background: rgba(224,90,58,0.04);
	border-color: rgba(224,90,58,0.35);
}

.nm-feature-card.nm-card-tier-free.is-clickable:hover {
	background: rgba(34,197,94,0.04);
	border-color: rgba(34,197,94,0.4);
}

.nm-feature-card.nm-card-tier-partial.is-clickable:hover {
	background: rgba(20,184,166,0.04);
	border-color: rgba(20,184,166,0.4);
}

/* Zvýraznění po přesunu z ceníku — napodobí hover */
.nm-feature-card.nm-card-highlight,
.nm-feature-card.nm-card-tier-premium.nm-card-highlight {
	background: rgba(224,90,58,0.04);
	border-color: rgba(224,90,58,0.35);
}
.nm-feature-card.nm-card-tier-free.nm-card-highlight {
	background: rgba(34,197,94,0.04);
	border-color: rgba(34,197,94,0.4);
}
.nm-feature-card.nm-card-tier-partial.nm-card-highlight {
	background: rgba(20,184,166,0.04);
	border-color: rgba(20,184,166,0.4);
}

.nm-feature-card.is-clickable:hover::after {
	opacity: 1;
}

.nm-feature-card.nm-card-tier-free.is-clickable::after {
	color: #16a34a;
}

.nm-feature-card.nm-card-tier-partial.is-clickable::after {
	color: #0d9488;
}

/* Ikona + nadpis na jednom řádku */
.nm-feature-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.nm-feature-icon {
	width: 34px;
	height: 34px;
	background: rgba(30,45,64,0.07);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nm-card-tier-free    .nm-feature-icon { background: rgba(34,197,94,0.12);  color: #16a34a; }
.nm-card-tier-partial .nm-feature-icon { background: rgba(20,184,166,0.12); color: #0d9488; }
.nm-card-tier-premium .nm-feature-icon { background: rgba(224,90,58,0.12);  color: var(--coral); }

.nm-feature-card h3 {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0;
	line-height: 1.3;
}

.nm-feature-card p {
	color: var(--text-mid);
	font-size: 0.875rem;
	line-height: 1.55;
	margin: 0;
}


/* Feature modal */
.nm-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10,18,28,0.72);
	backdrop-filter: blur(5px);
	z-index: 9000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nm-modal-overlay.is-open {
	opacity: 1;
}

.nm-modal-box {
	background: #fff;
	border-radius: 12px;
	max-width: 92vw;
	width: 1400px;
	max-height: 92vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 24px 64px rgba(0,0,0,0.4);
	transform: translateY(20px) scale(0.98);
	transition: transform 0.22s ease;
}

.nm-modal-overlay.is-open .nm-modal-box {
	transform: translateY(0) scale(1);
}

.nm-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 16px 8px 46px;
	border-bottom: 1px solid var(--gray-light);
}

.nm-modal-title-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1;
}

.nm-modal-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0;
}

.nm-modal-tier-badge.nm-tier-badge {
	position: static;
	flex-shrink: 0;
	bottom: auto;
	right: auto;
}

.nm-modal-close {
	width: 30px;
	height: 30px;
	border: none;
	background: rgba(0,0,0,0.07);
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	color: var(--text-mid);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
	flex-shrink: 0;
}

.nm-modal-close:hover {
	background: rgba(0,0,0,0.14);
}

.nm-modal-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.nm-modal-desc {
	padding: 6px 68px 6px;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--text-mid);
	margin: 0;
	border-bottom: 1px solid var(--gray-light);
	flex-shrink: 0;
}

.nm-modal-slider {
	position: relative;
	background: #fff;
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.nm-modal-slides {
	flex: 1;
	min-height: 0;
	overflow: hidden;
	display: grid;
	align-items: center;
	justify-items: center;
	padding: 14px 68px;
}

.nm-modal-img {
	grid-area: 1 / 1;
	display: block;
	max-width: 100%;
	max-height: calc(92vh - 220px);
	width: auto;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.12);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.nm-modal-img.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.nm-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.18);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.2rem;
	line-height: 36px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background 0.15s;
	padding: 0;
}

.nm-slider-btn:hover { background: rgba(0,0,0,0.35); }
.nm-slider-btn[hidden] { display: none !important; }
.nm-slider-prev { left: 16px; }
.nm-slider-next { right: 16px; }

@media (max-width: 600px) {
	.nm-modal-overlay { padding: 12px; }
	.nm-modal-box { max-width: 100%; border-radius: 8px; }
	.nm-modal-slides { padding: 10px 48px; }
}

.nm-slider-dots {
	display: flex;
	justify-content: center;
	gap: 7px;
	padding: 10px 0 9px;
}

.nm-slider-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(0,0,0,0.18);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s;
}

.nm-slider-dot.is-active,
.nm-slider-dot:hover {
	background: var(--navy);
}

/* ===================================
   CENA
   =================================== */

.nm-pricing-lead {
	color: rgba(255,255,255,0.7) !important;
	margin-bottom: 28px;
}

/* ── Billing toggle ───────────────────────────────── */
.nm-billing-toggle {
	display: flex;
	align-items: center;
	gap: 3px;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 10px;
	padding: 4px;
	margin: 0 auto 32px;
	width: fit-content;
}
.nm-billing-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: none;
	background: transparent;
	border-radius: 7px;
	font-size: 0.85rem;
	font-weight: 500;
	color: rgba(255,255,255,0.65);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}
.nm-billing-btn:hover { color: #fff; }
.nm-billing-btn.is-active {
	background: rgba(255,255,255,0.18);
	color: #fff;
	font-weight: 600;
}
.nm-billing-save {
	font-size: 0.7rem;
	font-weight: 700;
	color: #4ade80;
	background: rgba(74,222,128,0.15);
	padding: 2px 5px;
	border-radius: 4px;
}

/* ── Pricing cards ────────────────────────────────── */
.nm-pricing-cards {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 24px;
	max-width: 1320px;
	margin: 28px auto 0;
	align-items: stretch;
}

/* Base card — margin-top creates space for the absolute badge */
.nm-pc {
	border-radius: 16px;
	padding: 32px 28px 28px;
	display: flex;
	flex-direction: column;
	position: relative;
	margin-top: 20px;
	min-width: 0;  /* zabrání grid itemům expandovat kvůli nowrap obsahu */
}

/* Free card — white */
.nm-pc-free {
	background: #fff;
	border: 1.5px solid var(--gray-mid);
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
	--flash-color: rgba(30,45,64,0.55);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.nm-pc-free:hover {
	border-color: rgba(30,45,64,0.3);
	box-shadow: 0 6px 28px rgba(30,45,64,0.13), 0 0 0 2px rgba(30,45,64,0.15);
}
/* Beta badge na Základní kartě — injektováno přes JS */
.nm-pc-badge-beta {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;
	white-space: nowrap;
	background: #1e7e34;
	color: #fff;
	font-size: 0.63rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 20px;
	box-shadow: 0 2px 10px rgba(30,126,52,0.35);
	cursor: default;
}
.nm-pc-badge-beta .nm-pc-beta-tooltip {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	background: var(--navy);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.5;
	padding: 10px 14px;
	border-radius: 8px;
	width: 240px;
	white-space: normal;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	pointer-events: none;
	z-index: 10;
}
.nm-pc-badge-beta .nm-pc-beta-tooltip::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-bottom-color: var(--navy);
}
.nm-pc-badge-beta:hover .nm-pc-beta-tooltip {
	display: block;
}


/* Premium card — deep brand tones + restrained coral highlights */
.nm-pc-dark {
	background:
		radial-gradient(ellipse 68% 38% at 88%  7%, rgba(224,90,58,0.18) 0%, transparent 66%),
		radial-gradient(ellipse 58% 44% at  8% 92%, rgba(30,45,64,0.78) 0%, transparent 68%),
		radial-gradient(ellipse 42% 30% at 93% 55%, rgba(196,77,47,0.12) 0%, transparent 62%),
		linear-gradient(rgba(255,255,255,0.034) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.034) 1px, transparent 1px),
		linear-gradient(158deg, var(--navy) 0%, var(--navy-dark) 54%, #0b121d 100%);
	background-size: auto, auto, auto, 44px 44px, 44px 44px, 100%;
	border: 1px solid rgba(255,255,255,0.1);
	box-shadow:
		0 32px 80px rgba(0,0,0,0.58),
		inset 0 1px 0 rgba(255,255,255,0.11),
		0 0 46px rgba(224,90,58,0.14),
		0 0 0 1px rgba(224,90,58,0.1);
	--flash-color: rgba(224,90,58,0.6);
	transition: box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-pc-dark:hover {
	box-shadow:
		0 26px 72px rgba(0,0,0,0.52),
		inset 0 1px 0 rgba(255,255,255,0.1),
		0 0 34px rgba(224,90,58,0.16),
		0 0 0 1px rgba(224,90,58,0.18);
}

/* Refined top-edge streak in the brand palette */
.nm-pc-dark::before {
	content: '';
	position: absolute;
	top: 0;
	left: 8%;
	right: 8%;
	height: 1px;
	background: linear-gradient(90deg,
		transparent          0%,
		rgba(255,255,255,0.45) 18%,
		rgba(224,90,58,0.88)   48%,
		rgba(196,77,47,0.7)    74%,
		transparent          100%
	);
	pointer-events: none;
	border-radius: 1px;
}

/* Animovaný záblesk po hraně karty */
@property --nm-border-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: true;
}
.nm-pc-dark::after {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: 17px;
	/* Paprsek: úzký světlý bod v brand paletě jedoucí po obvodu */
	background: conic-gradient(
		from var(--nm-border-angle, 0deg),
		transparent           0%,
		transparent          78%,
		rgba(30,45,64,0.55) 84%,
		rgba(224,90,58,0.76)89%,
		rgba(255,255,255,1)  92%,
		rgba(196,77,47,0.58)  96%,
		transparent         100%
	);
	/* Maska: zobrazit jen 1.5px okraj, vnitřek skrýt */
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	padding: 1.5px;
	pointer-events: none;
	z-index: 3;
	/* angle řídí JS přes setProperty — žádná CSS animace */
}

/* Badge "Doporučeno" — půloval vykukující z horní hrany karty */
.nm-pc-badge-inline {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);  /* střed badge = horní hrana karty */
	z-index: 4;                         /* nad ::after border ringem (z-index:3) */
	white-space: nowrap;
	background: var(--coral);
	color: #fff;
	font-size: 0.63rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 20px;
	box-shadow: 0 2px 10px rgba(224,90,58,0.4);
}

/* Beta: Premium "Připravujeme" badge */
.nm-pc-badge-soon {
	background: var(--text-mid) !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
}
.nm-pc-beta-locked {
	opacity: 0.3;
}
.nm-pc-beta-locked .nm-pc-cta {
	pointer-events: none;
}
.nm-pc-beta-note {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.5);
	text-align: center;
	margin: 10px 0 0;
	line-height: 1.4;
}

/* Individual card — warm/gold */
.nm-pc-indiv {
	background:
		radial-gradient(ellipse 70% 50% at 100% 0%, rgba(220,170,30,0.07) 0%, transparent 65%),
		linear-gradient(95deg, #ffffff 0%, #fffef8 60%, #fefce8 100%);
	border: 1.5px solid rgba(172, 124, 30, 0.28);
	box-shadow: 0 4px 24px rgba(172, 124, 30, 0.09), 0 1px 4px rgba(0,0,0,0.05);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.nm-pc-indiv:hover {
	border-color: rgba(172, 124, 30, 0.5);
	box-shadow: 0 8px 36px rgba(172, 124, 30, 0.18), 0 2px 8px rgba(0,0,0,0.07);
}
.nm-pc-indiv::before {
	content: '';
	position: absolute;
	top: 0; left: 8%; right: 8%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(200,158,40,0.7) 25%, rgba(230,185,60,0.95) 50%, rgba(200,158,40,0.7) 75%, transparent);
	pointer-events: none; border-radius: 1px;
}

/* Tier name */
.nm-pc-tier {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 4px;
}
.nm-pc-free .nm-pc-tier  { color: var(--navy); }
.nm-pc-dark .nm-pc-tier  { color: #fff; }
.nm-pc-indiv .nm-pc-tier { color: #7a5800; }

/* Motto */
.nm-pc-motto {
	font-size: 0.8rem;
	font-style: italic;
	line-height: 1.4;
	margin: 0 0 14px;
}
.nm-pc-free .nm-pc-motto  { color: var(--text-light); }
.nm-pc-dark .nm-pc-motto  { color: rgba(255,255,255,0.42); }
.nm-pc-indiv .nm-pc-motto { color: #a07820; }

/* Price row */
.nm-pc-price-row {
	display: flex;
	align-items: baseline;
	gap: 4px;
	line-height: 1;
	margin-bottom: 6px;
	min-height: 2.3rem;  /* srovná výšku price row napříč kartami */
}
.nm-pc-amount {
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.nm-pc-free .nm-pc-amount  { color: var(--navy); }
.nm-pc-dark .nm-pc-amount  { color: #fff; }
.nm-pc-indiv .nm-pc-amount { color: #7a5800; font-size: 1.65rem; letter-spacing: -0.01em; }
.nm-pc-per { font-size: 0.85rem; font-weight: 400; }
.nm-pc-free .nm-pc-per  { color: var(--text-light); }
.nm-pc-dark .nm-pc-per  { color: rgba(255,255,255,0.5); }
.nm-pc-indiv .nm-pc-per { color: #a07820; }

/* Přeškrtnutá původní částka v billing note */
.nm-pc-billing del {
	text-decoration: line-through;
	color: rgba(255,255,255,0.38);
}

/* Billing spacer (free card) / billing note (premium card) */
.nm-pc-billing-spacer { height: 1.25rem; margin-bottom: 20px; }
.nm-pc-billing {
	font-size: 0.8rem;
	font-weight: 400;
	height: 1.25rem;
	white-space: nowrap;
	overflow: hidden;
	margin-bottom: 20px;
	color: rgba(255,255,255,0.5);
}

/* CTAs — stejná výška a font u všech karet */
.nm-pc-cta-free {
	display: block;
	text-align: center;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 600;
	color: var(--navy);
	border: 1.5px solid rgba(15,23,42,0.35);
	background: transparent;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nm-pc-cta-free:hover {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}
.nm-pc-dark .nm-pc-cta { display: block; text-align: center; padding: 14px 32px; }
.nm-pc-dark .nm-pc-cta:hover { transform: none; }

/* Individual CTA — gold outline */
.nm-pc-cta-indiv {
	display: block;
	text-align: center;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 600;
	color: #7a5800;
	border: 1.5px solid rgba(172,124,30,0.55);
	background: transparent;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nm-pc-cta-indiv:hover {
	background: #7a5800;
	color: #fff;
	border-color: #7a5800;
}

.nm-pc-trial {
	font-size: 0.74rem;
	text-align: center;
	margin: 8px 0 0;
	color: rgba(255,255,255,0.45);
}
.nm-pc-trial-pay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: nowrap;
}
.nm-pay-sep {
	opacity: 0.4;
	font-size: 0.8rem;
	line-height: 1;
}

/* VAT note — pod oběma kartami */
.nm-pricing-vat {
	text-align: center;
	font-size: 0.78rem;
	color: rgba(255,255,255,0.45);
	margin: 18px 0 0;
}

/* Způsoby platby */
.nm-pricing-payments {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
}
.nm-pay-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.35);
	width: 28px;
	height: 28px;
	transition: color 0.2s, transform 0.2s;
	position: relative;
	cursor: default;
}
.nm-pay-icon svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}
.nm-pay-icon:hover {
	color: rgba(255,255,255,0.75);
	transform: translateY(-2px);
}
.nm-pay-icon::after {
	content: attr(aria-label);
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(15,23,42,0.92);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 400;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
}
.nm-pay-icon:hover::after {
	opacity: 1;
}

/* Divider nad seznamem featur */
.nm-pc-divider {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 20px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,0.1);
}
.nm-pc-free .nm-pc-divider,
.nm-pc-indiv .nm-pc-divider {
	margin-top: 10px;
}
.nm-pc-dark .nm-pc-divider {
	margin-top: 4px;
	color: rgba(255,255,255,0.4);
}
/* Divider na bílé kartě */
.nm-pc-divider-free {
	border-top-color: var(--gray-mid);
	color: var(--text-light);
}
/* Trial spacer na základní kartě (neviditelný, zachovává výšku) */
.nm-pc-trial-spacer { visibility: hidden; }

/* Feature lists */
.nm-pc-feats {
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.nm-pc-feats li {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0 9px;
	row-gap: 3px;
	font-size: 0.87rem;
	line-height: 1.35;
}
.nm-pc-free .nm-pc-feats li  { color: var(--text-dark); }
.nm-pc-dark .nm-pc-feats li  { color: rgba(255,255,255,0.82); }
.nm-pc-indiv .nm-pc-feats li { color: var(--text-dark); }

/* Thin stroke checkmark — no circle */
.nm-pc-feats li::before {
	content: '';
	display: block;
	width: 16px;
	height: 16px;
	min-width: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='2.5,8.5 6.5,12.5 13.5,3.5' stroke='%231e2d40' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	flex-shrink: 0;
	margin-top: 1px;
}
.nm-pc-dark .nm-pc-feats li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='2.5,8.5 6.5,12.5 13.5,3.5' stroke='%23e05a3a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.nm-pc-indiv .nm-pc-feats li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='2.5,8.5 6.5,12.5 13.5,3.5' stroke='%23a07820' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nm-pf-name { font-weight: 500; }

/* Inline note (same font, in parens, muted) */
.nm-pf-note-inline {
	font-size: 0.8rem;
	font-weight: 400;
}
.nm-pc-free .nm-pf-note-inline { color: var(--text-light); }
.nm-pc-dark .nm-pf-note-inline { color: rgba(255,255,255,0.45); }

/* Sub-note on its own line below (e.g. Přehled nemovitostí) */
.nm-pf-sub {
	order: 10;           /* renders after nm-pf-link which has order:5 */
	flex: 0 0 100%;
	padding-left: 25px;  /* 16px icon + 9px gap */
	font-size: 0.8rem;
	font-weight: 400;
}
.nm-pc-free .nm-pf-sub  { color: var(--text-light); }
.nm-pc-dark .nm-pf-sub  { color: rgba(255,255,255,0.42); }
.nm-pc-indiv .nm-pf-sub { color: var(--text-light); }

/* Individual features — větší gap pro delší popisy */
.nm-pc-feats-indiv { gap: 16px; }

/* Klikací řádek — celé <li> naviguje na dlaždici */
.nm-pf-clickable {
	cursor: pointer;
	border-radius: 6px;
	margin-left: -6px;
	margin-right: -6px;
	padding-left: 6px;
	padding-right: 6px;
	transition: background 0.15s;
}
.nm-pc-free .nm-pf-clickable:hover  { background: rgba(15,23,42,0.07); }
.nm-pc-dark .nm-pf-clickable:hover  { background: rgba(255,255,255,0.08); }

/* Flash po scrollu na kartu — barva odpovídá hover stavu dlaždice */
@keyframes nm-card-flash-free {
	0%   { box-shadow: 0 2px 16px rgba(0,0,0,0.07), 0 0 0 3px rgba(30,45,64,0.55); }
	100% { box-shadow: 0 2px 16px rgba(0,0,0,0.07), 0 0 0 3px rgba(30,45,64,0); }
}
@keyframes nm-card-flash-dark {
	0%   {
		box-shadow:
			0 20px 60px rgba(0,0,0,0.5),
			inset 0 1px 0 rgba(255,255,255,0.08),
			0 0 0 3px rgba(224,90,58,0.62);
	}
	100% {
		box-shadow:
			0 20px 60px rgba(0,0,0,0.5),
			inset 0 1px 0 rgba(255,255,255,0.08),
			0 0 0 3px rgba(224,90,58,0);
	}
}
.nm-pc-free.nm-card-highlight { animation: nm-card-flash-free 2.5s ease-out forwards; }
.nm-pc-dark.nm-card-highlight { animation: nm-card-flash-dark 2.5s ease-out forwards; }

/* ===== Tier badges na dlaždicích ===== */

.nm-feature-card {
	position: relative;
}

.nm-tier-badge {
	position: absolute;
	bottom: 14px;
	right: 14px;
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 2px 8px;
	border-radius: 100px;
	pointer-events: none;
}

.nm-tier-free    { background: rgba(34,197,94,0.12);  color: #16a34a; }
.nm-tier-partial { background: rgba(20,184,166,0.12);  color: #0d9488; }
.nm-tier-premium { background: rgba(224,90,58,0.12);  color: var(--coral); }

/* ===================================
   FAQ
   =================================== */
.nm-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nm-faq-item {
	background: var(--white);
	border: 1px solid var(--gray-mid);
	border-radius: var(--radius);
	overflow: hidden;
}

details.nm-faq-item summary {
	padding: 20px 24px;
	font-weight: 600;
	color: var(--navy);
	cursor: pointer;
	font-size: 1rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

details.nm-faq-item summary::-webkit-details-marker {
	display: none;
}

details.nm-faq-item summary::after {
	content: '+';
	font-size: 1.4rem;
	color: var(--coral);
	font-weight: 300;
	flex-shrink: 0;
	margin-left: 16px;
}

details.nm-faq-item[open] summary::after {
	content: '−';
}

details.nm-faq-item summary:hover {
	color: var(--coral);
}

.nm-faq-answer {
	padding: 0 24px 20px;
	color: var(--text-mid);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* ===================================
   KONTAKTNÍ FORMULÁŘ (WPForms)
   =================================== */
.nm-contact-form-wrap {
	max-width: 560px;
	margin: 0 auto;
	background: var(--white);
	border-radius: 12px;
	padding: 36px 44px;
	box-shadow: 0 2px 20px rgba(0,0,0,0.08);
	border: 1px solid var(--gray-mid);
}

@media (max-width: 600px) {
	.nm-contact-form-wrap {
		padding: 24px 20px;
	}
}

.nm-section-lead a {
	color: var(--coral);
	text-decoration: none;
}
.nm-section-lead a:hover {
	text-decoration: underline;
}

/* ===== WPFORMS — minimální overrides, vše ostatní řeší WPForms CSS ===== */

/* Menší mezery mezi poli + rezerva dole pro error */
.nm-contact-form-wrap .wpforms-container .wpforms-field,
.wp-core-ui .nm-contact-form-wrap div.wpforms-container .wpforms-field {
	padding-top: 6px !important;
	padding-bottom: 28px !important; /* rezerva pro error — formulář se neposune */
	position: relative !important;
}

/* Labely — stejný font jako FAQ otázky */
.wpforms-container .wpforms-field-label,
.wp-core-ui div.wpforms-container .wpforms-field-label {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: var(--navy) !important;
}

/* Hvězdička required */
.wpforms-required-label {
	color: var(--coral) !important;
}

/* Error hláška — absolutně v rezervovaném prostoru, neposouvá nic */
.nm-contact-form-wrap .wpforms-container .wpforms-field label.wpforms-error,
.nm-contact-form-wrap .wpforms-container .wpforms-field em.wpforms-error {
	position: absolute !important;
	bottom: 6px !important;
	left: 0 !important;
	right: 0 !important;
	margin: 0 !important;
	font-size: 0.8rem !important;
	color: #c0392b !important;
	line-height: 1.3 !important;
}

/* Tlačítko Odeslat */
.wpforms-submit-container {
	display: flex !important;
	justify-content: center !important;
}

.wpforms-render-modern .wpforms-submit,
.wpforms-submit {
	background: var(--coral) !important;
	color: var(--white) !important;
	border: none !important;
	border-radius: var(--radius) !important;
	padding: 12px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	text-transform: none !important;
}

.wpforms-render-modern .wpforms-submit:hover,
.wpforms-submit:hover {
	background: var(--coral-dark) !important;
}

/* Potvrzovací zpráva */
.wpforms-confirmation-container-full {
	background: #f0fdf4 !important;
	border: 1px solid #bbf7d0 !important;
	border-radius: var(--radius) !important;
	padding: 20px 24px !important;
	color: #166534 !important;
}

/* Schovaný honeypot */
.wpforms-field-hp {
	display: none !important;
}

/* ===================================
   HODNOCENÍ (Firmy.cz + Google)
   =================================== */

.nm-reviews-bar {
	max-width: 560px;
	margin: 36px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.nm-reviews-bar__firmy {
	display: block;
	line-height: 0;
	overflow: hidden;
	height: 63px;
}

.nm-firmy-badge {
	display: block;
	height: 65px !important;
	width: auto;
}

.nm-reviews-bar__google {
	display: flex;
	align-items: center;
}

.nm-reviews-bar__google .ti-widget-container {
	margin-top: 0 !important;
}

.nm-reviews-promo {
	max-width: 560px;
	margin: 16px auto 0;
	font-family: var(--font) !important;
	font-size: 1rem;
	font-weight: 400;
	font-style: normal;
	color: var(--text-mid, #4a5568);
	line-height: 1.65;
	text-align: center;
}

@media (max-width: 560px) {
	.nm-reviews-bar {
		flex-direction: column;
		align-items: center;
	}

	.nm-reviews-bar__firmy img {
		max-height: 70px;
	}
}

/* reCAPTCHA v2 widget */
.nm-login-captcha,
.wpforms-recaptcha-container {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.nm-login-captcha .g-recaptcha,
.wpforms-recaptcha-container .g-recaptcha {
	transform: scale(0.88);
	transform-origin: center top;
	margin-bottom: -10px; /* kompenzace výšky po scale */
}

/* Skryj reCAPTCHA badge */
.grecaptcha-badge {
	visibility: hidden !important;
}

@media (max-width: 768px) {
	.nm-contact-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* ===================================
   APP KONTEJNER (Power BI / budoucí kód)
   =================================== */
.nm-app-container {
	width: 100%;
	min-height: 700px;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	background: var(--gray-light);
	box-shadow: var(--shadow-lg);
}

.nm-app-container iframe {
	width: 100%;
	height: 100%;
	min-height: 700px;
	border: none;
	display: block;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer,
.site-footer .site-info {
	background: var(--navy) !important;
	color: rgba(255,255,255,0.65) !important;
}

.site-footer .inside-site-info {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	font-size: 0.85rem;
}

.site-footer a {
	color: rgba(255,255,255,0.65) !important;
	text-decoration: none;
	transition: color 0.2s;
}

.site-footer a:hover {
	color: var(--white) !important;
}

/* ===================================
   LOGIN PAGE
   =================================== */
.page-template-login .entry-header,
.page-template-login .post-navigation,
.page-template-login .comments-area {
	display: none !important;
}

.page-template-login .site-content,
.page-template-login .content-area,
.page-template-login #primary,
.page-template-login .inside-article,
.page-template-login .entry-content,
.page-template-login article {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-login-wrap {
	flex: 1;
	background: var(--gray-light);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
}

.nm-login-box {
	background: var(--white);
	border-radius: 12px;
	padding: 40px 44px;
	width: 100%;
	max-width: 420px;
	box-shadow: 0 2px 24px rgba(0,0,0,0.09);
}

.nm-login-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;
}

.nm-login-brand {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	letter-spacing: -0.03em;
}

.nm-login-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--navy);
	margin: 0 0 24px;
	text-align: center;
}

.nm-login-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--radius);
	color: #c0392b;
	padding: 11px 14px;
	font-size: 0.875rem;
	margin-bottom: 20px;
}

.nm-login-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: var(--radius);
	color: #166534;
	padding: 11px 14px;
	font-size: 0.875rem;
	margin-bottom: 20px;
}

.nm-login-hint {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 20px;
	line-height: 1.5;
}

.nm-required {
	color: var(--coral);
}

.nm-login-field {
	margin-bottom: 14px;
}

.nm-login-field label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 5px;
}

.nm-login-field input {
	width: 100%;
	padding: 10px 13px;
	border: 1.5px solid var(--gray-mid);
	border-radius: var(--radius);
	font-size: 0.9rem;
	font-family: var(--font);
	color: var(--text-dark);
	background: var(--white);
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}

.nm-login-field input:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(30,45,64,0.1);
}

.nm-login-remember {
	margin-bottom: 20px;
}

.nm-login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--text-mid);
	cursor: pointer;
}

.nm-login-remember input[type="checkbox"] {
	width: 15px;
	height: 15px;
	accent-color: var(--navy);
	cursor: pointer;
	flex-shrink: 0;
}

.nm-login-submit {
	display: block;
	width: fit-content;
	margin: 0 auto;
	padding: 12px 40px;
	font-size: 0.95rem;
}

/* SSO tlačítka (Nextend Social Login) */
.nm-sso-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0 16px;
	color: var(--text-mid);
	font-size: 0.8rem;
}
.nm-sso-divider::before,
.nm-sso-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--gray-mid);
}

.nm-sso-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.nm-sso-buttons .nsl-container {
	justify-content: center !important;
}
.nm-sso-buttons .nsl-button {
	min-width: 240px;
}

.nm-login-links {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
}

.nm-login-links a {
	font-size: 0.8rem;
	color: var(--text-light);
	text-decoration: none;
}

.nm-login-links a:hover {
	color: var(--coral);
	text-decoration: none;
}

.nm-login-recaptcha-note {
	margin-top: 20px;
	font-size: 0.7rem;
	color: var(--text-light);
	text-align: center;
	line-height: 1.5;
}

.nm-login-recaptcha-note a {
	color: var(--text-light);
	text-decoration: underline;
}

/* Skryj reCAPTCHA badge (info je uvedeno v textu) */
.grecaptcha-badge {
	visibility: hidden !important;
}

@media (max-width: 480px) {
	.nm-login-box {
		padding: 28px 20px;
	}
}

/* ===================================
   LEGAL PAGES (VOP, GDPR)
   =================================== */
.page-template-legal .site-content,
.page-template-legal .content-area,
.page-template-legal #primary {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-legal-wrap {
	background: var(--gray-light);
	min-height: 60vh;
	padding: 56px 24px 72px;
}

.nm-legal-container {
	max-width: 780px;
	margin: 0 auto;
	background: #fff;
	border-radius: 10px;
	padding: 48px 56px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.nm-legal-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--gray-mid);
}

.nm-legal-content h2 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--navy);
	margin-top: 36px;
	margin-bottom: 12px;
}

.nm-legal-content h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--navy-dark);
	margin-top: 24px;
	margin-bottom: 8px;
}

.nm-legal-content p {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #374151;
	margin-bottom: 12px;
}

.nm-legal-content ul,
.nm-legal-content ol {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #374151;
	margin: 8px 0 12px 20px;
}

.nm-legal-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	margin: 16px 0;
}

.nm-legal-content table td,
.nm-legal-content table th {
	border: 1px solid var(--gray-mid);
	padding: 8px 12px;
	vertical-align: top;
}

.nm-legal-content table td:first-child {
	font-weight: 600;
	color: var(--navy);
	white-space: nowrap;
	width: 1%;
}

.nm-legal-content hr {
	border: none;
	border-top: 1px solid var(--gray-mid);
	margin: 32px 0;
}

.nm-legal-content a {
	color: var(--coral);
}

.nm-legal-content em {
	font-size: 0.8rem;
	color: #6b7280;
}

@media (max-width: 640px) {
	.nm-legal-container {
		padding: 28px 20px;
	}
}

/* ===================================
   GUTENBERG BLOKY — OVERRIDE
   =================================== */

/* Zarovnání na šířku stránky */
.page-template-homepage .wp-block-group.alignfull {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Tlačítka */
.wp-block-button__link {
	border-radius: var(--radius) !important;
	font-weight: 600 !important;
	transition: background 0.2s, transform 0.15s !important;
}

/* ===================================
   RESPONZIVITA
   =================================== */
@media (max-width: 1024px) {
	.nm-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nm-pricing-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	/* Navbar mobile */
	.nm-navbar {
		padding: 0 20px;
		gap: 0;
	}

	.nm-nav-links,
	.nm-nav-actions {
		display: none;
	}

	.nm-hamburger {
		display: flex;
	}

	/* Obsah */
	.nm-hero {
		padding: 52px 20px 44px;
	}

	.nm-section {
		padding: 48px 20px;
	}

	.nm-hero-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.nm-hero-stat {
		padding: 10px 12px;
		border-right: 1px solid rgba(255,255,255,0.12);
		border-bottom: 1px solid rgba(255,255,255,0.12);
		margin-top: 0 !important;
	}

	.nm-hero-stat:nth-child(5n) {
		border-right: 1px solid rgba(255,255,255,0.12);
	}

	.nm-hero-stat:nth-child(2n) {
		border-right: none;
	}

	.nm-hero-stat:nth-last-child(-n+2) {
		border-bottom: none;
	}

	.nm-screenshots-section {
		padding: 40px 20px;
	}

	.nm-screenshots-tabs {
		flex-wrap: wrap;
		gap: 8px;
	}


	.nm-features-grid {
		grid-template-columns: 1fr;
	}

	.nm-pricing-box {
		padding: 28px 20px;
	}

	.nm-pricing-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1100px) and (min-width: 769px) {
	.nm-pricing-cards {
		grid-template-columns: 1fr 1fr;
	}
	.nm-pc-indiv {
		grid-column: 1 / -1;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
}

/* ===================================
   ACCOUNT PAGE
   =================================== */
.page-template-account .site-content,
.page-template-account .content-area,
.page-template-account #primary {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-account-wrap {
	background: var(--gray-light);
	min-height: calc(100vh - 60px);
	padding: 40px 24px 64px;
}

.nm-account-container {
	max-width: 760px;
	margin: 0 auto;
}

/* Header card */
.nm-account-header {
	background: var(--navy);
	border-radius: 12px;
	padding: 24px 32px;
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 28px;
	color: #fff;
}

.nm-account-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--coral);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}

.nm-account-user-info {
	flex: 1;
	min-width: 0;
}

.nm-account-user-name {
	font-size: 1.05rem;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nm-account-user-email {
	font-size: 0.82rem;
	opacity: 0.65;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nm-account-level-badge {
	flex-shrink: 0;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 20px;
	padding: 4px 14px;
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Tabs */
.nm-account-tabs {
	display: flex;
	border-bottom: 2px solid var(--gray-mid);
	margin-bottom: 28px;
	gap: 0;
}

.nm-account-tab {
	padding: 10px 22px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-mid);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.15s, border-color 0.15s;
	white-space: nowrap;
}

.nm-account-tab:hover {
	color: var(--navy);
	text-decoration: none;
}

.nm-account-tab.is-active {
	color: var(--coral);
	border-bottom-color: var(--coral);
}

/* Quick link cards (on overview tab) */
.nm-account-quick-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 20px;
}

.nm-account-ql-card {
	background: #fff;
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.nm-account-ql-card:hover {
	border-color: var(--coral);
	box-shadow: 0 2px 12px rgba(224,90,58,0.12);
	transform: translateY(-1px);
	color: var(--coral);
	text-decoration: none;
}

.nm-account-ql-card svg {
	flex-shrink: 0;
}

/* PMPro output reskin */
.nm-account-pmpro .pmpro {
	font-family: inherit;
}

/* ── Přehled tab: každá pmpro_section = jedna karta (jako v Osobní údaje) ── */
.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro,
.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section {
	margin: 0 !important;
	padding: 0 !important;
}

.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section {
	background: #fff !important;
	border: 1px solid var(--gray-mid) !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
	overflow: hidden !important;
	margin-bottom: 12px !important;
}

.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section_title {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	padding: 18px 22px 0 !important;
	margin: 0 !important;
}

.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section_content {
	padding: 0 !important;
	margin: 0 !important;
}

/* Vnitřní karty v Přehledu — bez vlastního rámečku (sekce je karta) */
.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_card {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	overflow: visible !important;
}

/* ── Form taby (Osobní údaje, Heslo): karta je pmpro_card ────────────────── */
.nm-account-pmpro--form .pmpro_card {
	background: #fff !important;
	border: 1px solid var(--gray-mid) !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05) !important;
	margin-bottom: 0 !important;
	overflow: hidden !important;
}

.nm-account-pmpro--form .pmpro_section,
.nm-account-pmpro--form .pmpro {
	margin: 0 !important;
}

/* ── Společné styly pro obsah karet ──────────────────────────────────────── */
.nm-account-pmpro .pmpro_card_title {
	font-size: 0.9rem !important;
	font-weight: 400 !important;
	color: var(--text-mid) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	padding: 14px 22px 0 !important;
	margin: 0 !important;
}

.nm-account-pmpro .pmpro_card_content {
	padding: 14px 22px 18px !important;
}

.nm-account-pmpro .pmpro_card_content p,
.nm-account-pmpro .pmpro_card_content li {
	font-size: 0.875rem !important;
	color: var(--text-mid) !important;
	margin: 0 !important;
}

/* Potlač PMPro pmpro_font-x-large / pmpro_font-large uvnitř naší sekce */
.nm-account-pmpro .pmpro_font-x-large,
.nm-account-pmpro .pmpro_font-large {
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

.nm-account-pmpro > .pmpro {
	margin: 0 !important;
}

.nm-account-pmpro .pmpro_card_actions {
	border-top: 1px solid var(--gray-mid) !important;
	padding: 16px 22px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	background: #fff !important;
}

.nm-account-pmpro .pmpro_card_action a,
.nm-account-pmpro .pmpro_card_actions a {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: var(--coral) !important;
	text-decoration: none !important;
}

.nm-account-pmpro .pmpro_card_action a:hover,
.nm-account-pmpro .pmpro_card_actions a:hover {
	text-decoration: underline !important;
}

.nm-account-pmpro .pmpro_card_action_separator {
	color: var(--gray-mid) !important;
}

.nm-account-pmpro .pmpro_list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nm-account-pmpro .pmpro_list_item {
	font-size: 0.875rem !important;
	color: var(--text-dark) !important;
	padding: 4px 0 !important;
	border: none !important;
}

.nm-account-pmpro .pmpro_list_item_label {
	color: var(--text-mid) !important;
	font-size: 0.8rem !important;
	display: block !important;
}

.nm-account-pmpro .pmpro_list_item_value {
	font-weight: 600 !important;
}

/* PMPro table */
.nm-account-pmpro .pmpro_table {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 0.875rem !important;
}

.nm-account-pmpro .pmpro_table th,
.nm-account-pmpro .pmpro_table td {
	text-align: left !important;
	padding: 8px 10px !important;
	border-bottom: 1px solid var(--gray-mid) !important;
}

.nm-account-pmpro .pmpro_table thead th {
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--text-mid) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	background: var(--gray-light) !important;
}

.nm-account-pmpro .pmpro_tag {
	display: inline-block !important;
	border-radius: 12px !important;
	padding: 2px 10px !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
}

.nm-account-pmpro .pmpro_tag-success {
	background: #f0fdf4 !important;
	color: #166534 !important;
}

.nm-account-pmpro .pmpro_tag-alert {
	background: #fffbeb !important;
	color: #92400e !important;
}

.nm-account-pmpro .pmpro_tag-error {
	background: #fef2f2 !important;
	color: #991b1b !important;
}

/* PMPro forms (profile edit, password change) */
.nm-account-pmpro--form .pmpro_form,
.nm-account-pmpro--form form {
	max-width: 100% !important;
}

/* Přidej top padding tak, aby nadpis nebyl u kraje karty */
.nm-account-pmpro--form .pmpro_card_content {
	padding-top: 18px !important;
	padding-bottom: 28px !important;
}

/* Nadpis formuláře — stejná velikost jako "Moje členství" */
.nm-account-pmpro--form .pmpro_form_heading,
.nm-account-pmpro--form .pmpro_form_legend {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	border: none !important;
}

.nm-account-pmpro--form .pmpro_form_heading {
	display: block !important;
}

.nm-account-pmpro--form .pmpro_card_content input[type="text"],
.nm-account-pmpro--form .pmpro_card_content input[type="email"],
.nm-account-pmpro--form .pmpro_card_content input[type="password"],
.nm-account-pmpro--form .pmpro_card_content select,
.nm-account-pmpro--form .pmpro_card_content textarea {
	width: 100% !important;
	padding: 9px 12px !important;
	border: 1.5px solid var(--gray-mid) !important;
	border-radius: var(--radius) !important;
	font-size: 0.9rem !important;
	font-family: inherit !important;
	background: #fff !important;
	color: var(--text-dark) !important;
	transition: border-color 0.15s !important;
	box-sizing: border-box !important;
}

.nm-account-pmpro--form .pmpro_card_content input:focus {
	outline: none !important;
	border-color: var(--navy) !important;
}

.nm-account-pmpro--form .pmpro_card_content label,
.nm-account-pmpro--form .pmpro_form_label {
	display: block !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	color: var(--text-mid) !important;
	margin-bottom: 5px !important;
}

/* Skryj indikátor síly hesla — nemáme načtený pmpro-login.js */
.nm-account-pmpro--form #pass-strength-result {
	display: none !important;
}

/* Tlačítka submit — správné umístění: .pmpro_form_submit */
.nm-account-pmpro--form .pmpro_form_submit {
	padding: 14px 22px !important;
	margin-top: 0 !important;
	border-top: 1px solid var(--gray-mid) !important;
	background: #fff !important;
	display: flex !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
}

.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-update-profile,
.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-change-password,
.nm-account-pmpro--form .pmpro_form_submit input[type="submit"],
.nm-account-pmpro--form .pmpro_form_submit button[type="submit"] {
	background: var(--coral) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--radius) !important;
	padding: 10px 24px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	transition: background 0.15s !important;
}

.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-update-profile:hover,
.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-change-password:hover,
.nm-account-pmpro--form .pmpro_form_submit input[type="submit"]:hover,
.nm-account-pmpro--form .pmpro_form_submit button[type="submit"]:hover {
	background: var(--coral-dark) !important;
}

/* Tlačítko Zrušit */
.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-cancel {
	background: transparent !important;
	color: var(--text-mid) !important;
	border: 1.5px solid var(--gray-mid) !important;
	border-radius: var(--radius) !important;
	padding: 10px 22px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
}

.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-cancel:hover {
	border-color: var(--navy) !important;
	color: var(--navy) !important;
}

/* Show/hide password toggle */
.nm-account-pmpro--form .pmpro_btn-password-toggle {
	background: none !important;
	border: none !important;
	color: var(--text-mid) !important;
	font-size: 0.78rem !important;
	cursor: pointer !important;
	padding: 0 !important;
	font-family: inherit !important;
}

/* PMPro avatar override */
.nm-account-pmpro .pmpro_heading-with-avatar img.avatar {
	border-radius: 50% !important;
	width: 40px !important;
	height: 40px !important;
}

/* PMPro globální override barvy tlačítek na coral */
.pmpro {
	--pmpro--color--primary: var(--coral) !important;
}

/* ===================================
   LEVELS PAGE (Tarify)
   =================================== */
.page-template-levels .site-content,
.page-template-levels .content-area,
.page-template-levels #primary {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-account-container--wide {
	max-width: 900px;
}

.nm-levels-header {
	margin-bottom: 24px;
}

/* Beta banner */
.nm-beta-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	color: var(--text-dark);
}

.nm-beta-banner--checkout {
	margin-bottom: 24px;
}

.nm-checkout-notice {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 24px;
	font-size: 0.9rem;
	color: #991b1b;
}

/* ── PMPro Confirmation + Cancel page — sjednoceno s designem účtu ────────── */
body.pmpro-confirmation .inside-article,
body.pmpro-confirmation .entry-content,
body.pmpro-confirmation .entry-header,
body.pmpro-cancel .inside-article,
body.pmpro-cancel .entry-content,
body.pmpro-cancel .entry-header {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body.pmpro-confirmation .entry-header {
	margin-bottom: 8px;
}

body.pmpro-confirmation .entry-title {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 12px;
}

body.pmpro-confirmation .entry-content p {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--text-mid, #4b5563);
	margin-bottom: 14px;
}

body.pmpro-confirmation .pmpro_message,
body.pmpro-confirmation .pmpro_alert {
	border-radius: 10px;
	padding: 14px 18px;
	margin: 16px 0 24px;
	font-size: 0.9rem;
}

body.pmpro-confirmation .pmpro_card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 24px 28px;
	margin-bottom: 20px;
}

body.pmpro-confirmation .pmpro_card_title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Schovat gravatar (často prázdný) — kdyby chtěl avatar, ať tam aspoň není ošklivá výplň */
body.pmpro-confirmation .pmpro_card_title img.avatar,
body.pmpro-confirmation .pmpro_heading-with-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--coral, #f97316);
	object-fit: cover;
}

body.pmpro-confirmation .pmpro_list,
body.pmpro-confirmation .pmpro_list-plain {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.pmpro-confirmation .pmpro_list_item {
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: 0.95rem;
}

body.pmpro-confirmation .pmpro_list_item:last-child {
	border-bottom: none;
}

body.pmpro-confirmation .pmpro_list_item strong {
	color: var(--text-mid, #4b5563);
	font-weight: 600;
	margin-right: 6px;
}

body.pmpro-confirmation .pmpro_actions_nav {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
}

body.pmpro-confirmation .pmpro_actions_nav-right a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 18px;
	background: var(--navy, #1a1a2e);
	color: #fff;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s;
}

body.pmpro-confirmation .pmpro_actions_nav-right a:hover {
	opacity: 0.9;
	color: #fff;
}

body.pmpro-confirmation .pmpro_spacer {
	height: 12px;
}

/* Cancel page — tlačítka */
body.pmpro-cancel .entry-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 12px;
}

body.pmpro-cancel .pmpro_card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 24px 28px;
	margin-bottom: 20px;
}

body.pmpro-cancel .pmpro_card_content p {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--text-mid, #4b5563);
	margin-bottom: 14px;
}

body.pmpro-cancel .pmpro_form_submit {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 18px;
}

body.pmpro-cancel .pmpro_btn-submit {
	background: #b91c1c !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 11px 22px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background 0.15s !important;
	box-shadow: none !important;
}

body.pmpro-cancel .pmpro_btn-submit:hover {
	background: #991b1b !important;
	color: #fff !important;
}

body.pmpro-cancel .pmpro_btn-cancel {
	display: inline-flex !important;
	align-items: center !important;
	padding: 11px 22px !important;
	background: var(--navy, #1e2d40) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.15s !important;
}

body.pmpro-cancel .pmpro_btn-cancel:hover {
	background: #162231 !important;
	color: #fff !important;
	opacity: 1 !important;
}

body.pmpro-cancel .pmpro_actions_nav {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
}

body.pmpro-cancel .pmpro_actions_nav a {
	color: var(--coral, #f97316);
	text-decoration: none;
	font-weight: 600;
}

.nm-cancel-oneoff-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 18px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #1e3a8a;
}

.nm-cancel-oneoff-info strong {
	font-weight: 700;
}

.nm-beta-banner__badge {
	background: #f59e0b;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 5px;
	padding: 2px 8px;
	flex-shrink: 0;
}

.nm-beta-banner__text {
	line-height: 1.4;
}

.nm-levels-back {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-mid);
	text-decoration: none;
	margin-bottom: 14px;
}

.nm-levels-back:hover {
	color: var(--navy);
	text-decoration: none;
}

.nm-levels-title {
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	margin: 0 !important;
	font-family: inherit !important;
}

/* PMPro levels tabulka */
.nm-levels-pmpro .pmpro_section_content {
	background: #fff;
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.nm-levels-pmpro .pmpro_table {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 0.9rem !important;
	font-family: inherit !important;
}

.nm-levels-pmpro .pmpro_table th {
	text-align: left !important;
	padding: 11px 20px !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--text-mid) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	background: var(--gray-light) !important;
	border-bottom: 1px solid var(--gray-mid) !important;
}

.nm-levels-pmpro .pmpro_table td {
	padding: 14px 20px !important;
	border-bottom: 1px solid var(--gray-mid) !important;
	color: var(--text-dark) !important;
	font-family: inherit !important;
}

.nm-levels-pmpro .pmpro_table tr:last-child td {
	border-bottom: none !important;
}

.nm-levels-pmpro .pmpro_table .pmpro_btn,
.nm-levels-pmpro .pmpro_btn {
	background: var(--coral) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--radius) !important;
	padding: 9px 22px !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	cursor: pointer !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: background 0.15s !important;
	white-space: nowrap !important;
}

.nm-levels-pmpro .pmpro_btn:hover {
	background: var(--coral-dark) !important;
	color: #fff !important;
}

@media (max-width: 600px) {
	.nm-account-container--wide {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.nm-account-header {
		padding: 18px 20px;
		flex-wrap: wrap;
	}
	.nm-account-level-badge {
		flex-basis: 100%;
		text-align: center;
	}
	.nm-account-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.nm-account-tab {
		padding: 10px 14px;
	}
	.nm-account-quick-links {
		grid-template-columns: 1fr 1fr;
	}
	.nm-account-pmpro .pmpro_card_content {
		padding: 0 14px 14px !important;
	}
	.nm-account-pmpro .pmpro_card_title {
		padding: 14px 14px 0 !important;
	}
}

/* ── Hlídací psi / sekce ────────────────────────────────────────────────── */
.nm-account-section-header { margin-bottom: 24px; text-align: center; }
.nm-account-section-title {
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--navy);
	margin: 0;
}
.nm-account-danger {
	margin-top: 24px;
	border: 1px solid #fca5a5;
	border-radius: 10px;
	padding: 20px 22px;
	background: #fff;
}

.nm-account-danger__title {
	font-size: 1rem;
	font-weight: 700;
	color: #b91c1c;
	margin: 0 0 6px;
}

.nm-account-danger__desc {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 16px;
}

.nm-account-danger__confirm {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--text-dark);
	margin-bottom: 14px;
	cursor: pointer;
}

.nm-account-danger__btn {
	background: #b91c1c;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--font);
	transition: background 0.15s;
}

.nm-account-danger__btn:hover:not(:disabled) {
	background: #991b1b;
}

.nm-account-danger__btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ── Modal ───────────────────────────────────────────────────────────────────── */
.nm-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.nm-modal-overlay.is-open {
	display: flex;
}

.nm-modal {
	background: #fff;
	border-radius: 12px;
	padding: 28px 28px 24px;
	max-width: 420px;
	width: calc(100% - 40px);
	box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.nm-modal__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--navy);
	margin: 0 0 10px;
}

.nm-modal__desc {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 22px;
	line-height: 1.5;
}

.nm-modal__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.nm-modal__cancel {
	background: var(--gray-light);
	border: 1px solid var(--gray-mid);
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	font-family: var(--font);
	color: var(--text-dark);
	transition: background 0.15s;
}

.nm-modal__cancel:hover {
	background: var(--gray-mid);
}

.nm-modal__confirm {
	background: #b91c1c;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--font);
	transition: background 0.15s;
}

.nm-modal__confirm:hover {
	background: #991b1b;
}

.nm-account-referral {
	background: #fff;
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
	padding: 18px 22px 20px;
	margin-bottom: 16px;
}
.nm-account-referral-desc {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 14px;
}
.nm-account-referral-row {
	display: flex;
	gap: 8px;
}
.nm-account-referral-input {
	flex: 1;
	padding: 9px 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 0.875rem;
	color: var(--dark);
	background: var(--light-bg, #f9fafb);
	min-width: 0;
}
.nm-account-referral-copy {
	padding: 9px 16px;
	background: var(--coral);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity .15s;
}
.nm-account-referral-copy:hover { opacity: .88; }
.nm-account-referral-stat {
	font-size: 0.8125rem;
	color: var(--text-muted, #6b7280);
	margin: 10px 0 0;
}
@media (max-width: 600px) {
	.nm-account-referral { padding: 16px; }
	.nm-account-referral-row { flex-direction: column; }
	.nm-account-referral-copy { width: 100%; }
}

/* ── PMPro Checkout stránka ──────────────────────────────────────────────── */
.pmpro-checkout .site-content > .inside-page-hero,
.pmpro-checkout .content-area,
.pmpro-checkout .entry-content {
	max-width: 760px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ── PMPro Checkout — sjednocení se šablonou ─────────────────────────────── */

/* Přebij PMPro accent barvu (výchozí tmavě modrá) na coral */
.pmpro-checkout .pmpro {
	--pmpro--color--accent:           var(--coral) !important;
	--pmpro--color--accent--variation: var(--coral-dark) !important;
	--pmpro--color--primary:          var(--coral) !important;
	font-family: var(--font) !important;
	color: var(--text-dark) !important;
}

/* Potlač PMPro mega-fonty */
.pmpro-checkout .pmpro_font-x-large,
.pmpro-checkout .pmpro_font-large {
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

/* Nadpisy karet — stejné jako na account stránce */
.pmpro-checkout .pmpro_card_title,
.pmpro-checkout .pmpro_form_heading,
.pmpro-checkout .pmpro_section_title {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
}

/* Tělo textu */
.pmpro-checkout .pmpro p,
.pmpro-checkout .pmpro label,
.pmpro-checkout .pmpro_card_content p {
	font-size: 0.9375rem !important;
	color: var(--text-mid) !important;
	font-family: var(--font) !important;
}

/* Inputy */
.pmpro-checkout .pmpro input[type="text"],
.pmpro-checkout .pmpro input[type="email"],
.pmpro-checkout .pmpro input[type="password"],
.pmpro-checkout .pmpro select {
	font-family: var(--font) !important;
	font-size: 0.9375rem !important;
	color: var(--text-dark) !important;
}

/* Hlavní tlačítko — coral */
.pmpro-checkout .pmpro .pmpro_btn-submit,
.pmpro-checkout .pmpro input[type="submit"] {
	background: var(--coral) !important;
	border-color: var(--coral) !important;
	color: #fff !important;
	font-family: var(--font) !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	padding: 10px 24px !important;
	cursor: pointer !important;
}

.pmpro-checkout .pmpro .pmpro_btn-submit:hover,
.pmpro-checkout .pmpro input[type="submit"]:hover {
	background: var(--coral-dark) !important;
	border-color: var(--coral-dark) !important;
}

/* Nadpis stránky */
.pmpro-checkout .entry-title {
	font-size: 1.75rem !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
}

/* Skryj sekci "Informace o účtu" pro přihlášené uživatele */
.pmpro-checkout #pmpro_user_fields {
	display: none !important;
}

/* ── Invoice / Historie objednávek ─────────────────────────────────────────── */
.pmpro-invoice .pmpro,
.pmpro-orders .pmpro {
	font-family: var(--font) !important;
	max-width: 780px;
	margin: 0 auto;
}

.pmpro-invoice .entry-title,
.pmpro-orders .entry-title {
	font-size: 1.75rem !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
	max-width: 780px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.pmpro-invoice .pmpro_section,
.pmpro-orders .pmpro_section {
	background: #fff !important;
	border: 1px solid var(--gray-mid) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	margin-bottom: 16px !important;
}

.pmpro-invoice .pmpro_section_title,
.pmpro-orders .pmpro_section_title {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	padding: 18px 22px 0 !important;
	margin: 0 !important;
}

.pmpro-invoice .pmpro_card,
.pmpro-orders .pmpro_card {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.pmpro-invoice .pmpro_card_content,
.pmpro-orders .pmpro_card_content {
	padding: 14px 22px 18px !important;
}

.pmpro-invoice .pmpro p,
.pmpro-invoice .pmpro td,
.pmpro-invoice .pmpro th,
.pmpro-orders .pmpro p,
.pmpro-orders .pmpro td,
.pmpro-orders .pmpro th {
	font-size: 0.9rem !important;
	color: var(--text-mid) !important;
	font-family: var(--font) !important;
}

.pmpro-invoice .pmpro th,
.pmpro-orders .pmpro th {
	color: var(--navy) !important;
	font-weight: 600 !important;
}

.pmpro-invoice .pmpro_font-x-large,
.pmpro-invoice .pmpro_font-large,
.pmpro-orders .pmpro_font-x-large,
.pmpro-orders .pmpro_font-large {
	font-size: 1rem !important;
}

.pmpro-invoice .pmpro a,
.pmpro-orders .pmpro a {
	color: var(--coral) !important;
}

.pmpro-invoice .pmpro a:hover,
.pmpro-orders .pmpro a:hover {
	color: var(--coral-dark) !important;
}

.pmpro-invoice .pmpro_btn-print,
.pmpro-invoice .pmpro_actions_nav {
	display: none !important;
}

/* Zobrazit/skrýt heslo */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear { display: none; }

.nm-pwd-wrap {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--gray-mid);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
	width: 100%;
	box-sizing: border-box;
}

.nm-pwd-wrap:focus-within {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(30,45,64,0.1);
}

.nm-pwd-wrap input[type="password"],
.nm-pwd-wrap input[type="text"] {
	flex: 1;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	background: transparent;
	padding: 10px 6px 10px 13px !important;
	width: auto !important;
	min-width: 0;
}

.nm-pwd-toggle {
	flex-shrink: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: #94a3b8;
	padding: 0 10px;
	display: flex;
	align-items: center;
	line-height: 1;
}

.nm-pwd-toggle:hover {
	color: #1e2d40;
	background: none !important;
}

.nm-pwd-toggle:focus,
.nm-pwd-toggle:active {
	outline: none;
	background: none !important;
	box-shadow: none;
}
/*
Theme Name: GeneratePress Nemovitomat
Template:   generatepress
Version:    1.0.0
Description: Custom child theme for nemovitomat.cz
*/

/* ===================================
   CSS PROMĚNNÉ
   =================================== */
:root {
	--navy:       #1e2d40;
	--navy-dark:  #152030;
	--white:      #ffffff;
	--gray-light: #f7f8fa;
	--gray-mid:   #e2e8f0;
	--text-dark:  #1a202c;
	--text-mid:   #4a5568;
	--text-light: #718096;
	--coral:      #e05a3a;
	--coral-dark: #c44d2f;
	--radius:     8px;
	--shadow:     0 4px 24px rgba(0,0,0,0.08);
	--shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
	--font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
}

/* ===================================
   ZÁKLAD
   =================================== */
body {
	font-family: var(--font);
	color: var(--text-dark);
	background: var(--white);
	line-height: 1.7;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

a {
	color: var(--coral);
}

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

/* ===================================
   HEADER / NAVIGACE — light Vercel-style
   =================================== */

/* Odstraň mezery GP */
.page-template-homepage .site-content,
.page-template-homepage #primary,
.page-template-homepage .content-area,
.page-template-homepage .inside-article,
.page-template-homepage .entry-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

.page-template-homepage .entry-content > *:not(section),
.page-template-homepage .entry-content > .wp-block-html:first-child,
.page-template-homepage .entry-content > p:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.page-template-homepage .nm-hero {
	margin-top: 0 !important;
	padding-top: 52px !important;
}

/* Header wrapper */
.nm-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gray-mid);
}

/* Navbar row */
.nm-navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	height: 60px;
	gap: 32px;
}

/* Logo */
.nm-logo {
	display: flex;
	align-items: center;
	gap: 3px;
	text-decoration: none;
	flex-shrink: 0;
}

.nm-logo:hover {
	text-decoration: none;
}

.nm-logo-img {
	display: block;
	flex-shrink: 0;
	height: 25px;
	width: auto;
}

.nm-logo-wordmark {
	color: #1e2d40;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

/* Nav linky (desktop) */
.nm-nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
}

.nm-nav-links a {
	color: var(--text-mid);
	font-size: 0.875rem;
/*	font-size: 1rem;*/
	font-weight: 500;
	padding: 7px 12px;
	border-radius: 6px;
	text-decoration: none;
	transition: color 0.15s, background 0.15s;
}

.nm-nav-links a:hover {
	color: var(--text-dark);
	background: var(--gray-light);
}

/* Akce vpravo */
.nm-nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* Tlačítka v navbaru */
.nm-btn-nav-ghost {
	display: inline-flex;
	align-items: center;
	color: var(--text-dark);
	font-size: 0.875rem;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid #d1d5db;
	background: transparent;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
	line-height: 1;
}

.nm-btn-nav-ghost:hover {
	color: var(--text-dark);
	background: var(--gray-light);
	text-decoration: none;
}

.nm-btn-nav-primary {
	display: inline-flex;
	align-items: center;
	background: var(--navy);
	color: var(--white) !important;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.15s, opacity 0.15s;
	line-height: 1;
}

.nm-btn-nav-primary:hover {
	background: var(--navy-dark);
	color: var(--white) !important;
	text-decoration: none;
}

/* ---- User menu (avatar + dropdown) ---- */
.nm-user-menu {
	position: relative;
}

.nm-avatar-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid var(--gray-mid);
	border-radius: 8px;
	padding: 5px 10px 5px 5px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	font-family: var(--font);
}

.nm-avatar-btn:hover {
	border-color: #c0c8d2;
	background: var(--gray-light);
}

.nm-avatar-initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--navy);
	color: var(--white);
	font-size: 0.7rem;
	font-weight: 700;
	border-radius: 6px;
	letter-spacing: 0.02em;
	flex-shrink: 0;
}

.nm-avatar-initials--sm {
	width: 36px;
	height: 36px;
	font-size: 0.8rem;
	border-radius: 8px;
}


.nm-avatar-chevron {
	color: var(--text-light);
	transition: transform 0.2s;
	flex-shrink: 0;
}

.nm-avatar-btn[aria-expanded="true"] .nm-avatar-chevron {
	transform: rotate(180deg);
}

/* Dropdown panel */
.nm-user-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: var(--white);
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
	z-index: 100;
	overflow: hidden;
}

.nm-user-dropdown.is-open {
	display: block;
}

.nm-user-dropdown-header {
	padding: 12px 16px;
}

.nm-user-name {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-dark);
	line-height: 1.35;
}

.nm-user-email {
	display: block;
	font-size: 0.78rem;
	color: var(--text-light);
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nm-dropdown-divider {
	height: 1px;
	background: var(--gray-mid);
	margin: 0;
}

.nm-dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	font-size: 0.875rem;
	color: var(--text-dark);
	text-decoration: none;
	transition: background 0.12s;
}

.nm-dropdown-item:hover {
	background: var(--gray-light);
	color: var(--text-dark);
	text-decoration: none;
}

.nm-dropdown-item svg {
	color: var(--text-light);
	flex-shrink: 0;
}

.nm-dropdown-item--danger {
	color: #c0392b;
}

.nm-dropdown-item--danger svg {
	color: #c0392b;
}

.nm-dropdown-item--danger:hover {
	background: #fef2f2;
	color: #c0392b;
}

/* ---- Hamburger ---- */
.nm-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	background: none;
	border: 1px solid var(--gray-mid);
	border-radius: 6px;
	cursor: pointer;
	padding: 7px 8px;
	flex-shrink: 0;
	transition: background 0.15s;
}

.nm-hamburger:hover {
	background: var(--gray-light);
}

.nm-hamburger span {
	display: block;
	width: 100%;
	height: 1.5px;
	background: var(--text-dark);
	border-radius: 2px;
	transition: opacity 0.2s, transform 0.2s;
}

.nm-hamburger.is-open span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.nm-hamburger.is-open span:nth-child(2) {
	opacity: 0;
}
.nm-hamburger.is-open span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- Mobile menu ---- */
.nm-mobile-menu {
	display: none;
	border-top: 1px solid var(--gray-mid);
	background: var(--white);
}

.nm-mobile-menu.is-open {
	display: block;
}

.nm-mobile-nav {
	padding: 8px 24px 4px;
}

.nm-mobile-nav a {
	display: block;
	padding: 11px 0;
	color: var(--text-dark);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var(--gray-mid);
}

.nm-mobile-nav a:last-child {
	border-bottom: none;
}

.nm-mobile-nav a:hover {
	color: var(--coral);
}

.nm-mobile-actions {
	padding: 12px 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nm-mobile-user-info {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0 12px;
}

.nm-mobile-user-name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-dark);
}

.nm-mobile-user-email {
	font-size: 0.78rem;
	color: var(--text-light);
}

.nm-btn-full {
	width: 100%;
	justify-content: center;
	text-align: center;
}

/* ===================================
   FULLWIDTH STRÁNKA (bez sidebaru, bez titulku)
   =================================== */
.page-template-homepage .entry-header,
.page-template-homepage .post-navigation,
.page-template-homepage .comments-area {
	display: none !important;
}

.page-template-homepage .site-content,
.page-template-homepage .content-area,
.page-template-homepage #primary,
.page-template-homepage .inside-article,
.page-template-homepage .entry-content,
.page-template-homepage article {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.page-template-homepage .grid-container,
.page-template-homepage .container {
	max-width: 100% !important;
	padding: 0 !important;
}

/* Footer je výjimka — nesmí mít padding 0 */
.site-footer .inside-site-info {
	padding: 24px 40px !important;
}

/* ===================================
   SEKCE - OBECNÉ
   =================================== */
.nm-section {
	padding: 64px 40px 56px;
}

.nm-screenshots-section {
	padding: 20px 40px 48px;
}


#funkce {
	width: 100%;
	scroll-margin-top: 60px;
}

.nm-section-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.nm-section-gray {
	background: var(--gray-light);
}

.nm-section-navy {
	background: var(--navy);
}

.nm-section h2,
.nm-screenshots-section h2 {
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	font-weight: 700;
	color: var(--navy);
	margin-top: 0 !important;
	margin-bottom: 10px;
	line-height: 1.25;
	text-align: center;
}

.nm-section-navy h2 {
	color: var(--white);
}

/* Cena — navy accent sekce */
#cena {
	background: var(--navy);
}

#cena h2 {
	color: var(--white);
}

#cena h3 {
	color: rgba(255,255,255,0.9) !important;
}

#cena .nm-pricing-advantages li {
	color: rgba(255,255,255,0.72);
	border-bottom-color: rgba(255,255,255,0.12);
}

#cena .nm-pricing-advantages li::before {
	color: var(--coral);
}

#cena .nm-pricing-box {
	border-color: rgba(255,255,255,0.15);
	box-shadow: 0 8px 48px rgba(0,0,0,0.35);
}

.nm-section-lead {
	color: var(--text-mid);
	font-size: 1rem;
	max-width: 540px;
	margin: 0 auto 36px;
	line-height: 1.65;
	text-align: center;
}

/* ===================================
   HERO SEKCE
   =================================== */
.nm-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: #0d243c;
	background-image:
		radial-gradient(ellipse 76% 54% at 12% 6%, rgba(100, 155, 210, 0.48) 0%, rgba(100, 155, 210, 0.18) 35%, transparent 66%),
		radial-gradient(ellipse 48% 36% at 90% 18%, rgba(224, 90, 58, 0.13) 0%, transparent 66%),
		radial-gradient(ellipse 66% 52% at 64% 92%, rgba(3, 16, 29, 0.86) 0%, transparent 72%),
		linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
		linear-gradient(138deg, #143657 0%, #0f2a45 45%, #081521 100%);
	background-size: 142% 142%, 132% 132%, 146% 146%, 52px 52px, 52px 52px, 100% 100%;
	padding: 72px 40px 48px;
	text-align: center;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.nm-hero::before {
	content: '';
	position: absolute;
	inset: -18%;
	background:
		radial-gradient(ellipse 38% 32% at 24% 42%, rgba(133, 190, 238, 0.34) 0%, transparent 74%),
		radial-gradient(ellipse 36% 28% at 68% 30%, rgba(255, 255, 255, 0.17) 0%, transparent 70%),
		linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.1) 46%, transparent 76%);
	opacity: 0.95;
	pointer-events: none;
	z-index: 0;
	transform-origin: 50% 46%;
	will-change: transform, opacity;
	animation: nm-hero-swell 11s ease-in-out infinite alternate;
}

.nm-hero::after {
	content: '';
	position: absolute;
	inset: -14%;
	background:
		radial-gradient(ellipse 70% 30% at 50% 100%, rgba(115, 165, 210, 0.31) 0%, transparent 72%),
		radial-gradient(ellipse 30% 24% at 18% 82%, rgba(224, 90, 58, 0.12) 0%, transparent 74%);
	opacity: 0.9;
	pointer-events: none;
	z-index: 0;
	transform-origin: 54% 62%;
	will-change: transform, opacity;
	animation: nm-hero-deep 15s ease-in-out infinite alternate;
}

.nm-hero > * {
	position: relative;
	z-index: 1;
}

@keyframes nm-hero-swell {
	0% {
		transform: translate3d(-2.8%, -1.6%, 0) rotate(-1deg) scale(1.025);
		opacity: 0.64;
	}
	50% {
		transform: translate3d(3.2%, 2.1%, 0) rotate(1deg) scale(1.085);
		opacity: 0.95;
	}
	100% {
		transform: translate3d(-1.1%, 2.8%, 0) rotate(-0.55deg) scale(1.055);
		opacity: 0.82;
	}
}

@keyframes nm-hero-deep {
	0% {
		transform: translate3d(1.9%, 0.6%, 0) scale(1.025);
		opacity: 0.64;
	}
	50% {
		transform: translate3d(-2.9%, -1.1%, 0) scale(1.075);
		opacity: 0.95;
	}
	100% {
		transform: translate3d(1.1%, -2.2%, 0) scale(1.055);
		opacity: 0.8;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nm-hero::before,
	.nm-hero::after {
		animation: none;
	}
}

.nm-hero-badge {
	display: inline-block;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.22);
	color: rgba(255,255,255,0.85);
	font-size: 0.78rem;
	font-weight: 500;
	padding: 5px 14px;
	border-radius: 50px;
	margin: 0 8px 20px 0;
	letter-spacing: 0.03em;
}

.nm-hero-badge[data-tooltip] {
	position: relative;
	cursor: default;
}

.nm-hero-badge[data-tooltip]::before {
	content: '';
	position: absolute;
	top: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-bottom-color: rgba(10,18,28,0.93);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 100;
}

.nm-hero-badge[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(10,18,28,0.93);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.5;
	padding: 8px 12px;
	border-radius: 6px;
	white-space: normal;
	width: calc(100% - 16px);
	text-align: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 100;
	letter-spacing: 0;
}

.nm-hero-badge[data-tooltip]:hover {
	z-index: 10;
}

.nm-hero-badge[data-tooltip]:hover::before,
.nm-hero-badge[data-tooltip]:hover::after {
	opacity: 1;
}

@keyframes nm-comet {
	0%   { opacity: 0; transform: rotate(var(--cr, 35deg)) translateX(0); }
	10%  { opacity: 0.9; }
	85%  { opacity: 0.9; }
	100% { opacity: 0; transform: rotate(var(--cr, 35deg)) translateX(var(--dx, 300px)); }
}

.nm-comet {
	display: none;
}

.nm-hero h1 {
	color: #ffffff;
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 auto 18px;
	max-width: 780px;
	position: relative;
	z-index: 1;
}

.nm-hero-tagline {
	font-size: 1.75rem;
	font-weight: 500;
	color: rgba(255,255,255,0.5);
	margin: -6px auto 24px;
	position: relative;
	z-index: 1;
	letter-spacing: -0.02em;
}

.nm-hero-subtitle {
	color: rgba(255,255,255,0.72);
	font-size: 1.05rem;
	max-width: 900px;
	margin: 0 auto 36px;
	line-height: 1.65;
	position: relative;
	z-index: 1;
}

.nm-hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.nm-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s;
	cursor: pointer;
	border: none;
}

.nm-btn-primary {
	background: var(--coral);
	color: var(--white) !important;
}

.nm-btn-primary:hover {
	background: var(--coral-dark);
	color: var(--white) !important;
	box-shadow: 0 4px 16px rgba(224,90,58,0.35);
}

.nm-btn-outline {
	background: transparent;
	color: #ffffff !important;
	border: 2px solid rgba(255,255,255,0.35);
}

.nm-btn-outline:hover {
	border-color: rgba(255,255,255,0.7);
	background: rgba(255,255,255,0.08);
	color: #ffffff !important;
}

/* Statistiky v hero */
.nm-hero-stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin-top: 28px;
	padding-top: 24px;
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.nm-hero-stat {
	text-align: center;
	padding: 0 16px;
	border-right: 1px solid rgba(255,255,255,0.12);
	min-width: 0;
}

/* Konec každého řádku (5., 10.) — bez pravého oddělovače */
.nm-hero-stat:nth-child(5n) {
	border-right: none;
}

/* 2. řádek — mezera nahoře */
.nm-hero-stat:nth-child(n+6) {
	margin-top: 18px;
}

.nm-hero-stat-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1;
}

.nm-hero-stat-label {
	display: block;
	font-size: 0.75rem;
	color: rgba(255,255,255,0.55);
	margin-top: 5px;
	white-space: nowrap;
}

/* ===================================
   APP SCREENSHOTS SEKCE
   =================================== */
.nm-screenshots-section {
	background: var(--gray-light);
	padding: 48px 40px 48px;
	text-align: center;
}


.nm-screenshots-section .nm-screenshots-subtitle {
	font-size: 1rem;
	color: var(--text-mid);
	margin-bottom: 32px;
}

.nm-screenshots-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 28px;
}

.nm-tab {
	background: var(--white);
	border: 1.5px solid var(--gray-mid);
	border-radius: 100px;
	padding: 8px 20px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-mid);
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	white-space: nowrap;
}

.nm-tab:hover {
	background: rgba(224,90,58,0.06);
	border-color: var(--coral);
	color: var(--coral);
}

.nm-tab.is-active {
	background: var(--coral);
	border-color: var(--coral);
	color: var(--white);
}

.nm-screenshots-frame {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
}

.nm-screenshot-slide {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.nm-screenshot-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.nm-screenshot-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.nm-screenshot-slide--native {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.nm-screenshot-slide--native .nm-screenshot-img {
	width: auto !important;
	max-width: min(100%, 811px);
	margin: 0;
}

/* ===================================
   FEATURE KARTY
   =================================== */
.nm-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* 16 karet = 4 × 4 — všechny řady plné */

.nm-feature-card {
	background: var(--white);
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	padding: 20px 20px 16px;
	transition: background 0.08s, border-color 0.08s;
	display: flex;
	flex-direction: column;
}

.nm-section-gray .nm-feature-card {
	background: var(--white);
}

.nm-feature-card.is-clickable {
	cursor: pointer;
}

.nm-feature-card.is-clickable::after {
	content: 'Zobrazit ukázku →';
	display: block;
	margin-top: auto;
	padding-top: 12px;
	padding-right: 56px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--coral);
	opacity: 0;
}

.nm-feature-card.is-clickable:hover,
.nm-feature-card.nm-card-tier-premium.is-clickable:hover {
	background: rgba(224,90,58,0.04);
	border-color: rgba(224,90,58,0.35);
}

.nm-feature-card.nm-card-tier-free.is-clickable:hover {
	background: rgba(34,197,94,0.04);
	border-color: rgba(34,197,94,0.4);
}

.nm-feature-card.nm-card-tier-partial.is-clickable:hover {
	background: rgba(20,184,166,0.04);
	border-color: rgba(20,184,166,0.4);
}

/* Zvýraznění po přesunu z ceníku — napodobí hover */
.nm-feature-card.nm-card-highlight,
.nm-feature-card.nm-card-tier-premium.nm-card-highlight {
	background: rgba(224,90,58,0.04);
	border-color: rgba(224,90,58,0.35);
}
.nm-feature-card.nm-card-tier-free.nm-card-highlight {
	background: rgba(34,197,94,0.04);
	border-color: rgba(34,197,94,0.4);
}
.nm-feature-card.nm-card-tier-partial.nm-card-highlight {
	background: rgba(20,184,166,0.04);
	border-color: rgba(20,184,166,0.4);
}

.nm-feature-card.is-clickable:hover::after {
	opacity: 1;
}

.nm-feature-card.nm-card-tier-free.is-clickable::after {
	color: #16a34a;
}

.nm-feature-card.nm-card-tier-partial.is-clickable::after {
	color: #0d9488;
}

/* Ikona + nadpis na jednom řádku */
.nm-feature-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.nm-feature-icon {
	width: 34px;
	height: 34px;
	background: rgba(30,45,64,0.07);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.nm-card-tier-free    .nm-feature-icon { background: rgba(34,197,94,0.12);  color: #16a34a; }
.nm-card-tier-partial .nm-feature-icon { background: rgba(20,184,166,0.12); color: #0d9488; }
.nm-card-tier-premium .nm-feature-icon { background: rgba(224,90,58,0.12);  color: var(--coral); }

.nm-feature-card h3 {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0;
	line-height: 1.3;
}

.nm-feature-card p {
	color: var(--text-mid);
	font-size: 0.875rem;
	line-height: 1.55;
	margin: 0;
}


/* Feature modal */
.nm-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10,18,28,0.72);
	backdrop-filter: blur(5px);
	z-index: 9000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nm-modal-overlay.is-open {
	opacity: 1;
}

.nm-modal-box {
	background: #fff;
	border-radius: 12px;
	max-width: 92vw;
	width: 1400px;
	max-height: 92vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 24px 64px rgba(0,0,0,0.4);
	transform: translateY(20px) scale(0.98);
	transition: transform 0.22s ease;
}

.nm-modal-overlay.is-open .nm-modal-box {
	transform: translateY(0) scale(1);
}

.nm-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 16px 8px 46px;
	border-bottom: 1px solid var(--gray-light);
}

.nm-modal-title-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1;
}

.nm-modal-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0;
}

.nm-modal-tier-badge.nm-tier-badge {
	position: static;
	flex-shrink: 0;
	bottom: auto;
	right: auto;
}

.nm-modal-close {
	width: 30px;
	height: 30px;
	border: none;
	background: rgba(0,0,0,0.07);
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	color: var(--text-mid);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
	flex-shrink: 0;
}

.nm-modal-close:hover {
	background: rgba(0,0,0,0.14);
}

.nm-modal-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.nm-modal-desc {
	padding: 6px 68px 6px;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--text-mid);
	margin: 0;
	border-bottom: 1px solid var(--gray-light);
	flex-shrink: 0;
}

.nm-modal-slider {
	position: relative;
	background: #fff;
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.nm-modal-slides {
	flex: 1;
	min-height: 0;
	overflow: hidden;
	display: grid;
	align-items: center;
	justify-items: center;
	padding: 14px 68px;
}

.nm-modal-img {
	grid-area: 1 / 1;
	display: block;
	max-width: 100%;
	max-height: calc(92vh - 220px);
	width: auto;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.12);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.nm-modal-img.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.nm-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.18);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.2rem;
	line-height: 36px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background 0.15s;
	padding: 0;
}

.nm-slider-btn:hover { background: rgba(0,0,0,0.35); }
.nm-slider-btn[hidden] { display: none !important; }
.nm-slider-prev { left: 16px; }
.nm-slider-next { right: 16px; }

@media (max-width: 600px) {
	.nm-modal-overlay { padding: 12px; }
	.nm-modal-box { max-width: 100%; border-radius: 8px; }
	.nm-modal-slides { padding: 10px 48px; }
}

.nm-slider-dots {
	display: flex;
	justify-content: center;
	gap: 7px;
	padding: 10px 0 9px;
}

.nm-slider-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(0,0,0,0.18);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s;
}

.nm-slider-dot.is-active,
.nm-slider-dot:hover {
	background: var(--navy);
}

/* ===================================
   CENA
   =================================== */

.nm-pricing-lead {
	color: rgba(255,255,255,0.7) !important;
	margin-bottom: 28px;
}

/* ── Billing toggle ───────────────────────────────── */
.nm-billing-toggle {
	display: flex;
	align-items: center;
	gap: 3px;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 10px;
	padding: 4px;
	margin: 0 auto 32px;
	width: fit-content;
}
.nm-billing-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: none;
	background: transparent;
	border-radius: 7px;
	font-size: 0.85rem;
	font-weight: 500;
	color: rgba(255,255,255,0.65);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}
.nm-billing-btn:hover { color: #fff; }
.nm-billing-btn.is-active {
	background: rgba(255,255,255,0.18);
	color: #fff;
	font-weight: 600;
}
.nm-billing-save {
	font-size: 0.7rem;
	font-weight: 700;
	color: #4ade80;
	background: rgba(74,222,128,0.15);
	padding: 2px 5px;
	border-radius: 4px;
}

/* ── Pricing cards ────────────────────────────────── */
.nm-pricing-cards {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 24px;
	max-width: 1320px;
	margin: 28px auto 0;
	align-items: stretch;
}

/* Base card — margin-top creates space for the absolute badge */
.nm-pc {
	border-radius: 16px;
	padding: 32px 28px 28px;
	display: flex;
	flex-direction: column;
	position: relative;
	margin-top: 20px;
	min-width: 0;  /* zabrání grid itemům expandovat kvůli nowrap obsahu */
}

/* Free card — white */
.nm-pc-free {
	background: #fff;
	border: 1.5px solid var(--gray-mid);
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
	--flash-color: rgba(30,45,64,0.55);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.nm-pc-free:hover {
	border-color: rgba(30,45,64,0.3);
	box-shadow: 0 6px 28px rgba(30,45,64,0.13), 0 0 0 2px rgba(30,45,64,0.15);
}
/* Beta badge na Základní kartě — injektováno přes JS */
.nm-pc-badge-beta {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;
	white-space: nowrap;
	background: #1e7e34;
	color: #fff;
	font-size: 0.63rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 20px;
	box-shadow: 0 2px 10px rgba(30,126,52,0.35);
	cursor: default;
}
.nm-pc-badge-beta .nm-pc-beta-tooltip {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	background: var(--navy);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.5;
	padding: 10px 14px;
	border-radius: 8px;
	width: 240px;
	white-space: normal;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	pointer-events: none;
	z-index: 10;
}
.nm-pc-badge-beta .nm-pc-beta-tooltip::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-bottom-color: var(--navy);
}
.nm-pc-badge-beta:hover .nm-pc-beta-tooltip {
	display: block;
}


/* Premium card — deep brand tones + restrained coral highlights */
.nm-pc-dark {
	background:
		radial-gradient(ellipse 68% 38% at 88%  7%, rgba(224,90,58,0.18) 0%, transparent 66%),
		radial-gradient(ellipse 58% 44% at  8% 92%, rgba(30,45,64,0.78) 0%, transparent 68%),
		radial-gradient(ellipse 42% 30% at 93% 55%, rgba(196,77,47,0.12) 0%, transparent 62%),
		linear-gradient(rgba(255,255,255,0.034) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.034) 1px, transparent 1px),
		linear-gradient(158deg, var(--navy) 0%, var(--navy-dark) 54%, #0b121d 100%);
	background-size: auto, auto, auto, 44px 44px, 44px 44px, 100%;
	border: 1px solid rgba(255,255,255,0.1);
	box-shadow:
		0 32px 80px rgba(0,0,0,0.58),
		inset 0 1px 0 rgba(255,255,255,0.11),
		0 0 46px rgba(224,90,58,0.14),
		0 0 0 1px rgba(224,90,58,0.1);
	--flash-color: rgba(224,90,58,0.6);
	transition: box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.nm-pc-dark:hover {
	box-shadow:
		0 26px 72px rgba(0,0,0,0.52),
		inset 0 1px 0 rgba(255,255,255,0.1),
		0 0 34px rgba(224,90,58,0.16),
		0 0 0 1px rgba(224,90,58,0.18);
}

/* Refined top-edge streak in the brand palette */
.nm-pc-dark::before {
	content: '';
	position: absolute;
	top: 0;
	left: 8%;
	right: 8%;
	height: 1px;
	background: linear-gradient(90deg,
		transparent          0%,
		rgba(255,255,255,0.45) 18%,
		rgba(224,90,58,0.88)   48%,
		rgba(196,77,47,0.7)    74%,
		transparent          100%
	);
	pointer-events: none;
	border-radius: 1px;
}

/* Animovaný záblesk po hraně karty */
@property --nm-border-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: true;
}
.nm-pc-dark::after {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: 17px;
	/* Paprsek: úzký světlý bod v brand paletě jedoucí po obvodu */
	background: conic-gradient(
		from var(--nm-border-angle, 0deg),
		transparent           0%,
		transparent          78%,
		rgba(30,45,64,0.55) 84%,
		rgba(224,90,58,0.76)89%,
		rgba(255,255,255,1)  92%,
		rgba(196,77,47,0.58)  96%,
		transparent         100%
	);
	/* Maska: zobrazit jen 1.5px okraj, vnitřek skrýt */
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	padding: 1.5px;
	pointer-events: none;
	z-index: 3;
	/* angle řídí JS přes setProperty — žádná CSS animace */
}

/* Badge "Doporučeno" — půloval vykukující z horní hrany karty */
.nm-pc-badge-inline {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);  /* střed badge = horní hrana karty */
	z-index: 4;                         /* nad ::after border ringem (z-index:3) */
	white-space: nowrap;
	background: var(--coral);
	color: #fff;
	font-size: 0.63rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 20px;
	box-shadow: 0 2px 10px rgba(224,90,58,0.4);
}

/* Beta: Premium "Připravujeme" badge */
.nm-pc-badge-soon {
	background: var(--text-mid) !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
}
.nm-pc-beta-locked {
	opacity: 0.3;
}
.nm-pc-beta-locked .nm-pc-cta {
	pointer-events: none;
}
.nm-pc-beta-note {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.5);
	text-align: center;
	margin: 10px 0 0;
	line-height: 1.4;
}

/* Individual card — warm/gold */
.nm-pc-indiv {
	background:
		radial-gradient(ellipse 70% 50% at 100% 0%, rgba(220,170,30,0.07) 0%, transparent 65%),
		linear-gradient(95deg, #ffffff 0%, #fffef8 60%, #fefce8 100%);
	border: 1.5px solid rgba(172, 124, 30, 0.28);
	box-shadow: 0 4px 24px rgba(172, 124, 30, 0.09), 0 1px 4px rgba(0,0,0,0.05);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.nm-pc-indiv:hover {
	border-color: rgba(172, 124, 30, 0.5);
	box-shadow: 0 8px 36px rgba(172, 124, 30, 0.18), 0 2px 8px rgba(0,0,0,0.07);
}
.nm-pc-indiv::before {
	content: '';
	position: absolute;
	top: 0; left: 8%; right: 8%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(200,158,40,0.7) 25%, rgba(230,185,60,0.95) 50%, rgba(200,158,40,0.7) 75%, transparent);
	pointer-events: none; border-radius: 1px;
}

/* Tier name */
.nm-pc-tier {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 4px;
}
.nm-pc-free .nm-pc-tier  { color: var(--navy); }
.nm-pc-dark .nm-pc-tier  { color: #fff; }
.nm-pc-indiv .nm-pc-tier { color: #7a5800; }

/* Motto */
.nm-pc-motto {
	font-size: 0.8rem;
	font-style: italic;
	line-height: 1.4;
	margin: 0 0 14px;
}
.nm-pc-free .nm-pc-motto  { color: var(--text-light); }
.nm-pc-dark .nm-pc-motto  { color: rgba(255,255,255,0.42); }
.nm-pc-indiv .nm-pc-motto { color: #a07820; }

/* Price row */
.nm-pc-price-row {
	display: flex;
	align-items: baseline;
	gap: 4px;
	line-height: 1;
	margin-bottom: 6px;
	min-height: 2.3rem;  /* srovná výšku price row napříč kartami */
}
.nm-pc-amount {
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.nm-pc-free .nm-pc-amount  { color: var(--navy); }
.nm-pc-dark .nm-pc-amount  { color: #fff; }
.nm-pc-indiv .nm-pc-amount { color: #7a5800; font-size: 1.65rem; letter-spacing: -0.01em; }
.nm-pc-per { font-size: 0.85rem; font-weight: 400; }
.nm-pc-free .nm-pc-per  { color: var(--text-light); }
.nm-pc-dark .nm-pc-per  { color: rgba(255,255,255,0.5); }
.nm-pc-indiv .nm-pc-per { color: #a07820; }

/* Přeškrtnutá původní částka v billing note */
.nm-pc-billing del {
	text-decoration: line-through;
	color: rgba(255,255,255,0.38);
}

/* Billing spacer (free card) / billing note (premium card) */
.nm-pc-billing-spacer { height: 1.25rem; margin-bottom: 20px; }
.nm-pc-billing {
	font-size: 0.8rem;
	font-weight: 400;
	height: 1.25rem;
	white-space: nowrap;
	overflow: hidden;
	margin-bottom: 20px;
	color: rgba(255,255,255,0.5);
}

/* CTAs — stejná výška a font u všech karet */
.nm-pc-cta-free {
	display: block;
	text-align: center;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 600;
	color: var(--navy);
	border: 1.5px solid rgba(15,23,42,0.35);
	background: transparent;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nm-pc-cta-free:hover {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}
.nm-pc-dark .nm-pc-cta { display: block; text-align: center; padding: 14px 32px; }
.nm-pc-dark .nm-pc-cta:hover { transform: none; }

/* Individual CTA — gold outline */
.nm-pc-cta-indiv {
	display: block;
	text-align: center;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-size: 1rem;
	font-weight: 600;
	color: #7a5800;
	border: 1.5px solid rgba(172,124,30,0.55);
	background: transparent;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nm-pc-cta-indiv:hover {
	background: #7a5800;
	color: #fff;
	border-color: #7a5800;
}

.nm-pc-trial {
	font-size: 0.74rem;
	text-align: center;
	margin: 8px 0 0;
	color: rgba(255,255,255,0.45);
}
.nm-pc-trial-pay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: nowrap;
}
.nm-pay-sep {
	opacity: 0.4;
	font-size: 0.8rem;
	line-height: 1;
}

/* VAT note — pod oběma kartami */
.nm-pricing-vat {
	text-align: center;
	font-size: 0.78rem;
	color: rgba(255,255,255,0.45);
	margin: 18px 0 0;
}

/* Způsoby platby */
.nm-pricing-payments {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
}
.nm-pay-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.35);
	width: 28px;
	height: 28px;
	transition: color 0.2s, transform 0.2s;
	position: relative;
	cursor: default;
}
.nm-pay-icon svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}
.nm-pay-icon:hover {
	color: rgba(255,255,255,0.75);
	transform: translateY(-2px);
}
.nm-pay-icon::after {
	content: attr(aria-label);
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(15,23,42,0.92);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 400;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
}
.nm-pay-icon:hover::after {
	opacity: 1;
}

/* Divider nad seznamem featur */
.nm-pc-divider {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 20px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,0.1);
}
.nm-pc-free .nm-pc-divider,
.nm-pc-indiv .nm-pc-divider {
	margin-top: 10px;
}
.nm-pc-dark .nm-pc-divider {
	margin-top: 4px;
	color: rgba(255,255,255,0.4);
}
/* Divider na bílé kartě */
.nm-pc-divider-free {
	border-top-color: var(--gray-mid);
	color: var(--text-light);
}
/* Trial spacer na základní kartě (neviditelný, zachovává výšku) */
.nm-pc-trial-spacer { visibility: hidden; }

/* Feature lists */
.nm-pc-feats {
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.nm-pc-feats li {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0 9px;
	row-gap: 3px;
	font-size: 0.87rem;
	line-height: 1.35;
}
.nm-pc-free .nm-pc-feats li  { color: var(--text-dark); }
.nm-pc-dark .nm-pc-feats li  { color: rgba(255,255,255,0.82); }
.nm-pc-indiv .nm-pc-feats li { color: var(--text-dark); }

/* Thin stroke checkmark — no circle */
.nm-pc-feats li::before {
	content: '';
	display: block;
	width: 16px;
	height: 16px;
	min-width: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='2.5,8.5 6.5,12.5 13.5,3.5' stroke='%231e2d40' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	flex-shrink: 0;
	margin-top: 1px;
}
.nm-pc-dark .nm-pc-feats li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='2.5,8.5 6.5,12.5 13.5,3.5' stroke='%23e05a3a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.nm-pc-indiv .nm-pc-feats li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='2.5,8.5 6.5,12.5 13.5,3.5' stroke='%23a07820' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nm-pf-name { font-weight: 500; }

/* Inline note (same font, in parens, muted) */
.nm-pf-note-inline {
	font-size: 0.8rem;
	font-weight: 400;
}
.nm-pc-free .nm-pf-note-inline { color: var(--text-light); }
.nm-pc-dark .nm-pf-note-inline { color: rgba(255,255,255,0.45); }

/* Sub-note on its own line below (e.g. Přehled nemovitostí) */
.nm-pf-sub {
	order: 10;           /* renders after nm-pf-link which has order:5 */
	flex: 0 0 100%;
	padding-left: 25px;  /* 16px icon + 9px gap */
	font-size: 0.8rem;
	font-weight: 400;
}
.nm-pc-free .nm-pf-sub  { color: var(--text-light); }
.nm-pc-dark .nm-pf-sub  { color: rgba(255,255,255,0.42); }
.nm-pc-indiv .nm-pf-sub { color: var(--text-light); }

/* Individual features — větší gap pro delší popisy */
.nm-pc-feats-indiv { gap: 16px; }

/* Klikací řádek — celé <li> naviguje na dlaždici */
.nm-pf-clickable {
	cursor: pointer;
	border-radius: 6px;
	margin-left: -6px;
	margin-right: -6px;
	padding-left: 6px;
	padding-right: 6px;
	transition: background 0.15s;
}
.nm-pc-free .nm-pf-clickable:hover  { background: rgba(15,23,42,0.07); }
.nm-pc-dark .nm-pf-clickable:hover  { background: rgba(255,255,255,0.08); }

/* Flash po scrollu na kartu — barva odpovídá hover stavu dlaždice */
@keyframes nm-card-flash-free {
	0%   { box-shadow: 0 2px 16px rgba(0,0,0,0.07), 0 0 0 3px rgba(30,45,64,0.55); }
	100% { box-shadow: 0 2px 16px rgba(0,0,0,0.07), 0 0 0 3px rgba(30,45,64,0); }
}
@keyframes nm-card-flash-dark {
	0%   {
		box-shadow:
			0 20px 60px rgba(0,0,0,0.5),
			inset 0 1px 0 rgba(255,255,255,0.08),
			0 0 0 3px rgba(224,90,58,0.62);
	}
	100% {
		box-shadow:
			0 20px 60px rgba(0,0,0,0.5),
			inset 0 1px 0 rgba(255,255,255,0.08),
			0 0 0 3px rgba(224,90,58,0);
	}
}
.nm-pc-free.nm-card-highlight { animation: nm-card-flash-free 2.5s ease-out forwards; }
.nm-pc-dark.nm-card-highlight { animation: nm-card-flash-dark 2.5s ease-out forwards; }

/* ===== Tier badges na dlaždicích ===== */

.nm-feature-card {
	position: relative;
}

.nm-tier-badge {
	position: absolute;
	bottom: 14px;
	right: 14px;
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 2px 8px;
	border-radius: 100px;
	pointer-events: none;
}

.nm-tier-free    { background: rgba(34,197,94,0.12);  color: #16a34a; }
.nm-tier-partial { background: rgba(20,184,166,0.12);  color: #0d9488; }
.nm-tier-premium { background: rgba(224,90,58,0.12);  color: var(--coral); }

/* ===================================
   FAQ
   =================================== */
.nm-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nm-faq-item {
	background: var(--white);
	border: 1px solid var(--gray-mid);
	border-radius: var(--radius);
	overflow: hidden;
}

details.nm-faq-item summary {
	padding: 20px 24px;
	font-weight: 600;
	color: var(--navy);
	cursor: pointer;
	font-size: 1rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

details.nm-faq-item summary::-webkit-details-marker {
	display: none;
}

details.nm-faq-item summary::after {
	content: '+';
	font-size: 1.4rem;
	color: var(--coral);
	font-weight: 300;
	flex-shrink: 0;
	margin-left: 16px;
}

details.nm-faq-item[open] summary::after {
	content: '−';
}

details.nm-faq-item summary:hover {
	color: var(--coral);
}

.nm-faq-answer {
	padding: 0 24px 20px;
	color: var(--text-mid);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* ===================================
   KONTAKTNÍ FORMULÁŘ (WPForms)
   =================================== */
.nm-contact-form-wrap {
	max-width: 560px;
	margin: 0 auto;
	background: var(--white);
	border-radius: 12px;
	padding: 36px 44px;
	box-shadow: 0 2px 20px rgba(0,0,0,0.08);
	border: 1px solid var(--gray-mid);
}

@media (max-width: 600px) {
	.nm-contact-form-wrap {
		padding: 24px 20px;
	}
}

.nm-section-lead a {
	color: var(--coral);
	text-decoration: none;
}
.nm-section-lead a:hover {
	text-decoration: underline;
}

/* ===== WPFORMS — minimální overrides, vše ostatní řeší WPForms CSS ===== */

/* Menší mezery mezi poli + rezerva dole pro error */
.nm-contact-form-wrap .wpforms-container .wpforms-field,
.wp-core-ui .nm-contact-form-wrap div.wpforms-container .wpforms-field {
	padding-top: 6px !important;
	padding-bottom: 28px !important; /* rezerva pro error — formulář se neposune */
	position: relative !important;
}

/* Labely — stejný font jako FAQ otázky */
.wpforms-container .wpforms-field-label,
.wp-core-ui div.wpforms-container .wpforms-field-label {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: var(--navy) !important;
}

/* Hvězdička required */
.wpforms-required-label {
	color: var(--coral) !important;
}

/* Error hláška — absolutně v rezervovaném prostoru, neposouvá nic */
.nm-contact-form-wrap .wpforms-container .wpforms-field label.wpforms-error,
.nm-contact-form-wrap .wpforms-container .wpforms-field em.wpforms-error {
	position: absolute !important;
	bottom: 6px !important;
	left: 0 !important;
	right: 0 !important;
	margin: 0 !important;
	font-size: 0.8rem !important;
	color: #c0392b !important;
	line-height: 1.3 !important;
}

/* Tlačítko Odeslat */
.wpforms-submit-container {
	display: flex !important;
	justify-content: center !important;
}

.wpforms-render-modern .wpforms-submit,
.wpforms-submit {
	background: var(--coral) !important;
	color: var(--white) !important;
	border: none !important;
	border-radius: var(--radius) !important;
	padding: 12px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	text-transform: none !important;
}

.wpforms-render-modern .wpforms-submit:hover,
.wpforms-submit:hover {
	background: var(--coral-dark) !important;
}

/* Potvrzovací zpráva */
.wpforms-confirmation-container-full {
	background: #f0fdf4 !important;
	border: 1px solid #bbf7d0 !important;
	border-radius: var(--radius) !important;
	padding: 20px 24px !important;
	color: #166534 !important;
}

/* Schovaný honeypot */
.wpforms-field-hp {
	display: none !important;
}

/* ===================================
   HODNOCENÍ (Firmy.cz + Google)
   =================================== */

.nm-reviews-bar {
	max-width: 560px;
	margin: 36px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.nm-reviews-bar__firmy {
	display: block;
	line-height: 0;
	overflow: hidden;
	height: 63px;
}

.nm-firmy-badge {
	display: block;
	height: 65px !important;
	width: auto;
}

.nm-reviews-bar__google {
	display: flex;
	align-items: center;
}

.nm-reviews-bar__google .ti-widget-container {
	margin-top: 0 !important;
}

.nm-reviews-promo {
	max-width: 560px;
	margin: 16px auto 0;
	font-family: var(--font) !important;
	font-size: 1rem;
	font-weight: 400;
	font-style: normal;
	color: var(--text-mid, #4a5568);
	line-height: 1.65;
	text-align: center;
}

@media (max-width: 560px) {
	.nm-reviews-bar {
		flex-direction: column;
		align-items: center;
	}

	.nm-reviews-bar__firmy img {
		max-height: 70px;
	}
}

/* reCAPTCHA v2 widget */
.nm-login-captcha,
.wpforms-recaptcha-container {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.nm-login-captcha .g-recaptcha,
.wpforms-recaptcha-container .g-recaptcha {
	transform: scale(0.88);
	transform-origin: center top;
	margin-bottom: -10px; /* kompenzace výšky po scale */
}

/* Skryj reCAPTCHA badge */
.grecaptcha-badge {
	visibility: hidden !important;
}

@media (max-width: 768px) {
	.nm-contact-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* ===================================
   APP KONTEJNER (Power BI / budoucí kód)
   =================================== */
.nm-app-container {
	width: 100%;
	min-height: 700px;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	background: var(--gray-light);
	box-shadow: var(--shadow-lg);
}

.nm-app-container iframe {
	width: 100%;
	height: 100%;
	min-height: 700px;
	border: none;
	display: block;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer,
.site-footer .site-info {
	background: var(--navy) !important;
	color: rgba(255,255,255,0.65) !important;
}

.site-footer .inside-site-info {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	font-size: 0.85rem;
}

.site-footer a {
	color: rgba(255,255,255,0.65) !important;
	text-decoration: none;
	transition: color 0.2s;
}

.site-footer a:hover {
	color: var(--white) !important;
}

/* ===================================
   LOGIN PAGE
   =================================== */
.page-template-login .entry-header,
.page-template-login .post-navigation,
.page-template-login .comments-area {
	display: none !important;
}

.page-template-login .site-content,
.page-template-login .content-area,
.page-template-login #primary,
.page-template-login .inside-article,
.page-template-login .entry-content,
.page-template-login article {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-login-wrap {
	flex: 1;
	background: var(--gray-light);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
}

.nm-login-box {
	background: var(--white);
	border-radius: 12px;
	padding: 40px 44px;
	width: 100%;
	max-width: 420px;
	box-shadow: 0 2px 24px rgba(0,0,0,0.09);
}

.nm-login-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;
}

.nm-login-brand {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	letter-spacing: -0.03em;
}

.nm-login-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--navy);
	margin: 0 0 24px;
	text-align: center;
}

.nm-login-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--radius);
	color: #c0392b;
	padding: 11px 14px;
	font-size: 0.875rem;
	margin-bottom: 20px;
}

.nm-login-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: var(--radius);
	color: #166534;
	padding: 11px 14px;
	font-size: 0.875rem;
	margin-bottom: 20px;
}

.nm-login-hint {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 20px;
	line-height: 1.5;
}

.nm-required {
	color: var(--coral);
}

.nm-login-field {
	margin-bottom: 14px;
}

.nm-login-field label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 5px;
}

.nm-login-field input {
	width: 100%;
	padding: 10px 13px;
	border: 1.5px solid var(--gray-mid);
	border-radius: var(--radius);
	font-size: 0.9rem;
	font-family: var(--font);
	color: var(--text-dark);
	background: var(--white);
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}

.nm-login-field input:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(30,45,64,0.1);
}

.nm-login-remember {
	margin-bottom: 20px;
}

.nm-login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--text-mid);
	cursor: pointer;
}

.nm-login-remember input[type="checkbox"] {
	width: 15px;
	height: 15px;
	accent-color: var(--navy);
	cursor: pointer;
	flex-shrink: 0;
}

.nm-login-submit {
	display: block;
	width: fit-content;
	margin: 0 auto;
	padding: 12px 40px;
	font-size: 0.95rem;
}

/* SSO tlačítka (Nextend Social Login) */
.nm-sso-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0 16px;
	color: var(--text-mid);
	font-size: 0.8rem;
}
.nm-sso-divider::before,
.nm-sso-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--gray-mid);
}

.nm-sso-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.nm-sso-buttons .nsl-container {
	justify-content: center !important;
}
.nm-sso-buttons .nsl-button {
	min-width: 240px;
}

.nm-login-links {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
}

.nm-login-links a {
	font-size: 0.8rem;
	color: var(--text-light);
	text-decoration: none;
}

.nm-login-links a:hover {
	color: var(--coral);
	text-decoration: none;
}

.nm-login-recaptcha-note {
	margin-top: 20px;
	font-size: 0.7rem;
	color: var(--text-light);
	text-align: center;
	line-height: 1.5;
}

.nm-login-recaptcha-note a {
	color: var(--text-light);
	text-decoration: underline;
}

/* Skryj reCAPTCHA badge (info je uvedeno v textu) */
.grecaptcha-badge {
	visibility: hidden !important;
}

@media (max-width: 480px) {
	.nm-login-box {
		padding: 28px 20px;
	}
}

/* ===================================
   LEGAL PAGES (VOP, GDPR)
   =================================== */
.page-template-legal .site-content,
.page-template-legal .content-area,
.page-template-legal #primary {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-legal-wrap {
	background: var(--gray-light);
	min-height: 60vh;
	padding: 56px 24px 72px;
}

.nm-legal-container {
	max-width: 780px;
	margin: 0 auto;
	background: #fff;
	border-radius: 10px;
	padding: 48px 56px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.nm-legal-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--gray-mid);
}

.nm-legal-content h2 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--navy);
	margin-top: 36px;
	margin-bottom: 12px;
}

.nm-legal-content h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--navy-dark);
	margin-top: 24px;
	margin-bottom: 8px;
}

.nm-legal-content p {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #374151;
	margin-bottom: 12px;
}

.nm-legal-content ul,
.nm-legal-content ol {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #374151;
	margin: 8px 0 12px 20px;
}

.nm-legal-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	margin: 16px 0;
}

.nm-legal-content table td,
.nm-legal-content table th {
	border: 1px solid var(--gray-mid);
	padding: 8px 12px;
	vertical-align: top;
}

.nm-legal-content table td:first-child {
	font-weight: 600;
	color: var(--navy);
	white-space: nowrap;
	width: 1%;
}

.nm-legal-content hr {
	border: none;
	border-top: 1px solid var(--gray-mid);
	margin: 32px 0;
}

.nm-legal-content a {
	color: var(--coral);
}

.nm-legal-content em {
	font-size: 0.8rem;
	color: #6b7280;
}

@media (max-width: 640px) {
	.nm-legal-container {
		padding: 28px 20px;
	}
}

/* ===================================
   GUTENBERG BLOKY — OVERRIDE
   =================================== */

/* Zarovnání na šířku stránky */
.page-template-homepage .wp-block-group.alignfull {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Tlačítka */
.wp-block-button__link {
	border-radius: var(--radius) !important;
	font-weight: 600 !important;
	transition: background 0.2s, transform 0.15s !important;
}

/* ===================================
   RESPONZIVITA
   =================================== */
@media (max-width: 1024px) {
	.nm-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nm-pricing-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	/* Navbar mobile */
	.nm-navbar {
		padding: 0 20px;
		gap: 0;
	}

	.nm-nav-links,
	.nm-nav-actions {
		display: none;
	}

	.nm-hamburger {
		display: flex;
	}

	/* Obsah */
	.nm-hero {
		padding: 52px 20px 44px;
	}

	.nm-section {
		padding: 48px 20px;
	}

	.nm-hero-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.nm-hero-stat {
		padding: 10px 12px;
		border-right: 1px solid rgba(255,255,255,0.12);
		border-bottom: 1px solid rgba(255,255,255,0.12);
		margin-top: 0 !important;
	}

	.nm-hero-stat:nth-child(5n) {
		border-right: 1px solid rgba(255,255,255,0.12);
	}

	.nm-hero-stat:nth-child(2n) {
		border-right: none;
	}

	.nm-hero-stat:nth-last-child(-n+2) {
		border-bottom: none;
	}

	.nm-screenshots-section {
		padding: 40px 20px;
	}

	.nm-screenshots-tabs {
		flex-wrap: wrap;
		gap: 8px;
	}


	.nm-features-grid {
		grid-template-columns: 1fr;
	}

	.nm-pricing-box {
		padding: 28px 20px;
	}

	.nm-pricing-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1100px) and (min-width: 769px) {
	.nm-pricing-cards {
		grid-template-columns: 1fr 1fr;
	}
	.nm-pc-indiv {
		grid-column: 1 / -1;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
}

/* ===================================
   ACCOUNT PAGE
   =================================== */
.page-template-account .site-content,
.page-template-account .content-area,
.page-template-account #primary {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-account-wrap {
	background: var(--gray-light);
	min-height: calc(100vh - 60px);
	padding: 40px 24px 64px;
}

.nm-account-container {
	max-width: 760px;
	margin: 0 auto;
}

/* Header card */
.nm-account-header {
	background: var(--navy);
	border-radius: 12px;
	padding: 24px 32px;
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 28px;
	color: #fff;
}

.nm-account-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--coral);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}

.nm-account-user-info {
	flex: 1;
	min-width: 0;
}

.nm-account-user-name {
	font-size: 1.05rem;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nm-account-user-email {
	font-size: 0.82rem;
	opacity: 0.65;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nm-account-level-badge {
	flex-shrink: 0;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 20px;
	padding: 4px 14px;
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Tabs */
.nm-account-tabs {
	display: flex;
	border-bottom: 2px solid var(--gray-mid);
	margin-bottom: 28px;
	gap: 0;
}

.nm-account-tab {
	padding: 10px 22px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-mid);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.15s, border-color 0.15s;
	white-space: nowrap;
}

.nm-account-tab:hover {
	color: var(--navy);
	text-decoration: none;
}

.nm-account-tab.is-active {
	color: var(--coral);
	border-bottom-color: var(--coral);
}

/* Quick link cards (on overview tab) */
.nm-account-quick-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 20px;
}

.nm-account-ql-card {
	background: #fff;
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.nm-account-ql-card:hover {
	border-color: var(--coral);
	box-shadow: 0 2px 12px rgba(224,90,58,0.12);
	transform: translateY(-1px);
	color: var(--coral);
	text-decoration: none;
}

.nm-account-ql-card svg {
	flex-shrink: 0;
}

/* PMPro output reskin */
.nm-account-pmpro .pmpro {
	font-family: inherit;
}

/* ── Přehled tab: každá pmpro_section = jedna karta (jako v Osobní údaje) ── */
.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro,
.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section {
	margin: 0 !important;
	padding: 0 !important;
}

.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section {
	background: #fff !important;
	border: 1px solid var(--gray-mid) !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
	overflow: hidden !important;
	margin-bottom: 12px !important;
}

.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section_title {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	padding: 18px 22px 0 !important;
	margin: 0 !important;
}

.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_section_content {
	padding: 0 !important;
	margin: 0 !important;
}

/* Vnitřní karty v Přehledu — bez vlastního rámečku (sekce je karta) */
.nm-account-pmpro:not(.nm-account-pmpro--form) .pmpro_card {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	overflow: visible !important;
}

/* ── Form taby (Osobní údaje, Heslo): karta je pmpro_card ────────────────── */
.nm-account-pmpro--form .pmpro_card {
	background: #fff !important;
	border: 1px solid var(--gray-mid) !important;
	border-radius: 10px !important;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05) !important;
	margin-bottom: 0 !important;
	overflow: hidden !important;
}

.nm-account-pmpro--form .pmpro_section,
.nm-account-pmpro--form .pmpro {
	margin: 0 !important;
}

/* ── Společné styly pro obsah karet ──────────────────────────────────────── */
.nm-account-pmpro .pmpro_card_title {
	font-size: 0.9rem !important;
	font-weight: 400 !important;
	color: var(--text-mid) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	padding: 14px 22px 0 !important;
	margin: 0 !important;
}

.nm-account-pmpro .pmpro_card_content {
	padding: 14px 22px 18px !important;
}

.nm-account-pmpro .pmpro_card_content p,
.nm-account-pmpro .pmpro_card_content li {
	font-size: 0.875rem !important;
	color: var(--text-mid) !important;
	margin: 0 !important;
}

/* Potlač PMPro pmpro_font-x-large / pmpro_font-large uvnitř naší sekce */
.nm-account-pmpro .pmpro_font-x-large,
.nm-account-pmpro .pmpro_font-large {
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

.nm-account-pmpro > .pmpro {
	margin: 0 !important;
}

.nm-account-pmpro .pmpro_card_actions {
	border-top: 1px solid var(--gray-mid) !important;
	padding: 16px 22px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	background: #fff !important;
}

.nm-account-pmpro .pmpro_card_action a,
.nm-account-pmpro .pmpro_card_actions a {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: var(--coral) !important;
	text-decoration: none !important;
}

.nm-account-pmpro .pmpro_card_action a:hover,
.nm-account-pmpro .pmpro_card_actions a:hover {
	text-decoration: underline !important;
}

.nm-account-pmpro .pmpro_card_action_separator {
	color: var(--gray-mid) !important;
}

.nm-account-pmpro .pmpro_list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nm-account-pmpro .pmpro_list_item {
	font-size: 0.875rem !important;
	color: var(--text-dark) !important;
	padding: 4px 0 !important;
	border: none !important;
}

.nm-account-pmpro .pmpro_list_item_label {
	color: var(--text-mid) !important;
	font-size: 0.8rem !important;
	display: block !important;
}

.nm-account-pmpro .pmpro_list_item_value {
	font-weight: 600 !important;
}

/* PMPro table */
.nm-account-pmpro .pmpro_table {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 0.875rem !important;
}

.nm-account-pmpro .pmpro_table th,
.nm-account-pmpro .pmpro_table td {
	text-align: left !important;
	padding: 8px 10px !important;
	border-bottom: 1px solid var(--gray-mid) !important;
}

.nm-account-pmpro .pmpro_table thead th {
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--text-mid) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	background: var(--gray-light) !important;
}

.nm-account-pmpro .pmpro_tag {
	display: inline-block !important;
	border-radius: 12px !important;
	padding: 2px 10px !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
}

.nm-account-pmpro .pmpro_tag-success {
	background: #f0fdf4 !important;
	color: #166534 !important;
}

.nm-account-pmpro .pmpro_tag-alert {
	background: #fffbeb !important;
	color: #92400e !important;
}

.nm-account-pmpro .pmpro_tag-error {
	background: #fef2f2 !important;
	color: #991b1b !important;
}

/* PMPro forms (profile edit, password change) */
.nm-account-pmpro--form .pmpro_form,
.nm-account-pmpro--form form {
	max-width: 100% !important;
}

/* Přidej top padding tak, aby nadpis nebyl u kraje karty */
.nm-account-pmpro--form .pmpro_card_content {
	padding-top: 18px !important;
	padding-bottom: 28px !important;
}

/* Nadpis formuláře — stejná velikost jako "Moje členství" */
.nm-account-pmpro--form .pmpro_form_heading,
.nm-account-pmpro--form .pmpro_form_legend {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	margin: 0 0 5px !important;
	padding: 0 !important;
	border: none !important;
}

.nm-account-pmpro--form .pmpro_form_heading {
	display: block !important;
}

.nm-account-pmpro--form .pmpro_card_content input[type="text"],
.nm-account-pmpro--form .pmpro_card_content input[type="email"],
.nm-account-pmpro--form .pmpro_card_content input[type="password"],
.nm-account-pmpro--form .pmpro_card_content select,
.nm-account-pmpro--form .pmpro_card_content textarea {
	width: 100% !important;
	padding: 9px 12px !important;
	border: 1.5px solid var(--gray-mid) !important;
	border-radius: var(--radius) !important;
	font-size: 0.9rem !important;
	font-family: inherit !important;
	background: #fff !important;
	color: var(--text-dark) !important;
	transition: border-color 0.15s !important;
	box-sizing: border-box !important;
}

.nm-account-pmpro--form .pmpro_card_content input:focus {
	outline: none !important;
	border-color: var(--navy) !important;
}

.nm-account-pmpro--form .pmpro_card_content label,
.nm-account-pmpro--form .pmpro_form_label {
	display: block !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	color: var(--text-mid) !important;
	margin-bottom: 5px !important;
}

/* Skryj indikátor síly hesla — nemáme načtený pmpro-login.js */
.nm-account-pmpro--form #pass-strength-result {
	display: none !important;
}

/* Tlačítka submit — správné umístění: .pmpro_form_submit */
.nm-account-pmpro--form .pmpro_form_submit {
	padding: 14px 22px !important;
	margin-top: 0 !important;
	border-top: 1px solid var(--gray-mid) !important;
	background: #fff !important;
	display: flex !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
}

.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-update-profile,
.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-change-password,
.nm-account-pmpro--form .pmpro_form_submit input[type="submit"],
.nm-account-pmpro--form .pmpro_form_submit button[type="submit"] {
	background: var(--coral) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--radius) !important;
	padding: 10px 24px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	transition: background 0.15s !important;
}

.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-update-profile:hover,
.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-submit-change-password:hover,
.nm-account-pmpro--form .pmpro_form_submit input[type="submit"]:hover,
.nm-account-pmpro--form .pmpro_form_submit button[type="submit"]:hover {
	background: var(--coral-dark) !important;
}

/* Tlačítko Zrušit */
.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-cancel {
	background: transparent !important;
	color: var(--text-mid) !important;
	border: 1.5px solid var(--gray-mid) !important;
	border-radius: var(--radius) !important;
	padding: 10px 22px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
}

.nm-account-pmpro--form .pmpro_form_submit .pmpro_btn-cancel:hover {
	border-color: var(--navy) !important;
	color: var(--navy) !important;
}

/* Show/hide password toggle */
.nm-account-pmpro--form .pmpro_btn-password-toggle {
	background: none !important;
	border: none !important;
	color: var(--text-mid) !important;
	font-size: 0.78rem !important;
	cursor: pointer !important;
	padding: 0 !important;
	font-family: inherit !important;
}

/* PMPro avatar override */
.nm-account-pmpro .pmpro_heading-with-avatar img.avatar {
	border-radius: 50% !important;
	width: 40px !important;
	height: 40px !important;
}

/* PMPro globální override barvy tlačítek na coral */
.pmpro {
	--pmpro--color--primary: var(--coral) !important;
}

/* ===================================
   LEVELS PAGE (Tarify)
   =================================== */
.page-template-levels .site-content,
.page-template-levels .content-area,
.page-template-levels #primary {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.nm-account-container--wide {
	max-width: 900px;
}

.nm-levels-header {
	margin-bottom: 24px;
}

/* Beta banner */
.nm-beta-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	color: var(--text-dark);
}

.nm-beta-banner--checkout {
	margin-bottom: 24px;
}

.nm-checkout-notice {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 24px;
	font-size: 0.9rem;
	color: #991b1b;
}

/* ── PMPro Confirmation + Cancel page — sjednoceno s designem účtu ────────── */
body.pmpro-confirmation .inside-article,
body.pmpro-confirmation .entry-content,
body.pmpro-confirmation .entry-header,
body.pmpro-cancel .inside-article,
body.pmpro-cancel .entry-content,
body.pmpro-cancel .entry-header {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body.pmpro-confirmation .entry-header {
	margin-bottom: 8px;
}

body.pmpro-confirmation .entry-title {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 12px;
}

body.pmpro-confirmation .entry-content p {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--text-mid, #4b5563);
	margin-bottom: 14px;
}

body.pmpro-confirmation .pmpro_message,
body.pmpro-confirmation .pmpro_alert {
	border-radius: 10px;
	padding: 14px 18px;
	margin: 16px 0 24px;
	font-size: 0.9rem;
}

body.pmpro-confirmation .pmpro_card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 24px 28px;
	margin-bottom: 20px;
}

body.pmpro-confirmation .pmpro_card_title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Schovat gravatar (často prázdný) — kdyby chtěl avatar, ať tam aspoň není ošklivá výplň */
body.pmpro-confirmation .pmpro_card_title img.avatar,
body.pmpro-confirmation .pmpro_heading-with-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--coral, #f97316);
	object-fit: cover;
}

body.pmpro-confirmation .pmpro_list,
body.pmpro-confirmation .pmpro_list-plain {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.pmpro-confirmation .pmpro_list_item {
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: 0.95rem;
}

body.pmpro-confirmation .pmpro_list_item:last-child {
	border-bottom: none;
}

body.pmpro-confirmation .pmpro_list_item strong {
	color: var(--text-mid, #4b5563);
	font-weight: 600;
	margin-right: 6px;
}

body.pmpro-confirmation .pmpro_actions_nav {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
}

body.pmpro-confirmation .pmpro_actions_nav-right a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 18px;
	background: var(--navy, #1a1a2e);
	color: #fff;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s;
}

body.pmpro-confirmation .pmpro_actions_nav-right a:hover {
	opacity: 0.9;
	color: #fff;
}

body.pmpro-confirmation .pmpro_spacer {
	height: 12px;
}

/* Cancel page — tlačítka */
body.pmpro-cancel .entry-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 12px;
}

body.pmpro-cancel .pmpro_card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 24px 28px;
	margin-bottom: 20px;
}

body.pmpro-cancel .pmpro_card_content p {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--text-mid, #4b5563);
	margin-bottom: 14px;
}

body.pmpro-cancel .pmpro_form_submit {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 18px;
}

body.pmpro-cancel .pmpro_btn-submit {
	background: #b91c1c !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 11px 22px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background 0.15s !important;
	box-shadow: none !important;
}

body.pmpro-cancel .pmpro_btn-submit:hover {
	background: #991b1b !important;
	color: #fff !important;
}

body.pmpro-cancel .pmpro_btn-cancel {
	display: inline-flex !important;
	align-items: center !important;
	padding: 11px 22px !important;
	background: var(--navy, #1e2d40) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.15s !important;
}

body.pmpro-cancel .pmpro_btn-cancel:hover {
	background: #162231 !important;
	color: #fff !important;
	opacity: 1 !important;
}

body.pmpro-cancel .pmpro_actions_nav {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
}

body.pmpro-cancel .pmpro_actions_nav a {
	color: var(--coral, #f97316);
	text-decoration: none;
	font-weight: 600;
}

.nm-cancel-oneoff-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 18px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #1e3a8a;
}

.nm-cancel-oneoff-info strong {
	font-weight: 700;
}

.nm-beta-banner__badge {
	background: #f59e0b;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 5px;
	padding: 2px 8px;
	flex-shrink: 0;
}

.nm-beta-banner__text {
	line-height: 1.4;
}

.nm-levels-back {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-mid);
	text-decoration: none;
	margin-bottom: 14px;
}

.nm-levels-back:hover {
	color: var(--navy);
	text-decoration: none;
}

.nm-levels-title {
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	margin: 0 !important;
	font-family: inherit !important;
}

/* PMPro levels tabulka */
.nm-levels-pmpro .pmpro_section_content {
	background: #fff;
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.nm-levels-pmpro .pmpro_table {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 0.9rem !important;
	font-family: inherit !important;
}

.nm-levels-pmpro .pmpro_table th {
	text-align: left !important;
	padding: 11px 20px !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--text-mid) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	background: var(--gray-light) !important;
	border-bottom: 1px solid var(--gray-mid) !important;
}

.nm-levels-pmpro .pmpro_table td {
	padding: 14px 20px !important;
	border-bottom: 1px solid var(--gray-mid) !important;
	color: var(--text-dark) !important;
	font-family: inherit !important;
}

.nm-levels-pmpro .pmpro_table tr:last-child td {
	border-bottom: none !important;
}

.nm-levels-pmpro .pmpro_table .pmpro_btn,
.nm-levels-pmpro .pmpro_btn {
	background: var(--coral) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--radius) !important;
	padding: 9px 22px !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	cursor: pointer !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: background 0.15s !important;
	white-space: nowrap !important;
}

.nm-levels-pmpro .pmpro_btn:hover {
	background: var(--coral-dark) !important;
	color: #fff !important;
}

@media (max-width: 600px) {
	.nm-account-container--wide {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.nm-account-header {
		padding: 18px 20px;
		flex-wrap: wrap;
	}
	.nm-account-level-badge {
		flex-basis: 100%;
		text-align: center;
	}
	.nm-account-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.nm-account-tab {
		padding: 10px 14px;
	}
	.nm-account-quick-links {
		grid-template-columns: 1fr 1fr;
	}
	.nm-account-pmpro .pmpro_card_content {
		padding: 0 14px 14px !important;
	}
	.nm-account-pmpro .pmpro_card_title {
		padding: 14px 14px 0 !important;
	}
}

/* ── Hlídací psi / sekce ────────────────────────────────────────────────── */
.nm-account-section-header { margin-bottom: 24px; text-align: center; }
.nm-account-section-title {
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--navy);
	margin: 0;
}
.nm-account-danger {
	margin-top: 24px;
	border: 1px solid #fca5a5;
	border-radius: 10px;
	padding: 20px 22px;
	background: #fff;
}

.nm-account-danger__title {
	font-size: 1rem;
	font-weight: 700;
	color: #b91c1c;
	margin: 0 0 6px;
}

.nm-account-danger__desc {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 16px;
}

.nm-account-danger__confirm {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--text-dark);
	margin-bottom: 14px;
	cursor: pointer;
}

.nm-account-danger__btn {
	background: #b91c1c;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--font);
	transition: background 0.15s;
}

.nm-account-danger__btn:hover:not(:disabled) {
	background: #991b1b;
}

.nm-account-danger__btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ── Modal ───────────────────────────────────────────────────────────────────── */
.nm-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.nm-modal-overlay.is-open {
	display: flex;
}

.nm-modal {
	background: #fff;
	border-radius: 12px;
	padding: 28px 28px 24px;
	max-width: 420px;
	width: calc(100% - 40px);
	box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.nm-modal__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--navy);
	margin: 0 0 10px;
}

.nm-modal__desc {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 22px;
	line-height: 1.5;
}

.nm-modal__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.nm-modal__cancel {
	background: var(--gray-light);
	border: 1px solid var(--gray-mid);
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	font-family: var(--font);
	color: var(--text-dark);
	transition: background 0.15s;
}

.nm-modal__cancel:hover {
	background: var(--gray-mid);
}

.nm-modal__confirm {
	background: #b91c1c;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--font);
	transition: background 0.15s;
}

.nm-modal__confirm:hover {
	background: #991b1b;
}

.nm-account-referral {
	background: #fff;
	border: 1px solid var(--gray-mid);
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
	padding: 18px 22px 20px;
	margin-bottom: 16px;
}
.nm-account-referral-desc {
	font-size: 0.875rem;
	color: var(--text-mid);
	margin: 0 0 14px;
}
.nm-account-referral-row {
	display: flex;
	gap: 8px;
}
.nm-account-referral-input {
	flex: 1;
	padding: 9px 12px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 0.875rem;
	color: var(--dark);
	background: var(--light-bg, #f9fafb);
	min-width: 0;
}
.nm-account-referral-copy {
	padding: 9px 16px;
	background: var(--coral);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity .15s;
}
.nm-account-referral-copy:hover { opacity: .88; }
.nm-account-referral-stat {
	font-size: 0.8125rem;
	color: var(--text-muted, #6b7280);
	margin: 10px 0 0;
}
@media (max-width: 600px) {
	.nm-account-referral { padding: 16px; }
	.nm-account-referral-row { flex-direction: column; }
	.nm-account-referral-copy { width: 100%; }
}

/* ── PMPro Checkout stránka ──────────────────────────────────────────────── */
.pmpro-checkout .site-content > .inside-page-hero,
.pmpro-checkout .content-area,
.pmpro-checkout .entry-content {
	max-width: 760px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ── PMPro Checkout — sjednocení se šablonou ─────────────────────────────── */

/* Přebij PMPro accent barvu (výchozí tmavě modrá) na coral */
.pmpro-checkout .pmpro {
	--pmpro--color--accent:           var(--coral) !important;
	--pmpro--color--accent--variation: var(--coral-dark) !important;
	--pmpro--color--primary:          var(--coral) !important;
	font-family: var(--font) !important;
	color: var(--text-dark) !important;
}

/* Potlač PMPro mega-fonty */
.pmpro-checkout .pmpro_font-x-large,
.pmpro-checkout .pmpro_font-large {
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

/* Nadpisy karet — stejné jako na account stránce */
.pmpro-checkout .pmpro_card_title,
.pmpro-checkout .pmpro_form_heading,
.pmpro-checkout .pmpro_section_title {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
}

/* Tělo textu */
.pmpro-checkout .pmpro p,
.pmpro-checkout .pmpro label,
.pmpro-checkout .pmpro_card_content p {
	font-size: 0.9375rem !important;
	color: var(--text-mid) !important;
	font-family: var(--font) !important;
}

/* Inputy */
.pmpro-checkout .pmpro input[type="text"],
.pmpro-checkout .pmpro input[type="email"],
.pmpro-checkout .pmpro input[type="password"],
.pmpro-checkout .pmpro select {
	font-family: var(--font) !important;
	font-size: 0.9375rem !important;
	color: var(--text-dark) !important;
}

/* Hlavní tlačítko — coral */
.pmpro-checkout .pmpro .pmpro_btn-submit,
.pmpro-checkout .pmpro input[type="submit"] {
	background: var(--coral) !important;
	border-color: var(--coral) !important;
	color: #fff !important;
	font-family: var(--font) !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	padding: 10px 24px !important;
	cursor: pointer !important;
}

.pmpro-checkout .pmpro .pmpro_btn-submit:hover,
.pmpro-checkout .pmpro input[type="submit"]:hover {
	background: var(--coral-dark) !important;
	border-color: var(--coral-dark) !important;
}

/* Nadpis stránky */
.pmpro-checkout .entry-title {
	font-size: 1.75rem !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
}

/* Skryj sekci "Informace o účtu" pro přihlášené uživatele */
.pmpro-checkout #pmpro_user_fields {
	display: none !important;
}

/* ── Invoice / Historie objednávek ─────────────────────────────────────────── */
.pmpro-invoice .pmpro,
.pmpro-orders .pmpro {
	font-family: var(--font) !important;
	max-width: 780px;
	margin: 0 auto;
}

.pmpro-invoice .entry-title,
.pmpro-orders .entry-title {
	font-size: 1.75rem !important;
	color: var(--navy) !important;
	font-family: var(--font) !important;
	max-width: 780px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.pmpro-invoice .pmpro_section,
.pmpro-orders .pmpro_section {
	background: #fff !important;
	border: 1px solid var(--gray-mid) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	margin-bottom: 16px !important;
}

.pmpro-invoice .pmpro_section_title,
.pmpro-orders .pmpro_section_title {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--navy) !important;
	padding: 18px 22px 0 !important;
	margin: 0 !important;
}

.pmpro-invoice .pmpro_card,
.pmpro-orders .pmpro_card {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.pmpro-invoice .pmpro_card_content,
.pmpro-orders .pmpro_card_content {
	padding: 14px 22px 18px !important;
}

.pmpro-invoice .pmpro p,
.pmpro-invoice .pmpro td,
.pmpro-invoice .pmpro th,
.pmpro-orders .pmpro p,
.pmpro-orders .pmpro td,
.pmpro-orders .pmpro th {
	font-size: 0.9rem !important;
	color: var(--text-mid) !important;
	font-family: var(--font) !important;
}

.pmpro-invoice .pmpro th,
.pmpro-orders .pmpro th {
	color: var(--navy) !important;
	font-weight: 600 !important;
}

.pmpro-invoice .pmpro_font-x-large,
.pmpro-invoice .pmpro_font-large,
.pmpro-orders .pmpro_font-x-large,
.pmpro-orders .pmpro_font-large {
	font-size: 1rem !important;
}

.pmpro-invoice .pmpro a,
.pmpro-orders .pmpro a {
	color: var(--coral) !important;
}

.pmpro-invoice .pmpro a:hover,
.pmpro-orders .pmpro a:hover {
	color: var(--coral-dark) !important;
}

.pmpro-invoice .pmpro_btn-print,
.pmpro-invoice .pmpro_actions_nav {
	display: none !important;
}

/* Zobrazit/skrýt heslo */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear { display: none; }

.nm-pwd-wrap {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--gray-mid);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
	width: 100%;
	box-sizing: border-box;
}

.nm-pwd-wrap:focus-within {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(30,45,64,0.1);
}

.nm-pwd-wrap input[type="password"],
.nm-pwd-wrap input[type="text"] {
	flex: 1;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	background: transparent;
	padding: 10px 6px 10px 13px !important;
	width: auto !important;
	min-width: 0;
}

.nm-pwd-toggle {
	flex-shrink: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: #94a3b8;
	padding: 0 10px;
	display: flex;
	align-items: center;
	line-height: 1;
}

.nm-pwd-toggle:hover {
	color: #1e2d40;
	background: none !important;
}

.nm-pwd-toggle:focus,
.nm-pwd-toggle:active {
	outline: none;
	background: none !important;
	box-shadow: none;
}
.nm-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* ── Hlídací psi — list (wdm-*) ─────────────────────────────────────────── */
#wdm-loading { font-size: .9rem; color: #64748b; }
#wdm-msg.ok  { background: #e6f9ee; color: #1a7a3c; border: 1px solid #a8ddb8; border-radius: 8px; padding: 10px 14px; font-size: .9rem; margin-bottom: 12px; }
#wdm-msg.err { background: #fdecea; color: #b71c1c; border: 1px solid #f5b7b1; border-radius: 8px; padding: 10px 14px; font-size: .9rem; margin-bottom: 12px; }
#wdm-list    { display: flex; flex-direction: column; gap: 12px; }

.wdm-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px 20px;
	transition: box-shadow .15s;
}
.wdm-card:hover  { box-shadow: 0 2px 12px rgba(30,45,64,.08); }
.wdm-card.inactive { opacity: .6; }

.wdm-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 6px;
}
.wdm-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--navy);
	margin: 0;
}
.wdm-badges { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.wdm-badge {
	font-size: .72rem;
	font-weight: 600;
	padding: 2px 9px;
	border-radius: 20px;
	white-space: nowrap;
}
.wdm-badge-active      { background: rgba(34,197,94,.12);   color: #16a34a; }
.wdm-badge-inactive    { background: rgba(148,163,184,.15); color: #64748b; }
.wdm-badge-unconfirmed { background: rgba(251,191,36,.15);  color: #b45309; }
.wdm-badge-duplicate   { background: rgba(224,90,58,.12);   color: var(--coral); }

.wdm-filters { font-size: .875rem; color: var(--navy); margin: 0 0 2px; }
.wdm-meta    { font-size: .775rem; color: #94a3b8; margin: 6px 0 14px; line-height: 1.6; }

.wdm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wdm-btn {
	font-size: .8rem;
	font-weight: 500;
	padding: 5px 13px;
	border-radius: 7px;
	border: 1px solid;
	cursor: pointer;
	transition: background .12s, opacity .12s;
	line-height: 1.4;
}
.wdm-btn-edit {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}
.wdm-btn-edit:hover { opacity: .85; }
.wdm-btn-copy,
.wdm-btn-toggle,
.wdm-btn-resend {
	background: transparent;
	color: var(--navy);
	border-color: var(--navy);
}
.wdm-btn-copy:hover,
.wdm-btn-toggle:hover,
.wdm-btn-resend:hover { background: rgba(30,45,64,.06); }
.wdm-btn-delete {
	background: transparent;
	color: var(--coral);
	border-color: var(--coral);
}
.wdm-btn-delete:hover { background: rgba(224,90,58,.07); }

/* ── Hlídací pes — formulář (wd-*) ──────────────────────────────────────── */

/* Card container */
#wd-form {
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(30,45,64,.07);
    padding: 8px 24px 28px;
    margin-top: 8px;
}

/* Universal font override — covers all dynamically appended nodes */
#wd-form * { font-family: var(--font) !important; }

/* Label column */
.wd-filter-name {
    color: #546076 !important;
    font-size: .875rem !important;
    line-height: 1.5;
}

/* Value column */
.wd-filter-value {
    color: var(--navy);
    font-size: .9rem;
}

/* Filter tags */
.wd-tag {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: rgba(30,45,64,.08);
	color: var(--navy);
	font-size: .8rem;
	font-weight: 500;
	padding: 3px 8px 3px 11px;
	border-radius: 20px;
	margin: 2px 3px 2px 0;
}
.wd-tag-remove {
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	font-size: 1rem;
	padding: 0;
	line-height: 1;
	opacity: .45;
	transition: opacity .15s;
}
.wd-tag-remove:hover { opacity: 1; }

/* ── Slider track ── */
.wd-slider-wrap {
	grid-column: 1 / -1;
	padding: 2px 0 0;
}

/* Track div je 20px vysoký — thumb se vycentruje uvnitř, žádný overflow */
.wd-range-track {
	position: relative;
	height: 20px !important;
	background: transparent !important;
	margin: 4px 0 10px;
	overflow: visible !important;
}

/* Vizuální čára 4px přes ::before vycentrovaná ve 20px divu */
.wd-range-track::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 4px;
	transform: translateY(-50%);
	background: #dde3ec;
	border-radius: 2px;
	z-index: 0;
}

/* Fill sedí na stejné ose jako ::before */
.wd-range-fill {
	position: absolute;
	top: 50%;
	height: 4px;
	transform: translateY(-50%);
	background: var(--navy);
	border-radius: 2px;
	pointer-events: none;
	z-index: 1;
}

/* Range inputy pokrývají celý 20px div */
.wd-range-min,
.wd-range-max,
.wd-range-single {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100% !important;
	margin: 0;
	padding: 0;
	background: transparent !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	outline: none !important;
	border: none !important;
	cursor: pointer;
	z-index: 3;
}

/* Webkit runnable-track = plná výška inputu → thumb se centruje v 20px */
.wd-range-min::-webkit-slider-runnable-track,
.wd-range-max::-webkit-slider-runnable-track,
.wd-range-single::-webkit-slider-runnable-track {
	background: transparent !important;
	border: none !important;
	height: 100%;
}

/* Webkit: thumb — svislá čárka slideru */
.wd-range-min::-webkit-slider-thumb,
.wd-range-max::-webkit-slider-thumb,
.wd-range-single::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	width: 5px !important;
	height: 16px !important;
	border-radius: 2px !important;
	background: var(--navy) !important;
	border: none !important;
	box-shadow: none !important;
	margin-top: 2px !important;
	cursor: ew-resize;
}
.wd-range-min::-webkit-slider-thumb:hover,
.wd-range-max::-webkit-slider-thumb:hover,
.wd-range-single::-webkit-slider-thumb:hover {
	width: 7px !important;
}

/* Firefox: track */
.wd-range-min::-moz-range-track,
.wd-range-max::-moz-range-track,
.wd-range-single::-moz-range-track {
	background: transparent !important;
	border: none !important;
	height: 100%;
}
.wd-range-min::-moz-range-progress,
.wd-range-max::-moz-range-progress,
.wd-range-single::-moz-range-progress { background: transparent !important; }

/* Firefox: thumb */
.wd-range-min::-moz-range-thumb,
.wd-range-max::-moz-range-thumb,
.wd-range-single::-moz-range-thumb {
	width: 6px;
	height: 16px;
	border-radius: 2px;
	background: var(--navy);
	border: none;
	box-shadow: none;
	cursor: ew-resize;
}

/* ── Value inputs below slider ── */
.wd-slider-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 0;
	gap: 8px;
}
.wd-val-min,
.wd-val-max,
.wd-val-single {
	font-family: var(--font) !important;
	font-size: .82rem !important;
	color: var(--navy) !important;
	background: #f4f6fa !important;
	border: 1px solid #d8dfe9 !important;
	border-radius: 6px !important;
	padding: 5px 8px !important;
	width: 110px !important;
	text-align: center !important;
	transition: border-color .15s, box-shadow .15s;
}
.wd-val-min:focus,
.wd-val-max:focus,
.wd-val-single:focus {
	border-color: var(--navy) !important;
	box-shadow: 0 0 0 3px rgba(30,45,64,.08) !important;
	outline: none !important;
}

/* ── Submit button ── */
#wd-submit {
	background: var(--navy) !important;
	border-color: var(--navy) !important;
	font-family: var(--font) !important;
	font-size: 1rem !important;
	border-radius: 8px !important;
	padding: 12px 32px !important;
	transition: box-shadow .15s !important;
	box-shadow: 0 2px 10px rgba(30,45,64,.22) !important;
	letter-spacing: .02em !important;
}
#wd-submit:hover {
	opacity: 1 !important;
	box-shadow: 0 4px 18px rgba(30,45,64,.3) !important;
}

/* ── Checkboxes & radios ── */
#wd-form input[type="checkbox"],
#wd-form input[type="radio"] {
	accent-color: var(--navy) !important;
	position: relative;
	top: -1px;
	margin-right: 6px;
}

/* ── Status messages ── */
#wd-msg.ok {
	background: #e6f9ee;
	color: #1a7a3c;
	border: 1px solid #a8ddb8;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: .9rem;
}
#wd-msg.err {
	background: #fdecea;
	color: #b71c1c;
	border: 1px solid #f5b7b1;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: .9rem;
}

/* ===================================
   FOOTER — rozšířená struktura (GoPay compliance)
   =================================== */
.nm-footer-info,
.nm-footer-links {
	display: block;
	margin-bottom: 5px;
}

.nm-footer-pay {
	margin-top: 12px;
}

.nm-footer-cpk {
	margin-top: 10px;
	text-align: center;
}
.nm-footer-cpk img {
	max-width: 100%;
	height: 60px;
	border-radius: 6px;
	opacity: 0.85;
	transition: opacity 0.2s;
}
.nm-footer-cpk img:hover {
	opacity: 1;
}

.nm-footer-social {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	color: inherit;
	opacity: 0.7;
	transition: opacity 0.15s;
	line-height: 1;
}
.nm-footer-social svg {
	width: 18px;
	height: 18px;
	display: block;
}
.nm-footer-social:hover { opacity: 1; }

/* ===================================
   CHECKOUT — recurring consent checkbox
   =================================== */
.nm-recurring-consent {
	background: var(--gray-light);
	border: 1px solid var(--gray-mid);
	border-radius: 8px;
	padding: 14px 16px;
	margin: 0 0 16px;
}

.nm-recurring-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	margin: 0;
	font-size: 0.95rem;
	color: var(--navy);
}

.nm-recurring-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: var(--coral);
	cursor: pointer;
}

.nm-recurring-desc {
	margin: 8px 0 0 28px;
	font-size: 0.8rem;
	color: var(--text-light);
	line-height: 1.5;
}

.nm-pc-recurring-note {
	margin: 14px 0 0;
	font-size: 0.7rem;
	color: rgba(255,255,255,0.45);
	line-height: 1.5;
}

/* =========================================================
   Srovnání: Nemovitomat vs. běžný agregátor (#srovnani)
   ========================================================= */
.nm-compare-section { background: #fff; }

.nm-compare-wrap {
	max-width: 1180px;
	margin: 36px auto 0;
	padding: 22px 4px 28px;
	position: relative;
}

.nm-compare-grid {
	display: grid;
	grid-template-columns: minmax(170px, 1.05fr) minmax(280px, 2.4fr) minmax(280px, 1.7fr);
	grid-template-rows: repeat(14, auto);
	position: relative;
	background: #fff;
}

/* Explicitní zařazení do sloupců */
.nm-c-feat-head, .nm-c-feat, .nm-c-feat-last { grid-column: 1; }
.nm-c-nm-head, .nm-c-nm, .nm-c-nm-last       { grid-column: 2; }
.nm-c-other-head, .nm-c-other, .nm-c-other-last { grid-column: 3; }

/* Highlight div se nepoužívá — nahrazeno ohraničením na buňkách */
.nm-compare-highlight { display: none; }

.nm-c-cell {
	position: relative;
	z-index: 1;
	padding: 16px 22px;
	border-top: 1px solid var(--gray-mid);
	font-size: 14.5px;
	line-height: 1.55;
	color: #1f2937;
}

/* Hlavičkový řádek */
.nm-c-feat-head, .nm-c-nm-head, .nm-c-other-head {
	border-top: 0;
	font-weight: 750;
	box-shadow: inset 0 -1px 0 rgba(30, 45, 64, 0.1);
}

.nm-c-feat-head {
	background: #eef4fa;
	border-radius: 12px 0 0 0;
	padding: 22px 22px 18px;
	font-size: 15px;
	color: #26384d;
	border-right: 1px solid #d5e0ec;
}
.nm-c-other-head { border-radius: 0 12px 0 0; padding: 22px 22px 18px; font-size: 15px; }
.nm-c-feat-last { border-radius: 0 0 0 12px; }
.nm-c-other-last { border-radius: 0 0 12px 0; }

/* Spodní uzavření coral rámečku */
.nm-c-nm-last {
	border-bottom: 2px solid var(--coral);
	border-radius: 0 0 12px 12px;
	margin-bottom: -10px;
}

.nm-c-nm-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 22px 22px 18px;
	color: var(--navy);
	background: #fff;
	border-top: 2px solid var(--coral);
	border-radius: 12px 12px 0 0;
	margin-top: -10px;
}

.nm-compare-logo-img {
	display: block;
	flex-shrink: 0;
}

.nm-compare-logo-text {
	color: var(--navy);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.nm-c-other-head {
	background: #fffaf8;
	color: #7f4b3b;
	text-align: center;
	padding-top: 26px;
	padding-bottom: 22px;
	border-left: 1px solid #f8ebe5;
}
.nm-c-other-head sup { color: #d5a898; font-weight: 400; }

/* Datové řádky */
.nm-c-feat {
	background: #eef4fa;
	border-right: 1px solid #d5e0ec;
	font-weight: 600;
	color: var(--navy);
}

/* Coral ohraničení středního sloupce — left/right na všech buňkách col 2 */
.nm-c-nm-head,
.nm-c-nm,
.nm-c-nm-last {
	border-left: 2px solid var(--coral);
	border-right: 2px solid var(--coral);
}

.nm-c-nm {
	background: #fff;
	color: #1f2937;
}
.nm-c-nm:not(.nm-c-nm-head) { border-top-color: rgba(224, 90, 58, 0.15); }

/* Coral checkmark před textem v Nemovitomat sloupci */
.nm-c-nm:not(.nm-c-nm-head)::before {
	content: '';
	display: inline-block;
	width: 16px; height: 16px;
	margin-right: 9px;
	vertical-align: -3px;
	border-radius: 50%;
	background: var(--coral) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px 10px no-repeat;
	flex: none;
}

.nm-c-other {
	background: #fffdfc;
	border-left: 1px solid #faeee9;
	color: #5f514b;
}

.nm-c-other:not(.nm-c-other-head)::before {
	content: '';
	display: inline-block;
	width: 16px; height: 16px;
	margin-right: 9px;
	vertical-align: -3px;
	border-radius: 50%;
	background: #faede8 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c98c78' stroke-width='3.4' stroke-linecap='round'><line x1='6' y1='12' x2='18' y2='12'/></svg>") center/9px 9px no-repeat;
}

/* Footnote pod tabulkou */
.nm-compare-disclaimer {
	max-width: 1180px;
	margin: 18px auto 0;
	padding: 0 8px;
	font-size: 12.5px;
	color: #64748b;
	line-height: 1.55;
	font-style: italic;
}
.nm-compare-disclaimer sup { color: #94a3b8; }

@media (min-width: 881px) and (max-width: 1100px) {
	.nm-compare-grid {
		grid-template-columns: minmax(170px, 1.05fr) minmax(280px, 2.6fr) minmax(280px, 1.5fr);
	}
}

/* === Mobile/tablet === */
@media (max-width: 880px) {
	.nm-compare-grid {
		grid-template-columns: 1fr;
		border: 0;
		background: transparent;
		gap: 0;
	}
	.nm-compare-highlight { display: none; }

	/* Na mobilu sloupce stackujeme do jednoho sloupce */
	.nm-c-feat-head, .nm-c-feat, .nm-c-feat-last,
	.nm-c-nm-head, .nm-c-nm, .nm-c-nm-last,
	.nm-c-other-head, .nm-c-other, .nm-c-other-last { grid-column: 1; }

	.nm-c-cell {
		border-top: 0;
		padding: 12px 16px;
	}

	.nm-c-feat-head { display: none; }

	.nm-c-feat {
		background: var(--navy);
		color: #fff;
		font-weight: 700;
		padding: 12px 16px;
		border-radius: 10px 10px 0 0;
		margin-top: 22px;
		font-size: 15px;
	}
	.nm-c-feat:first-of-type { margin-top: 0; }

	.nm-c-nm-head, .nm-c-other-head { display: none; }

	.nm-c-nm {
		background: #fff;
		border: 2px solid var(--coral);
		border-bottom: 0;
		padding: 14px 16px 12px;
		position: relative;
	}
	.nm-c-nm::after {
		content: 'Nemovitomat';
		display: block;
		font-size: 10.5px;
		text-transform: uppercase;
		letter-spacing: 0.6px;
		color: var(--coral);
		font-weight: 700;
		margin-top: 6px;
	}

	.nm-c-other {
		background: var(--gray-light);
		border: 1px solid var(--gray-mid);
		border-top: 1px dashed var(--gray-mid);
		border-radius: 0 0 10px 10px;
		padding: 14px 16px 12px;
	}
	.nm-c-other::after {
		content: 'Běžný agregátor';
		display: block;
		font-size: 10.5px;
		text-transform: uppercase;
		letter-spacing: 0.6px;
		color: #94a3b8;
		font-weight: 700;
		margin-top: 6px;
	}

	/* Na mobilu prostřední sloupec navazuje rovnou pod label */
	.nm-c-nm { border-bottom: 0; }
	.nm-c-other { border-top: 1px dashed var(--gray-mid); }
}

@media (max-width: 480px) {
	.nm-compare-wrap { padding-left: 0; padding-right: 0; }
	.nm-c-cell { font-size: 14px; }
}

/* === Dropdown menu (Statistiky hub) === */
.nm-nav-dropdown {
	position: relative;
	display: inline-block;
}
.nm-nav-dropdown-trigger {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
}
.nm-nav-chev {
	transition: transform 0.15s;
}
.nm-nav-dropdown:hover .nm-nav-chev,
.nm-nav-dropdown:focus-within .nm-nav-chev {
	transform: rotate(180deg);
}
.nm-nav-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #ffffff;
	border: 1px solid #d4dbe8;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.10);
	padding: 6px 0;
	margin-top: 4px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
	z-index: 1000;
}
.nm-nav-dropdown:hover .nm-nav-submenu,
.nm-nav-dropdown:focus-within .nm-nav-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nm-nav-submenu a {
	display: block !important;
	padding: 9px 18px !important;
	color: var(--text-dark) !important;
	font-size: 0.88rem !important;
	white-space: nowrap;
	background: transparent !important;
	border-radius: 0 !important;
}
.nm-nav-submenu a:hover {
	background: var(--gray-light) !important;
	color: #e05a3a !important;
}
.nm-nav-submenu-sep {
	height: 1px;
	background: #e2e8f0;
	margin: 6px 0;
}
.nm-mobile-nav-sub {
	padding-left: 1.5em !important;
	font-size: 0.92em !important;
	color: var(--text-mid) !important;
}

/* Auto-renewal badge v membership account kartě */
.nm-autorenewal-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: #dcfce7;
	color: #15803d;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
	margin-top: 12px;
}

.nm-autorenewal-badge svg {
	flex-shrink: 0;
	color: #16a34a;
}

/* Checkout overlap notice — prevence překryvu členství */
.nm-checkout-overlap-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #1e3a8a;
}

.nm-checkout-overlap-notice svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #3b82f6;
}
