/*
 * MILA LAFFA – dizajnový systém „farebný osobný ateliér".
 * Malinová, levanduľová a tyrkysová z výrobkov, teplé svetlé plochy.
 * Tokeny sú na jednom mieste; ostatné pravidlá ich len používajú.
 */

/* ---------- Písma (self-hosted, latin + latin-ext) ---------- */
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-ext-wght-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ----------
 * Farby sú vzaté z výrobkov: malinová (vyšívané kvety, šatka),
 * levanduľová (náramky, šatka) a tyrkysová (mandala na kabelke).
 * --ml-canvas je presne farba plátna zapečená vo fotografiách,
 * takže dlaždica a fotografia splynú do jednej plochy.
 */
:root {
	--ml-cream: #fbf7f2;
	--ml-cream-deep: #f8ede6;
	--ml-canvas: #f0ebe1;
	--ml-white: #fffdfb;
	--ml-blush: #fbe6ee;
	--ml-lilac-soft: #efe6f9;
	--ml-teal-soft: #dff2ef;

	--ml-ink: #22142a;
	--ml-ink-soft: #5d4c63;
	--ml-berry: #c2185b;
	--ml-berry-deep: #8f1043;
	--ml-berry-hot: #e8457f;
	--ml-lilac: #a88bd4;
	--ml-lilac-deep: #5e3f8f;
	--ml-teal: #1a9a92;
	--ml-teal-deep: #0b6360;
	--ml-plum: #2e1633;

	--ml-line: #eadbe3;
	--ml-field: #8a7488;
	--ml-error: #a3122f;
	--ml-focus: var(--ml-teal-deep);

	/* pletený pásik z troch farieb – podpis značky */
	--ml-yarn: repeating-linear-gradient(90deg, var(--ml-berry) 0 1.1rem, var(--ml-lilac) 1.1rem 2.2rem, var(--ml-teal) 2.2rem 3.3rem);
	--ml-berry-grad: linear-gradient(135deg, #d42a6c 0%, #b3144f 55%, #97124a 100%);

	--ml-shadow-s: 0 1px 2px rgba(60, 20, 50, 0.06), 0 10px 22px -14px rgba(94, 36, 78, 0.38);
	--ml-shadow-m: 0 2px 4px rgba(60, 20, 50, 0.07), 0 22px 38px -18px rgba(94, 36, 78, 0.48);
	--ml-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	--ml-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--ml-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--ml-step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
	--ml-step-0: clamp(1.0625rem, 1.03rem + 0.15vw, 1.15rem);
	--ml-step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
	--ml-step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
	--ml-step-3: clamp(2.2rem, 1.6rem + 3vw, 4.1rem);

	--ml-gutter: clamp(1.25rem, 0.8rem + 2.4vw, 2.5rem);
	--ml-space: clamp(3.5rem, 2.5rem + 5vw, 7.5rem);
	--ml-space-s: clamp(2.6rem, 1.9rem + 3.6vw, 5.25rem);
	--ml-radius: 0.75rem;
	--ml-radius-l: 1.25rem;
	--ml-header-h: 4.25rem;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background: var(--ml-cream);
}

html.ml-menu-open { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	font-family: var(--ml-sans);
	font-size: var(--ml-step-0);
	line-height: 1.7;
	color: var(--ml-ink);
	background: var(--ml-cream);
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	font-family: var(--ml-serif);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}
h1 { font-size: var(--ml-step-3); }
h2 { font-size: var(--ml-step-2); }
h3 { font-size: var(--ml-step-1); }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }

a {
	color: var(--ml-berry-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover { color: var(--ml-berry); }

:focus-visible {
	outline: 3px solid var(--ml-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection { background: var(--ml-berry); color: #fff; }

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

.ml-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ml-ink);
	color: #fff;
	padding: 0.8rem 1.1rem;
	border-radius: var(--ml-radius);
	z-index: 200;
}
.ml-skip:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

.ml-wrap {
	width: min(76rem, 100%);
	margin-inline: auto;
	padding-inline: var(--ml-gutter);
}
.ml-wrap--narrow { width: min(46rem, 100%); }
.ml-center { text-align: center; }

.ml-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-family: var(--ml-sans);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ml-ink-soft);
	margin: 0 0 1rem;
}
.ml-center .ml-eyebrow { justify-content: center; }
/* farebný uzlík pred nadpisom sekcie */
.ml-eyebrow::before {
	content: "";
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--ml-berry);
	box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.14);
}
.ml-lead {
	font-family: var(--ml-serif);
	font-size: var(--ml-step-1);
	line-height: 1.5;
	color: var(--ml-ink-soft);
	max-width: 34em;
}

.ml-meta, .ml-optional { color: var(--ml-ink-soft); font-size: var(--ml-step--1); }

/* ---------- Tlačidlá ---------- */
.ml-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.7rem 1.6rem;
	font: 700 0.95rem/1.2 var(--ml-sans);
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--ml-ink);
	background: transparent;
	border: 1.5px solid var(--ml-ink);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ml-ease), transform 0.25s var(--ml-ease);
}
.ml-button:hover { background: var(--ml-ink); color: #fff; }
.ml-button:active { transform: translateY(1px) scale(0.98); }

.ml-button--primary {
	background: var(--ml-ink);
	border-color: var(--ml-ink);
	color: var(--ml-cream);
	box-shadow: 0 14px 30px -14px rgba(34, 20, 42, 0.6);
}
.ml-button--primary:hover {
	background: var(--ml-berry);
	border-color: var(--ml-berry);
	color: #fff;
	box-shadow: 0 16px 30px -14px rgba(194, 24, 91, 0.6);
}
.ml-button--primary:active { transform: scale(0.98); }

.ml-button--whatsapp { border-color: var(--ml-teal-deep); color: var(--ml-teal-deep); }
.ml-button--whatsapp:hover { background: var(--ml-teal-deep); border-color: var(--ml-teal-deep); color: #fff; }

.ml-button--quiet {
	border-color: transparent;
	padding-inline: 0.2rem;
	color: var(--ml-berry-deep);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: rgba(194, 24, 91, 0.35);
	text-underline-offset: 0.4em;
	transition: color 0.2s, text-decoration-color 0.2s, text-underline-offset 0.2s;
}
.ml-button--quiet:hover { background: transparent; color: var(--ml-berry); text-decoration-color: currentColor; text-underline-offset: 0.3em; }
.ml-button--quiet:active { transform: none; }

.ml-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 2rem 0 0; }
.ml-actions--center { justify-content: center; }
.ml-single__body .ml-actions { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }

/* ---------- Niť (bežný steh) ---------- */
.ml-thread { color: var(--ml-berry); overflow: visible; }
.ml-thread__line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 7; }
.ml-thread--divider { width: min(16rem, 60%); height: 1.25rem; margin-inline: auto; }
.ml-thread--hero { width: 100%; height: 3rem; }

/* ---------- Hlavička: plávajúca sklenená lišta ----------
 * Rozmazanie je na ::before, nie na samotnej lište – filter na predkovi by
 * z fixného mobilného panelu urobil panel veľký len ako lišta. Z rovnakého
 * dôvodu lišta nikdy nedostane transform.
 */
.ml-header {
	position: sticky;
	top: 0;
	z-index: 60;
	padding-top: 14px;
	pointer-events: none;
}
.ml-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(calc(100% - 24px), 72rem);
	min-height: 62px;
	margin-inline: auto;
	padding: 8px 8px 8px 22px;
	border-radius: 99px;
	pointer-events: auto;
}
.ml-header__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: rgba(251, 247, 242, 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 0 0 1px rgba(34, 20, 42, 0.07), 0 12px 30px -18px rgba(34, 20, 42, 0.35);
	transition: background-color 0.4s var(--ml-ease), box-shadow 0.4s var(--ml-ease);
}
.ml-header--scrolled .ml-header__inner::before {
	background: rgba(251, 247, 242, 0.9);
	box-shadow: 0 0 0 1px rgba(34, 20, 42, 0.08), 0 18px 40px -20px rgba(34, 20, 42, 0.45);
}

.ml-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	color: var(--ml-ink);
	text-decoration: none;
	position: relative;
	z-index: 3;
	transition: color 0.4s;
}
.ml-brand svg { width: 1.9rem; height: 1.9rem; color: var(--ml-berry); flex: none; transition: transform 0.6s var(--ml-ease), color 0.4s; }
.ml-brand:hover svg { transform: rotate(-24deg); }
.ml-brand__name { font-family: var(--ml-serif); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }
.ml-brand__name em { font-style: italic; color: var(--ml-berry); transition: color 0.4s; }
.ml-brand:hover { color: var(--ml-ink); }

.ml-nav { margin-left: auto; }
.ml-nav__toggle { display: none; }

.ml-nav__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.1rem 0.2rem;
	margin: 0;
	padding: 0;
}
.ml-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding-inline: 0.9rem;
	color: var(--ml-ink);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	border-radius: 999px;
	transition: background-color 0.3s, color 0.3s;
}
.ml-nav__list a:hover { background: rgba(34, 20, 42, 0.06); color: var(--ml-ink); }
.ml-nav__list a[aria-current="page"],
.ml-nav__list .current-menu-item > a,
.ml-nav__list .current-menu-ancestor > a { background: var(--ml-blush); color: var(--ml-berry-deep); }
.ml-nav__note { display: none; }

.ml-header__cta {
	display: none;
	align-items: center;
	min-height: 46px;
	padding: 0 1.35rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--ml-cream);
	text-decoration: none;
	background: var(--ml-ink);
	border-radius: 99px;
	transition: background-color 0.4s var(--ml-ease);
}
.ml-header__cta:hover { color: #fff; background: var(--ml-berry); }

@media (min-width: 62em) {
	.ml-nav__panel { display: block; }
	.ml-header__cta { display: inline-flex; }
}

/* Mobil bez JS: odkazy sa zalomia do lišty pod značku. */
@media (max-width: 61.99em) {
	.ml-header__inner { flex-wrap: wrap; row-gap: 0; padding: 8px 14px; border-radius: 1.6rem; }
	.ml-nav { width: 100%; margin-left: 0; }
	.ml-nav__list { margin-inline: -0.6rem; }
	.ml-nav__list a { padding-inline: 0.6rem; }

	.ml-js .ml-header__inner { flex-wrap: nowrap; padding: 8px 8px 8px 20px; border-radius: 99px; }
	.ml-js .ml-nav { width: auto; margin-left: auto; }
	.ml-js .ml-nav__toggle {
		display: inline-grid;
		place-items: center;
		width: 46px;
		height: 46px;
		padding: 0;
		color: var(--ml-cream);
		background: var(--ml-ink);
		border: 0;
		border-radius: 50%;
		cursor: pointer;
		position: relative;
		z-index: 3;
		transition: background-color 0.4s var(--ml-ease), color 0.4s var(--ml-ease);
	}
	.ml-js .ml-nav__toggle[aria-expanded="true"] { background: #f6a3c3; color: var(--ml-ink); }
	.ml-nav__toggle-label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
	/* dve čiarky, z ktorých sa po otvorení stane krížik */
	.ml-nav__toggle-icon { position: relative; display: block; width: 18px; height: 8px; }
	.ml-nav__toggle-icon::before,
	.ml-nav__toggle-icon::after {
		content: "";
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.5s var(--ml-ease), top 0.5s var(--ml-ease);
	}
	.ml-nav__toggle-icon::before { top: 0; }
	.ml-nav__toggle-icon::after { top: 6px; }
	.ml-nav__toggle[aria-expanded="true"] .ml-nav__toggle-icon::before { top: 3px; transform: rotate(45deg); }
	.ml-nav__toggle[aria-expanded="true"] .ml-nav__toggle-icon::after { top: 3px; transform: rotate(-45deg); }

	/* Panel sa rozvinie kruhom z tlačidla (stred tlačidla: 43 px sprava, 45 px zhora). */
	.ml-js .ml-nav__panel {
		position: fixed;
		inset: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 6.5rem var(--ml-gutter) 2.5rem;
		color: var(--ml-cream);
		background:
			radial-gradient(28rem 22rem at 100% 0%, rgba(232, 69, 127, 0.28), transparent 70%),
			radial-gradient(26rem 24rem at 0% 100%, rgba(168, 139, 212, 0.3), transparent 70%),
			var(--ml-ink);
		overflow-y: auto;
		clip-path: circle(0 at calc(100% - 43px) 45px);
		visibility: hidden;
		transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.7s;
	}
	.ml-menu-open.ml-js .ml-nav__panel {
		clip-path: circle(150% at calc(100% - 43px) 45px);
		visibility: visible;
		transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.2, 1);
	}
	.ml-js .ml-nav__list { flex-direction: column; gap: 0; margin-inline: 0; }
	.ml-js .ml-nav__list > li {
		opacity: 0;
		transform: translateY(1.2rem);
		transition: opacity 0.3s ease, transform 0.6s var(--ml-ease);
	}
	.ml-menu-open.ml-js .ml-nav__list > li { opacity: 1; transform: none; }
	.ml-menu-open.ml-js .ml-nav__list > li:nth-child(1) { transition-delay: 0.2s; }
	.ml-menu-open.ml-js .ml-nav__list > li:nth-child(2) { transition-delay: 0.26s; }
	.ml-menu-open.ml-js .ml-nav__list > li:nth-child(3) { transition-delay: 0.32s; }
	.ml-menu-open.ml-js .ml-nav__list > li:nth-child(4) { transition-delay: 0.38s; }
	.ml-menu-open.ml-js .ml-nav__list > li:nth-child(5) { transition-delay: 0.44s; }
	.ml-menu-open.ml-js .ml-nav__list > li:nth-child(n + 6) { transition-delay: 0.5s; }
	.ml-js .ml-nav__list a {
		width: 100%;
		min-height: 3.8rem;
		padding-inline: 0;
		font: 400 clamp(2.1rem, 10vw, 3rem)/1.1 var(--ml-serif);
		letter-spacing: -0.02em;
		color: var(--ml-cream);
		border-radius: 0;
	}
	.ml-js .ml-nav__list > li:nth-child(odd) a { color: #f6a3c3; }
	.ml-js .ml-nav__list a:hover { background: none; color: #fff; }
	.ml-js .ml-nav__list a[aria-current="page"],
	.ml-js .ml-nav__list .current-menu-item > a { background: none; font-style: italic; }
	.ml-js .ml-nav__list a[aria-current="page"]::after,
	.ml-js .ml-nav__list .current-menu-item > a::after {
		content: "";
		width: 0.5rem;
		height: 0.5rem;
		margin-left: 0.8rem;
		border-radius: 50%;
		background: currentColor;
	}
	.ml-js .ml-nav__note {
		display: block;
		margin: 2.5rem 0 0;
		font-size: var(--ml-step--1);
		color: rgba(251, 247, 242, 0.62);
		opacity: 0;
		transition: opacity 0.4s ease;
	}
	.ml-menu-open.ml-js .ml-nav__note { opacity: 1; transition-delay: 0.55s; }
}

/* Kým je menu otvorené, značka a tlačidlo sú nad panelom a svietia na tmavom. */
html.ml-menu-open .ml-header { z-index: 90; }
html.ml-menu-open .ml-header .ml-brand,
html.ml-menu-open .ml-header .ml-brand:hover { color: var(--ml-cream); }
html.ml-menu-open .ml-header .ml-brand svg,
html.ml-menu-open .ml-header .ml-brand__name em { color: #f6a3c3; }

/* ---------- Sekcie ---------- */
main { display: block; }

/* Vnútorné stránky: jemný farebný nádych pod hlavičkou, nikdy za textom na čítanie. */
.ml-main { position: relative; isolation: isolate; }
.ml-main::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: min(30rem, 75vh);
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(40rem 20rem at 92% 0%, rgba(232, 94, 150, 0.2), transparent 70%),
		radial-gradient(36rem 22rem at 0% 0%, rgba(168, 139, 212, 0.3), transparent 70%),
		radial-gradient(28rem 16rem at 55% 0%, rgba(26, 154, 146, 0.12), transparent 70%);
}
.home .ml-main::before { display: none; }
.post-type-archive-ml_poem .ml-main::before,
.tax-ml_cycle .ml-main::before,
.single-ml_poem .ml-main::before {
	background: radial-gradient(46rem 24rem at 50% 0%, rgba(168, 139, 212, 0.32), transparent 72%);
}

.ml-section { padding-block: var(--ml-space-s); }
.ml-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: clamp(1.25rem, 2.5vw, 2.5rem);
}
.ml-section__head h2 { margin: 0; }
.ml-section__head .ml-eyebrow { margin-bottom: 0.75rem; }

.ml-page-head { padding-block: clamp(1.75rem, 5vw, 5rem) clamp(1rem, 3vw, 3rem); }
.ml-page-head h1 { margin-bottom: 0.4em; }
.ml-page-head--wide .ml-lead { max-width: 36em; }

.ml-breadcrumb { padding-block: 1.25rem 0; font-size: var(--ml-step--1); color: var(--ml-ink-soft); }
.ml-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; margin: 0; padding: 0; }
.ml-breadcrumb li + li::before { content: "/"; margin-right: 0.6rem; color: var(--ml-ink-soft); }
.ml-breadcrumb a { color: var(--ml-ink-soft); }
.ml-breadcrumb a:hover { color: var(--ml-berry-deep); }
.ml-breadcrumb span[aria-hidden] { color: var(--ml-lilac-deep); margin-inline: 0.2rem; }

/* ---------- Karty a mozaika ----------
 * Karta je dlaždica vo farbe plátna fotografie – fotka s ňou splynie
 * a produkt „leží" na karte. Každá tretia karta má inú farbu stehu.
 */
.ml-mosaic { list-style: none; display: grid; gap: clamp(2rem, 3.5vw, 3rem) var(--ml-gutter); }

.ml-card {
	--ml-accent: var(--ml-berry-deep);
	--ml-tint: var(--ml-blush);
	--ml-card-r: 1.75rem;
	--ml-card-media-r: 1.25rem;
	position: relative;
	margin: 0;
	padding: 0.6rem;
	background: var(--ml-tint);
	border-radius: var(--ml-card-r);
	box-shadow: 0 30px 60px -40px rgba(34, 20, 42, 0.45);
	transition: transform 0.5s var(--ml-ease), box-shadow 0.5s var(--ml-ease);
}
.ml-card:nth-child(3n + 2) { --ml-accent: var(--ml-teal-deep); --ml-tint: var(--ml-teal-soft); }
.ml-card:nth-child(3n) { --ml-accent: var(--ml-lilac-deep); --ml-tint: var(--ml-lilac-soft); }
.ml-card__media { display: block; border-radius: var(--ml-card-media-r); overflow: hidden; background: var(--ml-canvas); }
.ml-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--ml-canvas); transition: transform 0.9s var(--ml-ease); }
.ml-card__body { padding: 0.9rem 0.6rem 0.5rem; }
.ml-card__meta {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ml-accent);
	margin: 0 0 0.25rem;
}
.ml-card__title { font-size: var(--ml-step-1); margin: 0 0 0.25rem; }
.ml-card__title a { color: var(--ml-ink); text-decoration: none; }
.ml-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--ml-card-r); }
.ml-card:hover .ml-card__title a { color: var(--ml-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ml-card__text { color: var(--ml-ink-soft); font-size: max(0.9rem, var(--ml-step--1)); line-height: 1.6; margin: 0; }
.ml-card:focus-within { outline: 3px solid var(--ml-focus); outline-offset: 4px; }
.ml-card:focus-within a:focus-visible { outline: none; }
@media (hover: hover) {
	.ml-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -34px rgba(34, 20, 42, 0.55); }
	.ml-card:hover .ml-card__media img { transform: scale(1.025); }
}

.ml-tag {
	display: inline-block;
	margin-top: 0.4rem;
	padding: 0.1rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ml-berry-deep);
	background: var(--ml-blush);
	border-radius: 999px;
}

/* mobil: kompaktná mriežka; prvý výrobok zostáva dominantný, DOM poradie sa nemení */
@media (max-width: 39.99em) {
	.ml-mosaic { gap: 1.5rem 0; }
	.ml-card { --ml-card-r: 1.25rem; --ml-card-media-r: 0.85rem; padding: 0.4rem; }
	.ml-card__body { padding: 0.6rem 0.4rem 0.35rem; }
	.ml-card__title { font-size: 1.1rem; line-height: 1.22; margin-bottom: 0.15rem; }
	.ml-card__meta { font-size: 0.68rem; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
	.ml-card__text { display: none; }
	.ml-tag { margin-top: 0.25rem; font-size: 0.66rem; }
}
@media (max-width: 22.49em) {
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card { width: 84%; margin-inline: auto; }
}
@media (min-width: 22.5em) and (max-width: 39.99em) {
	.ml-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 0.8rem; }
	.ml-mosaic > .ml-card:first-child { grid-column: 1 / -1; }
	.ml-mosaic > .ml-card:first-child .ml-card__title { font-size: var(--ml-step-1); }
	.ml-mosaic > .ml-card:first-child .ml-card__body { padding-inline: 1rem; }
}

/* mobil: „Ďalšie práce" ako CSS scroll-snap pás bez JavaScriptu */
@media (max-width: 39.99em) {
	.ml-mosaic--related {
		display: flex;
		gap: 0.9rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		margin-inline: calc(var(--ml-gutter) * -1);
		padding: 0.5rem var(--ml-gutter) 1.25rem;
		scroll-padding-inline: var(--ml-gutter);
	}
	.ml-mosaic--related > .ml-card { flex: 0 0 min(72vw, 17rem); scroll-snap-align: start; }
	.ml-mosaic--related > .ml-card:focus-within { outline-offset: 3px; }
	.ml-mosaic--related .ml-card__title { font-size: var(--ml-step-0); }
}

@media (min-width: 40em) and (max-width: 61.99em) {
	.ml-mosaic { grid-template-columns: repeat(2, 1fr); }
	.ml-mosaic > .ml-card:nth-child(n) { width: auto; margin: 0; }
	.ml-mosaic > .ml-card:nth-child(even) { margin-top: 3rem; }
	.ml-mosaic--related { grid-template-columns: repeat(3, 1fr); }
	.ml-mosaic--related > .ml-card:nth-child(n) { margin-top: 0; }
}

@media (min-width: 62em) {
	.ml-mosaic { grid-template-columns: repeat(12, 1fr); align-items: start; }
	.ml-mosaic > .ml-card:nth-child(n) { width: auto; margin: 0; }
	.ml-mosaic > .ml-card:nth-child(6n + 1) { grid-column: 1 / span 6; }
	.ml-mosaic > .ml-card:nth-child(6n + 2) { grid-column: 8 / span 5; margin-top: 4rem; }
	.ml-mosaic > .ml-card:nth-child(6n + 3) { grid-column: 2 / span 4; }
	.ml-mosaic > .ml-card:nth-child(6n + 4) { grid-column: 7 / span 6; margin-top: 2rem; }
	.ml-mosaic > .ml-card:nth-child(6n + 5) { grid-column: 1 / span 5; }
	.ml-mosaic > .ml-card:nth-child(6n) { grid-column: 7 / span 5; margin-top: 3.5rem; }

	/* Osamotená posledná karta sa stane širokým „portrétom" namiesto siroty. */
	.ml-mosaic > .ml-card:last-child:nth-child(odd):not(:only-child) {
		grid-column: 3 / span 8;
		margin-top: 0;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		align-items: center;
	}
	.ml-mosaic > .ml-card:last-child:nth-child(odd):not(:only-child) .ml-card__media { border-radius: var(--ml-card-media-r); }
	.ml-mosaic > .ml-card:last-child:nth-child(odd):not(:only-child) .ml-card__body { padding: 1.5rem 2rem 1.5rem 0; }
	.ml-mosaic > .ml-card:only-child { grid-column: 4 / span 6; }


	.ml-mosaic--related { grid-template-columns: repeat(3, 1fr); }
	.ml-mosaic--related > .ml-card:nth-child(n) { grid-column: auto; margin-top: 0; }
	.ml-mosaic--related > .ml-card:nth-child(2) { margin-top: 2.5rem; }
	.ml-mosaic--related > .ml-card:last-child:nth-child(odd):not(:only-child) { display: block; grid-column: auto; }

	.ml-mosaic--related > .ml-card:last-child:nth-child(odd):not(:only-child) .ml-card__media { border-radius: var(--ml-card-media-r); }
	.ml-mosaic--related > .ml-card:last-child:nth-child(odd):not(:only-child) .ml-card__body { padding: 0.9rem 0.6rem 0.5rem; }
}

/* katalóg (Tvorba, kategórie) od tabletu: hustejšia, stále asymetrická galéria.
   Štvorcový výrez fotku neorezáva – celý výrobok sa zmestí na plátno karty. */
@media (min-width: 40em) {
	.ml-mosaic:not(.ml-mosaic--related) { row-gap: clamp(2rem, 3vw, 2.75rem); }
	.ml-mosaic:not(.ml-mosaic--related) .ml-card__media img { aspect-ratio: 1; }
	.ml-mosaic:not(.ml-mosaic--related) .ml-card__text {
		font-size: clamp(0.95rem, 0.88rem + 0.25vw, 1.0625rem);
		line-height: 1.55;
	}
}
@media (min-width: 40em) and (max-width: 61.99em) {
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:nth-child(even) { margin-top: 1.5rem; }
}
@media (min-width: 62em) {
	/* tri výrobky v rade: 5/4/3 a zrkadlovo 3/4/5 stĺpcov s jemným posunom */
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card { grid-column: var(--ml-span); margin-top: var(--ml-drop, 0); }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:nth-child(6n + 1) { --ml-span: 1 / span 5; }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:nth-child(6n + 2) { --ml-span: 6 / span 4; --ml-drop: 2.5rem; }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:nth-child(6n + 3) { --ml-span: 10 / span 3; --ml-drop: 1rem; }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:nth-child(6n + 4) { --ml-span: 1 / span 3; --ml-drop: 1.5rem; }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:nth-child(6n + 5) { --ml-span: 4 / span 4; }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:nth-child(6n) { --ml-span: 8 / span 5; --ml-drop: 2.5rem; }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:only-child { --ml-span: 4 / span 6; }

	/* pri troch v rade nie je nepárna posledná karta sirotou… */
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:last-child:nth-child(odd):not(:only-child) {
		display: block;
		grid-column: var(--ml-span);
		margin-top: var(--ml-drop, 0);
	}
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:last-child:not(:only-child) .ml-card__media { border-radius: var(--ml-card-media-r); }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:last-child:not(:only-child) .ml-card__body { padding: 0.9rem 0.6rem 0.5rem; }
	/* …sirotou je až samotná karta v poslednom rade */
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:last-child:nth-child(3n + 1):not(:only-child) {
		grid-column: 3 / span 8;
		margin-top: 0;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		align-items: center;
	}
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:last-child:nth-child(3n + 1):not(:only-child) .ml-card__media { border-radius: var(--ml-card-media-r); }
	.ml-mosaic:not(.ml-mosaic--related) > .ml-card:last-child:nth-child(3n + 1):not(:only-child) .ml-card__body { padding: 1.5rem 2rem 1.5rem 0; }
}

/* ---------- Filter ---------- */
.ml-filter-wrap { margin-bottom: clamp(1.25rem, 3.5vw, 3rem); }
.ml-filter { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ml-filter a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding-inline: 1.05rem;
	color: var(--ml-ink);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.7);
	border: 1.5px solid var(--ml-line);
	border-radius: 999px;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ml-ease);
}
.ml-filter a:hover { color: var(--ml-berry-deep); background: var(--ml-blush); border-color: rgba(194, 24, 91, 0.35); }
.ml-filter a:active { transform: scale(0.97); }
.ml-filter a[aria-current="page"] { color: #fff; background: var(--ml-berry-grad); border-color: transparent; box-shadow: 0 6px 14px -8px rgba(179, 20, 79, 0.7); }

/* ---------- Portrét ---------- */
/* pôvodná fotografia, za ňou posunutá farebná plocha */
.ml-portrait { position: relative; margin: 0 1rem 1rem 0; width: min(22rem, 78%); isolation: isolate; }
.ml-portrait::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 1rem -1rem -1rem 1rem;
	border-radius: var(--ml-radius-l);
	background: linear-gradient(145deg, var(--ml-lilac) 0%, #e27aa6 100%);
}
.ml-portrait img { width: 100%; border-radius: var(--ml-radius-l); box-shadow: var(--ml-shadow-s); }
@media (min-width: 62em) {
	.ml-portrait { width: calc(100% - 1rem); }
}

/* ---------- Detail diela ---------- */
.ml-single { padding-bottom: var(--ml-space-s); }
.ml-single__grid { display: grid; gap: 1.5rem; padding-top: 1rem; }
.ml-gallery__main {
	margin: 0;
	background: var(--ml-canvas);
	border-radius: var(--ml-radius-l);
	overflow: hidden;
	box-shadow: var(--ml-shadow-m);
}
.ml-gallery__main img { width: 100%; }
.ml-gallery__thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.ml-gallery__thumbs button {
	display: block;
	width: 4.5rem;
	padding: 0;
	background: var(--ml-canvas);
	border: 2px solid transparent;
	border-radius: var(--ml-radius);
	overflow: hidden;
	cursor: pointer;
	min-height: 2.75rem;
	box-shadow: var(--ml-shadow-s);
	transition: transform 0.2s var(--ml-ease), border-color 0.2s;
}
.ml-gallery__thumbs button:hover { transform: translateY(-2px); border-color: var(--ml-lilac); }
.ml-gallery__thumbs button:active { transform: scale(0.96); }
.ml-gallery__thumbs button[aria-current="true"] { border-color: var(--ml-berry); }
.ml-gallery__thumbs img { width: 100%; }
.ml-single__body h1 { font-size: var(--ml-step-2); }
.ml-single__body .ml-lead { font-size: var(--ml-step-0); }
.ml-note {
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	padding: 0.9rem 1.1rem;
	border-left: 3px solid var(--ml-teal);
	border-radius: 0 var(--ml-radius) var(--ml-radius) 0;
	background: var(--ml-teal-soft);
	font-size: var(--ml-step--1);
	color: var(--ml-ink-soft);
	max-width: 32rem;
}
@media (min-width: 62em) {
	.ml-single__grid { grid-template-columns: 7fr 4fr; column-gap: 6rem; align-items: start; }
	.ml-gallery { position: sticky; top: calc(var(--ml-header-h) + 1.5rem); }
	.ml-single__body { padding-top: 3rem; }
}
.ml-single .ml-section { padding-top: var(--ml-space-s); padding-bottom: 0; }
.ml-single .ml-section h2 { margin-bottom: 0.5em; }
@media (min-width: 62em) {
	.ml-single { padding-bottom: 0; }
	.ml-single .ml-section { padding-block: var(--ml-space) 0; }
	.ml-single .ml-section h2 { margin-bottom: 0.6em; }
	.ml-single__grid { gap: 2rem 6rem; padding-top: 1.5rem; }
}

/* ---------- Text (prose) ---------- */
.ml-prose { max-width: 38rem; }
.ml-prose > :last-child { margin-bottom: 0; }
.ml-prose--dropcap > p:first-child::first-letter {
	font-family: var(--ml-serif);
	float: left;
	font-size: 4.2em;
	line-height: 0.85;
	padding: 0.06em 0.12em 0 0;
	color: var(--ml-berry);
}
.ml-figure { margin: 2rem 0; }

/* ---------- Básne: pokojné čítanie na bielom liste ---------- */
.ml-poems { list-style: none; display: grid; gap: 1rem; }
.ml-poem-card {
	--ml-accent-bar: var(--ml-lilac);
	position: relative;
	padding: 1.5rem 1.5rem 1.4rem 1.75rem;
	background: var(--ml-white);
	border: 1px solid #efe5f5;
	border-radius: var(--ml-radius-l);
	box-shadow: inset 4px 0 0 var(--ml-accent-bar), 0 10px 24px -18px rgba(94, 63, 143, 0.45);
	transition: transform 0.35s var(--ml-ease), box-shadow 0.35s var(--ml-ease);
}
.ml-poem-card:nth-child(3n + 2) { --ml-accent-bar: #e27aa6; }
.ml-poem-card:nth-child(3n) { --ml-accent-bar: var(--ml-teal); }
.ml-poem-card h2 { font-size: var(--ml-step-2); margin-bottom: 0.3em; }
.ml-poem-card h2 a { color: var(--ml-ink); text-decoration: none; }
.ml-poem-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--ml-radius-l); }
.ml-poem-card h2 a:hover,
.ml-poem-card h2 a:focus-visible { color: var(--ml-lilac-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ml-poem-card:hover h2 a { color: var(--ml-lilac-deep); }
.ml-poem-card:focus-within { outline: 3px solid var(--ml-focus); outline-offset: 3px; }
.ml-poem-card:focus-within a:focus-visible { outline: none; }
@media (hover: hover) {
	.ml-poem-card:hover { transform: translateY(-3px); box-shadow: inset 4px 0 0 var(--ml-accent-bar), 0 18px 30px -18px rgba(94, 63, 143, 0.55); }
}
.ml-poem-card__peek { font-family: var(--ml-serif); font-style: italic; color: var(--ml-ink-soft); }
.ml-poem-card__peek p { margin: 0 0 0.4em; }
.ml-poem__date { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ml-ink-soft); margin: 0.5rem 0 0; }
.ml-poem__cycle { margin-left: 0.8rem; }

.ml-poem__sheet { padding-block: 1rem 3rem; }
.ml-poem__sheet--single {
	text-align: center;
	margin-top: 1rem;
	padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem);
	background: var(--ml-white);
	border: 1px solid #efe5f5;
	border-radius: clamp(1rem, 3vw, 1.75rem);
	box-shadow: 0 30px 50px -36px rgba(94, 63, 143, 0.55);
}
.ml-poem__sheet--single h1 { font-size: var(--ml-step-3); margin-bottom: 0.2em; }
.ml-poem__sheet--single::after {
	content: "";
	display: block;
	width: 4.5rem;
	margin: 2.5rem auto 0;
	border-top: 2px dashed rgba(94, 63, 143, 0.35);
}
.ml-poem__text {
	max-width: 30rem;
	margin: 2.5rem auto 0;
	text-align: left;
	font-family: var(--ml-serif);
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.45rem);
	line-height: 1.65;
	color: var(--ml-ink);
}
.ml-poem__text p { margin: 0 0 1.5em; }
.ml-poem__sign { font-family: var(--ml-serif); font-style: italic; color: var(--ml-berry-deep); margin-top: 2rem; }

.ml-adjacent { display: grid; gap: 0.75rem; padding-block: 2rem; }
.ml-adjacent__link {
	display: block;
	text-decoration: none;
	color: var(--ml-ink);
	padding: 0.85rem 1.2rem;
	min-height: 2.75rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid #efe5f5;
	border-radius: var(--ml-radius-l);
	transition: transform 0.25s var(--ml-ease), border-color 0.25s, background-color 0.25s;
}
.ml-adjacent__link span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ml-lilac-deep); }
.ml-adjacent__link strong { font: 400 var(--ml-step-1) var(--ml-serif); }
.ml-adjacent__link:hover { color: var(--ml-ink); background: var(--ml-lilac-soft); border-color: var(--ml-lilac); }
.ml-adjacent__link:hover strong { color: var(--ml-lilac-deep); }
.ml-adjacent__link:active { transform: scale(0.98); }
@media (min-width: 40em) {
	.ml-adjacent { grid-template-columns: 1fr 1fr; }
	.ml-adjacent__link--next { text-align: right; grid-column: 2; }
}

/* ---------- O Mile ---------- */
.ml-about { display: grid; gap: 2.5rem; padding-block: clamp(2rem, 5vw, 4rem); }
.ml-about .ml-portrait { width: min(22rem, 78%); }
.ml-about .ml-portrait::before { background: linear-gradient(145deg, var(--ml-teal) 0%, var(--ml-lilac) 100%); }
.ml-about__text h1 { font-size: var(--ml-step-2); }
@media (min-width: 62em) {
	.ml-about { grid-template-columns: 5fr 6fr; column-gap: 7rem; align-items: start; }
	.ml-about .ml-portrait { width: calc(100% - 1rem); position: sticky; top: calc(var(--ml-header-h) + 2rem); }
	.ml-about__text { padding-top: 3rem; }
}

/* ---------- Na želanie ---------- */
.ml-path { display: none; }
.ml-steps {
	list-style: none;
	counter-reset: step;
	position: relative;
	padding-left: 3.25rem;
	margin-block: 1rem 3rem;
	border-left: 2px dashed rgba(26, 154, 146, 0.55);
	margin-left: 1.1rem;
}
.ml-steps li { counter-increment: step; position: relative; padding-bottom: 2.5rem; }
.ml-steps li:last-child { padding-bottom: 0; }
.ml-steps li::before {
	content: counter(step);
	position: absolute;
	left: -4.6rem;
	top: -0.2rem;
	width: 2.6rem;
	height: 2.6rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font: 600 1.05rem var(--ml-serif);
	color: #fff;
	background: var(--ml-berry-grad);
	box-shadow: 0 0 0 5px var(--ml-cream), 0 8px 16px -8px rgba(143, 16, 67, 0.7);
}
.ml-steps li:nth-child(3n + 2)::before { background: linear-gradient(135deg, #7b5bb3, var(--ml-lilac-deep)); box-shadow: 0 0 0 5px var(--ml-cream), 0 8px 16px -8px rgba(94, 63, 143, 0.7); }
.ml-steps li:nth-child(3n)::before { background: linear-gradient(135deg, #14867f, var(--ml-teal-deep)); box-shadow: 0 0 0 5px var(--ml-cream), 0 8px 16px -8px rgba(11, 99, 96, 0.7); }
.ml-steps h2 { font-size: var(--ml-step-1); margin-bottom: 0.3em; }
.ml-steps p { color: var(--ml-ink-soft); margin: 0; }

/* ---------- Kontakt a formulár ---------- */
.ml-contact { display: grid; gap: 2rem; }
.ml-contact__form {
	min-width: 0;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	background: var(--ml-white);
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius-l);
	box-shadow: var(--ml-shadow-s);
}
.ml-contact__direct {
	--ml-focus: var(--ml-berry-deep);
	padding: clamp(1.25rem, 4vw, 2rem);
	color: var(--ml-ink-soft);
	font-size: var(--ml-step--1);
	background:
		radial-gradient(16rem 12rem at 100% 0%, rgba(168, 139, 212, 0.3), transparent 70%),
		var(--ml-teal-soft);
	border-radius: var(--ml-radius-l);
}
.ml-contact__direct h2 { font-size: var(--ml-step-1); margin-top: 2rem; color: var(--ml-ink); }
.ml-contact__direct h2:first-child { margin-top: 0; }
.ml-contact__direct a { color: var(--ml-teal-deep); font-weight: 600; }
.ml-contact__direct a:hover { color: var(--ml-ink); }
.ml-links { list-style: none; }
.ml-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 62em) {
	.ml-contact { grid-template-columns: 7fr 4fr; column-gap: 4rem; align-items: start; }
	.ml-contact__direct { position: sticky; top: calc(var(--ml-header-h) + 2rem); }
}

.ml-form__group { border: 0; border-top: 2px dashed var(--ml-line); padding: 1.25rem 0 0.5rem; margin: 0 0 1.5rem; min-width: 0; }
.ml-form__group legend { font: 400 var(--ml-step-1) var(--ml-serif); padding-right: 1rem; }
.ml-form__row { margin-bottom: 1.25rem; }
.ml-form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.ml-form .ml-optional { font-weight: 400; }
.ml-form input[type="text"], .ml-form input[type="email"], .ml-form input[type="tel"],
.ml-form input[type="date"], .ml-form textarea, .ml-input {
	width: 100%;
	min-height: 3rem;
	padding: 0.7rem 0.9rem;
	font: inherit;
	color: var(--ml-ink);
	background: #fff;
	border: 1.5px solid var(--ml-field);
	border-radius: var(--ml-radius);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.ml-form input:hover, .ml-form textarea:hover, .ml-input:hover { border-color: var(--ml-lilac-deep); }
.ml-form input:focus, .ml-form textarea:focus, .ml-input:focus { border-color: var(--ml-teal-deep); box-shadow: 0 0 0 4px rgba(26, 154, 146, 0.18); }
.ml-form textarea { min-height: 9rem; resize: vertical; }
.ml-form__row--error input, .ml-form__row--error textarea { border-color: var(--ml-error); border-width: 2px; }
.ml-form__error { display: block; margin-top: 0.35rem; color: var(--ml-error); font-weight: 600; font-size: var(--ml-step--1); }
.ml-form__error::before { content: "! "; }

.ml-form__row--consent { padding: 1rem; background: var(--ml-lilac-soft); border-radius: var(--ml-radius); }
.ml-form .ml-form__consent { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 400; margin: 0; }
.ml-form__consent input { width: 1.5rem; height: 1.5rem; flex: none; margin-top: 0.15rem; accent-color: var(--ml-berry); }
.ml-form__note { color: var(--ml-ink-soft); font-size: var(--ml-step--1); margin-top: 1rem; }
.ml-form__actions { margin-top: 0.5rem; }
.ml-form__trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ml-form__product { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding: 0.75rem; background: var(--ml-canvas); border-radius: var(--ml-radius); }
.ml-form__product img { width: 4rem; height: auto; border-radius: 0.5rem; }
.ml-form__product p { margin: 0; }

.ml-message {
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	background: var(--ml-teal-soft);
	border-left: 4px solid var(--ml-teal);
	border-radius: 0 var(--ml-radius) var(--ml-radius) 0;
}
.ml-message--error { border-left-color: var(--ml-error); background: #fbe3e7; color: #4c0f18; }
.ml-message--preview { border-left-color: var(--ml-lilac-deep); background: var(--ml-lilac-soft); }
.ml-form fieldset[disabled] { border: 0; padding: 0; margin: 0; min-width: 0; opacity: 0.55; }

/* ---------- Novinky, hľadanie, prázdne stavy ---------- */
.ml-news { list-style: none; }
.ml-news__item { padding-block: 1.75rem; border-top: 2px dashed var(--ml-line); display: grid; gap: 1rem; }
.ml-news__item h2 { font-size: var(--ml-step-1); }
.ml-news__item h2 a { color: var(--ml-ink); text-decoration: none; }
.ml-news__item h2 a:hover { color: var(--ml-berry-deep); text-decoration: underline; }
.ml-news__media img { width: 100%; border-radius: var(--ml-radius-l); }
.ml-empty { color: var(--ml-ink-soft); padding-block: 2rem; }
.ml-search { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.5rem; }
.ml-search .ml-input { flex: 1 1 14rem; width: auto; }
.ml-label { font-weight: 600; }
.ml-pagination { padding-block: 2.5rem 0; }
.ml-pagination .nav-links, .ml-pagination ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.ml-pagination a, .ml-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.9rem; border-radius: 999px; }
.ml-pagination a { background: rgba(255, 255, 255, 0.7); border: 1.5px solid var(--ml-line); text-decoration: none; }
.ml-pagination a:hover { background: var(--ml-blush); }
.ml-pagination .current { background: var(--ml-berry-grad); color: #fff; }

/* ---------- Pätička ---------- */
.ml-footer {
	--ml-focus: #fff;
	position: relative;
	z-index: 1;
	margin-top: var(--ml-space);
	border-radius: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) 0 0;
	color: #f1e6ef;
	background:
		radial-gradient(40rem 22rem at 100% 0%, rgba(194, 24, 91, 0.42), transparent 70%),
		radial-gradient(34rem 20rem at 0% 100%, rgba(26, 154, 146, 0.3), transparent 70%),
		radial-gradient(26rem 18rem at 45% 110%, rgba(168, 139, 212, 0.3), transparent 70%),
		var(--ml-ink);
}
.ml-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.ml-footer a:hover { color: #fff; text-decoration-color: #f7a8c8; }
.ml-footer .ml-wrap { padding-block: clamp(2.75rem, 4vw, 4rem) 1.75rem; }
.ml-footer__top { display: grid; gap: 2rem; }
.ml-footer__name { font: 400 2rem var(--ml-serif); margin: 0 0 0.5rem; color: #fff; }
.ml-footer__name em { color: #f7a8c8; }
.ml-footer__text { color: #e3d3e1; max-width: 26rem; margin: 0; font-size: var(--ml-step--1); }
.ml-footer__col { display: block; }
.ml-footer__col ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.ml-footer__col a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.95rem; }
.ml-footer__note { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 2px dashed rgba(255, 255, 255, 0.2); font-size: 0.8rem; color: #d6c4d3; }
@media (min-width: 48em) {
	.ml-footer__top { grid-template-columns: 1.4fr 1fr 1fr; column-gap: 3rem; }
	.ml-footer__col ul { display: block; }
}

/* ---------- Odkrývanie a pohyb ----------
 * Skrýva sa až vtedy, keď main.js pridá .ml-reveal-ready; ak skript
 * nenabehne, obsah zostáva viditeľný. Posun ide cez vlastnosť `translate`,
 * aby sa nebil so `transform` pri zdvihnutí karty.
 */
.ml-reveal-ready .ml-reveal {
	transition:
		opacity 0.55s ease var(--ml-reveal-delay, 0ms),
		translate 0.6s var(--ml-ease) var(--ml-reveal-delay, 0ms),
		transform 0.35s var(--ml-ease),
		box-shadow 0.35s var(--ml-ease);
}
.ml-reveal-ready .ml-reveal:not(.is-visible) { opacity: 0; translate: 0 1.1rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.ml-reveal-ready .ml-reveal:not(.is-visible) { opacity: 1; translate: none; }
}

/* ---------- Tlač ---------- */
@media print {
	.ml-header, .ml-footer, .ml-skip, .ml-actions, .ml-thread { display: none !important; }
	body { background: #fff; color: #000; }
	.ml-main::before { display: none; }
}
