/* Шапка макета 2026. Грузится на всех страницах v2. */
@media (min-width: 769px) {
  .yz-header__topbar { display: none !important; }
  .yz-header__brand-text { display: none !important; }
  .yz-header__brand-logo,
  .yz-header__brand-logo img {
    width: 74px !important;
    height: 70px !important;
  }
  .yz-header__main {
    padding: 8px 0 0 !important;
  }
  .yz-header__main-row {
    height: auto !important;
    min-height: 70px !important;
    margin-bottom: 12px !important;
    gap: 12px !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .yz-header__nav-row {
    height: 44px !important;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0 !important;
    box-sizing: border-box !important;
  }
  .yz-h26-chip {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #424242 !important;
    white-space: nowrap;
  }
  .yz-h26-chip,
  .yz-h26-chip span {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.2px !important;
  }
  .yz-h26-chip img {
    width: 22px !important;
    height: 22px !important;
    padding: 9px !important;
    box-sizing: content-box !important;
    background: rgba(58, 149, 191, 0.08) !important;
    border-radius: 10px !important;
  }
  .yz-h26-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
  }
  .yz-header__actions {
    gap: 12px !important;
    flex: none;
  }
  .yz-header__phone {
    font-size: 16px !important;
    letter-spacing: -0.3px !important;
  }
  .yz-header__callback {
    display: inline-block !important;
    font-size: 13px !important;
  }
  #yz-booking-btn {
    height: 40px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
  }
  .yz-header__search {
    width: 40px !important;
    flex: none !important;
  }
  .yz-header__search form {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    border: 1px solid #dee0e4 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }
  .yz-h26-search-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: none;
    cursor: pointer;
  }
  .yz-header__search input::-webkit-search-cancel-button,
  .yz-header__search input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }
  .yz-header__search input,
  .yz-h26-search-close {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .yz-header__search.is-open,
  .yz-header__search.is-open form {
    width: 582px !important;
    height: 40px !important;
  }
  .yz-header__search.is-open form {
    padding: 0 8px 0 16px !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    border-color: #3a95bf !important;
  }
  .yz-header:has(.yz-header__search.is-open) .yz-h26-chip {
    display: none !important;
  }
  .yz-header__search.is-open input {
    position: static !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.2px !important;
    color: #333 !important;
  }
  .yz-header__search.is-open input::placeholder {
    color: #8e8e8e !important;
    opacity: 1 !important;
  }
  .yz-header__search.is-open .yz-h26-search-close {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex: none !important;
    background: transparent !important;
  }
  .yz-header__access {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    border: 1px solid #dee0e4 !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    flex: none;
  }
  .yz-h26-icons img,
  .yz-h26-icons .yz-header__search button,
  .yz-h26-icons .yz-header__search button img {
    width: 22px !important;
    height: 22px !important;
  }
  .yz-header__user {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .yz-header__brand-logo,
  .yz-header__brand-logo img {
    width: 48px !important;
    height: 46px !important;
  }
  .yz-header__main-row { gap: 8px !important; }
  .yz-h26-chip {
    gap: 6px !important;
  }
  .yz-h26-chip,
  .yz-h26-chip span {
    font-size: 12px !important;
  }
  .yz-h26-chip img {
    width: 16px !important;
    height: 16px !important;
    padding: 6px !important;
  }
  .yz-h26-icons { gap: 4px; }
  .yz-header__actions { gap: 6px !important; }
  .yz-header__phone { font-size: 13px !important; }
  .yz-header__callback { font-size: 12px !important; }
  #yz-booking-btn {
    padding: 0 10px !important;
    font-size: 13px !important;
  }
  .yz-header__search,
  .yz-header__search form,
  .yz-header__access,
  .yz-header__user,
  .yz-header__social .yz-social {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .yz-header__search.is-open,
  .yz-header__search.is-open form {
    width: 582px !important;
    height: 40px !important;
    min-width: 0 !important;
  }
  .yz-header:has(.yz-header__search.is-open) .yz-h26-chip {
    display: none !important;
  }
  .yz-h26-icons img {
    width: 18px !important;
    height: 18px !important;
  }
  .yz-header__main-row { margin-bottom: 8px !important; }
  .yz-header__nav-row { gap: 4px; padding-left: 0 !important; }
  .yz-header__nav-trigger,
  .yz-header__nav-link { font-size: 13px !important; }
}
@media (max-width: 768px) {
  .yz-header__mobile-bar {
    display: flex !important;
    max-height: 36px !important;
    opacity: 1 !important;
    padding: 8px 15px !important;
    pointer-events: auto !important;
  }
  .yz-header.is-scrolled .yz-header__mobile-bar,
  body.is-menu-open .yz-header__mobile-bar {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    pointer-events: none !important;
  }
  .yz-header__mobile-bar .yz-header__callback {
    display: inline-block !important;
  }
  .yz-header__mobile-row {
    padding: 8px 15px !important;
  }
  .yz-header__mobile-logo,
  .yz-header__mobile-logo img {
    width: 48px !important;
    height: 46px !important;
  }
  .yz-header__mobile-icon--search { display: flex !important; }
  .yz-header__mobile-right > .yz-header__mobile-icon--callback {
    display: none !important;
  }
  .yz-header.is-scrolled .yz-header__mobile-right > .yz-header__mobile-icon--callback {
    display: flex !important;
    background: var(--yz-blue) !important;
    border: 0 !important;
    border-radius: 10px !important;
    padding: 10px !important;
    color: #fff !important;
    order: 2 !important;
  }
  .yz-header.is-scrolled .yz-header__mobile-right > .yz-header__mobile-icon--search {
    order: 1 !important;
  }
  .yz-header.is-scrolled .yz-header__mobile-right > .yz-social {
    order: 3 !important;
  }
  .yz-header.is-scrolled .yz-header__mobile-right > .yz-header__burger {
    order: 4 !important;
  }
}

@media (max-width: 768px) {
  .yz-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background-color: #fff !important;
    padding-top: env(safe-area-inset-top);
  }
}
