
/* =========================
   HEADER
   ========================= */

.header .contacts-icon {
  display: none;
}

.header .contacts .phone {
  display: inline-flex;
  align-items: center;
  margin: 0;

  background: #555;
  border: 0;
  border-radius: 4px;
  box-shadow: none;

  white-space: nowrap;
  min-height: 46px;
  padding: 9px 17px;
  gap: 10px;
}

.header .messenger-contact-text {
  margin: 0 4px 0 0;

  color: #fff;
  font-family: 'Rubik', sans-serif;

  white-space: nowrap;
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
}

.header .contacts .phone > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
}

.header .contacts .phone > a img {
  display: block;
  width: 22px;
  height: 22px;
}


/* Вторая серая кнопка */
.header .callask .ask {
  min-height: 46px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header .callask .ask span {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
}


/* =========================
   FOOTER
   ========================= */

.footer .footer-contact-list {
  width: 100%;
  margin: 0 0 8px 0;
  padding: 0;
}

.footer .footer-contact-row {
  display: flex;
  align-items: center;

  min-height: 25px;
  margin: 0;
  padding: 0;

  color: #fff;

  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  text-align: left;
}

/* Абсолютно одинаковая колонка под все 3 иконки */
.footer .footer-contact-row > i {
  display: flex;
  flex: 0 0 24px;

  width: 24px;
  height: 20px;

  align-items: center;
  justify-content: center;

  margin: 0 8px 0 0;
  padding: 0;

  color: #fff;
  font-size: 16px;
  line-height: 20px;
}

/* Контент после иконки */
.footer .footer-contact-row > span,
.footer .footer-contact-row > a,
.footer .footer-contact-main,
.footer .messenger-contact-text {
  margin: 0;
  padding: 0;

  color: #fff;

  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}

.footer .footer-contact-row > a {
  text-decoration: none;
}

.footer .footer-contact-main {
  display: flex;
  align-items: center;
}

.footer .messenger-contact-text {
  display: inline-block;
  margin-right: 9px;
}

.footer .footer-messengers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer .footer-messengers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.footer .footer-messengers img {
  display: block;
  width: 17px;
  height: 17px;
}


/* Footer Chat */
.footer .callask-block {
  margin-top: 8px;
}

.footer .ask span {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
}


/* HEADER SIZE TUNING */


/* HEADER BUTTONS FINAL SIZE */

/* Contacts page: messenger icons inside standard address row */
.forbuy.forcontacts .adress li:first-child {
    display: flex;
    align-items: center;
}

.forbuy.forcontacts .adress li:first-child > a.viber,
.forbuy.forcontacts .adress li:first-child > a.telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 4px;
    flex: 0 0 26px;
}

.forbuy.forcontacts .adress li:first-child > a.viber img,
.forbuy.forcontacts .adress li:first-child > a.telegram img {
    display: block;
    width: 26px;
    height: 26px;
    max-width: 26px;
    max-height: 26px;
}

/* Message us text: exactly inherit standard address-row typography */
.forbuy.forcontacts .adress li:first-child > span {
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}
