/**
 * Шапка внутренних страниц (не главная) — Figma Header 1920×178
 */
:root {
    --inner-header-container: 1500px;
    --inner-header-font: 'Vela Sans', 'Onest', system-ui, -apple-system, sans-serif;
    --inner-header-text: #111827;
    --inner-header-muted: #5a616c;
    --inner-header-brand: #b04481;
    --inner-header-brand-light: #f5e8ef;
}

.inner-header-wrap {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #ffffff;
    border-radius: 0 0 24px 24px;
    box-shadow:
        0 8px 14px -4px rgba(0, 0, 0, 0.06),
        0 0 6px -2px rgba(0, 0, 0, 0.03);
    font-family: var(--inner-header-font);
    overflow: visible;
}

.inner-header-wrap .header {
    display: none;
}

.inner-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--inner-header-container);
    margin: 0 auto;
    padding: 24px 16px;
}

@media (min-width: 1500px) {
    .inner-header {
        padding-left: 0;
        padding-right: 0;
    }
}

.inner-header__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 48px;
}

.inner-header__contacts-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.inner-header__address {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--inner-header-text);
    white-space: nowrap;
}

.inner-header__address [id^='bx_incl_area'] {
    display: inline !important;
}

.inner-header__schedule {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inner-header__schedule-item {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--inner-header-muted);
    white-space: nowrap;
}

.inner-header__contacts-right {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.inner-header__email {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--inner-header-muted);
    text-decoration: none;
    white-space: nowrap;
}

.inner-header__email:hover {
    color: var(--inner-header-text);
}

.inner-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.inner-header__phone-link {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--inner-header-text);
    text-decoration: none;
    white-space: nowrap;
}

.inner-header__phone-link:hover {
    color: var(--inner-header-brand);
}

.inner-header__phone-chevron {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 10L12 14L16 10' stroke='%239299A5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.inner-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inner-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--inner-header-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 8px;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.inner-header__btn:hover {
    opacity: 0.92;
    color: #A53976;
    background: #F5E8EF;
    text-decoration: none;
}

.inner-header__btn--secondary {
    min-width: 200px;
    height: 48px;
    padding: 12px 24px;
    background: var(--inner-header-brand-light);
    color: var(--inner-header-brand);
}

.inner-header__btn--icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    background: var(--inner-header-brand-light);
    color: var(--inner-header-brand);
}

.inner-header__btn--icon .title {
    display: none;
}

.inner-header__actions .inline-search-show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: var(--inner-header-brand-light);
    color: var(--inner-header-brand);
    cursor: pointer;
}

.inner-header__actions .inline-search-show .title,
.inner-header__actions .inline-search-show .svg,
.inner-header__actions .inline-search-show .svg-search {
    display: none !important;
}

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

.inner-header__search-icon path {
    fill: none;
}

.inner-header__btn--icon svg,
.inner-header__btn--icon .svg {
    width: 20px;
    height: 20px;
    fill: none;
}

.inner-header__nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 84px;
    width: 100%;
    min-height: 66px;
}

.inner-header__logo {
    flex: 0 0 213px;
    width: 213px;
    height: 66px;
}

.inner-header__logo-link {
    display: inline-flex;
    align-items: center;
    width: 213px;
    height: 66px;
}

.inner-header__logo-link img {
    display: block;
    width: 213px;
    height: 66px;
    object-fit: contain;
}

.inner-header .hero__menu {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
}

.inner-header .hero__menu-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
}

.inner-header .hero__menu-item {
    flex: 0 0 auto;
    margin: 0;
    list-style: none;
}

.inner-header .hero__menu-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-family: var(--inner-header-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--inner-header-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.inner-header .hero__menu-item:last-child > a {
    padding: 0 0 0 16px;
}

/* .inner-header .hero__menu-item > a:hover,
.inner-header .hero__menu-item.is-active > a {
    color: var(--inner-header-text);
} */

.inner-header ul li:before,
.inner-header .hero__menu-item:before {
    display: none !important;
    content: none !important;
}

body:not(.in_index) .header_wrap.inner-header-wrap {
    background: #ffffff !important;
    border: none !important;
}

@media (max-width: 1499px) {
    .inner-header .hero__menu-item > a {
        font-size: 16px;
        padding: 0 10px;
    }

    .inner-header .hero__menu-item:last-child > a {
        padding: 0 0 0 10px;
    }

    .inner-header__contacts-right {
        gap: 20px;
    }

    .inner-header__btn--secondary {
        min-width: 0;
        padding: 12px 16px;
    }
}

@media (max-width: 1199px) {
    .inner-header__email {
        display: none;
    }
}
