/* On3OfOn3 – vlastní styly frontu (načítá se v @layout.latte za main.css).
   Dřív ležely jako <style> bloky v jednotlivých šablonách; sekce jsou ve stejném pořadí, v jakém se
   dřív vkládaly do stránky. Všechny selektory jsou omezené na vlastní třídy, takže jeden soubor
   pro celý web nic nerozbije. Cesty k fontům a obrázkům jsou relativní k tomuto souboru. */

/* ========================================================================
   Layout: hlavička, košík v hlavičce, tmavé stránky (htmlClass „is-dark“)
   ======================================================================== */

/* hlavička jede s obsahem, žádné sticky chování (Headroom zůstává bez účinku) */
.l-Header { position: static; padding-top: 1rem; padding-bottom: 1rem; transform: none !important; box-shadow: none !important; }
/* statická hlavička nepotřebuje odsazení obsahu ani pevnou výšku */
.l-Site-inner { padding-block-start: 0; }
.l-Header-inner { height: auto; min-height: 38px; }
.c-Widget-toggler { text-decoration: none; }
/* košík v hlavičce: počet kusů ve čtverečku v obrysu; s víc ciframi se čtvereček rozšíří */
.basket-count { display: inline-flex; text-decoration: none; }
.basket-count-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 0.45em;
	border: 1px solid #17171a;
	border-radius: 0;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	color: #17171a;
	transition: background-color 0.2s, color 0.2s;
}
.basket-count:hover .basket-count-box { background: #17171a; color: #fff; }
.basket-count:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* Tmavá stránka (úvod, detail, Why): htmlClass „is-dark“. Obsah leží nad pozadím
   (video nebo problikávající tvary, position: fixed se z-index 0), hlavička a patička jsou světlé. */
html.is-dark, html.is-dark body { background: #0d0d0e; }
.is-dark .l-Site-inner { position: relative; z-index: 2; min-height: 100svh; }
.is-dark .l-Header, .is-dark .l-Footer { background: transparent; }
.is-dark .l-Site-wrapHeader, .is-dark .l-Site-wrapFooter { position: relative; z-index: 4; }
.is-dark .basket-count-box { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.is-dark .basket-count:hover .basket-count-box { background: #fff; color: #17171a; }
.is-dark .l-Footer, .is-dark .l-Footer .text-muted { color: rgba(255, 255, 255, 0.72) !important; }
.is-dark .l-Footer a { color: #fff; }

/* ========================================================================
   Patička: šipka na úvod, „?“ na stránku Why a TikTok
   ======================================================================== */

.footer-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.4rem;
	margin: 0;
	font-size: 1.15rem;
	line-height: 1;
}
.footer-nav a { color: inherit; }
.footer-home { display: inline-flex; text-decoration: none; }
.footer-home svg { width: 1.15em; height: 1.15em; }
.footer-why {
	text-decoration: none;
	transition: opacity 0.2s;
}
.footer-why:hover { color: inherit; opacity: 0.7; }
.footer-social { display: inline-flex; text-decoration: none; transition: opacity 0.2s; }
.footer-social svg { width: 0.95em; height: 0.95em; }
.footer-social:hover { color: inherit; opacity: 0.7; }
.footer-home:focus-visible, .footer-why:focus-visible, .footer-social:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ========================================================================
   Scramble: písmena a slova v šesti fontech (inc/scramble.latte)
   ======================================================================== */

@font-face { font-family: 'Coral Pixels'; src: url('../fonts/scramble/coral-pixels.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Grenze'; src: url('../fonts/scramble/grenze-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Pirata One'; src: url('../fonts/scramble/pirata-one.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jersey 25'; src: url('../fonts/scramble/jersey-25.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Odibee Sans'; src: url('../fonts/scramble/odibee-sans.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vampiro One'; src: url('../fonts/scramble/vampiro-one.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* Coral Pixels je barevný font (oranžovo-modré pixely) – celou jeho paletu přebarvíme na bílou */
@font-palette-values --scrt-white {
	font-family: 'Coral Pixels';
	override-colors: 0 #fff, 1 #fff, 2 #fff, 3 #fff, 4 #fff, 5 #fff, 6 #fff, 7 #fff, 8 #fff, 9 #fff,
		10 #fff, 11 #fff, 12 #fff, 13 #fff, 14 #fff, 15 #fff, 16 #fff, 17 #fff, 18 #fff, 19 #fff,
		20 #fff, 21 #fff, 22 #fff, 23 #fff, 24 #fff, 25 #fff, 26 #fff, 27 #fff, 28 #fff, 29 #fff, 30 #fff, 31 #fff;
}

.scramble { display: inline-flex; align-items: baseline; }
/* písmena mají vlastní šířku (fonty se liší od 0,4 do 0,85 em), pevná by je překrývala nebo dělala díry */
.scramble-letter {
	display: inline-block;
	margin: 0 0.04em;
	font-weight: 400;
	font-synthesis: none;
	font-palette: --scrt-white;
	letter-spacing: 0;
	text-indent: 0;
}
.rw-word {
	display: inline-block;
	font-weight: 400;
	font-synthesis: none;
	font-palette: --scrt-white;
	letter-spacing: 0.02em;
}
.sf-0 { font-family: 'Coral Pixels', monospace; }
.sf-1 { font-family: 'Grenze', serif; }
.sf-2 { font-family: 'Pirata One', serif; }
.sf-3 { font-family: 'Jersey 25', sans-serif; }
.sf-4 { font-family: 'Odibee Sans', sans-serif; }
.sf-5 { font-family: 'Vampiro One', serif; }

/* podtržení každého písmena (je vidět, že se kliká); kde má zmizet, řeší stránka */
.scramble--underline .scramble-letter,
.scramble-underline .scramble-letter {
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 0.05em;
	text-underline-offset: 0.14em;
	text-decoration-skip-ink: none;
	transition: text-decoration-color 0.2s;
}

/* ========================================================================
   Video na pozadí (inc/film.latte)
   ======================================================================== */

/* tmavá stránka (světlá hlavička, patička a tlačítko pauzy) je třída is-dark v @layout.latte */
html.is-film-locked, html.is-film-locked body { height: 100%; overflow: hidden; }
.is-film-locked .l-Site-inner { height: 100svh; min-height: 0; }
.is-film .l-Content { padding-top: 0 !important; }

.film {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	/* obrázek (první snímek videa dané stránky) dává inc/film.latte do atributu style */
	background: #141416 center / cover no-repeat;
}
.film-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* ztmavení přechodem: nahoře o 50 %, směrem dolů až do černé; k bokům ještě jemná vinětace */
.film::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%),
		linear-gradient(to bottom,
			rgba(0, 0, 0, 0.5) 0%,
			rgba(0, 0, 0, 0.58) 35%,
			rgba(0, 0, 0, 0.76) 65%,
			rgba(0, 0, 0, 0.92) 85%,
			#000 100%);
	pointer-events: none;
}

/* ========================================================================
   Pozadí s problikávajícími tvary (inc/shapes-bg.latte)
   ======================================================================== */

.page-shapes {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.page-shape {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100vmin;
	max-width: none;
	height: auto;
	opacity: 0;
	transform: translate(-50%, -50%);
	user-select: none;
}

/* ========================================================================
   Úvod: tlačítko BUY v tvaru tahem štětce
   ======================================================================== */

/* jediné tlačítko uprostřed */
.film-cta {
	position: fixed;
	inset: 0;
	z-index: 3;
	display: grid;
	place-items: center;
	pointer-events: none;
}
/* tvar tahem štětce přes video, tlačítko leží v něm */
.film-mark,
.film-buy {
	grid-area: 1 / 1;
}
.film-mark {
	width: clamp(300px, 62vmin, 720px); /* na telefonu musí tlačítko zůstat uvnitř tvaru */
	height: auto;
	pointer-events: none;
	user-select: none;
	filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.35));
	/* tvary nejsou vidět, jen v náhodných chvílích krátce problikne jeden z nich (skript dole) */
	opacity: 0;
}
.film-buy {
	pointer-events: auto;
	color: #fff;
	font-size: clamp(3.5rem, 10vmin, 6rem); /* i nejširší kombinace fontů se vejde do tvaru */
	line-height: 1;
	text-decoration: none;
}
/* písmena BUY jsou podtržená; na hover podtržení zmizí */
.film-buy:hover { color: #fff; }
.film-buy:hover .scramble-letter { text-decoration-color: transparent; }
.film-buy:focus-visible {
	outline: 1px solid #fff;
	outline-offset: 10px;
}

/* ========================================================================
   Detail produktu: volba barvy a velikosti
   ======================================================================== */

.pick-stage {
	position: relative;
	z-index: 3; /* nad videem (to je position: fixed se z-index 0) */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100svh - 170px);
	padding: 2rem 16px;
	color: #fff;
	text-align: center;
}
.pick-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1.75rem, 6vmin, 3.5rem);
}
.pick-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35em 1em;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: clamp(2.1rem, 8vmin, 4.75rem); /* na telefonu se WHITE a BLACK vejdou vedle sebe */
}
.pick-group--size { gap: 0.35em 1.4em; }

.pick-label {
	position: relative;
	display: inline-block;
	padding: 0.05em 0.1em;
	color: #fff;
	line-height: 1;
	cursor: pointer;
	user-select: none;
}
/* volba je celá jedním fontem (třída sf-N z inc/scramble.latte); podtržená jako BUY, na hover a po zvolení podtržení zmizí */
.pick-word {
	font-weight: 400;
	font-synthesis: none;
	font-palette: --scrt-white;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 0.05em;
	text-underline-offset: 0.14em;
	text-decoration-skip-ink: none;
	transition: text-decoration-color 0.2s;
}
.pick-label:hover .pick-word,
.pick-input:checked + .pick-label .pick-word { text-decoration-color: transparent; }

/* symbol tahem štětce přes zvolenou volbu; kde se kříží s písmeny, invertuje je (bílá → černá) */
.pick-mark {
	position: absolute;
	left: 50%;
	top: 50%;
	width: calc(100% + 1.3em);
	height: 2.2em;
	max-width: none; /* main.css dává obrázkům max-width: 100 % */
	transform: translate(-50%, -50%);
	object-fit: fill;
	mix-blend-mode: difference;
	opacity: 0;
	pointer-events: none;
}
.pick-label--size .pick-mark {
	width: 2.2em;
	height: 2.2em;
}
.pick-input:checked + .pick-label .pick-mark.is-current {
	opacity: 1;
	animation: pick-flick 0.45s steps(1, end);
}
/* symbol naskočí s cuknutím jako tvary na úvodu */
@keyframes pick-flick {
	0% { opacity: 0.35; }
	25% { opacity: 0; }
	45% { opacity: 0.8; }
	65% { opacity: 0.2; }
	100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.pick-input:checked + .pick-label .pick-mark.is-current { animation: none; }
}
.pick-input:focus-visible + .pick-label { outline: 1px solid #fff; outline-offset: 8px; }
.pick-input:disabled + .pick-label { opacity: 0.3; cursor: not-allowed; }

.pick-price {
	margin: 0;
	font-size: 1.1rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}
.pick-error {
	margin: 0;
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	color: #ffb4a8;
}
.pick-submit {
	padding: 0.5em 1em;
	border: 0;
	background: none;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-indent: 0.22em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.35em;
	transition: text-decoration-color 0.2s;
	cursor: pointer;
}
.pick-submit:hover { text-decoration-color: transparent; }
.pick-submit:focus-visible { outline: 1px solid #fff; outline-offset: 6px; }

/* ========================================================================
   Textové stránky (Why, obchodní podmínky, ochrana údajů)
   ======================================================================== */

.page-stage {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100svh - 170px);
	padding: 3rem 16px;
}
/* úzký sloupec uprostřed stránky, text v něm zarovnaný doleva;
   tlumený kontrast: šedobílý text na téměř černé, nic úplně bílého ani tučného */
.page-body {
	width: 100%;
	max-width: 27em;
	color: #c4c4c2;
	font-size: clamp(0.95rem, 1.6vw, 1.35rem);
	line-height: 1.7;
	letter-spacing: 0.07em;
	text-align: left;
	text-transform: uppercase;
}
.page-back {
	display: inline-flex;
	margin-bottom: 1.5rem;
	color: #c4c4c2;
	text-decoration: none;
	transition: color 0.2s;
}
.page-back svg { width: 1.5em; height: 1.5em; }
.page-back:hover { color: #e6e6e3; }
.page-back:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.page-title {
	margin: 0 0 1.2em;
	color: #e6e6e3;
	font-size: clamp(1.9rem, 4.5vw, 3.4rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.08em;
}
.page-text p { margin: 0 0 1.2em; }
.page-text b,
.page-text strong { color: #e6e6e3; font-weight: 600; }
.page-text h2,
.page-text h3,
.page-text h4 {
	margin: 2.2em 0 0.6em;
	color: #e6e6e3;
	font-size: 1em;
	font-weight: 600;
	letter-spacing: 0.14em;
}
.page-text ul,
.page-text ol {
	margin: 0 0 1.2em;
	padding: 0 0 0 1.2em;
}
.page-text a,
.page-files a {
	color: #e6e6e3;
	text-decoration: underline;
	text-decoration-color: rgba(230, 230, 227, 0.5);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	transition: text-decoration-color 0.2s;
}
.page-text a:hover,
.page-files a:hover { text-decoration-color: transparent; }
.page-files { margin: 2em 0 0; padding: 0; list-style: none; }
.page-files li + li { margin-top: 0.5em; }
.page-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 2em;
}
.page-images img { width: 200px; height: auto; }

/* ========================================================================
   Košík a objednávka – společný vzhled (obal <div class="bk">)
   ======================================================================== */

.bk {
	position: relative;
	z-index: 3;
	max-width: 46rem;
	margin: 0 auto;
	padding: 1.5rem 16px 3rem;
	color: #c4c4c2;
	font-size: clamp(0.85rem, 1.15vw, 1rem);
	letter-spacing: 0.07em;
	text-align: center;
	text-transform: uppercase;
}
.bk a { color: inherit; }
.bk-back {
	display: inline-flex;
	margin-bottom: 1.5rem;
	color: #c4c4c2;
	text-decoration: none;
	transition: color 0.2s;
}
.bk-back svg { width: 1.5em; height: 1.5em; }
.bk-back:hover { color: #e6e6e3; }
.bk-back:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
/* nadpis: každé slovo náhodným z našich fontů ({include randomWords} z inc/scramble.latte) */
.bk-title {
	margin: 0;
	color: #e6e6e3;
	font-size: clamp(2.3rem, 5.5vw, 4rem);
	font-weight: 400;
	line-height: 1.1;
}
.bk-title .rw-word,
.bk-section--title .rw-word { margin: 0 0.12em; }
.bk-step { margin: 0.75rem 0 0; color: rgba(196, 196, 194, 0.6); }
/* prázdný košík, doprava do země zatím nevede */
.bk-empty { margin: 3rem 0 0; line-height: 1.8; }
.bk-empty a { color: #e6e6e3; text-underline-offset: 0.25em; }

/* hlášky a chyby formuláře – v main.css a šablonách jsou světlé, tady tlumené */
.bk .c-Alert {
	margin: 1.5rem 0 0;
	padding: 0.9rem 1rem !important;
	border: 1px solid rgba(230, 230, 227, 0.25);
	background: transparent !important;
	color: #e6e6e3 !important;
	font-size: 0.9em !important;
	font-weight: 400 !important;
}
.bk .flash.error { margin: 1.5rem 0 0; padding: 0.9rem 1rem !important; border: 1px solid rgba(255, 180, 168, 0.4); border-radius: 0; }
.bk .flash.error .c-Form-legend { margin: 0 !important; color: #ffb4a8 !important; font-size: 0.9em; font-weight: 400; }
.bk-error { color: #ffb4a8; }

.bk-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid rgba(230, 230, 227, 0.14);
}
.bk-row--total { color: #e6e6e3; font-weight: 600; }

.bk-section {
	margin: 3.5rem 0 1rem;
	color: #e6e6e3;
	font-size: 1em;
	font-weight: 600;
	letter-spacing: 0.14em;
}
/* nadpis sekce stejně velký jako nadpis stránky, každé slovo náhodným fontem (Billing / Shipping address) */
.bk-section--title {
	margin: 4rem 0 1.25rem;
	font-size: clamp(2.3rem, 5.5vw, 4rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
}

/* pole formuláře jako linky */
.bk-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.25rem 1.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	text-align: left;
}
.bk-field--full { grid-column: 1 / -1; }
.bk-input {
	display: block;
	width: 100%;
	padding: 0.85rem 0;
	border: 0;
	border-bottom: 1px solid rgba(230, 230, 227, 0.28);
	border-radius: 0;
	background: transparent;
	color: #e6e6e3;
	font: inherit;
	letter-spacing: 0.04em;
	text-transform: none;
	box-shadow: none;
	appearance: none;
}
.bk-input::placeholder { color: rgba(196, 196, 194, 0.55); letter-spacing: 0.1em; text-transform: uppercase; }
.bk-input:focus { outline: none; border-bottom-color: #e6e6e3; }
.bk-input:-webkit-autofill { -webkit-text-fill-color: #e6e6e3; box-shadow: 0 0 0 1000px #0d0d0e inset; caret-color: #e6e6e3; }
select.bk-input {
	padding-right: 1.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c4c4c2' stroke-width='1.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.15rem center;
	background-size: 0.7rem auto;
	cursor: pointer;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
select.bk-input option { background: #0d0d0e; color: #e6e6e3; }
textarea.bk-input { min-height: 5.5rem; resize: vertical; }

/* zaškrtávátko: čtvereček v obrysu, zaškrtnutý = křížek */
.bk-check {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: 2.5rem;
	color: #e6e6e3;
	text-align: left;
	cursor: pointer;
}
.bk-check-input {
	position: relative;
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	border: 1px solid rgba(230, 230, 227, 0.6);
	border-radius: 0;
	background: transparent;
	appearance: none;
	cursor: pointer;
}
.bk-check-input:checked::after {
	content: '×';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e6e6e3;
	font-size: 1.1rem;
	line-height: 1;
}
.bk-check-input:focus-visible { outline: 1px solid #e6e6e3; outline-offset: 4px; }

/* textová tlačítka podtržená jako ADD TO BASKET; na hover podtržení zmizí */
.bk-link-button {
	padding: 0.5em 0.25em;
	border: 0;
	background: none;
	color: #e6e6e3;
	font: inherit;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.35em;
	transition: text-decoration-color 0.2s;
	cursor: pointer;
}
.bk-link-button:hover { text-decoration-color: transparent; }
.bk-link-button:focus-visible { outline: 1px solid #e6e6e3; outline-offset: 6px; }
.bk-submit { margin-top: 3.5rem; font-size: 1rem; letter-spacing: 0.22em; }

/* stránky po objednávce a platbě: úzký sloupec uprostřed, zarovnaný doleva (jako textové stránky) */
.bk--message {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 30rem;
	min-height: calc(100svh - 170px);
	text-align: left;
}
.bk--message .bk-back { align-self: flex-start; }
.bk--message .bk-title { margin-bottom: 1.5rem; }
.bk--message .bk-title .rw-word { margin: 0 0.24em 0 0; }
.bk-message-text { line-height: 1.7; }
.bk-message-text p { margin: 0 0 1.2em; }
.bk-message-text strong { color: #e6e6e3; font-weight: 600; }
.bk-message-text a { color: #e6e6e3; text-decoration: underline; text-underline-offset: 0.25em; text-transform: none; }

@media (max-width: 639px) {
	.bk-row { flex-wrap: wrap; }
	.bk-fields { grid-template-columns: 1fr; }
}

/* ========================================================================
   Košík (krok 1): položky, slevový kód, adresy
   ======================================================================== */

/* jen košík; společný vzhled kroků objednávky je v inc/checkout-style.latte */

/* položky */
.bk-items {
	margin-top: 2.5rem;
	border-top: 1px solid rgba(230, 230, 227, 0.14);
	text-align: left;
}
/* položka v řadě za sebou: WHITE L, hned vedle množství, pak cena a křížek na odebrání */
.bk-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.75rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid rgba(230, 230, 227, 0.14);
}
.bk-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.6em; }
.bk-word {
	color: #e6e6e3;
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	font-weight: 400;
	font-synthesis: none;
	font-palette: --scrt-white;
	line-height: 1.1;
	letter-spacing: 0.02em;
}
.bk-item-end { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.bk-price { color: #e6e6e3; text-align: right; white-space: nowrap; }
.bk-remove {
	display: inline-flex;
	justify-content: center;
	color: #c4c4c2;
	text-decoration: none;
	transition: color 0.2s;
}
.bk-remove svg { width: 1.1rem; height: 1.1rem; }
.bk-remove:hover { color: #e6e6e3; }
.bk-remove:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* množství: − 1 + (markup vyrábí bootstrap-input-spinner; .c-Spinner má v main.css bílé pozadí) */
.bk-qty.c-Spinner { background: transparent; border: 0; }
.bk-qty .input-group {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: stretch;
	width: auto;
	border: 0; /* jen − číslo +, bez obdélníku */
}
.bk-qty .btn {
	min-width: 2.2rem !important;
	padding: 0.35rem 0.5rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #e6e6e3;
	font-size: 0.95rem;
	line-height: 1;
	box-shadow: none;
}
.bk-qty .btn:hover { background: transparent; color: #fff; }
.bk-qty .btn:focus-visible { outline: 1px solid #e6e6e3; outline-offset: 2px; }
.bk-qty .form-control {
	width: 2.5rem;
	flex: 0 0 auto;
	padding: 0.35rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #e6e6e3;
	font-size: 0.95rem;
	box-shadow: none;
}

.bk-voucher { display: flex; align-items: center; gap: 1rem; flex: 1 1 auto; max-width: 22rem; margin-left: auto; }
.bk-voucher .bk-input { padding: 0.5rem 0; border-bottom: 0; text-align: right; }

@media (max-width: 639px) {
	.bk-item { gap: 0.6rem 1.25rem; }
	.bk-item-end { gap: 1.25rem; }
	.bk-voucher { max-width: none; width: 100%; }
}

/* adresa: šest sloupců, aby se do řádku vešlo město | stát | PSČ i město | PSČ */
.bk [hidden] { display: none !important; }
.bk-fields--address { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem 1.75rem; }
.bk-fields--address > * { grid-column: 1 / -1; }
.bk-fields--address > .bk-field--half,
.bk-fields--address > .bk-field--city,
.bk-fields--address > .bk-field--zip { grid-column: span 3; }
.bk-fields--address.has-region > .bk-field--city,
.bk-fields--address.has-region > .bk-field--region,
.bk-fields--address.has-region > .bk-field--zip { grid-column: span 2; }
.bk-fields--address.has-region.no-postcode > .bk-field--city,
.bk-fields--address.has-region.no-postcode > .bk-field--region { grid-column: span 3; }
.bk-fields--address .bk-input { padding: 0.45rem 0 0.6rem; }
.bk-fields--note { margin-top: 3rem; }

.bk-label {
	display: block;
	color: rgba(196, 196, 194, 0.8);
	font-size: 0.72em;
	letter-spacing: 0.14em;
}
.bk-optional { color: rgba(196, 196, 194, 0.5); }
.bk-optional.is-off { display: none; }
/* země je první a rozhoduje o zbytku adresy – o kousek výraznější */
.bk-field--country .bk-input { font-size: 1.15em; color: #fff; }

.bk-field.is-invalid .bk-input { border-bottom-color: #ffb4a8; }
.bk-field-error,
.bk-note {
	margin: 0.45rem 0 0;
	font-size: 0.8em;
	letter-spacing: 0.04em;
	line-height: 1.45;
	text-align: left;
	text-transform: none;
}
.bk-field-error { color: #ffb4a8; }
.bk-note { margin-top: -0.5rem; color: #e6e6e3; }
.bk-note a { color: inherit; text-underline-offset: 0.2em; }


@media (max-width: 639px) {
	.bk-fields--address > *,
	.bk-fields--address.has-region > * { grid-column: 1 / -1 !important; }
}

/* ========================================================================
   Objednávka (krok 2): doprava, platba, souhlasy
   ======================================================================== */

/* volby dopravy a platby: kroužek v obrysu, zvolená má tečku */
.bk-options {
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid rgba(230, 230, 227, 0.14);
	text-align: left;
}
.bk-option {
	display: grid;
	grid-template-columns: 1.15rem 1fr auto;
	gap: 0 1rem;
	align-items: start;
	padding: 1.1rem 0;
	border-bottom: 1px solid rgba(230, 230, 227, 0.14);
	cursor: pointer;
}
.bk-option-name { color: #e6e6e3; }
.bk-option-price { color: #e6e6e3; white-space: nowrap; }
.bk-option-info {
	grid-column: 2 / -1;
	margin-top: 0.35rem;
	color: rgba(196, 196, 194, 0.7);
	font-size: 0.85em;
	text-transform: none;
	letter-spacing: 0.03em;
}
.bk-option-info:empty { display: none; }
.bk-option-branch { grid-column: 2 / -1; margin-top: 0.35rem; color: #e6e6e3; font-size: 0.85em; }
.bk-option-branch:empty { display: none; }
.bk-radio {
	position: relative;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.05rem 0 0;
	border: 1px solid rgba(230, 230, 227, 0.6);
	border-radius: 50%;
	background: transparent;
	appearance: none;
	cursor: pointer;
}
.bk-radio:checked::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #e6e6e3;
}
.bk-radio:focus-visible { outline: 1px solid #e6e6e3; outline-offset: 4px; }
.bk-option:has(.bk-radio:checked) .bk-option-name { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.bk-option .bk-fields { grid-column: 2 / -1; margin-top: 1rem; }

/* souhlasy pod sebou, zarovnané vlevo jako zbytek formuláře */
.bk-consents { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-top: 2.5rem; }
.bk-consents .bk-check { margin-top: 0; align-items: flex-start; }
.bk-consents .bk-check-input { margin-top: 0.1rem; }
.bk-consent-note { display: block; margin-top: 0.3rem; color: rgba(196, 196, 194, 0.7); font-size: 0.85em; text-transform: none; letter-spacing: 0.03em; }
.bk-consent-note a { color: #e6e6e3; text-decoration: underline; text-underline-offset: 0.2em; }

.bk-summary { margin-top: 2.5rem; border-top: 1px solid rgba(230, 230, 227, 0.14); }

/* ========================================================================
   Kategorie (Category.default – produkty, Category.boxiky – textové stránky, inc/category.latte)
   a stránkování frontu (www/paginator.latte). Obal je .bk jako u košíku: střed, verzálky, tlumený text.
   ======================================================================== */

.cat { padding-bottom: 4rem; }

/* popis kategorie z administrace: v užším sloupci zarovnaný doleva, styl textových stránek (.page-text) */
.cat-text {
	max-width: 30rem;
	margin: 2rem auto 0;
	line-height: 1.7;
	text-align: left;
}
.cat-text > :last-child { margin-bottom: 0; }

/* podkategorie a názvy produktů: slova náhodnými fonty, podtržená jako BUY; na hover podtržení zmizí */
.cat-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4em 1.25em;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	line-height: 1.2;
}
.cat-link,
.cat-product-link { color: #e6e6e3; text-decoration: none; }
.cat-link .rw-word,
.cat-product-name .rw-word {
	margin: 0 0.12em;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 0.05em;
	text-underline-offset: 0.14em;
	text-decoration-skip-ink: none;
	transition: text-decoration-color 0.2s;
}
.cat-link:hover,
.cat-product-link:hover { color: #fff; }
.cat-link:hover .rw-word,
.cat-product-link:hover .rw-word { text-decoration-color: transparent; }
.cat-link:focus-visible,
.cat-product-link:focus-visible,
.cat-page:focus-visible,
.cat-pagination a:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }

/* produkty: fotka (když je), pod ní název a cena; jeden produkt stojí uprostřed */
.cat-products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 3.5rem 2rem;
	margin: 4rem 0 0;
	padding: 0;
	list-style: none;
}
.cat-product { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.cat-product-link { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.cat-product-image { display: block; width: 100%; max-width: 18rem; height: auto; transition: opacity 0.2s; }
.cat-product-link:hover .cat-product-image { opacity: 0.85; }
.cat-product-name { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; }
.cat-product-price {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
	letter-spacing: 0.14em;
}

/* textové stránky kategorie: řádky oddělené linkou jako v košíku, název podtržený, pod ním anotace */
.cat-pages {
	max-width: 30rem;
	margin: 3.5rem auto 0;
	padding: 0;
	border-top: 1px solid rgba(230, 230, 227, 0.14);
	list-style: none;
	text-align: left;
}
.cat-pages li { border-bottom: 1px solid rgba(230, 230, 227, 0.14); }
.cat-page {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.35rem 0;
	color: #c4c4c2;
	text-decoration: none;
}
.bk a.cat-page { color: #c4c4c2; }
.cat-page-image { display: block; width: 100%; max-width: 14rem; height: auto; margin-bottom: 0.5rem; }
.cat-page-name {
	color: #e6e6e3;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-decoration: underline;
	text-decoration-color: rgba(230, 230, 227, 0.5);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	transition: text-decoration-color 0.2s;
}
.cat-page:hover .cat-page-name { text-decoration-color: transparent; }
.cat-page-annotation { font-size: 0.9em; line-height: 1.6; text-transform: none; letter-spacing: 0.03em; }

/* stránkování: čísla a šipky, aktuální stránka podtržená */
.cat-pagination { margin-top: 4rem; }
.cat-pagination-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.05rem;
}
.cat-pagination a { color: #c4c4c2; text-decoration: none; transition: color 0.2s; }
.cat-pagination a:hover { color: #fff; }
.cat-pagination-link.is-current {
	color: #e6e6e3;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.35em;
}
.cat-pagination-arrow { display: inline-flex; }
.cat-pagination-arrow svg { width: 1.1em; height: 1.1em; }
.cat-pagination-gap { color: rgba(196, 196, 194, 0.6); }

/* ========================================================================
   Účet zákazníka (www/templates/User, Homepage/register*, www/components, inc/account.latte).
   Obal .bk jako u košíku; formuláře z inc/fields.latte (.bk-fields, .bk-input). Na web odsud nevede odkaz.
   ======================================================================== */

.acc { padding-bottom: 4rem; }
.acc-lead { margin: 1rem auto 0; max-width: 30rem; line-height: 1.7; }
.acc-lead a,
.acc-links a,
.acc-address a { color: #e6e6e3; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; transition: text-decoration-color 0.2s; }
.acc-lead a:hover,
.acc-links a:hover { text-decoration-color: transparent; }
.acc-lead--left { max-width: none; margin: -0.5rem 0 1.25rem; text-align: left; color: rgba(196, 196, 194, 0.7); font-size: 0.85em; }

/* menu přihlášeného zákazníka: malé verzálky, aktuální stránka podtržená */
.acc-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.6rem;
	margin: 1.25rem 0 0;
	font-size: 0.85em;
	letter-spacing: 0.14em;
}
.bk a.acc-nav-link { color: rgba(196, 196, 194, 0.75); text-decoration: none; transition: color 0.2s; }
.bk a.acc-nav-link:hover,
.bk a.acc-nav-link.is-current { color: #e6e6e3; }
.acc-nav-link.is-current { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.acc-nav-link:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }

/* formuláře: krátké (přihlášení, heslo) v úzkém sloupci, údaje zákazníka na šířku košíku */
.acc-form { max-width: 26rem; margin: 2.5rem auto 0; text-align: left; }
.acc-form--wide { max-width: none; margin-top: 0; }
.acc-form .bk-fields--address { gap: 1.25rem 1.75rem; }
.acc-form .bk-submit { display: block; margin: 3rem auto 0; }
.acc-checks { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 2.5rem; }
.acc-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.75rem;
	margin: 2.5rem 0 0;
	font-size: 0.85em;
}

/* objednávky: řádky oddělené linkou jako v košíku, celý řádek je odkaz na detail */
.acc-orders {
	margin: 3rem 0 0;
	padding: 0;
	border-top: 1px solid rgba(230, 230, 227, 0.14);
	list-style: none;
}
.acc-orders li { border-bottom: 1px solid rgba(230, 230, 227, 0.14); }
.bk a.acc-order {
	display: grid;
	grid-template-columns: 1fr 1fr 1.4fr auto;
	gap: 0.5rem 1rem;
	align-items: center;
	padding: 1.1rem 0;
	color: #c4c4c2;
	text-align: left;
	text-decoration: none;
	transition: color 0.2s;
}
.bk a.acc-order:hover { color: #fff; }
.acc-order:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.acc-order-number { color: #e6e6e3; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.acc-order-price { color: #e6e6e3; text-align: right; white-space: nowrap; }

/* detail objednávky */
.acc-detail { margin-top: 3rem; text-align: left; }
.acc-detail .bk-row { gap: 1.5rem; }
.acc-detail .bk-row > :last-child { color: #e6e6e3; text-align: right; }
.acc-address { margin: 0; line-height: 1.8; text-transform: none; letter-spacing: 0.04em; }

@media (max-width: 639px) {
	.bk a.acc-order { grid-template-columns: 1fr auto; }
	.acc-order-status { grid-column: 1; color: rgba(196, 196, 194, 0.7); }
	.acc-order-date { text-align: right; }
}
