/* ===== TEKY — tokens ===== */
:root {
    --paper: #f7f7f4;
    --card: #ffffff;
    --ink: #141414;
    --muted: #6e6e68;
    --line: #e4e3dd;
    --ink-soft: #2a2a28;
    --sale: #b23b2e;
    --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    --font-body: ui-sans-serif, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    /* Ceny: Space Mono (technický monospace) — subset jen na znaky cen. Space Grotesk "1" byla zamítnutá. */
    --font-price: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --wrap: 1320px;
    color-scheme: light;
    --gutter: clamp(20px, 5vw, 64px);
    --radius: 7px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --placeholder: #ecebe4;
    --skel: #e7e3d9;
}

/* Přístupnostní text jen pro čtečky (WP/WC standard) — vizuálně skrytý.
   Bez tohoto pravidla leakoval WC popisek „Tento produkt má více variant…" apod. do layoutu. */
.screen-reader-text {
    border: 0 !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px !important; width: 1px !important; margin: -1px !important; padding: 0 !important;
    overflow: hidden !important; position: absolute !important; white-space: nowrap !important;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background: var(--card); clip: auto; clip-path: none; height: auto !important; width: auto !important;
    padding: 12px 18px !important; position: fixed; top: 8px; left: 8px; z-index: 100001; border-radius: 8px;
}

/* Tmavý režim — přehození palety (JS nastaví data-theme; "auto" sleduje systém). */
:root[data-theme="dark"] {
    --paper: #14130f;
    --card: #1e1c18;
    --ink: #f3f1ea;
    --muted: #a29f95;
    --line: #34322b;
    --ink-soft: #d7d4cb;
    --sale: #e2624f;
    --placeholder: #2a2823;
    --skel: #34322b;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.02; letter-spacing: -.02em; margin: 0; }

.teky-container { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted);
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ===== announcement bar (globální, nad hlavičkou na všech stránkách) ===== */
.announce {
    background: var(--ink); color: var(--paper);
    font-family: var(--font-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    text-align: center; padding: 9px 16px;
}
.announce a { border-bottom: 1px solid color-mix(in srgb, var(--paper) 50%, transparent); }

/* ===== header ===== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: 68px; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.wordmark {
    justify-self: center;
    font-family: var(--font-display); font-weight: 700; font-size: 24px;
    letter-spacing: .12em; text-transform: uppercase; display: inline-flex; color: var(--ink);
}
.wordmark svg { height: 30px; width: auto; display: block; }

/* menu trigger (Bugatti-style: hamburger + label) */
.menu-trigger {
    justify-self: start; display: inline-flex; align-items: center; gap: 12px;
    background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--ink);
    font-family: var(--font-display); font-size: 13px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
}
.menu-trigger__icon { display: inline-flex; flex-direction: column; gap: 5px; width: 24px; }
.menu-trigger__icon i { display: block; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-trigger:hover .menu-trigger__icon i:nth-child(2) { transform: scaleX(.6); transform-origin: left; }

.header-actions { justify-self: end; display: inline-flex; align-items: center; gap: 20px; }
.header-account, .header-cart { color: var(--ink); display: inline-flex; align-items: center; }
.header-account svg, .header-cart svg { width: 21px; height: 21px; display: block; }
.header-account:hover, .header-cart:hover { opacity: .6; }
.header-account { display: inline-flex; align-items: center; gap: 7px; }
.header-account__team {
    font-family: var(--font-display); font-size: 10px; font-weight: 700;
    letter-spacing: .14em; opacity: .85; color: currentColor;
}
.header-cart { position: relative; gap: 7px; }
.teky-cart-count {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--ink); color: var(--paper);
    font-family: var(--font-display); font-size: 11px; font-weight: 500;
    display: inline-flex; align-items: center; justify-content: center;
}
.teky-cart-count[data-count="0"] { display: none; }

/* ===== header logo entrance: letters fade in, then the arc draws ===== */
/* svg children: defs(1), T(2), E(3,4), K(5,6), Y(7), arc(8) */
.site-header .wordmark svg > path,
.site-header .wordmark svg > polygon { opacity: 0; animation: tkLetterIn .45s var(--ease) both; }
.site-header .wordmark svg > *:nth-child(2) { animation-delay: .12s; }
.site-header .wordmark svg > *:nth-child(3),
.site-header .wordmark svg > *:nth-child(4) { animation-delay: .19s; }
.site-header .wordmark svg > *:nth-child(5),
.site-header .wordmark svg > *:nth-child(6) { animation-delay: .26s; }
.site-header .wordmark svg > *:nth-child(7) {
    transform-box: fill-box; transform-origin: center;
    animation: tkLetterIn .45s var(--ease) .33s both, tkWink .55s var(--ease) 1.6s both;
}
@keyframes tkWink {
    0%, 50% { transform: scaleY(1); }
    68%     { transform: scaleY(.08); }
    86%     { transform: scaleY(1); }
}
/* mrkni Y při najetí myší na logo — rychlé, symetrické, vrátí se do normálu.
   opacity:1 je nutné: hover přepíše `animation`, tím zmizí load tkLetterIn (fill both),
   a opacity by spadla zpět na základní 0 → Y by zůstalo neviditelné. */
.site-header .wordmark:hover svg > *:nth-child(7) { opacity: 1; animation: tkBlink .3s var(--ease); }
@keyframes tkBlink {
    0%, 100% { transform: scaleY(1); }
    50%      { transform: scaleY(.1); }
}
@media (prefers-reduced-motion: reduce) {
    .site-header .wordmark:hover svg > *:nth-child(7) { animation: none; }
}
.site-header .wordmark svg > *:nth-child(8) {
    opacity: 1; transform-box: fill-box; transform-origin: center top;
    clip-path: inset(0 100% 0 0); transform: scaleY(.72);
    animation: tkArcDraw .72s var(--ease) .72s both;
}
@keyframes tkLetterIn { to { opacity: 1; } }
@keyframes tkArcDraw {
    from { clip-path: inset(0 100% 0 0); transform: scaleY(.72); }
    70%  { transform: scaleY(1.06); }
    to   { clip-path: inset(0 0 0 0); transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
    .site-header .wordmark svg > * { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ===== full-screen cinematic menu overlay ===== */
.menu-overlay {
    position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--paper);
    overflow-y: auto; opacity: 0; transition: opacity .42s var(--ease);
}
.menu-overlay[hidden] { display: none; }
body.menu-open { overflow: hidden; }
body.menu-open .menu-overlay { opacity: 1; }
.menu-overlay__bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: 68px; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
    border-bottom: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
}
.menu-overlay__logo { justify-self: center; color: var(--paper); }
.menu-overlay__bar .header-cart { justify-self: end; color: var(--paper); }
.menu-close {
    justify-self: start; display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--paper);
    font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.menu-close svg { width: 22px; height: 22px; }
.menu-close:hover { opacity: .6; }

.menu-overlay__body {
    position: relative;
    max-width: var(--wrap); margin-inline: auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 64px;
    display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start;
    opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .08s, transform .5s var(--ease) .08s;
}
body.menu-open .menu-overlay__body { opacity: 1; transform: none; }

.menu-nav { display: grid; gap: clamp(28px, 4vw, 44px); }
.menu-group__label {
    font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
    color: color-mix(in srgb, var(--paper) 46%, transparent); margin-bottom: 14px;
}
.menu-nav ul { list-style: none; margin: 0; padding: 0; }
.menu-nav li + li { margin-top: 2px; }
.menu-nav a {
    font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
    font-size: clamp(21px, 2.4vw, 30px); letter-spacing: -.01em; line-height: 1.18;
    color: var(--paper); display: inline-block; padding: 3px 0; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.menu-nav a:hover { opacity: .55; transform: translateX(6px); }
.menu-nav__all {
    font-size: 13px !important; letter-spacing: .12em !important; font-weight: 500 !important;
    color: color-mix(in srgb, var(--paper) 55%, transparent) !important; margin-top: 8px;
}

.menu-featured { display: grid; gap: 12px; }
.menu-card {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius);
    background: color-mix(in srgb, var(--paper) 8%, var(--ink)); aspect-ratio: 16 / 7;
}
.menu-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.menu-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,11,.72), rgba(12,12,11,.05) 60%); }
.menu-card:hover .menu-card__img { transform: scale(1.05); }
.menu-card__label {
    position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff;
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.01em;
}

/* ===== mega-menu: podkategorie ve druhém sloupci ===== */
.menu-cat { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.menu-cat > a { flex: 0 0 auto; }
.menu-cat__toggle {
    margin-left: 12px; padding: 6px; background: none; border: 0; cursor: pointer;
    color: color-mix(in srgb, var(--paper) 60%, transparent); line-height: 0;
    transition: transform .25s var(--ease), color .2s var(--ease);
}
.menu-cat__toggle svg { width: 20px; height: 20px; }
.menu-cat__panel-label { display: none; }
.menu-cat__children { list-style: none; margin: 0; padding: 0; }
.menu-cat__children a {
    font-family: var(--font-display); font-weight: 500; text-transform: none;
    font-size: clamp(17px, 1.7vw, 22px); letter-spacing: 0;
    color: color-mix(in srgb, var(--paper) 82%, transparent);
}
.menu-cat__children a:hover { color: var(--paper); }

/* panel kolekce = klikací náhledová dlaždice (odkaz na kolekci) */
.menu-cat__panel--image { display: block; text-decoration: none; cursor: pointer; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--paper) 8%, var(--ink)); }
.menu-cat__panel--image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.menu-cat__panel--image:hover img { transform: scale(1.05); }
.menu-cat__panel--image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,11,.72), rgba(12,12,11,.05) 60%); }
.menu-cat__panel--image .menu-card__label { position: absolute; left: 22px; bottom: 18px; z-index: 1; }

/* Desktop S HOVER: panel se vysune do pravého sloupce, featured se skryje.
   Podmínka hover: hover → dotyková zařízení (iPad i na šířku) sem NEspadnou. */
@media (hover: hover) and (min-width: 901px) {
    .menu-cat__toggle { display: none; }
    /* panel musí být pozicovaný vůči __body (JS souřadnice), ne vůči .menu-cat */
    .menu-cat { position: static; }
    /* top/left/width nastavuje JS tak, aby panel ležel přesně přes kolekce-kachle */
    .menu-cat__panel {
        position: absolute; top: 0; left: 0; z-index: 2;
        opacity: 0; visibility: hidden; transform: translateX(10px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
        pointer-events: none;
    }
    .menu-cat.is-active .menu-cat__panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .menu-cat__panel-label {
        display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: .18em;
        text-transform: uppercase; color: color-mix(in srgb, var(--paper) 46%, transparent); margin-bottom: 18px;
    }
    .menu-cat__children li + li { margin-top: 8px; }
    .menu-overlay__body.has-panel .menu-featured { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
}

/* Mobil + DOTYKOVÉ tablety (iPad i na šířku): chevron rozbalí podkategorie inline.
   `hover: none` chytí iPad landscape (1024px), aby nespadl do desktop panelu. */
@media (hover: none), (max-width: 900px) {
    .menu-cat { position: relative; }
    .menu-cat__toggle { display: inline-flex; }
    /* panely zpět do toku (ne absolutní), jinak by se překrývaly přes text */
    .menu-cat__panel {
        position: static !important; flex-basis: 100%; overflow: hidden; max-height: 0;
        opacity: 1 !important; visibility: visible !important; transform: none !important;
        pointer-events: auto !important; transition: max-height .3s var(--ease);
    }
    .menu-cat.is-open .menu-cat__panel { max-height: 70vh; }
    .menu-cat.is-open .menu-cat__toggle { transform: rotate(90deg); color: var(--paper); }
    .menu-cat__panel-label { display: none; }
    .menu-cat__children { padding: 10px 0 6px 4px; }
    .menu-cat__children li + li { margin-top: 2px; }
    /* obrázkový panel kolekce nemá na dotyku toggle → ať nezabírá; skryjeme ho */
    .menu-cat--collection .menu-cat__panel--image { display: none; }
}

/* ===== full-bleed cinematic hero ===== */
.hero-full {
    position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end;
    overflow: hidden; background: var(--ink); margin-top: -1px;
}
/* height 114 % = rezerva, po které se obrázek při parallaxu posouvá (dřív to řešil scale z JS) */
.hero-full__img { position: absolute; inset: -7% 0; width: 100%; height: 114%; object-fit: cover; }
/* video leží nad posterem (ten drží LCP, než se video rozjede) a jemně se do něj prolne */
.hero-full__video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
    opacity: 0; transition: opacity .5s var(--ease);
}
.hero-full__video.is-ready { opacity: 1; }
/* dekorativní autoplay smyčka — nativní play overlay (Safari při úsporném režimu) nechceme */
.hero-full__video::-webkit-media-controls,
.hero-full__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
/* video se v čase mění → menu nahoře i text dole potřebují jistý podklad na každém záběru */
.hero-full--video .hero-full__scrim {
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(12,12,11,.38) 0%, rgba(12,12,11,.16) 22%, rgba(12,12,11,.06) 40%),
        linear-gradient(to top, rgba(12,12,11,.65) 0%, rgba(12,12,11,.32) 45%, rgba(12,12,11,.1) 100%);
}
@media (max-width: 768px) {
    .hero-full__video--desktop { display: none; }
}
/* uživatel s omezeným pohybem uvidí jen poster */
@media (prefers-reduced-motion: reduce) {
    .hero-full__video { display: none; }
}
.hero-full__scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, rgba(12,12,11,.42) 0%, rgba(12,12,11,0) 20%),
        linear-gradient(to top, rgba(12,12,11,.8) 0%, rgba(12,12,11,.3) 46%, rgba(12,12,11,.12) 100%);
}
.hero-full__content { position: relative; z-index: 2; color: #fff; width: 100%; padding-bottom: clamp(40px, 7vw, 96px); padding-top: 140px; }
.hero-full__eyebrow { color: rgba(255,255,255,.82); margin-bottom: 18px; }
.hero-full__title { font-size: clamp(40px, 7.4vw, 104px); font-weight: 700; letter-spacing: -.03em; line-height: .93; color: #fff; }
.hero-full__lead { margin-top: 22px; max-width: 44ch; color: rgba(255,255,255,.86); font-size: clamp(15px, 1.4vw, 18px); }
.hero-full__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== home: full-screen hero + transparent header + motion ===== */
body.teky-home .hero-full { min-height: calc(100svh - var(--announce-h, 38px)); margin-top: 0; }

/* header floats transparent over the hero, solidifies on scroll */
body.teky-home .site-header {
    position: absolute; top: var(--announce-h, 38px); left: 0; right: 0; z-index: 60;
    background: transparent; border-bottom-color: transparent; backdrop-filter: none;
    color: #fff;
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
body.teky-home .site-header .menu-trigger,
body.teky-home .site-header .header-account,
body.teky-home .site-header .header-cart,
body.teky-home .site-header .wordmark { color: #fff; }
body.teky-home .site-header .teky-cart-count { background: #fff; color: #141414; }
body.teky-home .site-header.is-scrolled {
    position: fixed; top: 0;
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    backdrop-filter: saturate(1.2) blur(10px); border-bottom-color: var(--line); color: var(--ink);
}
body.teky-home .site-header.is-scrolled .menu-trigger,
body.teky-home .site-header.is-scrolled .header-account,
body.teky-home .site-header.is-scrolled .header-cart,
body.teky-home .site-header.is-scrolled .wordmark { color: var(--ink); }

/* load animations (only when JS is present, so no-JS stays visible) */
/* Rezervu pro parallax dělá rozměr, ne transform: scale přes .js třídu se aplikoval až po
   načtení JS, takže obrázek viditelně poskočil ve velikosti. Takhle platí od prvního snímku. */
.js .hero-full__img { will-change: transform; }
.js .hero-full__content > * { opacity: 0; transform: translateY(26px); animation: tkHeroUp .9s var(--ease) forwards; }
.js .hero-full__eyebrow { animation-delay: .2s; }
.js .hero-full__title   { animation-delay: .34s; }
.js .hero-full__lead    { animation-delay: .5s; }
.js .hero-full__cta     { animation-delay: .64s; }
@keyframes tkHeroUp { to { opacity: 1; transform: none; } }

/* scroll reveal (class added by JS; absent without JS = always visible) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .js .hero-full__content > *, .js .hero-full__img {
        opacity: 1 !important; transform: none !important; animation: none !important;
    }
}

/* ===== hero (legacy split) ===== */
.hero { padding: clamp(48px, 9vw, 128px) 0 clamp(36px, 6vw, 80px); }
.hero--split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.hero__media img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
    background: var(--placeholder);
}
@media (max-width: 900px) {
    .hero--split { grid-template-columns: 1fr; }
    .hero__media { order: -1; }
    .hero__media img { aspect-ratio: 16 / 10; }
}
.hero__eyebrow { margin-bottom: 20px; }
.hero__title {
    font-size: clamp(44px, 9vw, 116px); font-weight: 700; letter-spacing: -.03em; line-height: .94;
    max-width: 15ch;
}
.hero__lead { margin-top: 22px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); }
.hero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-size: 13px; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 14px 26px; border-radius: var(--radius); border: 1px solid var(--ink);
    background: var(--ink); color: var(--paper); cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
/* světlá tlačítka jsou vždy na tmavém hero → text pevně tmavý (nesmí flipovat v dark) */
.btn--light { background: #fff; color: #141414; border-color: #fff; }
.btn--light:hover { background: #e9e8e2; border-color: #e9e8e2; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: #141414; border-color: #fff; }

/* ===== 404 ===== */
.teky-404 { max-width: 720px; padding: clamp(44px, 9vh, 110px) 0 clamp(64px, 12vh, 140px); }
.teky-404__code { font-family: var(--font-display); font-size: clamp(72px, 15vw, 168px); font-weight: 700; line-height: .88; letter-spacing: -.04em; color: var(--ink); margin: 10px 0 20px; }
.teky-404__lead { font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 42ch; margin: 0 0 28px; }
.teky-404__search { display: flex; gap: 10px; max-width: 480px; margin: 0 0 22px; }
.teky-404__search input { flex: 1; min-width: 0; padding: 13px 16px; font-size: 15px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.teky-404__search input:focus { outline: none; border-color: var(--ink); }
.teky-404__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 32px; }
.teky-404__cols { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: baseline; }
.teky-404__cols-label { font-family: var(--font-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.teky-404__cols a { font-family: var(--font-display); font-size: 13.5px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s var(--ease); }
.teky-404__cols a:hover { border-color: var(--ink); }

/* ===== section heading ===== */
/* jen svislý padding — vodorovný necháváme na .teky-container (gutter).
   (Dřív zkratka "... 0" přebíjela padding-inline a obsah šel na mobilu k okraji.) */
.section { padding-block: clamp(40px, 7vw, 96px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section__title { font-size: clamp(26px, 4vw, 44px); font-weight: 600; }
.section__link { font-family: var(--font-display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* ===== collections (signature) ===== */
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 4px; }
.collection {
    position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ink);
    display: flex; align-items: flex-end;
}
.collection img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s var(--ease), opacity .5s var(--ease); opacity: .92;
}
.collection:hover img { transform: scale(1.05); opacity: 1; }
.collection__label {
    position: relative; z-index: 2; padding: 26px; width: 100%;
    color: #fff; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 70%);
}
.collection__name {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px);
    text-transform: uppercase; letter-spacing: .01em; color: #fff;
}
.collection__meta { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* ===== product grid ===== */
.woocommerce ul.products, ul.products, .teky-grid {
    list-style: none; margin: 0 !important; padding: 0;
    display: grid !important; grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 40px) clamp(14px, 2vw, 28px); float: none;
}
/* kill clearfix pseudo-elements — in a grid they become phantom cells */
.woocommerce ul.products::before, .woocommerce ul.products::after,
ul.products::before, ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product, ul.products li.product, .teky-card {
    position: relative; width: auto !important; float: none !important; margin: 0 !important; clear: none !important;
}
.woocommerce ul.products li.product a img, .teky-card img {
    width: 100% !important; height: auto !important;
    aspect-ratio: 1 / 1; object-fit: cover; display: block;
    background: var(--placeholder);
    border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
ul.products li.product a, .teky-card a { display: block; }
ul.products li.product:hover a img, .teky-card:hover img {
    transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(0,0,0,.4);
}

/* Skeleton „duch" místo bílého místa: dokud se obrázek nenačte, jemně pulzuje placeholder,
   po načtení se fotka plynule prolne. Mechanika přes opacity (GPU) + odlišný --skel tón. */
@keyframes teky-skel { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.teky-img--loading { animation: teky-skel 1.15s ease-in-out infinite; background-color: var(--skel) !important; }
.teky-img--in { animation: none; opacity: 1; transition: opacity .45s var(--ease); }
@media (prefers-reduced-motion: reduce) { .teky-img--loading { animation: none; } }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .teky-card__title {
    font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 14px 2px 2px; color: var(--ink);
}
.woocommerce ul.products li.product .price, .teky-card__price {
    font-family: var(--font-display); font-size: 14px; color: var(--muted); display: block; padding: 0 2px;
}
.woocommerce ul.products li.product .price ins { color: var(--ink); text-decoration: none; }
.woocommerce ul.products li.product .price del { color: var(--muted); opacity: .6; margin-right: 6px; }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart { display: none; }
.onsale, .woocommerce span.onsale {
    position: absolute; top: 10px; left: 10px; z-index: 3;
    background: var(--ink); color: var(--paper); min-height: 0; min-width: 0; margin: 0; padding: 4px 10px;
    font-family: var(--font-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px;
}
/* Novinka/Tip štítky vlevo nahoře; slevový štítek pak doprava, ať se nepřekrývají */
.teky-badges { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.teky-badge {
    font-family: var(--font-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px; line-height: 1;
}
.teky-badge--new { background: #1e7a46; color: #fff; }
.teky-badge--tip { background: var(--ink); color: var(--paper); }
.woocommerce ul.products li.product .onsale, ul.products li.product .onsale { left: auto; right: 10px; }

/* ===== single product ===== */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.woocommerce div.product .woocommerce-product-gallery { margin: 0; }
.woocommerce div.product .product_title { font-size: clamp(24px, 3vw, 38px); font-weight: 600; line-height: 1.08; margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
    font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 8px 0 20px;
}
.woocommerce div.product form.cart { margin-top: 22px; }
.woocommerce div.product form.cart .button, .woocommerce .single_add_to_cart_button {
    background: var(--ink); color: var(--paper); border-radius: var(--radius);
    font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; padding: 15px 30px;
}
.woocommerce .quantity input, .woocommerce table.variations select {
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 10px;
}
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .up-sells { grid-column: 1 / -1; margin-top: 20px; }
/* related/upsells přes celou šířku → 4 v řadě (na mobilu 2) */
.woocommerce div.product .related.products ul.products,
.woocommerce div.product .up-sells ul.products { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
    .woocommerce div.product .related.products ul.products,
    .woocommerce div.product .up-sells ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* ===== instagram feed (vlastní lehký modul) ===== */
.teky-ig { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.teky-ig__item {
    position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--placeholder);
}
.teky-ig__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.teky-ig__item:hover img { transform: scale(1.05); }
.teky-ig__ph { background: repeating-linear-gradient(45deg, var(--placeholder), var(--placeholder) 12px, #e6e4dc 12px, #e6e4dc 24px); }
.teky-ig__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .teky-ig { grid-template-columns: repeat(2, 1fr); } }

/* ===== blog ===== */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; }
.post-card__title { font-size: 22px; margin: 14px 0 6px; }
.entry { max-width: 720px; margin-inline: auto; }
.entry h1 { font-size: clamp(30px, 5vw, 56px); margin-bottom: 24px; }
.entry img { border-radius: var(--radius); margin: 24px 0; }

/* galerie v obsahu (blog/team) — import ze Shoptetu nese .plus-gallery-wrap s inline 200px
   a mrtvými odkazy; přebijeme na mřížku, klik řeší lightbox (lightbox.js). */
.entry-content .plus-gallery-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.entry-content .plus-gallery-item { height: auto !important; width: calc((100% - 2 * 10px) / 3) !important; }
.entry-content .plus-gallery-item a { display: block; }
.entry-content .plus-gallery-item img {
    width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
    margin: 0; border-radius: var(--radius); background: var(--placeholder);
}
@media (max-width: 640px) {
    .entry-content .plus-gallery-item { width: calc((100% - 10px) / 2) !important; }
}

/* ===== lightbox (produkt i obsah článků — JS jen tam, kde je potřeba) ===== */
/* overlay je vždy tmavý → ovládání napevno světlé (var(--paper) je v dark režimu tmavá) */
.teky-lightbox {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(12, 12, 11, .95); display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.teky-lightbox.is-open { opacity: 1; visibility: visible; }
body.teky-lightbox-open { overflow: hidden; }
.teky-lightbox__stage { margin: 0; display: flex; align-items: center; justify-content: center; }
.teky-lightbox__stage img {
    max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain;
    border-radius: 4px; display: block; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.teky-lightbox__close, .teky-lightbox__nav {
    position: absolute; background: none; border: 0; color: #f7f7f4; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: opacity .2s var(--ease);
    opacity: .8; line-height: 1;
}
.teky-lightbox__close:hover, .teky-lightbox__nav:hover { opacity: 1; }
.teky-lightbox__close { top: 20px; right: 24px; font-size: 40px; width: 44px; height: 44px; }
.teky-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 56px; width: 56px; height: 72px; }
.teky-lightbox__prev { left: 14px; }
.teky-lightbox__next { right: 14px; }
.teky-lightbox__count {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    color: rgba(247, 247, 244, .7);
    font-family: var(--font-display); font-size: 13px; letter-spacing: .1em;
}
.teky-lightbox--single .teky-lightbox__nav, .teky-lightbox--single .teky-lightbox__count { display: none; }
@media (max-width: 600px) {
    .teky-lightbox__nav { font-size: 40px; width: 40px; }
    .teky-lightbox__close { top: 12px; right: 14px; }
}

/* ===== footer ===== */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(60px, 10vw, 140px); padding: clamp(40px, 6vw, 80px) 0 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .wordmark svg { height: 40px; }
.footer-col h3 { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
/* odkazy chodí z WP menu jako <li> */
.footer-col__list { list-style: none; margin: 0; padding: 0; }
.footer-col__list li { margin: 0; }
.footer-col a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; flex-wrap: wrap; }

/* ===== přepínač barevného režimu ===== */
.theme-toggle {
    display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line);
    border-radius: 999px; background: var(--card);
}
.theme-toggle button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 26px; padding: 0; border: 0; border-radius: 999px;
    background: none; color: var(--muted); cursor: pointer; font-size: 13px; line-height: 1;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.theme-toggle button:hover { color: var(--ink); }
.theme-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.theme-toggle button svg { width: 15px; height: 15px; display: block; }

/* ===== responsive ===== */
@media (max-width: 900px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .woocommerce div.product { grid-template-columns: 1fr; }
    .collections { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .menu-overlay__body { grid-template-columns: 1fr; gap: 36px; }
    .menu-featured { order: -1; }
    .menu-card { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
    .menu-trigger__label { display: none; }
    .header-actions { gap: 16px; }
    ul.products, .teky-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== kontaktní formulář + kontakty ===== */
.teky-contact-info { list-style: none; margin: 20px 0 32px; padding: 0; display: grid; gap: 8px; }
.teky-contact-info a { border-bottom: 1px solid var(--ink); }
.teky-form { max-width: 560px; display: grid; gap: 16px; margin-top: 8px; }
.teky-form__field { display: grid; gap: 6px; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.teky-form__field span { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.teky-form input, .teky-form textarea {
    font-family: var(--font-body); font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink);
    background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%;
}
.teky-form input:focus, .teky-form textarea:focus { border-color: var(--ink); outline: none; }
.teky-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.teky-form__submit {
    justify-self: start; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); cursor: pointer;
    font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    border-radius: var(--radius); padding: 14px 30px; transition: transform .2s var(--ease);
}
.teky-form__submit:hover { transform: translateY(-2px); }
.teky-form-note { border-radius: 10px; padding: 14px 18px; font-size: 15px; margin-bottom: 20px; }
.teky-form-note--ok { background: #e4f1e8; color: #256b3e; }
.teky-form-note--err { background: #f6dcd7; color: #a5342a; }

/* footer credit (autor webu) — decentní, korunka kasparek.net + text */
.footer-credit { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .02em; }
.footer-credit a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color .2s var(--ease); }
.footer-credit a:hover { color: var(--ink); }
.footer-credit__mark {
    width: 14px; height: 14px; display: inline-block; background-color: currentColor;
    -webkit-mask: url(../img/kasparek-koruna.png) center/contain no-repeat;
    mask: url(../img/kasparek-koruna.png) center/contain no-repeat;
}

/* ===== Cookie consent — decentní karta v rohu ===== */
.teky-cc {
    position: fixed; left: 20px; bottom: 20px; z-index: 9999;
    width: min(380px, calc(100vw - 32px));
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 14px 44px rgba(0,0,0,.18);
    transform: translateY(16px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.teky-cc.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.teky-cc__inner { padding: 18px 20px; }
.teky-cc__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 5px; color: var(--ink); }
.teky-cc__text { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.teky-cc__text a { color: var(--ink); border-bottom: 1px solid var(--line); }
.teky-cc__cats { margin-top: 14px; display: grid; gap: 9px; }
.teky-cc__cats[hidden] { display: none; }
.teky-cc__cat { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; cursor: pointer; }
.teky-cc__cat input { margin-top: 1px; accent-color: var(--ink); }
.teky-cc__cat span { color: var(--muted); }
.teky-cc__cat strong { color: var(--ink); font-weight: 600; }
.teky-cc__actions { margin-top: 15px; display: flex; gap: 8px; flex-wrap: wrap; }
.teky-cc__btn {
    font-family: var(--font-display); font-size: 12.5px; font-weight: 600; cursor: pointer;
    padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
    background: transparent; color: var(--ink); transition: background .15s var(--ease);
}
.teky-cc__btn:hover { background: var(--paper); }
.teky-cc__btn--primary { background: var(--ink); color: var(--card); border-color: var(--ink); margin-left: auto; }
.teky-cc__btn--primary:hover { background: var(--ink-soft); }
@media (max-width: 520px) {
    .teky-cc { left: 12px; right: 12px; bottom: 12px; width: auto; }
    .teky-cc__btn { flex: 1 1 auto; text-align: center; }
    .teky-cc__btn--primary { margin-left: 0; }
}

/* Holé obsahové tabulky na běžných stránkách (Doprava a platba apod.) — WC tabulky mají třídy, ty necháme */
.entry-content table:not([class]) { width: 100%; max-width: 560px; border-collapse: collapse; margin: 20px 0 24px; }
.entry-content table:not([class]) th,
.entry-content table:not([class]) td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content table:not([class]) thead th { font-family: var(--font-display); font-weight: 600; border-bottom-color: var(--ink); }
.entry-content table:not([class]) td:last-child,
.entry-content table:not([class]) th:last-child { text-align: right; white-space: nowrap; color: var(--ink); }
.entry-content table:not([class]) tr:last-child td { border-bottom: 0; }
