/**
 * Мобильная шапка — главная и внутренние страницы
 */
.hero__header-mobile {
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.hero-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    min-height: 72px;
    height: 72px;
    padding: 12px 8px;
    background: #ffffff;
    border-bottom: 1px solid #e9ebef;
}

.hero-mobile-header__left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
}

.hero-mobile-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    flex: 0 0 auto;
    min-width: 0;
}

.hero-mobile-header__logo {
    min-width: 0;
    flex: 0 0 auto;
}

.hero-mobile-header__burger {
    flex: 0 0 auto;
}

.hero-mobile-header__burger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.hero-mobile-header__burger-btn:hover {
    background: #f5f6fb;
}

.hero-mobile-header__logo-link {
    display: block;
    line-height: 0;
}

.hero-mobile-header__logo-img,
.hero-mobile-header__logo .logo img {
    display: block;
    width: 150px;
    height: 46px;
    max-width: 150px;
    max-height: 46px;
    object-fit: contain;
}

.hero-mobile-header__contacts {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
}

.hero-mobile-header__phone-link {
    font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
}

.hero-mobile-header__phone-link:hover {
    color: #b04481;
}

.hero-mobile-header__callback {
    padding: 0;
    border: none;
    background: transparent;
    font-family: 'Vela Sans', 'Onest', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #b04481;
    cursor: pointer;
    white-space: nowrap;
}

.hero-mobile-header__search {
    flex: 0 0 auto;
}

.hero-mobile-header__search-btn,
.hero-mobile-header__search .inline-search-show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #5a616c;
    cursor: pointer;
}

.hero-mobile-header__search-btn:hover,
.hero-mobile-header__search .inline-search-show:hover {
    background: #f5f6fb;
}

.hero-mobile-header__search-btn .title,
.hero-mobile-header__search .inline-search-show .title,
.hero-mobile-header__search-btn .svg,
.hero-mobile-header__search-btn .svg-search {
    display: none !important;
}

.hero-mobile-header__search-icon {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
}

.hero-mobile-header__search-icon path {
    fill: none;
}

.hero-mobile-header__phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    flex: 0 0 auto;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #5a616c;
    text-decoration: none;
    cursor: pointer;
}

.hero-mobile-header__phone-icon:hover {
    background: #f5f6fb;
}

.hero-mobile-header__phone-icon-svg,
.hero-mobile-header__phone-icon svg,
.hero-mobile-header__phone-icon .svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
}

.hero-mobile-header__phone-icon-svg path,
.hero-mobile-header__phone-icon svg path {
    fill: none;
}

@media (max-width: 575px) {
    .hero-mobile-header__contacts {
        display: none;
    }

    .hero-mobile-header__phone-icon {
        display: inline-flex;
    }
}

@media (min-width: 576px) {
    .hero-mobile-header__phone-icon {
        display: none;
    }
}

body.in_index .hero #mobileheader {
    position: relative;
    z-index: 2;
}

body.in_index .hero #mobileheader.hero__header-mobile {
    background: #ffffff;
    box-shadow: none;
}

#mobileheader:has(.hero-mobile-header) {
    height: auto;
    min-height: 72px;
    padding: 0;
    margin: 0;
    overflow: visible;
    background: transparent;
}

#mobileheader .hero-mobile-header .inline-search-show {
    border: none;
    background: none;
}

#mobileheader .hero-mobile-header .inline-search-show .svg {
    opacity: 1;
    background: none;
}

#mobileheader .hero-mobile-header .inline-search-show svg path,
#mobileheader .hero-mobile-header .inline-search-show .svg path {
    fill: none !important;
}

#mobileheader.fixed:has(.hero-mobile-header) ~ .body {
    padding-top: 72px;
}

body.in_index .hero #mobileheader .mobileheader-v1 {
    display: none;
}
