/*
 * Точные стили шапки, выделенные из предоставленного исходного CSS.
 * Сохранены исходный порядок правил и поздние переопределения.
 */

:root {
    --blue: #145fd1;
    --blue-dark: #0d4fb7;
    --text: #15171b;
    --muted: #747d8b;
    --border: #e8ebf1;
    --surface: #f6f8fc;
    --white: #ffffff;
    --container-width: 1180px;

    --ui-accent: #1f5597;
    --ui-accent-second: #176caf;
    --ui-accent-hover: #194a85;
    --ui-accent-hover-second: #145f9d;
    --ui-accent-light: #edf4fc;
    --ui-accent-border: #8eb4de;
    --ui-accent-shadow: rgba(24, 75, 130, 0.24);
}

.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
    box-sizing: border-box;
}

.site-header {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header .container {
    width: min(calc(100% - 60px), var(--container-width));
    margin-inline: auto;
}

.site-header a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.site-header button,
.site-header input {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.site-header img,
.site-header svg {
    display: block;
}

@media (max-width: 900px) {
    .site-header .container {
        width: min(calc(100% - 32px), var(--container-width));
    }
}

@media (max-width: 600px) {
    .site-header .container {
        width: min(calc(100% - 24px), var(--container-width));
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-header *::before,
    .site-header *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

body.menu-open {
overflow: hidden;
}

.site-header {
position: relative;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-top {
min-height: 82px;
    display: grid;
    grid-template-columns: auto
                auto
                minmax(260px, 1fr)
                auto
                auto;
    align-items: center;
    gap: 24px;
}

.header-logo {
display: flex;
    flex-direction: column;
    color: var(--text);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.header-logo strong {
font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.header-logo span {
margin-top: 5px;
    color: #626b78;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.header-city {
display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    color: #555f70;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.header-city:hover {
color: var(--blue);
}

.header-city svg,
.header-nav svg {
width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-search {
height: 44px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid #f0f2f6;
    border-radius: 10px;
}

.header-search:focus-within {
border-color: #b7cff5;
    box-shadow: 0 0 0 3px rgba(23, 99, 213, 0.08);
}

.header-search input {
min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 16px;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search input::placeholder {
color: #a0a7b3;
}

.header-search button {
width: 48px;
    height: 100%;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #667085;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.header-search button:hover {
color: var(--blue);
}

.header-search svg {
width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.header-phone {
display: flex;
    flex-direction: column;
    color: var(--text);
    text-align: right;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone strong {
font-size: 15px;
    font-weight: 700;
}

.header-phone span {
margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.header-navigation {
border-top: 1px solid #f4f5f7;
}

.header-navigation-inner {
min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-nav {
display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 38px);
}

.header-nav a {
display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3f4754;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a.is-active {
color: var(--blue);
}

.header-nav a.is-active {
font-weight: 600;
}

.header-appointment {
min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    color: #fff;
    background: var(--blue);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(23, 99, 213, 0.14);
    transition: background-color 0.2s ease,
                transform 0.2s ease;
}

.header-appointment:hover {
background: var(--blue-dark);
    transform: translateY(-1px);
}

.header-menu-button,
.header-mobile-info {
display: none;
}

.menu-overlay {
position: fixed;
    inset: 0;
    z-index: 900;
    visibility: hidden;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease,
                visibility 0.25s ease;
}

.menu-overlay.is-visible {
visibility: visible;
    opacity: 1;
}

@media (max-width: 1100px) {
.header-top {
grid-template-columns: auto
                    auto
                    minmax(200px, 1fr)
                    auto;
        gap: 18px;
}

.header-nav {
gap: 18px;
}

.header-nav a {
font-size: 12px;
}

.header-appointment {
padding-inline: 18px;
}
}

@media (max-width: 900px) {
.site-header {
position: sticky;
        top: 0;
}

.header-top {
min-height: 72px;
        grid-template-columns: auto 1fr auto;
}

.header-city,
.header-search-desktop,
.header-phone {
display: none;
}

.header-menu-button {
width: 42px;
        height: 42px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        justify-self: end;
        background: #f4f7fc;
        border: 0;
        border-radius: 8px;
        cursor: pointer;
}

.header-menu-button span {
width: 20px;
        height: 2px;
        display: block;
        background: var(--text);
        border-radius: 2px;
        transition: transform 0.25s ease,
                    opacity 0.25s ease;
}

.header-menu-button.is-open span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}

.header-menu-button.is-open span:nth-child(2) {
opacity: 0;
}

.header-menu-button.is-open span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}

.header-navigation {
position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(15, 31, 56, 0.1);
        opacity: 0;
        transition: max-height 0.35s ease,
                    opacity 0.25s ease,
                    visibility 0.25s ease;
}

.header-navigation.is-open {
max-height: calc(100vh - 72px);
        overflow-y: auto;
        visibility: visible;
        opacity: 1;
}

.header-navigation-inner {
min-height: 0;
        display: block;
        padding-top: 18px;
        padding-bottom: 28px;
}

.header-nav {
display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
}

.header-nav a {
min-height: 48px;
        justify-content: space-between;
        padding: 0 4px;
        border-bottom: 1px solid #f0f2f5;
        font-size: 14px;
}

.header-appointment {
width: 100%;
        min-height: 48px;
        margin-top: 18px;
}

.header-mobile-info {
display: flex;
        flex-direction: column;
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid var(--border);
}

.header-mobile-info a {
color: var(--text);
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
}

.header-mobile-info span {
margin-top: 5px;
        color: var(--muted);
        font-size: 12px;
}
}

@media (max-width: 560px) {
.header-top {
min-height: 64px;
}

.header-logo strong {
font-size: 18px;
}

.header-logo span {
font-size: 8px;
}

.header-navigation.is-open {
max-height: calc(100vh - 64px);
}

.header-search {
height: 42px;
        border-radius: 8px;
}

.header-search input {
padding-left: 13px;
        font-size: 13px;
}
}

@media (max-width: 360px) {
.header-logo strong {
font-size: 16px;
}

.header-menu-button {
width: 38px;
        height: 38px;
}
}

.header-top {
min-height: 87px;
    gap: 28px;
}

.header-logo strong {
font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.7px;
}

.header-logo span {
margin-top: 5px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.1px;
}

.header-city {
font-size: 11px;
}

.header-search {
height: 42px;
    background: #f7f8fb;
    border-color: #eef1f5;
    border-radius: 9px;
}

.header-search input {
padding-left: 18px;
    font-size: 11px;
    font-weight: 400;
}

.header-search input::placeholder {
color: #9ca4b1;
}

.header-phone strong {
font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.header-phone span {
margin-top: 3px;
    font-size: 9px;
}

.header-navigation-inner {
min-height: 59px;
}

.header-nav {
gap: 38px;
}

.header-nav a {
font-size: 11px;
    font-weight: 500;
}

.header-nav a.is-active {
font-weight: 700;
}

.header-appointment {
min-height: 41px;
    padding-inline: 25px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: none;
}

.header-city,
.header-nav a,
.header-search input {
font-size: 13px !important;
}

.header-phone strong {
font-size: 15px !important;
}

.header-phone span {
font-size: 11px !important;
}

.header-appointment {
font-size: 12px !important;
}

.header-nav a {
font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.header-nav a.is-active {
font-weight: 700 !important;
}

.header-nav {
gap: 32px !important;
}

.header-navigation-inner {
min-height: 68px !important;
}

.header-logo {
display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.header-logo img {
display: block !important;
    width: 190px !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    border: 0 !important;
    box-shadow: none !important;
}

.header-logo strong,
.header-logo span {
display: none !important;
}

.header-city-wrap {
position: relative;
    display: inline-flex;
    align-items: center;
}

.header-city {
text-decoration: none !important;
}

.city-popup[hidden] {
display: none !important;
}

.city-popup {
position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 1500;
    width: 290px;
    padding: 18px 42px 18px 18px;
    color: #15171b;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(31, 49, 79, 0.16);
    text-align: left;
}

.city-popup::before {
content: "";
    position: absolute;
    top: -7px;
    left: 30px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-top: 1px solid #e3e8f0;
    border-left: 1px solid #e3e8f0;
    transform: rotate(45deg);
}

.city-popup strong {
display: block;
    margin: 0;
    color: #15171b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.city-popup p {
margin: 8px 0 0;
    color: #343b46;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.city-popup small {
display: block;
    margin-top: 7px;
    color: #7a8492;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.city-popup-close {
position: absolute;
    top: 8px;
    right: 9px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #687384;
    background: #f3f6fa;
    border: 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.city-popup-close:hover {
color: #ffffff;
    background: var(--blue);
}

.mobile-menu-head,
.mobile-menu-close {
display: none;
}

@media (min-width: 901px) {
.mobile-menu-head,
.mobile-menu-close {
display: none !important;
}
}

@media (max-width: 900px) {
body.menu-open {
overflow: hidden !important;
}

.site-header {
position: sticky !important;
        top: 0 !important;
        z-index: 1100 !important;
        overflow: visible !important;
        background: rgba(255, 255, 255, 0.97) !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.07) !important;
        box-shadow: 0 6px 22px rgba(17, 24, 39, 0.05) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
}

.header-top {
position: relative !important;
        z-index: 1 !important;
        min-height: var(--mobile-header-height) !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 12px !important;
}

.header-logo {
order: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-self: start !important;
        margin: 0 auto 0 0 !important;
}

.header-logo img {
display: block !important;
        width: clamp(145px, 43vw, 180px) !important;
        max-width: 100% !important;
        height: auto !important;
}

.header-city-wrap,
.header-search-desktop,
.header-search-mobile-menu,
.header-phone {
display: none !important;
}

.header-menu-button {
order: 2 !important;
        width: 46px !important;
        height: 46px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: end !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        border: 1px solid rgba(17, 24, 39, 0.09) !important;
        border-radius: 14px !important;
        box-shadow: 0 7px 20px rgba(17, 24, 39, 0.08) !important;
        cursor: pointer;
}

.header-menu-button span {
width: 20px !important;
        height: 2px !important;
        display: block !important;
        background: #172033 !important;
        border-radius: 10px !important;
        transition: transform 0.28s ease,
            opacity 0.28s ease !important;
}

.header-menu-button.is-open span:nth-child(1) {
transform: translateY(7px) rotate(45deg) !important;
}

.header-menu-button.is-open span:nth-child(2) {
opacity: 0 !important;
}

.header-menu-button.is-open span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg) !important;
}

.menu-overlay {
position: fixed !important;
        inset: 0 !important;
        z-index: 10 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        background: rgba(8, 15, 28, 0.5) !important;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transition: opacity 0.28s ease,
            visibility 0.28s ease !important;
}

.menu-overlay.is-visible {
visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
}

.header-navigation {
position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        z-index: 20 !important;
        width: min(390px, calc(100% - 18px)) !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: none !important;
        display: block !important;
        overflow: hidden !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: none !important;
        color: #111827 !important;
        background: radial-gradient(
                circle at 100% 0,
                rgba(216, 228, 250, 0.8),
                transparent 34%
            ),
            linear-gradient(
                180deg,
                #ffffff 0%,
                #f7f9fd 100%
            ) !important;
        border: 0 !important;
        border-left: 1px solid rgba(17, 24, 39, 0.06) !important;
        border-radius: 28px 0 0 28px !important;
        box-shadow: -22px 0 65px rgba(15, 23, 42, 0.23) !important;
        transform: translate3d(102%, 0, 0) !important;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.header-navigation.is-open {
pointer-events: auto !important;
        transform: translate3d(0, 0, 0) !important;
}

.header-navigation-inner {
width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: calc(18px + env(safe-area-inset-top))
            22px
            calc(26px + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        opacity: 0;
        transform: translateX(18px);
        transition: opacity 0.25s ease 0.08s,
            transform 0.32s ease 0.08s !important;
}

.header-navigation.is-open .header-navigation-inner {
opacity: 1 !important;
        transform: translateX(0) !important;
}

.mobile-menu-head {
width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px !important;
        margin: 0 0 12px !important;
        padding: 0 0 18px !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
}

.mobile-menu-label {
display: block !important;
        color: #111827 !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.04em !important;
}

.mobile-menu-close {
width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        display: grid !important;
        place-items: center !important;
        padding: 0 !important;
        color: #172033 !important;
        background: #ffffff !important;
        border: 1px solid rgba(17, 24, 39, 0.09) !important;
        border-radius: 14px !important;
        box-shadow: 0 7px 20px rgba(17, 24, 39, 0.07) !important;
        font-size: 29px !important;
        font-weight: 300 !important;
        line-height: 1 !important;
        cursor: pointer;
}

.header-navigation .header-nav {
width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
}

.header-navigation .header-nav a {
position: relative !important;
        width: 100% !important;
        min-height: 58px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 30px 0 2px !important;
        color: #182133 !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.07) !important;
        font-size: 17px !important;
        font-weight: 650 !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
        white-space: normal !important;
}

.header-navigation .header-nav a::after {
content: "→";
        position: absolute;
        right: 3px;
        color: #9aa4b3;
        font-size: 17px;
        font-weight: 400;
}

.header-navigation .header-nav a.is-active,
.header-navigation .header-nav a.is-active::after {
color: var(--blue) !important;
}

.header-navigation .header-nav svg {
display: none !important;
}

.header-navigation .header-appointment {
width: 100% !important;
        min-height: 54px !important;
        margin: 24px 0 0 !important;
        padding: 0 18px !important;
        color: #ffffff !important;
        background: linear-gradient(
                135deg,
                #1763d5 0%,
                #0d4fb7 100%
            ) !important;
        border-radius: 15px !important;
        box-shadow: 0 14px 32px rgba(23, 99, 213, 0.24) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
}

.header-navigation .header-mobile-info {
width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin-top: auto !important;
        padding-top: 22px !important;
        border-top: 1px solid rgba(17, 24, 39, 0.08) !important;
}

.header-navigation .header-mobile-info a {
color: #111827 !important;
        font-size: 19px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
}

.header-navigation .header-mobile-info span {
margin-top: 5px !important;
        color: #7b8492 !important;
        font-size: 13px !important;
}
}

@media (max-width: 900px) {
.header-top {
min-height: 64px !important;
}

.header-menu-button {
width: 42px !important;
        height: 42px !important;
}
}

@media (max-width: 900px) {
.header-logo img {
width: 135px !important;
        max-width: 135px !important;
        height: auto !important;
}
}

.header-appointment {
color: #ffffff !important;
    background: linear-gradient(
            135deg,
            var(--ui-accent) 0%,
            var(--ui-accent-second) 100%
        ) !important;
    border-color: transparent !important;
    box-shadow: 0 9px 20px var(--ui-accent-shadow),
        0 3px 7px rgba(16, 54, 98, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.header-appointment:hover {
color: #ffffff !important;
    background: linear-gradient(
            135deg,
            var(--ui-accent-hover) 0%,
            var(--ui-accent-hover-second) 100%
        ) !important;
}

.header-appointment:active {
transform: translateY(1px) !important;
    box-shadow: 0 5px 12px rgba(24, 75, 130, 0.2),
        inset 0 2px 3px rgba(0, 0, 0, 0.08) !important;
}

.header-icon-button,
.header-search button,
.mobile-menu-close {
color: var(--ui-accent) !important;
}

.header-city:hover,
.header-nav a:hover,
.header-nav a.is-active,
.header-navigation .header-nav a.is-active,
.header-navigation .header-nav a.is-active::after {
color: var(--ui-accent) !important;
}

.header-icon-button svg,
.header-search svg {
stroke: currentColor !important;
}

.header-menu-button span {
background: var(--ui-accent) !important;
}

.header-search:focus-within {
border-color: var(--ui-accent-border) !important;
    box-shadow: 0 0 0 3px rgba(31, 85, 151, 0.1) !important;
}

@media (max-width: 900px) {
#mobile-navigation .header-navigation-inner {
display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: calc(12px + env(safe-area-inset-top))
            16px
            calc(14px + env(safe-area-inset-bottom)) !important;
        gap: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
}

#mobile-navigation .mobile-menu-head {
position: relative !important;
        width: 100% !important;
        min-height: 50px !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        margin: 0 0 5px !important;
        padding: 2px 48px 10px !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
}

#mobile-navigation .mobile-menu-label {
width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
        color: #172033 !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.03em !important;
        text-align: center !important;
}

#mobile-navigation .mobile-menu-label::after {
content: "Премиальная оптика в Москве" !important;
        display: block !important;
        margin-top: 4px !important;
        color: #7a8493 !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
}

#mobile-navigation .mobile-menu-label::before {
content: none !important;
        display: none !important;
}

#mobile-navigation .mobile-menu-close {
position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        display: grid !important;
        place-items: center !important;
        padding: 0 !important;
        color: #172033 !important;
        background: #f3f6fa !important;
        border: 0 !important;
        border-radius: 11px !important;
        box-shadow: none !important;
        font-size: 25px !important;
        font-weight: 300 !important;
        line-height: 1 !important;
}

#mobile-navigation .header-nav {
width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 2px 0 0 !important;
}

#mobile-navigation .header-nav a {
position: relative !important;
        width: 100% !important;
        min-height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0
            38px
            0
            32px !important;
        color: #182133 !important;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.07) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        text-align: left !important;
        text-indent: 0 !important;
        text-decoration: none !important;
        transform: none !important;
}

#mobile-navigation .header-nav svg {
display: none !important;
}

#mobile-navigation .header-nav a::after {
content: "›" !important;
        position: absolute !important;
        top: 50% !important;
        right: 12px !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
        color: #9ba4b0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: 23px !important;
        font-weight: 300 !important;
        line-height: 1 !important;
        transform: translateY(-52%) !important;
}

#mobile-navigation .header-nav a.is-active {
color: #182133 !important;
        background: transparent !important;
        border-color: rgba(17, 24, 39, 0.07) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-weight: 600 !important;
        transform: none !important;
}

#mobile-navigation .header-nav a.is-active::before {
content: none !important;
        display: none !important;
}

#mobile-navigation .header-nav a.is-active::after {
color: #9ba4b0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
}

#mobile-navigation .header-nav a:active {
background: #f3f6fa !important;
}

#mobile-navigation .header-appointment {
width: 100% !important;
        min-height: 57px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 10px 0 0 !important;
        padding: 6px 16px !important;
        color: #ffffff !important;
        background: linear-gradient(
                135deg,
                #174477 0%,
                #1f5597 55%,
                #2672b9 100%
            ) !important;
        border: 0 !important;
        border-radius: 13px !important;
        box-shadow: 0 9px 20px rgba(31, 85, 151, 0.22) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: center !important;
}

#mobile-navigation .header-appointment::after {
content: "Бесплатная диагностика зрения" !important;
        display: block !important;
        margin-top: 3px !important;
        color: rgba(255, 255, 255, 0.78) !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
}

#mobile-navigation .header-appointment::before {
content: none !important;
        display: none !important;
}

#mobile-navigation .header-mobile-info {
width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 10px 0 0 !important;
        padding: 12px 14px !important;
        background: rgba(255, 255, 255, 0.82) !important;
        border: 1px solid rgba(17, 24, 39, 0.07) !important;
        border-radius: 13px !important;
        box-shadow: 0 6px 16px rgba(17, 24, 39, 0.05) !important;
}

#mobile-navigation .header-mobile-info::before {
content: "Консультация специалиста" !important;
        display: block !important;
        margin-bottom: 4px !important;
        color: #1f5597 !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
}

#mobile-navigation .header-mobile-info::after {
content: none !important;
        display: none !important;
}

#mobile-navigation .header-mobile-info a {
margin: 0 !important;
        color: #172033 !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        text-decoration: none !important;
}

#mobile-navigation .header-mobile-info span {
margin-top: 3px !important;
        color: #7a8493 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
}
}

@media (max-width: 380px) {
#mobile-navigation .header-navigation-inner {
padding-right: 12px !important;
        padding-left: 12px !important;
}

#mobile-navigation .header-nav a {
min-height: 42px !important;
        padding-right: 34px !important;
        padding-left: 28px !important;
        font-size: 15.5px !important;
}

#mobile-navigation .header-appointment {
min-height: 54px !important;
        margin-top: 8px !important;
}

#mobile-navigation .header-mobile-info {
margin-top: 8px !important;
        padding: 10px 12px !important;
}
}

@media (max-width: 900px) {
.header-menu-button {
position: relative !important;
        z-index: 1205 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
}

.header-menu-button span {
display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: var(--ui-accent, #1f5597) !important;
        border-radius: 10px !important;
        pointer-events: none !important;
}

#mobile-navigation {
visibility: visible !important;
        opacity: 1 !important;
}

#mobile-navigation.is-open {
transform: translate3d(0, 0, 0) !important;
        pointer-events: auto !important;
}

.menu-overlay {
pointer-events: none !important;
}

.menu-overlay.is-visible {
pointer-events: auto !important;
}
}

@media (max-width: 900px) {
html body .site-header {
position: sticky !important;
        top: 0 !important;
        z-index: 2000 !important;
        overflow: visible !important;
        background: #ffffff !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
}

html body .header-menu-button {
position: relative !important;
        z-index: 2030 !important;
        display: flex !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
}

html body #mobile-navigation {
position: fixed !important;
        top: var(--mobile-menu-top, 8px) !important;
        right: 0 !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 2020 !important;
        width: min(
            370px,
            calc(100vw - 12px)
        ) !important;
        height: calc(
            100dvh -
            var(--mobile-menu-top, 8px) -
            8px
        ) !important;
        max-height: calc(
            100dvh -
            var(--mobile-menu-top, 8px) -
            8px
        ) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        background: #ffffff !important;
        border: 0 !important;
        border-radius: 22px 0 0 22px !important;
        box-shadow: -22px 12px 60px
            rgba(15, 23, 42, 0.22) !important;
        transform: translate3d(105%, 0, 0) !important;
        transition: transform 0.38s
            cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body #mobile-navigation.is-open {
visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) !important;
}

html body
    #mobile-navigation
    .header-navigation-inner {
width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 12px
            16px
            max(
                12px,
                env(safe-area-inset-bottom)
            ) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        transform: none !important;
        scrollbar-width: none !important;
}

html body
    #mobile-navigation
    .header-navigation-inner::-webkit-scrollbar {
display: none !important;
}

html body .menu-overlay {
position: fixed !important;
        inset: 0 !important;
        z-index: 2010 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        background: linear-gradient(
                to bottom,
                transparent 0,
                transparent var(--mobile-menu-top, 8px),
                rgba(8, 17, 31, 0.4)
                    var(--mobile-menu-top, 8px),
                rgba(8, 17, 31, 0.4) 100%
            ) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transition: opacity 0.25s ease,
            visibility 0.25s ease !important;
}

html body .menu-overlay.is-visible {
visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
}
}

.header-menu-icon {
width: 23px;
    height: 23px;
    display: block;
    fill: none;
    stroke: var(--ui-accent, #1f5597);
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}



/* Сдвигаем только пункты меню вправо */
@media (min-width: 1101px) {
    html body
    .site-header
    .header-navigation-inner
    > nav.header-nav {
        margin-left: 180px !important;
    }
}
/*
 * Точные стили подвала, выделенные из предоставленного исходного CSS.
 * Сохранены исходный порядок правил и поздние переопределения.
 */

:root {
    --blue: #145fd1;
    --blue-dark: #0d4fb7;
    --text: #15171b;
    --muted: #747d8b;
    --border: #e8ebf1;
    --surface: #f6f8fc;
    --white: #ffffff;
    --container-width: 1180px;

    --ui-accent: #1f5597;
    --ui-accent-second: #176caf;
    --ui-accent-hover: #194a85;
    --ui-accent-hover-second: #145f9d;
    --ui-accent-light: #edf4fc;
    --ui-accent-border: #8eb4de;
    --ui-accent-shadow: rgba(24, 75, 130, 0.24);
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-footer .container {
    width: min(calc(100% - 60px), var(--container-width));
    margin-inline: auto;
}

.site-footer a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.site-footer img,
.site-footer svg {
    display: block;
}

@media (max-width: 900px) {
    .site-footer .container {
        width: min(calc(100% - 32px), var(--container-width));
    }
}

@media (max-width: 600px) {
    .site-footer .container {
        width: min(calc(100% - 24px), var(--container-width));
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.site-footer {
color: #ffffff;
    background: radial-gradient(
            circle at 25% 0%,
            rgba(48, 87, 137, 0.16),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #0f2238 0%,
            #10263f 48%,
            #0d2137 100%
        );
}

.site-footer .container {
padding-top: 28px;
    padding-bottom: 14px;
}

.site-footer-main {
display: grid;
    grid-template-columns: 1.35fr
        repeat(3, minmax(130px, 0.85fr))
        1fr;
    align-items: start;
    gap: 46px;
}

.site-footer-brand {
min-width: 0;
}

.site-footer-logo {
display: inline-flex;
    flex-direction: column;
    color: #ffffff;
    line-height: 1;
    text-decoration: none;
}

.site-footer-logo strong {
font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.site-footer-logo span {
margin-top: 6px;
    color: #b9c6d5;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.site-footer-brand > p {
margin: 20px 0 0;
    color: #c2ccd8;
    font-size: 9px;
    line-height: 1.55;
}

.site-footer-socials {
display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
}

.site-footer-socials a {
width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #d8e1eb;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.site-footer-socials a:hover {
color: #ffffff;
    background: #1763d5;
    transform: translateY(-2px);
}

.site-footer-socials svg {
width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer-column {
min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer-column h2 {
margin: 0 0 15px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.site-footer-column > a {
display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 0;
    color: #bfcad6;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-column > a + a {
margin-top: 10px;
}

.site-footer-column > a:hover {
color: #ffffff;
}

.site-footer-contacts a {
width: 100%;
}

.site-footer-contacts svg {
width: 12px;
    height: 12px;
    flex: 0 0 auto;
    margin-top: 1px;
    fill: none;
    stroke: #c5d2df;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer-contacts span {
min-width: 0;
}

.site-footer-bottom {
min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 25px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-bottom p {
margin: 0;
    color: #8698aa;
    font-size: 8px;
    line-height: 1.45;
}

.site-footer-legal {
display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer-legal > span {
width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
}

.site-footer-legal a {
display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8fa0b1;
    font-size: 8px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-legal a:hover {
color: #ffffff;
}

.site-footer-legal svg {
width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1100px) {
.site-footer-main {
grid-template-columns: 1.2fr
            repeat(3, minmax(115px, 0.8fr))
            1fr;
        gap: 28px;
}
}

@media (max-width: 900px) {
.site-footer .container {
padding-top: 30px;
}

.site-footer-main {
grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 40px;
}

.site-footer-brand {
grid-column: 1 / -1;
}

.site-footer-brand > p {
max-width: 300px;
}

.site-footer-bottom {
align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 8px;
}
}

@media (max-width: 600px) {
.site-footer .container {
padding-top: 27px;
        padding-bottom: 16px;
}

.site-footer-main {
grid-template-columns: 1fr;
        gap: 0;
}

.site-footer-brand {
grid-column: auto;
        padding-bottom: 24px;
}

.site-footer-logo strong {
font-size: 22px;
}

.site-footer-brand > p {
font-size: 10px;
}

.site-footer-column {
padding: 18px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer-column h2 {
margin-bottom: 13px;
        font-size: 12px;
}

.site-footer-column > a {
font-size: 10px;
}

.site-footer-column > a + a {
margin-top: 11px;
}

.site-footer-bottom {
margin-top: 10px;
        padding-top: 18px;
}

.site-footer-bottom p {
font-size: 9px;
}

.site-footer-legal {
width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
}

.site-footer-legal > span {
display: none;
}

.site-footer-legal a {
font-size: 9px;
}
}

@media (max-width: 380px) {
.site-footer-logo strong {
font-size: 20px;
}

.site-footer-socials a {
width: 30px;
        height: 30px;
}
}

@media (hover: none) {
.site-footer-socials a:hover {
color: #d8e1eb;
        background: rgba(255, 255, 255, 0.08);
        transform: none;
}
}

.site-footer .container {
padding-top: 27px;
}

.site-footer-main {
gap: 44px;
}

.site-footer-logo strong {
font-size: 19px;
    font-weight: 700;
}

.site-footer-logo span {
font-size: 8px;
}

.site-footer-brand > p {
font-size: 8px;
}

.site-footer-column h2 {
font-size: 9px;
    font-weight: 600;
}

.site-footer-column > a {
font-size: 7px;
}

.site-footer-bottom p,
.site-footer-legal a {
font-size: 7px;
}

.site-footer-brand > p,
.site-footer-column > a,
.site-footer-bottom p,
.site-footer-legal a {
font-size: 10px !important;
}

.site-footer-column h2 {
font-size: 12px !important;
}

.site-footer-logo strong {
font-size: 23px !important;
    font-weight: 800 !important;
}

.site-footer-logo span {
font-size: 10px !important;
    font-weight: 600 !important;
}

.site-footer-brand > p {
font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.site-footer-column h2 {
font-size: 13px !important;
    font-weight: 700 !important;
}

.site-footer-column > a {
font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.site-footer-bottom p,
.site-footer-legal a {
font-size: 10px !important;
    font-weight: 400 !important;
}

@media (max-width: 650px) {
.site-footer-column > a {
font-size: 11px !important;
}
}

.site-footer-socials {
display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer-socials .social-link {
width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 13px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}

.site-footer-socials .social-link-vk {
background: #005fcc !important;
}

.site-footer-socials .social-link-ok {
background: #a64b00 !important;
}

.site-footer-socials .social-link-telegram {
background: #0b6f9f !important;
}

.site-footer-socials .social-link-whatsapp {
background: #0b7a3f !important;
}

.site-footer-socials .social-link svg {
width: 19px;
    height: 19px;
    fill: currentColor !important;
    stroke: none !important;
}

.site-footer-socials .social-vk-text {
color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.site-footer-socials .social-link:hover {
color: #ffffff !important;
    transform: translateY(-2px);
    filter: brightness(0.92);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

@media (hover: none) {
.site-footer-socials .social-link:hover {
color: #ffffff !important;
        transform: none;
        filter: none;
}
}

.site-footer-bottom {
flex-wrap: wrap;
}

.site-footer-legal {
display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.site-footer-legal a {
margin: 0;
    white-space: nowrap;
}

@media (max-width: 900px) {
.site-footer-legal {
justify-content: flex-start;
}
}

@media (max-width: 600px) {
.site-footer-legal {
width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
}

.site-footer-legal a {
white-space: normal;
}
}

@media (max-width: 600px) {
.site-footer .container {
padding-top: 20px !important;
        padding-bottom: 12px !important;
}

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

.site-footer-brand {
width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 0 16px !important;
}

.site-footer-brand > p {
margin: 12px 0 0 !important;
}

.site-footer-socials {
margin: 12px 0 0 !important;
}

.site-footer-column {
width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 14px 0 !important;
        border-top: 1px solid
            rgba(255, 255, 255, 0.09) !important;
}

.site-footer-column h2 {
margin: 0 0 9px !important;
}

.site-footer-column > a {
margin: 0 !important;
        padding: 0 !important;
}

.site-footer-column > a + a {
margin-top: 7px !important;
}

.site-footer-bottom {
min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 14px 0 4px !important;
        gap: 10px !important;
}

.site-footer-bottom p {
margin: 0 !important;
}

.site-footer-legal {
margin: 0 !important;
        gap: 9px !important;
}
}

@media (max-width: 600px) {
.site-footer-main,
.site-footer-bottom {
padding-left: 8px !important;
        padding-right: 0 !important;
}

.site-footer-logo strong {
font-size: 25px !important;
}

.site-footer-logo span {
font-size: 11px !important;
}

.site-footer-brand > p {
font-size: 13px !important;
        line-height: 1.5 !important;
}

.site-footer-column h2 {
font-size: 16px !important;
        line-height: 1.35 !important;
}

.site-footer-column > a {
font-size: 14px !important;
        line-height: 1.45 !important;
}

.site-footer-bottom p,
.site-footer-legal a {
font-size: 12px !important;
        line-height: 1.4 !important;
}

.site-footer-contacts svg {
width: 14px !important;
        height: 14px !important;
}
}
