/* ═══════════════════════════════════════════════════════════════════════════
   ARMY-SURPLUS.CZ — sloučené a pročištěné CSS
   Vznik: custom_css.css (původní grafik) + army-visual.css (nádstavba)
   Vložit do: Shoptet › Vzhled › Vlastní CSS  (jako JEDINÝ soubor)

   PŘED NASAZENÍM:
   1) Zálohuj si oba stávající soubory mimo Shoptet (admin nemá revize).
   2) Vypni / smaž oba původní soubory. Tento je nahrazuje celé, ne doplňuje.
   3) Zkontroluj, že je načtený Barlow (viz sekce 1). Bez něj se použije
      Rajdhani jako fallback — vypadá to jinak, ale ne rozbitě.

   Změny označené [FIX] řeší konkrétní chybu.
   Změny označené [TEST] je potřeba po nasazení ověřit v prohlížeči.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════
   1. FONTY
   ═══════════════════════════════════════════════════════════════════════════ */

/* Rajdhani — hostovaný lokálně, ponecháno z původního souboru.
   Slouží jako fallback pro Barlow, aby web nespadl na systémový font. */

@font-face {
    font-family: 'rajbold';
    src: url('/user/documents/fonts/rajdhani-bold-webfont.woff2') format('woff2'),
         url('/user/documents/fonts/rajdhani-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'rajreg';
    src: url('/user/documents/fonts/rajdhani-regular-webfont.woff2') format('woff2'),
         url('/user/documents/fonts/rajdhani-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'rajsemi';
    src: url('/user/documents/fonts/rajdhani-semibold-webfont.woff2') format('woff2'),
         url('/user/documents/fonts/rajdhani-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ico';
    src: url('/user/documents/fonts/Ico.ttf?i5ga0y') format('truetype'),
         url('/user/documents/fonts/Ico.woff?i5ga0y') format('woff'),
         url('/user/documents/fonts/Ico.svg?i5ga0y#Ico') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* POZOR: Barlow ani Barlow Condensed nebyly v žádném ze souborů načtené.
   Pokud je nemáš v HTML kódech jako <link>, přidej do HTML kódy › hlavička:

   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700&family=Barlow+Condensed:wght@600;700;900&display=swap" rel="stylesheet">

   Nebo Barlow z proměnných níž vyhoď a jeď na Rajdhani. */

/* Pomocné třídy na Rajdhani — pokud je někde v HTML obsahu, nech je. */
.rajbold { font-family: 'rajbold', sans-serif !important; }
.rajreg  { font-family: 'rajreg', sans-serif !important; }
.rajsemi { font-family: 'rajsemi', sans-serif !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   2. PROMĚNNÉ — jedno místo pro celou paletu
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* fonty — Rajdhani jako fallback, aby při nenačtení Barlow nespadl na Arial */
    --font-body:    'Barlow', 'rajreg', sans-serif;
    --font-display: 'Barlow Condensed', 'rajsemi', sans-serif;

    /* zelená (brand, CTA) */
    --green-700: #3d4a2e;   /* tmavá, texty */
    --green-600: #4a5c2a;   /* aktivní stavy, odkazy */
    --green-500: #4a7a1e;   /* primární tlačítko */
    --green-400: #5a9022;   /* primární tlačítko hover */
    --green-accent: #6b7f40;

    /* zlatá / béžová (akcenty, linky) */
    --gold-500: #c8a96e;
    --gold-400: #d4c199;
    --gold-700: #ba8c42;    /* původní "brown" tlačítko */
    --gold-800: #997033;

    /* neutrály */
    --ink-900: #1a1f15;     /* nejtmavší text */
    --ink-800: #1a1a1a;
    --ink-700: #2f3a22;
    --ink-600: #333333;
    --ink-500: #4d4d4d;
    --grey-500: #6b7460;    /* sekundární text */
    --grey-400: #808080;
    --grey-300: #b3b3b3;

    /* podklady a linky */
    --bg-page:    #ffffff;
    --bg-soft:    #f9f6f0;  /* béžový podklad boxů */
    --bg-soft-2:  #f4f1e9;  /* podklad rozbalené kategorie */
    --bg-soft-3:  #ece7db;  /* hover podkategorie */
    --bg-active:  #e8f0da;  /* aktivní kategorie */
    --line-500:   #d4cbb8;  /* výraznější linka / rámeček */
    --line-300:   #e8e2d8;  /* jemná linka */
    --line-200:   #e6e6e6;  /* linky v tabulkách (legacy) */

    /* stavy */
    --state-ok:     #009901;
    --state-error:  #c1272d;
    --flag-new:     #00a99d;
    --flag-sale:    #cccccc;

    --radius: 12px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   3. IKONOVÝ FONT
   [FIX] Původně: `i { font-family:'Ico' !important }` — globálně na VŠECH <i>.
   Kvůli tomu musel grafik vracet Roboto košíkovému počítadlu a nešlo měnit
   ikony na tlačítkách. Teď je to scopnuté na prvky s třídou i_c*.
   [TEST] Zkontroluj ikony v hlavičce, breadcrumbs, patičce a v košíku.
   Kdyby něco zmizelo, zapni fallback na konci sekce.
   ═══════════════════════════════════════════════════════════════════════════ */

[class*="i_c"],
[class*="i_c"]::before,
.i_c::before {
    font-family: 'Ico' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* FALLBACK — kdyby chyběly ikony, odkomentuj tento řádek:
i, .i_c:before { font-family: 'Ico' !important; font-style: normal; line-height: 1; }
*/

.i_c_email::before       { content: "\e900"; color: var(--grey-400); }
.i_c_tel::before         { content: "\e901"; color: var(--grey-400); }
.i_c_cart::before        { content: "\e902"; }
.i_c_doublearrow::before { content: "\e903"; }
.i_c_arrow::before       { content: "\e904"; }
.i_c_vyprodano::before   { content: "\e905"; color: var(--state-error); }
.i_c_home::before        { content: "\e906"; color: var(--grey-300); }
.i_c_slim_arrow::before  { content: "\e907"; color: #ccc; }
.i_c_common_1::before    { content: "\e908"; }
.i_c_common_2::before    { content: "\e909"; }
.i_c_common_3::before    { content: "\e90a"; }
.i_c_common_4::before    { content: "\e90b"; }
.i_c_common_5::before    { content: "\e90c"; }
.i_c_common_6::before    { content: "\e90d"; }
.i_c_cross::before       { content: "\e910"; color: var(--grey-300); }
.i_c_percent::before     { content: "\e911"; color: #ccc; }
.i_c_free::before        { content: "\e912"; color: #c49c56; }
.i_c_sale_5::before      { content: "\e913"; color: #c49c56; }
.i_c_sale_7::before      { content: "\e914"; color: #c49c56; }
.i_c_success .path1::before { content: "\e915"; color: rgb(26, 26, 26); }
.i_c_success .path2::before { content: "\e916"; margin-left: -1em; color: rgb(166, 182, 55); }


/* ═══════════════════════════════════════════════════════════════════════════
   4. ZÁKLADNÍ TYPOGRAFIE
   Záměrně nahoře, aby ji komponenty níž mohly přebít bez !important.
   ═══════════════════════════════════════════════════════════════════════════ */

body,
p, span, td, th,
input, select, textarea {
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}

h1 {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    line-height: 1.05 !important;
}

h2 { letter-spacing: .03em !important; }

h3, h4, h5, h6 { letter-spacing: .06em !important; }

/* [FIX] Wildcard selektory [class*="label"] / [class*="title"] odstraněny.
   Chytaly i .filter-label, .price-label, .top-products-name apod. a rozhazovaly
   je. Nahrazeno konkrétním výčtem. */
.category-list-title,
.cat-group-label,
.category-title,
.products-related-header {
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--line-200);
    margin: 1em 0;
    padding: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   5. UTILITY
   ═══════════════════════════════════════════════════════════════════════════ */

.lazyload,
.lazyloading { opacity: 0; }

.lazyloaded {
    opacity: 1;
    transition: opacity 300ms;
}

.absolute_link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 0;
}

.no_padding_left   { padding-left: 0; }
.no_padding_right  { padding-right: 0; }
.no_margin_bottom  { margin-bottom: 0; }
.margin_bottom_3em { margin-bottom: 3em; }
.larger_margin_top { margin-top: 60px; }
.align_center      { text-align: center; }
.transform_none    { text-transform: none !important; }
.spacefix          { font-size: 0; }
.color_dark        { color: var(--ink-800) !important; }
.color_brown       { color: var(--gold-700) !important; }
.bg_light          { background-color: rgba(153, 153, 153, .1); }

.inline_blocks > * {
    display: inline-block !important;
    float: none !important;
}

.js_cover {
    position: absolute;
    opacity: 0;
    width: 0;
}

.js_cover_parent_done {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.link_after::after {
    font-family: 'Ico';
    content: "\e903";
    color: #000;
    font-size: 10px;
    display: inline-block;
    margin-left: 5px;
}

.link_underline {
    text-transform: uppercase;
    text-decoration: underline;
    color: var(--green-600);
}

.after_line {
    position: relative;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: inline-block;
    padding-right: 8px;
}

.after_line::after {
    content: "";
    border-bottom: 1px solid;
    height: 1px;
    position: absolute;
    top: .5em;
    left: 100%;
    width: 9999px;
    z-index: 0;
    color: #e5e5e5;
}


/* ═══════════════════════════════════════════════════════════════════════════
   6. LAYOUT WRAPPERY
   [FIX] `overflow-y: hidden` odstraněno. Podle CSS spec platí, že když je
   jedna osa `hidden` a druhá `visible`, ta druhá se přepočítá na `auto` —
   z wrapperu se stal horizontální scroll kontejner. To spolu s bordery na
   #navigation způsobovalo rozbitou hlavičku na mobilu.
   ═══════════════════════════════════════════════════════════════════════════ */

.overall-wrapper {
    position: relative;
}

/* Dekorativní pozadí po stranách (bg_left.jpg / bg_right.jpg) zůstává vypnuté.
   Mělo z-index:-1 a rozbíjelo stacking context rozbalovacího menu.
   Kdybys ho chtěl zpátky, řeš to přes samostatný element, ne pseudo-element
   na wrapperu. */
.overall-wrapper::before,
.overall-wrapper::after {
    content: none !important;
}

.content-wrapper {
    background-color: var(--bg-page);
    box-sizing: border-box;
}

/* [FIX] #navigation měl border-left/right: 10px solid #fff. Bez box-sizing
   přetékal viewport na mobilu. Border měl jen kosmetickou funkci nad tím
   dekorativním pozadím, které je vypnuté — takže je zbytečný. */
#navigation {
    background-color: var(--bg-page);
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
}

/* Bílý rámeček zůstává jen na desktopu, jako padding místo borderu. */
@media (min-width: 992px) {
    .content-wrapper {
        border-left: 10px solid #fff;
        border-right: 10px solid #fff;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   7. HLAVIČKA
   [FIX] `#header { opacity: 0 }` + `#header.loaded { opacity: 1 }` odstraněno.
   Když se JS, které přidává .loaded, nespustí (chyba jinde na stránce,
   blokovaný skript, pomalé připojení), hlavička zůstane NAVŽDY neviditelná.
   Fade-in nestojí za riziko prázdné hlavičky.
   ═══════════════════════════════════════════════════════════════════════════ */

#header,
.header {
    background-color: var(--bg-page) !important;
    border-bottom: 1px solid var(--line-500) !important;
    box-shadow: 0 1px 4px rgba(26, 31, 21, .07) !important;
}

/* ── Utility bar ─────────────────────────────────────── */

.header-top {
    background-color: var(--bg-page) !important;
    border-bottom: 1px solid var(--line-300) !important;
    color: var(--grey-500) !important;
    font-size: 14px !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

.header-top-inner {
    max-width: 1418px !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: none !important;
}

.header-top a          { color: var(--grey-500) !important; }
.header-top a:hover    { color: var(--green-600) !important; }

/* ── Košík v hlavičce ────────────────────────────────── */

.btn.cart-count::before,
a.btn.cart-count::before {
    font-family: 'Ico' !important;
    content: "\e902";
    color: var(--ink-800);
}

.header-top .cart-count span {
    color: var(--ink-800);
    font-weight: 700;
    font-size: 21px;
}

.header-top .btn.cart-count::before { margin-right: 17px; }

.header-top .btn.cart-count i {
    font-weight: 700;
    font-family: var(--font-body);
    position: absolute;
    left: 26px;
    top: -10px;
    width: 21px;
    height: 21px;
    padding: 2px;
    font-size: 13px;
    font-style: normal;
    line-height: 15px;
    border-radius: 50%;
}

/* ── Vyhledávání ─────────────────────────────────────── */

.search {
    width: min(100%, 600px) !important;
    flex: 1 !important;
    margin: 0 clamp(.5rem, 2vw, 1.5rem) !important;
}

.search input { width: 100% !important; }

/* ── Top navigation bar ──────────────────────────────── */

.top-navigation-bar,
.top-navigation-bar-menu,
.top-navigation-contacts,
.top-navigation-menu,
.top-navigation-tools.top-navigation-tools--language {
    background-color: var(--bg-soft) !important;
}

.top-navigation-bar-menu li a,
.top-navigation-bar-menu li a b {
    text-transform: none;
    color: var(--ink-600);
    font-weight: 400;
    font-size: 13px;
}

.top-navigation-bar-menu li a:hover,
.top-navigation-bar-menu li a:hover b,
.top-navigation-bar-menu li a.active,
.top-navigation-bar-menu li a.active b {
    color: var(--green-600);
}

.top-navigation-bar-menu li::before { content: none; }

.top-navigation-bar a,
.top-navigation-bar .dropdown button {
    color: var(--grey-400);
}

.top-navigation-contacts a.project-email::before {
    font-family: 'Ico' !important;
    content: "\e900";
    font-size: 10px;
}

.top-navigation-contacts a.project-phone::before {
    font-family: 'Ico' !important;
    content: "\e901";
    font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   8. HLAVNÍ NAVIGACE
   ═══════════════════════════════════════════════════════════════════════════ */

.navigation-wrapper {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto;
}

.navigation-in {
    background-color: var(--bg-page) !important;
}

.fitted .navigation-in ul {
    justify-content: center !important;
}

/* [FIX] Původní tmavé oddělovače (#4d4d4d) na světlém pozadí byly vidět jako
   náhodné čárky. Sjednoceno na jemnou linku. */
.navigation-in > ul > li {
    border-left: 0 !important;
    border-top-color: var(--line-300);
    border-bottom-color: var(--line-300);
}

.navigation-in > ul > li > a > b {
    font-family: var(--font-display) !important;
    color: var(--green-700) !important;
    font-weight: 700 !important;
    font-size: 15px;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    transition: color .2s !important;
}

.navigation-in > ul > li > a:hover > b,
.navigation-in > ul > li.active > a > b,
.navigation-in > ul > li > a.active > b {
    color: var(--gold-500) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   9. SIDEBAR + KATEGORIE
   [FIX] Původní schéma bylo tmavé (podklad #515548, bílé texty). Nádstavba to
   překryla na světlé, ale jen částečně — zůstala tam mrtvá pravidla s bílým
   textem, která se navzájem přebíjela. Tady je jen jedno, světlé schéma.
   ═══════════════════════════════════════════════════════════════════════════ */

.sidebar {
    background-color: var(--bg-page);
}

.sidebar-inner {
    padding: 0;
}

.sidebar-inner > div {
    border-color: transparent;
    padding: 20px;
}

.sidebar-inner > div.box.box-categories {
    padding: 20px !important;
}

.sidebar-inner > div.banner {
    padding: 8px 0;
}

.sidebar-inner .box-categories h4 {
    display: none;
}

.sidebar h4 {
    font-weight: 700;
    color: var(--ink-700);
    font-size: 14px;
}

/* ── Boxy v sidebaru ────────────────────────────────── */

.box.box-bg-variant {
    background-color: var(--bg-soft) !important;
    border: 1px solid var(--line-500) !important;
}

.box.box-bg-default {
    background-color: var(--bg-soft);
    margin-bottom: 8px;
    position: relative;
}

.box.box-bg-default > * {
    position: relative;
    z-index: 2;
}

/* [FIX] Odstraněn ::before s rgba(255,255,255,.12) — sloužil ke zesvětlení
   tmavého podkladu, na béžovém pozadí byl jen mlha přes obsah. */

/* Prvních 5 skupin kategorií dostane béžový podklad (odlišení promo skupin:
   DOPORUČUJEME / AKCE / NOVINKY / VÝPRODEJ). */
#categories .categories:nth-child(-n+5) {
    background-color: var(--bg-soft) !important;
}

.box-categories #categories > div:first-child,
.box-categories #categories > div:nth-child(5) {
    padding-top: 20px;
}

.box-categories #categories > div:nth-child(4) {
    padding-bottom: 20px;
}

/* ── Úroveň 1: kategorie ────────────────────────────── */

#categories .categories > .topic > a {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: .005em !important;
    font-size: 16px !important;
    color: var(--ink-700) !important;
    padding: 12px 30px 12px 14px !important;
    line-height: 1.25 !important;
    border-bottom: 1px solid var(--line-300) !important;
}

#categories .categories > .topic > a:hover {
    color: var(--gold-500) !important;
}

#categories .categories > .topic.child-active > a,
#categories .categories.active > .topic > a {
    color: var(--green-600) !important;
}

/* Podklad pod rozbalenou kategorií */
#categories .categories > ul {
    background-color: var(--bg-soft-2) !important;
    padding: 4px 0 6px !important;
}

/* ── Úroveň 2+: podkategorie (hloubka se pozná odsazením) ── */

#categories .categories > ul li > a {
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 13.5px !important;
    color: var(--grey-500) !important;
    line-height: 1.3 !important;
    position: relative !important;
}

#categories .categories > ul li > a:hover {
    color: var(--green-600) !important;
    background-color: var(--bg-soft-3) !important;
}

#categories .categories > ul > li > a {
    padding: 7px 14px 7px 30px !important;
}

#categories .categories > ul > li > ul > li > a {
    padding: 6px 14px 6px 44px !important;
    color: #8a8f7e !important;
    font-size: 13px !important;
}

#categories .categories > ul > li > ul > li > ul > li > a {
    padding-left: 58px !important;
}

/* Pomlčka před podkategorií */
#categories .categories > ul li > a::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    width: 7px !important;
    height: 1px !important;
    background-color: var(--gold-500) !important;
}

#categories .categories > ul > li > a::before { left: 18px !important; }

#categories .categories > ul > li > ul > li > a::before {
    left: 32px !important;
    background-color: var(--gold-400) !important;
}

#categories .categories > ul > li > ul > li > ul > li > a::before {
    left: 46px !important;
}

/* ── Aktivní stav ───────────────────────────────────── */

#categories .categories .topic.active > a,
#categories .categories li.active > a,
#categories .categories li.active > a:hover {
    background-color: var(--bg-active) !important;
    color: var(--green-600) !important;
    border-left: 3px solid var(--green-600) !important;
}

/* ── Rozbalovací šipka ──────────────────────────────── */

#categories .expandable > a > span::before,
#categories .expandable > .topic > a > span::before {
    font-family: 'Ico' !important;
    content: "\e907";
    color: #ccc;
}

#categories .expandable.expanded > a > span::before,
#categories .expandable.expanded > .topic > a > span::before {
    font-family: 'Ico' !important;
    content: "\e907";
    transform: rotate(90deg);
}

#categories .expandable > .topic > a > span {
    right: 18px;
    left: auto;
    top: 6px;
}

#categories .cat-trigger { opacity: .45 !important; }

#categories .expanded > .topic > a .cat-trigger,
#categories li.expanded > a .cat-trigger { opacity: .85 !important; }

/* ── Nejprodávanější v sidebaru ─────────────────────── */

ol.top-products li a.top-products-image { display: none; }

ol.top-products li a .top-products-name {
    font-weight: 400;
    color: var(--green-600) !important;
    font-size: 12px;
}

.top-products-content strong {
    font-weight: 700;
    color: var(--ink-800) !important;
    font-size: 13px;
}

ol.top-products li::before {
    background-color: var(--green-600);
    color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════════════
   10. FILTRY
   [FIX] Původní panel byl tmavě šedozelený (#6E7266) s bílými texty.
   Nádstavba to nechala, jen zbyly dvě pravidla s `color: white`, což na
   mobilu dělalo ten šedý blok kolem "OTEVŘÍT FILTR". Převedeno na světlé
   schéma zbytku webu.
   [TEST] Filtry si projdi na kategorii s aktivními filtry — checkboxy,
   cenový rozsah, tlačítko a počty.
   ═══════════════════════════════════════════════════════════════════════════ */

.filter-sections,
.filters-wrapper {
    background-color: var(--bg-soft) !important;
    border: 1px solid var(--line-500) !important;
    padding: 15px !important;
}

.filter-sections {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.filter-section {
    padding-left: 0;
    padding-right: 0;
}

.filter-section form {
    padding: 0 10px 20px;
}

.filter-section h4 {
    margin-top: 25px !important;
    color: var(--ink-700) !important;
}

.filter-label        { color: var(--grey-500) !important; }
.filter-label.active { color: var(--ink-800) !important; }

.filter-section label.active { font-weight: 600; }

.from,
.to {
    color: var(--ink-700) !important;
    font-size: 13px;
}

.filter-section input[type="checkbox"] + label::before,
.filter-section input[type="radio"] + label::before {
    background-color: #fff;
    border-color: var(--line-500);
}

input[type="checkbox"]:checked + label::after,
input[type="radio"]:checked + label::after {
    border-color: var(--green-600);
    background-color: var(--green-600);
}

#category-filter-hover .filter-section:first-child {
    border-top-color: var(--line-300);
}

#filters > div.filter-sections > div.filter-section.filter-section-button > a {
    color: #fff !important;
    background-color: var(--green-500) !important;
}

.filter-total-count { color: #fff !important; }

#clear-filters a { color: var(--green-600) !important; }

/* Počty u filtrů zůstávají skryté (rozhodnutí z původní verze).
   Doporučuji je zapnout — uživatel pak vidí, kolik produktů filtr vrátí.
   Zapneš tím, že smažeš tento blok. */
.filter-count { display: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   11. BREADCRUMBS + STRÁNKOVÁNÍ
   ═══════════════════════════════════════════════════════════════════════════ */

.breadcrumbs {
    border: none;
    margin-top: 12px;
    margin-bottom: 15px;
}

.breadcrumbs > span > a,
.breadcrumbs > span > span {
    padding: 10px 10px 10px 15px;
    font-size: 12px;
    display: inline-block;
    min-height: 38px;
}

.breadcrumbs > span > a::before,
.breadcrumbs > span > a::after { content: none; }

.breadcrumbs > span > a::before {
    font-family: 'Ico' !important;
    content: "\e907";
    color: #ccc;
    font-size: 11px;
    top: 31%;
    transform: rotate(0deg);
    background-color: transparent;
    height: 15px;
}

.breadcrumbs > span > a.navigation-home-icon::before { top: 38%; }

.navigation-home-icon-wrapper::before {
    font-family: 'Ico' !important;
    content: "\e906";
    color: var(--grey-300);
    font-size: 15px;
    top: 50%;
}

.navigation-home-icon-wrapper #navigation-first a { padding-left: 37px; }

.pagination-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    order: 3;
}

.pagination > a,
.pagination-top > a,
.pagination > strong,
.pagination-top > strong { border-radius: 0; }

.pagination > a,
.pagination-top strong { color: var(--ink-800); }

.pagination-top:hover strong,
.pagination > a:hover { color: var(--green-600); }

.pagination-link:hover::before { color: var(--ink-800) !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   12. KATEGORIE — VÝPIS
   ═══════════════════════════════════════════════════════════════════════════ */

.type-category #content.content {
    display: flex;
    flex-direction: column;
}

.type-category .breadcrumbs { order: -3; }

.category-title {
    order: -2;
    font-family: var(--font-display) !important;
    text-transform: uppercase;
    color: var(--ink-800);
    font-size: 29px;
    margin-top: 4px;
}

.category-perex {
    order: -1;
    padding: 0;
    text-align: left;
    margin-bottom: 0;
}

.category-perex p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
}

.products.products-block { order: 3; }

.category-header input[type="radio"] + label:hover,
.category-header input[type="radio"]:checked + label {
    color: var(--ink-800);
    background-color: #fff;
}

/* ── Dlaždice podkategorií ──────────────────────────── */

.subcategories li a {
    height: 71px;
    padding: 7px 40px 7px 13px;
}

.subcategories li a .text     { color: var(--grey-500); }
.subcategories li a:hover .text { color: var(--ink-800); }
.subcategories li a::after    { content: none; }
.subcategories li a:hover::before { color: var(--green-accent); }

.subcategories.with-image li a .image img { max-height: 48px; }


/* ═══════════════════════════════════════════════════════════════════════════
   13. PRODUKTOVÉ KARTY
   ═══════════════════════════════════════════════════════════════════════════ */

.products-block .p {
    margin-bottom: 10px;
    border: 1px solid var(--line-500);
    border-radius: var(--radius);
    padding: 10px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

/* [FIX] Původně `.products-block:hover .p:hover` — nadřazený :hover byl
   zbytečný a jen navyšoval specificitu. */
.products-block .p:hover {
    border-color: var(--green-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(74, 92, 42, .12);
}

.products > div { border-color: transparent !important; }

.p-bottom { line-height: normal !important; }

.p .name {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--ink-800);
}

.products-block .p .p-code { display: none; }

.products .p-bottom .p-desc {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
}

.products-block .ratings-wrapper .availability { text-align: left; }

.products-block .ratings-wrapper .availability > span {
    font-family: var(--font-display);
    font-size: 13px;
}

/* ── Vlaječky ───────────────────────────────────────── */

.flag {
    max-width: 10em;
    font-weight: 900;
    text-transform: uppercase;
    padding: 6px 8px;
}

.flag.flag-new { background-color: var(--flag-new); }

.flags-extra {
    bottom: auto;
    top: -20px;
}

.flag.flag-discount {
    background-color: var(--flag-sale);
    position: relative;
    padding-top: 11px;
}

span.flag.flag-discount::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 12px solid var(--flag-sale);
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.flags-extra .flag.flag-discount {
    border-radius: 0;
    width: 60px;
    height: 30px;
}

.flags-extra .flag .price-save {
    font-weight: 700;
    font-size: 14px;
}

.p-detail-inner span.flag.flag-discount::after {
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
}

.p-detail-inner .flags-extra .flag.flag-discount {
    border-radius: 0;
    width: 75px;
    height: 30px;
}

.p-detail-inner .p-image-wrapper .flags-extra .flag .default-variant,
.p-detail-inner .p-image-wrapper .flags-extra .flag .price-save {
    font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   14. TLAČÍTKA
   [FIX] Wildcard selektory [class*="btn"] a [class*="buy"] odstraněny —
   chytaly i .btn-group, .btn-wrapper a další nesouvisející prvky.
   [FIX] "DETAIL" u variantních produktů dostalo sekundární (outline) styl
   s kontrastem 8:1. Předchozí verze měla bílý text na světle zeleném pozadí
   (~1.8:1) a vypadala jako zakázané tlačítko.
   ═══════════════════════════════════════════════════════════════════════════ */

button,
.btn,
a.btn,
.btn-primary,
.btn-default,
.btn-cart,
.btn-conversion,
.add-to-cart-button,
.p-detail-buy-btn,
.next-step-forward {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

/* ── Primární (nákup) ───────────────────────────────── */

.btn.btn-primary,
a.btn.btn-primary,
.btn.btn-cart,
a.btn.btn-cart,
.btn.add-to-cart-button,
a.btn.add-to-cart-button {
    background-color: var(--green-500) !important;
    border-color: var(--green-500) !important;
    color: #fff !important;
}

.btn.btn-primary:hover,
a.btn.btn-primary:hover,
.btn.btn-cart:hover,
a.btn.btn-cart:hover,
.btn.add-to-cart-button:hover,
a.btn.add-to-cart-button:hover {
    background-color: var(--green-400) !important;
    border-color: var(--green-400) !important;
    color: #fff !important;
}

.btn.btn-cart::before,
a.btn.btn-cart::before,
.btn.add-to-cart-button::before,
a.btn.add-to-cart-button::before {
    font-size: 14px;
}

button.btn.btn-conversion {
    text-transform: uppercase;
    font-size: 17px;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

/* ── Sekundární: "Detail" ve výpisu ─────────────────── */
/* Shoptet dává "Detail" místo košíku u variantních produktů. Není to
   nákupní akce, takže má být vizuálně druhá v řadě.
   TIP: v adminu (Vzhled › Editace textů) přejmenuj "Detail" na
   "Vybrat velikost" — vysvětlí to, proč tam není košík. */

.products .p-tools a.btn:not(.add-to-cart-button):not(.btn-cart):not(.btn-primary),
.products-block .p-tools a.btn:not(.add-to-cart-button):not(.btn-cart):not(.btn-primary) {
    background: #fff !important;
    background-color: #fff !important;
    color: #2f4d1c !important;
    border: 1px solid #2f4d1c !important;
    box-shadow: none !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.products .p-tools a.btn:not(.add-to-cart-button):not(.btn-cart):not(.btn-primary):hover,
.products-block .p-tools a.btn:not(.add-to-cart-button):not(.btn-cart):not(.btn-primary):hover {
    background: #2f4d1c !important;
    background-color: #2f4d1c !important;
    color: #fff !important;
}

/* ── Hnědé tlačítko (legacy, obsahové stránky) ──────── */

.btn.btn-brown,
a.btn.btn-brown {
    color: #fff;
    border-color: var(--gold-700);
    background-color: var(--gold-700);
}

.btn.btn-brown:hover,
a.btn.btn-brown:hover {
    border-color: var(--gold-800);
    color: #fff;
    background-color: var(--gold-800);
}


/* ═══════════════════════════════════════════════════════════════════════════
   15. CENY
   [FIX] Wildcard [class*="price"] a [class*="recap"] nahrazeny výčtem.
   Wildcard chytal i .price-label, .payment-shipping-price-wrapper apod.
   ═══════════════════════════════════════════════════════════════════════════ */

.price,
.price-final,
.price-final-holder,
.price-standard,
.price-additional,
.price-measure,
.price-save,
.p-final-price-wrapper,
.cart-item-price,
.recapFullPrice,
.recapFullPriceNoVat,
.recapItemPrice,
.recapItemTotalPrice,
.payment-shipping-price {
    font-family: var(--font-display) !important;
    color: var(--ink-900) !important;
    letter-spacing: .02em !important;
}

.price-wrapper .price.price-primary,
.price.price-primary,
.price-final,
.price-final-holder,
.recapFullPrice,
.p-final-price-wrapper .price-final {
    font-weight: 700 !important;
}

.cart-item-price,
.cart-item-price strong.price-final,
.cart-item-price span.price-final-holder,
.recapItemTotalPrice,
.recapItemPrice,
.payment-shipping-price,
.header-top .btn.cart-count .cart-price {
    font-weight: 600 !important;
}

.price.price-secondary,
.price-additional,
.price-measure,
.recapFullPriceNoVat {
    font-weight: 400 !important;
    color: var(--grey-500) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   16. DETAIL PRODUKTU
   ═══════════════════════════════════════════════════════════════════════════ */

.p-detail {
    display: flex;
    flex-direction: column;
}

.p-detail-tabs-wrapper {
    margin-bottom: 38px;
    order: 1;
}

.p-detail-inner + h2  { order: 2; }
.browse-p             { order: 4; }

.p-detail-inner-header h1 {
    font-family: var(--font-display);
    font-size: 29px;
    color: var(--ink-800);
    margin-bottom: 18px;
    margin-top: 10px;
}

.p-detail-info > div,
.stars-label {
    color: var(--grey-300);
    font-weight: 400;
    font-size: 12px;
}

/* ── Dostupnost a dodání ────────────────────────────── */

.availability-value .availability-label {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--green-600) !important;
}

.availability-amount { display: none; }

.detail-parameters .delivery-time span {
    color: var(--green-600);
    font-weight: 700;
    font-size: 13px;
}

.product-top .delivery-time-label { font-size: 0; }

.product-top .delivery-time-label::before {
    content: "Budeme odesílat:";
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 400;
}

/* Zelená tečka u dostupnosti. Pulzující animace odstraněna — nekonečná
   animace na produktovém detailu odvádí pozornost od CTA a na mobilu
   zbytečně žere baterii. */
[data-testid="labelAvailability"]::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--state-ok);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* ── Parametry ──────────────────────────────────────── */

.detail-parameters th {
    padding-right: 20px;
    font-weight: 400;
    font-size: 13px;
    text-align: left;
    color: var(--grey-500);
}

.product-top .detail-parameters td { height: 41px; }

.detail-parameters .parameter-dependent.default-variant { color: var(--ink-800); }

.parameter-dependent span {
    font-family: var(--font-display);
    font-size: 14px;
}

.parameter-dependent.default-variant span { color: var(--ink-800); }

.parameter-dependent:not(.default-variant) span { color: var(--green-600) !important; }

/* ── Krátký popis ───────────────────────────────────── */

.p-short-description {
    max-width: 433px;
    margin-bottom: 25px;
}

.p-short-description li,
.p-short-description p {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.6;
}

a[href="#description"].chevron-down-after { color: var(--ink-800); }
a[href="#description"].chevron-down-after:hover { color: var(--green-600); }

a[href="#description"].chevron-down-after::after {
    font-family: 'Ico';
    content: "\e903";
    font-size: 10px;
    margin-left: 6px;
}

/* ── Galerie ────────────────────────────────────────── */

.p-thumbnail.highlighted::before,
.p-thumbnail:hover::before { background-color: var(--ink-700); }

/* ── Taby a dlouhý popis ────────────────────────────── */

.p-detail-tab-link:hover,
.active .p-detail-tab-link { color: var(--ink-800); }

.description-inner { overflow-x: hidden; }

.description-inner h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--ink-800);
    text-transform: uppercase;
}

.description-inner h4 {
    font-family: var(--font-display);
    font-size: 18px;
    text-transform: uppercase;
}

.description-inner li,
.description-inner p {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.7;
}

.description-inner li { margin-bottom: 11px; }

.basic-description *      { color: var(--ink-600); }
.basic-description strong { color: var(--ink-800); }
.basic-description ul     { margin-bottom: 45px; }

.basic-description .h4 {
    font-family: var(--font-display);
    font-size: 19px;
    margin-top: 50px;
}

.extended-description .detail-parameters td {
    font-weight: 400;
    font-size: 13px;
}

.extended-description .detail-parameters th { color: var(--ink-600); }

.products-related-header {
    font-family: var(--font-display) !important;
    font-size: 18px;
    color: var(--ink-800);
    text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════════════════
   17. TABULKY V OBSAHU
   ═══════════════════════════════════════════════════════════════════════════ */

.content-inner table:not(.taxes_table),
.basic-description table {
    font-weight: 400;
    font-size: 13px;
    color: var(--ink-800);
    margin-bottom: 25px;
}

.content-inner table:not(.taxes_table) td,
.basic-description table td {
    border: 1px solid var(--line-200);
    padding: 13px 17px 11px;
}

.content-inner table:not(.taxes_table) tr:first-child td { border-top: none; }

.basic-description table tr:first-child td {
    font-weight: 900;
    text-transform: uppercase;
    border-top: none;
}

.content-inner table:not(.taxes_table) tr:last-child td,
.basic-description table tr:last-child td { border-bottom: none; }

.content-inner table:not(.taxes_table) tr td:last-child,
.basic-description table tr td:last-child { border-right: none; }

.content-inner table:not(.taxes_table) tr td:first-child,
.basic-description table tr td:first-child {
    padding-left: 0;
    border-left: none;
}

.content-inner table:not(.taxes_table) tr td:nth-child(n+2),
.basic-description table tr td:nth-child(n+2) { text-align: center; }

table.second_td_left tr td:nth-child(2) { text-align: left !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   18. NÁKUPNÍ PROCES — košík a checkout
   ═══════════════════════════════════════════════════════════════════════════ */

.ordering-process .overall-wrapper { overflow: visible; }

.ordering-process .overall-wrapper::before,
.ordering-process .overall-wrapper::after { content: none; }

.ordering-process #navigation,
.ordering-process .content-wrapper {
    border-right: 0;
    border-left: 0;
}

.ordering-process .content-wrapper { margin-top: 13px; }

.ordering-process .box.box-bg-default { background-color: #fff; }

ol.cart-header li a span,
ol.cart-header li strong span {
    vertical-align: top;
    font-family: var(--font-display);
    font-size: 15px;
    line-height: 30px;
}

.cart-inner { margin-top: 15px; }

.cart-inner h4 { font-size: 17px; }

.cart-table tr td.p-name a {
    color: var(--ink-800);
    font-weight: 700;
}

.ordering-process .cart-content .p-name { text-align: left !important; }

.ordering-process .cart-content .p-name .main-link-variant {
    font-weight: 400;
    font-size: 12px;
    color: var(--grey-500);
}

.ordering-process .p-availability.p-cell { width: 60px; }

.ordering-process .p-availability.p-cell .availability-amount { display: none; }

.ordering-process .p-availability.p-cell .show-tooltip {
    color: var(--green-600) !important;
    font-family: var(--font-display);
    font-size: 13px;
}

.ordering-process .p-total .price-final,
.ordering-process .p-price .price-final { color: var(--ink-800) !important; }

.cart-inner .delivery-time {
    font-weight: 400;
    font-size: 14px;
}

.cart-inner .delivery-time strong {
    font-weight: 900;
    font-size: 16px;
    color: var(--green-600);
}

/* ── Navigace mezi kroky ────────────────────────────── */

.back-shopping-link .next-step-back,
.next-step .next-step-back {
    font-family: var(--font-display);
    font-size: 15px;
    text-transform: uppercase;
}

.next-step .next-step-back {
    padding-right: 1ex;
    font-size: 13px;
}

.back-shopping-link .next-step-back::before {
    line-height: 1.3;
    vertical-align: top;
}

a.next-step-back:hover { color: var(--ink-800); }

.btn.next-step-forward::after {
    font-family: 'Ico';
    content: "\e903";
    margin-left: .2em;
    font-size: 9px;
    top: -3px;
}

/* ── Kontaktní box v košíku ─────────────────────────── */

.contact-box > img {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 122px;
    height: auto;
}

.cart-inner .contact-box { padding: 0 0 0 140px; }

.cart-inner .contact-box strong {
    font-size: 15px;
    color: var(--ink-800);
    font-weight: 900;
    margin-bottom: 12px;
}

.contact-box ul li > span.mail::before {
    font-family: 'Ico';
    content: "\e900";
    color: var(--green-600);
    font-size: 10px;
}

.contact-box ul li > span.tel::before {
    font-family: 'Ico';
    content: "\e901";
    color: var(--green-600);
    font-size: 13px;
}

.contact-box ul li > span a,
.contact-box ul li > span {
    font-family: var(--font-display);
    color: var(--ink-800);
}

.contact-box ul li > span a:hover { color: var(--green-600); }

/* Dlouhá YouTube URL v kontaktním boxu se lámala na dva řádky a rozbíjela
   layout. Doporučuji v adminu přepsat na text "YouTube kanál"; tohle je
   záchytná brzda. */
.contact-box ul li > span a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ── Doprava a platba ───────────────────────────────── */

.extra.delivery::before {
    font-family: 'Ico' !important;
    content: "\e90d";
}

.payment-info b {
    text-transform: none;
    color: var(--ink-800);
}

.payment-logo,
.payment-shipping-price { width: 120px; }

.for-free { color: var(--gold-700); }

.radio-wrapper.active .for-free { color: var(--green-600); }

.form-group label,
.form-group.form-group-wrapped label {
    color: var(--ink-600);
    font-size: 13px;
}

.box.co-box h4::before,
.co-box h4::before,
.co-box.co-billing-address h4::before,
.co-box.co-payment-method h4::before,
.co-box.co-order h4::before { content: none; }

.order-summary .checkout-box .btn.btn-default {
    border-color: var(--ink-800);
    background-color: var(--ink-800);
}

/* ── Souhrn objednávky ──────────────────────────────── */

.order-summary-inner h4 {
    font-family: var(--font-display);
    font-size: 17px;
}

.order-summary-inner .cart-item-name a {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--ink-800);
}

.order-summary-inner .cart-item-name a:hover { color: var(--green-600); }

.order-summary-inner .cart-item-name a .main-link-variant {
    font-size: 13px;
    font-family: var(--font-display);
}

.order-summary-inner .cart-item-amount {
    color: var(--ink-800);
    font-weight: 400;
}

.order-summary-inner .cart-item-amount .unit-value { color: #999; }

.cart-item > div:last-child {
    font-weight: 400;
    color: var(--ink-600);
}

.order-summary-item.helper { color: var(--ink-800); }

.order-recapitulation strong,
.order-recapitulation span { color: #999; }

/* ── Stránka Děkujeme ───────────────────────────────── */

.in-dekujeme .order-summary-heading { padding-top: 4em; }

.in-dekujeme .co-box {
    padding-left: 80px;
}

.in-dekujeme .co-box h4 {
    padding: 0;
    text-align: center;
    margin: 48px 0 36px !important;
    font-family: var(--font-display);
    font-size: 19px;
}

p.reca-number {
    color: #999;
    font-size: 15px;
    font-weight: 400;
}

p.reca-number strong { font-weight: 400 !important; }

p.reca-number::after {
    width: 100px;
    height: 100px;
    background-image: url(/user/documents/img/success_circle.svg);
    content: '';
    display: block;
    margin: 30px auto 70px;
}

.table.recapitulation-table {
    max-width: 400px;
    margin: 0 auto 65px;
}

.table.recapitulation-table > tbody > tr > th {
    border-bottom: 1px solid var(--line-200);
    color: #666;
}

.table.recapitulation-table > tbody > tr:last-child > th { border-bottom: none; }

.table.recapitulation-table > tbody > tr:last-child td { color: var(--green-600); }

table.table.recapitulation-table td { border-left: none; }

.recapitulation-table tr td { text-align: left !important; }

.in-dekujeme table.cart-table .cart-p-image { border-right: none; }

.in-dekujeme table.cart-table .p-quantity.p-cell strong {
    font-weight: 700;
    font-size: 15px;
}

.in-dekujeme table.cart-table .p-price.p-cell {
    font-weight: 700;
    font-size: 15px;
}

.in-dekujeme table.cart-table .p-name {
    text-align: left !important;
    font-weight: 700;
    font-size: 14px;
    border-left: none;
}

.order-complete-links {
    text-align: center;
    margin-bottom: 45px;
}

.msg.msg-info {
    border-top: 1px solid var(--green-600);
    color: #fff;
    background-color: var(--green-600);
    border-color: var(--green-600);
}


/* ═══════════════════════════════════════════════════════════════════════════
   19. HOMEPAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.homepage-box {
    background-color: #fff;
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.homepage-box + .latest-contribution-wrapper { display: none; }

.welcome-wrapper .welcome > h1 { display: none !important; }

.welcome div { max-width: 100%; }

/* ── Nadpisy skupin ─────────────────────────────────── */
/* Původní grafik měl kolem nadpisu dvě šipky z ikonového fontu.
   Nádstavba to změnila na linku vpravo. Ponechána novější varianta. */

.homepage-group-title,
h2.homepage-group-title,
.h2.homepage-group-title,
h4.homepage-group-title,
.h4.homepage-group-title,
h4.indented {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    color: var(--grey-500) !important;
    font-family: var(--font-display) !important;
    text-transform: uppercase;
}

.homepage-group-title::before,
h2.homepage-group-title::before,
.h2.homepage-group-title::before,
h4.homepage-group-title::before,
.h4.homepage-group-title::before,
h4.indented::before {
    display: none !important;
}

.homepage-group-title::after,
h2.homepage-group-title::after,
.h2.homepage-group-title::after,
h4.homepage-group-title::after,
.h4.homepage-group-title::after,
h4.indented::after {
    content: "" !important;
    font-family: inherit !important;
    display: block !important;
    flex: 1 !important;
    height: 1px !important;
    background-color: var(--line-500) !important;
    margin-left: 16px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: none !important;
}

.h4.homepage-group-title,
h4.indented { font-size: 23px !important; }

/* ── Carousel ───────────────────────────────────────── */

.carousel,
.carousel-inner {
    border-radius: var(--radius);
    border: 1px solid var(--line-500);
}

.carousel-control::before {
    background: none;
    font-family: 'Ico';
    content: "\e903";
    font-size: 16px;
    color: #fff;
}

.carousel-control.left::before  { transform: rotate(180deg); }
.carousel-control.right::before { content: "\e903"; }

.wide-carousel img { width: 100%; }

.home_second_slider {
    height: 275px;
    position: relative;
    margin-top: 45px;
}

.home_second_slider .carousel-inner { min-height: 100% !important; }

/* ── Spodní bloky homepage ──────────────────────────── */

.home_bottom_top {
    background-image: url('/user/documents/img/home_bottom.jpg');
    background-size: cover;
    background-position: center center;
    padding: 125px 0 75px 50px;
}

.home_bottom_top > span {
    font-size: 17px;
    color: #999;
}

.home_bottom_top .h2 {
    color: #fff;
    font-size: 42px;
    max-width: 332px;
    margin: 12px 0 0;
}

.home_content_wrap {
    background-color: #fff;
    padding: 35px 15px 15px;
    margin-top: 0;
}

.home_content_wrap .h3 {
    color: var(--ink-800);
    font-size: 36px;
    font-family: var(--font-display);
    margin: 0 0 25px;
}

.home_content_wrap p {
    font-size: 14px;
    color: var(--ink-500);
    font-weight: 400;
}

.home_block_bottom img { margin-top: 31px; }

.home_icon_section { background-color: var(--ink-700); }

.home_icon_bottom {
    padding: 55px 0;
    color: #fff;
    text-align: center;
}

.icon_wrap { margin-right: 20px; }

.icon_wrap::before { font-size: 36px; }

.icon_text p {
    font-family: var(--font-display);
    font-size: 16px;
    max-width: 152px;
    margin: 0;
    vertical-align: middle;
    text-align: left;
}

.icon_item_wrap > div { vertical-align: middle; }

.icon_item_wrap { margin-bottom: 25px; }


/* ═══════════════════════════════════════════════════════════════════════════
   20. PATIČKA
   ═══════════════════════════════════════════════════════════════════════════ */

#footer { background-color: #fff; }

.custom-footer,
.footer-bottom { border-color: #fff; }

#footer ul a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
}

.footer_info_blocks .h3 {
    font-family: var(--font-display);
    color: var(--ink-800);
    text-transform: uppercase;
    font-size: 17px;
}

footer .banner-wrapper { color: var(--ink-800); }

.footer_content_block p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
}

.footer_content_block a {
    color: var(--ink-800);
    padding: 13px 0;
    display: block;
}

.footer_content_block a::before {
    color: var(--ink-800);
    display: inline-block;
    margin-right: 6px;
    position: relative;
    top: 2px;
}

.footer_content_block a:hover span { color: var(--green-600); }

.footer_partner_img.relative {
    width: 220px;
    margin-bottom: 25px;
}

.footer_partner_img.relative img {
    opacity: .5;
    filter: grayscale(100%);
}

.footer_partner_img img { max-width: 155px; }

.footer_parter_row {
    text-align: center;
    padding: 15px 0;
}

.custom-footer.elements-3 > div:nth-child(3) { width: 100%; }

/* ── Tlačítko nahoru ────────────────────────────────── */

.scroll_top_btn {
    position: fixed !important;
    z-index: 99;
    width: 45px;
    height: 45px;
    bottom: -45px;
    right: 36px;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    transition: all 234ms ease-in-out;
    transform: rotate(90deg);
    border-radius: 0;
    background: var(--ink-700);
}

.scroll_top_btn:hover { background: var(--ink-800); }

.scroll_top_btn::before {
    font-family: shoptet;
    content: '\e90f';
    line-height: 45px;
    text-align: center;
    vertical-align: top;
    color: #fff;
}

.scroll_top_btn.visible { bottom: 0; }


/* ═══════════════════════════════════════════════════════════════════════════
   21. OBSAHOVÉ STRÁNKY (legacy)
   Styly vázané na konkrétní HTML v obsahu stránek — O nás, Kontakt, FAQ,
   Doprava a platba, Nášivky, Kariéra. Nemůžu je ověřit bez přístupu k tomu
   HTML, takže je nechávám funkčně beze změny, jen seskupené a bez duplicit.
   Pokud některá z těch stránek už neexistuje, dej vědět a vyhodím to.
   ═══════════════════════════════════════════════════════════════════════════ */

.content-inner h1,
.content-inner h2,
.content-inner h3,
.content-inner h4 {
    font-family: var(--font-display);
    font-size: 29px;
    text-transform: uppercase;
    color: var(--ink-800);
}

.content-inner h2 { font-size: 24px; }

.content-inner p,
.content-inner li {
    font-weight: 400;
    color: var(--ink-500);
    font-size: 14px;
    line-height: 1.7;
}

.content-inner iframe {
    width: 100%;
    height: 422px;
}

.content a.js_phone {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--green-600);
}

.content a.js_phone:hover { color: var(--green-700); }

.content a.js_phone span {
    font-family: var(--font-body);
    color: var(--grey-300);
}

.content a.i_c_tel::before {
    font-size: 12px;
    color: #000;
    display: inline-block;
    margin-right: 7px;
}

/* ── Číslované seznamy / FAQ ────────────────────────── */

.counter_wrap { counter-reset: section; }

.counter_item::before {
    counter-increment: section;
    content: counter(section);
}

.about_shopping .counter_item,
.faq_item {
    padding-left: 30px;
    position: relative;
}

.about_shopping .counter_item::before,
.faq_item::before {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--green-600);
    position: absolute;
    left: 10px;
    top: -2px;
}

.faq_item {
    margin-bottom: 28px;
}

.faq_item:first-of-type { margin-top: 40px; }

.faq_item h2 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--ink-800);
    margin: 0 0 13px;
}

/* ── Jak nakupovat ──────────────────────────────────── */

.about_shopping h3 {
    text-transform: none;
    font-size: 20px;
}

.about_shopping h4 { font-size: 18px; }

.about_shopping .content_wrap {
    padding-left: 20px;
    overflow-x: hidden;
    padding-bottom: 65px;
}

.about_shopping .content_wrap .after_line { padding-left: 0; }

.about_shopping .counter_item::before {
    top: -1px;
    font-size: 21px;
    left: -18px;
}

.about_shopping .content_wrap ul { padding-left: 18px; }

.about_shopping .content_wrap ul.subcategories { padding-left: 0; }

.about_shopping .content_wrap ul li { margin-bottom: 13px; }

.about_shopping .content_wrap strong { color: var(--ink-800); }

.about_shopping .tab-pane { padding-top: 30px; }

.about_shopping .subcategories.with-image li a .image { width: 40%; }

.about_shopping .subcategories.with-image li a .image img { max-height: 68px; }

.about_shopping .subcategories.with-image li { margin-bottom: 0; }

/* ── O nás ──────────────────────────────────────────── */

.about_top_row {
    padding-top: 41px;
    padding-bottom: 25px;
}

.about_top_img_wrap { height: 250px; }

.about_virtual_img {
    height: 507px;
    margin-bottom: 60px;
}

.about_icon_item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 11px;
}

.about_icon_item::before {
    color: var(--gold-700);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 29px;
}

.about_icon_item h3 {
    max-width: 170px;
    font-family: var(--font-display);
    font-size: 15px;
}

.about_icon_item p {
    color: var(--grey-400);
    font-size: 12px;
    max-width: 270px;
}

.abou_icon_wrap {
    margin-left: 1.2vw;
    padding-top: 32px;
    padding-bottom: 59px;
}

.about_galleries { padding-bottom: 127px; }

.about_galleries .plus-gallery-wrap > div {
    display: inline-block;
    width: 33%;
    margin: 0 0 3px;
    border: 0;
}

.plus-gallery-item { overflow: hidden; }

.plus-gallery-item img {
    position: relative;
    top: 0;
    transform: scale(1) translateY(0) translateZ(0);
    transition: all .2s linear;
    max-height: 100%;
}

.plus-gallery-item:hover img { transform: scale(1.03) translateZ(0); }

/* ── Kariéra / pozice ───────────────────────────────── */

.position_item { padding: 35px 40px 65px; }

.position_item h3 {
    font-size: 20px;
    margin: 0 0 12px;
}

.position_item h4 {
    font-size: 16px;
    margin: 0 0 12px;
}

.position_item ul { padding-left: 16px; }

.position_item ul li { padding-bottom: 12px; }

.position_item + .position_item { border-top: 1px solid var(--line-200); }

.position_item + .position_item h3 { margin-top: 21px; }

/* ── Kontakt ────────────────────────────────────────── */

.contact_row {
    padding-bottom: 40px;
    padding-top: 25px;
}

.contact_box_left { padding-left: 40px; }

.contact_middle { padding: 50px 0; }

.contact_middle img {
    max-width: 90%;
    margin-top: 8px;
    margin-bottom: 12px;
}

.contact_middle a {
    display: block;
    color: var(--ink-500);
    font-size: 14px;
}

.contact_middle a::before {
    color: var(--ink-800);
    display: inline-block;
    margin-right: 8px;
    font-size: 12px;
}

.person_text h2 { text-transform: none; }

.person_text p {
    font-weight: 600;
    color: var(--ink-800);
    font-size: 15px;
    margin-bottom: 5px;
}

.person_text a {
    font-family: var(--font-display);
    font-size: 22px;
}

.person_text a span {
    font-family: var(--font-body) !important;
    color: var(--grey-300);
}

.person_text .i_c_tel::before {
    font-size: 16px;
    color: var(--ink-800);
    display: inline-block;
    margin-right: 8px;
}

.person_text hr { max-width: 324px; }

.contact_socials { padding-top: 20px; }

.contact_socials a { display: inline-block; }

.contact_socials a::before {
    font-size: 17px;
    display: inline-block;
    margin-right: 0;
}

.contact_socials a + a::before { padding: 0 9px; }

.address_padding_left,
.f_name {
    color: var(--ink-800) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

.f_name { margin-bottom: 0; }

p.reference_number {
    color: var(--grey-400);
    font-size: 13px;
}

.contact_taxes table tr td:first-child {
    font-weight: 600;
    color: var(--ink-800);
    font-size: 14px;
    min-width: 40px;
}

.contact_taxes table tr td:last-child {
    color: var(--ink-500);
    font-size: 14px;
}

.contact_table {
    margin-left: 47px;
    margin-top: 35px;
}

.contact_table tr td:nth-child(2),
.contact_table tr td:nth-child(3) { text-align: left !important; }

.contact_table tr td:first-child { font-weight: 400; }

.contact_table a {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink-800);
}

.contact_table a span { font-weight: 400 !important; }

.contact_table a:hover { color: var(--green-600); }

.contact_list_section {
    padding-top: 30px;
    padding-bottom: 27px;
}

.contact_form_section {
    padding-top: 30px;
    padding-bottom: 35px;
}

/* ── Doprava a platba ───────────────────────────────── */

.payment_row {
    border-bottom: 1px solid var(--line-200);
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    align-items: stretch;
}

.payment_row:last-child { border-bottom: none; }

.payment_row > div {
    padding: 35px 28px;
    display: inline-block;
    vertical-align: top;
    min-height: 154px;
}

.payment_row > div + div { border-left: 1px solid var(--line-200); }

.payment_name { width: 260px; }

.payment_desc { max-width: 602px; }

.payment_name img {
    max-width: 89px;
    margin-top: 15px;
}

.payment_sort,
.payment_price,
.payment_name h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--ink-800);
}

.payment_name h4 {
    margin: 0;
    line-height: 1.4;
}

.payment span {
    color: #666;
    font-weight: 400;
    font-size: 15px;
}

.payment_h3 {
    font-size: 20px !important;
    margin-top: 45px;
    margin-bottom: 15px;
}

.min_width_price { min-width: 55px; }

/* ── Nášivky / badge stránky ────────────────────────── */

.detail_badge_img_wrap { padding-top: 25px; }

.detail_badge_row {
    max-width: 850px;
    margin-top: 35px;
}

.detail_badge_table td { text-align: left !important; }

.detail_badge_table tr td { font-weight: 400 !important; }

.detail_badge_table tr td:first-child { font-weight: 700 !important; }

.detail_badge_table tr:first-child td:first-child {
    font-weight: 700 !important;
    text-transform: none !important;
}

.badge_img_top {
    max-width: 572px;
    margin: 31px 0 46px;
}

.badge_img_middle {
    max-width: 927px;
    margin: 15px 0 25px;
}

.badge_img_bottom {
    max-width: 972px;
    margin: 15px 0 0;
}

table.nasivka_table { margin-bottom: 14px; }

table.nasivka_table tr:first-child td {
    font-weight: 400 !important;
    text-transform: none !important;
    text-align: left;
}

table.nasivka_table tr:last-child td { border-bottom: 1px solid var(--line-200); }

.nasivky_bottom_img {
    max-width: 836px;
    margin-top: 7px;
    margin-bottom: 35px;
}

.vzor_heading {
    margin-bottom: 10px;
    margin-top: 40px;
}

.patch_review_img { margin-bottom: 35px; }

.larger_text strong { font-size: 16px; }

/* ── Program / partneři ─────────────────────────────── */

.program_row {
    padding-top: 56px;
    padding-bottom: 65px;
}

.program_item img { max-width: 135px; }

.program_item h2 {
    font-size: 17px;
    margin-top: 26px;
    margin-bottom: 15px;
}

.program_item p {
    color: var(--grey-400);
    max-width: 237px;
    margin: 0 auto 23px;
}

.program_banner_item { margin-bottom: 24px; }

.taxes_table { margin: 25px auto 0; }


/* ═══════════════════════════════════════════════════════════════════════════
   22. BREAKPOINTY
   Sloučeno z obou souborů. Prázdné bloky odstraněny, duplicitní pravidla
   (např. .custom-footer width v 768 i 1200) sjednocena.
   Pořadí: nejdřív mobile-first (min-width), pak korekce (max-width).
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
    .narrow .banners-row { margin-top: 12px; }

    .multiple-columns-body .wide-carousel { padding-left: 15px; }

    .home_content_wrap { margin-top: 0; }
}

@media (min-width: 992px) {
    #toplist .text-center { text-align: left !important; }

    .sidebar {
        width: 295px;
        margin-top: 12px;
    }

    .icon_text p { font-size: 13px; }

    .icon_wrap {
        margin-left: 5px;
        margin-right: 5px;
    }

    .icon_item_wrap + .icon_item_wrap::before {
        content: '';
        display: inline-block;
        width: 1px;
        height: 45px;
        background-color: var(--line-500);
        transform: rotate(25deg);
        vertical-align: middle;
    }

    .home_content_wrap {
        margin-top: -220px;
        padding: 85px 50px 20px;
    }

    .description-inner { padding-bottom: 65px; }
}

@media (min-width: 1200px) {
    .icon_item_wrap {
        margin-bottom: 0;
    }

    .icon_item_wrap + .icon_item_wrap::before {
        margin: 0 22px 0 3px;
    }

    .icon_text p { font-size: 16px; }

    .custom-footer > div {
        flex: 0 0 auto;
        padding: 0;
        width: auto;
    }

    .custom-footer > div:nth-child(3),
    .custom-footer > div:nth-child(4) { width: 100%; }

    .basic-description {
        width: 100%;
        padding-right: 0;
    }

    .extended-description {
        width: 50%;
        padding-left: 0;
    }

    .content-inner { max-width: 100%; }
}

@media (min-width: 1440px) {
    .icon_item_wrap + .icon_item_wrap::before { margin: 0 25px 0 15px; }
}

/* ── Tablet a níž ───────────────────────────────────── */

@media (max-width: 991px) {
    /* [FIX] Pojistka proti přetečení hlavičky na mobilu. */
    #navigation,
    .content-wrapper {
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .contact_box_left { padding-left: 0; }

    .contact_row {
        text-align: center;
    }

    .contact_row > div { margin-bottom: 20px; }

    .contact_middle img { margin-top: 0; }

    .person_text hr {
        max-width: 324px;
        margin-left: auto;
        margin-right: auto;
    }

    p.reference_number { margin-top: 25px; }

    table.contact_table { margin-left: 0; }

    .container.footer-rows { text-align: center; }

    .in-dekujeme .co-box { padding-left: 19px; }

    .payment_row {
        display: block !important;
        overflow: hidden;
        border-bottom: 1px solid var(--line-200);
    }

    .payment_row > div { float: left; }

    .payment_row > div + div { border-left: 0; }

    .payment_name,
    .payment_desc { width: 80%; }

    .payment_price,
    .payment_sort {
        width: 20%;
        border-left: 1px solid var(--line-200);
    }

    .payment_price { border-bottom: 0 !important; }

    .payment_name,
    .payment_sort { min-height: 160px !important; }
}

@media (max-width: 767px) {
    .content-wrapper-in {
        padding-left: 0;
        padding-right: 0;
    }

    .contact_middle { text-align: center; }

    .contact_middle img {
        max-width: 320px;
        margin: 15px 0;
        width: 100%;
    }

    .about_shopping .content_wrap { padding-left: 0; }

    .about_shopping .content_wrap .after_line { padding-left: 25px; }

    .about_shopping .counter_item::before {
        left: 4px;
        top: 0;
        font-size: 19px;
    }

    .about_shopping h3 { font-size: 17px; }

    .content-inner h1 { font-size: 24px; }

    .content-inner h2 { font-size: 20px; }

    td.p-name {
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
    }

    td.cart-p-image { border: none !important; }

    .in-dekujeme table.cart-table .p-price.p-cell {
        border-left: none;
        border-right: 1px solid var(--line-200);
    }
}

@media (max-width: 660px) {
    .plus-gallery-wrap > div { width: 49% !important; }

    .position_item { padding: 15px 0 35px; }

    .payment_name { width: 70%; }

    .payment_sort { width: 30%; }

    .payment_price,
    .payment_sort { text-align: right; }

    .payment_row > div { padding: 30px 5px; }

    .filters.visible { padding: 5px 10px; }

    /* [FIX] Původně `.filters h4 * { color: #fff }` — po převedení filtrů
       na světlé schéma by byl nadpis nečitelný. */
    .filters h4 * { color: var(--ink-700); }

    button.btn.btn-conversion {
        text-transform: uppercase;
        font-size: 16px;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .p-detail-inner-header h1 { font-size: 24px; }

    .description-inner { padding: 0; }

    .icon_item_wrap { margin-bottom: 14px; }

    .contact_table tbody,
    .contact_table tr,
    .contact_table td { display: block; }

    .contact_table td { border: none !important; }

    .contact_table tr td:first-child {
        font-weight: 700;
        font-size: 16px;
    }

    .program_item { margin-bottom: 25px; }
}
