/* ==========================================================================
   b-header.css – hlavička a vše kolem ní (podle brooksrunning.com/en_us)
   utility pruh · modrá lišta · nav · hledání + našeptávač · mega menu
   mobilní off-canvas · mini-košík · přepínač zemí · cookie · drobečky · hlavička pokladny
   Tokeny a tlačítka: b-base.css
   ========================================================================== */

header {
    --hd-x: 16px;          /* boční odsazení obsahu hlavičky */
    --hd-bar: 70px;        /* výška modré lišty */
    --hd-util: 36px;       /* výška utility pruhu */
    --b-header-h: calc(var(--hd-util) + var(--hd-bar));
    color: var(--b-ink);
}
@media (min-width: 768px)  { header { --hd-x: 40px; } }
@media (min-width: 1200px) { header { --hd-x: 60px; } }
@media (max-width: 991px)  { header { --hd-bar: 60px; } }

/* ---------- kostra ---------- */
header .navbar {
    display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch;
    position: relative; margin: 0; padding: 0; background: #fff;
}
header .navbar > .row {
    flex-wrap: nowrap; width: 100%; margin: 0; --bs-gutter-x: 0;
}
header .navbar > .row > * { margin: 0; padding: 0; }

/* utility pruh: zůstává vždy vidět (třída .hidden z JS se ignoruje) */
header .navbar .top-navbar {
    height: var(--hd-util); background: #fff; color: var(--b-ink);
    align-items: center; overflow: visible;
}
header .navbar .top-navbar > .container-xxl {
    display: flex; flex-wrap: nowrap; align-items: center;
    width: 100%; max-width: none; height: 100%;
    margin-left: 0; margin-right: 0; padding: 0 var(--hd-x); --bs-gutter-x: 0;
}
header .navbar .top-navbar > .container-xxl > * { flex: 0 0 auto; width: auto; max-width: none; margin-top: 0; padding: 0; }

.top-navbar-blog-link {
    height: 100%; padding: 0 12px; color: var(--b-ink);
    font-size: 14px; font-weight: 400; line-height: 20px; text-decoration: none; white-space: nowrap;
}
.top-navbar-blog-link:hover, .top-navbar-blog-link:focus-visible { color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; }
header .navbar .top-navbar .col-auto.ms-auto .top-navbar-blog-link:last-child { padding-right: 12px; }

/* ---------- přepínač velikostí EU / UK / US ---------- */
.size-switch { display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.size-switch__label { color: var(--b-alt); font-size: 12px; line-height: 16px; letter-spacing: .02em; }
.size-switch__track {
    position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr);
    height: 24px; border: 1px solid var(--b-ink); background: #fff;
}
.size-switch__thumb {
    position: absolute; top: 0; bottom: 0; left: 0; width: 33.3334%;
    background: var(--b-ink);
    transform: translateX(calc(var(--i, 0) * 100%));
    transition: transform .25s ease-in-out;
}
.size-switch button {
    position: relative; z-index: 1; min-width: 36px; height: 100%; margin: 0; padding: 0 8px;
    border: 0; background: transparent; color: var(--b-ink);
    font-family: var(--b-font); font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1;
    cursor: pointer; transition: color .2s ease;
}
.size-switch button > span { display: block; }
.size-switch button.is-active, .size-switch button[aria-pressed="true"] { color: #fff; }
.size-switch button:focus-visible { outline: 2px solid var(--b-blue); outline-offset: 1px; }
@media (max-width: 767px) { .size-switch__label { display: none; } }

/* ---------- přepínač země / jazyka ---------- */
.country-selector-trigger {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: var(--hd-util); padding: 0 0 0 12px; border: 0; background: transparent; color: var(--b-ink); cursor: pointer;
}
.country-selector-trigger img,
.country-selector-trigger-flag {
    display: block; width: 24px; height: 16px; object-fit: cover; background-size: cover;
    border: 1px solid var(--b-line);
}
.country-selector-trigger:hover img,
.country-selector-trigger:hover .country-selector-trigger-flag { opacity: .7; }
.country-selector-trigger:focus-visible { outline: 2px solid var(--b-blue); outline-offset: -2px; }
.country-selector-trigger-lang { font-size: 14px; font-weight: 700; line-height: 1; }
@media (max-width: 575px) { .country-selector-trigger { padding-left: 6px; } .top-navbar-blog-link { padding: 0 8px; } }

/* ---------- modrá lišta ---------- */
header .navbar .bottom-navbar {
    position: relative; height: var(--hd-bar); background: var(--b-blue); color: #fff; align-items: center;
}
header .navbar .bottom-navbar > .container-xxl {
    width: 100%; max-width: none; height: 100%;
    margin-left: 0; margin-right: 0; padding: 0 var(--hd-x);
}
header .navbar .bottom-navbar > .container-xxl > .row {
    flex-wrap: nowrap; align-items: center; justify-content: space-between;
    height: 100%; margin: 0; --bs-gutter-x: 0;
}
header .navbar .bottom-navbar .row > * { margin-top: 0; padding: 0; max-width: none; }
header .navbar .bottom-navbar > .container-xxl > .row > .col-6 { width: auto; min-width: 0; }
header .navbar .bottom-navbar > .container-xxl > .row > .col-6:first-child { flex: 1 1 auto; }
header .navbar .bottom-navbar > .container-xxl > .row > .col-6:last-child { flex: 0 0 auto; }
header .navbar .bottom-navbar > .container-xxl > .row > .col-6:first-child > .row {
    flex-wrap: nowrap; align-items: center; width: 100%; margin: 0; --bs-gutter-x: 0;
}
header .navbar .bottom-navbar > .container-xxl > .row > .col-6:last-child > .row {
    flex-wrap: nowrap; align-items: center; margin: 0; --bs-gutter-x: 0;
}
header .navbar .bottom-navbar .col-3 { flex: 0 0 auto; width: auto; }

header #icon-logo { display: block; width: 118px; height: 20px; fill: #fff; }
header .bottom-navbar a, header .bottom-navbar a:hover { color: #fff; }

/* ---------- hlavní nav (desktop) ---------- */
header .header-menu {
    flex: 0 1 auto; width: auto; min-width: 0; margin: 0 0 0 28px; padding: 0;
    align-self: stretch; align-items: stretch; justify-content: flex-start !important; gap: 0;
}
@media (min-width: 1200px) { header .header-menu { margin-left: 46px; } }
header .header-menu-item { position: relative; display: flex; align-items: stretch; }
header .header-menu-item { margin: 0 14px; }
header .header-menu-item > a.nav-link {
    position: relative; display: inline-flex; flex-direction: column; align-items: stretch; justify-content: center;
    height: 100%; padding: 0;
    color: #fff; font-family: var(--b-font); font-size: 16px; font-weight: 700; line-height: 20px;
    letter-spacing: .64px; text-transform: uppercase; white-space: nowrap; text-decoration: none;
}
header .header-menu-item > a.nav-link:hover,
header .header-menu-item > a.nav-link:focus { color: #fff; }
/* podtržení: pruh 4px přesně pod textem, šířka textu (jako span::after na Brooks) */
header .header-menu-item > a.nav-link::after {
    content: ""; display: block; flex: none; width: 100%; height: 4px; margin-top: 4px;
    background: transparent; transition: background-color .2s ease-in-out;
}
header .header-menu-item > a.nav-link:hover::after,
header .header-menu-item.active > a.nav-link::after { background: #fff; }
header .header-menu-item > a.nav-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- hledání (desktop) ---------- */
header .search { align-items: center; }
header .search-form { position: relative; width: 220px; height: 40px; margin: 0; transition: width .2s ease-in-out; }
header .search-form:focus-within { width: 300px; }
header .search-form .form-control {
    width: 100%; height: 40px; padding: 0 12px 0 44px;
    border: 1px solid #fff; background: transparent; color: #fff;
    font-size: 14px; font-weight: 600; line-height: 38px; text-transform: none; box-shadow: none;
}
header .search-form .form-control::placeholder { color: #fff; font-weight: 600; opacity: 1; text-transform: none; }
header .search-form .form-control:focus { background: #fff; border-color: #fff; color: var(--b-ink); box-shadow: none; }
header .search-form .form-control:focus::placeholder { color: var(--b-alt); }
header .search-form svg.search-ico {
    position: absolute; z-index: 2; top: 9px; left: 12px; width: 22px; height: 22px;
    color: #fff; cursor: pointer; transition: color .2s ease;
}
header .search-form:focus-within svg.search-ico { color: var(--b-ink); }
header .search-form .search-spinner {
    display: none; position: absolute; z-index: 3; top: 10px; left: 12px; width: 20px; height: 20px;
    border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%;
    animation: b-hd-spin .7s linear infinite; pointer-events: none;
}
header .search-form:focus-within .search-spinner { border-color: rgba(14, 19, 31, .2); border-top-color: var(--b-ink); }
header .search-form.is-loading .search-spinner { display: block; }
header .search-form.is-loading svg.search-ico { opacity: 0; }
@keyframes b-hd-spin { to { transform: rotate(360deg); } }

/* hledání (mobil / tablet): ikona otevírá off-canvas */
.search-mobile-ico { width: 24px; height: 24px; cursor: pointer; }
.search-mobile-ico svg { display: block; width: 100%; height: 100%; }
header .search.d-lg-none { margin-right: 8px; align-items: center; justify-content: center; width: 40px; height: 44px; }

/* ---------- ikony účet a košík ---------- */
header .bottom-navbar .icon { position: relative; width: 24px; height: 24px; }
header .bottom-navbar .icon svg { display: block; width: 100%; height: 100%; }
header .bottom-navbar .desc { display: none !important; }
header .bottom-navbar .col-auto > a.d-flex { color: #fff; }
header .header-cart { position: relative; }
header .hb-cart-wrap { position: relative; }
header .cart-quantity {
    position: absolute; top: -8px; right: -10px; display: flex; align-items: center; justify-content: center;
    min-width: 16px; height: 16px; padding: 0 3px; border-radius: 50%;
    background: var(--b-yellow); color: var(--b-ink); font-size: 10px; font-weight: 700; line-height: 1; text-align: center;
}
.hb-burger { width: 44px; height: 44px; margin-left: 4px; color: #fff; cursor: pointer; }
.hb-burger svg { width: 28px; height: 28px; }

/* ==========================================================================
   MEGA MENU (desktop)
   ========================================================================== */
.tree-menu-container { position: static; flex: 0 0 0; width: 0; height: 0; margin: 0; padding: 0; overflow: visible; }

.tree-menu-container .tree-menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1040;
    background: #fff; color: var(--b-ink);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .15s ease, visibility 0s linear .15s;
}
.tree-menu-container .tree-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.tree-menu:empty, .tree-menu:not(:has(.tree-col)) { display: none; }

/* tmavý overlay pod panelem (neklikatelný, klik mimo panel menu zavře JS) */
.tree-menu-container .tree-menu::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh;
    background: rgba(14, 19, 31, .3); pointer-events: none;
}

.tree-panel {
    display: flex; flex-direction: column;
    max-width: none; max-height: calc(100vh - var(--b-header-h) - 24px); margin: 0;
    padding: 36px var(--hd-x) 28px; overflow-y: auto;
}
.tree-cols { display: flex; flex-wrap: wrap; gap: 32px 0; }
.tree-col { display: block; flex: 0 0 308px; width: 308px; max-width: 100%; min-width: 0; padding-right: 24px; }
.tree-col-img { display: none; }
.tree-col-body { min-width: 0; }

/* nadpis sloupce – "extended" */
.tree-menu-container .tree-menu a.tree-col-title {
    display: block; margin: 0 0 14px; color: var(--b-ink);
    font-size: 16px; font-weight: 500; font-stretch: 125%; line-height: 20px; text-transform: uppercase;
    overflow-wrap: anywhere;
}
.tree-menu-container .tree-menu a.tree-col-title:hover { text-decoration: underline; text-underline-offset: 3px; }

.tree-links { margin: 0; padding: 0; list-style: none; }
.tree-links li { margin: 0; }
.tree-menu-container .tree-menu .tree-links a {
    display: block; padding: 9px 0; color: var(--b-ink);
    font-size: 18px; font-weight: 400; line-height: 25px; overflow-wrap: anywhere;
}
.tree-menu-container .tree-menu .tree-links a:hover,
.tree-menu-container .tree-menu .tree-links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* "Zobrazit vše" jako poslední položka */
.tree-head { display: none; }
.tree-menu-container .tree-menu a.tree-all {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 0; color: var(--b-ink);
    font-size: 18px; font-weight: 700; line-height: 25px;
}
.tree-menu-container .tree-menu a.tree-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.tree-all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }

/* ==========================================================================
   NAŠEPTÁVAČ (bootstrap3-typeahead: ul.typeahead.dropdown-menu)
   ========================================================================== */
.typeahead.dropdown-menu {
    position: fixed !important; top: var(--b-header-h) !important; right: 0 !important; left: auto !important;
    z-index: 1040; width: min(502px, 100vw); max-height: calc(100vh - var(--b-header-h)); overflow-y: auto;
    margin: 0; padding: 8px 0; border: 0; border-radius: 0; background: var(--b-panel);
    box-shadow: 0 8px 24px rgba(14, 19, 31, .18); transform: none !important;
}
.typeahead.dropdown-menu > li > a.dropdown-item,
.typeahead.dropdown-menu > li > a {
    display: block; padding: 0; border: 0; background: transparent; color: var(--b-ink); white-space: normal;
}
.typeahead.dropdown-menu > li.active > a,
.typeahead.dropdown-menu > li > a:hover,
.typeahead.dropdown-menu > li > a:focus { background: #fff; color: var(--b-ink); }

.typeahead .produkt, .typeahead .kategorie { display: flex; align-items: center; gap: 16px; padding: 8px 24px; }
.typeahead .produkt .produkt-image {
    flex: 0 0 64px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    background: var(--b-tile);
}
.typeahead .produkt .produkt-image img { width: 100%; height: 100%; padding: 4px; object-fit: contain; mix-blend-mode: multiply; }
.typeahead .ac-body { flex: 1 1 auto; min-width: 0; }
.typeahead .produkt-name {
    font-size: 16px; font-weight: 700; line-height: 20px; text-transform: uppercase; letter-spacing: .02em;
}
.typeahead .ac-name { font-size: 16px; font-weight: 400; line-height: 22px; }
.typeahead .produkt-name strong, .typeahead .ac-name strong { font-weight: inherit; text-decoration: underline; text-underline-offset: 3px; }
.typeahead .kategorie { padding-top: 10px; padding-bottom: 10px; }
.typeahead .kategorie .ac-ico { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.typeahead .kategorie .ac-ico::after {
    content: ""; position: absolute; top: 3px; left: 2px; width: 8px; height: 8px;
    border-top: 2px solid var(--b-ink); border-right: 2px solid var(--b-ink); transform: rotate(45deg);
}
.typeahead .kategorie-path { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--b-alt) !important; }

/* ==========================================================================
   MINI-KOŠÍK (Views/Cart/Popup.cshtml; top nastavuje JS)
   ========================================================================== */
.hb-cart-panel {
    position: fixed; top: var(--b-header-h); right: 0; z-index: 1050;
    display: flex; flex-direction: column; width: min(420px, 100vw); max-height: calc(100vh - var(--b-header-h));
    background: #fff; color: var(--b-ink); box-shadow: 0 8px 24px rgba(14, 19, 31, .2);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .15s ease, visibility 0s linear .15s;
}
.hb-cart-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.hb-cart-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* most pro myš */

.hb-cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; }
.hb-cart-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 24px; }
.hb-cart-count { font-size: 14px; color: var(--b-alt); }

.hb-cart-ship { padding: 12px 24px; background: var(--b-teal); font-size: 14px; line-height: 20px; }
.hb-cart-ship strong { font-weight: 700; }
.hb-cart-ship-bar { display: block; height: 4px; margin-top: 8px; background: rgba(14, 19, 31, .15); }
.hb-cart-ship-bar > span { display: block; height: 100%; background: var(--b-ink); transition: width .3s ease; }

.hb-cart-items { flex: 1 1 auto; min-height: 0; margin: 0; padding: 0 24px; overflow-y: auto; list-style: none; }
.hb-cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--b-line); }
.hb-cart-item:last-child { border-bottom: 0; }
.hb-cart-img { display: block; aspect-ratio: 1 / 1; background: var(--b-tile); }
.hb-cart-img img { display: block; width: 100%; height: 100%; padding: 6px; object-fit: contain; mix-blend-mode: multiply; }
.hb-cart-name { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; line-height: 18px; letter-spacing: .02em; text-transform: uppercase; }
.hb-cart-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.hb-cart-meta { margin: 0; font-size: 12px; line-height: 18px; color: var(--b-alt); }
.hb-cart-meta b { font-weight: 500; color: var(--b-ink); }
.hb-cart-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.hb-cart-price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.hb-cart-remove {
    padding: 0; border: 0; background: none; color: var(--b-ink); cursor: pointer;
    font-size: 12px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px;
}
.hb-cart-remove:hover { text-decoration-thickness: 2px; }
.hb-cart-remove:disabled { opacity: .4; cursor: default; }

.hb-cart-foot { padding: 16px 24px 24px; border-top: 1px solid var(--b-line); }
.hb-cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; font-size: 16px; font-weight: 700; }
.hb-cart-total strong { font-size: 20px; }
.hb-cart-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
.hb-cart-actions .btn { width: 100%; min-width: 0; }
@media (max-width: 767px) { .hb-cart-panel { display: none; } }

/* ==========================================================================
   MOBILNÍ MENU (off-canvas, Views/Kategorizace/StromMobile.cshtml)
   ========================================================================== */
.hb-drawer.offcanvas { width: min(100vw, 400px); border: 0; background: #fff; color: var(--b-ink); }
.hb-drawer-top {
    display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between;
    height: 60px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--b-line);
}
.hb-drawer-title { margin: 0; font-size: 16px; font-weight: 500; font-stretch: 125%; line-height: 20px; letter-spacing: 0; text-transform: uppercase; }
.hb-drawer-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--b-ink); cursor: pointer; }
.hb-drawer-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.hb-drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

.hb-drawer-search { display: flex; margin: 16px 20px 8px; border: 1px solid var(--b-field); }
.hb-drawer-search:focus-within { border-color: var(--b-blue); box-shadow: 0 0 0 1px var(--b-blue); }
.hb-drawer-search input {
    flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border: 0; background: transparent; outline: 0;
    color: var(--b-ink); font-family: var(--b-font); font-size: 16px; text-transform: none;
}
.hb-drawer-search button { display: flex; align-items: center; justify-content: center; width: 46px; border: 0; background: var(--b-ink); color: #fff; cursor: pointer; }
.hb-drawer-search button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }

.hb-drawer-nav { margin: 0; padding: 8px 0 0; list-style: none; }
.hb-acc { border-bottom: 1px solid var(--b-line); }
.hb-acc-row { display: flex; align-items: stretch; }
.hb-acc-link {
    display: flex; flex: 1 1 auto; align-items: center; min-height: 56px; padding: 8px 20px;
    color: var(--b-ink); font-size: 16px; font-weight: 700; line-height: 20px; text-transform: uppercase; letter-spacing: .02em;
}
.hb-acc-toggle {
    display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 56px; padding: 0;
    border: 0; background: none; color: var(--b-ink); cursor: pointer;
}
.hb-acc-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform .2s ease; }
.hb-acc.is-open > .hb-acc-row > .hb-acc-toggle svg { transform: rotate(180deg); }
.hb-acc-link:active, .hb-acc-toggle:active { background: var(--b-panel); }

/* plynulé rozbalení (grid 0fr -> 1fr) */
.hb-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.hb-acc-panel > .hb-acc-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear .25s; }
.hb-acc.is-open > .hb-acc-panel { grid-template-rows: 1fr; }
.hb-acc.is-open > .hb-acc-panel > .hb-acc-inner { visibility: visible; transition-delay: 0s; }

.hb-acc-lvl1 { background: var(--b-panel); }
.hb-acc-all { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--b-line); color: var(--b-ink); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.hb-acc-all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
.hb-sub { border-bottom: 1px solid var(--b-line); }
.hb-sub:last-child { border-bottom: 0; }
.hb-sub-link { display: flex; flex: 1 1 auto; align-items: center; min-height: 48px; padding: 8px 20px 8px 32px; color: var(--b-ink); font-size: 16px; font-weight: 500; line-height: 20px; }
.hb-sub .hb-acc-toggle { width: 52px; }
.hb-sub-links { margin: 0; padding: 0 0 8px; list-style: none; }
.hb-sub-links a { display: block; padding: 10px 20px 10px 48px; color: var(--b-ink); font-size: 14px; font-weight: 400; line-height: 20px; }
.hb-sub-links a:active { background: #fff; }
.hb-acc-link.is-here, .hb-sub-link.is-here, .hb-sub-links a.is-here { text-decoration: underline; text-underline-offset: 4px; }
.hb-sub-links a.is-here { font-weight: 700; }

.hb-drawer-extra { margin: 0; padding: 16px 0 32px; list-style: none; }
.hb-drawer-extra a, .hb-drawer-extra button {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 20px; border: 0; background: none;
    color: var(--b-ink); font-family: var(--b-font); font-size: 14px; font-weight: 400; line-height: 20px; text-align: left; cursor: pointer;
}
.hb-drawer-extra a:active, .hb-drawer-extra button:active { background: var(--b-panel); }
.hb-drawer-extra svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }

/* ==========================================================================
   COUNTRY SELECTOR (boční panel vpravo; top nastavuje JS přes --country-selector-top)
   ========================================================================== */
.country-selector-modal {
    top: var(--country-selector-top, var(--b-header-h)); height: calc(100% - var(--country-selector-top, var(--b-header-h)));
    padding-right: 0 !important; color: var(--b-ink);
}
html.country-selector-open { scrollbar-gutter: stable; }
body.modal-open.country-selector-open { overflow: hidden; padding-right: 0 !important; width: 100%; }
body.country-selector-open > header.fixed-top { padding-right: 0 !important; }

.modal-dialog.country-selector-dialog { height: 100%; width: min(100%, 460px); max-width: 460px; min-width: 0; margin: 0 0 0 auto; }
.country-selector-modal.fade .modal-dialog.country-selector-dialog { transform: translateX(40px); transition: transform .25s ease-out; }
.country-selector-modal.show .modal-dialog.country-selector-dialog { transform: none; }
.country-selector-dialog .modal-content { height: 100%; border: 0; }

.country-selector-header { align-items: flex-start; padding: 32px 32px 16px; border-bottom: 0; }
.country-selector-header .modal-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 24px; }
.country-selector-header p { margin: 0; font-size: 14px; line-height: 20px; color: var(--b-alt); }
.country-selector-header .btn-close { margin: -4px -8px 0 24px; box-shadow: none; }
.country-selector-header .btn-close:focus-visible { box-shadow: 0 0 0 2px var(--b-blue); }
.country-selector-body { padding: 8px 32px 48px; }

.country-selector-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.country-selector-lang-label { margin-right: 4px; color: var(--b-alt); }
.country-selector-lang-option {
    display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px;
    border: 1px solid var(--b-ink); color: var(--b-ink); font-weight: 700; text-decoration: none;
}
a.country-selector-lang-option:hover, a.country-selector-lang-option:focus-visible { background: var(--b-panel); color: var(--b-ink); }
.country-selector-lang-option.is-active { background: var(--b-ink); color: #fff; }

.country-selector-group { margin-top: 28px; }
.country-selector-group h3 {
    margin: 0 0 12px; font-size: 16px; font-weight: 500; font-stretch: 125%; line-height: 20px; letter-spacing: 0; text-transform: uppercase;
}
.country-selector-group ul { margin: 0; padding: 0; list-style: none; }
.country-selector-link {
    display: grid; grid-template-columns: 22px 24px minmax(0, 1fr); align-items: center; gap: 10px;
    min-height: 36px; padding: 4px 0; color: var(--b-ink); font-size: 16px; line-height: 22px; text-decoration: none;
}
.country-selector-link:hover, .country-selector-link:focus-visible { color: var(--b-ink); }
.country-selector-link:focus-visible { outline: 2px solid var(--b-blue); outline-offset: 2px; }
.country-selector-link:hover .country-selector-name,
.country-selector-link:focus-visible .country-selector-name,
.country-selector-link.is-current .country-selector-name { text-decoration: underline; text-underline-offset: 3px; }
.country-selector-link.is-current { font-weight: 700; }
.country-selector-link.is-own:not(.is-current) .country-selector-name { font-weight: 500; }
.country-selector-link.is-loading { opacity: .55; pointer-events: none; cursor: progress; }
.country-selector-current-marker { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.country-selector-link.is-current .country-selector-current-marker { background: var(--b-ink); }
.country-selector-flag { display: inline-block; width: 24px; height: 16px; background-size: cover; border: 1px solid var(--b-line); }
@media (max-width: 575.98px) {
    .modal-dialog.country-selector-dialog { width: 100%; max-width: none; }
    .country-selector-header { padding: 24px 20px 12px; }
    .country-selector-body { padding: 4px 20px 36px; }
}

/* ==========================================================================
   COOKIE LIŠTA A MODAL
   ========================================================================== */
.cookie-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; max-height: 85vh; overflow-y: auto;
    padding: 20px 0; background: #fff; color: var(--b-ink); box-shadow: 0 -4px 16px rgba(14, 19, 31, .14);
}
.cookie-bar #cookie-form { max-width: 1440px; margin: 0 auto; padding: 0 var(--b-gutter); }
.cookie-bar .div-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 48px; }
.cookie-bar .cookie-desc { flex: 1 1 420px; min-width: 0; }
.cookie-bar h2 { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 22px; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 20px; }
.cookie-bar .div-buttons { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; }
.cookie-bar .div-buttons .b-btn { height: 44px; min-width: 170px; font-size: 14px; }
@media (max-width: 767px) {
    .cookie-bar { padding: 16px 0; }
    .cookie-bar .div-buttons { flex-direction: column; width: 100%; }
    .cookie-bar .div-buttons .b-btn { width: 100%; }
}

#cookie-modal.modal-hide { display: none; }
#cookie-modal.modal-show { display: block; position: fixed; inset: 0; z-index: 10000; background: rgba(14, 19, 31, .5); }
#cookie-modal .modal-wrap {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: flex; flex-direction: column; width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 32px);
    overflow: hidden; background: #fff; box-shadow: 0 8px 32px rgba(14, 19, 31, .25);
}
#cookie-modal .cookie-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--b-line); }
#cookie-modal .cookie-header h4 { margin: 0; font-size: 20px; font-weight: 700; line-height: 24px; }
#cookie-modal .button-close { position: relative; width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
#cookie-modal .button-close::before, #cookie-modal .button-close::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; background: var(--b-ink);
}
#cookie-modal .button-close::before { transform: translate(-50%, -50%) rotate(45deg); }
#cookie-modal .button-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

#cookie-modal .cookie-checks { flex: 1 1 auto; min-height: 0; padding: 8px 24px; overflow-y: auto; }
#cookie-modal .toggle-p {
    position: relative; margin: 0; padding: 16px 72px 16px 28px; border-bottom: 1px solid var(--b-line); cursor: pointer; font-size: 14px;
}
#cookie-modal .toggle-p label { margin: 0; cursor: pointer; }
#cookie-modal .toggle-p label:nth-of-type(2) { font-size: 16px; }
#cookie-modal .toggle-p label:nth-of-type(2)::before {
    content: ""; position: absolute; top: 50%; left: 4px; width: 8px; height: 8px; margin-top: -6px;
    border: solid var(--b-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease;
}
#cookie-modal .toggle-p:has(+ p:not(.d-none)) label:nth-of-type(2)::before { transform: rotate(-135deg); margin-top: -2px; }
#cookie-modal .cookie-checks p { margin: 0; padding: 12px 4px 16px; border-bottom: 1px solid var(--b-line); font-size: 14px; line-height: 20px; }
#cookie-modal .cookie-checks input { position: absolute; visibility: hidden; }
#cookie-modal .toggle-p input + label {
    position: absolute; top: 50%; right: 8px; width: 44px; height: 24px; margin: -12px 0 0;
    border: 1px solid var(--b-ink); background: #fff; transition: background-color .2s ease;
}
#cookie-modal .toggle-p input + label::after {
    content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--b-ink); transition: transform .2s ease, background-color .2s ease;
}
#cookie-modal .toggle-p input:checked + label { background: var(--b-ink); }
#cookie-modal .toggle-p input:checked + label::after { background: #fff; transform: translateX(20px); }
#cookie-modal .toggle-p input:disabled + label { opacity: .5; cursor: default; }
#cookie-modal .div-buttons { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; padding: 16px 24px 24px; border-top: 1px solid var(--b-line); }
#cookie-modal .div-buttons .b-btn { flex: 1 1 180px; min-width: 0; }

/* ==========================================================================
   DROBEČKY
   ========================================================================== */
.breadcrumb { flex-wrap: wrap; align-items: center; font-size: 14px; line-height: 20px; }
.breadcrumb-item a { color: var(--b-ink); }
.breadcrumb-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb-item.active, .breadcrumb-item.active a { color: var(--b-alt); }
.breadcrumb-item + .breadcrumb-item { padding-left: 8px; }
.breadcrumb-item + .breadcrumb-item::before { padding-right: 8px; content: "/"; color: var(--b-alt); }
.breadcrumb-item.breadcrumb-sep { display: none; }
.breadcrumb-item i.fa { display: none; }

/* ==========================================================================
   HLAVIČKA POKLADNY (Views/Shared/HeaderCart.cshtml, layout bez plné navigace)
   ========================================================================== */
.hc-layout main { min-height: 60vh; padding-top: 0 !important; }
.hc-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--b-line); color: var(--b-ink); }
.hc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.hc-logo { display: block; width: 118px; color: var(--b-blue); }
.hc-logo svg { display: block; width: 100%; height: auto; fill: var(--b-blue); }
.hc-secure { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.hc-secure svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.hc-back { display: inline-flex; align-items: center; gap: 8px; color: var(--b-ink); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.hc-back:hover { color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; }
.hc-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
@media (max-width: 767px) { .hc-secure span { display: none; } .hc-header-inner { height: 60px; } }

@media (prefers-reduced-motion: reduce) {
    .size-switch__thumb, .hb-acc-panel, .hb-acc-toggle svg, .search-form { transition: none; }
}

/* nav: text přesně uprostřed lišty, podtržení je pruh 4px těsně pod textem (absolutně, nehýbe textem) */
header .header-menu-item > a.nav-link {
    display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start;
    height: 100%; padding: 0;
}
header .header-menu-item > a.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; top: calc(50% + 14px);
    display: block; width: auto; height: 4px; margin: 0;
    background: transparent; transform: none;
}
header .header-menu-item > a.nav-link:hover::after,
header .header-menu-item.active > a.nav-link::after { background: #fff; }

/* ==========================================================================
   SCROLL: bílá utility lišta zajede nahoru, modrá lišta zůstane (JS přidává .nav-scrolled)
   Posun přes "top" (ne transform), aby fixní potomci (našeptávač, mini-košík) zůstali správně ukotvení.
   ========================================================================== */
header { --hd-util: 40px; transition: top .3s ease-in-out; }
header.nav-scrolled { top: calc(-1 * var(--hd-util)) !important; }
header.nav-scrolled.hb-header-hover { top: 0 !important; }

/* větší text v bílé liště */
.top-navbar-blog-link { font-size: 15px; line-height: 20px; padding: 0 14px; }
.size-switch__label { font-size: 14px; line-height: 20px; color: var(--b-alt); }
.size-switch__track { height: 28px; }
.size-switch button { min-width: 40px; font-size: 14px; letter-spacing: .04em; }
.country-selector-trigger-lang { font-size: 15px; }
.country-selector-trigger img, .country-selector-trigger-flag { width: 26px; height: 18px; }

/* ==========================================================================
   VYHLEDÁVACÍ PANEL (js/search.js) – vyjede vpravo pod hlavičkou jako na Brooks
   ========================================================================== */
.b-search[hidden] { display: none; }
.b-search { position: fixed; inset: 0; z-index: 1060; pointer-events: none; }
.b-search__overlay { position: fixed; left: 0; right: 0; bottom: 0; top: var(--b-header-h); background: rgba(14, 19, 31, .3); pointer-events: auto; }
.b-search__panel {
    position: fixed; right: 0; bottom: 0; top: var(--b-header-h);
    width: 502px; max-width: 100vw; overflow-y: auto; overscroll-behavior: contain;
    background: var(--b-panel); box-shadow: -8px 0 24px rgba(14, 19, 31, .18);
    pointer-events: auto; animation: b-search-in .2s ease-out;
}
@keyframes b-search-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.b-search__body { min-height: 120px; padding-bottom: 32px; }
.b-search__sec { padding: 24px 48px 8px; }
.b-search__sec--white { padding-bottom: 20px; background: #fff; }
.b-search__sec h3 { margin: 0 0 16px; color: var(--b-alt); font-size: 16px; }
.b-search__sec ul { margin: 0; padding: 0; list-style: none; }
.b-search__sugg a { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; line-height: 22px; }
.b-search__sugg svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--b-ink); stroke-width: 2.2; stroke-linecap: round; }
.b-search__sugg b { font-weight: 700; }
.b-search__prod li + li { margin-top: 4px; }
.b-search__prod a, .b-search__cat a { display: flex; align-items: center; gap: 20px; padding: 10px 0; }
.b-search__prod a:hover strong, .b-search__cat a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.b-search__img { flex: none; width: 64px; height: 64px; background: #fff; }
.b-search__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.b-search__txt { display: flex; flex-direction: column; min-width: 0; }
.b-search__txt strong { font-family: var(--b-font-cond); font-size: 16px; font-weight: 700; line-height: 20px; text-transform: uppercase; }
.b-search__txt strong b { font-weight: 700; color: var(--b-blue); }
.b-search__txt small { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--b-alt); }
.b-search__all { padding: 20px 48px 0; }
.b-search__all .b-btn--block { display: flex; width: 100%; }
.b-search__msg { margin: 0; padding: 32px 48px; font-size: 16px; color: var(--b-alt); }
@media (max-width: 991px) {
    .b-search__panel { width: 100vw; }
    .b-search__sec, .b-search__all, .b-search__msg { padding-left: 16px; padding-right: 16px; }
}

/* pole hledání v liště: tlačítko "Smazat ✕" */
.b-search-clear {
    position: absolute; z-index: 4; top: 0; right: 8px; bottom: 0; display: none; align-items: center; gap: 6px;
    padding: 0 4px; border: 0; background: transparent; color: #fff; font-size: 12px; font-weight: 500; line-height: 1; cursor: pointer;
}
.b-search-clear svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
form.has-value .b-search-clear { display: inline-flex; }
form.has-value .form-control { padding-right: 76px; }
header .search-form:focus-within .b-search-clear { color: var(--b-ink); }
header .search-form.is-open { width: 300px; }
.hb-drawer-search .b-search-clear { color: var(--b-ink); right: 56px; }

/* nav: větší a tučnější (Brooks GT America Bold působí o stupeň větší než jeho Roboto ekvivalent) */
header .header-menu-item > a.nav-link { font-size: 17px; font-weight: 800; line-height: 22px; letter-spacing: .68px; }
header .header-menu-item > a.nav-link::after { top: calc(50% + 15px); }

/* ==========================================================================
   MEGA MENU – položky bez podkategorií = vycentrované dlaždice s fotkou (Brooks spotlight)
   ========================================================================== */
.tree-cols--tiles { justify-content: center; gap: 32px; }
.tree-cols--tiles .tree-col,
.tree-col--tile { flex: 0 0 auto; width: auto; padding: 0; text-align: center; }
.tree-col--tile .tree-col-img { display: block; width: 280px; max-width: 100%; aspect-ratio: 1 / 1; margin: 0 auto 14px; background: #f8f8f8; overflow: hidden; }
.tree-col--tile .tree-col-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tree-col--tile .tree-col-body { text-align: center; }
.tree-menu-container .tree-menu .tree-col--tile a.tree-col-title { display: inline-block; margin: 0; font-size: 20px; line-height: 26px; letter-spacing: .02em; }
.tree-cols--tiles + .tree-head, .tree-panel:has(.tree-cols--tiles) { text-align: center; }

/* ==========================================================================
   MEGA MENU – vždy na střed, pro jakýkoli počet sloupců i odkazů
   (platí pro běžné sloupce s odkazy i pro dlaždice; sloupce se zalamují a řádky zůstávají vycentrované)
   ========================================================================== */
.tree-panel { align-items: center; }
.tree-cols,
.tree-cols--tiles { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 32px 72px; width: 100%; }
.tree-col,
.tree-col--tile { flex: 0 1 auto; width: auto; min-width: 200px; max-width: 320px; padding: 0; text-align: center; }
.tree-col-body { text-align: center; }
.tree-links { text-align: center; }
.tree-menu-container .tree-menu a.tree-col-title { display: inline-block; text-align: center; }
.tree-menu-container .tree-menu .tree-links a { display: inline-block; text-align: center; }

/* hovery: podtržení u titulků i odkazů, dlaždice s fotkou jemně ztmavne */
.tree-menu-container .tree-menu a.tree-col-title:hover,
.tree-menu-container .tree-menu a.tree-col-title:focus-visible,
.tree-menu-container .tree-menu .tree-links a:hover,
.tree-menu-container .tree-menu .tree-links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.tree-col-img { transition: opacity .2s ease-in-out; }
.tree-col:hover .tree-col-img { opacity: .85; }
.tree-menu-container .tree-menu .tree-links a { transition: none; }

/* ==========================================================================
   MEGA MENU – hodnoty a hover podle Brooks
   >= 1700 px: titulky i odkazy 20 px, rozteč 54 px, hover odkazu = tučné písmo, hover titulku = šedá #707070
   ========================================================================== */
.tree-cols, .tree-cols--tiles { gap: 28px 56px; max-width: 1100px; margin: 0 auto; }
.tree-col, .tree-col--tile { min-width: 180px; max-width: 40ch; padding: 0; }

.tree-menu-container .tree-menu a.tree-col-title { font-weight: 500; color: var(--b-ink); text-decoration: none; margin-bottom: 20px; }
.tree-menu-container .tree-menu .tree-links a { font-weight: 500; line-height: 26px; padding: 0; margin-bottom: 18px; }
.tree-links li:last-child a { margin-bottom: 0; }

/* hover: jako Brooks – titulek zešedne, odkaz zesílí (bez podtržení) */
.tree-menu-container .tree-menu a.tree-col-title:hover,
.tree-menu-container .tree-menu a.tree-col-title:focus-visible { color: var(--b-alt); text-decoration: none; }
.tree-menu-container .tree-menu .tree-links a:hover,
.tree-menu-container .tree-menu .tree-links a:focus-visible { color: var(--b-ink); font-weight: 800; text-decoration: none; }

@media (min-width: 1700px) {
    .tree-menu-container .tree-menu a.tree-col-title { font-size: 20px; line-height: 32px; margin-bottom: 22px; }
    .tree-menu-container .tree-menu .tree-links a { font-size: 20px; line-height: 32px; margin-bottom: 22px; }
    .tree-links li:last-child a { margin-bottom: 0; }
    .tree-cols, .tree-cols--tiles { gap: 28px 64px; }
}

/* ==========================================================================
   MEGA MENU – FINÁLNĚ přesně jako Brooks (změřeno skutečným hoverem na 1920 px)
   odkazy 18px/22px, titulky 16px extended 500 uppercase, text sloupců zleva, CELÁ SKUPINA vycentrovaná,
   hover = jen barva #707070 (přechod .2s), žádná změna váhy ani podtržení
   ========================================================================== */
.tree-cols, .tree-cols--tiles { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px 0; max-width: 1400px; margin: 0 auto; }
.tree-col, .tree-col--tile { flex: 0 1 auto; width: auto; min-width: 160px; max-width: 40ch; padding: 0 28px 0 0; text-align: left; }
.tree-col:last-child, .tree-col--tile:last-child { padding-right: 0; }
.tree-col-body, .tree-links { text-align: left; }

.tree-menu-container .tree-menu a.tree-col-title {
    display: block; margin: 0 0 20px; font-size: 16px; line-height: 20px; font-weight: 500; font-stretch: 125%;
    text-transform: uppercase; letter-spacing: 0; color: var(--b-ink); text-decoration: none; text-align: left;
    transition: color .2s;
}
.tree-menu-container .tree-menu .tree-links a {
    display: block; margin: 0 0 21px; padding: 0; font-size: 18px; line-height: 22px; font-weight: 500;
    color: var(--b-ink); text-decoration: none; text-align: left; transition: color .2s;
}
.tree-links li:last-child a { margin-bottom: 0; }

.tree-menu-container .tree-menu a.tree-col-title:hover,
.tree-menu-container .tree-menu a.tree-col-title:focus-visible,
.tree-menu-container .tree-menu .tree-links a:hover,
.tree-menu-container .tree-menu .tree-links a:focus-visible { color: var(--b-alt); font-weight: 500; text-decoration: none; }

/* dlaždice (položky bez podkategorií) – stejné chování, titulek vycentrovaný pod fotkou */
.tree-col--tile { text-align: center; }
.tree-col--tile .tree-col-body { text-align: center; }
.tree-menu-container .tree-menu .tree-col--tile a.tree-col-title { display: inline-block; font-size: 18px; text-align: center; margin: 0; }

@media (min-width: 1700px) {
    .tree-menu-container .tree-menu a.tree-col-title { font-size: 16px; line-height: 20px; margin-bottom: 20px; }
    .tree-menu-container .tree-menu .tree-links a { font-size: 18px; line-height: 22px; margin-bottom: 21px; }
    .tree-cols, .tree-cols--tiles { gap: 28px 0; }
}

/* ==========================================================================
   MEGA MENU – odstup sloupců, dělicí linky, větší písmo, karty pro položky bez podkategorií
   ========================================================================== */
.tree-panel { padding-top: 44px; padding-bottom: 40px; }
.tree-cols, .tree-cols--tiles { gap: 36px 0; }

/* běžné sloupce: široký odstup + jemná svislá linka mezi nimi */
.tree-col { padding: 0 56px; }
.tree-col:first-child { padding-left: 0; }
.tree-col:last-child { padding-right: 0; }
.tree-col + .tree-col { border-left: 1px solid var(--b-line); }

.tree-menu-container .tree-menu a.tree-col-title { font-size: 18px; line-height: 24px; margin-bottom: 24px; }
.tree-menu-container .tree-menu .tree-links a { font-size: 20px; line-height: 26px; margin-bottom: 20px; }
@media (min-width: 1700px) {
    .tree-menu-container .tree-menu a.tree-col-title { font-size: 18px; line-height: 24px; margin-bottom: 24px; }
    .tree-menu-container .tree-menu .tree-links a { font-size: 20px; line-height: 26px; margin-bottom: 20px; }
}

/* položky bez podkategorií (a bez fotky) = samostatné karty s mezerou, aby bylo hned poznat, kde která začíná */
.tree-cols--tiles { gap: 24px; }
.tree-cols--tiles .tree-col--tile,
.tree-col--tile { min-width: 300px; padding: 28px 40px; border: 1px solid var(--b-line); border-left: 1px solid var(--b-line); text-align: center; transition: border-color .2s ease; }
.tree-cols--tiles .tree-col--tile:last-child { padding-right: 40px; }
.tree-col--tile:hover { border-color: var(--b-ink); }
.tree-col--tile:has(.tree-col-img) { padding: 0; border: 0; min-width: 0; }
.tree-menu-container .tree-menu .tree-col--tile a.tree-col-title { display: block; margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; text-align: center; }
.tree-col--tile .tree-col-img { margin-bottom: 14px; }
