/* ==========================================================================
   Elek Theme – čistý, kontrastný tech vizuál. Biela + takmer čierna + červený akcent.
   Mobil na prvom mieste.
   ========================================================================== */
:root {
	--ink: #0b0d12;
	--ink-2: #2a2f3a;
	--muted: #5d6472;
	--line: #e4e6eb;
	--soft: #f4f5f7;
	--paper: #ffffff;
	--accent: #e0101f;
	--accent-d: #b70a17;
	--ok: #0b7a37;
	--wait: #9a5b00;
	--pre: #7a2bd1;
	--r: 10px;
	--r-lg: 16px;
	--wrap: 1320px;
	--head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--shadow: 0 1px 2px rgba(11, 13, 18, .06), 0 8px 24px rgba(11, 13, 18, .06);
}

/* ---------- Základ ---------- */
body.elek { font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.elek h1, body.elek h2, body.elek h3, body.elek .elek-logo { font-family: var(--head); letter-spacing: -0.01em; color: var(--ink); }
body.elek h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1.15; }
body.elek h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 700; line-height: 1.2; }
body.elek a { color: var(--ink); text-underline-offset: 3px; }
body.elek a:hover { color: var(--accent); }
.elek-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .elek-wrap { padding: 0 24px; } }
.elek-i { width: 22px; height: 22px; fill: currentColor; flex: none; }
.screen-reader-text:focus { clip: auto !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.elek-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* GeneratePress kontajnery */
body.elek .site.grid-container { max-width: none; }
body.elek .site-content { display: block; padding: 0; }
body.elek .inside-article, body.elek .one-container .site-content, body.elek .one-container.right-sidebar .site-main, body.elek .one-container.no-sidebar .site-main { padding: 0; margin: 0; }
body.elek .content-area { width: 100%; }
body.elek:not(.woocommerce-page):not(.home) .site-main { max-width: var(--wrap); margin: 0 auto; padding: 24px 16px 56px; }
body.elek:not(.single-product) .entry-content > * { max-width: 820px; }
body.elek .entry-content > .alignwide, body.elek .entry-content > .woocommerce, body.elek .entry-content > .elek-compare-wrap { max-width: none; }
body.elek.woocommerce-cart .entry-content > *, body.elek.woocommerce-checkout .entry-content > *, body.elek.woocommerce-account .entry-content > * { max-width: none; }
body.elek .page-header, body.elek .entry-header { margin-bottom: 16px; }

/* Tlačidlá */
body.elek .button, body.elek button.button, body.elek input[type=submit], body.elek .wc-block-components-button, body.elek a.button {
	background: var(--ink); color: #fff; border: 0; border-radius: var(--r); padding: 12px 20px; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .15s;
}
body.elek .button:hover, body.elek button.button:hover, body.elek a.button:hover { background: var(--accent); color: #fff; }
body.elek .single_add_to_cart_button, body.elek .checkout-button, body.elek #place_order, body.elek .elek-btn-primary { background: var(--accent) !important; color: #fff !important; }
body.elek .single_add_to_cart_button:hover, body.elek .checkout-button:hover, body.elek #place_order:hover, body.elek .elek-btn-primary:hover { background: var(--accent-d) !important; }
body.elek .elek-btn-ghost { background: transparent !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink); }
body.elek .elek-btn-ghost:hover { background: var(--ink) !important; color: #fff !important; }
body.elek input[type=text], body.elek input[type=email], body.elek input[type=tel], body.elek input[type=number], body.elek input[type=password], body.elek input[type=search], body.elek textarea, body.elek select {
	border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px 12px; background: #fff; color: var(--ink); font-size: 16px;
}
body.elek input:focus, body.elek textarea:focus, body.elek select:focus { border-color: var(--ink); outline: none; }

/* ---------- Topbar + hlavička ---------- */
.elek-topbar { background: var(--ink); color: #e9ebef; font-size: 13px; }
.elek-topbar .elek-wrap { display: flex; gap: 20px; align-items: center; min-height: 34px; flex-wrap: wrap; }
.elek-topbar a { color: #e9ebef !important; text-decoration: none; }
.elek-topbar a:hover { color: #fff !important; text-decoration: underline; }
.elek-topbar-r { margin-left: auto; display: flex; gap: 18px; }
@media (max-width: 767px) { .hide-sm { display: none !important; } .elek-topbar .elek-wrap { justify-content: center; } }

.elek-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.elek-header-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo actions" "search search search"; align-items: center; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
.elek-burger { grid-area: burger; background: none !important; border: 0; padding: 6px !important; color: var(--ink) !important; display: inline-flex; }
.elek-logo { grid-area: logo; font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1; text-decoration: none !important; color: var(--ink) !important; letter-spacing: -0.03em; display: inline-flex; align-items: baseline; }
.elek-logo-dot { display: inline-block; width: 9px; height: 9px; background: var(--accent); border-radius: 2px; margin-left: 3px; }
.elek-logo.is-inverse { color: #fff !important; }
.elek-search { grid-area: search; display: flex; position: relative; }
.elek-search input[type=search] { width: 100%; padding: 11px 48px 11px 14px !important; border-radius: 999px !important; background: var(--soft) !important; border-color: var(--soft) !important; }
.elek-search input[type=search]:focus { background: #fff !important; border-color: var(--ink) !important; }
.elek-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; border: 0; border-radius: 999px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; }
.elek-search button .elek-i { width: 18px; height: 18px; }
.elek-actions { grid-area: actions; display: flex; gap: 4px; }
.elek-act { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 8px; text-decoration: none !important; font-size: 12px; position: relative; color: var(--ink) !important; }
.elek-act:hover { color: var(--accent) !important; }
.elek-act .lbl { display: none; }
.elek-cart-count { position: absolute; top: -2px; right: 0; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.elek-cart-count[data-count="0"] { background: var(--line); color: var(--muted); }
@media (min-width: 1024px) {
	.elek-header-row { grid-template-columns: auto minmax(320px, 640px) auto; grid-template-areas: "logo search actions"; gap: 24px; padding-top: 14px; padding-bottom: 14px; justify-content: space-between; }
	.elek-burger { display: none; }
	.elek-act .lbl { display: block; }
	.elek-logo { font-size: 30px; }
}

/* Navigácia + mega menu */
.elek-nav { display: none; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .elek-nav { display: block; } }
.elek-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.elek-nav-top { display: block; padding: 12px 14px; font-weight: 600; font-size: 15px; text-decoration: none !important; border-bottom: 2px solid transparent; }
.elek-nav-item:first-child .elek-nav-top { padding-left: 0; }
.elek-nav-item:hover > .elek-nav-top, .elek-nav-item:focus-within > .elek-nav-top { border-bottom-color: var(--accent); color: var(--ink); }
.elek-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(11,13,18,.12); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .14s, transform .14s, visibility 0s .14s; }
.elek-nav-item.has-mega:hover > .elek-mega, .elek-nav-item.has-mega:focus-within > .elek-mega, .elek-nav-item.is-open > .elek-mega { visibility: visible; opacity: 1; transform: none; transition-delay: .08s, .08s, 0s; }
.elek-mega-in { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding-top: 24px; padding-bottom: 28px; }
.elek-mega-h { font-family: var(--head); font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.elek-mega-col ul { list-style: none; margin: 0 0 14px; padding: 0; }
.elek-mega-col li a { display: flex; justify-content: space-between; padding: 7px 0; text-decoration: none; border-bottom: 1px solid var(--soft); }
.elek-mega-col li small { color: var(--muted); }
.elek-mega-all { font-weight: 600; font-size: 14px; }
.elek-mega-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.elek-mega-prod { display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; padding: 12px; border-radius: var(--r); background: var(--soft); }
.elek-mega-prod:hover { background: #eceef2; }
.elek-mega-prod img { aspect-ratio: 1; object-fit: contain; width: 100%; height: auto; mix-blend-mode: multiply; }
.elek-mega-prod span { font-size: 14px; line-height: 1.3; }
.elek-mega-prod strong { font-size: 15px; }

/* Mobilný panel */
.elek-drawer { position: fixed; inset: 0; z-index: 100; background: #fff; overflow-y: auto; padding: 0 0 32px; }
.elek-drawer[hidden] { display: none; }
.elek-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.elek-drawer-close { background: none !important; color: var(--ink) !important; padding: 6px !important; }
.elek-drawer-list, .elek-drawer-info { list-style: none; margin: 0; padding: 0 16px; }
.elek-drawer-list > li { border-bottom: 1px solid var(--line); }
.elek-drawer-list > li > a, .elek-drawer-list summary { display: flex; justify-content: space-between; padding: 15px 0; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; list-style: none; }
.elek-drawer-list summary::-webkit-details-marker { display: none; }
.elek-drawer-list summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.elek-drawer-list details[open] summary::after { content: "–"; }
.elek-drawer-list details ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; }
.elek-drawer-list details a { display: block; padding: 9px 0; text-decoration: none; }
.elek-drawer-info { margin-top: 18px; }
.elek-drawer-info a { display: block; padding: 8px 0; color: var(--muted) !important; }
body.elek-drawer-open { overflow: hidden; }

/* ---------- Domov ---------- */
.elek-hero { background: var(--soft); background-image: linear-gradient(rgba(11,13,18,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,13,18,.035) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 1px solid var(--line); }
.elek-hero-grid { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 32px; align-items: center; }
@media (min-width: 900px) { .elek-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; } }
.elek-eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.elek-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin: 0 0 14px; max-width: 14ch; }
.elek-hero-lead { color: var(--ink-2); font-size: 17px; max-width: 52ch; margin: 0 0 22px; }
.elek-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.elek-hero-product { display: block; position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; text-decoration: none !important; }
.elek-hero-product img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; max-height: 440px; }
.elek-hero-product-meta { display: flex; justify-content: space-between; align-items: end; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.elek-hero-product-meta .n { font-weight: 600; }
.elek-hero-product-meta .p { font-family: var(--head); font-size: 22px; font-weight: 700; white-space: nowrap; }
.elek-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.elek-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; }
.elek-chips a:hover { border-color: var(--ink); color: var(--ink); }
.elek-chips small { color: var(--muted); }

.elek-section { padding: 36px 0 8px; }
@media (min-width: 768px) { .elek-section { padding: 52px 0 12px; } }
.elek-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 18px; }
.elek-section-head h2 { margin: 0; }
.elek-section-head p { margin: 0; color: var(--muted); flex: 1 1 260px; }
.elek-more { margin-left: auto; font-weight: 600; font-size: 15px; white-space: nowrap; }
.elek-cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .elek-cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .elek-cat-tiles { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.elek-cat-tiles a { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; height: 100%; background: var(--soft); border-radius: var(--r-lg); padding: 14px; text-decoration: none !important; transition: background .15s; }
.elek-cat-tiles a:hover { background: #eaecf0; }
.elek-cat-tiles img { aspect-ratio: 4/3; object-fit: contain; width: 100%; height: auto; mix-blend-mode: multiply; }
.elek-cat-tiles span { font-family: var(--head); font-weight: 700; font-size: 17px; }
.elek-rail ul.products { margin: 0 !important; }
.elek-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .elek-brands { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .elek-brands { grid-template-columns: repeat(6, 1fr); } }
.elek-brands a { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none !important; }
.elek-brands a:hover { border-color: var(--ink); }
.elek-brands span { font-family: var(--head); font-weight: 700; font-size: 17px; }
.elek-brands small { color: var(--muted); font-size: 13px; }
.elek-usp { margin-top: 48px; border-top: 1px solid var(--line); background: var(--soft); }
.elek-usp ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .elek-usp ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .elek-usp ul { grid-template-columns: repeat(4, 1fr); } }
.elek-usp li { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid var(--accent); }
.elek-usp span { color: var(--muted); font-size: 14px; }

/* ---------- Produktové karty ---------- */
body.elek ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px !important; padding: 0; }
body.elek ul.products::before, body.elek ul.products::after { display: none !important; }
@media (min-width: 768px) { body.elek ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { body.elek ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.elek ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 12px !important; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; text-align: left !important; transition: border-color .15s, box-shadow .15s; }
body.elek ul.products li.product:hover { border-color: #c9cdd5; box-shadow: var(--shadow); }
body.elek ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; display: flex; flex-direction: column; flex: 1; color: var(--ink); }
body.elek ul.products li.product img { aspect-ratio: 1; object-fit: contain; background: #fff; margin: 0 0 10px !important; border-radius: var(--r); width: 100%; height: auto; }
body.elek ul.products li.product .woocommerce-loop-product__title { font-family: var(--body) !important; font-size: 15px !important; font-weight: 600; line-height: 1.3; padding: 0 !important; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.elek ul.products li.product .price { order: 10; font-family: var(--head); font-size: 20px !important; font-weight: 700; color: var(--ink) !important; margin: auto 0 4px !important; padding-top: 6px; }
body.elek ul.products li.product .price del { display: none; }
body.elek ul.products li.product .button { margin-top: 8px !important; width: 100%; text-align: center; padding: 10px 12px; font-size: 14px; }
body.elek ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; margin-top: 6px; }
.elek-card-params { list-style: none; margin: 0 0 6px; padding: 0; font-size: 13px; color: var(--muted); }
.elek-card-params li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elek-card-labels { display: flex; gap: 6px; align-items: center; margin: 2px 0 6px; }
.elek-card-stock { order: 11; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.elek-card-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.elek-card-stock.in-stock { color: var(--ok); }
.elek-card-stock.available-on-backorder { color: var(--wait); }
.elek-card-stock.preorder { color: var(--pre); }
.elek-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
ul.products .elek-badges { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; }
.elek-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; line-height: 1.2; letter-spacing: .01em; }
.elek-badge.is-preorder { background: var(--pre); color: #fff; }
.elek-badge.is-new { background: var(--ink); color: #fff; }
.elek-badge.is-oversize { background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); }
body.elek .onsale { display: none !important; }

/* ---------- Energetický štítok ---------- */
.elek-energy { display: flex; align-items: center; gap: 12px; }
.elek-energy-link { text-decoration: none !important; display: inline-flex; }
.elek-energy-arrow { --ec: #00a651; display: inline-flex; align-items: stretch; height: 30px; font-family: Arial, sans-serif; font-weight: 700; color: #fff; }
.elek-energy-scale { background: #fff; color: var(--ink); font-size: 8px; line-height: 13px; border: 1px solid var(--ink); border-right: 0; padding: 1px 3px; display: flex; align-items: center; text-align: center; }
.elek-energy-letter { position: relative; background: var(--ec); padding: 0 6px 0 9px; font-size: 22px; line-height: 30px; min-width: 32px; -webkit-text-stroke: .6px #000; }
.elek-energy-letter::after { content: ""; position: absolute; right: -15px; top: 0; border-style: solid; border-width: 15px 0 15px 15px; border-color: transparent transparent transparent var(--ec); }
.elek-energy-arrow.is-dark .elek-energy-letter { color: #fff; }
.elek-energy.is-compact .elek-energy-arrow { height: 22px; }
.elek-energy.is-compact .elek-energy-scale { font-size: 6px; line-height: 9px; padding: 1px 2px; }
.elek-energy.is-compact .elek-energy-letter { font-size: 16px; line-height: 22px; min-width: 24px; padding: 0 4px 0 6px; }
.elek-energy.is-compact .elek-energy-letter::after { right: -11px; border-width: 11px 0 11px 11px; }
.elek-energy-links { display: flex; flex-direction: column; gap: 2px; font-size: 14px; margin-left: 14px; }
.elek-energy-hdr { color: var(--muted); font-size: 13px; }

/* PEGI */
.elek-pegi { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 48px; border-radius: 4px; color: #fff; font-family: Arial, sans-serif; font-weight: 700; line-height: 1; flex: none; }
.elek-pegi-n { font-size: 20px; }
.elek-pegi-t { font-size: 8px; letter-spacing: .05em; margin-top: 4px; }
.elek-pegi-green { background: #5daa2d; }
.elek-pegi-orange { background: #f2a400; }
.elek-pegi-red { background: #d3001e; }
.elek-card-labels .elek-pegi { width: 28px; height: 34px; }
.elek-card-labels .elek-pegi-n { font-size: 14px; }
.elek-card-labels .elek-pegi-t { font-size: 6px; margin-top: 2px; }
.elek-pegi-box { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.elek-pegi-box > div { display: flex; flex-direction: column; }
.elek-pegi-desc { color: var(--muted); }

/* ---------- Archív ---------- */
.elek-archive { padding-top: 16px; padding-bottom: 48px; }
body.elek .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
body.elek .woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }
body.elek .woocommerce-breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.bc-sep { margin: 0 6px; color: #b5bac4; }
.elek-archive-head { margin-bottom: 16px; }
.elek-archive-head h1 { margin: 0 0 8px; }
.elek-archive-head .term-description { color: var(--ink-2); max-width: 75ch; }
.elek-archive-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .elek-archive-grid { grid-template-columns: 260px 1fr; gap: 32px; align-items: start; } .elek-archive-grid.no-filters { grid-template-columns: 1fr; } .elek-archive-side { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; } }
.elek-filter-toggle > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; cursor: pointer; }
.elek-filter-toggle > summary::-webkit-details-marker { display: none; }
.elek-filter-toggle > summary .n { background: var(--accent); color: #fff; border-radius: 9px; font-size: 12px; min-width: 18px; text-align: center; }
@media (min-width: 1024px) { .elek-filter-toggle > summary { display: none; } .elek-filter-toggle:not([open]) > .elek-filters { display: block; } }
.elek-filters { margin-top: 12px; }
@media (min-width: 1024px) { .elek-filters { margin-top: 0; } }
.elek-f { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 12px 0; }
.elek-f legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.elek-f label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; clear: both; }
.elek-f label small { color: var(--muted); }
.elek-f input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.elek-f-range { display: flex; align-items: center; gap: 8px; clear: both; }
.elek-f-range input { width: 100%; padding: 8px 10px !important; }
.elek-f-actions { display: flex; gap: 12px; align-items: center; padding-top: 14px; }
.elek-f-reset { font-size: 14px; color: var(--muted) !important; }
.elek-archive-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
body.elek .woocommerce-result-count { margin: 0; color: var(--muted); font-size: 14px; float: none; }
body.elek .woocommerce-ordering { margin: 0; float: none; }
body.elek .woocommerce-ordering select { padding: 8px 10px; }
.elek-empty { padding: 32px; background: var(--soft); border-radius: var(--r-lg); text-align: center; }
body.elek nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
body.elek nav.woocommerce-pagination ul li { border: 0; }
body.elek nav.woocommerce-pagination ul li a, body.elek nav.woocommerce-pagination ul li span { border-radius: var(--r); border: 1px solid var(--line); min-width: 40px; padding: 10px; }
body.elek nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }

/* ---------- Detail produktu ---------- */
body.elek.single-product .site-main { max-width: var(--wrap); margin: 0 auto; padding: 16px 16px 48px; }
@media (min-width: 768px) { body.elek.single-product .site-main { padding: 20px 24px 64px; } }
body.elek div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { body.elek div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
body.elek div.product .woocommerce-product-gallery, body.elek div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
body.elek div.product .woocommerce-product-gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; }
body.elek div.product .woocommerce-product-gallery img { aspect-ratio: 1; object-fit: contain; }
body.elek div.product .flex-control-thumbs { display: flex; gap: 8px; margin-top: 10px !important; }
body.elek div.product .flex-control-thumbs li { width: 72px !important; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }

body.elek div.product .product_title { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); margin: 0 0 6px; }
.elek-subline { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 14px; }
.elek-subline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.elek-subline .sep { color: #b5bac4; }
body.elek div.product p.price, body.elek div.product span.price { font-family: var(--head); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem) !important; font-weight: 700; color: var(--ink) !important; margin: 0 0 4px !important; line-height: 1.1; }
body.elek div.product p.price::after { content: "vrátane DPH"; display: block; font-family: var(--body); font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; }
body.elek .stock { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; margin: 10px 0 !important; }
body.elek .stock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
body.elek .stock.in-stock { color: var(--ok) !important; }
body.elek .stock.available-on-backorder { color: var(--wait) !important; }
body.elek .stock.preorder { color: var(--pre) !important; }
body.elek .stock.out-of-stock { color: var(--muted) !important; }
.elek-labels { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 12px 0; }
.elek-labels:empty { display: none; }
.elek-keyparams { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 6px; }
.elek-keyparams li { position: relative; padding-left: 18px; font-size: 15px; }
.elek-keyparams li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; }
.elek-specs-link { font-size: 14px; font-weight: 600; display: inline-block; margin-bottom: 14px; }
body.elek div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 16px 0 12px !important; }
body.elek div.product form.cart.variations_form { display: block; }
body.elek div.product form.cart .quantity input { height: 100%; min-height: 50px; width: 70px; text-align: center; }
body.elek div.product .single_add_to_cart_button { flex: 1 1 200px; min-height: 50px; font-size: 17px !important; }
body.elek div.product table.variations { margin-bottom: 8px; border: 0; }
body.elek div.product table.variations th, body.elek div.product table.variations td { display: block; padding: 0 0 6px; border: 0; background: none; text-align: left; }
body.elek div.product table.variations label { font-weight: 700; }
body.elek div.product table.variations select { min-width: 220px; width: 100%; max-width: 360px; }
body.elek .reset_variations { font-size: 13px; margin-left: 8px; }
body.elek .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
body.elek .woocommerce-variation-price .price { font-size: 2rem !important; }
.elek-var-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.elek-var-swatches button { background: #fff !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important; border-radius: var(--r) !important; padding: 9px 14px !important; font-size: 14px !important; font-weight: 600; }
.elek-var-swatches button[aria-pressed=true] { border-color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--ink); }
.elek-var-swatches button:disabled { opacity: .4; text-decoration: line-through; }
.elek-has-swatches select { position: absolute !important; opacity: 0; pointer-events: none; height: 1px; width: 1px !important; min-width: 0 !important; }
.elek-trust { list-style: none; margin: 14px 0; padding: 14px; background: var(--soft); border-radius: var(--r); display: grid; gap: 6px; font-size: 14px; }
.elek-trust li { padding-left: 22px; position: relative; }
.elek-trust li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.elek-compare-btn { background: none !important; color: var(--ink) !important; border: 0; padding: 4px 0 !important; font-weight: 600; font-size: 14px !important; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; }
.elek-compare-btn[aria-pressed=true] { color: var(--accent) !important; }
.elek-compare-bar { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 10px 8px 18px; display: flex; gap: 12px; align-items: center; font-size: 14px; box-shadow: var(--shadow); }
.elek-compare-bar[hidden] { display: none; }
.elek-compare-bar a { color: #fff !important; font-weight: 700; }
.elek-compare-bar button { background: #fff !important; color: var(--ink) !important; border-radius: 999px !important; padding: 6px 12px !important; font-size: 13px !important; }
.elek-compare-wrap { overflow-x: auto; }
.elek-compare-table { border-collapse: collapse; min-width: 640px; width: 100%; }
.elek-compare-table th, .elek-compare-table td { border: 1px solid var(--line); padding: 10px; vertical-align: top; text-align: left; font-size: 14px; }
.elek-compare-table thead th { background: #fff; }
.elek-compare-table thead img { max-width: 140px; aspect-ratio: 1; object-fit: contain; display: block; }
.elek-compare-table thead span { display: block; font-weight: 600; margin: 6px 0; }
.elek-compare-table tbody th { background: var(--soft); width: 180px; }
.elek-compare-remove { background: none !important; color: var(--muted) !important; padding: 0 !important; font-size: 13px !important; text-decoration: underline; }

/* Záložky */
body.elek div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 24px; }
body.elek div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 18px !important; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
body.elek div.product .woocommerce-tabs ul.tabs::before, body.elek div.product .woocommerce-tabs ul.tabs li::before, body.elek div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.elek div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; }
body.elek div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px !important; font-weight: 600; color: var(--muted) !important; border-bottom: 2px solid transparent; white-space: nowrap; display: block; }
body.elek div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; border-bottom-color: var(--accent); }
body.elek div.product .woocommerce-tabs .panel { max-width: 860px; }
body.elek div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
body.elek table.shop_attributes { border: 0; border-top: 1px solid var(--line); }
body.elek table.shop_attributes th, body.elek table.shop_attributes td { border-bottom: 1px solid var(--line); padding: 10px 12px !important; font-style: normal; font-size: 15px; background: none !important; }
body.elek table.shop_attributes th { width: 38%; font-weight: 600; color: var(--ink-2); }
body.elek table.shop_attributes td p { margin: 0; padding: 0; }
body.elek .related, body.elek .upsells { grid-column: 1 / -1; }
body.elek .related > h2, body.elek .upsells > h2 { margin: 24px 0 14px; }

/* ---------- Košík, pokladňa, účet ---------- */
body.elek .woocommerce-info, body.elek .woocommerce-message, body.elek .woocommerce-error { border-radius: var(--r); border-top: 0; background: var(--soft); color: var(--ink); padding: 14px 18px 14px 48px; }
body.elek .woocommerce-message { border-left: 4px solid var(--ok); }
body.elek .woocommerce-info { border-left: 4px solid var(--ink); }
body.elek .woocommerce-error { border-left: 4px solid var(--accent); }
body.elek table.shop_table { border-radius: var(--r-lg); border-color: var(--line); }
body.elek table.shop_table th, body.elek table.shop_table td { border-color: var(--line); padding: 12px; }
body.elek .cart_totals h2, body.elek #order_review_heading, body.elek .woocommerce-billing-fields h3 { font-size: 1.3rem; }
.elek-free-left { padding: 10px 14px; background: var(--soft); border-radius: var(--r); font-size: 14px; }
.elek-free-left.is-ok { color: var(--ok); font-weight: 600; }
.elek-takeback { padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r); margin: 0 0 14px; background: #fff; }
.elek-takeback label { font-weight: 500; display: flex !important; gap: 8px; align-items: flex-start; }
.elek-takeback input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.elek-takeback-more { margin: 6px 0 0 26px; font-size: 13px; }
body.elek #payment { background: var(--soft) !important; border-radius: var(--r-lg) !important; }
body.elek #payment div.payment_box { background: #fff !important; }
body.elek #payment div.payment_box::before { border-bottom-color: #fff !important; }
body.elek ul#shipping_method li { margin-bottom: 8px !important; }
body.elek ul#shipping_method label { font-weight: 500; }
body.elek .woocommerce-checkout .col2-set, body.elek form.checkout .col2-set { width: 100%; }
@media (min-width: 1024px) {
	body.elek form.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
	body.elek form.checkout > .col2-set { grid-column: 1; grid-row: 1 / span 3; }
	body.elek form.checkout > #order_review_heading, body.elek form.checkout > #order_review { grid-column: 2; }
	body.elek form.checkout .col2-set .col-1, body.elek form.checkout .col2-set .col-2 { width: 100%; float: none; }
}
body.elek .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
body.elek .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
body.elek .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: #fff; }
.elek-contact { max-width: 620px; }
.elek-contact label { display: block; font-weight: 600; margin-bottom: 4px; }
.elek-contact input, .elek-contact textarea { width: 100%; }

/* Obsahové stránky */
body.elek .entry-content h2 { margin-top: 1.6em; }
body.elek .entry-content table { border-collapse: collapse; width: 100%; }
body.elek .entry-content th, body.elek .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
body.elek .entry-content details { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin-bottom: 8px; }
body.elek .entry-content details summary { font-weight: 600; cursor: pointer; }
.elek-draft-note { border-left: 4px solid var(--wait); background: #fff7e6; padding: 12px 16px; border-radius: var(--r); }

/* ---------- Pätička ---------- */
.elek-footer { background: var(--ink); color: #c9ccd3; margin-top: 56px; font-size: 14px; }
.elek-footer a { color: #e9ebef !important; text-decoration: none; }
.elek-footer a:hover { color: #fff !important; text-decoration: underline; }
.elek-footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .elek-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .elek-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.elek-footer-brand p { max-width: 36ch; }
.elek-footer-h { font-family: var(--head); color: #fff; font-weight: 700; font-size: 16px; margin: 0 0 10px; }
.elek-footer ul { list-style: none; margin: 0; padding: 0; }
.elek-footer li { padding: 4px 0; }
.elek-footer-social { display: flex; gap: 14px; text-transform: capitalize; }
.elek-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid #262b36; color: #9298a5; font-size: 13px; }
body.elek .site-footer { background: none; }
body.elek .site-info { display: none; }

/* Complianz lišta – jemné zladenie */
body.elek .cmplz-cookiebanner { font-family: var(--body) !important; border-radius: var(--r-lg) !important; }
body.elek .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--ink) !important; border-color: var(--ink) !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Opravy layoutu GP: plná šírka obsahu, galéria nezaťahuje výšku */
body.elek .content-area, body.elek #primary { width: 100% !important; float: none !important; }
body.elek #right-sidebar, body.elek #left-sidebar { display: none !important; }
body.elek div.product .woocommerce-product-gallery, body.elek div.product .summary { align-self: start; }
body.elek.woocommerce-cart .site-main, body.elek.woocommerce-checkout .site-main, body.elek.woocommerce-account .site-main, body.elek.woocommerce-order-received .site-main { max-width: var(--wrap); margin: 0 auto; padding: 24px 16px 56px; }
@media (min-width: 768px) { body.elek.woocommerce-cart .site-main, body.elek.woocommerce-checkout .site-main, body.elek.woocommerce-account .site-main { padding: 28px 24px 64px; } }
body.elek .woocommerce-notices-wrapper:focus, body.elek .woocommerce-NoticeGroup:focus { outline: none; }
.elek-takeback .optional { display: none; }
.elek-cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 40px rgba(11,13,18,.18); padding: 14px 16px; display: flex; gap: 14px; align-items: center; font-size: 14px; }
.elek-cookie[hidden] { display: none; }
.elek-cookie p { margin: 0; }
.elek-cookie .button { flex: none; }
@media (min-width: 768px) { .elek-cookie { left: 24px; bottom: 24px; right: auto; } }
