/* Подвал и нижняя панель с макета главной 2026. Грузится на всех страницах v2. */

.yz-footer__head {
  margin-bottom: 24px;
}

.yz-footer__rating-logo--otzyv img {
  width: 82px;
  height: 20px;
  object-fit: contain;
}

@media (min-width: 769px) {
  .yz-footer__col--info .yz-h26-mail {
    display: flex;
    align-items: flex-start;
    margin-top: 16px;
    padding: 0;
    border: 0;
  }

  .yz-footer__social-square {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    filter: none;
  }

  .yz-footer__social-square.yz-social--tg,
  .yz-footer__social-square.yz-social--youtube,
  .yz-footer__social-square.yz-social--vk {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 44px 44px;
  }

  .yz-footer__social-square.yz-social--tg,
  .yz-footer__social-square.yz-social--tg:hover,
  .yz-footer__social-square.yz-social--tg:focus-visible {
    background-image: url("/netcat_template/template/yazdorova/img/seo-preview-2026/soc-tg-h26.svg");
    background-size: 44px 44px;
  }

  .yz-footer__social-square.yz-social--ok,
  .yz-footer__social-square.yz-social--ok:hover,
  .yz-footer__social-square.yz-social--ok:focus-visible,
  .yz-footer__social-square.yz-social--ok:active {
    background-color: rgba(255, 255, 255, 0.1);
    background-image: url("/netcat_template/template/yazdorova/img/seo-preview-2026/soc-ok-h26.svg");
    background-size: 14px 20px;
    background-position: center;
    background-repeat: no-repeat;
  }

  .yz-footer__social-square.yz-social--youtube,
  .yz-footer__social-square.yz-social--youtube:hover,
  .yz-footer__social-square.yz-social--youtube:focus-visible {
    background-image: url("/netcat_template/template/yazdorova/img/seo-preview-2026/soc-yt-h26.svg");
    background-size: 44px 44px;
  }

  .yz-footer__social-square.yz-social--vk,
  .yz-footer__social-square.yz-social--vk:hover,
  .yz-footer__social-square.yz-social--vk:focus-visible {
    background-image: url("/netcat_template/template/yazdorova/img/seo-preview-2026/soc-vk-h26.svg");
    background-size: 44px 44px;
  }

  .yz-footer__head .yz-social--tg {
    background-color: transparent;
    background-image: url("/netcat_template/template/yazdorova/v2/img/social-tg-hover.svg");
    filter: none;
  }

  .yz-footer__head .yz-social--max {
    background-color: transparent;
    background-image: url("/netcat_template/template/yazdorova/v2/img/social-max-hover.svg");
    filter: none;
  }
}

@media (max-width: 768px) {
  .yz-footer .yz-social--tg {
    background-color: #2aabee;
    background-image: url("/netcat_template/template/yazdorova/v2/img/social-tg-hover.svg");
  }

  .yz-footer .yz-social--max {
    background-color: transparent;
    background-image: url("/netcat_template/template/yazdorova/v2/img/social-max-hover.svg");
  }

  .yz-footer .yz-social--ok {
    background-color: #ee8208;
    background-image: url("/netcat_template/template/yazdorova/v2/img/social-ok-hover.svg");
    background-size: 14px 20px;
    filter: none;
  }

  .yz-footer .yz-social--youtube {
    background-color: #ff0033;
    background-image: url("/netcat_template/template/yazdorova/v2/img/social-youtube-hover.svg");
    filter: none;
  }

  .yz-footer .yz-social--vk {
    background-color: #0077ff;
    background-image: url("/netcat_template/template/yazdorova/v2/img/social-vk-hover.svg");
    filter: none;
  }

  .yz-tabbar {
    overflow: visible;
    box-sizing: border-box;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  #back-top {
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    z-index: 1002;
    width: 48px;
    height: 48px;
  }

  #back-top.is-on {
    display: block;
  }

  .yz-h26-book {
    position: relative;
    overflow: visible;
  }

  .yz-h26-notch {
    position: absolute;
    left: 50%;
    top: -18px;
    width: 76px;
    height: 20px;
    transform: translateX(-50%);
    background: url("/netcat_template/template/yazdorova/img/seo-preview-2026/tab-notch-h26.svg") center / 76px 20px no-repeat;
    pointer-events: none;
  }

  .yz-h26-book-fab {
    position: absolute;
    left: 50%;
    top: -18px;
    width: 44px;
    height: 44px;
    margin-left: 0;
    transform: translateX(-50%);
    border-radius: 48px;
    background: #3a95bf;
    border: 6px solid #fff;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .yz-h26-book-fab img {
    width: 22px;
    height: 22px;
    filter: none;
  }

  .yz-h26-book .yz-tabbar__label {
    position: absolute;
    left: 0;
    right: 0;
    top: 36px;
    bottom: auto;
    margin: 0;
  }
}
