@media (min-width: 992px) {

  /* ===== HLAVIČKA – barevný pruh ===== */
  html body #header { background: #962733 !important; box-shadow: none !important; }
  html body #header .navigation-wrapper { max-width: 1400px; margin: 0 auto; padding: 0 20px !important; }

  /* horní řádek: logo | vyhledávání | jazyk, přihlášení, košík */
  html body #header .header-top {
    display: flex !important; justify-content: flex-start !important; align-items: center !important;
    gap: 0 !important; height: 96px !important; position: relative;
  }
  html body #header .header-top > * { flex-shrink: 0; }
  #header .menu-helper { display: none !important; }

  /* logo – bílé */
  html body #header .site-name-wrapper { order: 1; flex: 0 0 20% !important; max-width: 20% !important; display: flex !important; justify-content: center !important; position: static !important; transform: none !important; margin: 0 !important; }
  html body #header .site-name { margin: 0 !important; padding: 0 !important; width: auto !important; display: flex !important; justify-content: center !important; }
  html body #header .site-name a { display: flex; align-items: center; background: transparent !important; padding: 0 !important; }
  html body #header .site-name img { max-height: 64px !important; width: auto !important; filter: brightness(0) invert(1) !important; }

  /* vyhledávání – stále viditelné */
  html body #header .header-top .search {
    order: 2; flex: 0 0 60% !important; max-width: 60% !important; min-width: 0 !important; display: flex !important; justify-content: center !important; position: static !important; padding: 0 20px !important;
  }
  html body #header #formSearchForm {
    position: static !important; display: block !important; width: 100% !important; max-width: 640px !important;
    height: auto !important; background: transparent !important; transform: none !important;
  }
  html body #header #formSearchForm .search-toggle { display: none !important; }
  html body #header #formSearchForm fieldset {
    display: flex !important; position: relative !important; width: 100% !important;
    background: #fff; border-radius: 6px; overflow: visible; margin: 0 !important; padding: 0 !important;
    top: auto !important; left: auto !important; transform: none !important; box-shadow: none !important;
  }
  html body #header #formSearchForm fieldset,
  html body #header #formSearchForm .query-input,
  html body #header #formSearchForm button[type="submit"] {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
  }
  html body #header #formSearchForm .query-input {
    flex: 1 1 auto; min-width: 0 !important; width: 100% !important; height: 46px !important;
    border: 0 !important; background: transparent !important; padding: 0 16px !important;
    font-size: 15px !important; color: #333 !important; box-shadow: none !important;
  }
  html body #header #formSearchForm button[type="submit"] {
    flex: 0 0 auto; height: 46px !important; margin: 0 !important; padding: 0 20px !important;
    background: #fff !important; color: #962733 !important; border: 0 !important;
    border-left: 1px solid #e5e5e5 !important; border-radius: 0 6px 6px 0 !important;
    font-weight: 600; position: static !important; width: auto !important;
  }
  /* našeptávač – dost široký, aby se produkty nesekaly */
  html body #header #formSearchForm .search-whisperer {
    top: 100% !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important;
    width: 820px !important; min-width: 820px !important; max-width: 92vw !important;
    margin-top: 6px !important; z-index: 1001 !important; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.18) !important;
  }

  /* pravá strana: jazyk, přihlášení, košík */
  html body #header .header-top > .languagesMenu { order: 3; margin-left: auto !important; position: relative !important; top: auto !important; right: auto !important; align-self: stretch !important; height: auto !important; display: flex !important; align-items: center !important; }
  /* rozbalovací okno měny a jazyka – pod vlajkou */
  html body #header .header-top > .languagesMenu .languagesMenu__content {
    position: absolute !important; top: 100% !important; right: 0 !important; left: auto !important;
    margin-top: 0 !important; transform: none !important; z-index: 1002 !important;
  }
  html body #header .header-top > .top-nav-button-login {
    order: 4; position: static !important; display: flex !important; align-items: center; gap: 8px; margin-left: 22px !important;
    width: auto !important; height: auto !important; padding: 0 !important; background: transparent !important; border: 0 !important;
  }
  html body #header .header-top > .top-nav-button-login span {
    position: static !important; width: auto !important; height: auto !important; clip: auto !important;
    overflow: visible !important; margin: 0 !important; padding: 0 !important; background: transparent !important;
    box-shadow: none !important; color: #fff !important; font-size: 15px !important; font-weight: 600 !important; white-space: nowrap;
  }
  html body #header .header-top > .top-nav-button-login::before {
    position: static !important; display: block !important; flex: 0 0 auto; width: 24px !important; height: 24px !important;
    background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important;
  }
  html body #header .header-top > .navigation-buttons {
    order: 5; position: static !important; margin-left: 22px !important; margin-right: auto !important; display: flex !important; align-items: center !important; height: auto !important;
  }
  html body #header .navigation-buttons a.cart-count {
    position: relative !important; top: auto !important; right: auto !important; left: auto !important;
    display: flex !important; flex-direction: row !important; align-items: center !important; gap: 8px;
    width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important;
    transform: none !important; color: #fff !important; background: transparent !important;
  }
  html body #header .navigation-buttons a.cart-count::before {
    position: static !important; display: block !important; flex: 0 0 auto; width: 26px !important; height: 26px !important; margin: 0 !important;
    background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important;
  }
  /* u košíku jen text „Košík“ */
  html body #header .navigation-buttons .cart-price { display: none !important; }
  html body #header .navigation-buttons a.cart-count::after {
    content: "Košík" !important; position: static !important; display: block !important;
    color: #fff !important; font-size: 15px !important; font-weight: 600 !important; line-height: 24px !important;
    white-space: nowrap; background: transparent !important; width: auto !important; height: auto !important;
  }
  /* přihlášení a košík ve stejné výšce */
  html body #header .header-top > .top-nav-button-login,
  html body #header .navigation-buttons a.cart-count { height: 40px !important; align-self: center !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  html body #header .header-top > .top-nav-button-login span { line-height: 24px !important; }
  /* bílé ikony */
  html body #header .header-top > .top-nav-button-login::before,
  html body #header .navigation-buttons a::before { filter: brightness(0) invert(1) !important; }

  /* ===== PRUH S MENU ===== */
  html body #header #navigation {
    position: static !important; display: block !important; width: 100% !important;
    height: auto !important; max-height: none !important; overflow: visible !important;
    top: auto !important; left: auto !important; transform: none !important;
    background: transparent !important; border-radius: 0 !important; margin: 0 !important;
    box-shadow: none !important; clip-path: none !important;
    position: relative !important; isolation: isolate;
  }
  /* tmavý pruh až k okrajům obrazovky */
  html body #header #navigation::before {
    content: "" !important; display: block !important; position: absolute !important;
    top: 0 !important; bottom: 0 !important; left: 50% !important; right: auto !important;
    width: 100vw !important; height: auto !important; transform: translateX(-50%) !important;
    background: #7a1d28 !important; z-index: -1 !important; opacity: 1 !important; pointer-events: none !important;
  }
  html body #header #navigation .navigation-in {
    width: 100% !important; max-width: 100% !important; height: auto !important;
    overflow: visible !important; padding: 0 !important; background: transparent !important; position: static !important;
  }
  html body #header #navigation ul.menu-level-1 {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
    justify-content: space-around; align-items: center; gap: 8px;
    width: 100% !important; max-width: 100% !important; height: auto !important;
    margin: 0 !important; padding: 6px 0 !important; gap: 0 !important;
  }
  html body #header #navigation .menu-level-1 > li {
    flex: 1 1 0 !important; display: flex !important; justify-content: center !important;
    position: relative;  visibility: visible !important;
    width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
  }
  html body #header #navigation .menu-level-1 > li > a,
  html body #header #navigation .menu-level-1 > li > a b {
    display: flex; align-items: center; justify-content: center;
    color: #fff !important; font-size: 16px !important; font-weight: 500 !important;
    line-height: 1.3 !important; height: auto !important; width: auto !important;
    white-space: nowrap !important; text-transform: none; background: transparent;
  }
  html body #header #navigation .menu-level-1 > li > a { padding: 10px 22px !important; border-radius: 6px; }
  html body #header #navigation .menu-level-1 > li:hover > a { background: rgba(255,255,255,.12) !important; }

  /* Darovací certifikát – jen zlaté písmo */
  html body #header #navigation .menu-level-1 > li.menu-item-923 > a,
  html body #header #navigation .menu-level-1 > li.menu-item-923 > a b { color: #e0b45c !important; }

  #header #navigation .submenu-arrow,
  #header #navigation .navigationActions { display: none !important; }

  /* rozbalovací podmenu */
  html body #header #navigation .menu-level-2 {
    display: none !important; position: absolute !important; top: 100% !important; left: 50% !important;
    transform: translateX(-50%) !important; min-width: 220px; width: auto !important; height: auto !important;
    background: #fff !important; box-shadow: 0 10px 28px rgba(0,0,0,.15); border-radius: 0 0 8px 8px;
    padding: 8px 0 !important; margin: 0 !important; z-index: 1000 !important; flex-direction: column;
  }
  html body #header #navigation .menu-level-1 > li:hover > .menu-level-2 { display: flex !important; }
  #header #navigation .menu-level-2 > li { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
  #header #navigation .menu-level-2 .menu-image { display: none !important; }
  #header #navigation .menu-level-2 a { display: block; padding: 9px 22px !important; white-space: nowrap; text-align: left; color: #333 !important; }
  #header #navigation .menu-level-2 a:hover { color: #962733 !important; background: #f7f2f2; }
}

/* menší notebooky – skryjí se popisky u přihlášení a košíku */
@media (min-width: 992px) and (max-width: 1199px) {
  html body #header .header-top { gap: 18px; }
  html body #header .header-top > .top-nav-button-login span,
  html body #header .navigation-buttons .cart-price,
  html body #header .navigation-buttons a.cart-count::after { display: none !important; }
  html body #header #navigation .menu-level-1 > li > a { padding: 10px 14px !important; }
}

/* opravy v4: překrývání, našeptávač, přetékání pruhu */
@media (min-width: 992px) {
  html body #header { overflow-x: clip !important; }
  html body #header .header-top { z-index: 5 !important; }
  html body #header #navigation { z-index: 1 !important; }
  html body #header .search-whisperer .p-name,
  html body #header .search-whisperer .p-name * {
    white-space: normal !important; text-overflow: clip !important; overflow: visible !important;
    -webkit-line-clamp: unset !important; display: block !important; height: auto !important; max-height: none !important;
  }
}

/* ===== opravy v5 ===== */
@media (min-width: 992px) {
  /* našeptávač: produkty a kategorie vedle sebe */
  html body #header #formSearchForm .search-whisperer {
    width: 960px !important; min-width: 960px !important; flex-wrap: nowrap !important; align-items: flex-start !important;
  }
  html body #header .search-whisperer .search-whisperer-products {
    flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; max-width: none !important;
    display: flex !important; flex-wrap: wrap !important;
  }
  html body #header .search-whisperer .search-whisperer-products > li {
    flex: 0 0 25% !important; width: 25% !important; max-width: 25% !important; min-width: 0 !important;
  }
  html body #header .search-whisperer .search-whisperer-products > li > a { width: 100% !important; min-width: 0 !important; }
  html body #header .search-whisperer .search-whisperer-documents {
    flex: 0 0 220px !important; width: 220px !important; min-width: 220px !important; max-width: 220px !important;
  }
  html body #header .search-whisperer .search-whisperer-documents a { width: 100% !important; }

  /* okno měny a jazyka – vzhled */
  html body #header .header-top > .languagesMenu .languagesMenu__content {
    background: #fff !important; border: 0 !important; border-radius: 8px !important; overflow: hidden !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.2) !important; margin-top: 0 !important;
  }
  html body #header .header-top > .languagesMenu .caret,
  html body #header .header-top > .languagesMenu #topNavigationDropdown::after {
    filter: brightness(0) invert(1) !important; border-top-color: #fff !important;
  }
}

/* velké obrazovky: vlajka (měna a jazyk) v pravém rohu */
@media (min-width: 1500px) {
  html body #header .header-top > .languagesMenu {
    position: absolute !important; top: 0 !important; bottom: 0 !important; height: auto !important;
    right: calc((100% - 100vw) / 2 + 28px) !important; left: auto !important; margin: 0 !important;
    display: flex !important; align-items: center !important; z-index: 6 !important;
  }
  html body #header .header-top > .top-nav-button-login { margin-left: auto !important; }
}

/* ===== opravy v6: obrázky v našeptávači ===== */
@media (min-width: 992px) {
  html body #header .search-whisperer .search-whisperer-products {
    flex: 0 0 calc(100% - 260px) !important; width: calc(100% - 260px) !important; max-width: calc(100% - 260px) !important;
  }
  html body #header .search-whisperer .search-whisperer-documents { margin-left: 40px !important; margin-right: 0 !important; }
  html body #header .search-whisperer .search-whisperer-products > li > a {
    padding: 14px !important; box-sizing: border-box !important; align-items: stretch !important;
  }
  html body #header .search-whisperer .search-whisperer-image {
    width: 100% !important; max-width: 100% !important; height: 100px !important; margin: 0 0 14px !important;
    display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important;
  }
  html body #header .search-whisperer .search-whisperer-image img {
    width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100px !important; object-fit: contain !important;
  }
  html body #header .search-whisperer .search-whisperer-products .p-info,
  html body #header .search-whisperer .search-whisperer-products .price {
    width: 100% !important; margin-left: 0 !important; padding-left: 0 !important;
  }
}

/* ===== v7: tečka pod bannerem na úvodní stránce ===== */
/* když je jen jeden banner, tečka se nezobrazí */
#carousel .carousel-indicators li:only-child { display: none !important; }
/* když bude bannerů víc, tečky budou v barvách NALA */
#carousel .carousel-indicators li { background: rgba(150, 39, 51, .3) !important; border: 0 !important; }
#carousel .carousel-indicators li.active { background: #962733 !important; }
