@media (max-width: 767px) {

  /* ==================================================
     HORNÍ ŘÁDEK
     hledání + přihlášení vlevo, měna/jazyk vpravo
     ================================================== */

  body.ums_mobile_header_v1--on .top-navigation-bar {
    position: relative !important;
    top: auto !important;
    transform: none !important;
  }

  body.ums_mobile_header_v1--on
  .top-navigation-bar .responsive-tools {
    display: flex !important;
    justify-content: flex-start !important;
    width: auto !important;
  }

  body.ums_mobile_header_v1--on
  .top-navigation-bar .responsive-tools > a[data-target="search"],

  body.ums_mobile_header_v1--on
  .top-navigation-bar .responsive-tools > a[data-target="login"],

  body.ums_mobile_header_v1--on
  .top-navigation-bar .languagesMenu {
    display: block !important;
  }

  body.ums_mobile_header_v1--on
  .top-navigation-bar .responsive-tools > a[data-target="search"] {
    margin-right: 0 !important;
  }
  .submenu-visible .navigation-in>ul>li.ext.exp>ul :before{
    display: none;
  }

  /* ==================================================
     BĚŽNÁ MOBILNÍ HLAVIČKA
     menu vlevo, logo uprostřed, košík vpravo
     ================================================== */

  body.ums_mobile_header_v1--on #header,
  body.ums_mobile_header_v1--on #header .navigation-wrapper,
  body.ums_mobile_header_v1--on #header .header-top {
    height: 64px !important;
  }

  body.ums_mobile_header_v1--on #header {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
  }

  body.ums_mobile_header_v1--on
  #header .navigation-wrapper {
    width: 100% !important;
    max-width: none !important;
    background: #f5f5f5 !important;
  }

  body.ums_mobile_header_v1--on
  #header .header-top {
    position: relative !important;
    padding: 0 !important;
  }

  /* Logo přesně uprostřed */
  body.ums_mobile_header_v1--on
  #header .site-name-wrapper {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 64px !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
  }

  body.ums_mobile_header_v1--on
  #header .site-name {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    height: 64px !important;
    transform: none !important;
  }

  body.ums_mobile_header_v1--on
  #header .site-name > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 64px !important;
    margin: 0 !important;
  }

  body.ums_mobile_header_v1--on
  #header .site-name > a > img {
    position: static !important;
    left: auto !important;
    transform: none !important;
    width: 215px !important;
    height: auto !important;
    max-width: calc(100vw - 128px) !important;
    max-height: 55px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Navigační kontejner */
  body.ums_mobile_header_v1--on
  #header .navigation-buttons {
    position: static !important;
    width: 100% !important;
    height: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hamburger a košík mají stejný box */
  body.ums_mobile_header_v1--on
  #header .navigation-buttons > a[data-target="navigation"],

  body.ums_mobile_header_v1--on
  #header .cart-count {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 4 !important;
  }

  /* Hamburger vlevo */
  body.ums_mobile_header_v1--on
  #header .navigation-buttons > a[data-target="navigation"] {
    left: 14px !important;
    right: auto !important;
  }

  /* Košík vpravo */
  body.ums_mobile_header_v1--on
  #header .cart-count {
    left: auto !important;
    right: 14px !important;
  }

  /* Velikost hamburgeru */
  body.ums_mobile_header_v1--on
  #header .navigation-buttons > a[data-target="navigation"]::before {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 24px !important;
    text-align: center !important;
  }

  /* Oprava ikony košíku */
  body.ums_mobile_header_v1--on
  #header .cart-count::before {
    content: "" !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    background-image: url("https://637514.myshoptet.com/user/documents/upload/shopping-cart.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }

  /* Kopie hledání a přihlášení je nahoře skrytá */
  body.ums_mobile_header_v1--on
  .responsive-tools.second {
    display: none !important;
  }

  /* ==================================================
     STICKY HLAVIČKA
     menu – hledání – logo – přihlášení – košík
     ================================================== */

  html.scrolled body.ums_mobile_header_v1--on
  #header .navigation-wrapper {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 57px !important;
    transform: translateY(0) !important;
    z-index: 56 !important;
    background: #f5f5f5 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease !important;
  }

  html.scrolled body.ums_mobile_header_v1--on
  #header .header-top,

  html.scrolled body.ums_mobile_header_v1--on
  #header .site-name-wrapper,

  html.scrolled body.ums_mobile_header_v1--on
  #header .site-name,

  html.scrolled body.ums_mobile_header_v1--on
  #header .site-name > a,

  html.scrolled body.ums_mobile_header_v1--on
  #header .navigation-buttons {
    height: 57px !important;
  }

  /* Menší logo ve sticky hlavičce */
  html.scrolled body.ums_mobile_header_v1--on
  #header .site-name > a > img {
    width: 175px !important;
    max-width: calc(100vw - 190px) !important;
    max-height: 47px !important;
  }

  /* Zobrazení hledání a přihlášení */
  html.scrolled body.ums_mobile_header_v1--on
  .responsive-tools.second {
    display: block !important;
    position: static !important;
  }

  /* Hledání a přihlášení mají stejné rozměry */
  html.scrolled body.ums_mobile_header_v1--on
  .responsive-tools.second > a[data-target="search"],

  html.scrolled body.ums_mobile_header_v1--on
  .responsive-tools.second > a[data-target="login"] {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 4 !important;
  }

  /* Sticky hledání vlevo */
  html.scrolled body.ums_mobile_header_v1--on
  .responsive-tools.second > a[data-target="search"] {
    left: 58px !important;
    right: auto !important;
  }

  /* Sticky přihlášení vpravo */
  html.scrolled body.ums_mobile_header_v1--on
  .responsive-tools.second > a[data-target="login"] {
    left: auto !important;
    right: 58px !important;
  }

  /* Velikost ikon hledání a přihlášení */
  html.scrolled body.ums_mobile_header_v1--on
  .responsive-tools.second > a[data-target="search"]::before,

  html.scrolled body.ums_mobile_header_v1--on
  .responsive-tools.second > a[data-target="login"]::before {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 24px !important;
    text-align: center !important;
  }
}
