headerMain.css 4.41 KB
.header-main {
  background-color: #F7F7F9;
}

.header-main-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 101px;
}

.header-main-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header-main-left__logo {
  margin-right: 40px;
}
.header-main-left__logo > img {
  width: 184px;
  max-height: 45px;
  height: 100%;
}
.header-main-left__button {
  background: #F5851A;
  border-radius: 9.375px;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  border: 1px solid #F5851A;
  cursor: pointer;
  padding: 12px 61px 12px 30px;
  position: relative;
  margin-right: 20px;
  font-size: 14px;
}
.header-main-left__button:after {
  position: absolute;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='15' viewBox='0 0 18 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 1.125H16' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 6.9314H16' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 13.1251H16' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  width: 16px;
  height: 15px;
  right: 30px;
}
.header-main-left .catalog-open:after {
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L15 14' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3Cpath d='M2 14.1251L15 1.99998' stroke='white' stroke-width='2.03906' stroke-linecap='round'/%3E%3C/svg%3E");
}

.header-main-left-search {
  position: relative;
}
.header-main-left-search__input {
  width: 205px;
  height: 42px;
  border: 1px solid #ABB2BF;
  border-radius: 10px;
  padding-left: 20px;
  outline: none;
  font-family: "Montserrat";
  font-size: 16px;
}
@media (min-width: 1024px) {
  .header-main-left-search__input {
    width: 375px;
    height: 42px;
  }
}
.header-main-left-search:after {
  position: absolute;
  content: "";
  background-image: url("../img/svg/input-search.svg");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  top: 51%;
  right: 15px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 26px;
  height: 26px;
}

.header-main__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header-main__right-socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #333B49;
  margin-right: 32px;
}
.header-main__right-socials .mail {
  font-family: "Muller";
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
  margin-bottom: 10px;
}
.header-main__right-socials .tel {
  font-family: "Muller";
  font-weight: 700;
  font-size: 15px;
  line-height: 15px;
}
.header-main__right-button {
  background: #F5851A;
  border-radius: 9.375px;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  border: 1px solid #F5851A;
  cursor: pointer;
  padding: 12px 30px;
  margin-right: 50px;
  display: none;
}
.header-main__right-button:hover {
  border: 1px solid #F2994A;
  background-color: #FFFFFF;
  color: #F2994A;
  border-radius: 9.375px;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
}
@media (min-width: 1220px) {
  .header-main__right-button {
    display: inline-block;
  }
}
.header-main__right-cart {
  position: relative;
}
.header-main__right-cart .svg-cart {
  width: 32px;
  height: 32px;
  position: relative;
}
.header-main__right-cart .number {
  position: absolute;
  content: "";
  background-image: url("../img/svg/cart-bg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 24px;
  height: 24px;
  padding-left: 8px;
  padding-top: 2px;
  bottom: -2px;
  left: -5px;
  color: #fff;
}