@layer reset, base, layout, components, utilities;

/* ==========================================================================
   Proměnné
   ========================================================================== */

:root {
	--c-black: #000;
	--c-bg: #0b0b0b;
	--c-panel: #151515;
	--c-panel-2: #1d1d1d;
	--c-line: rgb(255 255 255 / 0.1);
	--c-line-strong: rgb(255 255 255 / 0.25);
	--c-text: #fff;
	--c-muted: rgb(255 255 255 / 0.62);
	--c-gold: #c09f31;
	--c-gold-hover: #d4b13d;
	--c-ok: #4cc36d;
	--c-warn: #e0a020;
	--c-error: #ff6b5b;

	--font: "Palanquin", system-ui, sans-serif;
	--fw-light: 200;
	--fw-regular: 400;
	--fw-bold: 700;

	--header-h: 70px;
	--wrap: 1320px;
	--gutter: clamp(16px, 3vw, 32px);
	--section-space: clamp(48px, 7vw, 88px);
	--radius: 0;
	--ease: cubic-bezier(.2, .7, .2, 1);

	color-scheme: dark;
}

/* ==========================================================================
   Reset
   ========================================================================== */

@layer reset {
	*, *::before, *::after { box-sizing: border-box; }
	* { margin: 0; }
	html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
	body { min-height: 100dvh; }
	img, picture, svg, video, iframe { display: block; max-width: 100%; }
	img { height: auto; }
	input, button, textarea, select { font: inherit; color: inherit; }
	button { cursor: pointer; }
	p, h1, h2, h3, h4 { overflow-wrap: break-word; }
	ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
	[hidden] { display: none !important; }
}

/* ==========================================================================
   Základ
   ========================================================================== */

@layer base {
	body {
		background: var(--c-bg);
		color: var(--c-text);
		font-family: var(--font);
		font-weight: var(--fw-light);
		font-size: 17px;
		line-height: 1.6;
		-webkit-font-smoothing: antialiased;
	}

	h1, h2, h3, h4 {
		font-weight: var(--fw-bold);
		line-height: 1.15;
		text-wrap: balance;
	}

	p { text-wrap: pretty; }

	a {
		color: inherit;
		text-decoration-thickness: 1px;
		text-underline-offset: 3px;
		transition: color .2s;

		&:hover { color: var(--c-gold); }
	}

	strong, b { font-weight: var(--fw-bold); }

	:focus-visible {
		outline: 2px solid var(--c-gold);
		outline-offset: 2px;
	}

	::selection { background: var(--c-gold); color: var(--c-black); }
}

/* ==========================================================================
   Rozvržení: záhlaví, patička, obal obsahu
   ========================================================================== */

@layer layout {
	.wrap {
		width: min(100% - 2 * var(--gutter), var(--wrap));
		margin-inline: auto;
	}

	.site-main { padding-top: var(--header-h); }
	.home .site-main { padding-top: 0; }

	.skip-link {
		position: absolute;
		top: -100px;
		left: 16px;
		z-index: 100;
		padding: 8px 16px;
		background: var(--c-gold);
		color: var(--c-black);
		font-weight: var(--fw-bold);

		&:focus { top: 8px; }
	}

	/* Záhlaví */
	.site-header {
		position: fixed;
		inset: 0 0 auto;
		z-index: 50;
		display: flex;
		align-items: center;
		gap: 20px;
		height: var(--header-h);
		padding: 15px 20px;
		background: var(--c-black);
		transition: transform .5s var(--ease);

		&.is-hidden { transform: translateY(-100%); }

		.admin-bar & { top: var(--wp-admin--admin-bar--height, 32px); }
	}

	.site-header__logo {
		flex: 0 0 10%;
		min-width: 120px;

		img { width: auto; height: 40px; }
	}

	.site-nav { flex: 1; }

	.site-nav__list {
		display: flex;
		justify-content: space-around;
		align-items: center;
		padding: 0;
		list-style: none;
	}

	.site-nav__item { position: static; }

	.site-nav__link {
		display: block;
		font-size: 18px;
		line-height: 40px;
		text-decoration: none;

		&[aria-current] { color: var(--c-gold); font-weight: var(--fw-bold); }
	}

	.site-nav__expand { display: none; }
	.site-nav__sub { display: none; }

	.site-header__lang {
		flex: 0 0 10%;
		font-size: 18px;
		text-align: center;
		text-decoration: none;
	}

	.site-header__toggle { display: none; }

	/* Rozbalovací nabídka produktů */
	.mega {
		position: fixed;
		inset: var(--header-h) 0 auto;
		visibility: hidden;
		opacity: 0;
		background: var(--c-black);
		border-top: 1px solid var(--c-line);
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
	}

	.has-mega:is(:hover, :focus-within) .mega,
	.mega.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}

	.mega__inner {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		gap: 24px;
		width: min(100% - 2 * var(--gutter), 1100px);
		margin-inline: auto;
		padding-block: 28px 20px;
	}

	.mega__title {
		margin-bottom: 8px;
		font-size: 13px;
		font-weight: var(--fw-bold);
		letter-spacing: .14em;
		text-transform: uppercase;

		a { color: var(--c-gold); text-decoration: none; }
	}

	.mega__column ul {
		padding: 0;
		list-style: none;
		font-size: 16px;
		line-height: 1.9;

		a { text-decoration: none; }
		a[aria-current] { color: var(--c-gold); }
	}

	.mega__seasons {
		display: flex;
		justify-content: center;
		gap: 32px;
		padding: 14px var(--gutter);
		border-top: 1px solid var(--c-line);
		list-style: none;
		font-size: 14px;
		letter-spacing: .12em;
		text-transform: uppercase;

		a { text-decoration: none; }
	}

	@media (max-width: 900px) {
		:root { --header-h: 60px; }

		.site-header { padding: 10px 16px; justify-content: space-between; }
		.site-header__logo { flex: 0 0 auto; }
		.site-header__logo img { height: 34px; }
		.site-header__lang { flex: 0 0 auto; margin-left: auto; }

		.site-header__toggle {
			display: grid;
			place-items: center;
			width: 44px;
			height: 44px;
			padding: 0;
			border: 0;
			background: none;
			color: var(--c-text);

			.icon--close { display: none; }

			&[aria-expanded="true"] {
				.icon--open { display: none; }
				.icon--close { display: block; }
			}
		}

		.site-nav {
			position: fixed;
			inset: var(--header-h) 0 0;
			overflow-y: auto;
			overscroll-behavior: contain;
			visibility: hidden;
			opacity: 0;
			background: var(--c-black);
			transition: opacity .2s, visibility 0s .2s;

			&.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
		}

		.site-nav__list { display: block; padding: 8px 0 32px; }

		.site-nav__item {
			display: grid;
			grid-template-columns: 1fr auto;
			border-bottom: 1px solid var(--c-line);
		}

		.site-nav__link { padding: 10px var(--gutter); font-size: 20px; line-height: 1.5; }

		.site-nav__expand {
			display: grid;
			place-items: center;
			width: 56px;
			border: 0;
			background: none;
			color: var(--c-text);

			.icon { transition: transform .2s; }
			&[aria-expanded="true"] .icon { transform: rotate(90deg); }
		}

		.mega {
			position: static;
			grid-column: 1 / -1;
			display: none;
			visibility: visible;
			opacity: 1;
			transform: none;
			border: 0;
			background: var(--c-panel);

			&.is-open { display: block; }
		}

		.has-mega:hover .mega:not(.is-open) { display: none; }

		.mega__inner { grid-template-columns: 1fr 1fr; padding-block: 16px; gap: 16px; }
		.mega__seasons { flex-wrap: wrap; justify-content: flex-start; gap: 8px 20px; }
	}

	/* Patička */
	.site-footer {
		border-top: 1px solid var(--c-line);
		background: var(--c-black);
		text-align: center;
	}

	.site-footer__follow { padding: 48px var(--gutter) 32px; }

	.site-footer__claim {
		margin-bottom: 16px;
		color: var(--c-gold);
		font-size: clamp(20px, 2.4vw, 28px);
		font-weight: var(--fw-bold);
		line-height: 1;
		text-transform: uppercase;
	}

	.site-footer__socials {
		display: flex;
		justify-content: center;
		gap: 20px;
		padding: 0;
		list-style: none;

		img { width: 28px; height: 28px; filter: grayscale(1) contrast(1.2); opacity: .8; transition: opacity .2s; }
		a:hover img { opacity: 1; }
	}

	.site-footer__bottom {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 12px 24px;
		padding: 20px var(--gutter);
		border-top: 1px solid var(--c-line);
		color: var(--c-muted);
		font-size: 14px;
		text-align: left;

		ul { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; list-style: none; }
	}
}

/* ==========================================================================
   Komponenty
   ========================================================================== */

@layer components {
	.icon { width: 1.25em; height: 1.25em; flex: none; }

	/* Tlačítka */
	.btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 52px;
		padding: 0 28px;
		border: 1px solid transparent;
		border-radius: var(--radius);
		background: var(--c-panel-2);
		color: var(--c-text);
		font-weight: var(--fw-bold);
		font-size: 16px;
		letter-spacing: .06em;
		text-transform: uppercase;
		text-decoration: none;
		transition: background .2s, color .2s, border-color .2s;

		&:hover { color: inherit; }
		&:disabled { opacity: .5; cursor: not-allowed; }
	}

	.btn--primary {
		background: var(--c-gold);
		color: var(--c-black);

		&:hover { background: var(--c-gold-hover); color: var(--c-black); }
	}

	.btn--ghost {
		background: transparent;
		border-color: var(--c-line-strong);

		&:hover { border-color: var(--c-gold); color: var(--c-gold); }
	}

	.btn--block { width: 100%; }

	/* Nadpis sekce */
	.section-heading {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 16px;
		margin-bottom: 32px;

		h2 {
			font-size: clamp(24px, 3vw, 32px);
			letter-spacing: .02em;
			text-transform: uppercase;
		}

		p { color: var(--c-muted); }
	}

	.eyebrow {
		color: var(--c-gold);
		font-size: 14px;
		font-weight: var(--fw-bold);
		letter-spacing: .16em;
		text-transform: uppercase;
	}

	/* Drobečková navigace */
	.crumbs {
		padding-block: 20px 16px;
		color: var(--c-muted);
		font-size: 14px;

		ol { display: flex; flex-wrap: wrap; padding: 0; list-style: none; }
		li:not(:last-child)::after { content: "/"; margin-inline: 8px; opacity: .6; }
		a { text-decoration: none; }
	}

	/* Text z editoru */
	.prose {
		max-width: 760px;
		color: rgb(255 255 255 / 0.85);
		font-size: 18px;

		> * + * { margin-top: 1em; }
		h2, h3 { margin-top: 1.6em; color: var(--c-text); }
		h2 { font-size: 26px; }
		h3 { font-size: 20px; }
		ul, ol { padding-left: 1.2em; }
		li + li { margin-top: .3em; }
		img { margin-block: 1.5em; }
		a { color: var(--c-gold); }
		blockquote { padding-left: 20px; border-left: 3px solid var(--c-gold); font-style: italic; }
		iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
	}

	/* Karta produktu – průhledné PNG na tmavé ploše */
	.product-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 40px 24px;
		padding: 0;
		list-style: none;

		> li[hidden] { display: none; }
	}

	.product-card {
		--glow: rgb(255 255 255 / 0.06);
		position: relative;
		display: flex;
		flex-direction: column;
		height: 100%;
		color: var(--c-text);
		text-decoration: none;

		&:hover, &:focus-visible {
			--glow: rgb(192 159 49 / 0.22);
			color: var(--c-text);
		}

		&.is-out .product-card__image img { opacity: .55; }
	}

	.product-card__image {
		position: relative;
		display: grid;
		grid-template: minmax(0, 1fr) / minmax(0, 1fr);
		place-items: center;
		aspect-ratio: 1 / 2;
		min-height: 0;
		padding: 8% 8% 14%;
		background:
			radial-gradient(closest-side, var(--glow), transparent) center 46% / 92% 78% no-repeat,
			radial-gradient(closest-side, rgb(0 0 0 / 0.7), transparent) center calc(100% - 14px) / 58% 26px no-repeat,
			linear-gradient(var(--c-panel), var(--c-bg));
		transition: background-size .5s var(--ease);

		img {
			grid-area: 1 / 1;
			width: auto;
			max-width: 100%;
			height: 100%;
			max-height: 500px;
			object-fit: contain;
			filter: drop-shadow(0 18px 18px rgb(0 0 0 / 0.55));
			transition: opacity .35s, translate .5s var(--ease), filter .5s var(--ease);
		}
	}

	.product-card.is-wide .product-card__image { aspect-ratio: 4 / 5; padding: 6% 6% 10%; }

	.product-card__back { opacity: 0; }

	/* Zadní strana prken a lyží je černá obrysová kresba – na tmavé kartě ji invertujeme do bíla. */
	.product-card.is-tall .product-card__image .product-card__back { filter: invert(1) opacity(.85); }

	.product-card:is(:hover, :focus-visible) {
		.product-card__image img { translate: 0 -10px; filter: drop-shadow(0 30px 22px rgb(0 0 0 / 0.6)); }
		&.has-back .product-card__front { opacity: 0; }
		&.has-back .product-card__back { opacity: 1; }
	}

	.product-card__badges {
		position: absolute;
		top: 12px;
		left: 12px;
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.badge {
		padding: 2px 8px;
		background: var(--c-black);
		color: var(--c-text);
		font-size: 12px;
		font-weight: var(--fw-regular);
		border: 1px solid var(--c-line-strong);

		&.is-sale { border-color: var(--c-gold); background: var(--c-gold); color: var(--c-black); font-weight: var(--fw-bold); }
		&.is-out { color: var(--c-muted); }
	}

	.product-card__body {
		display: grid;
		gap: 2px;
		padding: 16px 4px 0;
		border-top: 1px solid var(--c-line);
		transition: border-color .3s;

		.product-card:hover & { border-color: var(--c-gold); }
	}

	.product-card__type {
		color: var(--c-gold);
		font-size: 12px;
		font-weight: var(--fw-bold);
		letter-spacing: .14em;
		text-transform: uppercase;
	}

	.product-card__title {
		font-size: clamp(22px, 2vw, 26px);
		font-style: italic;
		line-height: 1.1;
		text-transform: uppercase;
	}

	.product-card__price {
		margin-top: 6px;
		font-size: 17px;
		font-weight: var(--fw-bold);

		del { margin-right: 6px; color: var(--c-muted); font-weight: var(--fw-regular); }
	}

	.product-card__sizes {
		color: var(--c-muted);
		font-size: 13px;
		font-variant-numeric: tabular-nums;
	}

	/* Filtr výpisu */
	.product-filter {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-bottom: 32px;

		button {
			padding: 8px 16px;
			border: 1px solid var(--c-line-strong);
			background: none;
			font-size: 15px;
			transition: background-color .2s, border-color .2s, color .2s;

			span { margin-left: 4px; color: var(--c-muted); font-size: 13px; }
			&:hover { border-color: var(--c-gold); }

			&[aria-pressed="true"] {
				border-color: var(--c-gold);
				background: var(--c-gold);
				color: var(--c-black);
				font-weight: var(--fw-bold);

				span { color: inherit; }
			}
		}
	}

	@media (max-width: 1000px) {
		.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	}

	@media (max-width: 600px) {
		.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
		.product-card__title { font-size: 19px; }
	}

	@media (prefers-reduced-motion: reduce) {
		.product-card .product-card__image img { transition: opacity .2s; translate: none !important; }
	}

	/* Formuláře */
	.field {
		display: block;
		margin-bottom: 12px;

		> span:first-child {
			display: block;
			margin-bottom: 4px;
			color: var(--c-muted);
			font-size: 13px;
			font-weight: var(--fw-regular);
		}

		.wpcf7-form-control-wrap { display: block; }
	}

	.field-row {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
		gap: 0 12px;
	}

	:is(.field, .addon) :is(input:not([type="checkbox"], [type="radio"]), select, textarea) {
		width: 100%;
		min-height: 48px;
		padding: 10px 14px;
		border: 1px solid rgb(255 255 255 / 0.18);
		border-radius: var(--radius);
		background: #0d0d0d;
		font-size: 16px;
		font-weight: var(--fw-regular);
		transition: border-color .2s;

		&:focus { border-color: var(--c-gold); outline: none; }
		&[aria-invalid="true"] { border-color: var(--c-error); }
	}

	.field textarea { min-height: 96px; resize: vertical; }

	.wpcf7-not-valid-tip {
		display: block;
		margin-top: 4px;
		color: var(--c-error);
		font-size: 13px;
		font-weight: var(--fw-regular);
	}

	.wpcf7-acceptance {
		.wpcf7-list-item { display: block; margin: 0; }

		label {
			display: flex;
			gap: 10px;
			color: var(--c-muted);
			font-size: 13px;
			line-height: 1.45;
		}

		input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--c-gold); }
	}

	.wpcf7-response-output {
		margin-top: 16px;
		padding: 12px 16px;
		border-left: 3px solid var(--c-gold);
		background: var(--c-panel-2);
		font-weight: var(--fw-regular);

		&:empty { display: none; }
	}

	.wpcf7 form.invalid .wpcf7-response-output { border-color: var(--c-error); }
	.wpcf7 form.sent .wpcf7-response-output { border-color: var(--c-ok); }
	.wpcf7-spinner, .hidden-fields-container { display: none; }
	.wpcf7 form.submitting .wpcf7-submit { opacity: .6; pointer-events: none; }

	/* Odesílací tlačítko formuláře je <input>, dlouhý text (např. „…s povinností platby“) se na mobilu musí zalomit. */
	input.btn {
		height: auto;
		padding-block: 12px;
		line-height: 1.35;
		white-space: normal;
		overflow-wrap: break-word;
	}
	.wpcf7-turnstile { margin-block: 12px; }
	.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

	/* Stránka a blog */
	.page-hero {
		padding-block: 32px 40px;

		h1 { font-size: clamp(34px, 5vw, 56px); }
		p { margin-top: 12px; max-width: 720px; color: var(--c-muted); font-size: 18px; }
	}

	.page-body { padding-bottom: var(--section-space); }

	.season-tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-bottom: 8px;

		a {
			padding: 6px 16px;
			border: 1px solid var(--c-line-strong);
			font-size: 14px;
			letter-spacing: .1em;
			text-transform: uppercase;
			text-decoration: none;

			&[aria-current] { border-color: var(--c-gold); color: var(--c-gold); font-weight: var(--fw-bold); }
		}
	}

	.listing-intro {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
		gap: 32px;
		align-items: start;
		margin-bottom: 48px;
	}

	.listing-form {
		max-width: 720px;
		margin-top: 56px;
		padding: clamp(24px, 4vw, 40px);
		background: var(--c-panel);

		h2 { margin-bottom: 20px; }
	}

	.post-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
		gap: 24px;
		padding: 0;
		list-style: none;
	}

	.post-card {
		display: flex;
		flex-direction: column;
		height: 100%;
		background: var(--c-panel);
		text-decoration: none;

		img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
		time { color: var(--c-muted); font-size: 14px; }
		h2, h3 { font-size: 22px; margin-block: 4px 8px; }
		p { color: var(--c-muted); font-size: 16px; }

		&:hover h2, &:hover h3 { color: var(--c-gold); }
	}

	.post-card__body { padding: 20px 24px 24px; }

	.pagination {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 40px;

		.page-numbers {
			display: grid;
			place-items: center;
			min-width: 44px;
			height: 44px;
			padding: 0 12px;
			border: 1px solid var(--c-line-strong);
			text-decoration: none;

			&.current { border-color: var(--c-gold); color: var(--c-gold); }
		}
	}

	/* Cookie lišta a nastavení cookies */
	.consent {
		position: fixed;
		inset: auto 16px 16px;
		z-index: 90;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 16px 32px;
		max-width: 1100px;
		margin-inline: auto;
		padding: 20px 24px;
		border: 1px solid var(--c-line-strong);
		background: var(--c-panel);
		box-shadow: 0 12px 40px rgb(0 0 0 / 0.6);

		&[hidden] { display: none; }
		h2 { margin-bottom: 4px; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
		p { color: var(--c-muted); font-size: 15px; }
		a { color: var(--c-text); }
	}

	.consent__text { flex: 1 1 420px; }

	.consent__actions {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 12px;

		.btn { min-height: 44px; padding-inline: 22px; font-size: 14px; }
	}

	.consent__more, .site-footer__consent {
		padding: 4px 0;
		border: 0;
		background: none;
		color: var(--c-muted);
		font: inherit;
		text-decoration: underline;
		text-underline-offset: 3px;
		cursor: pointer;

		&:hover { color: var(--c-gold); }
	}

	.consent__more { color: var(--c-text); font-size: 14px; }

	.consent-dialog {
		width: min(560px, 100% - 2 * var(--gutter));
		max-height: calc(100dvh - 32px);
		margin: auto;
		padding: 32px 28px 28px;
		border: 0;
		background: var(--c-panel);
		color: var(--c-text);

		&::backdrop { background: rgb(0 0 0 / 0.75); }
		h2 { margin-bottom: 16px; padding-right: 32px; font-size: 22px; text-transform: uppercase; }
	}

	.consent-dialog__group {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 20px;
		padding: 16px 0;
		border-top: 1px solid var(--c-line);
		cursor: pointer;

		strong { display: block; margin-bottom: 4px; }
		small { display: block; color: var(--c-muted); font-size: 14px; line-height: 1.45; }
	}

	.consent-switch {
		appearance: none;
		position: relative;
		flex: none;
		width: 44px;
		height: 24px;
		margin-top: 2px;
		border: 1px solid var(--c-line-strong);
		border-radius: 12px;
		background: var(--c-panel-2);
		cursor: pointer;
		transition: background .2s, border-color .2s;

		&::after {
			content: "";
			position: absolute;
			top: 3px;
			left: 3px;
			width: 16px;
			height: 16px;
			border-radius: 50%;
			background: var(--c-text);
			transition: transform .2s;
		}

		&:checked { border-color: var(--c-gold); background: var(--c-gold); }
		&:checked::after { transform: translateX(20px); background: var(--c-black); }
		&:disabled { opacity: .55; cursor: not-allowed; }
		&:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
	}

	.consent-dialog__actions {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: 12px;
		padding-top: 20px;
		border-top: 1px solid var(--c-line);

		.btn { min-height: 44px; font-size: 14px; }
	}

	.consent-dialog__close {
		position: absolute;
		top: 12px;
		right: 12px;
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--c-text);

		svg { width: 22px; height: 22px; }
		&:hover { color: var(--c-gold); }
	}

	@media (max-width: 560px) {
		.consent { inset: auto 0 0; padding: 16px; border-inline: 0; border-bottom: 0; }
		.consent__actions { width: 100%; }
		.consent__actions .btn { flex: 1 1 0; padding-inline: 12px; }
		.consent__more { width: 100%; text-align: center; }
		.consent-dialog { padding: 28px 20px 20px; }
		.consent-dialog__actions .btn { flex: 1 1 0; }
	}
}

/* ==========================================================================
   Pomocné třídy
   ========================================================================== */

@layer utilities {
	.visually-hidden {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	@media (prefers-reduced-motion: reduce) {
		*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
	}
}
