.preheader {
  background-color: #fff;
  padding: 16px 0;
}

.preheader__container {
  display: flex;
  justify-content: space-between;
}

.preheader__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preheader__address {
  font-family: "Magistralc";
  display: flex;
  align-items: center;
  gap: 12px;
  color: #384153;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: color 0.3s;

  &:hover {
    color: #3badff;
  }
}

.preheader__address::before {
  content: "";
  display: flex;
  width: 20px;
  height: 20px;
  background-image: url("../images/pin-location.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.phones-list {
  max-width: 200px;
  position: relative;
}

.phones-controls > span {
  display: flex;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 23px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.phones-controls > span::before {
  display: none;
}

.phones-controls .swiper-button-prev {
  left: 0;
}

.phones-controls .swiper-button-next {
  right: 0;
}

.phones-list.swiper {
  height: auto;
}

.phones-controls .swiper-button-prev {
  background-image: url("../images/prev-icon.svg");
}

.phones-controls .swiper-button-next {
  background-image: url("../images/next-icon.svg");
}

.phones-list__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  gap: 12px;
  color: #384153;
  transition: color 0.3s;

  &:hover {
    color: #3badff;
  }
}

.phones-list__phone::before {
  content: "";
  display: flex;
  width: 20px;
  height: 20px;
  background-image: url("../images/phone-icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.preheader__schedule {
  position: relative;
  padding-left: 32px;
}

.preheader__schedule::before {
  content: "";
  position: absolute;
  top: auto;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url("../images/schedule-icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.preheader__scheduleRow {
  display: flex;
  gap: 5px;
  color: var(--text, #384153);
  font-family: "Magistralc";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.preheader__scheduleRow span:first-child {
  color: #3badfc;
}

.preheader__socialsRow {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preheader__rightMob {
  display: contents;
}

.city-choose {
  position: fixed;
  right: calc(0px);
  top: 210px;
  z-index: 10;
  transition: transform 0.5s;
}

.city-choose.isOpen {
  transform: translateX(-170px);
}

.city-choose__btn {
  display: block;
  background: #020202;
  outline: none;
  border: none;
  padding: 20px 16px 15px;
  border-radius: 22px 22px 0px 0;
  transform: translateY(-55px) rotate(-90deg);
  transform-origin: bottom right;
}

.city-choose__title {
  display: block;
  text-align: center;
  color: #fff;
  /* writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    transform: rotate(180deg); */
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.city-choose__list {
  width: 170px;
  position: absolute;
  top: 0;
  left: 100%;
  display: flex;
  padding: 18px 45px;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background-color: #fff;
}

.city-choose__list a {
  display: block;
  color: #000;
  font-family: "Magistralc";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: color 0.3s;

  &:hover {
    color: #3badfc;
  }
}

.city-choose__list a.current {
  color: #3badfc;
}

@media screen and (max-width: 1200px) {
  .preheader__socials {
    display: none !important;
  }

  .city-choose {
    top: auto;
    bottom: 240px;
  }
}

@media screen and (max-width: 900px) {
  .preheader__container {
    flex-direction: column;
    gap: 15px;
  }

  .preheader__col {
    align-items: center;
    flex-direction: row;
  }

  .navbar.navbar {
    margin-top: 120px;
  }

  .preheader__container {
    align-items: center;
  }

  .preheader__rightMob {
    display: flex;
    flex-direction: column-reverse;
    gap: 13px;
  }

  .phones-list.hide {
    display: none;
  }

  .preheader__addresses.preheader__addresses {
    gap: 22px;
  }

  .phones-list__phone {
    font-size: 16px;
  }

  .phones-controls > span {
    width: 24px;
    height: 24px;
    top: 20px;
  }

  .preheader__schedule {
    gap: 20px;
  }

  .phones-list__phone::before {
    width: 24px;
    height: 24px;
  }

  .preheader__scheduleRow {
    font-size: 14px;
  }
}

@media screen and (max-width: 580px) {
  .preheader__container {
    gap: 12px;
  }

  .preheader__col {
    gap: 0;
    justify-content: space-between;
  }

  .preheader__phones > div:last-child {
    margin-left: -10px;
  }

  .preheader__address,
  .preheader__scheduleRow {
    font-size: 12px;
  }

  .preheader__scheduleRow {
    width: max-content;
  }

  .preheader__address > span {
    display: block;
    max-width: 120px;
  }

  .preheader__address::before {
    min-width: 24px;
  }

  .phones-list__phone {
    font-size: 12px;
    gap: 10px;
  }

  .phones-list__phone::before {
    width: 20px;
    height: 20px;
  }

  .preheader__addresses.preheader__addresses {
    gap: 14px;
  }

  .city-choose.isOpen {
    transform: translateX(-130px);
  }

  /* .city-choose__btn {
        padding: 24.116px 16.808px;
        border-radius: 22.654px 0px 0px 22.654px;
    } */

  .city-choose__list {
    padding: 13px 35px;
    grid-area: 10px;
  }

  .city-choose__list a {
    font-size: 16px;
  }

  .preheader__schedule {
    gap: 10px;
  }
}
