:root {
  --radius-block-circle: 50%;

  --color-text-white: #ffffff;
  --color-text-black: #000000;
  --color-text-grey: #666;
  --size-main: 16px;
  --size-text-mid: 14px;
  --size-logo-header: 22px;
  --weight-light: 400;
  --weight-medium: 500;
  --weight-semi-bold: 600;
  --font-family-text: 'Ubuntu', sans-serif;
}

.header-block__item-bottom .cart-counter {
  background: #E5E4E2;
  color: #000000;
}

.header-container{
  /* height: 240px; */
  position: relative;
}

.header-block__container{
  width: 100%;
}

.header-block{
  width: 100%;
}

.header-block__item {
  max-width: 1400px;
  margin: auto;
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
}

.header-block__item ul {
  padding: 0;
  margin-left: 0;
}

#menu-menu-bazarix {
  margin-left: 0;
}

.header-block__item-top {
  padding: 20px;
  /* height: 90px; */
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .header-block__item-top{
    position: relative;
    align-items: center;
  }
}

.header-block__item-bottom{
  padding: 30px 20px;
}

@media (max-width: 768px) {
  .header-block__item-bottom{
    gap: 15px;
    align-items: center;
    flex-direction: column;
  }
}

.header-block > .header-container{
  width: 100%;
}

a.logo {
  align-items: center;
}

a.logo-adaptive {
  display: none;
}

@media (max-width: 768px) {
  a.logo {
    display: none;
  }

  a.logo-adaptive {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 368px) {
  a.logo-adaptive {
    flex-direction: column;
  }
}

.logo__image{
  width: auto;
  max-height: 90px;
}

body .logo__image img{
  width: auto;
  max-height: 90px;
}

.logo__tite {
  margin-left: 20px;
  text-align: left;
  font-weight: var(--weight-semi-bold);
  font-size: var(--size-logo-header);
  color: inherit;
  font-family: var(--font-family-text);
}

@media (max-width: 768px) {
  .logo__tite {
    margin-left: 10px;
  }
}

@media (max-width: 368px) {
  .logo__tite {
    margin-top: 10px;
    margin-left: 0px;
  }
}

.header-block__menu-item>a {
  overflow: hidden;
  color: inherit;
}

.header-block__menu-item>a:hover {
  color: var(--color-text-grey);
}

.header-block__sub-menu{
  z-index: 101;
}

.header-block__network {
  margin: 0 0 0 30px;
  z-index: 100;
  gap: 20px;
}

@media (max-width: 992px) {
  .header-block__network{
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-block__network {
    display: none;
  }
}

.header-block__network-adaptive {
  display: none;
}

@media (max-width: 768px) {
  .header-block__network-adaptive {
    display: flex;
    z-index: 100;
    gap: 20px;
    margin: auto 0;
  }
}

.header-block__network-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-block__link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-block-circle);
}

.header-block__link>img{
  width: 100%;
  height: 100%;
}

.header-block__contacts{
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .header-block__contacts {
    display: none;
  }
}

.header-block__tel {
  display: flex;
  flex-direction: column;
  justify-content: center;

  margin-right: 20px;
}

.header-block__tel-adaptive {
  display: none;
}

@media (max-width: 768px) {
  .header-block__tel-adaptive {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .header-block__tel-adaptive .header-block__tel-number {
    color: inherit;
    margin: 0;
  }
}

@media (max-width: 368px) {
  .header-block__tel {
    margin-top: 15px;
  }
}

.header-block__tel p{
  margin: 0;
  line-height: 16px;
  text-align: right;
  
  font-family: var(--font-family-text);
}

.header-block__tel-number{
  color: inherit;
  font-size: var(--size-main);
  font-weight: var(--weight-medium);

  text-align: right;
}

@media (max-width: 768px) {
  .header-block__tel p  {
    text-align: center;
  }
}

.header-block__tel-txt{
  font-size: var(--size-text-mid);
  font-weight: var(--weight-light);
  color: var(--color-text-grey);
  font-family: var(--font-family-text);

  text-align: right;
}

@media (max-width: 768px) {
  .header-block__tel-txt{
    display: none;
  }
}

.menu-icon {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .menu-icon {
    display: none;
  }
}

.menu-icon svg {
  width: 24px;
  color: inherit;
}

@media (max-width: 768px) {
  .header-block__menu-open{
    margin: 0;
  }
}

.header-block__menu-close {
  cursor: pointer;
  color: var(--color-text-white);
}

.sidenav__menu-logo {
  display: block;
  width: 60px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-block-circle);
}

.menu-adaptive .sub-menu li {
  padding-left: 30px;
  position: relative;
}

.menu-adaptive .sub-menu li::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translate(8px, -50%);
  width: 6px;
  height: 2px;
  background-color: #ffffff;
}