/* ============================================================
   Universal theme: standard
   All values come from CSS design tokens; only :root holds
   literal values. Per-store overrides live in stores/{code}.css.
   ============================================================ */

/* ---- Design tokens: default (neutral) values ---- */
:root {
	--shop-primary: #2563eb;
	--shop-accent: #f59e0b;
	--shop-accent-ink: #1f2937;
	--shop-ink: #1f2937;
	--shop-muted: #5b6470;
	--shop-bg: #ffffff;
	--shop-surface: #ffffff;
	--shop-border: #e5e7eb;
	--shop-header-bg: #ffffff;
	--shop-header-ink: #1f2937;
	--shop-footer-bg: #111827;
	--shop-footer-ink: #cbd5e1;
	--shop-price: #111827;
	--shop-cta: var(--shop-primary);
	--shop-cta-ink: #ffffff;
	--shop-link: var(--shop-primary);
	/* #15803d ≈ 5:1 on white — the 11px "Skladem" pill text needs AA; #16a34a was 3.3:1 */
	--shop-success: #15803d;
	--shop-danger: #dc2626;

	--shop-font-sans: 'Public Sans', system-ui, sans-serif;
	--shop-font-head: 'Public Sans', system-ui, sans-serif;
	--shop-font-size-base: 16px;
	--shop-heading-weight: 700;

	--shop-radius: 10px;
	--shop-radius-sm: 6px;
	--shop-radius-lg: 16px;
	--shop-btn-radius: 8px;
	--shop-card-radius: 12px;

	--shop-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 1px rgba(15, 23, 42, .04);
	--shop-shadow-md: 0 4px 8px -3px rgba(15, 23, 42, .08), 0 14px 32px -10px rgba(15, 23, 42, .18);
	--shop-shadow-lg: 0 30px 64px -18px rgba(15, 23, 42, .28);
	--shop-ease: cubic-bezier(.22, .61, .36, 1);

	--shop-container: 1200px;
	--shop-gap: 20px;
	--shop-gutter: 24px;
	--shop-control-h: 44px;
	--shop-input-radius: 999px;
	--shop-section-gap: 56px;
	--shop-header-height: 72px;

	--shop-utility-bg: var(--shop-bg);
	--shop-utility-border: var(--shop-border);
	--shop-utility-ink: var(--shop-muted);
	--shop-utility-accent: var(--shop-ink);
	--shop-utility-icon: var(--shop-primary);
	--shop-utility-dot: var(--shop-primary);

	--shop-focus-ring: var(--shop-primary);

	/* Tabler / Bootstrap mapování proměnných na tokeny obchodu */
	--tblr-primary: var(--shop-primary);
	--tblr-link-color: var(--shop-link);
	--tblr-link-hover-color: var(--shop-link);
	--tblr-body-color: var(--shop-ink);
	--tblr-emphasis-color: var(--shop-ink);
	--tblr-body-bg: var(--shop-bg);
	--tblr-border-color: var(--shop-border);
	--tblr-border-radius: var(--shop-radius-sm);
	--tblr-body-font-family: var(--shop-font-sans);
	--tblr-success: var(--shop-success);
}

/* ============================================================
   BASE: body / typography
   ============================================================ */
html {
	scroll-padding-top: calc(var(--shop-header-h, 120px) + 12px);
}

body {
	height: auto;
	min-height: 100vh;
	font-family: var(--shop-font-sans);
	font-size: var(--shop-font-size-base);
	font-variant-numeric: var(--shop-numeric, normal);
	color: var(--shop-ink);
	background: var(--shop-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	color: var(--shop-ink);
	letter-spacing: -.01em;
}

a {
	color: var(--shop-link);
}
@media (hover: hover) and (pointer: fine) {
	a:hover {
		color: var(--shop-primary);
		opacity: .85;
	}
}

/* Omezení pohybu pro celou stránku (system-14) */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ============================================================
   HEADER (.shop-header)
   ============================================================ */
.shop-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--shop-header-bg);
	color: var(--shop-header-ink);
	min-height: var(--shop-header-height);
	border-bottom: 1px solid var(--shop-border);
	box-shadow: var(--shop-shadow-sm);
}

@media (max-width: 767px) {
	.shop-header {
		transition: transform .2s var(--shop-ease);
	}
	.shop-header.is-hidden {
		transform: translateY(-100%);
	}
	@media (prefers-reduced-motion: reduce) {
		.shop-header {
			transition: none;
		}
	}
}

.shop-header-inner {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 0 var(--shop-gutter);
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--shop-header-height);
	width: 100%;
}

/* Logo / brand */
.shop-logo-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
	text-decoration: none;
	color: var(--shop-header-ink);
}
.shop-logo-wrap:hover {
	color: var(--shop-header-ink);
	opacity: .88;
}

.shop-logo-img {
	max-height: 40px;
	width: auto;
}

.shop-logo-mark {
	width: 34px;
	height: 34px;
	flex: none;
	object-fit: contain;
}

.shop-logo-fallback {
	width: 40px;
	height: 40px;
	border-radius: var(--shop-radius-sm);
	background: var(--shop-primary);
	color: var(--shop-cta-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--shop-font-head);
	font-weight: 700;
	font-size: 20px;
	flex: none;
}

.shop-brand-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.15;
}
.shop-brand-name {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 19px;
	color: var(--shop-header-ink);
}
/* Druhé slovo názvu obchodu drží lehčí řez, takže značka nečte jako jeden blok.
   U jednoslovných názvů se pravidlo nikde neuplatní. */
.shop-brand-name-rest {
	font-weight: 400;
	color: var(--shop-muted);
}
.shop-brand-domain {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	line-height: 1;
	color: var(--shop-muted);
	white-space: nowrap;
}
.shop-brand-tagline {
	font-size: 11.5px;
	opacity: .72;
	color: var(--shop-header-ink);
}

/* Header navigation */
/* Menu jako samostatný řádek pod horní lištou */
.shop-header-nav-row {
	border-top: 1px solid var(--shop-border);
	background: var(--shop-header-bg);
}
@media (min-width: 768px) {
	.shop-header-nav-row--empty {
		display: none;
	}
}
.shop-header-nav-row > nav {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 7px var(--shop-gutter);
}
.shop-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 22px;
	font-size: 14.5px;
	font-weight: 500;
	list-style: none;
	margin: 0;
	padding: 0;
}
.shop-nav-item {
	display: flex;
}
.shop-nav-link {
	color: var(--shop-header-ink);
	text-decoration: none;
	opacity: .92;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: border-color .15s, opacity .15s;
	white-space: nowrap;
}
.shop-nav-link:hover,
.shop-nav-link.active {
	opacity: 1;
	border-bottom-color: var(--shop-primary);
	color: var(--shop-header-ink);
}

/* Dropdown podkategorií — desktop: hover/focus-within, žádný JS */
.shop-nav-item--parent {
	position: relative;
}

.shop-nav-caret {
	font-size: 10px;
	margin-left: 5px;
	opacity: .7;
}

.shop-nav-sub {
	display: none;
	position: absolute;
	top: 100%;
	left: -14px;
	z-index: 60;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.shop-nav-item--parent:hover .shop-nav-sub,
.shop-nav-item--parent:focus-within .shop-nav-sub {
	display: block;
}

.shop-nav-sub-link {
	display: block;
	padding: 8px 16px;
	color: var(--shop-ink);
	text-decoration: none;
	white-space: nowrap;
}

.shop-nav-sub-link:hover,
.shop-nav-sub-link:focus {
	background: color-mix(in srgb, var(--shop-primary) 8%, var(--shop-surface));
	color: var(--shop-ink);
}

/* Priority+ navigace: rozbalovací tlačítko a panel „Další" */
.shop-nav-item--more {
	position: relative;
	flex-shrink: 0;
}

.shop-nav-more-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	font: inherit;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	appearance: none;
	-webkit-appearance: none;
}

.shop-nav-item--more.is-open > .shop-nav-more-btn {
	opacity: 1;
	color: var(--shop-primary);
	background: color-mix(in srgb, var(--shop-primary) 9%, transparent);
	border-bottom-color: var(--shop-primary);
}

.shop-nav-more-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 70;
	min-width: 240px;
	max-width: 340px;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.shop-nav-item--more.is-open > .shop-nav-more-menu,
.shop-nav-more-menu:not([hidden]) {
	display: block;
}

.shop-nav-more-menu[hidden] {
	display: none !important;
}

.shop-nav-more-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Položky v rozbaleném panelu „Další" */
.shop-nav-more-menu .shop-nav-item {
	display: block;
	width: 100%;
}

.shop-nav-more-menu .shop-nav-link {
	display: block;
	padding: 8px 16px;
	color: var(--shop-ink);
	font-weight: 600;
	border-bottom: none;
	border-radius: 0;
	opacity: 1;
	white-space: normal;
	word-break: break-word;
}

.shop-nav-more-menu .shop-nav-link:hover,
.shop-nav-more-menu .shop-nav-link:focus {
	background: color-mix(in srgb, var(--shop-primary) 8%, var(--shop-surface));
	color: var(--shop-ink);
}

.shop-nav-more-menu .shop-nav-link.active {
	color: var(--shop-primary);
}

.shop-nav-more-menu .shop-nav-caret {
	display: none;
}

/* Podkategorie (2. úroveň) v panelu „Další" */
.shop-nav-more-menu .shop-nav-sub {
	display: block;
	position: static;
	min-width: 0;
	padding: 0 0 6px 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	border-radius: 0;
}

.shop-nav-more-menu .shop-nav-sub-link {
	display: block;
	padding: 5px 16px 5px 28px;
	font-size: 13.5px;
	color: var(--shop-ink);
	opacity: .85;
	white-space: normal;
	word-break: break-word;
}

.shop-nav-more-menu .shop-nav-sub-link:hover,
.shop-nav-more-menu .shop-nav-sub-link:focus {
	opacity: 1;
	background: color-mix(in srgb, var(--shop-primary) 8%, var(--shop-surface));
	color: var(--shop-ink);
}

.shop-nav-more-menu .shop-nav-sub-link.active {
	opacity: 1;
	font-weight: 600;
	color: var(--shop-primary);
}

@media (min-width: 768px) {
	html.js .shop-nav {
		flex-wrap: nowrap;
	}
	.shop-nav-item {
		flex-shrink: 0;
	}
}

/* Header utilities (right side) */
.shop-header-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

/* Switcher chips (language / currency) */
.shop-switcher {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 11px;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-btn-radius);
	font-size: 13px;
	cursor: pointer;
	opacity: .92;
	background: transparent;
	color: var(--shop-header-ink);
	text-decoration: none;
	transition: opacity .15s, border-color .15s;
}
.shop-switcher:hover {
	opacity: 1;
	color: var(--shop-header-ink);
	border-color: var(--shop-primary);
}
.shop-switcher .shop-switcher-arrow {
	opacity: .55;
	font-size: 10px;
}

/* Dropdown for currency / locale switch */
.shop-switcher-dropdown .dropdown-menu {
	border-radius: var(--shop-radius-sm);
	border-color: var(--shop-border);
	box-shadow: var(--shop-shadow-md);
	min-width: 100px;
}
.shop-switcher-dropdown .dropdown-item {
	font-size: 13.5px;
	color: var(--shop-ink) !important;
}
.shop-switcher-dropdown .dropdown-item:hover,
.shop-switcher-dropdown .dropdown-item:focus {
	color: var(--shop-ink) !important;
	background-color: rgba(0, 0, 0, .05);
}
.shop-switcher-dropdown .dropdown-item.active {
	color: #fff !important;
	background-color: var(--shop-primary);
}

/* Account link */
.shop-account-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border-radius: var(--shop-btn-radius);
	font-size: 13.5px;
	color: var(--shop-header-ink);
	text-decoration: none;
	opacity: .92;
	transition: opacity .15s;
}
.shop-account-link:hover {
	opacity: 1;
	color: var(--shop-header-ink);
}
.shop-account-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid var(--shop-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
	flex: none;
}

/* Cart CTA button */
.shop-cart-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 15px;
	background: var(--shop-cta);
	color: var(--shop-cta-ink);
	border: none;
	border-radius: var(--shop-btn-radius);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--shop-font-sans);
	text-decoration: none;
	transition: opacity .15s, filter .15s;
}
@media (hover: hover) and (pointer: fine) {
	.shop-cart-btn:hover {
		color: var(--shop-cta-ink);
		filter: brightness(1.06);
	}
}
.shop-cart-badge {
	margin-left: 2px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11.5px;
	font-weight: 700;
}
.shop-cart-total {
	font-weight: 600;
}

/* Mobile hamburger toggle */
.shop-nav-toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	padding: 6px 10px;
	color: var(--shop-header-ink);
	cursor: pointer;
	line-height: 1;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.shop-main {
	flex: 1;
	background: var(--shop-bg);
}

.shop-container {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 0 var(--shop-gutter);
}

/* Doporučené produkty pod prázdným košíkem */
.cart-recommended {
	margin-top: 40px;
}

.cart-recommended-title {
	font-size: 20px;
	margin-bottom: 16px;
}

/* Flash messages — plovoucí toasty (viditelné i na dlouhé stránce, např. přepočet košíku) */
.shop-flash-wrap {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: min(420px, calc(100vw - 32px));
	margin: 0;
	padding: 0;
	pointer-events: none;
}

@keyframes toastSlideIn {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.shop-flash-wrap .alert {
	margin: 0;
	pointer-events: auto;
	background: var(--shop-surface, #ffffff);
	color: var(--shop-ink, #252525);
	border: 1px solid var(--shop-border, #e5e7eb);
	border-radius: var(--shop-radius, 8px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 18px;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
	animation: toastSlideIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.shop-flash-wrap .alert.is-hiding {
	animation: none;
	opacity: 0;
	transform: translateY(8px) scale(0.98);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.shop-flash-wrap .alert-success {
	border-left: 4px solid var(--shop-accent, #2f7d32);
}

.shop-flash-wrap .alert-success::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	flex: none;
	background-color: var(--shop-accent, #2f7d32);
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	mask-size: contain;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
}

.shop-flash-wrap .alert-danger {
	border-left: 4px solid #d63939;
}

.shop-flash-wrap .alert-info {
	border-left: 4px solid #066fd1;
}

.shop-flash-wrap .alert .btn-close {
	margin-left: auto;
	flex: none;
	opacity: 0.5;
	cursor: pointer;
	padding: 0;
	background-size: 10px;
}
.shop-flash-wrap .alert .btn-close:hover {
	opacity: 1;
}

/* Offset nad lepivou lištou detailu / cookie lištou */
@media (min-width: 768px) {
	body:has(.pd-sticky-bar.is-visible) .shop-flash-wrap,
	body.has-sticky-bar .shop-flash-wrap {
		bottom: 96px;
	}
	body.has-cookie-bar .shop-flash-wrap {
		bottom: 96px;
	}
}

/* Auto-submit množství v košíku: s JS je OK tlačítko zbytečné (no-JS fallback) */
html.js .cart-stepper-submit {
	display: none;
}

@media (max-width: 767px) {
	/* nad mobilní sticky lištou košíku / detailu */
	.shop-flash-wrap {
		right: 16px;
		left: 16px;
		bottom: 84px;
		max-width: none;
	}
}

/* Cart added notification toast — vpravo nahoře */
.cart-toast-wrap {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 1200;
	width: min(390px, calc(100vw - 32px));
	pointer-events: none;
}

@keyframes cartToastSlideIn {
	from {
		opacity: 0;
		transform: translateY(-16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes cartToastSlideOut {
	from {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
	to {
		opacity: 0;
		transform: translateY(-16px) scale(0.96);
	}
}

.cart-toast {
	pointer-events: auto;
	background: var(--shop-surface, #ffffff);
	color: var(--shop-ink, #1f2937);
	border: 1px solid var(--shop-border, #e5e7eb);
	border-radius: var(--shop-card-radius, 12px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: cartToastSlideIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cart-toast.is-hiding {
	animation: cartToastSlideOut 0.25s ease-in forwards;
}

.cart-toast-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: color-mix(in srgb, var(--shop-accent, #2f7d32) 10%, var(--shop-surface, #fff));
	border-bottom: 1px solid color-mix(in srgb, var(--shop-accent, #2f7d32) 20%, var(--shop-border, #e5e7eb));
}

.cart-toast-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--shop-ink);
}

.cart-toast-icon {
	color: var(--shop-success);
	flex: none;
}

.cart-toast-close {
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: var(--shop-muted, #6b7280);
	cursor: pointer;
	padding: 0 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: color 0.15s, background 0.15s;
}

.cart-toast-close:hover {
	color: var(--shop-ink, #111827);
	background: rgba(0, 0, 0, 0.05);
}

.cart-toast-body {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
}

.cart-toast-thumb-wrap {
	flex: none;
	width: 60px;
	height: 60px;
	border-radius: var(--shop-radius-sm, 6px);
	overflow: hidden;
	background: var(--shop-bg, #f3f4f6);
	border: 1px solid var(--shop-border, #e5e7eb);
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart-toast-thumb {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cart-toast-thumb--empty {
	background: var(--shop-bg, #e5e7eb);
}

.cart-toast-details {
	flex: 1;
	min-width: 0;
}

.cart-toast-name {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	color: var(--shop-ink, #111827);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cart-toast-name:hover {
	color: var(--shop-primary, #2563eb);
}

.cart-toast-meta {
	font-size: 12.5px;
	color: var(--shop-muted, #6b7280);
	margin-top: 2px;
}

.cart-toast-pricing {
	margin-top: 4px;
	font-size: 13.5px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.cart-toast-qty {
	color: var(--shop-muted, #6b7280);
	font-weight: 500;
}

.cart-toast-price {
	font-weight: 700;
	color: var(--shop-ink, #111827);
}

.cart-toast-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 16px;
	margin: 0 16px;
	background: var(--shop-bg, #f8fafc);
	border-radius: 6px;
	font-size: 13px;
	border: 1px dashed var(--shop-border, #e2e8f0);
}

.cart-toast-summary-count {
	color: var(--shop-muted, #64748b);
}

.cart-toast-summary-total {
	color: var(--shop-ink, #0f172a);
}

.cart-toast-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 16px 14px;
}

.cart-toast-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	/* stejná barva jako tlačítko „Přidat do košíku" — celý nákupní tok jednou barvou */
	background: var(--shop-cta, var(--shop-primary, #2563eb));
	color: var(--shop-cta-ink, #ffffff) !important;
	font-weight: 600;
	font-size: 14px;
	border-radius: var(--shop-radius-sm, 6px);
	text-decoration: none;
	text-align: center;
	transition: opacity 0.15s, transform 0.15s;
}

.cart-toast-btn-primary:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.cart-toast-btn-secondary {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	background: transparent;
	border: none;
	color: var(--shop-muted, #6b7280);
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
	transition: color 0.15s;
}

.cart-toast-btn-secondary:hover {
	color: var(--shop-ink, #111827);
}

.cart-toast-progress-wrap {
	height: 3px;
	background: rgba(0, 0, 0, 0.06);
	width: 100%;
	overflow: hidden;
}

.cart-toast-progress {
	height: 100%;
	/* akcent obchodu je dekorativní (zlatá, oranžová) — potvrzení nese barva úspěchu */
	background: var(--shop-success, #1a7f37);
	width: 100%;
	transform-origin: left;
	animation: cartToastProgress 10s linear forwards;
}

.cart-toast:hover .cart-toast-progress {
	animation-play-state: paused;
}

@keyframes cartToastProgress {
	from {
		transform: scaleX(1);
	}
	to {
		transform: scaleX(0);
	}
}

@keyframes cartToastSlideInUp {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes cartToastSlideOutDown {
	from {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
	to {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
}

/* Telefon: potvrzení dole u palce, kde zákazník právě klepl (tlačítko nebo lepivá lišta),
   hlavička s košíkem zůstává vidět. Ovládání na 44–48 px. */
@media (max-width: 576px) {
	.cart-toast-wrap {
		top: auto;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		right: 12px;
		left: 12px;
		width: auto;
	}
	.cart-toast {
		animation-name: cartToastSlideInUp;
	}
	.cart-toast.is-hiding {
		animation-name: cartToastSlideOutDown;
	}
	.cart-toast-close {
		width: 44px;
		height: 44px;
		margin: -12px -12px -12px 0;
	}
	.cart-toast-btn-primary {
		min-height: 48px;
		font-size: 16px;
	}
	.cart-toast-btn-secondary {
		min-height: 44px;
	}
	/* toast a lepivá lišta detailu by se na spodním okraji překrývaly */
	body:has(.cart-toast) .pd-sticky-bar {
		transform: translateY(110%);
	}
}

/* ============================================================
   FOOTER (.shop-footer)
   ============================================================ */
.shop-footer {
	background: var(--shop-footer-bg);
	color: var(--shop-footer-ink);
	margin-top: auto;
}

.shop-footer-grid {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 46px 24px 30px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
}

.shop-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.shop-footer-logo-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.shop-footer-logo-fallback {
	width: 34px;
	height: 34px;
	border-radius: var(--shop-radius-sm);
	background: var(--shop-primary);
	color: var(--shop-cta-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--shop-font-head);
	font-weight: 700;
	font-size: 17px;
	flex: none;
}

.shop-footer-logo-mark {
	width: 30px;
	height: 30px;
	flex: none;
	object-fit: contain;
}

/* Full logo for a dark background (shop.logo_inverse) — the only logo image the footer draws */
.shop-footer-logo-img {
	max-height: 56px;
	max-width: min(200px, 100%);
	width: auto;
	height: auto;
}

.shop-footer-brand-name {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 18px;
	color: var(--shop-footer-ink);
}

.shop-footer-tagline {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	opacity: .78;
	max-width: 34ch;
	color: var(--shop-footer-ink);
}

.shop-footer-col {
	display: flex;
	flex-direction: column;
	gap: 11px;
	font-size: 13.5px;
}

.shop-newsletter-text {
	margin: 0 0 4px;
	opacity: .8;
	line-height: 1.5;
}
.shop-newsletter-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
/* Honeypot — kept in the layout but off-screen for humans; bots that auto-fill it get rejected. */
.shop-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.shop-newsletter-input {
	flex: 1 1 140px;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: var(--shop-radius-sm);
	background: rgba(255, 255, 255, .08);
	color: inherit;
	font-size: 16px;
}
.shop-newsletter-input::placeholder {
	color: currentColor;
	opacity: .55;
}
.shop-newsletter-btn {
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--shop-btn-radius);
	background: var(--shop-primary);
	color: var(--shop-cta-ink, #fff);
	font-weight: 600;
	cursor: pointer;
}
.shop-newsletter-btn:hover {
	filter: brightness(1.08);
}

.shop-footer-col-title {
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	opacity: .6;
	margin-bottom: 3px;
	display: block;
	color: var(--shop-footer-ink);
}

/* Sbalitelné sloupce patičky (flows-7). Od 768 px tlačítko vypadá i chová se jako
   obyčejný nadpis sloupce; rozbalování je jen na telefonu (≤767 px níže). */
.shop-footer-acc-btn {
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	line-height: inherit;
	text-align: left;
	opacity: .82; /* jako dřívější <span> nadpis (.shop-footer-col span) */
	cursor: default;
	pointer-events: none;
}
.shop-footer-acc-body {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.shop-footer-col a,
.shop-footer-col span {
	opacity: .82;
	color: var(--shop-footer-ink);
	text-decoration: none;
	transition: opacity .15s;
}
.shop-footer-col a:hover {
	opacity: 1;
	color: var(--shop-footer-ink);
}

.shop-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
}
/* Tlumená barva místo průhlednosti: opacity .7 × .9 u platebních štítků srazila kontrast
   11–12px textu pod 4,5 : 1 (flows-12). Směs 75 % drží ≥ 4,5 : 1 ve všech obchodech. */
.shop-footer-bottom-inner {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12.5px;
	flex-wrap: wrap;
	gap: 8px;
	color: color-mix(in srgb, var(--shop-footer-ink) 75%, var(--shop-footer-bg));
}
.shop-footer-vat-note {
	white-space: nowrap;
}
/* Social links in the footer ink, like the column links — the generic --shop-link
   was nearly invisible on a dark footer (about 1.9:1 on Pilina) */
.shop-footer-social {
	display: flex;
	gap: 14px;
}
.shop-footer-social a {
	color: var(--shop-footer-ink);
	opacity: .82;
	text-decoration: none;
}
.shop-footer-social a:hover {
	color: var(--shop-footer-ink);
	opacity: 1;
	text-decoration: underline;
}

/* ============================================================
   COMPONENT BASE: Buttons
   ============================================================ */
.btn-primary {
	background-color: var(--shop-cta);
	border-color: var(--shop-cta);
	color: var(--shop-cta-ink);
	border-radius: var(--shop-btn-radius);
	font-family: var(--shop-font-sans);
	font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--shop-cta);
	border-color: var(--shop-cta);
	color: var(--shop-cta-ink);
	filter: brightness(1.07);
}
.btn-outline-primary {
	color: var(--shop-primary);
	border-color: var(--shop-primary);
	border-radius: var(--shop-btn-radius);
	font-family: var(--shop-font-sans);
	font-weight: 600;
}
.btn-outline-primary:hover {
	background-color: var(--shop-primary);
	border-color: var(--shop-primary);
	color: var(--shop-cta-ink);
}
.btn {
	border-radius: var(--shop-btn-radius);
	font-family: var(--shop-font-sans);
}

/* ============================================================
   COMPONENT BASE: Cards
   ============================================================ */
.card {
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow-sm);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* ============================================================
   COMPONENT BASE: Forms
   ============================================================ */
.form-control,
.form-select {
	border-color: var(--shop-border);
	border-radius: var(--shop-radius-sm);
	font-family: var(--shop-font-sans);
	color: var(--shop-ink);
	background: var(--shop-surface);
}
.form-control:focus,
.form-select:focus {
	border-color: var(--shop-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--shop-primary) 20%, transparent);
}
.form-label {
	font-weight: 500;
	color: var(--shop-ink);
}

/* ============================================================
   COMPONENT BASE: Tables
   ============================================================ */
.table {
	color: var(--shop-ink);
}
.table thead th {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	color: var(--shop-ink);
	border-bottom-color: var(--shop-border);
}
.table td, .table th {
	border-color: var(--shop-border);
}

/* ============================================================
   COMPONENT BASE: Alerts
   ============================================================ */
.alert {
	border-radius: var(--shop-radius-sm);
}

/* ============================================================
   COMPONENT BASE: Badges
   ============================================================ */
.badge.bg-primary {
	background-color: var(--shop-primary) !important;
}
.text-primary {
	color: var(--shop-primary) !important;
}

/* ============================================================
   DROPDOWN CONTRAST FIX
   Themes may set white navbar ink; keep dropdown-items readable.
   Hex values here are intentionally hardcoded (not tokens) to
   guarantee legibility regardless of theme primary/ink overrides.
   ============================================================ */
.navbar .dropdown-menu .dropdown-item { color: #1f2937 !important; }
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus { color: #111827 !important; background-color: rgba(0, 0, 0, .06); }
.navbar .dropdown-menu .dropdown-item.active { color: #fff !important; background-color: var(--shop-primary); }

/* Shop header dropdown items also need contrast correction */
.shop-switcher-dropdown .dropdown-menu .dropdown-item { color: var(--shop-ink) !important; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.shop-product-card {
	border-radius: var(--shop-card-radius);
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
	box-shadow: var(--shop-shadow-sm);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
	display: flex;
	flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
	.shop-product-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--shop-shadow-md);
	}
}
.shop-product-card-img {
	display: block;
	aspect-ratio: var(--shop-card-img-ratio, 4 / 3);
	object-fit: var(--shop-card-img-fit, cover);
	width: 100%;
	background: var(--shop-border);
}
.shop-product-card-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.shop-product-card-name {
	font-family: var(--shop-font-sans);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--shop-ink);
	margin-bottom: 6px;
	min-height: 2.8em;
}
.shop-product-card-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.shop-product-card-price {
	font-family: var(--shop-font-head);
	font-weight: 700;
	font-size: 18px;
	color: var(--shop-price);
	white-space: nowrap;
}
/* ============================================================
   CATEGORY CHIP FILTERS
   ============================================================ */
.shop-chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 14px;
	border-radius: 999px;
	border: 1.5px solid var(--shop-border);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--shop-ink);
	text-decoration: none;
	transition: border-color .14s, background .14s, color .14s;
	background: var(--shop-surface);
	cursor: pointer;
}
.shop-chip:hover,
.shop-chip.active {
	border-color: var(--shop-primary);
	background: var(--shop-primary);
	color: var(--shop-cta-ink);
}

/* Category toolbar: count + removable filter chips | filters panel + sort */
.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin: 8px 0 26px;
}
.shop-toolbar-left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.shop-toolbar-count {
	font-size: 14px;
	color: var(--shop-muted);
}
.shop-toolbar-right {
	display: flex;
	align-items: center;
	gap: 12px;
}
.shop-fchip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 8px 5px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: var(--shop-ink);
	background: color-mix(in srgb, var(--shop-primary) 9%, #fff);
	border: 1px solid color-mix(in srgb, var(--shop-primary) 26%, #fff);
	transition: background .14s;
}
.shop-fchip:hover { background: color-mix(in srgb, var(--shop-primary) 16%, #fff); }
.shop-fchip-x {
	display: inline-flex;
	width: 16px;
	height: 16px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: color-mix(in srgb, var(--shop-primary) 20%, #fff);
	font-size: 12px;
	line-height: 1;
}
.shop-fclear {
	font-size: 13px;
	color: var(--shop-muted);
	text-decoration: underline;
}

/* ============================================================
   CATEGORY SIDEBAR LAYOUT (categories + filters in the left column)
   ============================================================ */
.shop-cat-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}
.shop-cat-main { min-width: 0; }
/* grid se přizpůsobí užšímu pravému sloupci (kvůli sidebaru) */
.shop-cat-main .shop-product-grid {
	grid-template-columns: repeat(3, 1fr);
}

/* Sidebar shell */
.shop-sidebar {
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.shop-sidebar-head { display: none; } /* jen v mobilním draweru */

/* Categories nav */
.shop-sidenav-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--shop-muted);
	margin: 0 0 12px;
}
.shop-sidenav-list,
.shop-sidenav-sublist { list-style: none; margin: 0; padding: 0; }
.shop-sidenav-item { margin-bottom: 1px; }
.shop-sidenav-link {
	display: block;
	padding: 8px 12px;
	border-radius: var(--shop-radius-sm, 8px);
	font-size: 14.5px;
	font-weight: 500;
	color: var(--shop-ink);
	text-decoration: none;
	transition: background .14s, color .14s;
}
.shop-sidenav-link:hover { background: color-mix(in srgb, var(--shop-primary) 9%, transparent); }
.shop-sidenav-link.is-open { color: var(--shop-primary); font-weight: 600; }
.shop-sidenav-link.is-current {
	background: var(--shop-primary);
	color: var(--shop-cta-ink, #fff);
}
.shop-sidenav-sublist {
	margin: 2px 0 8px;
	padding-left: 11px;
	border-left: 1.5px solid var(--shop-border);
}
.shop-sidenav-sublink {
	display: block;
	padding: 6px 12px;
	border-radius: var(--shop-radius-sm, 8px);
	font-size: 13.5px;
	color: var(--shop-muted);
	text-decoration: none;
	transition: background .14s, color .14s;
}
.shop-sidenav-sublink:hover { color: var(--shop-ink); background: color-mix(in srgb, var(--shop-primary) 9%, transparent); }
.shop-sidenav-sublink.is-current { color: var(--shop-primary); font-weight: 600; }

/* Sidebar filters */
.shop-sidefilter {
	border-top: 1px solid var(--shop-border);
	padding-top: 22px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.shop-sidefilter-switch { display: flex; }
.shop-sidefilter-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}
.shop-sidefilter-actions .shop-filter-apply { width: 100%; text-align: center; }
.shop-sidefilter-actions .shop-filter-reset { text-align: center; }

/* Mobile drawer pieces (skryté na desktopu) */
.shop-sidebar-toggle { display: none; }
.shop-sidebar-backdrop { display: none; }

/* Reused filter primitives */
.shop-filter-panel-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--shop-ink);
	margin-bottom: 10px;
}
.shop-filter-panel-note { font-size: 13px; color: var(--shop-muted); margin: 0; }
.shop-filter-reset { font-size: 14px; color: var(--shop-muted); text-decoration: underline; }
.shop-filter-apply {
	min-height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--shop-primary);
	color: var(--shop-cta-ink, #fff);
	font-family: var(--shop-font-sans);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}
.shop-filter-apply:hover { filter: brightness(.95); }

/* Dual-handle price slider */
.shop-range { padding: 2px 4px; }
.shop-range-track {
	position: relative;
	height: 4px;
	border-radius: 999px;
	background: var(--shop-border);
	margin: 16px 9px 0;
}
.shop-range-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	background: var(--shop-primary);
	border-radius: 999px;
}
.shop-range-thumb {
	position: absolute;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-left: -9px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--shop-primary);
	cursor: grab;
	touch-action: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.shop-range-thumb:active { cursor: grabbing; }
.shop-range-thumb:focus-visible { outline: 2px solid var(--shop-primary); outline-offset: 2px; }
.shop-range-values {
	font-size: 13px;
	color: var(--shop-muted);
	text-align: center;
	margin-top: 10px;
	font-variant-numeric: tabular-nums;
}

/* "Pouze skladem" toggle switch */
.shop-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.shop-switch-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.shop-switch-track {
	position: relative;
	flex: none;
	width: 40px;
	height: 22px;
	border-radius: 999px;
	background: var(--shop-border);
	transition: background .15s;
}
.shop-switch-track::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	transition: transform .15s;
}
.shop-switch-input:checked + .shop-switch-track { background: var(--shop-primary); }
.shop-switch-input:checked + .shop-switch-track::after { transform: translateX(18px); }
.shop-switch-input:focus-visible + .shop-switch-track { outline: 2px solid var(--shop-primary); outline-offset: 2px; }
.shop-switch-text { font-size: 14px; color: var(--shop-ink); }

/* Sort dropdown */
.shop-sort { display: inline-flex; align-items: center; gap: 8px; }
.shop-sort-label { font-size: 13px; color: var(--shop-muted); white-space: nowrap; }
.shop-sort-select {
	min-height: 40px;
	padding: 0 34px 0 14px;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-input-radius, 999px);
	background: var(--shop-surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 12px center;
	background-size: 13px;
	font-family: var(--shop-font-sans);
	font-size: 16px;
	color: var(--shop-ink);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
.shop-sort-select:hover { border-color: var(--shop-primary); }

@media (max-width: 767px) {
	/* listing-8: Toolbar na mobilu — 2 sloupce (filtry + řazení), počítadlo a aktivní filtry pod nimi */
	.shop-toolbar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		margin: 0 0 16px;
	}
	.shop-sidebar-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		gap: 8px;
		min-height: 44px;
		padding: 0 14px;
		margin: 0;
		border: 1px solid var(--shop-border);
		border-radius: var(--shop-input-radius, 999px);
		background: var(--shop-surface);
		font-family: var(--shop-font-sans);
		font-weight: 600;
		font-size: 14px;
		color: var(--shop-ink);
		cursor: pointer;
	}
	.shop-sidebar-toggle.is-active { border-color: var(--shop-primary); color: var(--shop-primary); }
	.shop-sort {
		width: 100%;
		display: flex;
	}
	.shop-sort-label {
		position: absolute !important;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
	.shop-sort-select {
		width: 100%;
		min-height: 44px;
		font-size: 16px;
	}
	.shop-toolbar-left {
		grid-column: 1 / -1;
		order: 2;
	}

	/* Sidebar se na mobilu mění na off-canvas drawer (listing-12) */
	.shop-cat-layout { display: block; }
	.shop-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(86vw, 340px);
		max-width: 340px;
		transform: translateX(-100%);
		transition: transform .25s ease, visibility .25s ease;
		visibility: hidden;
		background: var(--shop-surface);
		z-index: 1001;
		padding: 16px 20px 28px;
		overflow-y: auto;
		box-shadow: 0 0 40px rgba(0, 0, 0, .22);
		gap: 22px;
	}
	.shop-sidebar.is-open {
		visibility: visible;
		transform: translateX(0);
	}
	.shop-sidebar-head {
		order: -2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 4px;
	}
	.shop-sidebar-head-title {
		font-family: var(--shop-font-head);
		font-weight: var(--shop-heading-weight);
		font-size: 17px;
		color: var(--shop-ink);
	}
	.shop-sidebar-close {
		width: 44px;
		height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		font-size: 26px;
		line-height: 1;
		color: var(--shop-muted);
		cursor: pointer;
		padding: 0;
	}
	.shop-sidefilter {
		order: -1;
		border-top: 0;
		padding-top: 0;
		border-bottom: 1px solid var(--shop-border);
		padding-bottom: 22px;
	}
	.shop-sidefilter-actions {
		position: sticky;
		bottom: 0;
		background: var(--shop-surface);
		padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
	}
	.shop-range-thumb {
		width: 26px;
		height: 26px;
		margin-left: -13px;
	}
	.shop-range-thumb::before {
		content: '';
		position: absolute;
		inset: -9px;
	}
	.shop-range-track {
		margin: 16px 13px 0;
	}
	.shop-sidebar .shop-sidenav-item:not(.is-current-branch) {
		display: none;
	}
	.shop-sidebar-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, .45);
		z-index: 1000;
	}
	.shop-sidebar-backdrop[hidden] { display: none; }
}

/* Header search + autocomplete */
.shop-search {
	position: relative;
	flex: 1 1 auto;
	min-width: 260px;
	display: flex;
}
.shop-search-input {
	width: 100%;
	height: 42px;
	border: 1.5px solid var(--shop-border);
	border-radius: 999px;
	padding: 0 44px 0 16px;
	font-size: 14px;
	background: var(--shop-surface);
	color: var(--shop-ink);
}
/* iOS přiblíží stránku u pole pod 16 px — i na iPadu, kde už platí desktopová hlavička. */
@media (pointer: coarse) {
	.shop-search-input { font-size: 16px; }
}
.shop-search-input:focus {
	outline: 2px solid var(--shop-primary);
	outline-offset: 0;
	border-color: var(--shop-primary);
}
.shop-search-btn {
	position: absolute;
	right: 4px;
	top: 4px;
	height: 34px;
	width: 36px;
	border: 0;
	background: transparent;
	color: var(--shop-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.shop-search-suggest {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-lg, 12px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
	overflow: hidden;
	z-index: 200;
}
.shop-search-suggest[hidden] {
	display: none;
}
.shop-suggest-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	text-decoration: none;
	color: var(--shop-ink);
}
.shop-suggest-item:hover,
.shop-suggest-item.is-active {
	background: color-mix(in srgb, var(--shop-primary) 8%, #fff);
}
.shop-suggest-thumb {
	width: 38px;
	height: 38px;
	object-fit: cover;
	border-radius: 8px;
	flex: none;
	background: var(--shop-border);
}
.shop-suggest-thumb--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--shop-muted);
}
.shop-suggest-name {
	font-size: 13.5px;
	flex: 1;
}
.shop-suggest-price {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.shop-suggest-all {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--shop-link);
	text-decoration: none;
	border-top: 1px solid var(--shop-border);
}
.shop-suggest-all:hover,
.shop-suggest-all.is-active {
	background: color-mix(in srgb, var(--shop-primary) 8%, #fff);
}
@media (max-width: 767px) {
	.shop-search {
		order: 5;
		flex-basis: 100%;
		max-width: none;
	}
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.shop-hero {
	border-bottom: 1px solid var(--shop-border);
}
.shop-hero-inner {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: var(--shop-section-gap) var(--shop-gutter);
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 48px;
	align-items: center;
}
.shop-hero-content {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.shop-hero-badge {
	align-self: flex-start;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--shop-primary);
	background: color-mix(in srgb, var(--shop-primary) 12%, transparent);
	padding: 6px 12px;
	border-radius: 999px;
}
.shop-hero-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: clamp(2rem, 4.5vw, 46px);
	line-height: 1.08;
	margin: 0;
	letter-spacing: -.01em;
	color: var(--shop-ink);
}
.shop-hero-text {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--shop-muted);
	max-width: 44ch;
}
.shop-hero-actions {
	display: flex;
	gap: 12px;
	margin-top: 6px;
	flex-wrap: wrap;
}
.shop-hero-img {
	width: 100%;
	border-radius: var(--shop-radius-lg);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--shop-border);
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.shop-section {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: var(--shop-section-gap) var(--shop-gutter);
}
.shop-section-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 24px;
	color: var(--shop-ink);
	margin: 0 0 24px;
	letter-spacing: -.01em;
}

/* Category grid */
.shop-cat-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--shop-gap);
}
/* Product grid */
.shop-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--shop-gap);
}

/* ============================================================
   PRICE / SUMMARY
   ============================================================ */
.shop-price {
	font-family: var(--shop-font-head);
	font-weight: 700;
	color: var(--shop-price);
}

/* ============================================================
   PRODUCT CARD — image wrapper + badge overlay
   ============================================================ */
.shop-product-card-img-wrap {
	position: relative;
}
.shop-product-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--shop-muted);
	font-size: 13px;
	aspect-ratio: var(--shop-card-img-ratio, 4 / 3);
	background: var(--shop-card-img-bg, var(--shop-bg));
}
.shop-product-card-placeholder-icon {
	opacity: .45;
}
.shop-product-card-badge {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: var(--shop-badge-radius, 999px);
	background: var(--shop-accent);
	color: var(--shop-accent-ink);
}
/* Badges (ProductBadge) sit on the image corner or under the name — per-store tokens,
   like the "Skladem" pill. The card renders both copies and the tokens show one. */
.shop-product-card-badges {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.shop-product-card-img-wrap .shop-product-card-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	pointer-events: none;
	display: var(--shop-card-badges-on-image, flex);
}
.shop-product-card-link {
	display: block;
	color: inherit;
}
@media (hover: hover) and (pointer: fine) {
	.shop-product-card-link:hover {
		color: inherit;
		opacity: 1;
	}
}
.shop-product-card-name-link {
	display: block;
	color: var(--shop-ink);
}
@media (hover: hover) and (pointer: fine) {
	.shop-product-card-name-link:hover {
		color: var(--shop-primary);
		opacity: 1;
	}
}
.shop-product-card-from {
	font-size: 13px;
	font-weight: 500;
	color: var(--shop-muted);
}
.shop-product-card-cta {
	flex: none;
}
.shop-product-card-btn {
	display: inline-block;
	padding: 8px 13px;
	background: var(--shop-cta);
	color: var(--shop-cta-ink);
	border-radius: var(--shop-btn-radius);
	font-size: 13px;
	font-weight: 600;
	font-family: var(--shop-font-sans);
	text-decoration: none;
	transition: filter .15s;
}
.shop-product-card-btn:hover,
.shop-product-card-btn:focus {
	opacity: 1;
	text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
	.shop-product-card-btn:hover {
		color: var(--shop-cta-ink);
		filter: brightness(1.07);
	}
	.shop-product-card:hover .shop-product-card-btn {
		filter: brightness(1.07);
	}
}

/* ============================================================
   HERO CTA BUTTONS
   ============================================================ */
.shop-hero-cta-primary {
	display: inline-block;
	padding: 13px 24px;
	background: var(--shop-cta);
	color: var(--shop-cta-ink);
	border-radius: var(--shop-btn-radius);
	font-size: 15px;
	font-weight: 600;
	font-family: var(--shop-font-sans);
	text-decoration: none;
	box-shadow: var(--shop-shadow-sm);
	transition: filter .15s;
}
.shop-hero-cta-primary:hover {
	color: var(--shop-cta-ink);
	filter: brightness(1.06);
}
.shop-hero-img-placeholder {
	aspect-ratio: 5 / 4;
	border-radius: var(--shop-radius-lg);
	overflow: hidden;
	border: 1px solid var(--shop-border);
	background-color: var(--shop-surface);
	background-image: repeating-linear-gradient(45deg, var(--shop-border) 0, var(--shop-border) 1px, transparent 1px, transparent 11px);
	box-shadow: var(--shop-shadow-md);
}

/* ============================================================
   CMS HOMEPAGE BLOCKS (hero / banner / usp / promo)
   ============================================================ */
.shop-block-hero .shop-hero-inner {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 48px;
	align-items: center;
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: var(--shop-section-gap) 24px;
}
.shop-block-hero .shop-hero-content {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.shop-block-hero-img {
	width: 100%;
	border-radius: var(--shop-radius-lg);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--shop-border);
}
.shop-block-hero-img-placeholder {
	aspect-ratio: 5 / 4;
	border-radius: var(--shop-radius-lg);
	overflow: hidden;
	border: 1px solid var(--shop-border);
	background-color: var(--shop-surface);
	background-image: repeating-linear-gradient(45deg, var(--shop-border) 0, var(--shop-border) 1px, transparent 1px, transparent 11px);
	box-shadow: var(--shop-shadow-md);
}
.shop-block-banner {
	display: block;
	max-width: var(--shop-container);
	margin: 0 auto var(--shop-section-gap);
	padding: 0 24px;
}
.shop-block-banner-img {
	width: 100%;
	border-radius: var(--shop-radius-lg);
	object-fit: cover;
	box-shadow: var(--shop-shadow-sm);
}

/* Mozaika bannerů (jako pilina.cz): 1 velký vlevo přes 2 řádky + menší vpravo */
.shop-banner-mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: 1fr;
    gap: var(--shop-gap);
    max-width: var(--shop-container);
    margin: var(--shop-section-gap) auto 0;
    padding: 0 24px;
}
.shop-banner-mosaic-item {
    display: block;
    border-radius: var(--shop-card-radius);
    overflow: hidden;
    box-shadow: var(--shop-shadow-sm);
}
.shop-banner-mosaic-item:first-child { grid-row: span 2; }
.shop-banner-mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-banner-mosaic-item { position: relative; }
.shop-banner-mosaic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: .7rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(20, 12, 6, .5), rgba(20, 12, 6, 0) 55%);
}
.shop-banner-mosaic-title {
    color: #fff;
    font-family: var(--shop-font-head);
    font-weight: 700;
    line-height: 1.15;
    font-size: clamp(1.05rem, 1.7vw, 1.65rem);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.shop-banner-mosaic-btn {
    display: inline-flex;
    align-items: center;
    background: var(--shop-cta);
    color: var(--shop-cta-ink);
    padding: .5rem 1.15rem;
    border-radius: var(--shop-btn-radius);
    font-weight: 600;
    font-size: .9rem;
    transition: filter .15s var(--shop-ease), transform .15s var(--shop-ease);
}
.shop-banner-mosaic-item:hover .shop-banner-mosaic-btn { filter: brightness(1.08); transform: translateY(-1px); }
.shop-banner-mosaic[data-count="1"] .shop-banner-mosaic-overlay,
.shop-banner-mosaic-item:first-child .shop-banner-mosaic-overlay { padding: 1.75rem 2rem; }
.shop-banner-mosaic[data-count="1"] { grid-template-columns: 1fr; }
.shop-banner-mosaic[data-count="1"] .shop-banner-mosaic-item:first-child { grid-row: auto; }
.shop-banner-mosaic[data-count="2"] { grid-auto-rows: auto; }
.shop-banner-mosaic[data-count="2"] .shop-banner-mosaic-item:first-child { grid-row: auto; }
/* Promo pás hned pod mozaikou bannerů se jí dotýkal (mosaic margin-bottom 0 + promo padding-top 0) */
.shop-banner-mosaic + .shop-promo-band-wrap { margin-top: var(--shop-section-gap); }
/* Bez promo pásu se mozaika dotýkala pruhu výhod (USP nemá horní okraj) */
.shop-banner-mosaic + .shop-usp-strip { margin-top: var(--shop-section-gap); }
@media (max-width: 767px) {
    .shop-banner-mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .shop-banner-mosaic-item:first-child { grid-row: auto; }
}

.shop-block-card {
	max-width: var(--shop-container);
	margin: 0 auto var(--shop-section-gap);
	padding: 0 24px;
}
.shop-block-card-inner {
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	padding: 28px 32px;
	box-shadow: var(--shop-shadow-sm);
}
.shop-block-card-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 22px;
	color: var(--shop-ink);
	margin: 0 0 8px;
}
.shop-block-card-subtitle {
	font-size: 15px;
	color: var(--shop-muted);
	margin: 0 0 10px;
}
.shop-block-card-text {
	font-size: 15px;
	color: var(--shop-ink);
	margin: 0 0 14px;
}

/* ============================================================
   SECTION HEADER (title + "Zobrazit vše" link row)
   ============================================================ */
.shop-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 22px;
}
.shop-section-header .shop-section-title {
	margin-bottom: 0;
	font-size: 26px;
}
.shop-section-link {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--shop-link);
	text-decoration: none;
	white-space: nowrap;
	transition: opacity .15s;
}
.shop-section-link:hover {
	opacity: .8;
	color: var(--shop-link);
}
.shop-section-cats {
	padding-bottom: 0;
}
.shop-empty-text {
	color: var(--shop-muted);
	margin: 0;
}

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.shop-cat-tile {
	display: flex;
	flex-direction: column;
	gap: 10px;
	cursor: pointer;
	color: var(--shop-ink);
}
.shop-cat-tile:hover {
	color: var(--shop-ink);
}
.shop-cat-tile-img {
	aspect-ratio: 1 / 1;
	border-radius: var(--shop-card-radius);
	border: 1px solid var(--shop-border);
	background-color: var(--shop-bg);
	background-image: repeating-linear-gradient(45deg, var(--shop-border) 0, var(--shop-border) 1px, transparent 1px, transparent 9px);
	transition: box-shadow .15s, transform .15s;
}
.shop-cat-tile:hover .shop-cat-tile-img {
	box-shadow: var(--shop-shadow-md);
	transform: translateY(-3px);
}
.shop-cat-tile-name {
	font-size: 14.5px;
	font-weight: 600;
	text-align: center;
}

/* ============================================================
   CATEGORY PAGE LAYOUT
   ============================================================ */
.shop-cat-page {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 28px var(--shop-gutter) var(--shop-section-gap);
}

/* Breadcrumb */
.shop-breadcrumb {
	margin-bottom: 18px;
}
.shop-breadcrumb-list {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: var(--shop-muted);
}
.shop-breadcrumb-link {
	color: var(--shop-muted);
	text-decoration: none;
	transition: color .14s;
}
.shop-breadcrumb-link:hover {
	color: var(--shop-link);
}
.shop-breadcrumb-sep {
	opacity: .5;
}
.shop-breadcrumb-current {
	color: var(--shop-ink);
	font-weight: 600;
}

/* Heading + count */
.shop-cat-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 34px;
	margin: 0 0 14px;
	color: var(--shop-ink);
}
.shop-cat-count {
	font-size: 15px;
	font-weight: normal;
	color: var(--shop-muted);
	margin-left: 8px;
	font-variant-numeric: tabular-nums;
}
.shop-cat-description {
	color: var(--shop-muted);
	margin-bottom: 20px;
}

/* Úvod kategorie (popis kategorie, očištěné HTML z Trixu nebo seederu) — panel nad výpisem.
   HTML nemá třídy, proto strukturní selektory; první <figure> jsou fotky vlevo vedle textu
   (jako tabulka 30/70 na pilina.cz), na mobilu nad textem. */
.shop-cat-intro {
	display: flow-root;
	margin: 0 0 28px;
	padding: 24px 28px;
	background: var(--shop-cat-intro-bg, var(--shop-surface));
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-lg);
	color: var(--shop-ink);
	line-height: 1.65;
}
.shop-cat-intro > :first-child { margin-top: 0; }
.shop-cat-intro > :last-child { margin-bottom: 0; }
.shop-cat-intro h2,
.shop-cat-intro h3 {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	line-height: 1.3;
	margin: 1.1em 0 .5em;
	color: var(--shop-ink);
}
.shop-cat-intro h2 { font-size: 20px; }
.shop-cat-intro h3 { font-size: 18px; }
.shop-cat-intro p,
.shop-cat-intro ul { margin: 0 0 .9em; }
.shop-cat-intro ul { padding-left: 1.4em; }
.shop-cat-intro a {
	color: var(--shop-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.shop-cat-intro img {
	display: block;
	border-radius: var(--shop-radius-sm);
}
.shop-cat-intro > figure:first-child {
	float: left;
	width: min(30%, 340px);
	margin: 0 28px 12px 0;
	display: grid;
	gap: 12px;
}
.shop-cat-intro > figure:first-child img {
	width: 100%;
	height: auto;
}
.shop-cat-intro > figure:first-child + * { margin-top: 0; }
/* Text drží pravý sloupec i pod koncem fotek (na pilina.cz tabulka 30/70), neobtéká je zespodu */
.shop-cat-intro > figure:first-child ~ * { margin-left: calc(min(30%, 340px) + 28px); }
@media (max-width: 767px) {
	.shop-cat-intro { padding: 18px; }
	.shop-cat-intro > figure:first-child ~ * { margin-left: 0; }
	.shop-cat-intro > figure:first-child {
		float: none;
		width: auto;
		margin: 0 0 16px;
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}
	/* listing-2: Sbalení dlouhého SEO úvodu kategorie na mobilu */
	.shop-cat-intro-wrap {
		margin-bottom: 24px;
	}
	.shop-cat-intro-wrap .shop-cat-intro {
		margin-bottom: 8px;
	}
	.shop-cat-intro:not(.is-expanded) {
		max-height: 6.6em;
		overflow: hidden;
		position: relative;
	}
	.shop-cat-intro:not(.is-expanded) > figure:first-child {
		display: none;
	}
	.shop-cat-intro:not(.is-expanded)::after {
		content: '';
		position: absolute;
		inset: auto 0 0;
		height: 2.5em;
		background: linear-gradient(transparent, var(--shop-cat-intro-bg, var(--shop-surface)));
		pointer-events: none;
	}
	.shop-cat-intro-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 8px 16px;
		font-size: 14px;
		font-weight: 600;
		color: var(--shop-primary);
		background: var(--shop-surface);
		border: 1px solid var(--shop-border);
		border-radius: var(--shop-radius-sm);
		cursor: pointer;
		margin-bottom: 8px;
	}

	/* listing-7: Čipy podkategorií na mobilu */
	.shop-subcat-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		margin: 0 calc(var(--shop-gutter, 16px) * -1) 16px;
		padding: 0 var(--shop-gutter, 16px);
		scrollbar-width: none;
	}
	.shop-subcat-chips::-webkit-scrollbar {
		display: none;
	}
	.shop-subcat-chips .shop-chip {
		min-height: 40px;
		white-space: nowrap;
		font-size: 14px;
		scroll-snap-align: start;
	}
}

@media (min-width: 768px) {
	.shop-cat-intro-toggle,
	.shop-subcat-chips {
		display: none !important;
	}
}

/* Chips row */
.shop-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 30px;
}

/* Empty state */
.shop-empty-state {
	border: 1px dashed var(--shop-border);
	border-radius: var(--shop-radius-lg);
	padding: 48px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	background: var(--shop-surface);
	margin-top: 8px;
}
.shop-empty-state-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--shop-bg);
	border: 1px solid var(--shop-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--shop-muted);
}
.shop-empty-state-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 22px;
	margin: 0;
	color: var(--shop-ink);
	letter-spacing: -.015em;
}
.shop-empty-state-text {
	margin: 0;
	color: var(--shop-muted);
	max-width: 52ch;
	line-height: 1.55;
	font-size: 15px;
}
.shop-search-tips {
	background: var(--shop-bg);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	padding: 16px 20px;
	max-width: 480px;
	width: 100%;
	text-align: left;
	box-sizing: border-box;
}
.shop-search-tips-title {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--shop-muted);
	margin-bottom: 8px;
}
.shop-search-tips-list {
	margin: 0;
	padding-left: 20px;
	font-size: 13.5px;
	color: var(--shop-ink);
	line-height: 1.5;
}
.shop-search-tips-list li {
	margin-bottom: 4px;
}
.shop-search-tips-list li:last-child {
	margin-bottom: 0;
}
.shop-empty-state-actions {
	display: flex;
	gap: 10px;
	margin-top: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

/* Pagination */
.shop-pagination {
	margin-top: 32px;
}
.shop-pagination-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.shop-pagination-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1.5px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	font-size: 14px;
	font-weight: 500;
	color: var(--shop-ink);
	text-decoration: none;
	background: var(--shop-surface);
	transition: border-color .14s, background .14s, color .14s;
}
.shop-pagination-link:hover {
	border-color: var(--shop-primary);
	color: var(--shop-primary);
}
.shop-pagination-item.active .shop-pagination-link {
	background: var(--shop-primary);
	border-color: var(--shop-primary);
	color: var(--shop-cta-ink);
}

/* ============================================================
   FOCUS VISIBLE / ACCESSIBILITY (system-11)
   ============================================================ */
.shop-footer,
.shop-cookie-bar {
	--shop-focus-ring: var(--shop-footer-ink);
}
.shop-utility-bar {
	--shop-focus-ring: var(--shop-utility-accent);
}
:focus-visible {
	outline: 2px solid var(--shop-focus-ring);
	outline-offset: 3px;
}
.btn:focus-visible {
	outline: 2px solid var(--shop-focus-ring);
	outline-offset: 3px;
	box-shadow: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
	.shop-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.shop-product-grid,
	.shop-cat-main .shop-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* Drawer controls hidden on desktop by default */
.shop-nav-drawer-header,
.shop-nav-drawer-footer,
.shop-nav-expand {
	display: none;
}

@media (min-width: 768px) and (max-width: 991px) {
	.shop-header-inner { gap: 16px; }
	.shop-search { min-width: 0; }
	.shop-account-name { display: none; }
	.shop-account-link { min-width: 44px; min-height: 44px; justify-content: center; }
	.shop-cart-btn { margin-left: 0; }
}

@media (hover: none) and (min-width: 768px) {
	.shop-nav-caret { display: none; }
	.shop-nav-link { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 767px) {
	.shop-header-inner {
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 4px;
		padding: 6px 12px 10px;
		min-height: 0;
	}
	.shop-nav {
		position: fixed;
		inset: 0 auto 0 0;
		width: min(86vw, 360px);
		height: 100dvh;
		z-index: 90;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		margin: 0;
		padding: 0 0 calc(24px + env(safe-area-inset-bottom));
		background: var(--shop-surface);
		box-shadow: 18px 0 40px -20px rgba(0, 0, 0, .45);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform .22s var(--shop-ease), visibility .22s;
	}
	/* Při otevření je zásuvka viditelná hned (visibility bez prodlevy), jinak by do ní
	   JS nepřesunul fokus — skrytý prvek fokus nepřijme. Při zavření se schová až po animaci. */
	.shop-nav.is-open {
		transform: none;
		visibility: visible;
		transition: transform .22s var(--shop-ease), visibility 0s;
	}
	@media (prefers-reduced-motion: reduce) {
		.shop-nav,
		.shop-nav.is-open {
			transition: none;
		}
	}
	.shop-nav-toggle {
		order: 0;
		margin: 0;
	}
	.shop-nav-item--more { display: none !important; }
	.shop-nav-caret { display: none; }
	.shop-logo-wrap {
		order: 1;
		flex: 1 1 0;
		min-width: 0;
		height: 44px;
		gap: 8px;
	}
	.shop-header-actions {
		order: 2;
		margin-left: 0;
		gap: 4px;
	}
	.shop-account-name { display: none; }
	.shop-search {
		order: 5;
		flex: 1 1 100%;
		min-width: 0;
		margin: 0;
	}
	.shop-header-nav-row { border-top: 0; background: transparent; }
	.shop-header-nav-row > nav { padding: 0; }

	.shop-hero-inner {
		grid-template-columns: 1fr;
	}
	.shop-hero-img-placeholder { display: none; }

	.shop-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.shop-footer-brand { grid-column: 1 / -1; }

	.shop-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.shop-product-grid,
	.shop-cat-main .shop-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

	.shop-cat-title { font-size: 26px; }
}

@media (max-width: 479px) {
	.shop-footer-grid { grid-template-columns: 1fr; }
	.shop-product-grid,
	.shop-cat-main .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
	.shop-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.shop-cart-total { display: none; }
}

/* ============================================================
   PRODUCT DETAIL PAGE (.pd-*)
   ============================================================ */

/* Page wrapper */
.pd-page {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 28px var(--shop-gutter) var(--shop-section-gap);
}

/* Two-column layout: gallery | info */
.pd-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
	margin-top: 24px;
}

/* ---- GALLERY ---- */
.pd-gallery {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pd-gallery-main {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--shop-radius-lg);
	border: 1px solid var(--shop-border);
	background: var(--shop-surface);
	overflow: hidden;
	box-shadow: var(--shop-shadow-sm);
}

/* Pás všech fotek: na telefonu se listuje prstem, na počítači ho posouvají náhledy */
.pd-gallery-track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.pd-gallery-track::-webkit-scrollbar {
	display: none;
}
.pd-gallery-track > .pd-gallery-zoom {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

/* Počítadlo „n / N" v rohu fotky — tmavý podklad je čitelný na bílé i tmavé fotce */
.pd-gallery-count {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}

.pd-gallery-main-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pd-gallery-placeholder {
	aspect-ratio: 1 / 1;
	border-radius: var(--shop-radius-lg);
	border: 1px solid var(--shop-border);
	background-color: var(--shop-surface);
	background-image: repeating-linear-gradient(45deg, var(--shop-border) 0, var(--shop-border) 1px, transparent 1px, transparent 11px);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shop-shadow-sm);
}

.pd-gallery-placeholder-text {
	font-size: 13px;
	color: var(--shop-muted);
	background: var(--shop-surface);
	padding: 8px 14px;
	border-radius: var(--shop-radius-sm);
	border: 1px solid var(--shop-border);
}

.pd-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.pd-thumb-btn {
	aspect-ratio: 1 / 1;
	border: 1.5px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	background: var(--shop-bg);
	overflow: hidden;
	padding: 0;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}

.pd-thumb-btn:hover,
.pd-thumb-btn.is-active {
	border-color: var(--shop-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--shop-primary) 20%, transparent);
}

/* Same rule as the main photo: product photos are not cropped */
.pd-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
	display: block;
}

/* ---- INFO COLUMN ---- */
.pd-info {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Badges (ProductBadge: Akce / Novinka / Tip / Doporučujeme) */
.pd-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-self: flex-start;
}
.pd-badge {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: var(--shop-badge-radius, 999px);
	background: var(--shop-accent);
	color: var(--shop-accent-ink);
}

/* H1 */
.pd-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.12;
	margin: 0;
	color: var(--shop-ink);
}

/* Byline pod názvem (u knih autor) — záporný okraj ho přitáhne k nadpisu přes mezeru .pd-info */
.pd-byline {
	margin: -10px 0 0;
	font-size: 16px;
	color: var(--shop-muted);
}

/* Meta line (SKU / stock) */
.pd-meta {
	font-size: 13.5px;
	color: var(--shop-muted);
	margin: 0;
}

.pd-meta-stock--in {
	color: var(--shop-success);
}

.pd-meta-stock--out {
	color: var(--shop-danger);
}

/* Price block */
.pd-price-block {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	padding: 16px 0;
	border-top: 1px solid var(--shop-border);
	border-bottom: 1px solid var(--shop-border);
}

.pd-price {
	font-family: var(--shop-font-head);
	font-weight: 700;
	font-size: 34px;
	color: var(--shop-price);
	line-height: 1;
}

/* Variant option buttons */
.pd-variants {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pd-variants-label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--shop-ink);
}

.pd-variant-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.pd-variant-btn {
	padding: 7px 16px;
	border: 1.5px solid var(--shop-border);
	border-radius: var(--shop-btn-radius);
	background: var(--shop-surface);
	color: var(--shop-ink);
	font-size: 14px;
	font-weight: 500;
	font-family: var(--shop-font-sans);
	cursor: pointer;
	transition: border-color .14s, background .14s, color .14s, box-shadow .14s;
	line-height: 1.3;
	min-height: 44px;
}

.pd-variant-btn:hover:not(:disabled) {
	border-color: var(--shop-primary);
	color: var(--shop-primary);
}

.pd-variant-btn.is-active {
	border-color: var(--shop-primary);
	background: var(--shop-primary);
	color: var(--shop-cta-ink);
	box-shadow: var(--shop-shadow-sm);
}

.pd-variant-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.pd-variant-out {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--shop-danger);
	margin-top: 2px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.pd-variant-btn.is-active .pd-variant-out {
	opacity: .8;
}

/* Cart row: stepper + CTA */
.pd-cart-row {
	/* each variant has its own row; JS toggles visibility */
}

.pd-variant-form--hidden {
	display: none;
}

.pd-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
	margin: 0;
}

/* Quantity stepper */
.pd-stepper {
	display: flex;
	align-items: center;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-btn-radius);
	overflow: hidden;
	flex: none;
}

.pd-stepper-btn {
	width: 42px;
	height: 48px;
	border: none;
	background: var(--shop-surface);
	color: var(--shop-ink);
	font-size: 20px;
	cursor: pointer;
	font-family: var(--shop-font-sans);
	transition: background .12s;
	flex: none;
}

.pd-stepper-btn:hover {
	background: var(--shop-bg);
}

.pd-stepper-input {
	width: 46px;
	height: 48px;
	border: none;
	border-left: 1px solid var(--shop-border);
	border-right: 1px solid var(--shop-border);
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	font-family: var(--shop-font-sans);
	color: var(--shop-ink);
	background: var(--shop-surface);
	appearance: textfield;
	-moz-appearance: textfield;
}

.pd-stepper-input::-webkit-inner-spin-button,
.pd-stepper-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.pd-stepper-input:focus {
	outline: 2px solid var(--shop-primary);
	outline-offset: 2px;
	background: color-mix(in srgb, var(--shop-primary) 6%, var(--shop-surface));
}

/* CTA button */
.pd-cta-btn {
	flex: 1;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	background: var(--shop-cta);
	color: var(--shop-cta-ink);
	border: none;
	border-radius: var(--shop-btn-radius);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family: var(--shop-font-sans);
	box-shadow: var(--shop-shadow-md);
	transition: transform .18s var(--shop-ease), filter .18s var(--shop-ease);
	white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
	.pd-cta-btn:hover {
		transform: translateY(-2px);
		filter: brightness(1.06);
		color: var(--shop-cta-ink);
	}
}

.pd-cta-btn:active {
	transform: translateY(0) scale(.985);
}

/* Delivery / return benefits */
.pd-benefits {
	display: flex;
	gap: 18px;
	font-size: 13px;
	color: var(--shop-muted);
	flex-wrap: wrap;
}

.pd-benefit {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.pd-benefit-icon {
	flex: none;
	color: var(--shop-primary);
}

/* Product description */
.pd-description {
	font-size: 15px;
	line-height: 1.65;
	color: var(--shop-ink);
	margin-top: 8px;
}

.pd-description p {
	margin: 0 0 0.8em;
}

.pd-description p:last-child {
	margin-bottom: 0;
}

/* Sekce Popis / Parametry v pravém sloupci: nadpis blíž k obsahu než ke kupnímu boxu */
.pd-detail-section {
	margin-top: 8px;
}
.pd-detail-section > .pd-section-title {
	margin-bottom: 10px;
}
.pd-detail-section > .pd-description {
	margin-top: 0;
}
/* Popisky parametrů v tlumené barvě obchodu místo šedé Tableru */
.pd-params > tbody > tr > th {
	color: var(--shop-muted);
	font-weight: 600;
}

/* Related products + recently viewed (product detail) */
.pd-related {
	margin-top: 40px;
}
.pd-section-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 20px;
	margin: 0 0 16px;
	color: var(--shop-ink);
}
.pd-rv-strip {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x proximity;
}
.pd-rv-card {
	flex: 0 0 160px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--shop-ink);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius, 10px);
	overflow: hidden;
	background: var(--shop-surface);
	transition: border-color .14s;
}
.pd-rv-card:hover {
	border-color: var(--shop-primary);
}
.pd-rv-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	background: var(--shop-bg);
}
.pd-rv-img--empty {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: block;
	background: var(--shop-bg);
}
.pd-rv-name {
	font-size: 13px;
	line-height: 1.35;
	padding: 8px 10px 0;
}
.pd-rv-price {
	font-weight: 700;
	font-size: 14px;
	padding: 4px 10px 10px;
	margin-top: auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 767px) {
	.pd-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.pd-gallery-main {
		aspect-ratio: 4 / 3;
	}

	.pd-price {
		font-size: 28px;
	}

	.pd-title {
		font-size: 24px;
	}

	/* product-2: náhledy jako jeden posuvný pruh místo mřížky po čtyřech — u 24 fotek
	   byla mřížka 518 px vysoká a odtlačila název a cenu o obrazovku níž */
	.pd-gallery {
		min-width: 0;
		gap: 10px;
	}
	.pd-thumbs {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding: 2px 2px 4px;
	}
	.pd-thumbs::-webkit-scrollbar {
		display: none;
	}
	.pd-thumb-btn {
		flex: 0 0 64px;
		height: 64px;
		scroll-snap-align: start;
	}

	/* product-6: doprava a vrácení jako čitelné informace pod tlačítkem, ne drobný šedý text */
	.pd-benefits {
		flex-direction: column;
		gap: 8px;
		font-size: 14px;
	}
	.pd-benefit {
		color: var(--shop-ink);
		align-items: flex-start;
	}
	.pd-benefit-icon {
		margin-top: 2px;
	}
	.pd-benefit--note {
		color: var(--shop-muted);
	}

	/* product-10: drobečková navigace na detailu jen jako odkaz zpět (Domů / kategorie) —
	   poslední položka opakovala nadpis o kus níž a zalamovala se do tří řádků */
	.pd-page .shop-breadcrumb-list > li:nth-last-child(-n+2) {
		display: none;
	}
	.pd-page .shop-breadcrumb-list > li {
		min-width: 0;
	}
	.pd-page .shop-breadcrumb-link {
		display: inline-block;
		padding: 12px 0;
		margin: -12px 0;
		white-space: nowrap;
		max-width: 60vw;
		overflow: hidden;
		text-overflow: ellipsis;
		vertical-align: bottom;
	}
}

@media (max-width: 479px) {
	.pd-form-actions {
		flex-wrap: wrap;
	}

	.pd-form-actions .pd-stepper {
		flex: none;
	}

	.pd-form-actions .pd-cta-btn {
		flex: 1 1 160px;
		min-width: 0;
		white-space: normal;
	}
}

/* ============================================================
   CART PAGE (.cart-*)
   ============================================================ */
.cart-page {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 28px var(--shop-gutter) var(--shop-section-gap);
}

.cart-currency-notice {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 13px 16px;
	border-radius: var(--shop-radius);
	background: color-mix(in srgb, var(--shop-primary) 8%, var(--shop-surface));
	border: 1px solid color-mix(in srgb, var(--shop-primary) 22%, var(--shop-border));
	margin-bottom: 24px;
	font-size: 13.5px;
	line-height: 1.5;
}

.cart-currency-notice-icon {
	color: var(--shop-primary);
	font-weight: 700;
	flex: none;
}

.cart-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
}

.cart-items-wrap {
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	overflow: hidden;
	background: var(--shop-surface);
}

.cart-table {
	width: 100%;
	border-collapse: collapse;
}

.cart-table-head {
	display: grid;
	grid-template-columns: 1fr 120px 130px 110px 36px;
	gap: 14px;
	padding: 14px 18px;
	background: var(--shop-bg);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--shop-muted);
	border-bottom: 1px solid var(--shop-border);
}

.cart-row {
	display: grid;
	grid-template-columns: 1fr 120px 130px 110px 36px;
	gap: 14px;
	padding: 16px 18px;
	align-items: center;
	border-bottom: 1px solid var(--shop-border);
}

.cart-row + .cart-footer {
	border-top: none;
}

.cart-product-cell {
	display: flex;
	align-items: center;
	gap: 14px;
}

.cart-thumb {
	width: 62px;
	height: 62px;
	flex: none;
	border-radius: var(--shop-radius-sm);
	border: 1px solid var(--shop-border);
	background-color: var(--shop-bg);
	background-image: repeating-linear-gradient(45deg, var(--shop-border) 0, var(--shop-border) 1px, transparent 1px, transparent 7px);
	overflow: hidden;
	object-fit: cover;
}

.cart-product-name {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--shop-ink);
	text-decoration: none;
}

.cart-product-name:hover {
	color: var(--shop-primary);
}

.cart-product-meta {
	font-size: 12.5px;
	color: var(--shop-muted);
	display: block;
	margin-top: 2px;
}

.cart-unit-price {
	text-align: right;
	font-size: 14px;
	color: var(--shop-muted);
}

.cart-qty-cell {
	display: flex;
	justify-content: center;
}

.cart-stepper {
	display: flex;
	align-items: center;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-btn-radius);
	overflow: hidden;
}

.cart-stepper-input {
	width: 46px;
	height: 34px;
	border: none;
	border-left: 1px solid var(--shop-border);
	border-right: 1px solid var(--shop-border);
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	font-family: var(--shop-font-sans);
	color: var(--shop-ink);
	background: var(--shop-surface);
	appearance: textfield;
	-moz-appearance: textfield;
}

.cart-stepper-input::-webkit-inner-spin-button,
.cart-stepper-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

/* −/+ jako .pd-stepper-btn na detailu produktu; bez JS by nic nedělaly, ukáže je až html.js */
.cart-stepper-btn {
	display: none;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 32px;
	height: 34px;
	padding: 0;
	border: none;
	background: var(--shop-surface);
	color: var(--shop-ink);
	font-size: 20px;
	line-height: 1;
	font-family: var(--shop-font-sans);
	cursor: pointer;
	transition: background .12s;
}
html.js .cart-stepper-btn { display: inline-flex; }
.cart-stepper-btn:hover { background: var(--shop-bg); }
.cart-stepper-btn:disabled {
	color: color-mix(in srgb, var(--shop-muted) 45%, var(--shop-surface));
	cursor: default;
	background: var(--shop-surface);
}

.cart-stepper-submit {
	height: 34px;
	padding: 0 10px;
	border: none;
	background: var(--shop-surface);
	color: var(--shop-muted);
	font-size: 12px;
	font-weight: 600;
	font-family: var(--shop-font-sans);
	cursor: pointer;
	transition: background .12s, color .12s;
}

.cart-stepper-submit:hover {
	background: var(--shop-bg);
	color: var(--shop-primary);
}

.cart-row-total {
	text-align: right;
	font-size: 15px;
	font-weight: 700;
	font-family: var(--shop-font-head);
	color: var(--shop-price);
}

.cart-remove-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: var(--shop-muted);
	font-size: 18px;
	cursor: pointer;
	border-radius: var(--shop-radius-sm);
	text-decoration: none;
	transition: background .12s, color .12s;
	line-height: 1;
}

.cart-remove-btn:hover {
	background: var(--shop-bg);
	color: var(--shop-danger);
}

.cart-footer {
	padding: 14px 18px;
	border-top: 1px solid var(--shop-border);
}

/* Cart summary (sticky) */
.cart-summary {
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow-sm);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: sticky;
	top: calc(var(--shop-header-h, var(--shop-header-height)) + 16px);
}

.cart-summary-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 19px;
	margin: 0;
	color: var(--shop-ink);
}

.cart-summary-row {
	display: flex;
	justify-content: space-between;
	font-size: 14.5px;
}

.cart-summary-label {
	color: var(--shop-muted);
}

.cart-summary-value {
	font-weight: 600;
}

.cart-summary-divider {
	height: 1px;
	background: var(--shop-border);
	margin: 2px 0;
}

.cart-summary-total-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.cart-summary-total-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--shop-ink);
}

.cart-summary-total-amount {
	font-family: var(--shop-font-head);
	font-weight: 700;
	font-size: 26px;
	color: var(--shop-price);
}

.cart-summary-vat-note {
	font-size: 12px;
	color: var(--shop-muted);
	margin: 0;
}

.cart-summary-nudge {
	font-size: 12.5px;
	line-height: 1.4;
	padding: 8px 10px;
	margin: 4px 0 2px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--shop-accent, #f59e0b) 14%, #fff);
	color: #3a3a3a;
}

/* Kupón sbalený za odkaz „Máte slevový kód?" (flows-8) */
.cart-coupon-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--shop-link);
	font-size: 14.5px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}
.cart-coupon-toggle::-webkit-details-marker { display: none; }
.cart-coupon-toggle::after {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s;
}
.cart-coupon[open] > .cart-coupon-toggle::after { transform: rotate(180deg); }
.cart-coupon-toggle:hover { text-decoration: underline; }
.cart-coupon > .cart-coupon-form { margin-top: 2px; }

.cart-coupon-form {
	display: flex;
	gap: 8px;
	margin: 10px 0 2px;
}
/* Šířka 0 a flex: pole nesmí svou vnitřní šířkou (atribut size) roztáhnout souhrn
   košíku přes okraj úzkého telefonu (flows-1) */
.cart-coupon-input {
	flex: 1 1 auto;
	width: 0;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1.5px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	font-size: 16px;
}
.cart-coupon-btn {
	flex: none;
	height: 40px;
	padding: 0 16px;
	border: 1.5px solid var(--shop-primary);
	border-radius: var(--shop-btn-radius);
	background: transparent;
	color: var(--shop-link);
	font-weight: 600;
	cursor: pointer;
}
.cart-coupon-btn:hover {
	background: color-mix(in srgb, var(--shop-primary) 8%, transparent);
}
.cart-coupon-applied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 10px 0 2px;
	padding: 8px 10px;
	border-radius: var(--shop-radius-sm);
	background: color-mix(in srgb, var(--shop-primary) 8%, #fff);
	font-size: 13.5px;
}
.cart-coupon-remove {
	flex: none;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	color: var(--shop-muted);
	text-decoration: none;
	font-size: 20px;
	line-height: 1;
}
.cart-coupon-remove:hover { background: rgba(0,0,0,.06); color: #1a1a1a; }
.cart-summary-discount .cart-summary-value { color: #1f8a4c; }

.cart-summary-cta {
	margin-top: 6px;
	display: block;
	height: 50px;
	line-height: 50px;
	text-align: center;
	background: var(--shop-cta);
	color: var(--shop-cta-ink);
	border: none;
	border-radius: var(--shop-btn-radius);
	font-size: 16px;
	font-weight: 700;
	font-family: var(--shop-font-sans);
	text-decoration: none;
	box-shadow: var(--shop-shadow-md);
	transition: transform .18s var(--shop-ease), filter .18s var(--shop-ease);
}

.cart-summary-cta:hover {
	color: var(--shop-cta-ink);
	transform: translateY(-2px);
	filter: brightness(1.06);
}

.cart-summary-cta:active {
	transform: translateY(0) scale(.985);
}

/* Secure payment trust line below checkout CTA */
.cart-secure-payment {
	display: flex;
	align-items: center;
	gap: 7px;
	justify-content: center;
	font-size: 12px;
	color: var(--shop-muted);
}

.cart-empty {
	text-align: center;
	padding: 56px 24px;
}

/* ============================================================
   CHECKOUT PAGES (.co-*)
   ============================================================ */
.co-page {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 28px 24px var(--shop-section-gap);
}

.co-step-indicator {
	font-size: 15px;
	color: var(--shop-muted);
	font-weight: 400;
}

/* Oddělovač za „Pokladna“ jen vedle nadpisu; na telefonu je krok na vlastním řádku. */
.co-step-indicator::before {
	content: "· ";
}

/* B2B pole (firma/IČO/DIČ) sbalená za <details> */
.co-b2b {
	border-top: 1px solid var(--shop-border);
	padding-top: 12px;
}

.co-b2b-summary {
	cursor: pointer;
	color: var(--shop-primary);
	font-weight: 500;
}

.co-b2b-summary:hover {
	text-decoration: underline;
}

.co-currency-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 11px 14px;
	border-radius: var(--shop-radius-sm);
	background: color-mix(in srgb, var(--shop-primary) 8%, var(--shop-surface));
	border: 1px solid color-mix(in srgb, var(--shop-primary) 22%, var(--shop-border));
	margin-bottom: 20px;
	font-size: 13.5px;
	line-height: 1.5;
}

.co-currency-notice-icon {
	color: var(--shop-primary);
	font-weight: 700;
	flex: none;
}

/* Checkout shipping & payment methods list */
.co-methods-list {
	display: flex;
	flex-direction: column;
}

.co-method-item {
	transition: background-color 0.15s ease-in-out;
	border-bottom: 1px solid var(--shop-border, #e9ecef);
}

.co-method-item:last-child {
	border-bottom: none;
}

.co-method-item:hover {
	background-color: color-mix(in srgb, var(--shop-primary) 3%, var(--shop-surface, #fff));
}

.co-method-item:has(.form-check-input:checked) {
	background-color: color-mix(in srgb, var(--shop-primary) 5%, var(--shop-surface, #fff));
}

.method-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: #fff;
	border: 1px solid var(--shop-border, #cbd5e1);
	border-radius: var(--shop-radius-sm, 6px);
	overflow: hidden;
}

.method-icon--md {
	width: 64px;
	height: 40px;
}

@media (max-width: 575px) {
	.method-icon--md {
		width: 52px;
		height: 34px;
	}
}

.method-icon--sm {
	width: 40px;
	height: 26px;
	display: inline-flex;
	vertical-align: middle;
}

.method-icon img {
	max-width: calc(100% - 8px);
	max-height: calc(100% - 8px);
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Značky (Google Pay, Apple Pay, Zásilkovna…) mají vlastní rámeček či podklad, takže bez
   rámečku slotu a ve stejné výšce — Google ani Apple nesmí být menší než ostatní značky. */
.method-icon--brand {
	border-color: transparent;
	background: transparent;
}

.method-icon--brand img {
	max-width: 100%;
	max-height: 34px;
}

@media (max-width: 575px) {
	.method-icon--md.method-icon--brand img {
		max-height: 28px;
	}
}

.method-icon--sm.method-icon--brand img {
	max-height: 21px;
}

.method-glyph {
	display: inline-block;
	width: 24px;
	height: 24px;
	background-color: var(--shop-primary);
	-webkit-mask: var(--method-icon) center / contain no-repeat;
	mask: var(--method-icon) center / contain no-repeat;
}

.method-icon--sm .method-glyph {
	width: 16px;
	height: 16px;
}

.co-method-price {
	white-space: nowrap;
	font-size: 15px;
	color: var(--shop-text, #1e293b);
}

.zasilkovna-box {
	background-color: color-mix(in srgb, var(--shop-primary) 4%, #f8fafc);
	border: 1px solid color-mix(in srgb, var(--shop-primary) 20%, var(--shop-border, #cbd5e1));
	border-radius: var(--shop-radius, 8px);
	transition: all 0.2s ease-in-out;
	margin: 0 16px 16px;
}

/* ============================================================
   THANK-YOU PAGE (.ty-*)
   ============================================================ */
.ty-page {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 28px var(--shop-gutter) var(--shop-section-gap);
}

.ty-hero {
	text-align: center;
	padding: 32px 24px 24px;
}

.ty-status-badge {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--shop-primary) 12%, transparent);
	color: var(--shop-primary);
	margin-top: 6px;
}

.ty-bank-box {
	max-width: 30rem;
	margin: 0 auto 24px;
}

.ty-order-table-wrap {
	max-width: 40rem;
	margin: 0 auto 32px;
}

.ty-actions {
	text-align: center;
	margin-top: 8px;
}

/* ---- Checkout summary: center agree checkbox and submit button together ---- */
.co-summary-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	margin: 36px auto 20px;
	max-width: 520px;
	width: 100%;
}

.co-consent {
	width: 100%;
	text-align: left;
	padding: 14px 16px;
	border: 2px solid var(--shop-border);
	border: 2px solid color-mix(in srgb, var(--shop-primary) 35%, var(--shop-border));
	background: var(--shop-surface);
	background: color-mix(in srgb, var(--shop-primary) 6%, var(--shop-surface));
	border-radius: var(--shop-radius);
	scroll-margin: calc(var(--shop-header-height, 120px) + 72px) 0 140px;
	box-sizing: border-box;
	transition: border-color .15s ease, background-color .15s ease;
}

.co-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

.co-consent-input.form-check-input {
	float: none;
	margin: 0;
	flex: none;
	width: 26px;
	height: 26px;
	border: 2px solid var(--shop-ink);
	border-radius: 6px;
	cursor: pointer;
}

.co-consent-input.form-check-input:checked {
	background-color: var(--shop-success);
	border-color: var(--shop-success);
}

.co-consent-input.form-check-input:focus-visible {
	outline: 3px solid var(--shop-primary);
	outline-offset: 2px;
}

.co-consent:has(.co-consent-input:checked) {
	border-color: color-mix(in srgb, var(--shop-success) 45%, var(--shop-border));
	background: color-mix(in srgb, var(--shop-success) 8%, var(--shop-surface));
}

.co-consent.is-invalid {
	border-color: var(--shop-danger);
	background: color-mix(in srgb, var(--shop-danger) 8%, var(--shop-surface));
}

.co-consent .shop-field-error {
	width: auto;
	margin-left: 38px;
	font-size: 14px;
	font-weight: 600;
	color: var(--shop-danger);
}

.co-consent-req {
	color: var(--shop-danger);
}

.co-consent-hint {
	color: var(--shop-muted);
	font-size: 13px;
	margin-left: 38px;
	margin-bottom: 0;
	margin-top: 4px;
}

@media (prefers-reduced-motion: no-preference) {
	@keyframes co-consent-shake {
		0%, 100% { transform: translateX(0); }
		20%, 60% { transform: translateX(-4px); }
		40%, 80% { transform: translateX(4px); }
	}

	.co-consent.is-invalid {
		animation: co-consent-shake 0.4s ease-in-out;
	}
}

.form-control[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-check-input[aria-invalid="true"] {
	border-color: var(--shop-danger);
}

.co-summary-actions .co-summary-submit {
	min-width: 280px;
	padding: 13px 36px;
	font-size: 1.15rem;
	font-weight: 600;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--shop-cta) 35%, transparent);
}

.co-summary-actions .co-summary-back {
	margin-top: 2px;
	font-size: 14px;
}

/* ---- Pokladna: lišta Zpět / Pokračovat (kroky 1 a 2) a odkaz Zpět v souhrnu ----
   Zpět je tichý odkaz v barvách obchodu. Dřív to bylo Bootstrapové .btn-link,
   které zůstávalo modré i v obchodech s hnědou nebo zelenou paletou. */
.co-actions {
	align-items: center;
	gap: 16px;
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid var(--shop-border);
}

.co-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 2px;
	color: var(--shop-muted);
	font-weight: 500;
	text-decoration: none;
}

.co-back::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.co-back:hover,
.co-back:focus-visible {
	color: var(--shop-link);
	text-decoration: underline;
}

.co-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 240px;
	min-height: 50px;
	padding: 12px 28px;
	font-size: 1.1rem;
}

.co-next::after {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 18l6-6'/%3E%3Cpath d='M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 18l6-6'/%3E%3Cpath d='M13 6l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Radio / Checkbox & Button brand styling (system-5 & flows-6) */
.form-check-input:checked {
	background-color: var(--shop-primary);
	border-color: var(--shop-primary);
}
.form-check-input:focus {
	border-color: var(--shop-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--shop-primary) 25%, transparent);
}
.btn-success {
	--tblr-btn-bg: var(--shop-cta);
	--tblr-btn-border-color: var(--shop-cta);
	--tblr-btn-hover-bg: var(--shop-cta);
	--tblr-btn-active-bg: var(--shop-cta);
	--tblr-btn-color: var(--shop-cta-ink);
	--tblr-btn-hover-color: var(--shop-cta-ink);
	--tblr-btn-active-color: var(--shop-cta-ink);
}
.co-method-item > label {
	padding: 16px;
	min-height: 64px;
}
.co-method-item .form-check-input {
	float: none;
	margin: 0;
	flex: none;
}
.co-method-free {
	color: var(--shop-success);
	font-weight: 600;
}
.zasilkovna-open {
	min-height: 44px;
}
#checkout-country .form-check {
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 10px; /* ve flexu přestal platit odstup plovoucího přepínače a text se ho dotýkal */
}
#checkout-country .form-check-input {
	width: 22px;
	height: 22px;
	margin-top: 0;
}

/* Šipky jsou maska přes barvu pozadí; ve vysokém kontrastu by pozadí zmizelo i s nimi. */
@media (forced-colors: active) {
	.co-back::before { forced-color-adjust: none; background-color: LinkText; }
	.co-next::after { forced-color-adjust: none; background-color: ButtonText; }
}

/* Zpět zarovnané s okrajem karet: šipka má v masce vlevo vzduch, padding ho jen zvětšuje. */
@media (min-width: 768px) {
	.co-actions .co-back { margin-left: -8px; }
}

/* ============================================================
   RESPONSIVE: cart + checkout summary stacks on mobile
   ============================================================ */
@media (max-width: 991px) {
	/* minmax(0, …) a min-width: 0 — sloupec 1fr se jinak roztáhl na min-content obsahu
	   a košík byl na 320–360 px širší než obrazovka (flows-1) */
	.cart-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.cart-items-wrap,
	.cart-summary {
		min-width: 0;
	}
	.cart-summary {
		position: static;
	}
	.co-layout {
		grid-template-columns: 1fr;
	}
	.co-summary-col {
		position: static;
	}
}

@media (max-width: 767px) {
	.cart-table-head { display: none; }
	.cart-row {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}
	.cart-product-cell { grid-column: 1 / -1; }
	.cart-qty-cell { justify-content: flex-start; }
}

/* ============================================================
   ACCOUNT PAGES (.acct-*)
   Two-column layout: sidebar nav | content
   ============================================================ */
.acct-page {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 36px 24px var(--shop-section-gap);
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: start;
}

.acct-sidebar {
	/* sticky so menu follows scroll */
	position: sticky;
	top: calc(var(--shop-header-h, var(--shop-header-height)) + 16px);
}

/* Side navigation */
.acct-menu {
	display: flex;
	flex-direction: column;
	gap: 4px;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow-sm);
	padding: 10px;
	overflow: hidden;
}

.acct-menu-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: var(--shop-radius-sm);
	font-size: 14.5px;
	font-weight: 500;
	color: var(--shop-ink);
	text-decoration: none;
	transition: background .13s, color .13s;
}

.acct-menu-link:hover {
	background: color-mix(in srgb, var(--shop-primary) 8%, transparent);
	color: var(--shop-primary);
}

.acct-menu-link.is-active {
	background: color-mix(in srgb, var(--shop-primary) 12%, transparent);
	color: var(--shop-primary);
	font-weight: 600;
}

.acct-menu-link--out {
	margin-top: 6px;
	border-top: 1px solid var(--shop-border);
	padding-top: 15px;
	color: var(--shop-muted);
}

.acct-menu-link--out:hover {
	color: var(--shop-danger);
	background: color-mix(in srgb, var(--shop-danger) 8%, transparent);
}

.acct-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 26px;
	margin: 0 0 24px;
	color: var(--shop-ink);
	letter-spacing: -.01em;
}

.acct-content {
	min-width: 0; /* prevent grid blowout */
}

/* Order detail header (title + status badge side by side) */
.acct-order-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.acct-order-header .acct-title {
	margin-bottom: 4px;
}

.acct-back-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--shop-muted);
	text-decoration: none;
	margin-bottom: 4px;
	transition: color .13s;
}

.acct-back-link:hover {
	color: var(--shop-link);
}

.acct-order-total-row td {
	background: color-mix(in srgb, var(--shop-primary) 5%, var(--shop-surface));
	border-top: 2px solid var(--shop-border) !important;
}

/* Narrow form card (password page) */
.acct-form-card {
	max-width: 28rem;
}

/* ---- RESPONSIVE: account sidebar stacks on mobile ---- */
@media (max-width: 767px) {
	.acct-page {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 20px;
	}

	.acct-sidebar {
		position: static;
	}

	.acct-menu {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px;
	}

	.acct-menu-link {
		flex: 1 0 auto;
		justify-content: center;
		font-size: 13px;
		padding: 8px 10px;
	}

	.acct-menu-link--out {
		flex-basis: 100%;
		border-top: 1px solid var(--shop-border);
		padding-top: 8px;
		margin-top: 4px;
	}

	.acct-form-card {
		max-width: 100%;
	}
}

/* ============================================================
   AUTH PAGES (.auth-*)
   Centered narrow card: sign-in, register, forgotten, reset, download error
   ============================================================ */
.auth-wrap {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 48px var(--shop-gutter) var(--shop-section-gap);
}

.auth-card {
	width: 100%;
	max-width: 26rem;
	box-shadow: var(--shop-shadow-md);
}

.auth-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 22px;
	text-align: center;
	margin: 0 0 22px;
	color: var(--shop-ink);
	letter-spacing: -.01em;
}

.auth-hint {
	font-size: 14px;
	color: var(--shop-muted);
	text-align: center;
	margin: -12px 0 18px;
	line-height: 1.55;
}

.auth-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 20px;
	border-top: 1px solid var(--shop-border);
	font-size: 13.5px;
}

.auth-footer-sep {
	color: var(--shop-muted);
}

.auth-footer a {
	color: var(--shop-link);
	text-decoration: none;
	font-weight: 500;
}

.auth-footer a:hover {
	opacity: .8;
}

/* Heslo s tlačítkem „zobrazit" v poli (flows-11); tlačítko ukáže až html.js */
.auth-pw {
	position: relative;
}
html.js .auth-pw > .form-control {
	padding-right: 48px;
}
.auth-pw-toggle {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--shop-muted);
	cursor: pointer;
}
html.js .auth-pw-toggle { display: inline-flex; }
.auth-pw-toggle:hover { color: var(--shop-ink); }
.auth-pw-toggle .auth-pw-icon-hide,
.auth-pw-toggle[aria-pressed="true"] .auth-pw-icon-show { display: none; }
.auth-pw-toggle[aria-pressed="true"] .auth-pw-icon-hide { display: block; }

/* Download error icon */
.download-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--shop-primary) 10%, var(--shop-surface));
	color: var(--shop-primary);
	margin-bottom: 16px;
}

/* ---- RESPONSIVE: auth card full-width on mobile ---- */
@media (max-width: 479px) {
	.auth-wrap {
		padding-top: 24px;
	}

	.auth-card {
		max-width: 100%;
	}
}

/* Telefon: pole a tlačítka účtu a odstoupení na prst (48 px), odeslání odstoupení
   přes celou šířku jako u přihlášení a registrace (flows-11) */
@media (max-width: 575px) {
	.auth-card .form-control,
	.withdrawal-page .form-control {
		min-height: 48px;
	}
	.auth-card .btn-primary,
	.withdrawal-page form .btn-primary {
		width: 100%;
		min-height: 48px;
	}
}

/* ============================================================
   STATIC TEXT PAGE (.static-page)
   Readable typography, sensible max-width
   ============================================================ */
.static-page {
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 40px var(--shop-gutter) var(--shop-section-gap);
}
.static-page-container {
	max-width: 760px;
	margin: 0 auto;
}

.static-page-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: clamp(26px, 3.5vw, 36px);
	line-height: 1.15;
	margin: 0 0 24px;
	color: var(--shop-ink);
	letter-spacing: -.02em;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--shop-border);
}

.static-page-body {
	font-family: var(--shop-font-sans);
	font-size: var(--shop-font-size-base);
	line-height: 1.75;
	color: var(--shop-ink);
}

.static-page-body p {
	margin: 0 0 1.25em;
}

.static-page-body h2,
.static-page-body h3,
.static-page-body h4 {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	margin: 1.8em 0 .6em;
	color: var(--shop-ink);
	letter-spacing: -.015em;
	line-height: 1.25;
}

.static-page-body h2 { font-size: 24px; }
.static-page-body h3 { font-size: 20px; }
.static-page-body h4 { font-size: 17px; }

.static-page-body ul,
.static-page-body ol {
	padding-left: 1.5em;
	margin: 0 0 1.25em;
}

.static-page-body li {
	margin-bottom: .4em;
	line-height: 1.65;
}

.static-page-body a {
	color: var(--shop-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.static-page-body a:hover {
	color: var(--shop-primary);
}

.static-page-body strong {
	font-weight: 700;
	color: var(--shop-ink);
}

.static-page-body blockquote {
	border-left: 3px solid var(--shop-accent);
	padding: 14px 18px;
	margin: 1.6em 0;
	background: var(--shop-bg);
	border-radius: 0 var(--shop-radius-sm) var(--shop-radius-sm) 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--shop-ink);
}
.static-page-body blockquote p:last-child {
	margin-bottom: 0;
}

.static-page-body hr {
	border: 0;
	border-top: 1px solid var(--shop-border);
	margin: 2em 0;
}

.static-page-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 15px;
}
.static-page-body th,
.static-page-body td {
	padding: 10px 14px;
	border: 1px solid var(--shop-border);
	text-align: left;
	vertical-align: top;
}
.static-page-body th {
	background: var(--shop-surface-subtle, rgba(0, 0, 0, 0.03));
	font-weight: 600;
	color: var(--shop-ink);
}

/* Obrázky ve stránkách (očištěné HTML bez tříd): figura s popiskem, dvě a víc figur vedle sebe
   jako galerie (O nás Piliny) */
.static-page-body img {
	border-radius: var(--shop-radius-sm);
	vertical-align: middle;
}
.static-page-body figure {
	margin: 1.5em 0;
}
.static-page-body figure img {
	display: block;
}
.static-page-body figcaption {
	margin-top: .5em;
	font-size: 14px;
	color: var(--shop-muted);
	text-align: center;
}
.static-page-body div:has(> figure + figure) {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
	gap: 16px;
	margin: 1.5em 0;
}
.static-page-body div:has(> figure + figure) > figure {
	margin: 0;
}
.static-page-body div:has(> figure + figure) img {
	width: 100%;
	height: auto;
}

/* Obsah dlouhé stránky (shop.js). Odkazy míří na nadpisy; odsazení pod lepivou
   hlavičkou zajišťuje scroll-padding-top na <html> (--shop-header-h). */
.static-page-toc {
	margin: 0 0 28px;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	background: var(--shop-surface);
}
.static-page-toc-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 0 16px;
	font-weight: 600;
	color: var(--shop-ink);
	cursor: pointer;
	list-style: none;
}
.static-page-toc-summary::-webkit-details-marker { display: none; }
.static-page-toc-summary::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s;
}
.static-page-toc[open] > .static-page-toc-summary::after { transform: rotate(180deg); }
/* Bez čísel seznamu — nadpisy podmínek bývají číslované samy („I. ÚVODNÍ USTANOVENÍ") */
.static-page-toc-list {
	margin: 0;
	padding: 0 16px 8px;
	list-style: none;
}
.static-page-toc-list li { margin: 0; }
.static-page-toc-list li + li { border-top: 1px solid var(--shop-border); }
.static-page-toc-list li.is-sub { padding-left: 16px; }
.static-page-toc-list a {
	display: block;
	padding: 10px 0;
	color: var(--shop-link);
	line-height: 1.35;
	text-decoration: none;
}
.static-page-toc-list a:hover { text-decoration: underline; }

@media (max-width: 767px) {
	.static-page {
		padding-top: 24px;
	}
	.static-page-title {
		font-size: 26px;
	}
	/* Na telefonu stejné písmo jako na počítači (--shop-font-size-base), dřív zmenšené na 15 px */
	.static-page-body {
		line-height: 1.65;
	}
}

/* ============================================================
   UTILITY BAR (.shop-utility-bar)
   ============================================================ */
.shop-utility-bar {
    background: var(--shop-utility-bg);
    border-bottom: 1px solid var(--shop-utility-border);
    color: var(--shop-utility-ink);
    font-size: 12.5px;
}
.shop-utility-bar strong {
    color: var(--shop-utility-ink);
}
.shop-utility-bar-inner {
    max-width: var(--shop-container);
    margin: 0 auto;
    padding: 0 var(--shop-gutter);
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.shop-utility-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.shop-utility-bar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}
.shop-utility-hours {
    display: flex;
    align-items: center;
    gap: 7px;
}
.shop-utility-hours-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--shop-utility-dot);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--shop-utility-dot) 22%, transparent);
    flex: none;
}
.shop-utility-phone {
    color: var(--shop-utility-accent);
    font-weight: 700;
    text-decoration: none;
}
.shop-utility-phone:hover {
    color: var(--shop-utility-accent);
    opacity: .85;
}

/* ============================================================
   HEADER RESTYLE — logo hover, nav pills, cart icon
   ============================================================ */
/* Logo hover: subtle rotate+scale */
.shop-logo-wrap {
    transition: opacity .2s var(--shop-ease);
}
.shop-logo-fallback {
    box-shadow: var(--shop-shadow-sm);
    transition: transform .25s var(--shop-ease), box-shadow .25s var(--shop-ease);
}
@media (hover: hover) and (pointer: fine) {
    .shop-logo-wrap:hover .shop-logo-fallback {
        transform: rotate(-4deg) scale(1.04);
        box-shadow: var(--shop-shadow-md);
    }
    .shop-logo-wrap:hover .shop-logo-img {
        transform: scale(1.03);
        opacity: .92;
    }
    .shop-logo-wrap:hover .shop-logo-mark {
        transform: scale(1.04);
    }
}
.shop-logo-img {
    transition: transform .25s var(--shop-ease), opacity .2s var(--shop-ease);
}
.shop-logo-mark {
    transition: transform .25s var(--shop-ease), opacity .2s var(--shop-ease);
}

/* Nav as pill buttons (bg-tint on hover instead of underline) */
.shop-nav-link {
    padding: 8px 12px;
    border-radius: var(--shop-btn-radius);
    transition: opacity .2s var(--shop-ease), background .2s var(--shop-ease), color .2s var(--shop-ease);
    border-bottom: none;
}
.shop-nav-link.active {
    opacity: 1;
    color: var(--shop-primary);
    background: color-mix(in srgb, var(--shop-primary) 9%, transparent);
    border-bottom-color: transparent;
}
@media (hover: hover) {
    .shop-nav-link:hover {
        opacity: 1;
        color: var(--shop-primary);
        background: color-mix(in srgb, var(--shop-primary) 9%, transparent);
        border-bottom-color: transparent;
    }
}

/* Switchers and account as borderless pills */
.shop-switcher {
    border: none;
    background: transparent;
    border-radius: var(--shop-btn-radius);
    transition: background .18s var(--shop-ease);
}
.shop-switcher:hover {
    border-color: transparent;
    background: color-mix(in srgb, var(--shop-ink) 6%, transparent);
}
.shop-account-link {
    transition: background .18s var(--shop-ease);
}
.shop-account-link:hover {
    background: color-mix(in srgb, var(--shop-ink) 6%, transparent);
}
.shop-account-avatar {
    border: none;
    background: color-mix(in srgb, var(--shop-header-ink) 14%, transparent);
    color: var(--shop-header-ink);
    font-weight: 700;
}

/* Cart button: hover lift with ease */
.shop-cart-btn {
    box-shadow: var(--shop-shadow-sm);
    transition: transform .18s var(--shop-ease), box-shadow .18s var(--shop-ease), filter .18s var(--shop-ease);
    margin-left: 8px;
    gap: 11px;
    padding: 9px 16px 9px 14px;
}
@media (hover: hover) and (pointer: fine) {
    .shop-cart-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shop-shadow-md);
        filter: brightness(1.06);
        color: var(--shop-cta-ink);
    }
}
.shop-cart-btn:active {
    transform: translateY(0) scale(.97);
}

/* Cart icon wrapper with accent badge */
.shop-cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: none;
}
.shop-cart-badge {
    position: absolute;
    top: -7px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--shop-accent);
    color: var(--shop-accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 0 2px var(--shop-cta);
    margin-left: 0;
}
.shop-cart-label {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    align-items: flex-start;
}
.shop-cart-label-text {
    font-size: 12px;
    font-weight: 600;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.shop-cart-total {
    font-size: 14px;
    font-weight: 700;
}

/* ============================================================
   FOOTER RESTYLE — link hover translate, payment badges
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
    .shop-footer-col a:hover,
    .shop-footer-col span:hover {
        opacity: 1;
        transform: translateX(3px);
    }
}
.shop-footer-col a,
.shop-footer-col span {
    transition: opacity .18s var(--shop-ease), transform .18s var(--shop-ease), color .15s;
    display: inline-block;
}
.shop-footer-contact {
    display: block;
}

/* Payment badges row in footer bottom */
.shop-payment-badges {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.shop-payment-badge {
    padding: 4px 9px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--shop-footer-ink);
}
/* Značka platby (Google Pay, Apple Pay) má vlastní podklad i rámeček — bez dlaždice kolem */
.shop-payment-badge--logo {
    display: inline-flex;
    padding: 0;
    background: none;
}

/* ============================================================
   HERO v2 (CMS block + static fallback, rich gradient design)
   ============================================================ */
.shop-block-hero--v2 {
    background: var(--shop-hero-bg, linear-gradient(180deg, color-mix(in srgb, var(--shop-primary) 5%, var(--shop-surface)), var(--shop-bg)));
}
.shop-hero-v2-inner {
    max-width: var(--shop-container);
    margin: 0 auto;
    padding: calc(var(--shop-section-gap) + 4px) var(--shop-gutter) var(--shop-section-gap);
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 56px;
    align-items: center;
}
.shop-hero-v2-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.shop-hero-v2-eyebrow {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--shop-primary);
}
.shop-hero-v2-eyebrow-line {
    width: 24px;
    height: 2px;
    background: var(--shop-primary);
    border-radius: 2px;
    flex: none;
}
.shop-hero-v2-title {
    font-family: var(--shop-font-head);
    font-weight: var(--shop-heading-weight);
    font-size: clamp(2rem, 4vw, 52px);
    line-height: 1.04;
    margin: 0;
    letter-spacing: -.02em;
    color: var(--shop-ink);
    text-wrap: balance;
}
.shop-hero-v2-text {
    margin: 0;
    font-size: 17.5px;
    line-height: 1.6;
    color: var(--shop-muted);
    max-width: 46ch;
}
.shop-hero-v2-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.shop-hero-v2-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 26px;
    background: var(--shop-cta);
    color: var(--shop-cta-ink);
    border-radius: var(--shop-btn-radius);
    font-size: 15.5px;
    font-weight: 700;
    font-family: var(--shop-font-sans);
    text-decoration: none;
    box-shadow: var(--shop-shadow-md);
    transition: transform .18s var(--shop-ease), box-shadow .18s var(--shop-ease), filter .18s var(--shop-ease);
}
.shop-hero-v2-cta-primary:hover {
    color: var(--shop-cta-ink);
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: var(--shop-shadow-lg);
}
.shop-hero-v2-cta-primary:active {
    transform: translateY(0) scale(.98);
}
.shop-hero-v2-visual {
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: var(--shop-radius-lg);
    overflow: hidden;
    box-shadow: var(--shop-shadow-lg);
}
/* <picture> kolem obrázků bloků a dlaždic jen vybírá formát (WebP/JPEG); rozložení řídí <img>
   jako dřív — bez display:contents by height:100% a absolutní pozice obrázku počítaly s ním. */
.shop-content-picture { display: contents; }

.shop-hero-v2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-hero-v2-img-overlay {
    position: absolute;
    inset: 0;
    /* store token: a product photo on white turns grey under the darkening — a store can switch it off */
    background: var(--shop-hero-img-overlay, linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .28)));
    pointer-events: none;
}
.shop-hero-v2-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--shop-surface);
    background-image: repeating-linear-gradient(45deg, var(--shop-border) 0, var(--shop-border) 1px, transparent 1px, transparent 11px);
}
.shop-hero-v2-inner--noimage {
    grid-template-columns: 1fr;
}

/* ============================================================
   USP STRIP
   ============================================================ */
.shop-usp-strip {
    border-bottom: 1px solid var(--shop-border);
    background: var(--shop-surface);
}
.shop-usp-strip-inner {
    max-width: var(--shop-container);
    margin: 0 auto;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--shop-gap);
}
.shop-usp-tile {
    display: flex;
    align-items: center;
    gap: 13px;
}
.shop-usp-tile-icon {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: var(--shop-radius);
    background: color-mix(in srgb, var(--shop-primary) 12%, transparent);
    color: var(--shop-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Obrázková ikona benefitu (vlastní grafika místo výchozí fajfky) */
.shop-usp-tile-icon--img {
    width: 64px;
    height: 52px;
    background: none;
    border-radius: 0;
}
.shop-usp-tile-icon--img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.shop-usp-tile-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.shop-usp-tile-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--shop-ink);
}
.shop-usp-tile-text {
    font-size: 12.5px;
    color: var(--shop-muted);
}

/* ============================================================
   PROMO BAND
   ============================================================ */
.shop-promo-band-wrap {
    max-width: var(--shop-container);
    margin: 0 auto;
    padding: 0 24px var(--shop-section-gap);
}
.shop-promo-band {
    position: relative;
    border-radius: var(--shop-radius-lg);
    overflow: hidden;
    box-shadow: var(--shop-shadow-md);
    min-height: 160px;
}
.shop-promo-band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.shop-promo-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        color-mix(in srgb, var(--shop-primary) 95%, black) 0%,
        color-mix(in srgb, var(--shop-primary) 88%, transparent) 52%,
        color-mix(in srgb, var(--shop-primary) 55%, transparent) 100%
    );
    pointer-events: none;
}
.shop-promo-band-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 44px 46px;
    flex-wrap: wrap;
}
.shop-promo-band-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
}
.shop-promo-band-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .85;
}
.shop-promo-band-eyebrow-line {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    flex: none;
}
.shop-promo-band-title {
    font-family: var(--shop-font-head);
    font-weight: var(--shop-heading-weight);
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -.01em;
    display: block;
}
.shop-promo-band-text {
    font-size: 15.5px;
    opacity: .92;
    max-width: 48ch;
    line-height: 1.5;
    display: block;
}
.shop-promo-band-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 28px;
    background: #fff;
    color: var(--shop-ink);
    border-radius: var(--shop-btn-radius);
    font-size: 15.5px;
    font-weight: 700;
    font-family: var(--shop-font-sans);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--shop-shadow-md);
    transition: transform .18s var(--shop-ease), filter .18s var(--shop-ease);
}
.shop-promo-band-cta:hover {
    color: var(--shop-ink);
    transform: translateY(-2px);
    filter: brightness(1.03);
}
.shop-promo-band-cta:active {
    transform: translateY(0) scale(.98);
}

/* ============================================================
   SECTION EYEBROW + V2 TITLE
   ============================================================ */
.shop-section-eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--shop-primary);
    margin-bottom: 9px;
}
.shop-section-title-v2 {
    font-family: var(--shop-font-head);
    font-weight: var(--shop-heading-weight);
    font-size: 31px;
    margin: 0;
    letter-spacing: -.015em;
    color: var(--shop-ink);
}
.shop-section-header-v2 {
    margin-bottom: 26px;
}
/* Override the base section-header flex when it wraps an eyebrow+h2 block */
.shop-section-header > div {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   CATEGORY TILES v2 (4:5 image tiles, gradient overlay)
   ============================================================ */
.shop-cat-tile-v2 {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--shop-card-radius);
    overflow: hidden;
    box-shadow: var(--shop-shadow-sm);
    transition: box-shadow .3s var(--shop-ease), transform .3s var(--shop-ease);
    cursor: pointer;
    color: inherit;
}
@media (hover: hover) and (pointer: fine) {
    .shop-cat-tile-v2:hover {
        box-shadow: var(--shop-shadow-md);
        transform: translateY(-4px);
        color: inherit;
        opacity: 1;
    }
    .shop-cat-tile-v2:hover .shop-cat-tile-v2-img {
        transform: scale(1.07);
    }
}
.shop-cat-tile-v2-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--shop-ease);
}
.shop-cat-tile-v2-img--placeholder {
    background-color: color-mix(in srgb, var(--shop-primary) 14%, var(--shop-surface));
    background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--shop-primary) 8%, transparent) 0, color-mix(in srgb, var(--shop-primary) 8%, transparent) 1px, transparent 1px, transparent 9px);
}
.shop-cat-tile-v2-overlay {
    position: absolute;
    inset: 0;
    /* store tokens below: darkening + white name (default) or a light caption band with a dark name */
    background: var(--shop-cat-tile-overlay, linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .05) 55%, rgba(0, 0, 0, 0)));
    pointer-events: none;
}
.shop-cat-tile-v2-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--shop-cat-tile-caption-bg, transparent);
}
.shop-cat-tile-v2-name {
    font-family: var(--shop-font-head);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--shop-cat-tile-ink, #fff);
    line-height: 1.15;
    text-shadow: var(--shop-cat-tile-name-shadow, 0 1px 4px rgba(0, 0, 0, .4));
}
.shop-cat-tile-v2-arrow {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--shop-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s var(--shop-ease);
}
@media (hover: hover) and (pointer: fine) {
    .shop-cat-tile-v2:hover .shop-cat-tile-v2-arrow {
        transform: translateX(3px);
    }
}

/* ============================================================
   PRODUCT CARD v2 (hover zoom image, stock pill, clamp name)
   ============================================================ */
.shop-product-card--v2 {
    transition: transform .3s var(--shop-ease), box-shadow .3s var(--shop-ease), border-color .3s var(--shop-ease);
}
@media (hover: hover) and (pointer: fine) {
    .shop-product-card--v2:hover {
        transform: translateY(-5px);
        box-shadow: var(--shop-shadow-md);
        border-color: color-mix(in srgb, var(--shop-primary) 35%, var(--shop-border));
    }
    .shop-product-card--v2:hover .shop-product-card-img {
        transform: scale(1.07);
    }
}
/* Image zoom on card hover */
.shop-product-card--v2 .shop-product-card-img-wrap {
    overflow: hidden;
    background: var(--shop-card-img-bg, var(--shop-bg));
}
.shop-product-card--v2 .shop-product-card-img {
    aspect-ratio: var(--shop-card-img-ratio, 4 / 3);
    object-fit: var(--shop-card-img-fit, cover);
    transition: transform .5s var(--shop-ease);
}
/* Hover photo: the second gallery photo cross-fades in over the first and zooms with it
   (same .shop-product-card-img box). Per-store token --shop-card-img-swap, mouse only.
   display:none rather than opacity on purpose: a lazy image that is never rendered is
   never fetched, so touch devices and stores with the token off download nothing. */
.shop-product-card-link {
    position: relative;
}
.shop-product-card-alt {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity .25s var(--shop-ease);
}
@media (hover: hover) and (pointer: fine) {
    .shop-product-card-alt {
        display: var(--shop-card-img-swap, none);
    }
    .shop-product-card--v2:hover .shop-product-card-alt,
    .shop-product-card--v2:has(:focus-visible) .shop-product-card-alt {
        opacity: 1;
    }
}
/* "Skladem" pill overlaid on image */
.shop-product-card-stock-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--shop-success);
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--shop-surface);
    padding: 4px 9px;
    border-radius: 999px;
    box-shadow: var(--shop-shadow-sm);
}
/* Where the pill sits is a per-store token: on the image (default) or under the name.
   The card renders it in both places and the token shows one of them. */
.shop-product-card-img-wrap .shop-product-card-stock-pill {
    display: var(--shop-card-stock-on-image, inline-flex);
}
.shop-product-card-body .shop-product-card-stock-pill {
    display: var(--shop-card-stock-under-name, none);
    position: static;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 0;
    background: none;
    box-shadow: none;
    font-size: 12px;
}
/* Under the name, badges and the pill share one row. The row has no margin of its own,
   so with both children hidden by the tokens it takes no height. */
.shop-product-card-flags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
}
.shop-product-card-flags .shop-product-card-badges {
    display: var(--shop-card-badges-under-name, none);
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 0 8px;
}
.shop-product-card-flags .shop-product-card-stock-pill {
    align-self: center;
}
.shop-product-card-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--shop-success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--shop-success) 20%, transparent);
    flex: none;
}
/* 2-line clamped name */
.shop-product-card--v2 .shop-product-card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.32;
    min-height: 40px;
}
/* Price column in footer */
.shop-product-card-price-col {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
/* Cart SVG button (icon + label) */
.shop-product-card--v2 .shop-product-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: filter .18s var(--shop-ease), transform .18s var(--shop-ease);
}
@media (hover: hover) and (pointer: fine) {
    .shop-product-card--v2 .shop-product-card-btn:hover {
        filter: brightness(1.07);
    }
}
.shop-product-card--v2 .shop-product-card-btn:active {
    transform: scale(.94);
}
/* Secondary variant-select button */
.shop-product-card-btn--secondary {
    background: var(--shop-surface);
    color: var(--shop-ink);
    border: 1px solid var(--shop-border);
    transition: border-color .15s var(--shop-ease), box-shadow .15s var(--shop-ease);
}
@media (hover: hover) and (pointer: fine) {
    .shop-product-card-btn--secondary:hover {
        color: var(--shop-ink);
        border-color: var(--shop-primary);
        box-shadow: var(--shop-shadow-sm);
        filter: none;
    }
}
/* Reduced motion: no card lift, zoom or fade; the hover photo swaps instantly */
@media (prefers-reduced-motion: reduce) {
    .shop-product-card,
    .shop-product-card--v2,
    .shop-product-card--v2 .shop-product-card-img,
    .shop-product-card-alt {
        transition: none;
    }
    .shop-product-card:hover,
    .shop-product-card--v2:hover,
    .shop-product-card--v2:hover .shop-product-card-img {
        transform: none;
    }
}

/* ============================================================
   RESPONSIVE — new v2 components
   ============================================================ */
@media (max-width: 991px) {
    .shop-usp-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .shop-hero-v2-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 24px;
    }
    .shop-hero-v2-visual {
        display: block;
        order: -1;
        aspect-ratio: 16 / 9;
    }
    .shop-usp-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .shop-promo-band-body { padding: 28px 24px; }
    .shop-promo-band-title { font-size: 22px; }
    .shop-section-title-v2 { font-size: 24px; }
}
@media (max-width: 479px) {
    .shop-usp-strip-inner { grid-template-columns: 1fr; }
    .shop-hero-v2-title { font-size: 32px; }
    .shop-promo-band-cta { width: 100%; justify-content: center; }
    .shop-hero-v2-cta-primary { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — mobilní karty produktů, kategorie, stránkování (listing-1, 5, 6, 9, 11)
   Umístěno za v2 komponentami i blokem ≤479 px, aby pravidla skutečně platila.
   ============================================================ */
@media (max-width: 575px) {
	:root {
		--shop-gutter: 16px;
	}
	.shop-product-card {
		--shop-card-badges-on-image: none;
		--shop-card-badges-under-name: flex;
	}
	.shop-product-grid,
	.shop-cat-main .shop-product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.shop-product-card-body {
		padding: 10px 10px 12px;
	}
	.shop-product-card--v2 .shop-product-card-name {
		font-size: 14px;
		line-height: 1.3;
		-webkit-line-clamp: 3;
		min-height: calc(2 * 1.3em);
		margin-bottom: 6px;
	}
	.shop-product-card-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.shop-product-card-price-col {
		margin-bottom: 2px;
	}
	.shop-product-card-price {
		font-size: 16px;
	}
	.shop-product-card-cta {
		width: 100%;
	}
	.shop-product-card--v2 .shop-product-card-btn,
	.shop-product-card-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 8px 10px;
		min-height: 44px;
		font-size: 13px;
		text-align: center;
		box-sizing: border-box;
	}
	.shop-product-card-stock-pill {
		top: 6px;
		right: 6px;
		padding: 2px 7px;
	}

	/* listing-5: Horizontální scroller kategorií na mobilu */
	.shop-cat-grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 42%;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--shop-gutter, 16px);
		gap: 12px;
		margin-inline: calc(var(--shop-gutter, 16px) * -1);
		padding: 0 var(--shop-gutter, 16px) 4px;
		scrollbar-width: none;
	}
	.shop-cat-grid::-webkit-scrollbar {
		display: none;
	}
	.shop-cat-grid:has(> :nth-child(9)) {
		grid-template-rows: repeat(2, auto);
	}
	.shop-cat-tile-v2 {
		aspect-ratio: 1 / 1;
		scroll-snap-align: start;
	}
	.shop-cat-tile-v2-arrow {
		display: none;
	}
	.shop-cat-tile-v2-name {
		min-width: 0;
		hyphens: auto;
	}

	/* listing-6: Čitelnost textu v hero */
	.shop-hero-v2-text {
		font-size: 16px;
		line-height: 1.5;
	}

	/* listing-11: Stránkování vycentrované, dotykové cíle 44 px, skrytí vzdálených čísel */
	.shop-pagination-list {
		justify-content: center;
		gap: 8px;
	}
	.shop-pagination-link {
		min-width: 44px;
		height: 44px;
	}
	.shop-pagination-item.is-far {
		display: none;
	}
}

/* ============================================================
   AUDIT FIXES (UX / a11y / design) — 2026-06-23
   ============================================================ */

/* a11y: screen-reader-only + skip link */
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.shop-skip-link {
	position: absolute;
	left: 8px; top: -48px;
	z-index: 1000;
	background: var(--shop-primary);
	color: #fff;
	padding: 8px 14px;
	border-radius: var(--shop-radius-sm);
	transition: top .15s var(--shop-ease);
}
.shop-skip-link:focus { top: 8px; }

/* PDP: VAT note next to price */
.pd-price-vat { font-size: 12px; color: var(--shop-muted); margin-left: 8px; }

/* Add-to-cart loading state (Naja) */
.is-loading { opacity: .6; pointer-events: none; }

/* Utility bar na mobilu (≤767 px): jedna vycentrovaná zpráva, telefon je v menu */
@media (max-width: 767px) {
	.shop-utility-hours,
	.shop-utility-bar-right { display: none; }
	.shop-utility-bar { font-size: 12px; }
	.shop-utility-bar-inner { height: 32px; padding: 0 var(--shop-gutter); justify-content: center; }
	.shop-utility-bar-left { min-width: 0; }
	.shop-utility-bar-left > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.shop-utility-bar:not(:has(.shop-utility-bar-left > *)) { display: none; }
}

/* Hero without image: keep single column readable */
.shop-hero-v2-inner--noimage .shop-hero-v2-content { max-width: 720px; }

/* Cookie consent banner */
.shop-cookie-bar {
	position: fixed; left: 0; right: 0; bottom: 0;
	z-index: 1050;
	background: var(--shop-footer-bg);
	color: var(--shop-footer-ink);
	padding: 14px 18px;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, .18);
}
.shop-cookie-bar[hidden] { display: none; }
.shop-cookie-bar-inner {
	max-width: var(--shop-container);
	margin: 0 auto;
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	justify-content: space-between;
	font-size: 13.5px; line-height: 1.5;
}
.shop-cookie-bar a { color: #fff; text-decoration: underline; }
.shop-cookie-bar-actions {
	flex: none;
	display: flex; gap: 8px; flex-wrap: wrap;
}
.shop-cookie-bar-btn,
.shop-cookie-bar-btn--ghost {
	flex: none;
	background: transparent;
	color: #fff;
	border: 1.5px solid var(--shop-footer-ink);
	border-radius: var(--shop-btn-radius);
	padding: 9px 20px;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
/* Telefon: dvě stejně velká tlačítka přes celou šířku na dosah palce — přijmout
   i odmítnout mají stejnou váhu; lišta nižší o třetinu (flows-13) */
@media (max-width: 575px) {
	.shop-cookie-bar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
	.shop-cookie-bar-inner { gap: 10px; }
	.shop-cookie-bar-actions { flex: 1 1 100%; flex-wrap: nowrap; }
	.shop-cookie-bar-btn { flex: 1 1 0; min-height: 48px; padding: 9px 12px; }
}

/* ============================================================
   MOBILE READY ENHANCEMENTS (2026-06)
   Larger tap targets, cart cards, responsive data tables,
   checkout stacking, filter drawer, sticky CTAs.
   Mobile-only — desktop layout is untouched.
   ============================================================ */

/* Images never force horizontal scroll. Zero specificity (:where) on purpose: it only
   guards unstyled content images (descriptions, pages). As `.shop-main img` (e4504f4) it
   out-specified the height: 100% of every component image — tiles, hero, mosaic, promo,
   gallery, thumbs, cart thumb — and left an empty band under each photo. */
:where(.shop-main) img { max-width: 100%; height: auto; }

/* ---- Responsive data tables → stacked cards (.shop-rtable) ---- */
@media (max-width: 575px) {
	.card:has(> .shop-rtable) {
		border: none;
		box-shadow: none;
		background: transparent;
	}
	.shop-rtable thead { display: none; }
	.shop-rtable, .shop-rtable tbody, .shop-rtable tfoot,
	.shop-rtable tr, .shop-rtable td { display: block; width: 100%; }
	.shop-rtable tr {
		border: 1px solid var(--shop-border);
		border-radius: var(--shop-radius);
		background: var(--shop-surface);
		padding: 8px 14px;
		margin-bottom: 10px;
	}
	.shop-rtable td {
		border: none !important;
		padding: 5px 0 !important;
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 14px;
		min-height: 30px;
	}
	.shop-rtable td:empty { display: none; }
	.shop-rtable td::before {
		content: attr(data-label);
		font-weight: 600;
		color: var(--shop-muted);
		flex: none;
	}
	.shop-rtable tfoot tr,
	.shop-rtable .acct-order-total-row { background: var(--shop-bg); }
}

/* ---- Checkout: stack Bootstrap columns on phones + sticky action bar ---- */
@media (max-width: 575px) {
	.co-page .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
	.co-summary-actions .co-summary-submit { width: 100%; min-width: 0; white-space: normal; padding: 13px 16px; }
}
@media (max-width: 767px) {
	.co-step-indicator { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; }
	.co-step-indicator::before { content: none; }
	/* Lišta drží u spodního okraje přes celou šířku obrazovky: záporný okraj
	   = boční odsazení .co-page, jinak by tlačítka visela ve výřezu u krajů. */
	.co-actions {
		position: sticky;
		bottom: 0;
		z-index: 20;
		gap: 10px;
		margin: 18px -24px 0;
		padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
		background: var(--shop-surface);
		box-shadow: 0 -6px 16px rgba(0, 0, 0, .06);
	}
	/* Zpět jako čtvercové tlačítko se šipkou; text zůstává pro čtečky obrazovky. */
	.co-actions .co-back {
		flex: none;
		justify-content: center;
		width: 50px;
		height: 50px;
		padding: 0;
		border: 1px solid var(--shop-border);
		border-radius: var(--shop-btn-radius);
		background: var(--shop-surface);
		color: var(--shop-ink);
	}
	.co-actions .co-back::before { width: 22px; height: 22px; }
	.co-actions .co-back:hover,
	.co-actions .co-back:focus-visible { border-color: var(--shop-link); color: var(--shop-link); text-decoration: none; }
	.co-actions .co-back-text {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
	.co-actions .co-next { flex: 1 1 auto; min-width: 0; padding: 12px 16px; white-space: normal; }
}
@media (max-width: 359px) {
	/* Bez šipky se „Pokračovat na souhrn“ vejde na jeden řádek i v širších písmech (Pilina). */
	.co-actions .co-next { padding: 10px 12px; font-size: 1rem; }
	.co-actions .co-next::after { display: none; }
}

/* ---- Mobilní hlavička, drawer a ovládací prvky (header 1-8) ---- */
@media (max-width: 767px) {
	/* Ovládací prvky v hlavičce 44×44 (header-5) */
	.shop-nav-toggle,
	.shop-account-link,
	.shop-cart-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		margin: 0;
	}
	.shop-nav-toggle {
		border: 0;
		border-radius: var(--shop-btn-radius);
	}
	.shop-nav-toggle svg {
		width: 24px;
		height: 24px;
	}
	.shop-account-avatar {
		width: 32px;
		height: 32px;
	}
	.shop-account-avatar svg {
		width: 18px;
		height: 18px;
	}
	.shop-cart-label {
		display: none;
	}
	.shop-cart-btn svg {
		width: 22px;
		height: 22px;
	}

	/* Vyhledávání 44 px a písmo 16 px pro zamezení iOS zoomu (header-6) */
	.shop-search-input {
		height: 44px;
		font-size: 16px;
		text-overflow: ellipsis;
	}
	.shop-search-btn {
		top: 0;
		right: 0;
		width: 44px;
		height: 44px;
	}

	/* Našeptávač na mobilu (header-8) */
	.shop-search-suggest {
		max-height: calc(var(--vvh, 100dvh) - var(--shop-header-h, 113px) - 16px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.shop-suggest-item {
		min-height: 56px;
	}
	.shop-suggest-name {
		font-size: 15px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* Logo a značka (header-1) */
	.shop-logo-img {
		max-height: 36px;
		max-width: 100%;
		object-fit: contain;
		object-position: left center;
	}
	.shop-logo-mark {
		width: 30px;
		height: 30px;
	}
	.shop-brand-text {
		min-width: 0;
	}
	.shop-brand-name {
		display: block;
		font-size: 18px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.shop-brand-domain,
	.shop-brand-tagline {
		display: none;
	}

	/* Záhlaví a patička draweru (header-3, header-4) */
	.shop-nav-drawer-header {
		position: sticky;
		top: 0;
		height: 56px;
		min-height: 56px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 16px;
		background: var(--shop-surface);
		border-bottom: 1px solid var(--shop-border);
		z-index: 2;
	}
	.shop-nav-drawer-title {
		font-size: 18px;
		font-weight: 600;
		color: var(--shop-ink);
	}
	.shop-nav-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		margin: 0;
		border: 0;
		background: transparent;
		color: var(--shop-ink);
		cursor: pointer;
	}
	.shop-nav-drawer-footer {
		margin-top: auto;
		border-top: 1px solid var(--shop-border);
		padding: 8px 0;
		display: flex;
		flex-direction: column;
	}
	.shop-nav-drawer-link {
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 44px;
		padding: 0 16px;
		font-size: 15px;
		color: var(--shop-ink);
		text-decoration: none;
	}
	@media (hover: hover) {
		.shop-nav-drawer-link:hover {
			background: color-mix(in srgb, var(--shop-primary) 8%, transparent);
		}
	}

	/* Položky menu a rozbalovací podkategorie v draweru (header-4) */
	.shop-nav-item {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--shop-border);
		width: 100%;
	}
	.shop-nav-link {
		flex: 1 1 0;
		min-width: 0;
		min-height: 52px;
		padding: 0 16px;
		font-size: 16px;
		font-weight: 600;
		/* Zásuvka je vždy světlá; barva textu hlavičky (u Dřevotéky světlá na tmavé) by v ní zmizela. */
		color: var(--shop-ink);
		opacity: 1;
		border-radius: 0;
		display: flex;
		align-items: center;
	}
	.shop-nav-expand {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		min-height: 52px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--shop-muted);
		cursor: pointer;
		flex: none;
	}
	.shop-nav-expand svg {
		transition: transform .2s var(--shop-ease);
	}
	@media (prefers-reduced-motion: reduce) {
		.shop-nav-expand svg {
			transition: none;
		}
	}
	.shop-nav-expand[aria-expanded="true"] svg {
		transform: rotate(180deg);
	}
	.shop-nav-sub {
		display: none;
		flex-basis: 100%;
		width: 100%;
		position: static;
		margin: 0;
		padding: 0 0 8px;
		border: 0;
		box-shadow: none;
		max-height: none;
		background: transparent;
	}
	.shop-nav-item.is-expanded > .shop-nav-sub {
		display: block;
	}
	.shop-nav-sub-link {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0 16px 0 28px;
		font-size: 15px;
		color: var(--shop-muted);
		opacity: 1;
		text-decoration: none;
	}
	.shop-nav-sub-link.active {
		color: var(--shop-primary);
		font-weight: 600;
	}
}

@media (max-width: 359px) {
	.shop-logo-mark,
	.shop-logo-fallback {
		display: none;
	}
}

/* ---- Cart: rows become cards on mobile + bigger steppers ---- */
@media (max-width: 767px) {
	.cart-items-wrap { border: none; background: transparent; overflow: visible; }
	.cart-row {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 14px;
		border: 1px solid var(--shop-border);
		border-radius: var(--shop-card-radius);
		background: var(--shop-surface);
		padding: 14px;
		margin-bottom: 12px;
	}
	/* Místo pro × jen u názvu — na zbytku karty by ubíralo šířku stepperu */
	.cart-product-cell { flex: 1 1 100%; padding-right: 36px; }
	.cart-unit-price { order: 2; text-align: left; font-size: 13.5px; }
	.cart-unit-price::before { content: "Cena/ks: "; color: var(--shop-muted); }
	.cart-qty-cell { order: 3; justify-content: flex-start; margin-left: auto; }
	.cart-row-total { order: 4; flex: 1 1 100%; text-align: right; font-size: 16px; }
	.cart-row-total::before {
		content: "Celkem: ";
		font-family: var(--shop-font-sans);
		font-weight: 500;
		font-size: 13px;
		color: var(--shop-muted);
	}
	.cart-remove-btn { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; }
	.cart-stepper-btn { width: 44px; height: 44px; }
	.cart-stepper-input { width: 44px; height: 44px; font-size: 16px; }
	.cart-stepper-submit { height: 44px; padding: 0 16px; }
	/* „Pokračovat v nákupu" bez rámečku a s menší mezerou k souhrnu — dřív kolem něj
	   zůstával asi 110 px vysoký prázdný pás (flows-4) */
	.cart-layout { gap: 12px; }
	.cart-footer { padding: 0; border-top: 0; }
}

/* Sticky mobile checkout bar on the cart page.
   Vzhled jako spodní lišta pokladny .co-actions: přes celou šířku, bez rámečku a rohů.
   S JS je lišta pevně dole jen do chvíle, než se ukáže tlačítko v souhrnu (shop.js) —
   dvě stejné výzvy nad sebou zákazníka mátly. Bez JS zůstává lepivá na konci stránky. */
.cart-mobile-bar { display: none; }
@media (max-width: 767px) {
	.cart-mobile-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: sticky;
		bottom: 0;
		z-index: 30;
		margin: 8px calc(var(--shop-gutter) * -1) 0;
		padding: 12px var(--shop-gutter) calc(12px + env(safe-area-inset-bottom, 0px));
		background: var(--shop-surface);
		box-shadow: 0 -6px 16px rgba(0, 0, 0, .06);
	}
	html.js .cart-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		margin: 0;
		visibility: hidden;
		transform: translateY(110%);
		transition: transform .2s ease, visibility 0s linear .2s;
	}
	html.js .cart-mobile-bar.is-visible {
		visibility: visible;
		transform: none;
		transition: transform .2s ease;
	}
	.cart-mobile-bar > div { flex: none; }
	.cart-mobile-bar-label { font-size: 12.5px; color: var(--shop-muted); display: block; }
	.cart-mobile-bar-amount {
		font-family: var(--shop-font-head);
		font-weight: 700;
		font-size: 18px;
		color: var(--shop-price);
		white-space: nowrap;
	}
	/* Tlačítko vyplní zbytek lišty jako .co-next v pokladně; dlouhý popisek se na 320 px zalomí */
	.cart-mobile-bar-cta {
		flex: 1 1 auto;
		min-width: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		min-height: 50px;
		padding: 8px 16px;
		line-height: 1.2;
		border-radius: var(--shop-btn-radius);
		background: var(--shop-cta);
		color: var(--shop-cta-ink);
		font-weight: 700;
		text-decoration: none;
	}
}


/* ---- Product detail: sticky add-to-cart bar ----
   Původně jen pro mobil. Na počítači se ale po odrolování k popisu ztratí cena
   i tlačítko z výřezu a zákazník nemá kde koupit, dokud nescrolluje zpátky nahoru —
   změřeno na 1440 px. Lišta proto platí na všech šířkách; na širší obrazovce je
   jen užší a drží se u pravého okraje, aby nepřekrývala obsah přes celou šířku. */
.pd-sticky-bar { display: none; }
@media (min-width: 768px) {
	.pd-sticky-bar {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 16px;
		position: fixed;
		right: 24px;
		bottom: 24px;
		z-index: 40;
		padding: 12px 16px;
		background: var(--shop-surface);
		border: 1px solid var(--shop-border);
		border-radius: var(--shop-card-radius);
		box-shadow: var(--shop-shadow-md);
		transform: translateY(160%);
		transition: transform .22s ease;
	}
	.pd-sticky-bar.is-visible { transform: translateY(0); }
	/* product-5 i na širší obrazovce: plovoucí karta (24 + 70 px) jinak na konci stránky
	   zakryje platební štítky a „Nejsme plátci DPH" v pravém dolním rohu patičky */
	body:has(.pd-sticky-bar) .shop-footer {
		padding-bottom: 96px;
	}
	.pd-sticky-price {
		font-family: var(--shop-font-head);
		font-weight: 700;
		font-size: 18px;
		color: var(--shop-price);
		white-space: nowrap;
	}
	.pd-sticky-cta {
		flex: none;
		min-height: 44px;
		padding: 0 22px;
		border: none;
		border-radius: var(--shop-btn-radius);
		background: var(--shop-cta);
		color: var(--shop-cta-ink);
		font-weight: 600;
		cursor: pointer;
	}
}
@media (max-width: 767px) {
	.pd-sticky-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 40;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--shop-surface);
		border-top: 1px solid var(--shop-border);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .10);
		transform: translateY(110%);
		transition: transform .22s ease;
	}
	.pd-sticky-bar.is-visible { transform: translateY(0); }
	.pd-sticky-price {
		font-family: var(--shop-font-head);
		font-weight: 700;
		font-size: 18px;
		color: var(--shop-price);
	}
	.pd-sticky-cta {
		flex: none;
		min-height: 48px;
		padding: 0 24px;
		border: none;
		border-radius: var(--shop-btn-radius);
		background: var(--shop-cta);
		color: var(--shop-cta-ink);
		font-family: var(--shop-font-sans);
		font-weight: 700;
		font-size: 15px;
		cursor: pointer;
	}
	/* product-5: konec patičky (platby, „Nejsme plátci DPH") musí jít vyrolovat nad lištu.
	   Pevné odsazení, ne třída has-sticky-bar přepínaná skriptem — ta by stránkou poskakovala. */
	body:has(.pd-sticky-bar) .shop-footer {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}
}

/* ===== Sale prices (slevové akce) ===== */
.pd-price-old,
.shop-product-card-price-old {
	text-decoration: line-through;
	color: var(--shop-muted);
	font-weight: 500;
}
.pd-price-old { font-size: 18px; margin-right: 8px; }
.shop-product-card-price-old { font-size: 12.5px; display: block; line-height: 1.1; }
.pd-price-lowest,
.shop-product-card-price-lowest {
	color: var(--shop-muted);
	font-weight: 400;
}
.pd-price-lowest {
	display: block;
	width: 100%;
	flex-basis: 100%;
	font-size: 13px;
	margin-top: 4px;
}
.shop-product-card-price-lowest {
	font-size: 11px;
	line-height: 1.2;
	margin-top: 2px;
}
.pd-price--sale,
.shop-product-card-price--sale { color: #c62828; }
.pd-sale-badge {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 9px;
	border-radius: var(--shop-badge-radius, 999px);
	background: var(--shop-badge-sale, #c62828);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	vertical-align: middle;
}
/* Badge colours (ProductBadge), card and detail alike; Featured keeps the accent */
.shop-product-card-badge--sale,
.pd-badge--sale { background: var(--shop-badge-sale, #c62828); color: #fff; }
.shop-product-card-badge--new,
.pd-badge--new { background: var(--shop-badge-new, var(--shop-success)); color: #fff; }
.shop-product-card-badge--tip,
.pd-badge--tip { background: var(--shop-badge-tip, var(--shop-primary)); color: #fff; }

/* ===== Stock watch (hlídací pes dostupnosti) ===== */
.pd-watch-row { display: block; }
.pd-watch-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.pd-watch-controls { display: flex; gap: 8px; }
.pd-watch-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 9px 12px;
	border: 1px solid var(--shop-border, #ddd);
	border-radius: var(--shop-radius-sm);
	font-size: 16px;
}
.pd-watch-btn {
	padding: 9px 18px;
	border: none;
	border-radius: var(--shop-btn-radius);
	background: var(--shop-cta, var(--shop-primary, #333));
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.pd-watch-btn:hover { filter: brightness(1.08); }

/* ===== Recenze produktů ===== */
.pd-rating-line { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 10px; text-decoration: none; }
.pd-rating-text { font-size: 13.5px; color: var(--shop-muted); }
.pd-stars { display: inline-block; position: relative; font-size: 18px; line-height: 1; letter-spacing: 2px; }
.pd-stars::before { content: '★★★★★'; color: #d9d9d9; }
.pd-stars::after {
	content: '★★★★★';
	color: #f5a623;
	position: absolute;
	left: 0; top: 0;
	width: calc(var(--rating, 0) / 5 * 100%);
	overflow: hidden;
	white-space: nowrap;
}
.pd-stars--sm { font-size: 15px; }
.pd-reviews { margin-top: 40px; }
.pd-reviews-count { color: var(--shop-muted); font-weight: 400; }
.pd-review { padding: 14px 0; border-bottom: 1px solid var(--shop-border, #eee); }
.pd-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.pd-review-date { color: var(--shop-muted); font-size: 12.5px; }
.pd-review-text { margin: 0; font-size: 14.5px; white-space: pre-line; }
.pd-reviews-empty { color: var(--shop-muted); }
.pd-review-form-wrap { margin-top: 18px; }
.pd-review-form-toggle { cursor: pointer; font-weight: 600; color: var(--shop-primary, #333); }
.pd-review-form { margin-top: 14px; max-width: 560px; }
.pd-review-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 575px) { .pd-review-form-grid { grid-template-columns: 1fr; } }
.pd-form-errors { color: #c62828; margin-bottom: 10px; font-size: 14px; }
.pd-review-stars-pick { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin: 6px 0 12px; }
.pd-star-pick { cursor: pointer; font-size: 26px; color: #d9d9d9; }
.pd-star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.pd-star-pick:hover span,
.pd-star-pick:hover ~ .pd-star-pick span,
.pd-star-pick:has(input:checked) span,
.pd-star-pick:has(input:checked) ~ .pd-star-pick span { color: #f5a623; }

/* Cookie lišta překrývá mobilní sticky CTA — po dobu zobrazení lišty je skryjeme */
body.has-cookie-bar .pd-sticky-bar,
body.has-cookie-bar .cart-mobile-bar { display: none !important; }
/* Lišta pokladny nese odesílací tlačítko, skrýt ji nejde — jen přestane být přilepená. */
@media (max-width: 767px) {
	body.has-cookie-bar .co-actions { position: static; box-shadow: none; }
}

/* ===== Lightbox galerie produktu ===== */
.pd-gallery-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pd-gallery-zoom > picture { display: block; height: 100%; }
.pd-gallery-main-img { object-fit: contain; background: #fff; } /* contain — produktové foto se nesmí ořezávat */
.pd-lightbox {
	position: fixed; inset: 0; z-index: 1060;
	background: rgba(15, 15, 15, .92);
	display: flex; align-items: center; justify-content: center;
}
.pd-lightbox[hidden] { display: none; }
.pd-lightbox-img { max-width: 92vw; max-height: 92vh; object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; }
/* Tmavý podklad tlačítek: šipky leží přes bílou produktovou fotku, průsvitně bílé na ní nebyly vidět */
.pd-lightbox-close, .pd-lightbox-nav {
	position: absolute; border: 0; background: rgba(0,0,0,.55); color: #fff;
	width: 44px; height: 44px; border-radius: 999px; font-size: 26px; line-height: 1; cursor: pointer;
}
.pd-lightbox-close:hover, .pd-lightbox-nav:hover { background: rgba(0,0,0,.8); }
.pd-lightbox-close { top: 16px; right: 16px; }
.pd-lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.pd-lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.pd-lightbox-count {
	position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
	padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.55);
	color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.pd-lightbox--single .pd-lightbox-nav,
.pd-lightbox--single .pd-lightbox-count { display: none; }
/* lepivá lišta by prosvítala pod šipkami */
body:has(.pd-lightbox:not([hidden])) .pd-sticky-bar { visibility: hidden; }
/* Telefon: šipky pod fotku k palci, mezi ně počítadlo; fotka se zmenší, aby je nepřekryla */
@media (max-width: 767px) {
	.pd-lightbox-img { max-height: calc(100vh - 176px); max-height: calc(100dvh - 176px); }
	.pd-lightbox-prev,
	.pd-lightbox-next {
		top: auto;
		bottom: calc(24px + env(safe-area-inset-bottom, 0px));
		transform: none;
	}
	.pd-lightbox-count {
		bottom: calc(30px + env(safe-area-inset-bottom, 0px));
	}
}

/* ===== Error pages (404 / 403 / 500) ===== */
.error-page-body {
	background: var(--shop-bg);
	color: var(--shop-ink);
	font-family: var(--shop-font-sans);
}
.error-card {
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	padding: 40px 32px;
	box-shadow: var(--shop-shadow-md);
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.error-card-badge {
	display: flex;
	align-items: center;
	gap: 16px;
}
.error-code {
	font-family: var(--shop-font-head);
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--shop-primary);
}
.error-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--shop-ink);
	margin: 0 0 10px;
}
.error-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--shop-muted);
	margin: 0 0 20px;
	max-width: 480px;
}
.error-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
/* Značka obchodu nad kartou (flows-10). Logo je kreslené pro světlou hlavičku —
   na podkladu obchodu by neprůhledné PNG působilo jako bílý obdélník, proto dlaždice. */
.error-brand {
	display: inline-block;
	margin-bottom: 20px;
	color: var(--shop-ink);
	text-decoration: none;
}
.error-brand img {
	display: block;
	max-height: 48px;
	max-width: min(220px, 100%);
	padding: 8px 14px;
	border-radius: var(--shop-radius-sm);
	background: var(--shop-surface);
	box-sizing: content-box;
}
.error-brand--name:hover { color: var(--shop-link); }
/* Okraj karty od kraje displeje jako na ostatních stránkách (dřív 8 px) */
.error-page-body .container-tight {
	padding-left: var(--shop-gutter);
	padding-right: var(--shop-gutter);
}
/* Hledání přímo na chybové stránce — 16px písmo kvůli iOS zoomu, 48 px na prst */
.error-search {
	display: flex;
	gap: 8px;
	margin: 0 0 12px;
}
.error-search-input {
	flex: 1 1 auto;
	width: 0;
	min-width: 0;
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	background: var(--shop-surface);
	color: var(--shop-ink);
	font-size: 16px;
}
.error-search-input:focus {
	outline: 2px solid var(--shop-primary);
	outline-offset: 1px;
	border-color: var(--shop-primary);
}
.error-search-btn { flex: none; min-height: 48px; }
@media (max-width: 575px) {
	.error-card { padding: 28px 20px; }
	.error-actions .shop-btn-cta,
	.error-actions .shop-btn-secondary {
		flex: 1 1 100%;
		min-height: 48px;
	}
}
.shop-btn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--shop-cta);
	color: var(--shop-cta-ink);
	font-family: var(--shop-font-sans);
	font-size: 14.5px;
	font-weight: 600;
	padding: 11px 20px;
	border-radius: var(--shop-btn-radius);
	text-decoration: none;
	transition: filter .15s;
}
.shop-btn-cta:hover {
	color: var(--shop-cta-ink);
	filter: brightness(1.08);
}
.shop-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: var(--shop-link);
	border: 1.5px solid var(--shop-primary);
	font-family: var(--shop-font-sans);
	font-size: 14.5px;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: var(--shop-btn-radius);
	text-decoration: none;
	transition: background .15s, color .15s;
}
.shop-btn-secondary:hover {
	background: color-mix(in srgb, var(--shop-primary) 10%, transparent);
	color: var(--shop-primary);
}


/* Zásuvka mobilního menu: překryv a zámek rolování stránky pod ním.
   Neutrální pravidla — bez otevřeného menu se nikde neuplatní, takže se
   ostatních obchodů nedotknou. */
.shop-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 89;
	background: rgba(17, 24, 39, .42);
}
html.shop-nav-locked,
body.shop-nav-locked {
	overflow: hidden;
}
@media (min-width: 768px) {
	.shop-nav-overlay { display: none; }
	html.shop-nav-locked,
	body.shop-nav-locked { overflow: auto; }
}

/* ============================================================
   POKLADNA — souhrn objednávky
   Zákazník musí po celou pokladnu vidět, co kupuje a kolik zaplatí.
   Dokud panel chyběl, měl při vyplňování adresy jen číslo v hlavičce.
   ============================================================ */
.co-page--with-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 8px 28px; /* řádek pod nadpisem (h1 přes oba sloupce) jen o kousek víc než dřív uvnitř .co-main */
	align-items: start;
}
.co-page--with-summary > h1 { grid-column: 1 / -1; }
.co-main { min-width: 0; }
.checkout-summary-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
/* Sbalovací řádek souhrnu je jen pro telefon a tablet (viz ≤991 px níže) */
.checkout-summary-toggle { display: none; }

.checkout-summary {
	position: sticky;
	top: calc(var(--shop-header-h, var(--shop-header-height)) + 16px);
	background: var(--shop-surface);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.checkout-summary-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 18px;
	margin: 0;
	color: var(--shop-ink);
}
.checkout-summary-rows { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.checkout-summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.checkout-summary-row dt { color: var(--shop-muted); margin: 0; }
.checkout-summary-row dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--shop-ink); }
.checkout-summary-row--discount dd { color: var(--shop-success); }
.checkout-summary-pending { color: var(--shop-muted); font-style: italic; }
.checkout-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--shop-border);
	font-size: 15px;
}
.checkout-summary-total strong {
	font-size: 21px;
	font-variant-numeric: tabular-nums;
	color: var(--shop-price);
}
.checkout-summary-note { margin: 0; font-size: 12.5px; color: var(--shop-muted); }

@media (max-width: 991px) {
	/* Na užší obrazovce patří souhrn nad formulář: kdyby zůstal pod ním,
	   zákazník by k němu doscrolloval až za vyplněnými poli. Nadpis ale jde první
	   (h1 → souhrn → formulář), a souhrn je s JS sbalený do jednoho řádku s cenou —
	   celá karta nad nadpisem dřív odsunula volbu dopravy pod spodní lištu (flows-2). */
	.co-page--with-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.co-page--with-summary > h1 { margin-bottom: 0; }
	.checkout-summary { position: static; order: 0; }
	.co-main { order: 1; }

	html.js .checkout-summary { padding: 0; gap: 0; }
	html.js .checkout-summary-title { display: none; }
	html.js .checkout-summary-toggle {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		width: 100%;
		min-height: 52px;
		padding: 0 16px;
		border: 0;
		border-radius: var(--shop-card-radius);
		background: none;
		color: var(--shop-ink);
		font: inherit;
		font-size: 15px;
		text-align: left;
		cursor: pointer;
	}
	.checkout-summary-toggle-label {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		min-width: 0;
		font-weight: 600;
	}
	.checkout-summary-toggle-label::after {
		content: "";
		flex: none;
		width: 18px;
		height: 18px;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
		transition: transform .15s;
	}
	.checkout-summary.is-open .checkout-summary-toggle-label::after { transform: rotate(180deg); }
	.checkout-summary-toggle-total {
		flex: none;
		font-size: 17px;
		font-variant-numeric: tabular-nums;
		white-space: nowrap;
		color: var(--shop-price);
	}
	html.js .checkout-summary-body { padding: 4px 16px 16px; }
	html.js .checkout-summary:not(.is-open) .checkout-summary-body { display: none; }
}
@media (max-width: 359px) {
	/* „Souhrn objednávky" i cena se na 320 px vejdou na jeden řádek */
	html.js .checkout-summary-toggle { padding: 0 12px; font-size: 14px; }
	.checkout-summary-toggle-total { font-size: 16px; }
}

/* ============================================================
   VŠECHNY KATEGORIE
   Rozcestník pro katalogy, kde se do menu vejde jen zlomek kategorií.
   ============================================================ */
.allcat-page {
	/* Stejné vnější odsazení jako ostatní stránky obchodu — bez něj se obsah nalepí
	   na okraj okna. */
	max-width: var(--shop-container);
	margin: 0 auto;
	padding: 28px var(--shop-gutter) var(--shop-section-gap);
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.allcat-head { display: flex; flex-direction: column; gap: 6px; }
.allcat-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	margin: 0;
}
.allcat-sub { margin: 0; color: var(--shop-muted); font-size: 14.5px; }

.allcat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px 28px;
	align-items: start;
}
.allcat-section {
	break-inside: avoid;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-card-radius);
	background: var(--shop-surface);
	padding: 16px 18px;
}
.allcat-section-title {
	font-family: var(--shop-font-head);
	font-weight: var(--shop-heading-weight);
	font-size: 16.5px;
	margin: 0 0 10px;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.allcat-section-title a { color: var(--shop-ink); text-decoration: none; }
.allcat-section-title a:hover { color: var(--shop-link); text-decoration: underline; }

.allcat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.allcat-list li { display: flex; align-items: baseline; gap: 8px; }
.allcat-list a { color: var(--shop-link); text-decoration: none; font-size: 14.5px; }
.allcat-list a:hover { text-decoration: underline; }

.allcat-count {
	margin-left: auto;
	font-size: 12px;
	color: var(--shop-muted);
	font-variant-numeric: tabular-nums;
}
.allcat-empty { color: var(--shop-muted); }

/* ============================================================
   GLOBÁLNÍ MOBILNÍ DESIGN SYSTÉM A PŘÍSTUPNOST (Dávka 2)
   ============================================================ */

/* system-13: Numerály v cenách, souhrnech, košíku a telefonech */
.shop-cart-total,
.cart-price,
.cart-row-total,
.checkout-summary-price,
.shop-utility-phone,
.shop-footer-contact,
.pd-price {
	font-variant-numeric: lining-nums tabular-nums;
}

@media (max-width: 767px) {
	/* system-10: Vertikální rytmus sekcí a hero na mobilu */
	.shop-section,
	.shop-hero-inner,
	.shop-hero-v2-inner {
		padding-top: calc(var(--shop-section-gap) * .6);
		padding-bottom: calc(var(--shop-section-gap) * .6);
	}

	/* system-2 & flows-5: Zamezení iOS zoomu (písmo 16 px) a minimální výška ovládacích prvků */
	.shop-search-input,
	.shop-sort-select,
	.cart-stepper-input,
	.cart-coupon-input,
	.shop-newsletter-input,
	.pd-watch-input {
		font-size: 16px;
	}
	.cart-coupon-input,
	.cart-coupon-btn,
	.shop-newsletter-input,
	.shop-newsletter-btn,
	.pd-watch-input,
	.pd-watch-btn {
		min-height: var(--shop-control-h, 44px);
	}
	.shop-sort-select {
		min-height: var(--shop-control-h, 44px);
	}

	/* system-8: Klikací plochy v obsahu */
	.shop-breadcrumb-link {
		display: inline-block;
		padding: 14px 0;
	}
	.shop-footer-col:not(.shop-footer-newsletter) {
		gap: 0;
	}
	/* flows-7: odkazy patičky jako řádky na prst (44 px) v čitelných 15 px */
	.shop-footer-col:not(.shop-footer-newsletter) a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0;
		font-size: 15px;
	}
	.shop-footer-col-title {
		margin-bottom: 4px;
	}
	/* flows-7: Nákup a Informace jako rozbalovací řádky; Kontakt a newsletter zůstávají otevřené */
	.shop-footer-acc-btn {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 48px;
		margin-bottom: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .12);
		pointer-events: auto;
		cursor: pointer;
	}
	html.js .shop-footer-acc-btn::after {
		content: "";
		flex: none;
		width: 18px;
		height: 18px;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
		transition: transform .15s;
	}
	.shop-footer-acc.is-open .shop-footer-acc-btn::after { transform: rotate(180deg); }
	.shop-footer-acc-body { gap: 0; padding-top: 4px; }
	html.js .shop-footer-acc:not(.is-open) .shop-footer-acc-body { display: none; }
	/* Sbalené řádky těsně pod sebou jako seznam; mezera mřížky zůstává jen kolem ostatních bloků */
	.shop-footer-grid { row-gap: 0; }
	.shop-footer-brand { margin-bottom: 20px; }
	.shop-footer-col:not(.shop-footer-acc) { margin-top: 28px; }
	/* listing-13: Dotykové řádky odkazů na stránce všech kategorií */
	.allcat-list {
		gap: 0;
	}
	.allcat-list li + li {
		border-top: 1px solid var(--shop-border);
	}
	.allcat-list a {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: space-between;
		min-height: 44px;
		padding: 0;
	}
	.allcat-section-title a {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: space-between;
		min-height: 44px;
	}
	.allcat-section:not(:has(.allcat-list)) .allcat-section-title {
		margin: 0;
	}
	.auth-footer a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 6px;
	}
}

