/* Molitorovská stráň – barvy z loga */
:root {
	--mol-ink: #141414;
	--mol-green: #3AAA35;
	--mol-brown: #753025;
	--mol-orange: #F5A059;
	--mol-sand: #F6F4F0;
	--mol-line: #E0DCD5;
	--mol-muted: #4A4641;
	--mol-sold: #9C978F;
	--mol-nonsale: #E4E2DE;
	--mol-beige: #FCE6CF;
	--mol-red: #C62828;
}

/* ================= MAPA ================= */
.molitorov-mapa { display: flex; flex-direction: column; gap: 24px; color: var(--mol-ink); }
.molitorov-mapa *, .molitorov-cenik * { box-sizing: border-box; }

.mol-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mol-chip {
	font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2;
	padding: 12px 18px; min-height: 44px; border-radius: 999px; cursor: pointer;
	border: 1px solid #CFCAC3; background: #fff; color: var(--mol-ink);
	display: inline-flex; align-items: center; gap: 8px;
}
.mol-chip[aria-pressed="true"] { background: var(--mol-ink); border-color: var(--mol-ink); color: #fff; }
.mol-chip:focus-visible, .mol-plot-btn:focus-visible, .mol-btn:focus-visible { outline: 3px solid var(--mol-brown); outline-offset: 2px; }

.mol-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.mol-swatch.stav-all { background: var(--mol-ink); }
.mol-swatch.stav-free { background: var(--mol-green); }
.mol-swatch.stav-reserved { background: var(--mol-orange); }
.mol-swatch.stav-sold { background: var(--mol-sold); box-shadow: inset 0 0 0 1px #9E9A94; }
.mol-swatch.stav-nonsale { background: repeating-linear-gradient(135deg, #E4E2DE 0 2px, #C9C6C0 2px 4px); box-shadow: inset 0 0 0 1px #B5B1AB; }

.mol-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.mol-plan { flex: 999 1 560px; min-width: 0; background: #EEF1EB; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.mol-canvas { position: relative; width: 100%; }
.mol-area { position: absolute; pointer-events: none; }
.mol-area-road { background: #D9D7D2; }
.mol-area-civic { background: repeating-linear-gradient(135deg, #E4E2DE 0 6px, #DCDAD5 6px 12px); }
.mol-note { position: absolute; display: flex; align-items: center; gap: 6px; white-space: nowrap; pointer-events: none; color: var(--mol-ink); line-height: 1.15; }
.mol-note-text { display: flex; flex-direction: column; }
.mol-note strong { font-size: clamp(10px, 1.2vw, 14px); font-weight: 800; }
.mol-note small { font-size: clamp(8px, .9vw, 11px); font-weight: 600; color: var(--mol-muted); }
.mol-note .mol-arrow { font-size: clamp(14px, 1.8vw, 22px); font-weight: 800; color: var(--mol-brown); }
.mol-note-road strong { font-size: clamp(8px, .9vw, 11px); text-transform: uppercase; letter-spacing: .15em; color: #6B6660; font-weight: 700; }
.mol-note-civic { white-space: normal; width: 22%; text-align: center; justify-content: center; }
.mol-note-civic strong { font-size: clamp(9px, 1vw, 13px); color: #5C5853; }
.mol-note-golf, .mol-note-town { background: rgba(255,255,255,.85); padding: 4px 8px; border-radius: 8px; }
.mol-plot { position: absolute; transition: opacity .2s; }
.mol-plot.is-dim { opacity: .25; }
.mol-plot.is-selected {
	filter: drop-shadow(2px 0 0 var(--mol-ink)) drop-shadow(-2px 0 0 var(--mol-ink)) drop-shadow(0 2px 0 var(--mol-ink)) drop-shadow(0 -2px 0 var(--mol-ink));
}
.mol-plot-btn {
	position: absolute; inset: 0; width: 100%; height: 100%;
	margin: 0; padding: 0; border: 0; border-radius: 0; cursor: pointer;
	font: inherit; color: var(--mol-ink); box-shadow: none; text-shadow: none;
}
.mol-plot-btn:hover { filter: brightness(1.08); }
.mol-plot-btn.stav-free { background: var(--mol-green); }
.mol-plot-btn.stav-reserved { background: var(--mol-orange); }
.mol-plot-btn.stav-sold { background: var(--mol-sold); color: #141414; }
.mol-plot-btn.stav-nonsale { background: repeating-linear-gradient(135deg, #E4E2DE 0 6px, #DCDAD5 6px 12px); color: #5C5853; }
.mol-plot-btn span {
	position: absolute; transform: translate(-50%, -50%);
	font-size: clamp(8px, 1.1vw, 12px); font-weight: 800; line-height: 1; pointer-events: none;
}

.mol-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--mol-muted); }
.mol-legend-items { display: flex; flex-wrap: wrap; gap: 16px; }
.mol-legend-items > span { display: inline-flex; align-items: center; gap: 6px; }

.mol-detail { flex: 1 1 300px; background: #fff; border: 1px solid var(--mol-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mol-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mol-kicker { font-size: 13px; font-weight: 700; color: #5C5853; text-transform: uppercase; letter-spacing: .08em; }
.mol-badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; color: var(--mol-ink); white-space: nowrap; }
.mol-badge.stav-free { background: var(--mol-green); }
.mol-badge.stav-reserved { background: var(--mol-orange); }
.mol-badge.stav-sold { background: var(--mol-sold); color: #141414; }
.mol-badge.stav-nonsale { background: var(--mol-nonsale); color: #4A4641; }
.mol-detail-title { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--mol-ink); }
.mol-detail-row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid #E6E3DE; border-bottom: 1px solid #E6E3DE; font-size: 16px; }
.mol-detail-row span { color: var(--mol-muted); }
.mol-price { background: var(--mol-sand); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.mol-price-label { font-size: 13px; font-weight: 700; color: var(--mol-brown); }
.mol-price-value { font-size: 26px; font-weight: 800; color: var(--mol-ink); }
.mol-price-note { font-size: 13px; color: var(--mol-muted); }
.mol-btn, .mol-btn:visited {
	display: block; text-align: center; text-decoration: none; background: var(--mol-ink); color: #fff;
	padding: 16px 20px; border-radius: 8px; font-weight: 700; font-size: 16px;
}
.mol-btn:hover { background: #333; color: #fff; }
.mol-unavailable { margin: 0; padding: 16px; border-radius: 8px; background: #FDF0E4; font-size: 15px; line-height: 1.5; }

/* ================= CENÍK ================= */
.molitorov-cenik { overflow-x: auto; background: #fff; border-radius: 16px; border: 1px solid var(--mol-line); }
.molitorov-cenik table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; margin: 0; border: 0; }
.molitorov-cenik th { text-align: left; color: var(--mol-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: 16px 24px; border: 0; background: none; }
.molitorov-cenik td { padding: 12px 24px; border: 0; border-top: 1px solid #EEEBE6; background: none; }
.molitorov-cenik .mol-strong { font-weight: 800; }
.molitorov-cenik .mol-right { text-align: right; }
.molitorov-cenik a { color: var(--mol-brown); font-weight: 700; font-size: 14px; }
.molitorov-cenik tr.is-dim { opacity: .4; }

/* ================= SEKCE (vzory bloků) ================= */
.mol-section { padding: 88px 24px !important; margin: 0 !important; }
.mol-section.mol-bg-sand { background: var(--mol-sand); }
.mol-section.mol-bg-white { background: #fff; }
.mol-section.mol-bg-dark { background: var(--mol-ink); color: #fff; }
.mol-section .mol-inner { max-width: 1200px; margin: 0 auto; }
.mol-section .mol-inner > * + * { margin-top: 16px; }
.mol-eyebrow { font-size: 13px !important; font-weight: 700; color: var(--mol-brown); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 0; }
.mol-bg-dark .mol-eyebrow { color: var(--mol-orange); }
.mol-h1 { font-size: clamp(36px, 5vw, 56px) !important; line-height: 1.05 !important; font-weight: 800 !important; letter-spacing: -.03em; margin: 8px 0 0 !important; }
.mol-h2 { font-size: clamp(30px, 3.5vw, 40px) !important; line-height: 1.1 !important; font-weight: 800 !important; letter-spacing: -.02em; margin: 8px 0 0 !important; }
.mol-bg-dark .mol-h2 { color: #fff; }
.mol-lead { font-size: 18px; line-height: 1.6; color: #3E3A36; max-width: 640px; }
.mol-stripes, hr.wp-block-separator.mol-stripes { width: 96px !important; max-width: 96px !important; height: 6px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 1 !important; border-radius: 2px;
	background: linear-gradient(90deg, var(--mol-orange) 0 29%, transparent 29% 35.5%, var(--mol-brown) 35.5% 64.5%, transparent 64.5% 71%, var(--mol-green) 71% 100%) !important; }

.mol-btn-dark .wp-block-button__link { background: var(--mol-ink) !important; color: #fff !important; border-radius: 8px !important; font-weight: 700; padding: 16px 28px !important; }
.mol-btn-light .wp-block-button__link { background: #fff !important; color: var(--mol-ink) !important; border: 1px solid #CFCAC3 !important; border-radius: 8px !important; font-weight: 700; padding: 15px 27px !important; }

.mol-hero-cols { gap: 48px !important; align-items: center !important; }
.mol-video { border-radius: 16px; overflow: hidden; background: var(--mol-ink); }
.mol-video-placeholder { aspect-ratio: 16 / 9; border-radius: 16px; background: var(--mol-ink); color: #DDD9D3; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-weight: 600; }

.mol-stats { gap: 16px !important; margin-top: 48px !important; }
.mol-stat { container-type: inline-size; background: var(--mol-beige); border: 1px solid #F5C99E; border-radius: 16px; padding: 28px 24px; }
.mol-stat-num { white-space: nowrap; font-size: clamp(20px, 11cqi, 36px) !important; font-weight: 800; line-height: 1.1; margin: 0 !important; color: var(--mol-ink); letter-spacing: -.02em; }
.mol-stat-label { font-size: 15px !important; color: #4E1E17; font-weight: 700; margin: 8px 0 0 !important; }

.mol-cards { gap: 20px !important; margin-top: 40px !important; }
.mol-card { background: var(--mol-sand); border-radius: 16px; padding: 28px; border-top: 6px solid var(--mol-green); }
.mol-card.mol-top-orange { border-top-color: var(--mol-orange); }
.mol-card.mol-top-brown { border-top-color: var(--mol-brown); }
.mol-bg-sand .mol-card { background: #fff; }
.mol-card h3 { font-size: 20px !important; font-weight: 800 !important; margin: 0 0 8px !important; }
.mol-card p { font-size: 15px; line-height: 1.6; color: #3E3A36; margin: 0; }
.mol-card .mol-card-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #5C5853; margin-bottom: 8px; }
.mol-card .mol-card-big { font-size: 22px; font-weight: 800; color: var(--mol-ink); margin-bottom: 6px; }
.mol-card.mol-card-dark { background: var(--mol-ink); color: #fff; border-top-color: var(--mol-orange); }
.mol-card.mol-card-dark p, .mol-card.mol-card-dark .mol-card-big { color: #fff; }
.mol-card.mol-card-dark .mol-card-kicker { color: var(--mol-orange); }
.mol-card.mol-card-now .mol-card-kicker { color: #1D4F1A; }

.mol-times p { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #3A3A3A; margin: 0 !important; font-size: 16px; }
.mol-times p strong { font-weight: 700; }
.mol-map-embed iframe { width: 100%; min-height: 420px; border: 0; border-radius: 16px; }

.mol-contact a { color: var(--mol-ink); font-weight: 700; font-size: 18px; }
.mol-form { background: #fff; border-radius: 16px; padding: 32px; }

/* Ceník */
.mol-h2.mol-cenik-title { font-size: clamp(40px, 5vw, 60px) !important; }
.mol-promo { color: var(--mol-red); font-weight: 800; font-size: 20px; margin-top: 12px !important; }
.mol-cenik-note { color: #3E3A36; font-size: 16px; }

/* O projektu – vizualizace jako pozadí */
.mol-viz { aspect-ratio: 16 / 10; min-height: 260px; border-radius: 16px; background-color: #E2DED7; background-size: cover !important; background-position: center !important; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* Galerie */
.mol-gallery-title { font-size: 22px !important; font-weight: 800 !important; margin-top: 32px !important; }
.mol-gallery.wp-block-gallery { gap: 12px !important; }
.mol-gallery.wp-block-gallery .wp-block-image img { border-radius: 12px; }
.mol-gallery.wp-block-gallery figcaption { font-size: 13px !important; font-weight: 600; }

/* Lokalita – mapa */
.molitorov-lokalita .mol-leaflet { width: 100%; height: 440px; border-radius: 16px; overflow: hidden; z-index: 0; }
.molitorov-lokalita .mol-nav { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0 0; }
.molitorov-lokalita .mol-nav a { color: #fff; font-weight: 700; font-size: 14px; }
.mol-bg-white .molitorov-lokalita .mol-nav a, .mol-bg-sand .molitorov-lokalita .mol-nav a { color: var(--mol-brown); }
.mol-pin { background: none; border: 0; }
.mol-pin-badge { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); border: 3px solid var(--mol-ink); box-sizing: border-box; }
.mol-pin-badge::after { content: ""; position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); border: 8px solid transparent; border-top: 10px solid var(--mol-ink); border-bottom: 0; }
.leaflet-container .leaflet-marker-pane .mol-pin-badge img { width: 40px !important; height: auto !important; display: block; }

/* Formulář Contact Form 7 */
.mol-form .wpcf7 br { display: none; }
.mol-form .wpcf7 label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 16px; }
.mol-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.mol-form .wpcf7 input[type="text"], .mol-form .wpcf7 input[type="email"], .mol-form .wpcf7 input[type="tel"], .mol-form .wpcf7 textarea {
	width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #CFCAC3; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; font-weight: 400; }
.mol-form .wpcf7 textarea { height: 140px; resize: vertical; }
.mol-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.mol-form .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.5; }
.mol-form .wpcf7-submit { width: 100%; margin-top: 8px; padding: 16px 28px; border: 0; border-radius: 8px; background: var(--mol-ink); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.mol-form .wpcf7-submit:disabled { opacity: .4; cursor: not-allowed; }

@media (max-width: 781px) {
	.mol-note small { display: none; }
	.mol-section { padding: 56px 20px !important; }
	.mol-detail { padding: 20px; }
	.mol-plan { padding: 10px; }
}
