.rs-17 .menu {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
  column-gap: 30px;
	width: 100%;
	height: 105px;
}

.rs-17 .menu.-mobile {
	display: none;
}

.rs-17 .menu .menu__logo {
	margin:  0 auto;
}

.rs-17 .menu .menu__burger {
  display: none;
}

.rs-17 .menu .menu__logo img {
  width: 220px;
}

.rs-17 .menu .menu__item {
  display: block;
  position: relative;
	font-family: AlegreyaSans-Regular;
	font-size: 13px;
	color: #ffffff;
	text-transform: uppercase;
  transition: 0.3s opacity;
}

.rs-17 .menu .submenu {
  display: block;
  position: absolute;
  top: calc(100% + 15px);
  left: -10px;
  padding: 5px 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s opacity, 0s visibility 0.3s;
}

.rs-17 .menu .submenu__item {
  display: block;
  padding: 5px 10px;
  transition: 0.3s color;
}

.rs-17 .menu .submenu__item:hover {
  color: rgb(224, 64, 85);
}

.rs-17 .menu .menu__item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transition: 0.3s opacity, 0s visibility 0s;
}

.rs-17 .menu .submenu__item:not(:last-child) {
  margin-bottom: 10px;
}

header.background .rs-17 .menu .submenu {
  background-color: #ffffff;
}

.rs-17 .menu .menu__item.opac {
  opacity: 0;
}

.rs-17 .menu .menu__item .dot {
  position: absolute;
  width: 5px;
  height: 5px;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0;
  transition: 0.3s opacity;
  transition-delay: 0.15s;
}

.rs-17 .menu .menu__item .dot::before,
.rs-17 .menu .menu__item .dot::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0;
  transition: 0.3s left, 0.3s right, 0.3s transform, 0.3s opacity;
}

.rs-17 .menu .menu__item .dot::before {
  left: 0%;
}

.rs-17 .menu .menu__item .dot::after {
  right: 0%;
}

.rs-17 .menu .menu__item:hover {
  color: #ffffff;
}

.rs-17 .menu .menu__item:hover .dot {
  opacity: 1;
  transition-delay: 0s;
}

.rs-17 .menu .menu__item:hover .dot::before {
  left: -10px;
  opacity: 1;
}

.rs-17 .menu .menu__item:hover .dot::after {
  right: -10px;
  opacity: 1;
}

header.background .rs-17 .menu .menu__item {
  color: #000000;
}

header.background .rs-17 .menu .menu__item:hover {
  color: #000000;
}

header.background .rs-17 .menu .menu__item .dot,
header.background .rs-17 .menu .menu__item span::before,
header.background .rs-17 .menu .menu__item span::after {
  background-color: #000000;
}

.rs-17 .menu .menu__account {
  display: block;
  width: 12px;
  height: 14px;
  -webkit-mask-image: url(../img/profile.svg);
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: #ffffff;
  margin-left: auto;
  margin-right: 24px;
}

.rs-17 .menu .menu__basket {
  display: block;
  width: 12px;
  height: 13px;
  -webkit-mask-image: url(../img/bag.svg);
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: #ffffff;
}

header.background .rs-17 .menu .menu__account,
header.background .rs-17 .menu .menu__basket {
  background-color: #000000;
}

.rs-17 .menu .menu__search {
  position: relative;
  width: 14px;
  height: 14px;
  margin-right: auto;
  margin-top: -2px;
  z-index: 10;
}

.rs-17 .menu .search__input {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #ffffff;
  transition: 0.3s border-radius 0.3s, 0.3s width, 0.3s height;
  font-family: AlegreyaSans-Regular;
  font-size: 16px;
  color: #ffffff;
}

header.background .rs-17 .menu .search__input {
  border-color: #000000;
  color: #000000;
}

.rs-17 .menu .search__input.active {
  border-radius: 5px;
  padding-left: 35px;
  width: 150px;
  height: 30px;
  transition: 0.3s border-radius, 0.3s width 0.3s, 0.3s height 0.3s, 0.6s padding;
}

.rs-17 .menu .search__btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  width: 14px;
  height: 14px;
  background-color: transparent;
  border: none;
  transition: 0.3s width, 0.3s height;
}

.rs-17 .menu .search__btn.active {
  width: 30px;
  height: 30px;
}

.rs-17 .menu .search__btn::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 1px;
  background-color: #fff;
  transform: rotate(45deg);
  margin-top: 8px;
  margin-left: 5px;
  transition: 0.3s all;
}

.rs-17 .menu .search__btn.active::after {
  width: 15px;
  height: 1px;
  margin-top: 0px;
  margin-left: -7px;
  transition: 0.3s all 0.3s;
}

.rs-17 .menu .search__btn::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 1px;
  background-color: #fff;
  transform: rotate(-45deg);
  margin-top: 0px;
  margin-left: -7px;
  transition: 0.3s all;
  opacity: 0;
}

.rs-17 .menu .search__btn.active::before {
  opacity: 1;
  transition: 0.3s all 0.5s;  
}

header.background .rs-17 .menu .search__btn::before,
header.background .rs-17 .menu .search__btn::after {
  background-color: #000000;
}

@media screen and (max-width: 1600px) {
  .rs-17 .menu:not(.-mobile) .menu__item,
  .rs-17 .menu:not(.-mobile) .menu__search{
    display: none;
  }
  .rs-17 .menu:not(.-mobile) {
    height: 80px;
    z-index: 10;
  }
  .rs-17 .menu .menu__search  {
    margin-bottom: 40px;
  }
  .rs-17 .header .menu__burger {
    display: block;
    width: 24px;
    height: 20px;
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 11;
  }
  .rs-17 .header .menu__burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;    
    transition: 0.3s opacity, 0.3s transform;
    transform-origin: left;
  }
  .rs-17 .header .menu__burger.active span {
    background-color: #000000;
  }
  .rs-17 .header .menu__burger span:not(:last-child) {
    margin-bottom: 5px;
  }
  .rs-17 .header .menu__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -1.5px);
  }
  .rs-17 .header .menu__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .rs-17 .header .menu__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, 1.5px);
  }
  header.background .rs-17 .header .menu__burger span {
    background-color: #000000;
  }
  .rs-17 .menu.-mobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    width: 40vw;
    height: calc(100vh);
    left: -50vw;
    top: 0;
    padding: 80px 35px;
    background-color: #ffffff;
    z-index: 11;
    transition: 0.3s left;
    box-shadow: 8px 0px 25px -10px rgba(34, 60, 80, 0.2);
  }
  .rs-17 .menu.-mobile.active {
    left: 0;
  }
  .rs-17 .menu.-mobile .menu__item {
    color: #000000;
    margin-bottom: 15px;
    font-size: 18px;
  }
  .rs-17 .menu.-mobile .menu__account {
    margin-left: 0;
    margin-bottom: 15px;
  }
  .rs-17 .menu.-mobile .menu__basket {
    margin-bottom: 40px;
  }
  .rs-17 .menu.-mobile .menu__account,
  .rs-17 .menu.-mobile .menu__basket {
    width: 17px;
    height: 17px;
    background-color: #000000;
  }
  .rs-17 .menu.-mobile .search__btn::before,
  .rs-17 .menu.-mobile .search__btn::after {
    background-color: #000000;
  }
  .rs-17 .menu.-mobile .search__input {
    border-color: #000000;
    color: #000000;
  }
  .rs-17 .menu.-mobile .search__input.active {
    width: 200px;
  }
  .rs-17 .menu.-mobile .menu__contacts {
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
  }
  .rs-17 .menu.-mobile .menu__contacts .menu__item  {
    font-size: 18px;
    margin-bottom: 5px;
    text-transform: none;
  }
}

@media screen and (max-width: 767px) {
  .rs-17 .menu.-mobile {
    width: 90vw;
    left: -100vw;
  }
}

@media screen and (max-width: 475px) {
  .rs-17 .menu .menu__logo img {
    width: 160px;
  }
  .rs-17 .header .menu__burger {
    left: 15px;
    transform: translateY(-50%) scale(0.9);
  }
  .rs-17 .menu.-mobile {
    padding: 80px 15px 10px;
  }
}