/*
Theme Name: E-KARTS Zlín 2026
Theme URI: https://www.e-kartszlin.cz/
Author: E-KARTS Zlín
Description: Lehký motiv pro web E-KARTS Zlín postavený na Elementoru (Free). Veškerý obsah, hlavička i patička se upravují v Elementoru. Součástí je importér, který vytvoří stránky, menu, globální barvy a fonty a nahraje obrázky.
Version: 1.8.4
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ekarts
*/

/* ==========================================================================
   Základ. Vzhled obsahu (barvy, písma, mezery) se nastavuje v Elementoru:
   Elementor → Nastavení webu → Globální barvy / Globální fonty / Tlačítka.
   Tento soubor řeší jen to, co v Elementoru Free nastavit nejde.
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.6;
	color: #3b4856;
	background: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

img,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

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

.ek-skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100000;
	padding: 12px 18px;
	background: #16c1eb;
	color: #0b1623;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
}

.ek-skip-link:focus {
	top: 16px;
}

:focus-visible {
	outline: 2px solid #16c1eb;
	outline-offset: 3px;
}

/* ==========================================================================
   Hlavička a patička (obsah = šablony Elementoru)
   ========================================================================== */

.ek-site-header {
	position: sticky;
	top: 0;
	z-index: 900;
}

.admin-bar .ek-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ek-site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .ek-site-header {
		top: 0;
	}
}

.ek-site-header .elementor,
.ek-site-footer .elementor {
	width: 100%;
}

/* ==========================================================================
   Widget „E-KARTS Menu“ – vzhled se nastavuje v Elementoru (Styl).
   Zde je jen rozložení a chování mobilního menu.
   ========================================================================== */

.ek-nav {
	--ek-nav-gap: 32px;
	--ek-nav-color: #ffffff;
	--ek-nav-color-hover: #16c1eb;
	--ek-nav-panel-bg: #0b1623;
	--ek-nav-panel-color: #ffffff;
	--ek-nav-indicator: #16c1eb;
	position: relative;
	display: flex;
	align-items: center;
}

.ek-nav__list,
.ek-nav__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ek-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ek-nav-gap);
}

.ek-nav__list > li {
	position: relative;
}

.ek-nav .ek-nav__list a {
	display: inline-flex;
	align-items: center;
	position: relative;
	color: var(--ek-nav-color);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ek-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--ek-nav-indicator);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.25s ease;
}

.ek-nav__list > li > a:hover::after,
.ek-nav__list > li.current-menu-item > a::after,
.ek-nav__list > li.current-menu-ancestor > a::after,
.ek-nav__list > li.current_page_item > a::after {
	transform: scaleX(1);
}

.ek-nav .ek-nav__list a:hover,
.ek-nav .ek-nav__list a:focus-visible,
.ek-nav .ek-nav__list .current-menu-item > a,
.ek-nav .ek-nav__list .current_page_item > a {
	color: var(--ek-nav-color-hover);
}

/* Podmenu (desktop) */
.ek-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -16px;
	min-width: 220px;
	padding: 10px 0;
	background: var(--ek-nav-panel-bg);
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(11, 22, 35, 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 20;
}

.ek-nav__list li:hover > .sub-menu,
.ek-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.ek-nav .ek-nav__list .sub-menu a {
	display: block;
	padding: 8px 18px;
	color: var(--ek-nav-panel-color);
}

.ek-nav__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.ek-nav__toggle > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ek-nav__toggle svg {
	width: 1em;
	height: 1em;
	max-width: none;
	fill: currentColor;
}

.ek-nav__toggle .ek-nav__icon-close,
.ek-nav.is-open .ek-nav__toggle .ek-nav__icon-open {
	display: none;
}

.ek-nav.is-open .ek-nav__toggle .ek-nav__icon-close {
	display: inline-flex;
}

/* Desktop: položky v jednom řádku */
.ek-nav:not(.is-mobile) .ek-nav__list {
	flex-wrap: nowrap;
}

.ek-nav .ek-nav__list a {
	white-space: nowrap;
}

/* Mobilní režim – přepíná se třídou podle zvoleného breakpointu */
@media (max-width: 1200px) {
	.ek-nav--bp-laptop .ek-nav__toggle {
		display: inline-flex;
	}

	.ek-nav--bp-laptop .ek-nav__panel {
		display: none;
	}
}

@media (max-width: 1024px) {
	.ek-nav--bp-tablet .ek-nav__toggle {
		display: inline-flex;
	}

	.ek-nav--bp-tablet .ek-nav__panel {
		display: none;
	}
}

@media (max-width: 767px) {
	.ek-nav--bp-mobile .ek-nav__toggle {
		display: inline-flex;
	}

	.ek-nav--bp-mobile .ek-nav__panel {
		display: none;
	}
}

.ek-nav.is-mobile.is-open .ek-nav__panel {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	top: var(--ek-nav-top, 72px);
	max-height: calc(100vh - var(--ek-nav-top, 72px));
	overflow-y: auto;
	padding: 12px 24px 28px;
	background: var(--ek-nav-panel-bg);
	box-shadow: 0 24px 40px rgba(11, 22, 35, 0.35);
	z-index: 950;
}

.ek-nav.is-mobile .ek-nav__list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.ek-nav.is-mobile .ek-nav__list li a {
	display: flex;
	padding: 14px 0;
	color: var(--ek-nav-panel-color);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ek-nav.is-mobile .ek-nav__list > li > a::after {
	display: none;
}

.ek-nav.is-mobile .ek-nav__list li a:hover,
.ek-nav.is-mobile .ek-nav__list .current-menu-item > a {
	color: var(--ek-nav-color-hover);
}

.ek-nav.is-mobile .ek-nav__list .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	background: transparent;
	padding: 0 0 0 16px;
	min-width: 0;
}

/* ==========================================================================
   Drobnosti pro obsah z Elementoru
   ========================================================================== */

/* Odkazy v textovém editoru s podtržením pro čitelnost */
.elementor-widget-text-editor a {
	text-underline-offset: 3px;
}

/* Seznam v textovém editoru */
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
	padding-left: 1.2em;
}

/* Stránky bez Elementoru (fallback) */
.ek-page {
	max-width: 860px;
	margin: 0 auto;
	padding: 64px 24px 96px;
}

.ek-page h1 {
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.1;
	color: #0b1623;
}

/* Dlouhé texty (obchodní podmínky, ochrana osobních údajů) */
.ek-page .ek-page__content h2 {
	font-size: clamp(20px, 2.4vw, 26px);
	line-height: 1.25;
	margin: 1.8em 0 0.6em;
	text-transform: none;
	letter-spacing: 0;
	color: #0b1623;
}

.ek-page .ek-page__content h3,
.ek-page .ek-page__content h4 {
	font-size: 18px;
	line-height: 1.3;
	margin: 1.5em 0 0.5em;
	text-transform: none;
	letter-spacing: 0;
	color: #0b1623;
}

.ek-page .ek-page__content p,
.ek-page .ek-page__content li {
	font-size: 16px;
	line-height: 1.7;
}

.ek-page__content ul,
.ek-page__content ol {
	padding-left: 1.4em;
	margin: 0 0 1em;
}

.ek-page__content a {
	text-decoration: underline;
}

.ek-fallback-header,
.ek-fallback-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 16px 24px;
	background: #0b1623;
	color: #ffffff;
}

.ek-fallback-header img {
	display: block;
	height: 40px;
	width: auto;
}

.ek-fallback-header ul,
.ek-fallback-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ek-fallback-header a,
.ek-fallback-footer a {
	color: #ffffff;
	text-decoration: none;
}

/* Typografické minimum (vzhled písma řídí globální fonty Elementoru) */
p {
	margin-top: 0;
	margin-bottom: 0.9em;
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child,
.elementor-widget-text-editor ol:last-child {
	margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
}

/* Nadpisy zalamovat vyváženě – na druhém řádku nezůstane jedno osamocené slovo. */
.elementor-heading-title {
	text-wrap: balance;
}

/* Když je menu v mobilním režimu, ikona menu se přesune až za ostatní prvky (např. tlačítko). */
.elementor-widget-ekarts-nav-menu:has(.ek-nav.is-mobile) {
	order: 99;
}

/* ==========================================================================
   Widget „E-KARTS Produkty“ (karty voucherů a permanentek z WooCommerce)
   Barvy a písma se berou z globálních nastavení Elementoru.
   ========================================================================== */
.ek-products {
	--ek-cols: 3;
	--ek-gap: 20px;
	display: grid;
	grid-template-columns: repeat(var(--ek-cols), minmax(0, 1fr));
	gap: var(--ek-gap);
}

@media (max-width: 1024px) {
	.ek-products {
		--ek-cols: 2;
		--ek-gap: 16px;
	}
}

@media (max-width: 767px) {
	.ek-products {
		--ek-cols: 1;
	}
}

.ek-product {
	--ek-a: var(--ek-accent, var(--e-global-color-primary, #16c1eb));
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 28px;
	border: 1px solid var(--e-global-color-ekdark2, #16263a);
	border-top: 3px solid var(--ek-a);
	border-radius: 18px;
	background: linear-gradient(135deg, var(--e-global-color-ekdark, #0b1623) 0%, var(--e-global-color-ekdark2, #16263a) 100%);
	color: var(--e-global-color-ekondark, #b5c3d1);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* Závodní čára jako na voucherech: dvojitý oblouk vpravo nahoře + jemná šachovnice. */
.ek-product {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.ek-product::before,
.ek-product::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: -1;
}

.ek-product::before {
	top: -30px;
	right: -70px;
	width: 230px;
	height: 300px;
	background-color: var(--ek-a);
	opacity: 0.85;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 300'%3E%3Ccircle cx='300' cy='150' r='170' fill='none' stroke='%23000' stroke-width='22'/%3E%3Ccircle cx='300' cy='150' r='206' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") no-repeat right top / 100% 100%;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 300'%3E%3Ccircle cx='300' cy='150' r='170' fill='none' stroke='%23000' stroke-width='22'/%3E%3Ccircle cx='300' cy='150' r='206' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") no-repeat right top / 100% 100%;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.ek-product::after {
	inset: 0;
	background-image: repeating-conic-gradient(rgba(255, 255, 255, 0.045) 0% 25%, transparent 0% 50%);
	background-size: 36px 36px;
	-webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 55%);
	mask-image: linear-gradient(225deg, #000 0%, transparent 55%);
}

.ek-product:hover::before {
	opacity: 1;
	transform: translateX(-6px);
}

.ek-products--light .ek-product::before {
	opacity: 0.6;
}

.ek-products--light .ek-product::after {
	background-image: repeating-conic-gradient(rgba(11, 22, 35, 0.04) 0% 25%, transparent 0% 50%);
}

/* Text nesmí do oblouku: pravý okraj nadpisu a popisu. */
.ek-product .ek-product__top,
.ek-product .ek-product__title,
.ek-product .ek-product__desc {
	padding-right: 56px;
}

@media (max-width: 767px) {
	.ek-product::before {
		right: -90px;
		opacity: 0.7;
	}

	.ek-product .ek-product__top,
	.ek-product .ek-product__title,
	.ek-product .ek-product__desc {
		padding-right: 36px;
	}
}

/* Záložní písmo, kdyby se Montserrat nenačetl (nikdy patkové). */
body,
button,
input,
select,
textarea {
	font-family: var(--e-global-typography-text-font-family, "Montserrat"), "Helvetica Neue", Arial, sans-serif;
}

.ek-product__label,
.ek-product__price,
.ek-product__title,
.woocommerce div.product .product_title,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.ek-product:hover {
	border-color: var(--ek-a);
	box-shadow: 0 18px 44px rgba(11, 22, 35, 0.25);
}

.ek-product.is-featured {
	border-color: var(--ek-a);
}

.ek-products--light .ek-product {
	border-color: var(--e-global-color-ekborder, #dde5ec);
	background: var(--e-global-color-ekwhite, #ffffff);
	color: var(--e-global-color-ekmuted, #64748b);
}

.ek-products--light .ek-product:hover {
	box-shadow: 0 18px 44px rgba(11, 22, 35, 0.1);
}

.ek-product__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 24px;
}

.ek-product__label {
	font-family: var(--e-global-typography-ekeyebrow-font-family, inherit);
	font-size: var(--e-global-typography-ekeyebrow-font-size, 12px);
	font-weight: var(--e-global-typography-ekeyebrow-font-weight, 700);
	letter-spacing: var(--e-global-typography-ekeyebrow-letter-spacing, 0.14em);
	text-transform: uppercase;
	color: var(--ek-a);
}

.ek-product__badge {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ek-a);
	color: var(--e-global-color-ekdark, #0b1623);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.elementor-widget-ekarts-products .ek-product .ek-product__title {
	margin: 0;
	font-family: var(--e-global-typography-ekh3-font-family, inherit);
	font-size: var(--e-global-typography-ekh3-font-size, 20px);
	font-weight: var(--e-global-typography-ekh3-font-weight, 700);
	line-height: var(--e-global-typography-ekh3-line-height, 1.3);
	color: var(--e-global-color-ekwhite, #ffffff);
	overflow-wrap: anywhere;
}

.ek-products--light .elementor-widget-container .ek-product .ek-product__title,
.elementor-widget-ekarts-products.ek-products--light .ek-product .ek-product__title {
	color: var(--e-global-color-ekheading, #0b1623);
}

.elementor-widget-ekarts-products .ek-product .ek-product__title a {
	color: inherit;
	text-decoration: none;
}

.elementor-widget-ekarts-products .ek-product .ek-product__title a:hover {
	color: var(--ek-a);
}

/* Karta bez názvu (dárkové poukazy): hodnota je hlavní informace. */
.ek-product.no-title .ek-product__price {
	font-size: 40px;
}

@media (max-width: 767px) {
	.ek-product {
		padding: 22px;
	}

	.ek-product.no-title {
		padding: 18px 16px;
	}

	.ek-product.no-title .ek-product__price {
		font-size: 26px;
	}

	.ek-product.no-title .ek-product__label {
		font-size: 10px;
	}

	.ek-product.no-title .ek-product__button {
		padding: 12px 8px;
		font-size: 12px;
	}
}

.ek-product__desc {
	margin: 0;
	font-size: var(--e-global-typography-eksmall-font-size, 14px);
	line-height: var(--e-global-typography-eksmall-line-height, 1.55);
}

.ek-product__bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: auto;
	padding-top: 8px;
}

.ek-product__price {
	font-family: var(--e-global-typography-ekstat-font-family, inherit);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--e-global-color-ekwhite, #ffffff);
}

.ek-products--light .ek-product__price {
	color: var(--e-global-color-ekheading, #0b1623);
}

.ek-product__price del {
	margin-right: 8px;
	font-size: 0.55em;
	font-weight: 600;
	opacity: 0.6;
}

.ek-product__price ins {
	text-decoration: none;
}

.elementor-widget-ekarts-products .ek-product .ek-product__button {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 13px 18px;
	border-color: var(--ek-a);
	background-color: var(--ek-a);
	color: var(--e-global-color-ekdark, #0b1623);
}

.elementor-widget-ekarts-products .ek-product .ek-product__button:hover,
.elementor-widget-ekarts-products .ek-product .ek-product__button:focus {
	border-color: var(--e-global-color-ekwhite, #ffffff);
	background-color: var(--e-global-color-ekwhite, #ffffff);
	color: var(--e-global-color-ekdark, #0b1623);
}

.ek-products--light .ek-product .ek-product__button:hover,
.ek-products--light .ek-product .ek-product__button:focus {
	border-color: var(--e-global-color-ekdark, #0b1623);
	background-color: var(--e-global-color-ekdark, #0b1623);
	color: #ffffff;
}

.ek-products-notice {
	padding: 16px 20px;
	border: 1px dashed #16c1eb;
	border-radius: 12px;
	background: #e2f6fc;
	color: #0b1623;
	font-size: 14px;
}

/* ------------------------------------------------------------------ */
/* Detail dárkového poukazu – štíhlý formulář, tlačítko bez scrollování */
/* ------------------------------------------------------------------ */
.single-product .wps_wgm_added_wrapper .wps_wgm_section {
	margin: 0 0 12px;
}

.single-product .wps_wgm_added_wrapper .wps_wgc_label {
	margin-bottom: 4px;
	font-size: 12px;
	letter-spacing: 0.06em;
}

.single-product .wps_wgm_added_wrapper input[type="text"],
.single-product .wps_wgm_added_wrapper input[type="email"] {
	min-height: 0;
	padding: 10px 14px;
}

.single-product .wps_wgm_added_wrapper textarea.wps_wgm_message {
	height: 64px !important;
	min-height: 64px;
	padding: 10px 14px;
	resize: vertical;
}

.single-product .wps_wgm_added_wrapper .wps_wgm_message_length {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	text-align: right;
	opacity: 0.7;
}

.single-product .wps_wgm_added_wrapper .wps_wgm_delivery_method {
	padding: 12px 16px !important;
	margin: 0 !important;
	box-shadow: none !important;
	border: 1px solid var(--e-global-color-ekborder, #dde5ec) !important;
	border-radius: 12px;
}

.single-product .wps_wgm_added_wrapper .wps_wgm_delivery_via_buyer {
	margin-top: 6px;
}

.single-product .wps_wgm_added_wrapper .wps_wgm_msg_info {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	opacity: 0.75;
}

/* Jediná šablona voucheru → výběr šablony nezobrazovat (prázdné okénko). */
.single-product .wps_wgm_selected_template {
	display: none !important;
}

.single-product form.cart {
	margin-bottom: 16px;
}

.single-product .wps_uwgc_expiry_notice {
	margin: 8px 0 24px;
	padding: 12px 16px;
	border-left: 3px solid var(--e-global-color-primary, #16c1eb);
	background: var(--e-global-color-eklight, #f1f5f8);
	border-radius: 8px;
}

.single-product .wps_uwgc_expiry_notice h4 {
	margin: 0 0 2px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.single-product .wps_uwgc_expiry_notice p {
	margin: 0;
	font-size: 14px;
}

.single-product form.cart:has(.wps_wgm_added_wrapper) {
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.single-product form.cart .wps_wgm_added_wrapper {
	flex: 1 1 100%;
	max-width: 520px;
}

.single-product form.cart .wps_wgm_added_wrapper input[type="text"],
.single-product form.cart .wps_wgm_added_wrapper input[type="email"],
.single-product form.cart .wps_wgm_added_wrapper textarea {
	width: 100%;
	box-sizing: border-box;
}

/* ---------------- Košík v hlavičce ---------------- */
.ek-cart-wrap .elementor-shortcode {
	display: flex;
}

.ek-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 10px;
	color: var(--e-global-color-ekwhite, #fff);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.ek-cart:hover,
.ek-cart:focus-visible {
	border-color: var(--e-global-color-primary, #16c1eb);
	color: var(--e-global-color-primary, #16c1eb);
}

.ek-cart__count {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--e-global-color-accent, #e5508a);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
	box-sizing: border-box;
}

.ek-cart:not(.has-items) .ek-cart__count {
	display: none;
}

@media (max-width: 1024px) {
	.ek-cart-wrap {
		order: -1;
	}
}

/* Hlavička na počítači: stejné mezery mezi položkami menu, košíkem a tlačítkem.
 * Řádek (menu + košík + tlačítko) má max. ~1016 px, proto mezera roste se šířkou okna. */
@media (min-width: 1201px) {
	.e-con:has(> .ek-cart-wrap) {
		--ek-hgap: 14px;
		--column-gap: var(--ek-hgap) !important;
		column-gap: var(--ek-hgap) !important;
		flex-wrap: nowrap !important;
	}
	.e-con:has(> .ek-cart-wrap) .ek-nav {
		--ek-nav-gap: var(--ek-hgap) !important;
	}
	.e-con:has(> .ek-cart-wrap) > .elementor-widget:first-child {
		flex: 0 0 auto !important;
	}
	.e-con:has(> .ek-cart-wrap) .ek-nav .ek-nav__list > li > a {
		font-size: 13px !important;
		letter-spacing: 0.4px !important;
	}
}
@media (min-width: 1280px) {
	.e-con:has(> .ek-cart-wrap) {
		--ek-hgap: 20px;
	}
	.e-con:has(> .ek-cart-wrap) .ek-nav .ek-nav__list > li > a {
		font-size: 14px !important;
		letter-spacing: 0.8px !important;
	}
}
@media (min-width: 1366px) {
	.e-con:has(> .ek-cart-wrap) {
		--ek-hgap: 22px;
	}
}

/* ---------------- Simulátor – úvodní fotka na mobilu bez ztmavení obličeje ---------------- */
@media (max-width: 767px) {
	.ek-sim-hero::before {
		background-image: linear-gradient(0deg, rgba(11, 22, 35, 0.96) 0%, rgba(11, 22, 35, 0.92) 50%, rgba(11, 22, 35, 0) 66%) !important;
		opacity: 1 !important;
	}
}

/* ---------------- Detail produktu na mobilu – název a cena ---------------- */
@media (max-width: 767px) {
	.single-product div.product .product_title {
		font-size: 28px !important;
		line-height: 1.15 !important;
		text-wrap: wrap !important;
	}

	.single-product div.product p.price,
	.single-product div.product span.price {
		font-size: 30px !important;
		white-space: nowrap;
	}
}

/* ---------------- Mobil: žádné posouvání stránky do strany ---------------- */
/* Elementor u vodorovných seznamů (patička: Provozní řád · Obchodní podmínky · …) dává seznamu
 * záporné okraje, které na úzkém displeji přetečou ven. Nahrazeno mezerou bez přesahu. */
.elementor-icon-list-items.elementor-inline-items {
	margin-left: 0 !important;
	margin-right: 0 !important;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 6px;
}
.elementor-icon-list-items.elementor-inline-items > .elementor-icon-list-item {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.elementor-icon-list-items.elementor-inline-items > .elementor-icon-list-item::after {
	display: none !important;
}
/* Pojistka i pro Safari na iPhonu: viewport nesmí jít posunout do strany, dvojité klepnutí nepřibližuje
 * (zvětšení dvěma prsty zůstává). */
html {
	overflow-x: clip;
	touch-action: manipulation;
}
@supports not (overflow: clip) {
	html,
	body {
		overflow-x: hidden;
	}
}
html,
body {
	overscroll-behavior-x: none;
}
/* Formulářová pole aspoň 16 px – jinak iPhone při psaní přiblíží stránku a pak jde posouvat do strany. */
@media (max-width: 767px) {
	input:not([type="checkbox"]):not([type="radio"]),
	select,
	textarea {
		font-size: 16px !important;
	}
}

/* ---------------- Kalendář „Uzavřená společnost“ (domovská stránka dole) ---------------- */
html { scroll-behavior: smooth; }
.ek-cal {
	scroll-margin-top: 90px;
	background: #f3f6f9;
	padding: 48px 24px;
	color: var(--e-global-color-text, #3b4856);
}
.ek-cal__inner { max-width: 1240px; margin: 0 auto; }
.ek-cal__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 20px;
}
.ek-cal__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--e-global-color-primary, #16c1eb);
}
.ek-cal__title {
	margin: 0 0 8px;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--e-global-color-ekheading, #0b1623);
}
.ek-cal__lead { margin: 0; max-width: 640px; font-size: 15px; line-height: 1.5; }
.ek-cal__nav { display: flex; align-items: center; gap: 10px; }
.ek-cal__range { min-width: 150px; text-align: center; font-size: 14px; font-weight: 700; color: var(--e-global-color-ekheading, #0b1623); }
.ek-cal .ek-cal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	box-shadow: none !important;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(11, 22, 35, 0.18) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--e-global-color-ekheading, #0b1623) !important;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.ek-cal .ek-cal__btn:hover:not(:disabled) { border-color: var(--e-global-color-primary, #16c1eb); color: var(--e-global-color-primary, #16c1eb); }
.ek-cal .ek-cal__btn:disabled { opacity: 0.35; cursor: default; }
.ek-cal__week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ek-cal__day {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 96px;
	padding: 12px;
	border: 1px solid rgba(11, 22, 35, 0.08);
	border-radius: 12px;
	background: #fff;
	font-size: 13px;
	line-height: 1.35;
}
.ek-cal__date { color: var(--e-global-color-ekheading, #0b1623); font-size: 14px; }
.ek-cal__date b { font-weight: 800; margin-right: 2px; }
.ek-cal__date em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--e-global-color-primary, #16c1eb); }
.ek-cal__hours { color: #6b7785; }
.ek-cal__badge {
	display: inline-block;
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: 6px;
	background: var(--e-global-color-accent, #e5508a);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}
.ek-cal__day.is-today { border-color: var(--e-global-color-primary, #16c1eb); box-shadow: inset 0 0 0 1px var(--e-global-color-primary, #16c1eb); }
.ek-cal__day.is-past { opacity: 0.45; }
.ek-cal__day.is-closed { background: rgba(255, 255, 255, 0.6); }
@media (max-width: 900px) {
	.ek-cal { padding: 40px 16px; }
	.ek-cal__week { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.ek-cal__day { flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 0; padding: 10px 12px; gap: 6px 12px; }
	.ek-cal__date { flex: 0 0 92px; }
	.ek-cal__nav { width: 100%; justify-content: space-between; }
}

/* Tlačítko v úvodu domovské stránky */
.ek-cal-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.ek-cal-link a:hover { border-color: var(--e-global-color-primary, #16c1eb); color: var(--e-global-color-primary, #16c1eb); }
.ek-cal-link .elementor-icon-list-icon svg { width: 13px; height: 13px; fill: var(--e-global-color-primary, #16c1eb); }

/* ------------------------------------------------------------------
   Poptávka akce – okno s formulářem (assets/js/poptavka.js)
------------------------------------------------------------------- */
html.ek-pop-open { overflow: hidden; }
.ek-pop {
	width: min(640px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: #0b1623;
	box-shadow: 0 30px 80px rgba(5, 12, 22, 0.45);
	font-family: Montserrat, sans-serif;
	overflow: auto;
}
dialog.ek-pop::backdrop { background: rgba(5, 12, 22, 0.78); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.ek-pop[open] { position: fixed; inset: 0; margin: auto; z-index: 100000; }
.ek-pop__box { position: relative; padding: 32px 32px 26px; }
.ek-pop__close {
	position: absolute; top: 10px; right: 10px;
	width: 40px; height: 40px; padding: 0;
	border: 0; border-radius: 50%;
	background: transparent; color: #0b1623;
	font-size: 28px; line-height: 40px; cursor: pointer;
}
.ek-pop .ek-pop__close { width: 40px !important; height: 40px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; box-shadow: none !important; color: #0b1623 !important; font: 400 30px/40px Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
.ek-pop .ek-pop__close:hover, .ek-pop .ek-pop__close:focus-visible { background: #eef2f6 !important; }
.ek-pop__eyebrow { margin: 0 0 6px; color: var(--e-global-color-primary, #16c1eb); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ek-pop__title { margin: 0 0 8px; color: #0b1623; font-size: 28px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.ek-pop__lead { margin: 0 0 20px; color: #4a5565; font-size: 15px; line-height: 1.5; }
.ek-pop__lead a { color: inherit; font-weight: 700; }
.ek-pop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.ek-pop__f { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.ek-pop__f--wide { grid-column: 1 / -1; }
.ek-pop__form > .ek-pop__f--wide { margin-top: 12px; }
.ek-pop__f > span { font-size: 13px; font-weight: 600; color: #0b1623; }
.ek-pop__f input, .ek-pop__f select, .ek-pop__f textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; box-sizing: border-box;
	border: 1px solid #cfd8e3; border-radius: 10px;
	background: #fff; color: #0b1623;
	font: 500 15px/1.4 Montserrat, sans-serif;
	-webkit-appearance: none; appearance: none;
}
.ek-pop__f select { background-image: linear-gradient(45deg, transparent 50%, #0b1623 50%), linear-gradient(135deg, #0b1623 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.ek-pop__f textarea { min-height: 84px; resize: vertical; }
.ek-pop__f input:focus, .ek-pop__f select:focus, .ek-pop__f textarea:focus { outline: none; border-color: var(--e-global-color-primary, #16c1eb); box-shadow: 0 0 0 3px rgba(22, 193, 235, 0.22); }
.ek-pop__f.is-bad input { border-color: #e0245e; box-shadow: 0 0 0 3px rgba(224, 36, 94, 0.15); }
.ek-pop__checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; }
.ek-pop__checks label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.ek-pop__checks input { width: 18px; height: 18px; margin: 0; accent-color: var(--e-global-color-primary, #16c1eb); }
.ek-pop__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ek-pop__err { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fdecf1; color: #b0103f; font-size: 14px; font-weight: 600; }
.ek-pop__err[hidden], .ek-pop [hidden] { display: none !important; }
.ek-pop__submit {
	display: block; width: 100%; margin: 18px 0 0; padding: 15px 20px;
	border: 0; border-radius: 10px;
	background: var(--e-global-color-primary, #16c1eb); color: #0b1623;
	font: 800 14px/1 Montserrat, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
	cursor: pointer; transition: filter 0.2s ease;
}
.ek-pop__submit:hover, .ek-pop__submit:focus { filter: brightness(1.06); background: var(--e-global-color-primary, #16c1eb); color: #0b1623; }
.ek-pop__submit[disabled] { opacity: 0.6; cursor: wait; }
.ek-pop__note, .ek-pop__alt { margin: 12px 0 0; color: #6b7685; font-size: 12.5px; line-height: 1.5; text-align: center; }
.ek-pop__alt { margin-top: 6px; font-size: 13.5px; color: #4a5565; }
.ek-pop__note a, .ek-pop__alt a { color: #0b1623; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ek-pop__done { padding: 18px 0 4px; text-align: center; }
@media (max-width: 600px) {
	.ek-pop { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
	.ek-pop__box { padding: 24px 16px 18px; }
	.ek-pop__title { font-size: 23px; padding-right: 36px; }
	.ek-pop__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ek-pop__f input, .ek-pop__f select, .ek-pop__f textarea { font-size: 16px; }
}
