/* Optizona header 4.0 (storefront 3) — a copy of the Sonata Optics header styles (css/addons/sonata_header/sk/header.css 5.x)
   for templates/addons/optizona3_header/v4/header.tpl. Root #sh; the few rules outside it neutralise the UniTheme header
   wrappers. Tokens are the Sonata design system (sonata_header/sk/tokens.less) with the Optizona Manrope face. */
:root {
    --so-brand: #17354b; --so-brand-tint: #e8eef3; --so-brand-line: #c5d3df;
    --so-ink: #0f1a24; --so-ink-2: #36414c; --so-muted: #4a5560;
    --so-surface: #f4f6f8; --so-line: #e3e7eb; --so-line-2: #dfe3e8;
    --so-success: #1f7a4a; --so-sale: #b3261e; --so-white: #ffffff;
    --so-font: "Optizona3 Commerce", "Optizona3 Manrope", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --so-r-badge: 6px; --so-r-sm: 8px; --so-r: 10px; --so-r-card: 12px; --so-r-lg: 16px;
    --so-shadow-pop: 0 12px 40px rgba(15, 26, 36, .18), 0 0 0 1px #e3e7eb;
    --so-shadow-dot: 0 1px 3px rgba(15, 26, 36, .15);
}
/* ── Host wrappers ─────────────────────────────────────────────── */
#tygh_container .soh-legacy-header,
#tygh_container .tygh-header:has(#sh) .row-fluid:not(:has(#sh)) { display: none !important; }
/* The theme makes the whole header sticky on touch widths; only the main row of #sh sticks.
   z-index differs per page in the theme (5 on categories, 1003 on home); the header and its panels stay above page content. */
.tygh-header:has(#sh) { position: relative !important; top: auto !important; z-index: 1000 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.tygh-header :is(.container-fluid, .container-fluid-row, .row-fluid, [class*="span"], .ty-wysiwyg-content):has(#sh) {
    width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important;
}
html.sh-lock, html.sh-lock body { overflow: hidden; }

/* ── Reset ─────────────────────────────────────────────────────── */
#sh {
    --sh-t1: 36px; --sh-t2: 100px; --sh-t3: 148px;
    position: relative; z-index: 2;
    background: var(--so-white); color: var(--so-ink);
    font: 400 14px/1.35 var(--so-font); text-align: left;
    -webkit-font-smoothing: antialiased;
}
#sh *, #sh *::before, #sh *::after { box-sizing: border-box; }
#sh * { font-family: inherit; font-size: inherit; line-height: inherit; } /* the theme types a, p, div, li directly */
#sh :where(a) { color: inherit; text-decoration: none; }
#sh :where(a):hover { color: var(--so-brand); }
#sh :where(button) {
    margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    font: inherit; color: inherit; text-transform: none; letter-spacing: inherit; cursor: pointer;
    width: auto; height: auto; min-height: 0; line-height: inherit;
}
#sh :where(ul) { margin: 0; padding: 0; list-style: none; }
#sh :where(h2, p, form) { margin: 0; }
#sh :where(img) { display: block; max-width: none; }
#sh :focus { outline: none; }
/* The theme removes link/input outlines with !important; keyboard focus must stay visible. */
#sh :focus-visible { outline: 2px solid var(--so-brand) !important; outline-offset: 2px; }
#sh [hidden] { display: none !important; }

#sh .sh-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
#sh .sh-i { display: block; flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#sh .sh-i--12 { width: 12px; height: 12px; }
#sh .sh-i--13 { width: 13px; height: 13px; }
#sh .sh-i--16 { width: 16px; height: 16px; }
#sh .sh-i--18 { width: 18px; height: 18px; }
#sh .sh-i--20 { width: 20px; height: 20px; }
#sh .sh-i--22 { width: 22px; height: 22px; }
#sh .sh-i--fill { fill: currentColor; }

/* Content width 1400 with fields of at least 20 px — the same grid as the theme content.
   --so-wrap is the storefront content width: the theme .row-fluid is max 1440 with 20 px padding, so header and page edges line up. */
:root { --so-wrap: min(1400px, 100% - 40px); }
#sh .sh-wrap { width: var(--so-wrap); margin: 0 auto; }
#sh .sh-cap { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--so-muted); }
#sh .sh-muted { color: var(--so-muted); }
#sh .sh-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#sh .sh-faces { display: flex; flex: none; }
#sh .sh-faces img, #sh .sh-person img, #sh .sh-promo__ex img, #sh .sh-experts__face { object-fit: cover; border-radius: 50%; }
#sh .sh-faces img { width: 32px; height: 32px; margin-right: -6px; border: 2px solid var(--so-white); }
#sh .sh-faces--36 img { width: 36px; height: 36px; }
#sh .sh-faces--48 img { width: 48px; height: 48px; border-color: var(--so-surface); }

/* Buttons */
#sh .sh-btn {
    display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; padding: 8px 14px;
    border-radius: var(--so-r); box-shadow: inset 0 0 0 1px var(--so-line-2); background: var(--so-white); color: var(--so-brand);
    font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none;
}
#sh .sh-btn:hover { background: var(--so-surface); color: var(--so-brand); }
#sh .sh-btn--bg { background: var(--so-white); }
#sh .sh-btn--primary { box-shadow: none; background: var(--so-brand); color: var(--so-white); }
#sh .sh-btn--primary:hover { background: var(--so-ink); color: var(--so-white); }
#sh .sh-btn--block { width: 100%; }
#sh .sh-x { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; flex: none; border-radius: var(--so-r); }
#sh .sh-x:hover { background: var(--so-surface); }

/* ── Tier 1: trust strip, 36 px ────────────────────────────────── */
#sh .sh-trust { height: 36px; background: var(--so-surface); border-bottom: 1px solid var(--so-line); font-size: 12.5px; color: var(--so-muted); }
#sh .sh-trust__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; white-space: nowrap; }
#sh .sh-claims { display: flex; align-items: center; gap: 22px; }
#sh .sh-claims li { display: flex; align-items: center; gap: 6px; }
#sh .sh-claims__lead { color: var(--so-ink); font-weight: 600; }
#sh .sh-claims__rating .sh-i { color: var(--so-brand); }
#sh .sh-claims__rating strong { color: var(--so-ink); font-weight: 600; }
#sh .sh-claims__rating a { text-decoration: underline; text-underline-offset: 2px; }
#sh .sh-ticker { display: none; }
#sh .sh-svc { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
#sh .sh-svc__a { display: flex; align-items: center; gap: 4px; font-weight: 500; }
#sh .sh-svc__a[aria-expanded="true"] { color: var(--so-ink); font-weight: 600; }
#sh .sh-svc__a--brand { gap: 5px; color: var(--so-brand); font-weight: 600; }
#sh .sh-svc__a--locale { color: var(--so-ink); font-weight: 600; }
#sh .sh-svc__short { display: none; }

/* ── Tier 2: main row, 64 px, fixed while scrolling ────────────── */
#sh .sh-slot { height: 64px; }
#sh .sh-bar { position: relative; height: 64px; background: var(--so-white); border-bottom: 1px solid var(--so-line); }
#sh.sh--stuck .sh-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; }
#sh .sh-bar__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; height: 100%; }
#sh .sh-brand { display: flex; align-items: center; gap: 12px; }
#sh .sh-menu-btn { display: none; place-items: center; width: 44px; height: 44px; border-radius: var(--so-r); background: var(--so-brand-tint); color: var(--so-brand); }
#sh .sh-menu-btn span { display: none; }
#sh.sh--stuck .sh-menu-btn { display: grid; }
#sh .sh-logo { display: flex; align-items: center; }
#sh .sh-logo img { width: auto; height: 26px; }

/* CSC Live Search wraps the form content in .clsContainer at runtime; the button is placed against .sh-search__row */
#sh .sh-search, #sh .sh-search__form, #sh .sh-search .clsContainer { position: relative; margin: 0; padding: 0; width: 100%; }
#sh .sh-search__row { position: relative; }
#sh .sh-search__lens { position: absolute; top: 12px; left: 14px; z-index: 1; color: var(--so-muted); pointer-events: none; }
#sh .sh-search__input {
    display: block; width: 100%; height: 44px; margin: 0; padding: 0 124px 0 44px;
    background: var(--so-surface); border: 0; border-radius: var(--so-r); box-shadow: none;
    font: inherit; font-size: 15px; color: var(--so-ink); caret-color: var(--so-brand);
    -webkit-appearance: none; appearance: none;
}
#sh .sh-search__input::-webkit-search-cancel-button, #sh .sh-search__input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
#sh .sh-search__input::placeholder { color: var(--so-muted); opacity: 1; }
#sh .sh-search__input:focus, #sh .sh-search__input:focus-visible { background: var(--so-white); box-shadow: inset 0 0 0 2px var(--so-brand); outline: none !important; }
#sh .sh-search__go {
    position: absolute; top: 0; right: 0; z-index: 2; display: flex; align-items: center; height: 44px; padding: 0 20px;
    border-radius: 0 var(--so-r) var(--so-r) 0; background: var(--so-brand-tint); color: var(--so-brand); font-size: 14px; font-weight: 700;
}
#sh .sh-search__go:hover { background: var(--so-brand-line); }
#sh .sh-search__go-i, #sh .sh-search__x { display: none; }
/* CSC Live Search clear button sits left of the search button */
#sh .sh-search .cls-cbi { right: 96px !important; width: 32px; height: 32px; border-radius: 50%; color: var(--so-muted); line-height: 32px; opacity: 1; }
/* a thin Lucide x instead of the addon's backspace glyph */
#sh .sh-search .cls-cbi::before {
    content: ""; position: absolute; inset: 8px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 16px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 16px no-repeat;
}
#sh .sh-search .cls-cbi:hover { background: var(--so-surface); color: var(--so-ink); }
/* typed text stops before the x */
#sh .sh-search:has(.cls-cbi:not([style*="none"])) .sh-search__input { padding-right: 132px; }

#sh .sh-act { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
#sh .sh-experts { display: flex; flex: none; align-items: center; gap: 10px; min-height: 48px; margin-right: 6px; padding: 6px 10px 6px 6px; border-radius: var(--so-r); text-align: left; }
#sh .sh-experts:hover, #sh .sh-experts[aria-expanded="true"] { background: var(--so-surface); }
#sh .sh-experts__face { width: 36px; height: 36px; }
#sh .sh-experts__txt { display: flex; flex-direction: column; line-height: 1.25; }
#sh .sh-experts__txt strong { font-size: 14px; font-weight: 600; white-space: nowrap; }
#sh .sh-experts__txt span { font-size: 12px; color: var(--so-muted); white-space: nowrap; }
#sh .sh-experts__chev, #sh .sh-experts__tel { display: none; }
#sh .sh-sep { display: none; }
#sh .sh-ico { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--so-r); }
#sh .sh-ico:hover, #sh .sh-ico--acc[aria-expanded="true"] { background: var(--so-surface); color: var(--so-ink); }
#sh .sh-ico--tel, #sh .sh-ico--search { display: none; }
#sh .sh-badge {
    position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
    background: var(--so-brand); color: var(--so-white); font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
#sh .sh-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--so-brand); border: 2px solid var(--so-white); }

#sh .sh-cart { flex: none; }
#sh .sh-cart .ty-dropdown-box__title { display: block; margin: 0; padding: 0; border: 0; background: none; height: auto; line-height: inherit; }
#sh .sh-cart__a { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px; border-radius: var(--so-r); }
#sh .sh-cart__a:hover { background: var(--so-surface); color: var(--so-ink); }
#sh .sh-cart__ico { position: relative; display: block; }
#sh .sh-cart__ico .sh-badge { top: -6px; right: -8px; }
#sh .sh-cart__sum { margin-left: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
#sh .sh-cart__sum * { font: inherit; color: inherit; }

/* ── Tier 3: category navigation, 48 px ────────────────────────── */
#sh .sh-nav { position: relative; height: 48px; border-bottom: 1px solid var(--so-line); background: var(--so-white); }
#sh .sh-nav__in { display: flex; align-items: stretch; height: 100%; white-space: nowrap; }
#sh .sh-kat { display: flex; flex: none; align-items: center; gap: 8px; margin-right: 12px; padding: 0 18px; background: var(--so-brand-tint); color: var(--so-brand); font-size: 14px; font-weight: 600; }
#sh .sh-kat:hover, #sh .sh-kat[aria-expanded="true"] { background: var(--so-brand-line); color: var(--so-brand); }
#sh .sh-kat__short { display: none; }
#sh .sh-nav__scroll { display: flex; flex: 1; align-items: stretch; min-width: 0; }
#sh .sh-nav__list { display: flex; flex: 1; align-items: stretch; min-width: 0; }
#sh .sh-nav__i { position: relative; display: flex; }
#sh .sh-nav__end { display: flex; flex: none; align-items: stretch; }
#sh .sh-nav__a { display: flex; align-items: center; gap: 4px; padding: 0 13px; font-size: 14px; font-weight: 500; white-space: nowrap; }
#sh .sh-nav__a:hover, #sh .sh-nav__a.is-active, #sh .sh-nav__a.is-current, #sh .sh-nav__a[aria-expanded="true"] { box-shadow: inset 0 -2px 0 var(--so-brand); color: var(--so-brand); }
#sh .sh-nav__a--sale, #sh .sh-nav__a--sale:hover { padding-right: 0; color: var(--so-sale); }
#sh .sh-nav__a--sale:hover { box-shadow: inset 0 -2px 0 var(--so-sale); }
#sh .sh-nav__i--more { display: none; }
#sh .sh-more { position: absolute; top: 100%; left: 0; z-index: 26; width: 240px; padding: 8px 0; background: var(--so-white); border-radius: 0 0 var(--so-r-lg) var(--so-r-lg); box-shadow: var(--so-shadow-pop); }
#sh .sh-more li { display: none; }
#sh .sh-more a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; }
#sh .sh-more a:hover { background: var(--so-surface); }

/* ── Overlay layer: scrim, megamenu, panels ────────────────────── */
#sh .sh-scrim { position: fixed; top: var(--sh-scrim-top, 0); right: 0; bottom: 0; left: 0; z-index: 24; background: rgba(15, 26, 36, .3); }
#sh .sh-layer { position: fixed; top: 0; right: 0; left: 0; z-index: 25; height: 0; }
#sh .sh-layer__in { position: relative; height: 0; }
#sh .sh-pop, #sh .sh-menu { position: absolute; background: var(--so-white); border-radius: var(--so-r-lg); box-shadow: var(--so-shadow-pop); overflow-y: auto; overscroll-behavior: contain; }
#sh .sh-pop { top: calc(var(--sh-t1) + 6px); right: 0; max-height: calc(100vh - var(--sh-t1) - 12px); }
#sh .sh-pop--kontakty, #sh .sh-pop--ucet { top: calc(var(--sh-t2) + 6px); max-height: calc(100vh - var(--sh-t2) - 12px); }
#sh .sh-pop--poradna { width: 920px; }
#sh .sh-pop--sluzby { right: 80px; width: 600px; }
#sh .sh-pop--b2b { width: 600px; }
#sh .sh-pop--kontakty { width: 480px; }
#sh .sh-pop--ucet { width: 380px; }

#sh .sh-pop__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid var(--so-line); }
#sh .sh-pop__head h2 { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
#sh .sh-pop__head--sm { padding: 16px 24px 12px; }
#sh .sh-pop__head--sm h2 { font-size: 20px; }
#sh .sh-pop__hgroup { display: flex; align-items: baseline; gap: 16px; }
#sh .sh-pop__hgroup span { font-size: 14px; color: var(--so-muted); }
#sh .sh-pop__col { display: flex; flex-direction: column; padding: 20px 24px; border-right: 1px solid var(--so-line); }
#sh .sh-pop__col:last-child { border-right: 0; }
#sh .sh-pop__col > .sh-cap { margin-bottom: 4px; }
#sh .sh-pop__col--surface { gap: 10px; background: var(--so-surface); }
#sh .sh-pop__col--surface > .sh-cap { margin-bottom: 0; }
#sh .sh-row2 { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--so-line); }
#sh .sh-row2__t { display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 700; }
#sh .sh-row2__t .sh-i { color: var(--so-brand); }
#sh .sh-row2__d { font-size: 13px; color: var(--so-muted); }

#sh .sh-poradna { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px; }
#sh .sh-topic { display: flex; align-items: center; justify-content: space-between; min-height: 40px; border-bottom: 1px solid var(--so-line); font-size: 15px; }
#sh .sh-topic__n { font-size: 12px; color: var(--so-muted); }
#sh .sh-more-link { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--so-brand); font-size: 14px; font-weight: 700; }
#sh .sh-pick { display: flex; flex-direction: column; gap: 8px; }
#sh .sh-pick__k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--so-brand); }
#sh .sh-pick__t { font-size: 16px; font-weight: 700; line-height: 1.3; }
#sh .sh-pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--so-line); }
#sh .sh-pop__ask { display: flex; align-items: center; gap: 12px; font-size: 14px; }
#sh .sh-pop__ask > span:last-child { margin-left: 6px; }

#sh .sh-help { display: grid; grid-template-columns: 1fr 1fr; }
#sh .sh-help .sh-row2 { padding: 14px 24px; }
#sh .sh-help .sh-row2:nth-child(odd) { border-right: 1px solid var(--so-line); }

#sh .sh-b2b { display: grid; grid-template-columns: 1fr 1fr; }
#sh .sh-b2b .sh-pop__col { gap: 16px; padding: 20px 24px 24px; }
#sh .sh-b2b__intro { display: flex; flex-direction: column; gap: 4px; }
#sh .sh-b2b__intro > span:last-child { font-size: 14px; color: var(--so-ink-2); }
#sh .sh-b2b .sh-row2 { border-top: 1px solid var(--so-line); border-bottom: 0; }

#sh .sh-pop__cap { display: block; padding: 20px 24px 8px; }
#sh .sh-person { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 24px; border-bottom: 1px solid var(--so-line); }
#sh .sh-person img { width: 56px; height: 56px; }
#sh .sh-person > span { display: flex; flex-direction: column; line-height: 1.3; }
#sh .sh-person strong { font-size: 16px; font-weight: 700; }
#sh .sh-person span span { font-size: 13px; color: var(--so-muted); }
#sh .sh-contact { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--so-line); }
#sh .sh-contact a { display: flex; flex-direction: column; gap: 2px; padding: 16px 24px; }
#sh .sh-contact a:first-child { border-right: 1px solid var(--so-line); }
#sh .sh-contact a > span:last-child { font-size: 12px; color: var(--so-muted); }
#sh .sh-contact__t { display: flex; align-items: center; gap: 8px; color: var(--so-brand); font-size: 16px; font-weight: 700; }
#sh .sh-contact__t--mail { font-size: 15px; }
#sh .sh-addr { display: flex; gap: 10px; padding: 16px 24px; font-size: 14px; line-height: 1.4; }
#sh .sh-addr strong { font-weight: 700; }
#sh .sh-pop__btns { padding: 0 24px 20px; }

#sh .sh-user { display: flex; flex-direction: column; padding: 16px 24px 8px; line-height: 1.3; }
#sh .sh-user strong { font-size: 16px; font-weight: 700; }
#sh .sh-user span { font-size: 13px; color: var(--so-muted); }
#sh .sh-acc { display: flex; flex-direction: column; padding: 4px 0 8px; }
#sh .sh-acc a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 24px; font-size: 15px; }
#sh .sh-acc a:hover { background: var(--so-surface); }
#sh .sh-track { display: flex; flex-direction: column; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--so-line); }
#sh .sh-track label { margin: 0; font-size: 13px; font-weight: 400; color: var(--so-muted); }
#sh .sh-track__row { position: relative; height: 44px; }
#sh .sh-track input {
    width: 100%; height: 44px; margin: 0; padding: 0 52px 0 14px; border: 0; border-radius: var(--so-r); box-shadow: none;
    background: var(--so-surface); font: inherit; font-size: 15px; color: var(--so-ink); caret-color: var(--so-brand);
}
#sh .sh-track input:focus-visible { background: var(--so-white); box-shadow: inset 0 0 0 2px var(--so-brand); outline: none !important; }
#sh .sh-track button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--so-r-sm); background: var(--so-brand-tint); color: var(--so-brand); }
#sh .sh-acc__btns { padding: 0 24px 20px; }

/* Megamenu (desktop) */
#sh .sh-menu { top: var(--sh-t3); right: 0; left: 0; max-height: calc(100vh - var(--sh-t3) - 12px); border-radius: 0 0 var(--so-r-lg) var(--so-r-lg); }
#sh .sh-menu__head, #sh .sh-menu__foot, #sh .sh-rail, #sh .sh-rail__extra, #sh .sh-back,
#sh .sh-grp__open, #sh .sh-grp__all, #sh .sh-cat__all-s, #sh .sh-tag__s, #sh .sh-grp__more .sh-i { display: none; }
#sh .sh-menu--rail .sh-menu__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
#sh .sh-menu--rail .sh-rail { display: flex; flex-direction: column; padding: 12px 0; border-right: 1px solid var(--so-line); }
#sh .sh-rail__a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 0 14px 0 22px; box-shadow: inset 2px 0 0 transparent; font-size: 14px; font-weight: 500; }
#sh .sh-rail__a.is-active { background: var(--so-brand-tint); box-shadow: inset 2px 0 0 var(--so-brand); color: var(--so-brand); font-weight: 600; }

#sh .sh-cat { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
#sh .sh-menu--rail .sh-cat { grid-template-columns: minmax(0, 1fr) 280px; }
#sh .sh-cat__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 24px 32px 28px; }
#sh .sh-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--so-line); }
#sh .sh-cat__t { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
#sh .sh-cat__all { display: flex; align-items: center; gap: 6px; color: var(--so-brand); font-size: 14px; font-weight: 700; white-space: nowrap; }
#sh .sh-grps { column-count: 4; column-gap: 32px; }
#sh .sh-menu--rail .sh-grps { column-count: 3; }
#sh .sh-grp { display: flex; flex-direction: column; padding-bottom: 18px; break-inside: avoid; }
#sh .sh-grp__t { padding: 2px 0 4px; font-size: 15px; font-weight: 700; line-height: 1.3; }
#sh .sh-grp__items :is(a, span) { display: block; padding: 4px 0; color: var(--so-ink-2); font-size: 14px; line-height: 1.35; }
#sh .sh-grp__items a:hover { color: var(--so-brand); }
#sh .sh-grp__more { padding: 4px 0; color: var(--so-brand); font-size: 13px; font-weight: 700; }

#sh .sh-cat__aside { display: flex; flex-direction: column; min-width: 0; margin: 16px 16px 16px 0; border-radius: var(--so-r-lg); background: var(--so-surface); }
#sh .sh-brands { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border-bottom: 1px solid var(--so-line); }
#sh .sh-brands .sh-cap { margin-bottom: 2px; }
#sh .sh-brand-a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: var(--so-r); background: var(--so-white); }
#sh .sh-brand-a > span:first-child { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#sh .sh-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: var(--so-r-badge); background: var(--so-brand-tint); color: var(--so-brand); font-size: 12px; font-weight: 600; }
#sh .sh-promo { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
#sh .sh-promo__t { font-size: 20px; font-weight: 700; line-height: 1.2; }
#sh .sh-promo p { font-size: 14px; color: var(--so-ink-2); }
#sh .sh-promo__guide { color: var(--so-brand); font-size: 14px; font-weight: 600; }
#sh .sh-promo__ex { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--so-line); }
#sh .sh-promo__ex img { width: 40px; height: 40px; }
#sh .sh-promo__ex > span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
#sh .sh-promo__ex strong { font-weight: 700; }
#sh .sh-promo__ex span span { color: var(--so-muted); }

/* ── Accessibility (storefront 25 only, this file is loaded there) ──
   Skip link: first focusable element, visible only on keyboard focus. Focus ring: one visible 2px brand ring
   for every element (the theme and the footer set outline:none). */
#sh .sh-skip {
    position: absolute; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--so-r);
    background: var(--so-brand); color: var(--so-white); font-size: 14px; font-weight: 700; text-decoration: none;
    transform: translateY(-200%); transition: transform .15s;
}
#sh .sh-skip:focus, #sh .sh-skip:focus-visible { transform: none; outline: 2px solid var(--so-white); outline-offset: -4px; }
#sh-content { display: block; height: 0; outline: 0; }
html body :focus-visible { outline: 2px solid var(--so-brand, #17354b) !important; outline-offset: 2px !important; }
html body :is(input, textarea, select):focus-visible { outline-offset: 0 !important; }

/* Scroll-up button (ab__scroll_to_top): a small round button instead of the 64 px icon font (84 × 84 with padding).
   Position and showing stay the addon's; only size and look change. */
div.ab__scroll_to_top_button {
    right: 16px !important; bottom: 24px !important; width: 40px !important; height: 40px !important; padding: 0 !important;
    border-radius: 50% !important; background: rgba(255, 255, 255, .94) !important; box-shadow: 0 1px 3px rgba(15, 26, 36, .16), 0 0 0 1px var(--so-line, #e3e7eb) !important;
    text-align: center !important; line-height: 40px !important;
}
div.ab__scroll_to_top_button span { color: var(--so-ink-2, #36414c) !important; font-size: 18px !important; line-height: 40px !important; }
/* The legacy category CSS draws a 64 px grey ring around the arrow; drop it so only the 40 px button shows. */
div.ab__scroll_to_top_button span.ab__stt-arrow_1 { display: block !important; width: 40px !important; height: 40px !important; }
div.ab__scroll_to_top_button span.ab__stt-arrow_1::before { border: 0 !important; width: 40px !important; height: 40px !important; font-size: 18px !important; line-height: 40px !important; }
div.ab__scroll_to_top_button:hover { background: var(--so-brand, #17354b) !important; box-shadow: none !important; }
div.ab__scroll_to_top_button:hover span { color: #fff !important; }

/* ── Wide screens ≥ 1600: the 1440 content width of the storefront ── */
@media (min-width: 1600px) {
    /* Optizona: same 1400 / 20 px grid as the theme content (.row-fluid), set once on line 62 */
}

/* ── Desktop ≥ 1024: more air in the main row and the menu (76 + 52; was 64 + 48).
   header.js measures the rows, so --sh-t2/--sh-t3 follow automatically. ── */
@media (min-width: 1024px) {
    #sh { --sh-t2: 112px; --sh-t3: 164px; }
    #sh .sh-slot, #sh .sh-bar { height: 76px; }
    #sh .sh-logo img { height: 28px; }
    #sh .sh-search__input { height: 48px; font-size: 15px; }
    #sh .sh-search__lens { top: 14px; }
    #sh .sh-search__go { height: 48px; padding: 0 22px; }
    #sh .sh-experts { min-height: 52px; }
    #sh .sh-experts__face { width: 40px; height: 40px; }
    #sh .sh-nav { height: 52px; }
}

/* ── Desktop 1024–1343: container 1136, two categories move to "Ďalšie" ── */
@media (min-width: 1024px) and (max-width: 1343px) {
    #sh .sh-claims, #sh .sh-svc { gap: 16px; }
    #sh .sh-claims .sh-claims__ship { display: none; }
    #sh .sh-svc__long { display: none; }
    #sh .sh-svc__short { display: inline; }
    #sh .sh-bar__in { gap: 20px; }
    #sh .sh-search { min-width: 320px; }
    #sh .sh-experts__txt span { display: none; }
    #sh .sh-cart__sum { display: none; }
    #sh .sh-nav__a { padding: 0 10px; }
    #sh .sh-nav__a--sale { padding-right: 0; }
    #sh .sh-nav__i--more { display: flex; }
    #sh .sh-nav__i[data-sh-prio="7"], #sh .sh-nav__i[data-sh-prio="8"] { display: none; }
    #sh .sh-more li[data-sh-prio="7"], #sh .sh-more li[data-sh-prio="8"] { display: block; }
}
/* ── Desktop 1024–1199: container 976, five categories + "Ďalšie" ── */
@media (min-width: 1024px) and (max-width: 1199px) {
    /* --so-wrap stays min(1400px, 100% - 40px) */
    #sh .sh-experts { justify-content: center; width: 44px; min-height: 44px; height: 44px; margin-right: 4px; padding: 0; box-shadow: inset 0 0 0 1px var(--so-line); }
    #sh .sh-experts__face, #sh .sh-experts__txt { display: none; }
    #sh .sh-experts__tel { display: block; }
    #sh .sh-nav__i[data-sh-prio="6"], #sh .sh-nav__a--brands { display: none; }
    #sh .sh-more li[data-sh-prio="6"], #sh .sh-more li[data-sh-prio="brands"] { display: block; }
}

/* ── Touch: tablet 768–1023 and mobile ─────────────────────────── */
@media (max-width: 1023px) {
    #sh .sh-wrap { width: auto; margin: 0; }
    #sh .sh-trust { height: 32px; border-bottom: 0; font-size: 12px; }
    #sh .sh-trust__in { padding: 0 24px; }
    #sh .sh-claims { gap: 4px; }
    #sh .sh-claims li + li::before { content: "·"; margin-right: 2px; }
    #sh .sh-claims .sh-claims__ship { display: none; }
    #sh .sh-svc > :not(.sh-svc__a--locale) { display: none; }

    #sh .sh-slot, #sh .sh-bar { height: 60px; }
    #sh .sh-bar { border-bottom: 0; }
    #sh .sh-bar__in { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 12px; }
    #sh .sh-bar__in::before { content: ""; position: absolute; top: 0; right: 0; left: 0; z-index: 1; height: 60px; background: var(--so-white); }
    #sh .sh-brand, #sh .sh-act { position: relative; z-index: 2; }
    #sh .sh-brand { flex: none; }
    #sh .sh-menu-btn, #sh.sh--stuck .sh-menu-btn { display: flex; align-items: center; gap: 8px; width: auto; height: 44px; padding: 0 14px 0 12px; font-size: 14px; font-weight: 600; }
    #sh .sh-menu-btn span { display: inline; }
    #sh .sh-search { position: relative; z-index: 2; flex: 1; min-width: 0; margin-left: 8px; }
    #sh .sh-search__lens { display: none; }
    #sh .sh-search__input { padding: 0 52px 0 16px; font-size: 16px; }
    #sh .sh-search__go { top: 4px; right: 4px; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: var(--so-r-sm); }
    #sh .sh-search__go-t { display: none; }
    #sh .sh-search__go-i { display: block; }
    #sh .sh-search .cls-cbi { right: 44px !important; }
    #sh .sh-search:has(.cls-cbi:not([style*="none"])) .sh-search__input { padding-right: 80px; }
    #sh .sh-act { flex: none; gap: 0; }
    #sh .sh-experts, #sh .sh-ico--cmp, #sh .sh-ico--wish, #sh .sh-cart__sum { display: none; }
    #sh .sh-ico--tel { display: grid; }
    #sh .sh-cart__a { justify-content: center; width: 44px; padding: 0; }
    #sh .sh-cart__ico { position: static; }
    #sh .sh-cart__ico .sh-badge { top: 4px; right: 2px; }

    /* Category ribbon: Kategórie | scrolling sections | Akcie · Výpredaj */
    #sh .sh-nav { border-top: 1px solid var(--so-line); }
    #sh .sh-kat { margin: 0; padding: 0 16px; }
    #sh .sh-kat__long, #sh .sh-nav__i--more { display: none; }
    #sh .sh-kat__short { display: inline; }
    #sh .sh-nav__scroll { position: relative; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    #sh .sh-nav__scroll::-webkit-scrollbar { display: none; }
    #sh .sh-nav__scroll::after { content: ""; flex: 0 0 40px; }
    #sh .sh-nav__list { flex: none; }
    #sh .sh-nav__a { padding: 0 12px; }
    #sh .sh-nav__end { position: relative; padding: 0 16px 0 12px; border-left: 1px solid var(--so-line); background: var(--so-white); }
    #sh .sh-nav__end::before {
        content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 56px; pointer-events: none;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") no-repeat right 6px center / 16px 16px,
                    linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 70%);
    }
    #sh .sh-nav__end .sh-nav__a { padding: 0 6px; }
    #sh .sh-nav__end .sh-nav__a--sale { padding-right: 0; }

    /* Panels reachable on touch: contacts and account */
    #sh .sh-pop { width: min(480px, 100% - 16px); right: 8px; }
    #sh .sh-pop--ucet { width: min(380px, 100% - 16px); }

    /* Catalog drawer: right sheet on tablet, full screen on mobile */
    #sh .sh-menu {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 30; display: flex; flex-direction: column;
        width: 420px; max-width: 100%; max-height: none; overflow-x: hidden; overflow-y: auto; border-radius: 0; box-shadow: var(--so-shadow-pop);
    }
    #sh .sh-menu[hidden] { display: none; }
    #sh .sh-menu__head { position: sticky; top: 0; z-index: 3; display: flex; flex: none; align-items: center; justify-content: space-between; height: 56px; padding: 0 6px 0 16px; border-bottom: 1px solid var(--so-line); background: var(--so-white); }
    #sh .sh-menu__head img { width: auto; height: 24px; }
    #sh .sh-menu__head .sh-x { margin-right: 0; }
    #sh .sh-menu__body, #sh .sh-menu--rail .sh-menu__body { display: block; flex: 1 0 auto; overflow: visible; }
    #sh .sh-rail, #sh .sh-menu--rail .sh-rail { display: block; padding: 0; border: 0; }
    #sh .sh-menu.is-lvl2 .sh-rail { display: none; }
    #sh .sh-rail__a { min-height: 52px; padding: 0 16px; box-shadow: none; border-bottom: 1px solid var(--so-line); font-size: 16px; font-weight: 600; }
    #sh .sh-rail__a .sh-i { width: 20px; height: 20px; color: var(--so-brand); }
    #sh .sh-rail__a.is-active { background: none; box-shadow: none; color: inherit; }
    #sh .sh-rail__extra { display: block; }
    #sh .sh-rail__x { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--so-line); font-size: 16px; font-weight: 600; }
    #sh .sh-rail__x--strong { flex-direction: column; align-items: flex-start; justify-content: center; padding: 6px 16px; }
    #sh .sh-rail__x--strong span { font-size: 16px; font-weight: 700; }
    #sh .sh-rail__x--strong small { font-size: 13px; color: var(--so-muted); }
    #sh .sh-rail__x--sale { color: var(--so-sale); font-weight: 700; }
    #sh .sh-rail__links { display: flex; flex-direction: column; padding: 8px 0; }
    #sh .sh-rail__links a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 42px; font-size: 15px; }
    #sh .sh-rail__links a:first-child, #sh .sh-rail__links--plain a { padding-left: 16px; }
    #sh .sh-rail__links a:first-child { color: var(--so-brand); font-weight: 600; }
    #sh .sh-rail__links strong { font-weight: 700; }
    #sh .sh-rail__links--plain { padding: 0 0 12px; }
    #sh .sh-rail__extra > .sh-cap { padding: 12px 16px 4px; border-top: 1px solid var(--so-line); }

    #sh .sh-cat, #sh .sh-menu--rail .sh-cat { display: block; }
    #sh .sh-cat__main { display: block; padding: 0; }
    #sh .sh-back { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 48px; padding: 0 16px 0 10px; border-bottom: 1px solid var(--so-line); color: var(--so-brand); font-size: 14px; font-weight: 600; }
    #sh .sh-back--grp { display: none; }
    #sh .sh-cat__head { flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 16px 8px; border: 0; }
    #sh .sh-cat__t { font-size: 24px; }
    #sh .sh-cat__all { font-weight: 600; white-space: normal; }
    #sh .sh-cat__all .sh-i { display: none; }
    #sh .sh-grps, #sh .sh-menu--rail .sh-grps { column-count: auto; border-top: 1px solid var(--so-line); }
    #sh .sh-grp { padding: 0; }
    #sh .sh-grp__t { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--so-line); font-size: 16px; font-weight: 600; }
    #sh .sh-grp--kids .sh-grp__t, #sh .sh-grp__items, #sh .sh-grp__more { display: none; }
    #sh .sh-grp__open { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--so-line); font-size: 16px; font-weight: 600; text-align: left; }
    #sh .sh-grp__open .sh-i { color: var(--so-brand); }

    /* Level 3 — one group */
    #sh .sh-cat.is-grp > .sh-cat__main > .sh-back:not(.sh-back--grp), #sh .sh-cat.is-grp .sh-cat__head, #sh .sh-cat.is-grp .sh-cat__aside,
    #sh .sh-cat.is-grp .sh-grp:not(.is-open), #sh .sh-cat.is-grp .sh-grp__open { display: none; }
    #sh .sh-cat.is-grp .sh-back--grp { display: flex; }
    #sh .sh-cat.is-grp .sh-grps { border-top: 0; }
    #sh .sh-grp.is-open .sh-grp__t { display: block; min-height: 0; padding: 20px 16px 6px; border: 0; font-size: 24px; font-weight: 700; line-height: 1.2; }
    #sh .sh-grp.is-open .sh-grp__all { display: block; padding: 0 16px 8px; color: var(--so-brand); font-size: 14px; font-weight: 600; }
    #sh .sh-grp.is-open .sh-grp__items { display: block; border-top: 1px solid var(--so-line); }
    #sh .sh-grp.is-open .sh-grp__items :is(a, span) { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--so-line); color: var(--so-ink); font-size: 16px; }
    #sh .sh-grp.is-open .sh-grp__more { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; font-size: 15px; font-weight: 700; }
    #sh .sh-grp.is-open .sh-grp__more .sh-i { display: block; }

    #sh .sh-cat__aside { margin: 0; border-radius: 0; background: none; }
    #sh .sh-promo { display: none; }
    #sh .sh-brands { flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 0 16px 20px; border: 0; }
    #sh .sh-brands .sh-cap { flex: 0 0 100%; margin: 0; padding: 20px 0 0; }
    #sh .sh-brand-a { min-height: 44px; background: var(--so-surface); }
    #sh .sh-tag__l { display: none; }
    #sh .sh-tag__s { display: inline; }

    #sh .sh-menu__foot { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 8px; margin-top: 24px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--so-line); background: var(--so-surface); }
    #sh .sh-menu__ex { display: flex; align-items: center; gap: 10px; min-width: 0; }
    #sh .sh-menu__foot .sh-faces--48 img { width: 32px; height: 32px; }
    #sh .sh-menu__ex-t { display: flex; flex-direction: column; min-width: 0; margin-left: 4px; line-height: 1.3; }
    #sh .sh-menu__ex-t strong { font-size: 14px; font-weight: 700; }
    #sh .sh-menu__ex-t span { overflow: hidden; font-size: 12px; color: var(--so-muted); text-overflow: ellipsis; white-space: nowrap; }
    #sh .sh-menu__foot .sh-2col { display: flex; gap: 8px; }
    #sh .sh-menu__foot .sh-btn { justify-content: center; width: 40px; height: 40px; min-height: 0; padding: 0; gap: 0; border: 1px solid var(--so-line); border-radius: 50%; font-size: 0; color: var(--so-brand); }
    #sh .sh-menu__foot .sh-btn .sh-i { width: 18px; height: 18px; }
    /* the theme's bottom tab bar (57 px) stays over the drawer: the last line ends above it */
    body:has(.ut2-sticky-panel__wrap) #sh .sh-menu__foot { padding-bottom: calc(71px + env(safe-area-inset-bottom)); }
    #sh .sh-menu__foot [data-sh-expert] { display: none; }
    #sh .sh-menu__foot[data-sh-expert=""] img, #sh .sh-menu__foot[data-sh-expert=""] [data-sh-expert=""],
    #sh .sh-menu__foot[data-sh-expert="martin"] [data-sh-expert="martin"],
    #sh .sh-menu__foot[data-sh-expert="vlad"] [data-sh-expert="vlad"],
    #sh .sh-menu__foot[data-sh-expert="ruslan"] [data-sh-expert="ruslan"] { display: block; }
    #sh .sh-menu__addr { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--so-line); color: var(--so-muted); font-size: 12px; }
    #sh .sh-menu__addr a { display: flex; align-items: center; gap: 6px; line-height: 1.3; }
    #sh .sh-menu__addr > span { font-weight: 600; }
}

/* Tablet below 860: search gets its own row */
@media (min-width: 768px) and (max-width: 859px) {
    #sh .sh-claims .sh-claims__rating { display: none; }
    #sh .sh-slot, #sh .sh-bar { height: 112px; }
    #sh .sh-bar__in { align-items: flex-start; padding-top: 8px; }
    #sh .sh-search { position: absolute; top: 60px; right: 0; left: 0; z-index: 0; margin: 0; padding: 0 24px 8px; transition: transform .22s ease; }
    #sh .sh-brand { margin-right: auto; }
    #sh.sh--hide .sh-search { transform: translateY(-52px); }
}

/* ── Mobile < 768 ──────────────────────────────────────────────── */
@media (max-width: 767px) {
    #sh .sh-trust__in { justify-content: flex-start; padding: 0 16px; color: var(--so-ink); font-weight: 600; }
    #sh .sh-claims, #sh .sh-svc { display: none; }
    #sh .sh-ticker { position: relative; display: block; flex: 1; height: 32px; overflow: hidden; }
    #sh .sh-ticker li { position: absolute; top: 0; left: 0; line-height: 32px; opacity: 0; animation: sh-ticker 20s linear infinite backwards; animation-delay: calc(var(--sh-i) * 4s); }

    #sh .sh-slot, #sh .sh-bar { height: 56px; }
    #sh .sh-bar { border-bottom: 1px solid var(--so-line); }
    #sh .sh-bar__in { display: grid; grid-template-columns: 40px minmax(0, 1fr) repeat(3, 40px); gap: 2px; align-items: center; height: 55px; padding: 0 10px 0 8px; }
    #sh .sh-bar__in::before { height: 55px; }
    #sh .sh-brand, #sh .sh-act { display: contents; }
    #sh .sh-menu-btn, #sh.sh--stuck .sh-menu-btn { position: relative; z-index: 2; justify-content: center; width: 44px; padding: 0; background: none; color: var(--so-ink); }
    #sh .sh-menu-btn span { display: none; }
    #sh .sh-logo { position: relative; z-index: 2; min-width: 0; padding: 0 12px 0 6px; }
    #sh .sh-logo img { max-width: 100%; height: 20px; object-fit: contain; object-position: left center; }
    #sh .sh-menu-btn, #sh.sh--stuck .sh-menu-btn, #sh .sh-ico, #sh .sh-cart__a { width: 40px; height: 40px; }
    #sh .sh-bar .sh-ico .sh-i, #sh .sh-cart__ico .sh-i, #sh .sh-menu-btn .sh-i { width: 22px; height: 22px; stroke-width: 1.6; }
    #sh .sh-cart__ico .sh-badge { top: 2px; right: 0; }
    /* search next to the logo, then phone and cart */
    #sh .sh-ico--search { order: 1; } #sh .sh-ico--tel { order: 2; } #sh .sh-cart { order: 3; }
    #sh .sh-ico--tel, #sh .sh-ico--search, #sh .sh-cart { position: relative; z-index: 2; }
    #sh .sh-ico--search { display: grid; }
    #sh .sh-ico--search[aria-expanded="true"] { background: var(--so-surface); }
    #sh .sh-ico--acc { display: none; }
    /* Search: a second row under the bar, opened by the magnifier */
    #sh .sh-search { position: absolute; top: 56px; right: 0; left: 0; z-index: 1; display: none; grid-template-columns: minmax(0, 1fr) 44px; gap: 4px; align-items: center; margin: 0; padding: 6px 8px 10px 16px; background: var(--so-white); border-bottom: 1px solid var(--so-line); }
    #sh.sh--search .sh-search { display: grid; }
    #sh .sh-search__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--so-r); }
    #sh .sh-nav { display: none; }
    #sh .sh-menu { width: 100%; box-shadow: none; }
    #sh .sh-pop { right: 8px; left: 8px; width: auto; }
}
@keyframes sh-ticker {
    0% { opacity: 0; transform: translateY(6px); }
    1.75% { opacity: 1; transform: none; }
    20% { opacity: 1; transform: none; }
    20.01%, 100% { opacity: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    #sh .sh-ticker li { animation: none; }
    #sh .sh-ticker li:first-child { opacity: 1; }
    #sh .sh-search { transition: none; }
}

/* ── Live search results (CSC Live Search .clsCss inside #sh-search) ──────────────────────────
   The addon brings its own look (grey floating card with a 33px shadow on phones, green chips,
   coloured category labels, a dashed brand tree). Here it is restyled to the header: white panel,
   1px line, brand only for links and the selected chip, photos on the surface with multiply. */
#sh .sh-search .sh-search__input:focus, #sh .sh-search .sh-search__input:focus-visible { box-shadow: inset 0 0 0 1px var(--so-brand), 0 0 0 3px var(--so-brand-tint); }
#sh .sh-search .clsCss { color: var(--so-ink); font: 400 14px/1.45 var(--so-font); text-align: left; }
#sh .sh-search .clsCss ul { margin: 0; padding: 0 20px 8px; list-style: none; }
#sh .sh-search .clsCss li { color: var(--so-ink); text-align: left; }
#sh .sh-search .clsCss > div { scrollbar-width: thin; scrollbar-color: var(--so-line-2) transparent; }
#sh .sh-search .clsCss ::-webkit-scrollbar { width: 6px; background: transparent; }
#sh .sh-search .clsCss ::-webkit-scrollbar-thumb { background: var(--so-line-2); border-radius: 3px; }

/* Top line: the number of found products (a link to all results) and the closer */
#sh .sh-search .clsCss li.clsGrayHeader {
    position: absolute; top: 0; left: 0; width: 100%; min-height: 0; margin: 0; padding: 12px 56px 12px 20px;
    background: var(--so-white); border-bottom: 1px solid var(--so-line); border-radius: var(--so-r-lg) var(--so-r-lg) 0 0;
    color: var(--so-muted); font-size: 13px; line-height: 20px; text-align: left; text-decoration: none;
}
#sh .sh-search .clsCss li.clsGrayHeader[q]:hover { color: var(--so-brand); text-decoration: underline; text-underline-offset: 2px; }
#sh .sh-search .clsCss li.clsCloser {
    position: absolute; top: 6px; right: 8px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0;
    border-radius: 50%; color: var(--so-ink-2); font-size: 11px; line-height: 1; opacity: 1;
}
#sh .sh-search .clsCss li.clsCloser:hover { background: var(--so-surface); }

/* Section titles */
#sh .sh-search .clsCss li.clsTitle, #sh .sh-search .clsCss li.clsNotFound {
    clear: both; margin: 0; padding: 16px 0 8px; color: var(--so-ink); font-size: 13px; font-weight: 700; line-height: 1.4;
}
#sh .sh-search .clsCss li.clsTitle strong { font-weight: 700; }
#sh .sh-search .clsCss li.clsNotFound { font-weight: 400; color: var(--so-ink-2); }

/* Categories: parent name, then chips (selected = tint + brand line, never solid) */
#sh .sh-search .clsCss li.clsRoot {
    clear: left; float: left; margin: 0 6px 8px 0; padding: 0; color: var(--so-muted); font-size: 13px; line-height: 32px; text-decoration: none;
}
#sh .sh-search .clsCss li[class*="Checked"] {
    float: left; display: block; margin: 0 6px 8px 0; padding: 0 12px; border: 1px solid var(--so-line); border-radius: 999px;
    background: var(--so-white); color: var(--so-ink-2); font-size: 13px; font-weight: 500; line-height: 30px; opacity: 1;
}
#sh .sh-search .clsCss li[class*="Checked"].clsHidden { display: none; }
#sh .sh-search .clsCss li[class*="Checked"]:hover, #sh .sh-search .clsCss li[class*="Checked"].clsOnFocus { border-color: var(--so-brand-line); color: var(--so-brand); opacity: 1; }
#sh .sh-search .clsCss li.clsChecked { border-color: var(--so-brand-line); background: var(--so-brand-tint); color: var(--so-brand); }
#sh .sh-search .clsCss li.clsChecked::after { margin-left: 6px; font-size: 9px; }
#sh .sh-search .clsCss li.clsShowAll {
    clear: both; margin: 0; padding: 2px 0 4px; color: var(--so-brand); font-size: 13px; font-weight: 600; text-align: left;
}
#sh .sh-search .clsCss li.clsShowAll::after { font-size: 9px; }
#sh .sh-search .clsCss li.clsShowAll:hover span { text-decoration: underline; text-underline-offset: 2px; }

/* Brands: a plain link instead of the dashed tree */
#sh .sh-search .clsCss li.clsTree, #sh .sh-search .clsCss li.clsChoice {
    display: inline-flex; align-items: center; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--so-line); border-radius: 999px;
    color: var(--so-brand); font-size: 13px; font-weight: 600; line-height: 30px; text-decoration: none;
}
#sh .sh-search .clsCss li.clsTree::before { display: none; }
#sh .sh-search .clsCss li.clsTree:hover, #sh .sh-search .clsCss li.clsChoice:hover { border-color: var(--so-brand-line); background: var(--so-brand-tint); text-decoration: none; }

/* Products: photo on the surface, name, code, price and the small actions */
#sh .sh-search .clsCss li[pid] {
    display: flex; align-items: flex-start; gap: 14px; margin: 0 -20px; padding: 12px 20px; border-top: 1px solid var(--so-line); background: var(--so-white);
}
#sh .sh-search .clsCss li[pid]:hover, #sh .sh-search .clsCss li[pid].clsOnFocus { background: var(--so-surface); }
#sh .sh-search .clsCss li[pid] .clsImg {
    flex: none; width: 64px; min-width: 64px; height: 64px; margin: 0; border-radius: 12px; background-color: var(--so-surface);
    background-size: 88% auto; background-position: center; background-blend-mode: multiply; mix-blend-mode: normal;
}
#sh .sh-search .clsCss li[pid]:hover .clsImg { background-color: var(--so-white); }
#sh .sh-search .clsItemData { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; min-width: 0; }
#sh .sh-search .clsItemData .clsProduct { grid-column: 1 / -1; margin: 0; color: var(--so-ink); font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; }
#sh .sh-search .clsItemData .clsProduct b { font-weight: 700; }
#sh .sh-search .clsItemData .clsProduct:hover { color: var(--so-brand); text-decoration: underline; text-underline-offset: 2px; }
#sh .sh-search .clsItemData .clsFlex { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; }
#sh .sh-search .clsItemData .clsArt { margin: 0; color: var(--so-muted); font-size: 12px; line-height: 1.4; }
#sh .sh-search .clsItemData .clsLabel {
    min-height: 0; margin: 0; padding: 2px 8px; border: 1px solid var(--so-line); border-radius: var(--so-r-badge);
    background: var(--so-white) !important; color: var(--so-ink-2); font-size: 12px; font-weight: 500; line-height: 16px; opacity: 1;
}
#sh .sh-search .clsItemData .clsLabel::before { display: none; }
#sh .sh-search .clsItemData .clsLabel:hover { border-color: var(--so-brand-line); color: var(--so-brand); opacity: 1; }
#sh .sh-search .clsItemData .clsFlexReverse { grid-column: 1 / -1; display: flex; flex-flow: row-reverse nowrap; align-items: center; gap: 2px; margin: 2px 0 0; }
#sh .sh-search .clsItemData .clsPrices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; width: auto; margin: 0 auto 0 0; padding: 0; order: 0; visibility: visible; }
#sh .sh-search .clsItemData .clsPrice { color: var(--so-ink); font-size: 15px; font-weight: 700; white-space: nowrap; }
#sh .sh-search .clsItemData .clsListPrice { order: 2; margin: 0; color: var(--so-muted); font-size: 13px; opacity: 1; }
#sh .sh-search .clsItemData .clsListPrice:empty { display: none; }
#sh .sh-search .clsItemData a[type$="Add"] {
    display: grid; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0; border-radius: var(--so-r-sm);
    color: var(--so-muted); font-size: 16px; line-height: 1; text-decoration: none;
}
#sh .sh-search .clsItemData a[type$="Add"]:hover { background: var(--so-white); color: var(--so-brand); }
#sh .sh-search .clsItemData a[type$="Add"][state="1"] { color: var(--so-brand); }
#sh .sh-search .clsItemData a[type="cartAdd"] { background: var(--so-brand-tint); color: var(--so-brand); }
#sh .sh-search .clsItemData a[type="cartAdd"]:hover { background: var(--so-brand); color: var(--so-white); }

/* Quieter type: section titles a step lighter, long chips stay one line */
#sh .sh-search .clsCss li.clsTitle { color: var(--so-ink-2); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
#sh .sh-search .clsCss li.clsTitle strong { color: var(--so-ink); font-weight: 600; }
#sh .sh-search .clsCss li[class*="Checked"] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sh .sh-search .clsItemData .clsProduct { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#sh .sh-search .clsItemData .clsArt b { color: var(--so-ink-2); font-weight: 600; }
#sh .sh-search .clsItemData .clsLabel { border-color: transparent; background: var(--so-surface) !important; }

/* One product found (an exact code): straight to it, without the list of its categories */
#sh .sh-search .clsCss ul:not(:has(li[pid] ~ li[pid])):has(li[pid]) :is(li.clsRoot, li[class*="Checked"], li.clsShowAll, li.clsTitle:has(+ li.clsRoot)) { display: none; }

/* More products and the loader */
#sh .sh-search .clsCss li.clsSm { clear: both; margin: 12px 0 8px; padding: 0; text-align: center; }
#sh .sh-search .clsCss li.clsSm > span {
    display: flex; align-items: center; justify-content: center; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--so-brand-line); border-radius: var(--so-r);
    background: var(--so-brand-tint); color: var(--so-brand); font-size: 14px; font-weight: 700; opacity: 1;
}
#sh .sh-search .clsCss li.clsSm:hover > span { border-color: var(--so-brand); }
#sh .sh-search .clsd::before, #sh .sh-search .clsd::after { background-color: var(--so-brand) !important; }

/* Tablet and desktop: a panel under the field, as wide as the field */
@media (min-width: 768px) {
    #sh .sh-search.clsActive .clsCss {
        position: absolute; top: 100%; left: 0; right: auto; width: 100%; min-width: 520px; max-width: 760px; max-height: min(72vh, 680px);
        margin: 8px 0 0; padding: 45px 0 0; border: 0; border-radius: var(--so-r-lg); box-shadow: var(--so-shadow-pop); background: var(--so-white);
        overflow: hidden;
    }
    #sh .sh-search.clsActive .clsCss > div { overflow-y: auto; }
}
@media (min-width: 768px) and (max-width: 859px) {
    /* the field has its own row with 24px sides here */
    #sh .sh-search.clsActive .clsCss { left: 24px; width: calc(100% - 48px); min-width: 0; }
}

/* Phone: the results drop down under the search row of the header, over the page, edge to edge; the page, the field
   and its close button stay where they are (the full-screen sheet covered the field and had no way out) */
@media (max-width: 767px) {
    #sh .sh-search .sh-search__input:focus, #sh .sh-search .sh-search__input:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px var(--so-brand); }
    /* The addon's phone mode (csc_live_search): body fixed at the top, the search box a fixed full-screen card with a
       33px grey shadow. Undone here: the page keeps its scroll, the search row keeps its place under the bar. */
    body.clsBody { position: static !important; overflow-x: clip !important; overflow-y: visible !important; }
    .clsBody #sh .sh-search.clsActive {
        position: absolute !important; inset: 56px 0 auto 0 !important; display: grid !important; width: auto !important; min-height: 0 !important; height: auto !important; margin: 0 !important;
        padding: 6px 8px 10px 16px !important; border-radius: 0 !important; box-shadow: none !important; background: var(--so-white) !important;
    }
    .clsBody #sh .sh-search.clsActive form { display: block !important; height: auto !important; }
    .clsBody #sh .sh-search.clsActive .clsCss {
        position: absolute !important; top: calc(100% + 10px) !important; right: auto !important; bottom: auto !important; left: -16px !important; z-index: 1200;
        display: flex !important; flex-direction: column; width: 100vw !important; min-width: 0 !important; height: auto !important;
        max-height: calc(100dvh - 140px) !important; margin: 0 !important; padding: 0 !important;
        border: 0; border-top: 1px solid var(--so-line); border-radius: 0 0 var(--so-r-lg) var(--so-r-lg);
        background: var(--so-white) !important; box-shadow: 0 16px 32px rgba(15, 26, 36, .16) !important; overflow: hidden; transform: none !important;
    }
    .clsBody #sh .sh-search.clsActive .clsCss > div { min-height: 0; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .clsBody #sh .sh-search .clsCss li.clsGrayHeader { position: static; width: auto; margin: 0; padding: 12px 16px 4px; border: 0; border-radius: 0; }
    .clsBody #sh .sh-search .clsCss li.clsCloser { display: none; }
    /* "Zadajte aspoň 3 znakov": a quiet hint line, not a grey box over the field */
    #sh .sh-search .clsCss li.clsEnterMore { position: static !important; margin: 0 -16px !important; padding: 12px 16px 2px !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--so-muted) !important; font: 400 13px/1.4 var(--so-font) !important; }
    #sh .sh-search .clsCss li.clsEnterMore b, #sh .sh-search .clsCss li.clsEnterMore strong { color: var(--so-ink-2); font-weight: 600; }
    #sh .sh-search .clsCss ul { padding: 0 16px 8px; }
    .clsBody #sh .sh-search .clsCss li.clsGrayHeader { margin: 0 -16px; }
    #sh .sh-search .clsCss li.clsTitle, #sh .sh-search .clsCss li.clsNotFound { padding-top: 14px; }
    #sh .sh-search .clsCss li[pid] { gap: 12px; margin: 0 -16px; padding: 12px 16px; }
    #sh .sh-search .clsCss li[pid] .clsImg { width: 56px; min-width: 56px; height: 56px; }
    #sh .sh-search .clsItemData a[type$="Add"] { width: 36px; height: 36px; font-size: 17px; }
    #sh .sh-search .clsItemData a[type="viewAdd"], #sh .sh-search .clsItemData a[type="compAdd"] { display: none; }
    #sh .sh-search .clsCss li.clsSm { margin: 12px 0 calc(16px + env(safe-area-inset-bottom)); }
}

/* Optizona: team photos are portraits (480×600) — crop to the round frames */
#sh img[src*="oz-team-"] { object-fit: cover; object-position: 50% 14%; }
/* On Sonata the page font is Manrope (font-face override); here the header sets it itself */
#sh { font-family: var(--so-font); }
/* The Optizona logo file is white (made for dark bars); on the white header it is drawn dark */
#sh :is(.sh-logo, .sh-menu__head) img[src*="logo_optizona"] { filter: brightness(0) saturate(100%) invert(9%) sepia(16%) saturate(1500%) hue-rotate(170deg) brightness(92%); }
/* The UniTheme bottom bar stays under the open catalog drawer instead of covering its last rows */
html.sh-lock .ut2-sticky-panel__wrap { display: none !important; }
