#navbar-main {
  background-color: var(--header-bg);
  padding: 5px 10px;
}
.header {
  margin-bottom: 40px;
}
#navbar-main {
  position: relative;
}
#block-market-headerphone {
  position: absolute;
  top: 67px;
  z-index: 5;
}
#block-market-headerphone .header-phone-items {
  margin: 0;
  padding: 0;
  text-align: right;
}
#block-market-headerphone .header-phone-item {
  margin: 0 0 10px 0;
  position: relative;
}
/* #block-market-headerphone .header-phone-item:last-child {
  margin-bottom: 0;
} */
#block-market-headerphone .header-phone-item a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  padding: 0 0 0 22px;
}
#block-market-headerphone .header-phone-item a:hover {
  color: var(--color-button);
}
#block-market-headerphone .header-phone-item a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 20px;
  transform: translateY(-50%);
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat -152px -109px;
}
/* When not logged in: 3 icons on the right */
body.user-logged-out #block-market-headerphone,
body #block-market-headerphone {
  right: 74px;
}
/* When the user is logged in: 4 icons on the right */
body.user-logged-in #block-market-headerphone {
  right: 74px;
}
#navbar-main .nav-link {
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  text-align: center;
}
#navbar-main .nav-item .nav-link-user {
  height: 48px;
  width: 48px;
  padding: 0;
}
#navbar-main .nav-item:nth-child(1) .nav-link-user {
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat -136px -39px;
}
#navbar-main .nav-item:nth-child(2) .nav-link-user {
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat -67px -39px;
}
#navbar-main .nav-item .nav-link-user:hover,
.block-views-blockmy-favorites-block-1:hover,
#block-market-headerphone .header-phone-item a:hover::before,
.flag-favorites.action-flag a:hover,
.cart-block--summary a:hover,
.block-search-category .bef-links > ul > li > a:hover::before,
.block-category-search ul.category-search-items li a:hover::before {
  -webkit-filter: invert(34%) sepia(11%) saturate(1915%) hue-rotate(46deg) brightness(98%) contrast(83%);
  filter: invert(34%) sepia(11%) saturate(1915%) hue-rotate(46deg) brightness(98%) contrast(83%);
  transition: filter 0.1s ease;
}
.nav-item .nav-link-user img {
  transition: filter 0.1s ease;
  display: block;
}
#navbar-main .navbar-nav .dropdown-menu {
  background-color: var(--header-bg);
  border-color: var(--border-color);
  border: none;
  padding: 0;
}
#navbar-main .navbar-nav .dropdown-menu .dropdown-item {
  margin-bottom: 7px;
  padding: 0;
}
#navbar-main .navbar-nav .dropdown-menu .dropdown-item a {
  color: var(--text-color-light);
  padding: 10px;
  text-decoration: none;
  display: block;
}
#navbar-main .navbar-nav .dropdown-menu .dropdown-item a.active {
  background-color: var(--scheme-color);
}
#navbar-main .navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: var(--scheme-color);
}
.block-header-phone {
  position: absolute;
  top: 26px;
  right: 10px;
}
.first-contact-items,
.menu-contact-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-contact-items {
  margin: 10px 0;
  height: 64px;
  display: none;
}
.first-contact-item,
.menu-contact-item {
  float: left;
  margin-right: 1px;
}
.first-contact-item:last-child,
.menu-contact-item:last-child {
  margin-right: 0;
  margin-left: 7px;
}
.first-contact-viber, .first-contact-whatsapp, .first-contact-telegram,
.menu-contact-viber, .menu-contact-whatsapp, .menu-contact-telegram {
  display: block;
  width: 48px;
  height: 48px;
}
.first-contact-viber,
.menu-contact-viber {
  background: url(/themes/custom/market/images/icons/mesenger.svg) no-repeat 9px -43px transparent;
}
.first-contact-whatsapp,
.menu-contact-whatsapp {
  background: url(/themes/custom/market/images/icons/mesenger.svg) no-repeat 9px -99px transparent;
}
.first-contact-telegram,
.menu-contact-telegram {
  background: url(/themes/custom/market/images/icons/mesenger.svg) no-repeat 9px 6px transparent;
}
.first-contact-phone,
.menu-contact-phone {
  margin: 0;
  text-decoration: none;
  color: var(--text-color-light);
  font-size: 1.25em;
  line-height: 2.2em;
}
.title-menu-canvas {
  display: none;
}
.block-header-social {
  position: relative;
  margin-bottom: 30px;
}
.contact-header-social-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 9px;
  justify-content: center;
}
.contact-header-social-item {
  width: 48px;
  height: 48px;
}
.contact-header-social-link {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease-in-out;
}
.contact-header-social-link:hover {
  transform: scale(1.1);
}
.contact-header-social-link.tiktok {
  width: 48px;
  height: 48px;
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat 6px -346px;
}
.contact-header-social-link.youtube {
  width: 48px;
  height: 48px;
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat -74px -346px;
}
.contact-header-social-link.facebook {
  width: 48px;
  height: 48px;
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat -161px -346px;
}
@media (max-width: 480px) {
  .first-contact-items {
    list-style: none;
    margin: -21px 0 0 0;
    padding: 0;
    width: 171px;
  }
}
@media (max-width: 1200px) {
  .title-menu-canvas {
    display: block;
    color: var(--text-color-light);
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .menu-contact-items {
    display: block;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
  }
  .block-header-phone {
    position: absolute;
    right: 80px;
  }
  .offcanvas {
    background-color: var(--header-bg);
  }
  .offcanvas .nav-item {
    margin-bottom: 10px;
  }
  .offcanvas .nav-item .nav-link {
    color: var(--text-color-light);
    text-transform: uppercase;
    font-size: 1.25em;
  }
  .offcanvas .nav-link.active {
    color: var(--text-color-light);
  }
  .offcanvas .dropdown-menu {
    background-color: var(--scheme-color);
  }
  .offcanvas .dropdown-menu .dropdown-item {
    padding: 0;
    margin-bottom: 7px;
  }
  .offcanvas .dropdown-menu a {
    color: var(--text-color-light);
    text-decoration: none;
    padding: 14px 0 15px 10px;
    display: block;
  }
  .navbar-toggler {
    border: none;
    width: 48px;
    height: 48px;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .navbar-toggler-icon {
    background: transparent;
    display: none;
  }
  .navbar-toggler:before,
  .navbar-toggler:after {
    content: "";
    background: var(--text-color);
    display: block;
    height: 2px;
    margin: 5px 1px -18px 0;
  }
  .btn-close {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    display: block;
    font-size: 0;
    background: transparent;
    color: transparent;
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 2;
    cursor: pointer
  }
  .btn-close:before,
  .btn-close:after {
      content: "";
      background: var(--text-color);
      display: block;
      height: 2px;
      margin: 11px 0;
      transition: .5s
  }
  .btn-close:before {
      transform: translateY(6px) translateX(0px) rotate(135deg)
  }
  .btn-close:after {
      transform: translateY(-6px) translateX(0px) rotate(-135deg)
  }
}
.navbar-brand {
  margin-right: 34px;
}
header .menu--account {
  position: absolute;
  top: 18px;
  right: 197px;
}
header .menu--account ul .nav-item:not(:last-child) {
  margin-right: 8px;
}
.block-views-blockmy-favorites-block-1 {
  position: absolute;
  top: 18px;
  right: 142px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat -212px -39px;
}
.block-views-blockmy-favorites-block-1 .favorites-link-header > a {
  color: var(--text-color) !important;
  text-decoration: none;
  font-size: 16px;
  display: block;
  min-width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 400;
  padding: 23px 1px 10px 31px;
  line-height: 1;
}
header .block-commerce-cart {
  position: absolute;
  top: 20px;
  right: 80px;

}
.cart-block--link__expand.is-empty {
  padding: 8px 19px 8px 11px !important;
  justify-content: center;
}
.cart-block--link__expand {
  display: flex !important;
  align-items: center;
  text-decoration: none;
  padding: 19px 0px 8px 30px;
  gap: 4px;
}
.cart-block--summary__count {
  font-weight: 400;
  font-size: 16px !important;
  color: var(--text-color);
}
.cart-block--link__expand:hover .cart-block--summary__count {
  text-decoration: none;
  color: var(--color-button);
}
.cart-block--summary a {
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: url(/themes/custom/market/images/icons/sprite001.svg) no-repeat -299px -41px;
}
/* Mobile menu offcanvas */
.offcanvas-header {
  min-height: 82px;
  background-color: var(--main-bg);
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  nav.menu--main {
    margin-left: 0px !important;
  }
}
@media (min-width: 1200px) {
  .cart-block--summary__count {
    font-size: 18px;
  }
  .block-views-blockmy-favorites-block-1 {
    top: 29px;
    right: 72px;
  }
  .block-lang-dropdown {
    top: 29px;
    right: 10px;
  }
  header .block-commerce-cart {
    top: 31px;
    right: 10px;
  }
  header .menu--account {
    top: 29px;
    right: 132px;
  }
  .block-header-social {
    position: absolute;
    top: 83px;
    right: 18px;
    margin-bottom: 0;
  }
  .offcanvas-body {
    margin-top: 0px;
  }
}
@media (min-width: 430px) {
  /* When not logged in: 3 icons on the right */
  body.user-logged-out #block-market-headerphone,
  body #block-market-headerphone {
    right: 90px;
  }
  #block-market-headerphone .header-phone-item a {
    font-size: 18px;
    padding: 0 0 0 28px;
  }
  #block-market-headerphone .header-phone-item a::before {
    top: 8px;
  }
  #block-market-headerphone {
    top: 64px;
  }
}
@media (min-width: 1199px) {
  /* When not logged in: 3 icons on the right */
  body.user-logged-out #block-market-headerphone,
  body #block-market-headerphone {
    right: 218px;
  }
  /* When the user is logged in: 4 icons on the right */
  body.user-logged-in #block-market-headerphone {
    right: 345px;
    right: 258px;
  }
}
