.header {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 10;
}
.logo {
  display: block;
  text-align: center;
  font-family: 'Garamond', Arial, serif;
  font-weight: 600;
  color: #000000;
  margin-top: 5px;
}
.header__desc {
  background: #fff;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}
.header__mobile {
  display: none;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
  border-bottom:  1px solid #d8d8d8;;
}
.header-top__right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.header-top__right-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3px 33px 0 0 ;
}
.header-top__cart {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 73px;
}
.header-top__cart-link {
  position: relative;
}
.header-top__cart-circle {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  min-width: 14px;
  height: 14px;
  top: -2px;
  left: -2px;
  padding: 3px;
  background: #70b80d;
  color: #fff;
  font-size: 14px;
  box-sizing: border-box;

}
.header-top__cart svg {
  display: block;
  width: 38.6px;
  height: 40.6px;
}
.header-top__search {
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  display: block;
  height: 100%;
  width: 297px;
  box-sizing: border-box;

}
.header-top__search-inp {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: none;
  padding: 10px 10px 10px 10px;
  font-size: 18px;
  line-height: 0.74;
  color: #000;
}
.header-top__link {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: #000000;
  padding: 10px 35px;
}
.header-top__left {
  margin-left: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.header__soc {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;

  height: 36px;
  margin-right: 10px;
}
.header__soc-viber {
  margin-right: 6px;
}
.header__phone {
  font-size: 30px;
  font-weight: normal;
  line-height: 1.27;
  color: #a88a8a;
}
.header-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.header-bot__btn-block {
  position: relative;
  width: 83px;
  height: 100%;
  /*border-right: 1px solid #e2e2e2;*/
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-bot__btn-block.active {
  height: 60px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  border-bottom:1px solid #e2e2e2 ;
}
.header-bot__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin-top: -3px;
}
.header-bot__btn-line {
  display: block;
  width:  25px;
  height: 3px;
  background: #333;
  position: relative;
}
.header-bot__btn-line:before {
  position: absolute;
  content: '';
  top: -8px;
  display: block;
  width:  25px;
  height: 3px;
  background: #333;
}
.header-bot__btn-line:after {
  position: absolute;
  content: '';
  top: 8px;
  display: block;
  width:  25px;
  height: 3px;
  background: #333;
}
.header-bot__nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* width: calc(100% - 95px);*/
  width: 100%;
  height:100%;
}
.header-bot__nav-link-open {
  position: relative;
  /*border-right: 1px solid #e2e2e2;*/
  max-width: 275px;
  width: 20%;
  height:100%;
}
.header-bot__nav-link {
  display: flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  font-family: 'Garamond', arial, sans-serif;
  padding: 19px 20px 15px 20px;
  width: 100%;
  text-align: center;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.26;
  color: #000000;
  box-sizing: border-box;
  height:100%;
}
a.header-bot__nav-link {
  cursor: pointer;
}
.header-bot__nav-link:hover {
  font-weight: bold;
}
.header-bot__nav-link.active {
  font-weight: bold;
  color: #a88a8a;
}
.header-bot__nav-link-open:last-child {
  border-right: none;
}
.header-bot__nav-link-list {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0 11px 7px;
  list-style: none;
  z-index: 20;
  background: #fff;
  width: 100%;
  box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
}
.js-submenu-open:hover  {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}
.header-bot__nav-link-open:hover .header-bot__nav-link-list {
  display: block;
}
.header-bot__nav-link-list .header-bot__nav-link {
  padding: 19px 0 20px;
  width: 100%;
}
.header-mobile-search__form,
.header-top-search__form {
  justify-content: space-between;
  display: flex;
  height: 100%;
  box-sizing: border-box;
}
.header-mobile-search__form {
  width: 100%;
}
.header-top-search__inp {
  border: none;
  display: inline-block;
  width: calc(100% - 46px);
  box-sizing: border-box;
  padding: 0 10px;
  font-size: 18px;
  line-height: 0.74;
  color: #000;
}
.header-top-search__btn {
  border: none;
  display: inline-block;
  width: 46px;
  background: transparent url(zoom.svg) no-repeat calc(100% - 9px) center;
  background-size: 28px;
  box-sizing: border-box;
  cursor: pointer;
}
.header-mobile-search__btn {
  border: none;
  display: inline-block;
  width: 41px;
  background: transparent url(zoom-white.svg) no-repeat calc(100% - 9px) center;
  background-size: 23px;
  box-sizing: border-box;
  cursor: pointer;
}
.header-mobile-search__inp {
  border: none;
  display: inline-block;
  width: calc(100% - 41px);
  box-sizing: border-box;
  padding: 0 10px 4px 10px;
  font-size: 18px;
  line-height: 0.74;
  color: #000;
  background: transparent;
}


@media screen and (max-width: 1279px) {
  .header__phone {
    font-size: 25px;
  }
  .header-bot__btn {
    width: 72px;
  }
}

@media screen and (max-width: 1023px) {
  .header-top__right-nav {
    margin: 3px 15px 0 0;
  }
  .header-top__link {
    padding: 10px 23px;
  }
  .header-top__search {
    width: 250px;
  }
  .header-bot__nav-link-list {
    padding: 0 10px 7px;
  }
  .header-bot__nav-link {
    font-size: 15px;
  }
}

@media screen and (max-width: 900px) {
  .header {
    padding: 0;
  }
  .header__desc {
    display: none;
  }
  .header__mobile {
    display: block;
  }
  .header-mobile__top {
    position: relative;
    background: #a88a8a;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
  }
  .header-mobile__search {
    height: 100%;
    width: calc(100% - 80px);
    display: flex;
    justify-content: space-between;
  }
  .header-mobile-search__inp {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    padding: 0 19px;
    box-sizing: border-box;
  }
  .header-mobile-search__inp.active {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    border: 1px solid #000;
    background: #fff;
    z-index: 10;
    color: #000;
  }
  .header-mobile-search__inp::-webkit-input-placeholder {
    font-size: 12px;
    color: #fff;
  }
  .header-mobile-search__inp::-moz-placeholder {
    font-size: 12px;
    color: #fff;
  }/*Firefox19+*/
  .header-mobile-search__inp:-moz-placeholder {
    font-size: 12px;
    color: #fff;
  }/*Firefox18-*/
  .header-mobile-search__inp:-ms-input-placeholder {
    font-size: 12px;
    color: #fff;
  }
  .header-mobile__cart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    margin-left: 13px;
  }
  .header-mobile__cart-link {
    position: relative;
  }
  .header-mobile__cart-circle {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    min-width: 12px;
    height: 12px;
    top: -4px;
    left: -8px;
    background: #70b80d;
    color: #fff;
    font-size: 11px;
    box-sizing: border-box;
        padding: 3px;
  }
  .header-mobile__cart-link svg {
    display: block;
    width: 26px;
    height: 28px;
  }
  .header-mobile__bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 5px 20px;
  }
  .header-mobile__msg {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-mobile__msg .header__soc {
    margin-right: 0;
    margin-left: 7px;
  }
  .header-mobile__top .header-bot__btn-block {
    position: initial;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 100%;
    border: none;
  }

  .header-mobile__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 100%;
    box-sizing: border-box;
  }
  .header-mobile__btn-line {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
  }
  .header-mobile__btn-line:before {
    position: absolute;
    content: '';
    top: -6px;
    display: block;
    width: 18px;
    height: 2px;
    background: #000;
  }
  .header-mobile__btn-line:after {
    position: absolute;
    content: '';
    top: 6px;
    display: block;
    width: 18px;
    height: 2px;
    background: #000;
  }
  .header__phone {
    margin-left: 0;
    font-size: 30px;
    font-weight: 500;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    max-width: 320px;
    width: 100%;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    padding: 0px 15px 10px;
    box-sizing: border-box;
  }
  .mobile-menu.active {
    display: block;
  }
  .mobile-menu__list,
  .mobile-menu__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu__item {
    border-bottom: 1px solid #e2e2e2;
  }
  .mobile-menu__submenu .mobile-menu__item:last-child {
    border-bottom: none;
  }
  .mobile-menu__submenu {
    display: none;
    list-style: none;
    margin: -25px 0 0 30px;
    padding: 0;
  }
  .mobile-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 0 18px;
    font-size: 19px;
    line-height: 1.26;
    font-weight: normal;
    color: #000000;
    font-family: 'Garamond', Arial, serif;
  }
  .mobile-menu__link.active {
    color: #a88a8a;
  }
  .mobile-menu__submenu .mobile-menu__link {
    font-size: 14px;
    line-height: 1.71;
    color: #000000;
  }
  .mobile-menu__ttl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
    font-family: 'Garamond', Arial, serif;
    line-height: 1.26;
    color: #000000;
    padding: 19px 0 18px;
    cursor: pointer;
    font-weight: normal;
  }
  .mobile-menu__sign {
    position: relative;
    display: block;
    width: 14px;
    height: 2px;
    background: #c6c6c6;
  }
  .mobile-menu__sign:after {
    position: absolute;
    content: '';
    display: block;
    width: 2px;
    height: 14px;
    top: -6px;
    left: 6px;
    background: #c6c6c6;
  }
  .mobile-menu__ttl.active .mobile-menu__sign:after {
    display: none;
  }
  .mobile-menu__link.active {
    color: #a88a8a;
  }
  .mobile-menu__ttl.active + .mobile-menu__submenu {
    display: block;
  }

}

@media screen and (max-width: 768px) {
  .header-mobile__btn {
    width: 55px;
  }
  .header-mobile__top .header-bot__btn-block {
    width: 34px;
  }
  .header-mobile__bot {
    padding: 5px 8px;
  }
}

@media screen and (max-width: 639px) {
  .mobile-menu {
    width: 100%;
    max-width: initial;
  }
  .logo {
    font-size: 20px;
  }
  .header__phone {
   font-size: 25px; 
  }
}

@media screen and (max-width: 479px) {
  .logo {
    font-size: 11px;
    margin-bottom: 3px;
  }
}



