@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* === GLOBAL FONT: Poppins (jako vzor leaderfox.cz) === */
body,
#header,
.header-nav,
.header-top,
.lf-actions-list,
.top-menu,
.lf-header-userbar {
  font-family: 'Poppins', 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
}
/* ============================================================
   Leader Fox child theme — overrides on top of PS8 classic
   Brand: red (#E30613), black (#1A1A1A), white, light grey
   ============================================================ */

:root {
  --lf-primary: #E30613;
  --lf-primary-hover: #B70510;
  --lf-dark: #1A1A1A;
  --lf-dark-bar: #111111;
  --lf-text: #2B2B2B;
  --lf-muted: #6B6B6B;
  --lf-bg-light: #F5F5F5;
  --lf-bg-section: #FAFAFA;
  --lf-border: #E5E5E5;
  --lf-white: #FFFFFF;
  --lf-success: #4CAF50;

  --lf-font-base: "Inter", "Helvetica Neue", Arial, sans-serif;
  --lf-radius: 4px;
  --lf-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --lf-shadow:    0 4px 12px rgba(0,0,0,.08);
}

/* ----- Base ----- */
body {
  font-family: var(--lf-font-base);
  color: var(--lf-text);
  background: var(--lf-white);
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--lf-font-base);
  color: var(--lf-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}
a { color: var(--lf-primary); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--lf-primary-hover); text-decoration: none; }

/* ----- Header — tmava top lista jako na vzoru ----- */
#header {
  background: var(--lf-white);
  border-bottom: 1px solid var(--lf-border);
  box-shadow: var(--lf-shadow-sm);
}
#header .header-nav {
  background: var(--lf-dark-bar);
  color: var(--lf-white);
  border-bottom: none;
  min-height: 36px;
}
#header .header-nav a,
#header .header-nav .text-muted,
#header .header-nav span,
#header .header-nav li {
  color: var(--lf-white) !important;
}
#header .header-nav a:hover { color: var(--lf-primary) !important; }
#header .header-nav .blockcart .header,
#header .header-nav .currency-selector .expand-more,
#header .header-nav .language-selector .expand-more {
  color: var(--lf-white);
}
#header .header-top {
  padding: 1.25rem 0;
  background: var(--lf-white);
}
#header .logo {
  max-height: 60px;
  width: auto;
}
#header #_desktop_logo a { display: inline-block; }

/* ----- Top horizontalni menu — siroke a vyrazne ----- */
#_desktop_top_menu {
  margin: 0;
  background: var(--lf-white);
  border-top: 1px solid var(--lf-border);
}
.top-menu[data-depth="0"] {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}
.top-menu > li > a.dropdown-item,
.top-menu > li > a {
  color: var(--lf-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem; white-space: nowrap;
  padding: 0.9rem 1rem;
  display: block;
  background: transparent;
}
.top-menu > li > a:hover,
.top-menu > li:hover > a,
.top-menu > li.current > a {
  color: var(--lf-primary);
  background: transparent;
}
.top-menu .sub-menu {
  border-top: 3px solid var(--lf-primary);
  box-shadow: var(--lf-shadow);
  border-radius: 0;
}
.top-menu .sub-menu a:hover { color: var(--lf-primary); }

/* ----- Buttons ----- */
.btn-primary,
.btn-primary:focus,
button.btn-primary {
  background-color: var(--lf-primary);
  border-color: var(--lf-primary);
  color: var(--lf-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--lf-radius);
  padding: .75rem 1.5rem;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary:hover,
.btn-primary:active,
button.btn-primary:hover {
  background-color: var(--lf-primary-hover);
  border-color: var(--lf-primary-hover);
  color: var(--lf-white);
}
.btn-secondary, .btn-tertiary, .btn-outline-primary {
  background-color: transparent;
  border: 1px solid var(--lf-dark);
  color: var(--lf-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--lf-radius);
}
.btn-secondary:hover, .btn-tertiary:hover, .btn-outline-primary:hover {
  background-color: var(--lf-dark);
  color: var(--lf-white);
  border-color: var(--lf-dark);
}
.product-add-to-cart .btn-primary,
.btn.add-to-cart {
  background: var(--lf-primary);
  border-color: var(--lf-primary);
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* ----- Hero / image slider — fullbleed ----- */
.carousel,
#wrapper .carousel,
#carousel {
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.carousel .carousel-inner,
.carousel .carousel-item,
.carousel .carousel-item img {
  width: 100%;
  height: auto;
}
.carousel .carousel-item img {
  object-fit: cover;
  max-height: 75vh;
}
.carousel .carousel-control .icon-prev,
.carousel .carousel-control .icon-next {
  background-color: var(--lf-primary);
  color: var(--lf-white);
}
.carousel .carousel-control:hover .icon-prev,
.carousel .carousel-control:hover .icon-next {
  background-color: var(--lf-primary-hover);
}

/* ----- Product miniature ----- */
.product-miniature { margin-bottom: 2rem; }
.product-miniature .thumbnail-container {
  background: var(--lf-white);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  transition: box-shadow .2s ease, transform .2s ease;
  overflow: hidden;
  height: auto;
}
.product-miniature .thumbnail-container:hover {
  box-shadow: var(--lf-shadow);
  transform: translateY(-2px);
}
.product-miniature .product-title a {
  color: var(--lf-dark);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}
.product-miniature .product-title a:hover { color: var(--lf-primary); }
.product-miniature .product-price-and-shipping,
.product-miniature .price {
  color: var(--lf-primary);
  font-weight: 700;
  font-size: 1.25rem;
}
.product-miniature .product-flags li.product-flag.new,
.product-miniature .product-flags li.product-flag.online-only {
  background: var(--lf-primary);
  color: var(--lf-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: .75rem;
}
.product-miniature .product-flags li.product-flag.discount,
.product-miniature .product-flags li.product-flag.on-sale {
  background: var(--lf-dark);
  color: var(--lf-white);
}

/* ----- Product detail ----- */
.product-prices .current-price,
.product-prices .current-price span,
.current-price-display {
  color: var(--lf-primary);
  font-weight: 700;
}
.product-prices .regular-price { color: var(--lf-muted); }
.product-actions .add-to-cart { width: 100%; padding: 1rem; font-size: 1.05rem; }

/* ----- Featured products sekce ----- */
.featured-products, .products-section { padding: 3rem 0; }
.featured-products .h2,
.featured-products h2,
.products-section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.featured-products .h2::after,
.featured-products h2::after,
.products-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--lf-primary);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ----- Footer ----- */
.footer-container {
  background: var(--lf-dark);
  color: var(--lf-white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}
.footer-container h3,
.footer-container .h3,
.footer-container .links .title span {
  color: var(--lf-white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-container a { color: rgba(255,255,255,.75); }
.footer-container a:hover { color: var(--lf-primary); }
.footer-container .block-social ul li {
  background-color: rgba(255,255,255,.1);
  border-radius: 50%;
  transition: background-color .15s ease;
}
.footer-container .block-social ul li:hover { background-color: var(--lf-primary); }

/* ----- Search bar ----- */
#search_widget input[type=text] {
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: .5rem 1rem;
}
#search_widget button[type=submit] { color: var(--lf-primary); }

/* ----- Cart ----- */
.blockcart { background: transparent; color: var(--lf-dark); }
.blockcart.active .header a { color: var(--lf-primary); }

/* ----- Notifications ----- */
.alert-success, .notifications-success {
  background-color: rgba(76,175,80,.1);
  border-color: var(--lf-success);
  color: var(--lf-success);
}
.alert-danger, .notifications-error {
  background-color: rgba(227,6,19,.08);
  border-color: var(--lf-primary);
  color: var(--lf-primary);
}

/* ----- Breadcrumb ----- */
.breadcrumb { background: transparent; padding: 1rem 0; }
.breadcrumb a { color: var(--lf-muted); }
.breadcrumb a:hover { color: var(--lf-primary); }
.breadcrumb li:last-child { color: var(--lf-dark); font-weight: 600; }

/* ----- Forms ----- */
.form-control { border: 1px solid var(--lf-border); border-radius: var(--lf-radius); }
.form-control:focus {
  border-color: var(--lf-primary);
  box-shadow: 0 0 0 .2rem rgba(227,6,19,.15);
}

/* ----- Category ----- */

/* ============================================================
   CATEGORY PAGE — LAYOUT JAKO VZOR leaderfox.cz
   ============================================================ */

#category #left-column .block-categories,
#category #left-column .facets-title,
#category #left-column .ps-shown-by-js,
#category #left-column .brands-block-filter {
  display: none;
}

#category .block-category,
#category .block-category.card,
#category .block-category.card-block,
#category .block-category-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center;
}

#category .category-cover,
#category .block-category .category-additional-description {
  display: none !important;
}

#category .block-category h1.h1,
#category .page-title,
#category h1.h1 {
  text-align: left;
  font-size: 2.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 1.5rem 0 0 0;
  font-weight: 700;
  color: var(--lf-dark);
}

#category nav.breadcrumb {
  background: var(--lf-bg-light);
  padding: 0.875rem 1rem;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  border: none;
  border-radius: 0;
  font-size: 0.875rem;
  position: relative;
  left: 0;
}
#category nav.breadcrumb ol {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#category nav.breadcrumb ol li { display: inline; }
#category nav.breadcrumb ol li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--lf-text-muted);
  opacity: 0.6;
}
#category nav.breadcrumb a {
  color: var(--lf-text-muted);
  text-decoration: none;
}
#category nav.breadcrumb a:hover { color: var(--lf-primary); }

#category .lf-category-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  line-height: 0;
}
#category .lf-category-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 320px;
}

#category .lf-category-intro {
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
  color: var(--lf-dark);
}

#category .lf-category-subinfo {
  text-align: center;
  max-width: 1100px;
  margin: 1rem auto 2rem auto;
  padding: 0 1rem;
}
#category .lf-category-subinfo h3 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--lf-dark);
}
#category .lf-category-subinfo ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#category .lf-category-subinfo li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
#category .lf-category-subinfo li strong {
  color: var(--lf-primary);
  font-weight: 600;
}

@media (max-width: 991px) {
  #category .lf-category-hero img { max-height: 280px; }
  #category .lf-category-intro { font-size: 0.95rem; padding: 0 1.5rem; }
  #category h1.h1 { font-size: 1.75rem; }
}

@media (max-width: 767px) {
  #category .lf-category-hero img { max-height: 200px; }
  #category h1.h1 { font-size: 1.4rem; letter-spacing: 0; }
  #category .lf-category-intro { font-size: 0.9rem; line-height: 1.5; }
  #category nav.breadcrumb { font-size: 0.8rem; }
}

html, body { overflow-x: hidden; }
/* #wrapper overflow removed for hero full-width */


/* === HEADER fix - logo vlevo, menu vyplnuje zbytek === */
.header-top {
  padding: 1rem 0 !important;
}
.header-top .container {
  max-width: 1320px;
  margin: 0 auto;
}
.header-top .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
}
@media (min-width: 992px) {
  .header-top .col-md-2 {
    flex: 0 0 180px;
    max-width: 180px;
    padding-left: 15px;
  }
  .header-top .col-md-10 {
    flex: 1 1 auto;
    max-width: calc(100% - 180px);
  }
}
/* Logo image */
#_desktop_logo img,
.logo,
.header-top .logo {
  max-height: 48px !important;
  width: auto !important;
  display: block;
}

/* Top nav (tmava lista) - sirka jako header */
.header-nav .container {
  max-width: 1320px;
}


/* === FORCE header-nav visibility (override classic if needed) === */
#header .header-nav {
  display: block !important;
  visibility: visible !important;
  background: var(--lf-dark-bar) !important;
  color: var(--lf-white) !important;
  padding: 0.5rem 0 !important;
  min-height: 36px !important;
  max-height: none !important;
}
.header-nav .container > .row {
  margin: 0;
  align-items: center;
}


/* === HEADER LAYOUT FIX: logo vlevo, menu vpravo, jeden radek === */
@media (min-width: 992px) {
  /* Header-top row - flex s logo vlevo a obsah vpravo */
  .header-top .container .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
  }

  /* Logo column - fixed width vlevo */
  .header-top .col-md-2 {
    flex: 0 0 260px !important;
    max-width: 260px !important;
    padding: 0 15px !important;
    text-align: left !important;
  }

  /* Header-top-right - zbytek mista, obsah uvnitr vpravo */
  .header-top .header-top-right.col-md-10 {
    flex: 1 1 auto !important;
    max-width: calc(100% - 260px) !important;
    padding: 0 !important;
  }

  /* Top menu uvnitr header-top-right - od pravej strany */
  #_desktop_top_menu {
    display: block;
    width: 100%;
    border-top: none !important;
    background: transparent !important;
  }
  
  /* Top menu samotny - flex od leveho kraje k pravemu (zaplni cely prostor) */
  .top-menu[data-depth="0"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .top-menu > li {
    flex-shrink: 0;
  }
}

/* Logo image - velka ale ne ohromna */
#_desktop_logo,
.header-top .logo {
  display: block;
}
#_desktop_logo img,
.header-top img.logo {
  max-height: 50px !important;
  width: auto !important;
  display: block;
}


/* === LOGO FIX: respektovat sirku col-md-2 (nepretekat do menu) === */
.header-top .col-md-2 {
  overflow: hidden;
  flex: 0 0 260px !important;
  max-width: 260px !important;
  text-align: left !important;
  padding: 0 15px !important;
}
.header-top .col-md-2 #_desktop_logo,
.header-top .col-md-2 .top-logo,
.header-top .col-md-2 a {
  display: inline-block;
  max-width: 100%;
}
/* LOGO IMG - omezit max-width na sirku parent col + height */
.header-top .col-md-2 img,
#_desktop_logo img,
.header-top img.logo {
  max-width: 250px !important;
  max-height: 44px !important;
  width: auto !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}

/* === MENU - od loga doprava, mensi padding === */
.header-top .header-top-right.col-md-10 {
  flex: 1 1 auto !important;
  max-width: calc(100% - 260px) !important;
  padding: 0 15px 0 0 !important;
  text-align: right;
}


/* === FORCE LOGO SIZE - prepis HTML width="1000" atribut === */
.header img.logo,
.header-top img.logo,
.header-top .col-md-2 img.logo,
.header-top #_desktop_logo img,
#header img[src*="logo.png"],
#header .img-fluid {
  width: 240px !important;
  max-width: 250px !important;
  height: auto !important;
  max-height: 50px !important;
  object-fit: contain;
  display: block;
}


/* === HERO FIX: dovolit ven z wrapper containeru === */
#category #wrapper {
  overflow-x: visible !important;
}
/* container v #wrapper musí povolit overflow */
#category #wrapper > .container {
  overflow: visible !important;
}
#category #content-wrapper,
#category #main,
#category #js-product-list-header,
#category .block-category,
#category .block-category-inner,
#category #category-description {
  overflow: visible !important;
}

/* Hero - absolutni breakout pomoci position + transform misto margin */
#category .lf-category-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden;
  line-height: 0;
}
#category .lf-category-hero img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 420px !important;
  display: block;
  object-fit: cover;
}

/* === LOGO column - tvrdý fix sirky + overflow hidden === */
.header-top .row > .col-md-2.hidden-sm-down {
  flex: 0 0 260px !important;
  max-width: 260px !important;
  min-width: 260px !important;
  width: 260px !important;
  overflow: hidden !important;
  padding: 0 15px !important;
}
.header-top #_desktop_logo {
  width: 100%;
  max-width: 250px;
  overflow: hidden;
}
.header-top #_desktop_logo a {
  display: block;
  width: 100%;
  max-width: 250px;
}


/* ============================================================
   HEADER STYL JAKO VZOR e-shop.leaderfox.cz
   - Žádná tmavá top lišta
   - Logo + ikony + menu vše v bílé hlavičce
   ============================================================ */

/* Top tmavá lišta -> BILA */
#header .header-nav {
  background: var(--lf-white) !important;
  color: var(--lf-dark) !important;
  border-bottom: 1px solid var(--lf-border) !important;
  padding: 0.875rem 0 !important;
  min-height: auto !important;
}
#header .header-nav a,
#header .header-nav .text-muted,
#header .header-nav span,
#header .header-nav li {
  color: var(--lf-dark) !important;
}
#header .header-nav a:hover { color: var(--lf-primary) !important; }
#header .header-nav .blockcart .header,
#header .header-nav .currency-selector .expand-more,
#header .header-nav .language-selector .expand-more {
  color: var(--lf-dark) !important;
}

/* Dropdown ten je teď v bílém headeru - sediji do něj */
#header .header-nav .dropdown-menu {
  background: var(--lf-white);
  border: 1px solid var(--lf-border);
}

/* Skrýt "Kontaktujte nás" - vzor ho nemá */
#header .header-nav #_desktop_contact_link,
#header .header-nav .col-md-5 {
  display: none !important;
}
/* col-md-7 (vpravo - prihlásit / košík / jazyk) zabere celou šířku */
#header .header-nav .col-md-7 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  text-align: right;
}

/* Header-top (logo + menu) - oddělovač pod ním */
#header .header-top {
  border-bottom: 1px solid var(--lf-border);
  padding: 0.5rem 0 !important;
}


/* ============================================================
   FINAL HEADER LAYOUT — vzor e-shop.leaderfox.cz
   Logo a menu KAZDE NA SVEM RADKU:
   - Radek 1: bila lista s "Cestina / Prihlasit / Kosik" vpravo
   - Radek 2: LOGO vlevo + menu vpravo
   ============================================================ */

@media (min-width: 992px) {
  /* Header-top row - logo VLEVO, menu VPRAVO, v jedne radce */
  .header-top {
    padding: 1rem 0 !important;
  }
  .header-top .container {
    max-width: 1320px;
    margin: 0 auto;
  }
  .header-top .container .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
  }
  /* LOGO column - VLEVO, fixovany */
  .header-top .col-md-2,
  .header-top .col-md-2.hidden-sm-down {
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    order: 1;
  }
  /* MENU column - VPRAVO, vyplnuje zbytek */
  .header-top .header-top-right.col-md-10 {
    flex: 1 1 auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right !important;
    order: 2;
  }
  /* Logo image - normalni velikost cca 280px */
  .header-top img.logo,
  #header img[src*="logo.png"],
  #_desktop_logo img {
    width: 240px !important;
    max-width: 240px !important;
    height: auto !important;
    max-height: 36px !important;
    display: inline-block !important;
    vertical-align: middle;
  }
  /* Top menu - od pravej strany doleva, vejde se */
  .top-menu[data-depth="0"] {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
  }
  #_desktop_top_menu {
    display: inline-block !important;
    width: auto !important;
  }
}


/* ============================================================
   HEADER LAYOUT KAZDY PRVEK NA SVEM RADKU JAKO VZOR
   Radek 1 (header-nav): bila lista s Cestina/Prihlasit/Kosik vpravo
   Radek 2 (header-top): LOGO uplne vlevo
   Radek 3 (header-top-right > top-menu): MENU centrovane na celou sirku
   ============================================================ */

@media (min-width: 992px) {
  /* Header-top - flex wrap aby logo a header-top-right byli na 2 radcich */
  .header-top .container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
  }
  .header-top .container .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }
  
  /* RADEK 2: LOGO - 100% sirka, vlevo */
  .header-top .col-md-2,
  .header-top .col-md-2.hidden-sm-down {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    text-align: left !important;
    order: 1;
    border-bottom: 1px solid var(--lf-border);
  }
  .header-top #_desktop_logo {
    display: inline-block;
    max-width: none !important;
  }
  
  /* RADEK 3: MENU + search/cart obsah - 100% sirka */
  .header-top .header-top-right.col-md-10 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    order: 2;
  }
  
  /* Top menu - centrovane na celou sirku */
  #_desktop_top_menu {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: transparent !important;
    border-top: none !important;
    padding: 0.75rem 0 !important;
  }
  .top-menu[data-depth="0"] {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: auto !important;
  }
  
  /* Top menu items - bigger paddings na samostatnem radku */
  .top-menu > li > a.dropdown-item,
  .top-menu > li > a {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  
  /* Logo image - normalni velikost cca 280px */
  .header-top img.logo,
  #header img[src*="logo.png"],
  #_desktop_logo img {
    width: 280px !important;
    max-width: 280px !important;
    height: auto !important;
    max-height: 40px !important;
    display: inline-block !important;
    vertical-align: middle;
  }
}


/* ============================================================
   HEADER LAYOUT FINAL - prebije vsechna predchozi
   ============================================================ */

@media (min-width: 992px) {
  /* Header-top container - max 1320px, centrovany */
  #header .header-top {
    padding: 1rem 0 !important;
    background: var(--lf-white) !important;
  }
  #header .header-top > .container {
    max-width: 1320px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
  }
  #header .header-top > .container > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* === RADEK 1: LOGO column - 100% sirka, vlevo === */
  #header .header-top .col-md-2,
  #header .header-top .col-md-2.hidden-sm-down {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
    overflow: visible !important;
    text-align: left !important;
    order: 1 !important;
    display: block !important;
  }
  #header .header-top #_desktop_logo {
    display: inline-block !important;
    max-width: none !important;
    overflow: visible !important;
  }
  #header .header-top #_desktop_logo a {
    display: inline-block !important;
    max-width: none !important;
    overflow: visible !important;
  }
  
  /* === LOGO IMAGE - bez orezavani, plna velikost === */
  #header .header-top img.logo,
  #header img[src*="logo.png"],
  #header .header-top #_desktop_logo img {
    width: 280px !important;
    max-width: 280px !important;
    height: auto !important;
    max-height: 44px !important;
    display: block !important;
    object-fit: contain !important;
    overflow: visible !important;
  }
  
  /* === RADEK 2: MENU - 100% sirka, centrovany === */
  #header .header-top .header-top-right.col-md-10 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    order: 2 !important;
    border-top: 1px solid var(--lf-border);
    padding-top: 0.5rem !important;
  }
  
  /* Top menu - na full sirku, centrovany */
  #header #_desktop_top_menu {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  #header .top-menu[data-depth="0"] {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: auto !important;
  }
  #header .top-menu > li > a.dropdown-item,
  #header .top-menu > li > a {
    padding: 0.6rem 1.4rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    color: var(--lf-dark) !important;
  }
  #header .top-menu > li > a:hover,
  #header .top-menu > li:hover > a {
    color: var(--lf-primary) !important;
  }
}


/* === LOGO ALIGNMENT FIX - logo VLEVO === */
@media (min-width: 992px) {
  #header .header-top .col-md-2 h1,
  #header .header-top #_desktop_logo h1 {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  #header .header-top #_desktop_logo h1 a {
    display: inline-block !important;
    text-align: left !important;
  }
  #header .header-top .col-md-2,
  #header .header-top #_desktop_logo {
    text-align: left !important;
    display: block !important;
  }
}


/* === ULTIMATE LOGO LEFT FIX - flex margin auto === */
@media (min-width: 992px) {
  /* Logo column - 100% sirka, prislepa k levemu okraji pomoci margin-right auto */
  #header .header-top .container .row > .col-md-2 {
    align-self: flex-start !important;
    margin-right: auto !important;
  }
  /* Logo INSIDE col-md-2 - prilepa k levemu okraji */
  #header .header-top #_desktop_logo h1,
  #header .header-top #_desktop_logo {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #header .header-top #_desktop_logo h1 a {
    display: inline-block !important;
    float: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #header .header-top #_desktop_logo img {
    float: left !important;
    margin: 0 !important;
  }
}


/* === FINAL FINAL HEADER - jako vzor leaderfox.cz === */
/* Logo VLEVO + menu VPRAVO na JEDNOM RADKU, sirsi container */

@media (min-width: 992px) {
  /* Sirsi container - vyuzit obrazovku */
  #header .container,
  .header-nav .container,
  .header-top > .container {
    max-width: 1600px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
  }
  
  /* Header-top row - jednoradek, space-between */
  #header .header-top > .container > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
  }
  
  /* LOGO col - jen tak siroke jak logo, VLEVO */
  #header .header-top .col-md-2,
  #header .header-top .col-md-2.hidden-sm-down {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    order: 1 !important;
    border: none !important;
  }
  
  /* MENU col - vyplnuje zbytek, VPRAVO */
  #header .header-top .header-top-right.col-md-10 {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 0 0 2rem !important;
    text-align: right !important;
    order: 2 !important;
    border: none !important;
    padding-top: 0 !important;
  }
  
  /* Top menu - vpravo, nowrap */
  #header #_desktop_top_menu {
    display: inline-block !important;
    width: auto !important;
    text-align: right !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  #header .top-menu[data-depth="0"] {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }
  #header .top-menu > li > a.dropdown-item,
  #header .top-menu > li > a {
    padding: 0.6rem 1.1rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
  }
  
  /* Logo image - menší aby se vesly oba prvky na sirku */
  #header .header-top img.logo,
  #header img[src*="logo.png"],
  #header .header-top #_desktop_logo img {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 36px !important;
    display: block !important;
    float: none !important;
  }
  
  /* Header-nav (top lista) take 1600px */
  #header .header-nav > .container {
    max-width: 1600px !important;
  }
}


/* ============================================================
   NEW HEADER CSS - pro vlastni TPL override (lf-* trizy)
   ============================================================ */

@media (min-width: 992px) {
  /* Header-top - bila, oddelovac */
  #header .header-top {
    background: var(--lf-white) !important;
    padding: 0px !important;
    border-bottom: 1px solid var(--lf-border);
  }
  
  #header .header-top > .container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
  }
  
  /* === RADEK 1: LOGO + IKONY === */
  #header .header-top .lf-header-main {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Logo column - jen tolik mista kolik treba */
  #header .header-top .lf-header-main .lf-logo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }
  #header .header-top .lf-header-main .lf-logo h1,
  #header .header-top .lf-header-main .lf-logo a {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    text-align: left !important;
  }
  #header .header-top .lf-header-main .lf-logo img {
    width: 240px !important;
    max-width: 240px !important;
    height: auto !important;
    max-height: 40px !important;
    display: block !important;
  }
  
  /* Ikony column - vplnuje zbytek, zarovnano vpravo */
  #header .header-top .lf-header-main .lf-header-actions {
    flex: 1 1 auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 0 0 2rem !important;
    text-align: right !important;
  }
  
  /* Ikony list - flex, vpravo, bez bullets */
  #header .lf-actions-list {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
  }
  #header .lf-actions-list > li {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 0.6rem !important;
    margin: 0 !important;
    border-left: 1px solid var(--lf-border);
  }
  #header .lf-actions-list > li:first-child {
    border-left: none;
  }
  #header .lf-actions-list > li > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem;
    color: var(--lf-dark) !important;
    text-decoration: none !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 0.5rem !important;
    white-space: nowrap;
  }
  #header .lf-actions-list > li > a:hover {
    color: var(--lf-primary) !important;
  }
  #header .lf-actions-list > li img {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
  }
  #header .lf-actions-list .lf-icon {
    font-size: 1.1rem;
    line-height: 1;
  }
  
  /* Specialni styly pro PS blockcart/login uvnitr li */
  #header .lf-actions-list > li .blockcart,
  #header .lf-actions-list > li .header.user-info,
  #header .lf-actions-list > li #_desktop_user_info {
    display: inline-flex !important;
    align-items: center !important;
  }
  
  /* === RADEK 2: HLAVNI MENU === */
  #header .header-top .lf-header-menu {
    margin: 0 !important;
    padding: 0.5rem 0 0 0 !important;
    border-top: 1px solid var(--lf-border);
    margin-top: 0.75rem !important;
  }
  #header .header-top .lf-header-menu > .col-md-12 {
    padding: 0 !important;
  }
  #header #_desktop_top_menu {
    width: 100% !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  #header .top-menu[data-depth="0"] {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  #header .top-menu > li > a.dropdown-item,
  #header .top-menu > li > a {
    padding: 0.6rem 1.4rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    color: var(--lf-dark) !important;
  }
}


/* === Skryt puvodni header-nav (sloucen do header-main) === */
.header-nav.lf-hidden {
  display: none !important;
}

/* === Userbar (Cestina/Prihlasit/Kosik) - vpravo vedle ikon === */
@media (min-width: 992px) {
  #header .header-top .lf-header-main {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Logo - jen tolik mista kolik potreba, vlevo */
  #header .header-top .lf-header-main .lf-logo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 1rem 0 0 !important;
    text-align: left !important;
  }
  
  /* Actions list (Katalog/Oblibene/atd) - vlevo od userbar, vyplni stred */
  #header .header-top .lf-header-main .lf-header-actions {
    flex: 1 1 auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right !important;
  }
  
  /* Userbar (Cestina/Prihlasit/Kosik) - uplne vpravo, jen tolik mista jak potreba */
  #header .header-top .lf-header-main .lf-header-userbar {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 0 0 1rem !important;
    margin: 0 0 0 1rem !important;
    border-left: 1px solid var(--lf-border);
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem;
  }
  
  /* Uvnitr userbar - selectory a tlacitka inline */
  #header .lf-header-userbar > div,
  #header .lf-header-userbar .language-selector,
  #header .lf-header-userbar .currency-selector,
  #header .lf-header-userbar .user-info,
  #header .lf-header-userbar .blockcart {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 0.5rem !important;
  }
  #header .lf-header-userbar a,
  #header .lf-header-userbar span {
    color: var(--lf-dark) !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    text-decoration: none;
  }
  #header .lf-header-userbar a:hover {
    color: var(--lf-primary) !important;
  }
}


/* === FINETUNING IKON v lf-actions-list (jako vzor) === */
@media (min-width: 992px) {
  #header .lf-actions-list > li {
    padding: 0 0.7rem !important;
    border-left: none !important;
  }
  #header .lf-actions-list > li > a {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.3rem 0.4rem !important;
    color: var(--lf-dark) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0;
  }
  #header .lf-actions-list > li > a:hover {
    color: var(--lf-primary) !important;
  }
  /* Ikona-img menší a vedle textu */
  #header .lf-actions-list > li > a img {
    width: 24px !important;
    height: 24px !important;
    display: inline-block !important;
    vertical-align: middle;
    flex-shrink: 0;
  }
  /* Pro "Katalog ke stažení" který nema img, dej placeholder ikonu */
  #header .lf-actions-list .lf-action-katalog > a::before { display: none !important;
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../img/icons/oblibene.svg") center/contain no-repeat;
    filter: grayscale(1);
  }
  
  /* Top menu - vetsi font + uppercase jako vzor */
  #header .top-menu > li > a.dropdown-item,
  #header .top-menu > li > a {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding: 0.7rem 1.5rem !important;
    color: var(--lf-dark) !important;
  }
  
  /* H1 v category page - Poppins bold */
  #category h1.h1,
  #category .h1 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
  }
}


/* === FINAL: vypnout vsechny ::before pseudo-elements v actions list === */
#header .lf-actions-list > li > a::before,
#header .lf-actions-list .lf-action-katalog > a::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Pridat na "Katalog ke stažení" prirozenou ikonu PDF dolu (heroicon style) */
#header .lf-actions-list .lf-action-katalog > a {
  position: relative;
}
#header .lf-actions-list .lf-action-katalog > a::after {
  display: none !important;
}


/* === FULL WIDTH LAYOUT - jako vzor === */
@media (min-width: 992px) {
  /* Container vzoru je 100% sirky s padding 50px */
  #header .header-top > .container,
  #header .header-nav > .container,
  #header .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 50px !important;
  }
  
  /* Container na zbytek stranky zachovat 1320 */
  body:not(#index) #wrapper > .container,
  #wrapper > .container,
  .container:not(.header-top > .container):not(.header-nav > .container) {
    max-width: 1320px;
  }
  
  /* Hlavni menu - taky full width centrovany s padding */
  #header .lf-header-menu {
    padding: 0 50px !important;
    margin: 0 -50px !important;
  }
  
  /* Menu kategorii - vetsi padding nahore (jako vzor) */
  #header .lf-header-menu .lf-menu-wrapper {
    padding: 0px !important;
  }
}


/* === FINAL HEADER STYLES - vsechny prvky vzoru === */
@media (min-width: 992px) {
  /* Skryt userbar pokud uz mam vse v actions list */
  #header .lf-header-userbar {
    display: none !important;
  }
  
  /* Actions list - flex, ne text-align */
  #header .lf-header-actions {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    gap: 0;
    padding: 0 0 0 2rem !important;
    margin: 0 !important;
  }
  
  #header .lf-actions-list {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    gap: 0;
  }
  
  /* Tlacitko Katalog - s borderem */
  #header .lf-actions-list .lf-btn > a {
    border: 1px solid var(--lf-border);
    border-radius: 0;
    padding: 0.7rem 1.2rem !important;
    background: transparent;
    color: var(--lf-dark) !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
  }
  #header .lf-actions-list .lf-btn > a:hover {
    background: var(--lf-primary);
    color: var(--lf-white) !important;
    border-color: var(--lf-primary);
  }
  
  /* Stat se dealerem - cerveny accent */
  #header .lf-actions-list .lf-action-dealer > a {
    color: var(--lf-dark) !important;
  }
  
  /* SEARCH BAR */
  #header .lf-header-search {
    display: flex !important;
    align-items: center !important;
    margin-left: 1rem;
    gap: 0.3rem;
  }
  #header .lf-search-input {
    border: 1px solid var(--lf-border);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    width: 180px;
    background: var(--lf-white);
    outline: none;
    border-radius: 0;
  }
  #header .lf-search-input:focus {
    border-color: var(--lf-primary);
  }
  #header .lf-search-btn {
    background: var(--lf-dark);
    color: var(--lf-white);
    border: 1px solid var(--lf-dark);
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    cursor: pointer;
  }
  #header .lf-hamburger {
    background: var(--lf-dark);
    color: var(--lf-white);
    border: 1px solid var(--lf-dark);
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0.3rem;
  }
  
  /* Vsechny ikony - lepsi vyska/velikost */
  #header .lf-actions-list > li:not(.lf-btn) > a {
    padding: 0.5rem 0.65rem !important;
    color: var(--lf-dark) !important;
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500 !important;
    line-height: 1;
  }
  #header .lf-actions-list > li > a img {
    width: 18px !important;
    height: 18px !important;
  }
  
  /* Cart amount text */
  #header .lf-cart-amount {
    font-weight: 700;
    color: var(--lf-dark);
    margin-left: 0.2rem;
  }
}


/* Final fix: search btn cerne, vetsi padding katalog */
#header .lf-search-btn,
#header .lf-hamburger {
  background: #2A2A2A !important;
  color: white !important;
  border-color: #2A2A2A !important;
}
#header .lf-search-btn:hover,
#header .lf-hamburger:hover {
  background: var(--lf-primary) !important;
  border-color: var(--lf-primary) !important;
}

/* Vetsi padding pro KATALOG button (jako vzor) */
@media (min-width: 992px) {
  #header .lf-actions-list .lf-btn > a {
    padding: 0.85rem 1.6rem !important;
    font-size: 0.82rem !important;
  }
}


/* ============================================================
   STRANKA KATEGORIE - dolaďovaní jako vzor
   ============================================================ */

/* H1 - vlevo, podtrzeni */
#category .block-category h1.h1,
#category .page-title,
#category h1.h1 {
  text-align: left !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  color: var(--lf-dark) !important;
  padding-bottom: 1rem !important;
  margin: 1rem 0 1.5rem 0 !important;
  border-bottom: 2px solid var(--lf-border);
}

/* Breadcrumb - s ikonkou domecku a > separator */
#category nav.breadcrumb ol li:first-child a::before {
  content: "🏠";
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.9rem;
  vertical-align: middle;
}
#category nav.breadcrumb ol li + li::before {
  content: ">" !important;
  margin: 0 0.5rem !important;
  color: var(--lf-text-muted, #6B6B6B) !important;
  opacity: 0.8 !important;
}
#category nav.breadcrumb ol li:first-child a span {
  display: inline-block;
  vertical-align: middle;
}
/* Skryt text "Domu" - zobrazi se jen ikonka domecku */
#category nav.breadcrumb ol li:first-child a > span {
  display: none;
}

/* Sub-info bloky - cervene tucne odkazy */
#category .lf-category-subinfo li strong,
#category .lf-category-subinfo a {
  color: var(--lf-primary) !important;
  font-weight: 700 !important;
  text-decoration: none;
}
#category .lf-category-subinfo a:hover {
  text-decoration: underline;
}

/* Intro text - centrovany, ale ne tak vlevo zatlaceny */
#category .lf-category-intro {
  text-align: center !important;
  max-width: 1100px !important;
  margin: 1rem auto 1.5rem auto !important;
  padding: 0 1rem !important;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--lf-dark);
}

/* Hero - mensi spodni margin */
#category .lf-category-hero {
  margin-bottom: 1.5rem !important;
}


/* ============================================================
   ULTIMATE FIX - H1 vlevo, hero MENSI (jako vzor)
   ============================================================ */

/* H1 - vlevo s !important pro prebiti vsech jinych pravidel */
body#category .block-category h1.h1,
body#category .page-title,
body#category h1.h1,
body#category .h1,
#category .block-category h1,
#category #js-product-list-header h1 {
  text-align: left !important;
  font-size: 1.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  color: var(--lf-dark) !important;
  padding: 0 0 0.75rem 0 !important;
  margin: 1rem 0 1.5rem 0 !important;
  border-bottom: 2px solid var(--lf-border) !important;
}

/* HERO - mensi (jako vzor) */
body#category .lf-category-hero img,
#category .lf-category-hero img {
  max-height: 280px !important;
  width: 100% !important;
  object-fit: cover !important;
}


/* === HERO - 1320px container (zarovnany s textem dole) === */
#category .lf-category-hero,
body#category .lf-category-hero {
  position: static !important;
  left: auto !important;
  right: auto !important;
  margin: 1rem auto 1.5rem auto !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  line-height: 0;
}
#category .lf-category-hero img,
body#category .lf-category-hero img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 240px !important;
  display: block !important;
  object-fit: cover !important;
}


/* ============================================================
   FOOTER - styly podle vzoru leaderfox.cz
   ============================================================ */

/* Footer wrapper - tmavé pozadí */
#footer,
.footer-container {
  background: #1a1a1a !important;
  color: #cccccc !important;
  padding: 3rem 0 0 0 !important;
  margin-top: 3rem;
}

/* Footer nadpisy (h3) - bila, vetsi, uppercase */
#footer h3,
#footer .h3,
#footer .h4,
#footer .block-contact-title,
#footer .links .h3,
.footer-container .links .title,
.footer-container .block-contact-title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 1.2rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #E30613;
  display: inline-block;
}

/* Footer odkazy - svetle sede */
#footer a,
.footer-container a {
  color: #b0b0b0 !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  line-height: 1.9 !important;
  transition: color 0.2s ease;
}
#footer a:hover,
.footer-container a:hover {
  color: #ffffff !important;
}

/* Footer text (nazev firmy, adresa) */
#footer p,
#footer span,
#footer .text,
.footer-container .block-contact ul li {
  color: #b0b0b0 !important;
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
}
#footer p strong,
.footer-container .block-contact strong {
  color: #ffffff !important;
}

/* Footer list items */
#footer ul li,
.footer-container ul li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Skryt PrestaShop copyright vlevo, jen muj/sysko */
#footer .text-sm-center a[href*="prestashop"] {
  color: #555 !important;
  font-size: 0.75rem !important;
}

/* Newsletter - svetly podklad (zachovat ze classic) ale text upravit */
.block_newsletter,
.footer-before {
  background: #f5f5f5 !important;
  padding: 2rem 0 !important;
}
.block_newsletter p {
  color: #1a1a1a !important;
}
.block_newsletter input[type="email"] {
  border: 1px solid #ddd !important;
  padding: 0.7rem 1rem !important;
  background: #ffffff !important;
  color: #1a1a1a !important;
}
.block_newsletter button,
.block_newsletter input[type="submit"] {
  background: #E30613 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0.7rem 1.5rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer;
}
.block_newsletter button:hover {
  background: #c10510 !important;
}

/* Social follow ikony - bile */
.social-sharing,
#footer .social-sharing {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.social-sharing li {
  display: inline-block;
  margin-right: 0.5rem;
}
.social-sharing li a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: #333 !important;
  color: white !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.social-sharing li a:hover {
  background: #E30613 !important;
}

/* Container width pro footer - max 1320px */
#footer > .container,
#footer .footer-container > .container,
.footer-container > .container {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
}

/* Spacing mezi sloupci */
#footer .links,
#footer .block-contact {
  margin-bottom: 2rem;
}

/* Copyright - mensi font, sede */
#footer .text-sm-center,
.footer-container .text-sm-center {
  color: #666 !important;
  padding: 1.5rem 0 !important;
  border-top: 1px solid #2a2a2a;
  margin-top: 2rem;
  font-size: 0.8rem;
}


/* ============================================================
   FOOTER LEADERFOX STYLE - horizontalni menu + logo + socialky
   ============================================================ */

/* Skryt vsechny stare footer styly (4 sloupce) - novy ma jine tridy */
.footer-container.lf-footer-main {
  background: #2a2e35 !important;
  color: #ffffff !important;
  padding: 3rem 0 0 0 !important;
  margin-top: 3rem;
}

/* Container vnitrni */
.lf-footer-main > .container {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
}

/* === HORIZONTALNI MENU ODKAZY === */
.lf-footer-links {
  text-align: center;
  padding: 2rem 1rem;
  line-height: 2.4;
  max-width: 1100px;
  margin: 0 auto;
}
.lf-footer-links a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap;
  display: inline-block;
  padding: 0 0.6rem;
  transition: color 0.2s;
}
.lf-footer-links a:hover {
  color: #E30613 !important;
}
.lf-footer-links .lf-sep {
  color: #ffffff;
  opacity: 0.4;
  padding: 0;
  font-weight: 300;
  display: inline-block;
}

/* === LOGO === */
.lf-footer-logo {
  text-align: center;
  padding: 1.5rem 0 0.5rem 0;
}
.lf-footer-logo img {
  max-width: 240px;
  width: auto;
  height: auto;
  /* Logo PNG je tmavy, na tmavem footeru ho potrebujeme invertovat */
  filter: invert(1) brightness(2);
}

/* === SOCIAL IKONY === */
.lf-footer-social {
  text-align: center;
  padding: 0.5rem 0 2rem 0;
}
.lf-footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin: 0 0.5rem;
  color: #ffffff !important;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.lf-footer-social a:hover {
  color: #E30613 !important;
}
.lf-footer-social svg {
  width: 28px;
  height: 28px;
}

/* === COPYRIGHT === */
.lf-footer-copyright {
  background: #1f2227;
  color: #999;
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.78rem;
}
.lf-footer-copyright p {
  margin: 0;
}

/* === SKRYT stare footer styly (block-contact, links bloky) === */
.lf-footer-main .block-contact,
.lf-footer-main .links,
.lf-footer-main .account-list,
#footer:not(.lf-footer-main) > .footer-container > .container > .row > div {
  display: none !important;
}

/* === SKRYT PrestaShop copyright === */
.lf-footer-main .text-sm-center a[href*="prestashop"] {
  display: none;
}


/* === Skryt duplikovany Prestashop copyright (zustane jen muj v lf-footer-copyright) === */
.lf-footer-main + footer .text-sm-center,
#footer:not(.js-footer) .text-sm-center,
body footer.js-footer > .footer-container > .container > .row:last-child,
body footer.js-footer > .footer-container > .container > .row > .col-md-12 .text-sm-center {
  display: none !important;
}

/* Detect direct child .text-sm-center under classic footer */
body #footer.js-footer > .footer-container > .container > .row .text-sm-center {
  display: none !important;
}



/* === CMS 9 SERVISNI MISTA - CISTE === */
body#cms #left-column { display: none !important; }
body#cms #content-wrapper {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.lf-stores-hero1 { margin: 0 auto 1.5rem auto; }
.lf-stores-hero1 img {
    width: 100%; height: auto; max-height: 240px;
    display: block; object-fit: cover;
}
.lf-stores-intro { text-align: center; margin: 0 auto 2rem; max-width: 900px; padding: 0 1rem; }
.lf-stores-intro p { font-size: 1rem; line-height: 1.7; }
.lf-stores-note {
    background: #fff5f5; border-left: 4px solid #E30613;
    padding: 1.2rem 1.5rem; margin: 0 auto 2.5rem;
    max-width: 1100px; border-radius: 0 4px 4px 0;
}
.lf-stores-note ul { list-style: none; margin: 0; padding: 0; }
.lf-stores-note li {
    padding: 0.4rem 0 0.4rem 1.5rem; position: relative;
    font-size: 0.92rem; line-height: 1.5; color: #444;
}
.lf-stores-note li::before {
    content: "•"; color: #E30613; font-weight: 700;
    font-size: 1.4rem; position: absolute; left: 0; top: 0.2rem;
}
.lf-stores-hero2 { text-align: center; margin: 0 auto 2rem; max-width: 1100px; }
.lf-stores-hero2 img { width: 100%; height: auto; display: block; }
.lf-stores-map { margin: 0 auto 2.5rem; border: 1px solid #ddd; background: #f5f5f5; }
.lf-stores-map iframe { width: 100%; height: 520px; border: none; display: block; }
.lf-stores-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.4rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; text-align: center !important;
    margin: 2rem auto 1.5rem !important; padding-bottom: 0.75rem !important;
    border-bottom: 2px solid #E30613 !important; max-width: 500px; display: block !important;
}
.lf-stores-table-wrap { max-width: 1100px; margin: 0 auto 2rem; }
.lf-stores-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lf-stores-table thead { background: #2a2e35; color: #fff; }
.lf-stores-table thead th { padding: 0.9rem 1rem; text-align: left; font-weight: 700; text-transform: uppercase; font-size: 0.82rem; font-family: 'Poppins', sans-serif; }
.lf-stores-table tbody tr { border-bottom: 1px solid #eee; }
.lf-stores-table tbody tr:nth-child(even) { background: #fafafa; }
.lf-stores-table tbody tr:hover { background: #fff5f5; }
.lf-stores-table tbody td { padding: 0.7rem 1rem; vertical-align: middle; color: #333; }
.lf-stores-table tbody td:first-child { font-weight: 600; color: #1a1a1a; }
.lf-stores-table tbody td a { color: #E30613; text-decoration: none; font-weight: 600; white-space: nowrap; }
.lf-stores-table tbody td a:hover { text-decoration: underline; }
.lf-closed { color: #E30613 !important; font-weight: 700 !important; margin-left: 0.3rem; }

@media (max-width: 768px) {
    .lf-stores-map iframe { height: 350px; }
    .lf-stores-table { font-size: 0.78rem; }
    .lf-stores-table tbody td, .lf-stores-table thead th { padding: 0.5rem 0.4rem; }
}

/* === CMS 9 FORCE FULL WIDTH === */
body#cms .page-content.page-cms {
    padding: 0 !important;
    background: transparent !important;
    max-width: 100% !important;
    width: 100% !important;
}
body#cms #main {
    width: 100% !important;
}
body#cms #content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body#cms .lf-stores-hero1,
body#cms .lf-stores-hero2,
body#cms .lf-stores-map,
body#cms .lf-stores-intro,
body#cms .lf-stores-note,
body#cms .lf-stores-table-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}
body#cms .lf-stores-hero1 {
    max-width: 1110px !important;
    width: 100% !important;
}
body#cms .lf-stores-hero1 img {
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    object-fit: cover !important;
}

/* Hero3 - SERVISNI MISTA banner */
.lf-stores-hero3 { text-align: center; margin: 2.5rem auto 0 auto; max-width: 1100px; }
.lf-stores-hero3 img { width: 100%; height: auto; display: block; }


/* =====================================================================
   Leader Fox — výběr varianty na detailu produktu
   Barva = dlaždice s fotkou/vzorníkem, velikost = tlačítka.
   Vzhled podle e-shop.leaderfox.cz.
   ===================================================================== */

.product-variants .product-variants-item {
    margin-bottom: 1.25rem;
}

.product-variants .control-label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .02em;
}

.product-variants .lf-selected-name {
    font-weight: 400;
    text-transform: none;
    color: #666;
}

/* ---------- BARVA ---------- */
.lf-color-list,
.lf-size-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.lf-color-item label,
.lf-size-item label {
    display: block;
    margin: 0;
    cursor: pointer;
}

.lf-color-item input,
.lf-size-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lf-color-thumb {
    display: block;
    width: 64px;
    height: 64px;
    border: 2px solid #ddd;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    transition: border-color .15s ease;
}

.lf-color-item:hover .lf-color-thumb {
    border-color: #999;
}

.lf-color-item.lf-selected .lf-color-thumb,
.lf-color-item input:checked + .lf-color-thumb {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

/* název barvy pod dlaždicí — schovaný, dokud dlaždice nemá fotku */
.lf-color-name {
    display: none;
    font-size: .7rem;
    text-align: center;
    margin-top: .25rem;
    max-width: 64px;
    line-height: 1.2;
    word-break: break-word;
}

/* bez fotky i bez vzorníku ukážeme název jako štítek */
.lf-color-item.lf-no-image .lf-color-thumb {
    display: none;
}

.lf-color-item.lf-no-image .lf-color-name {
    display: block;
    max-width: none;
    margin-top: 0;
    padding: .45rem .9rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: .85rem;
    background: #fff;
    transition: all .15s ease;
}

.lf-color-item.lf-no-image:hover .lf-color-name {
    border-color: #999;
}

.lf-color-item.lf-no-image.lf-selected .lf-color-name,
.lf-color-item.lf-no-image input:checked ~ .lf-color-name {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* ---------- VELIKOST ---------- */
.lf-size-label {
    display: block;
    min-width: 64px;
    padding: .55rem 1rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    font-size: .9rem;
    background: #fff;
    transition: all .15s ease;
}

.lf-size-item:hover .lf-size-label {
    border-color: #999;
}

.lf-size-item.lf-selected .lf-size-label,
.lf-size-item input:checked + .lf-size-label {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* nedostupná kombinace */
.lf-color-item.lf-unavailable,
.lf-size-item.lf-unavailable {
    opacity: .35;
}

.lf-color-item.lf-unavailable label,
.lf-size-item.lf-unavailable label {
    cursor: not-allowed;
}

/* ---------- tabulka parametrů ---------- */
.product-features .data-sheet .lf-variant-attr {
    /* barva a velikost přicházejí z kombinace, ne z vlastností */
}

@media (max-width: 575px) {
    .lf-color-thumb {
        width: 52px;
        height: 52px;
    }

    .lf-size-label {
        min-width: 52px;
        padding: .45rem .75rem;
    }
}

/* =====================================================================
   Leader Fox — detail produktu: popis, dokumenty a parametry pod sebou
   (místo záložek), vzhled podle e-shop.leaderfox.cz
   ===================================================================== */

/* Popis (a dokumenty) vlevo pod fotkami, parametry vpravo vedle nich.
   Na mobilu jde všechno pod sebe. */
.lf-product-sections {
    margin-top: 2.5rem;
}

@media (min-width: 992px) {
    .lf-product-sections {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        grid-column-gap: 3rem;
        align-items: start;
    }

    /* popis + dokumenty tvoří jednu buňku, jinak by vysoká tabulka parametrů
       roztáhla řádek s popisem a udělala mezeru nad dokumenty */
    .lf-col-main {
        grid-column: 1;
    }

    .lf-section-details {
        grid-column: 2;
    }
}

.lf-col-main .lf-section-description {
    margin-bottom: 1.75rem;
}

.lf-section {
    margin-bottom: 2.5rem;
}

.lf-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #000;
}

/* ---------- popis ---------- */
.lf-section-description .product-description {
    font-size: 1rem;
    line-height: 1.7;
}

.lf-section-description .product-description h1,
.lf-section-description .product-description h2,
.lf-section-description .product-description strong:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.lf-section-description .product-description p {
    margin-bottom: 1rem;
}

/* ---------- dokumenty ke stažení ---------- */
.lf-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.lf-attachment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .35rem;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #000;
    text-decoration: none;
    transition: all .15s ease;
}

.lf-attachment:hover {
    border-color: #ddd;
    background: #f7f7f7;
    color: #000;
    text-decoration: none;
}

/* ikony podle typu dokumentu (geometrie / návod / záruční list) */
.lf-attachment-img {
    display: block;
    width: auto;
    height: 62px;
}

/* obecný PDF čtvereček má rámeček, aby nesplýval s okolím */
.lf-attachment-doc {
    border-color: #ddd;
    background: #fff;
    padding: .6rem;
}

/* ikona PDF - vykreslená CSS, není potřeba obrázek */
.lf-attachment-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 42px;
    position: relative;
    background: #d33;
    border-radius: 2px;
}

.lf-attachment-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 8px 8px 0;
    border-style: solid;
    border-color: #fff #fff rgba(0, 0, 0, .15) rgba(0, 0, 0, .15);
}

.lf-attachment-icon::after {
    content: 'PDF';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* název souboru zůstává jen pro čtečky a v tooltipu (title) */
.lf-attachment .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- tabulka parametrů ---------- */
.lf-section-details .js-product-details {
    display: block !important;
    opacity: 1 !important;
}

.lf-section-details .product-features {
    margin-top: 0;
}

.lf-section-details .product-features > .h6 {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #000;
}

.lf-section-details .data-sheet {
    display: grid;
    grid-template-columns: minmax(140px, 260px) 1fr;
    gap: 0;
    margin: 0;
}

.lf-section-details .data-sheet .name,
.lf-section-details .data-sheet .value {
    padding: .55rem .9rem;
    margin: 0;
    border-bottom: 1px solid #eee;
    background: transparent;
    font-size: .9rem;
}

.lf-section-details .data-sheet .name {
    font-weight: 700;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: .02em;
}

.lf-section-details .data-sheet dt:nth-of-type(odd),
.lf-section-details .data-sheet dt:nth-of-type(odd) + dd {
    background: #fafafa;
}

/* poznámka pod tabulkou */
.lf-section-details .product-features::after {
    content: 'Změna technické specifikace vyhrazena.';
    display: block;
    margin-top: .9rem;
    font-size: .78rem;
    color: #888;
}

@media (max-width: 575px) {
    .lf-section-details .data-sheet {
        grid-template-columns: 1fr;
    }

    .lf-section-details .data-sheet .name {
        border-bottom: 0;
        padding-bottom: .1rem;
    }
}
