/** button call */
.header-mobile .header-btn-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 51px;
  height: 51px;
  margin-right: 0;
  border-radius: 13px;
  background-color: rgba(240, 239, 238, .7);

}

.js-header-buttons.is-active .header-btn-icon, .js-header-buttons.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 51px;
  height: 51px;
  min-height: 51px;
  margin-right: 0;
  border-radius: 13px;
  background-color: rgba(240, 239, 238, .9);
  box-shadow: 0 4px 21px rgba(63, 61, 61, .33);
}

.js-header-buttons.is-active .header-btn-icon svg, .js-header-buttons.is-active {
  position: relative;
  z-index: 1;
}

.page-header__icon-right {
  position: fixed;
  top: -55px;
  right: 10px;
  z-index: 100;
}

.page-header__icon-right.is-active {
  top: 55px;
}

.page-header__icon-right.is-active .header-btn-icon:after {
  content: "";
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%,-50%);
  animation: 3s cubic-bezier(.215,.61,.355,1) infinite pulsePhone;
  opacity: .3;
  border-radius: inherit;
  animation-delay: .1s;
  pointer-events: none;
  background-color: rgba(240,239,238,.7)
}

@keyframes pulsePhone {
  0% {
      opacity: 1;
      width: 100%;
      height: 100%
  }

  99% {
      opacity: 0;
      width: 150%;
      height: 150%
  }

  100% {
      width: 100%;
      height: 100%;
      opacity: 0
  }
}

/** label sale */
.label-bf {
  position: fixed;
  top: 140px;
  right: -100%;
  opacity: 0;
  transition: opacity 1.3s;
  z-index: 100;
}
.label-bf.is-active {
  right: 15px;
  opacity: 1;
}
.label-bf__wrap {
  position: relative;
}
.label-bf.is-active .label-bf__wrap {
  animation-name: rockingFObject;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.label-bf__close {
  font-family: inherit;
  margin: 0;
  padding: 0;
  border: none;
  background: 0 0;
  position: absolute;
  appearance: none;
  top: 0;
  right: 0;
  cursor: pointer;
}
.label-bf__close svg {
  stroke: rgba(111, 111, 111, .5);
  stroke-width: 2px;
}
.label-bf__link {
  display: block;
  width: 150px;
  background-color: transparent;
  color: #5b5a60;
  text-decoration: none;
  outline: 0;
  appearance: none;
}
.label-bf__link img {
  display: block;
  width: 100%;
  height: auto;
  border-style: none;
}
@keyframes rockingFObject {
  0%,100% {
      -webkit-transform: translate(0,0) scale(.96) rotate(-4deg);
      transform: translate(0,0) scale(.96) rotate(-4deg)
  }

  17% {
      -webkit-transform: translate(-10px,-5px) scale(.98) rotate(-3deg);
      transform: translate(-10px,-5px) scale(.98) rotate(-3deg)
  }

  25% {
      -webkit-transform: translate(-11px,-6px) scale(.99) rotate(-2deg);
      transform: translate(-11px,-6px) scale(.99) rotate(-2deg)
  }

  32% {
      -webkit-transform: translate(-10px,-5px) scale(1.01) rotate(-1deg);
      transform: translate(-10px,-5px) scale(1.01) rotate(-1deg)
  }

  50% {
      -webkit-transform: translate(-1px,-1px) scale(1.03) rotate(0);
      transform: translate(-1px,-1px) scale(1.03) rotate(0)
  }

  67% {
      -webkit-transform: translate(10px,5px) scale(1.01) rotate(-1deg);
      transform: translate(10px,5px) scale(1.01) rotate(-1deg)
  }

  75% {
      -webkit-transform: translate(11px,6px) scale(.99) rotate(-2deg);
      transform: translate(11px,6px) scale(.99) rotate(-2deg)
  }

  82% {
      -webkit-transform: translate(10px,5px) scale(.98) rotate(-3deg);
      transform: translate(10px,5px) scale(.98) rotate(-3deg)
  }
}

/** bottom screen calls */
.calls {
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: 116;
  bottom: -100px;
  left: 0;
  width: 100%;
  min-height: 106px;
  padding-top: 15px;
  background-color: rgb(246 247 249 / .9);
  box-shadow: 4px -3px 6px rgba(169, 151, 191, .15);
  opacity: 0;
  transition: .3s ease-in-out;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -ms-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
}
.calls.is-active {
  bottom: 0px;
  opacity: 1;
}
.calls__inner {
  width: 100%;
  max-width: 345px;
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.calls__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity .3s;
  cursor: pointer;
  width: 49px;
  height: 49px;
}

.calls__item-inner {
  position: relative;
  border-radius: 10px;
  margin-bottom: 2px;
}
.calls__item-icon {
  position: relative;
  z-index: 2;
}
.calls .icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border-radius: 10px;
  overflow: visible !important;
  cursor: pointer;
}
.calls__item-inner:after {
  content: "";
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  animation: 3s cubic-bezier(.215,.61,.355,1) infinite pulseBeforeAfter;
  opacity: .3;
  border-radius: inherit;
  animation-delay: .1s;
  pointer-events: none;
}
.calls__item-text {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  color: #5b5a60;
}
.calls .icon--bg-green {
  position: relative;
  z-index: 2;
  background-color: #098086;
}
.calls__item-inner--bg-green::after {
  background-color: #098086;
}
.calls .icon--bg-pur {
  position: relative;
  background-color: #07adb5;
}
.calls__item-inner--bg-pur:after {
  background-color: #07adb5;
}
.calls .icon--bg-vk-blue {
  position: relative;
  background-color: #0cc4cd;
}
.calls__item-inner--bg-vk-blue:after {
  background-color: #0cc4cd;
}
.calls .icon--bg-blue {
  position: relative;
  background-color: #6eeaf1;
}
.calls__item-inner--bg-blue:after {
  background-color: #6eeaf1;
}
.calls__item-inner--bg-orange {
  background-color: #fc9e49;
}
.calls__item-inner--bg-orange:after {
  background-color: #fc9e49;
}
@keyframes pulseBeforeAfter {
  0% {
      opacity: 1;
      width: 50%;
      height: 50%
  }

  99% {
      opacity: 0;
      width: 150%;
      height: 150%
  }

  100% {
      width: 50%;
      height: 50%;
      opacity: 0
  }
}

@media screen and (max-width: 1000px) {
  .up-button {
      right: 26px!important;
      bottom: 122px!important;
  }
}

@media screen and (max-width: 1000px) {
  .yandex-browser .up-button {
      display:none !important;
      opacity: 1 !important;
  }
  .yandex-browser .calls__inner {
    width: 70%;
  }
  .yandex-browser .calls__item {
    width: 38px;
    height: 58px;
  }
  .yandex-browser .calls .icon {
    width: 36px;
    height: 36px;
  }
  .yandex-browser .calls__item-text {
    hyphenate-character: revert-layer;
    hyphens: auto;
    width: 100%;
    word-break: break-all;
  }
  .yandex-browser .calls__item-icon svg {
    width: 20px;
    height: 20px;
  }
  .yandex-browser .ya-hidden {
    display:none;
  }
}
