/* TOP BAR NAV */

.top-bar-nav {
  gap: 2em;
}

.top-bar-nav > li {
  margin: 0 !important;
}

/* CUSTOM HEADER ICONS */
.account-item > a::before {
  content: "";
  background-image: url("/wp-content/uploads/2023/07/account_outline.svg") !important;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
  opacity: 1 !important;
}

a.wishlist-link::before {
  content: "";
  background-image: url("/wp-content/uploads/2023/07/heart_outline.svg") !important;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
  opacity: 1 !important;
}

.header-search.has-icon > a::before {
  content: "";
  background-image: url("/wp-content/uploads/2023/07/search_outline.svg") !important;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
  opacity: 1 !important;
}

i.icon-shopping-cart::before {
  color: transparent !important;
  background-image: url("/wp-content/uploads/2023/07/cart_bag_outline.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  width: 20px;
  height: 20px;
  opacity: 1 !important;
}

.header-search.has-icon > a > i,
.account-item > a > i.icon-user,
.header-wishlist-icon > a > i {
  display: none !important;
}

.mobile-nav .header-cart-icon {
  display: none !important;
}

.mobile-nav .header-cart-link::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("/wp-content/uploads/2023/07/Layer-2-3.svg") no-repeat center
    center;
  background-size: cover;
}

.image-icon img {
  max-width: 24px !important;
}

header#header a.button > span {
  font-family: bold !important;
  font-weight: bold !important;
}

.header-bottom > .flex-row > .flex-col {
  margin-left: 0;
}

div#masthead .header-inner.flex-row > * {
  flex: 1;
}
.flex-col.hide-for-medium.flex-left.flex-grow {
  flex: auto !important;
}

div#masthead .header-inner.flex-row > #logo > a {
  max-width: 200px;
}

div#masthead
  .header-inner.flex-row
  > .flex-col.hide-for-medium.flex-left
  > ul.header-nav-main {
  justify-content: center;
}

.header-nav li.menu-item a:hover {
  color: var(--secondary-color) !important;
}

.header-bottom-nav > li.menu-item:hover {
  background-color: var(--light-green);
}

.header-nav .nav-dropdown,
.header-nav .nav-dropdown > li {
  padding: 0;
  border: 0 !important;
}

.header-nav .nav-dropdown {
  padding: 10px 0;
}

.header-nav .nav-dropdown > li > a {
  margin: 0 !important;
  padding: 10px 15px !important;
}

.header-nav .nav-dropdown li > a:hover {
  color: #fff !important;
  background-color: var(--secondary-color) !important;
}

.nav-dropdown-has-shadow .nav-dropdown {
  box-shadow: 0px 1px 15px 2px rgba(0, 0, 0, 0.25) !important;
}

.nav-dropdown.nav-dropdown-default > li > a {
  border: 0 !important;
}

/* SEARCH BAR */

input[type="search"] {
  box-shadow: none !important;
}

/* HEADER BANNER */

.header-wrapper {
  display: flex;
  flex-direction: column;
}

div#top-bar {
  order: 0;
}

div#masthead {
  order: 1;
}

div#header-banner {
  order: 2;
  color: #000;
  z-index: 9;
}

#header-banner p {
  margin-bottom: 0 !important;
  font-size: 0.9em;
}

.header-bottom {
  order: 3;
}

@media (max-width: 549px) {
  .mfp-close {
    color: #000 !important;
    opacity: 1 !important;
    top: 55px !important;
    right: 5px !important;
  }
}

/* HEADER TOP MOBILE */

div#top-bar .show-for-medium .mobile-nav li.header-contact-wrapper a span {
  display: none;
}

div#top-bar .show-for-medium .mobile-nav .account-item {
  margin-left: auto;
}

.top-bar-kontakt {
  display: flex;
  gap: 1rem;
}

.top-bar-kontakt > span > a {
  color: #fff;
}

.top-bar-kontakt > span > img {
  padding-right: 0.5rem !important;
  height: 15px;
}

.top-bar-kontakt > span {
  display: flex;
  align-items: center;
}

.nav > li > a > i.icon-search {
  font-size: 1.4em !important;
}

.category-slider
  .row.slider-nav-simple.slider-nav-outside
  button.flickity-button {
  top: 55% !important;
}

.category-slider button.flickity-button.flickity-prev-next-button.previous {
  margin-right: 1rem !important;
}

.category-slider button.flickity-button.flickity-prev-next-button.next {
  margin-left: 1rem !important;
}

.mobile-sidebar .sidebar-menu ul.nav-sidebar > li > a {
  justify-content: flex-start !important;
  font-size: 16px;
  color: #000;
}

.mobile-sidebar .sub-menu .menu-item a {
  justify-content: flex-start !important;
  padding-left: 2rem;
  color: #000;
}

.mfp-container:before {
  content: "";
  display: inline-block;
  height: 0 !important;
  vertical-align: middle;
}

.truncated p {
  margin: 0 !important;
}

.truncated > p > a,
.read-less {
  cursor: pointer;
}

@media (max-width: 549px) {
  .account-item > a::before {
    content: "";
    background-image: url("/wp-content/uploads/2023/07/account_outline.svg") !important;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    opacity: 1 !important;
    margin-right: 15px;
  }
  .mobile-nav .header-cart-link::before {
    display: none !important;
  }

  li.header-search .nav-dropdown {
    left: -210px !important;
}
}


.header-search ul.nav-dropdown {
  padding: 10px !important;
}