/* OnDoc floating widget — отключён в превью */
.ondoc-s-btn {
  display: none !important;
}

/* Mobile — Figma 8007:710 */
@media (max-width: 768px) {
  .yz-header__topbar,
  .yz-header__main {
    display: none !important;
  }

  .yz-header__mobile {
    display: block !important;
  }

  .yz-tabbar {
    display: flex !important;
  }

  body._index {
    padding-bottom: 60px !important;
  }

  body._index .content {
    padding-top: 0 !important;
  }

  #stickyFooter {
    display: none !important;
  }

  .yz-scroll-spacer {
    min-height: 200vh !important;
    background: #e8eaed !important;
  }

  /* Footer mobile */
  footer.ufooter {
    padding-bottom: 72px !important;
  }

  footer.ufooter .wrap {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  footer.ufooter .ufooter-row._top {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  footer.ufooter .fcontacts__bottom {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  footer.ufooter .ufooter-row._center {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  footer.ufooter .fcolmenu {
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 12px 0 !important;
  }

  footer.ufooter .fcolmenu__heading {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }

  footer.ufooter .fcolmenu-lis {
    display: block !important;
    columns: 1 !important;
  }

  footer.ufooter .fcolmenu-lis li {
    margin-bottom: 6px !important;
  }
}

@media (min-width: 769px) {
  .yz-header__mobile,
  .yz-tabbar {
    display: none !important;
  }
}

/* ── Mobile header ── */
.yz-header__mobile {
  display: none;
  width: 100%;
}

.yz-header__mobile-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f5f6f7 !important;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.yz-header__mobile-bar .yz-header__callback {
  color: #3a95bf !important;
  text-decoration: underline !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  cursor: pointer;
}

.yz-header__mobile-bar .yz-header__phone {
  font-weight: 500 !important;
  color: #333 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.yz-header__mobile-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #fff !important;
  border-bottom: 1px solid #dee0e4;
  gap: 12px;
}

.yz-header__mobile-left {
  display: flex !important;
  align-items: center;
  gap: 16px;
}

.yz-header__burger {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 1px solid #dee0e4 !important;
  border-radius: 10px !important;
  background: #fff !important;
  cursor: pointer;
  flex-shrink: 0;
}

.yz-header__mobile-logo {
  display: block !important;
  width: 52px !important;
  height: 50px !important;
  flex-shrink: 0;
}

.yz-header__mobile-logo img {
  display: block !important;
  width: 52px !important;
  height: 50px !important;
  object-fit: contain;
}

.yz-header__mobile-right {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.yz-header__mobile-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

.yz-header__mobile-icon img {
  width: 40px !important;
  height: 40px !important;
  display: block !important;
}

.yz-header__mobile-icon--search {
  border: 1px solid #dee0e4 !important;
  background: #fff !important;
  text-decoration: none !important;
}

.yz-header__mobile-icon--search svg {
  width: 20px;
  height: 20px;
}

.yz-header.is-scrolled .yz-header__mobile-bar {
  display: none !important;
}

.yz-header.is-scrolled .yz-header__mobile-row {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ── Scroll spacer ── */
.yz-scroll-spacer {
  width: 100%;
  min-height: 200vh;
  background: #e8eaed;
  display: block;
}

/* ── Bottom tab bar ── */
.yz-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  height: 60px;
  background: #fff !important;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.04);
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
}

.yz-tabbar__item {
  flex: 1 1 0;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px !important;
  text-decoration: none !important;
  color: #424242 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.24;
  letter-spacing: -0.18px;
  background: none !important;
  border: 0 !important;
  cursor: pointer;
  font-family: Roboto, Arial, sans-serif !important;
}

.yz-tabbar__item svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
}

.yz-tabbar__item--active,
.yz-tabbar__item:hover {
  color: #3a95bf !important;
}
