.hv-page {
        --hv-red: #9e2026;
        --hv-red-dark: #7d181d;
        --hv-black: #050505;
        --hv-black-2: #0d0d0d;
        --hv-border: rgba(255,255,255,.14);
        --hv-muted: rgba(255,255,255,.62);
        --hv-text: #101820;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        background: #f3f4f7;
        padding: 50px 0 90px;
        font-family: inherit;
    }

    .hv-demo-title {
        max-width: 1680px;
        margin: 0 auto 18px;
        padding: 0 24px;
        display: flex;
        align-items: center;
        gap: 14px;
        color: var(--hv-text);
        font-family: Cygre, Arial, sans-serif;
        font-size: 24px;
        line-height: 1.2;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .hv-num {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--hv-red);
        color: #fff;
        font-size: 15px;
        line-height: 1;
        font-weight: 800;
        flex: 0 0 auto;
    }

    .hv-header {
        position: relative;
        width: 100%;
        background: var(--hv-black);
        color: #fff;
        box-shadow: 0 22px 55px rgba(0,0,0,.12);
        z-index: 20;
    }

    .hv-header.is-open {
        z-index: 200;
    }

    .hv-inner {
        max-width: 1680px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .hv-row {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .hv-main {
        height: 84px;
        border-bottom: 1px solid var(--hv-border);
    }

    .hv-main .hv-row {
        height: 100%;
        gap: 22px;
    }

    .hv-logo {
        width: 235px;
        flex: 0 0 auto;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        text-decoration: none;
        color: #fff;
    }

    .hv-logo img {
        width: 216px;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .hv-logo span {
        color: var(--hv-muted);
        font-size: 11px;
        line-height: 1.1;
        text-transform: uppercase;
        letter-spacing: .02em;
    }

    .hv-catalog-toggle {
        height: 48px;
        width: 178px;
        padding: 0 18px;
        border: 1px solid rgba(255,255,255,.16);
        background: var(--hv-red);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 13px;
        line-height: 1;
        font-weight: 900;
        text-transform: uppercase;
        text-decoration: none;
        cursor: pointer;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .hv-catalog-toggle:hover,
    .hv-catalog-toggle:focus {
        background: var(--hv-red-dark);
        color: #fff;
        text-decoration: none;
    }

    .hv-burger {
        width: 16px;
        height: 12px;
        position: relative;
        display: inline-block;
        flex: 0 0 auto;
    }

    .hv-burger:before,
    .hv-burger:after,
    .hv-burger span {
        content: '';
        position: absolute;
        left: 0;
        width: 16px;
        height: 2px;
        background: currentColor;
    }

    .hv-burger:before { top: 0; }
    .hv-burger span { top: 5px; }
    .hv-burger:after { bottom: 0; }

    .hv-search {
        height: 44px;
        min-width: 220px;
        border: 1px solid rgba(255,255,255,.18);
        background: #111;
        display: flex;
        align-items: center;
        min-width: 0;
        flex: 1 1 auto;
    }

    .hv-search input {
        width: 100%;
        min-width: 0;
        height: 100%;
        padding: 0 15px;
        background: transparent;
        border: 0;
        outline: 0;
        color: #fff;
        font-size: 13px;
    }

    .hv-search input::placeholder {
        color: rgba(255,255,255,.56);
    }

    .hv-search button {
        width: 48px;
        height: 100%;
        border: 0;
        background: transparent;
        color: rgba(255,255,255,.72);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .hv-rating {
        width: 170px;
        height: 56px;
        flex: 0 0 170px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hv-rating iframe {
        display: block;
        width: 170px;
        height: 56px;
        border: 0;
        overflow: hidden;
    }

    .hv-phone {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        line-height: 1.1;
        font-weight: 900;
        white-space: nowrap;
    }

    .hv-phone:hover {
        color: #fff;
        text-decoration: none;
    }

    .hv-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 0 0 auto;
    }

    .hv-icon {
        position: relative;
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.72);
        text-decoration: none;
        font-size: 20px;
        flex: 0 0 auto;
    }

    .hv-icon:hover {
        color: #fff;
        text-decoration: none;
    }

    .hv-count {
        position: absolute;
        right: -7px;
        top: -7px;
        min-width: 15px;
        height: 15px;
        padding: 0 4px;
        background: var(--hv-red);
        color: #fff;
        font-size: 10px;
        line-height: 15px;
        font-weight: 800;
        text-align: center;
    }

    .hv-quick {
        height: 52px;
    }

    .hv-quick .hv-row {
        height: 100%;
        justify-content: space-between;
        gap: 24px;
    }

    .hv-tags {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        overflow: hidden;
    }

    .hv-tags a {
        height: 30px;
        padding: 0 15px;
        border: 1px solid rgba(255,255,255,.18);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        line-height: 1;
        font-weight: 900;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .hv-tags a:hover {
        border-color: var(--hv-red);
        color: #fff;
        background: var(--hv-red);
        text-decoration: none;
    }

    .hv-cta {
        height: 38px;
        padding: 0 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--hv-red);
        color: #fff;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .hv-cta:hover {
        background: var(--hv-red-dark);
        color: #fff;
        text-decoration: none;
    }

    .hv-catalog-panel {
        /* На ПК панель позиционируется относительно окна по реальным
           координатам кнопки. Поэтому она начинается строго от нижней
           границы кнопки «Каталог» и перекрывает нижнюю строку меню. */
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: auto;
        background: transparent;
        color: #111;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
        z-index: 999;
        pointer-events: none;
    }

    .hv-header.is-open .hv-catalog-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* На ПК кликабельным остаётся только само меню. Прозрачная область панели
       больше не удерживает каталог открытым, когда курсор уже ушёл в сторону. */
    @media (min-width: 992px) {
        .hv-header.is-open .hv-catalog-panel {
            pointer-events: none;
        }

        .hv-header.is-open .hv-desktop-menu {
            pointer-events: auto;
        }
    }

    .hv-panel-inner {
        max-width: none;
        margin: 0;
        padding: 0 0 24px;
    }

    .hv-desktop-menu {
        width: auto;
        margin-left: 0;
        display: inline-grid;
        grid-template-columns: 300px;
        align-items: stretch;
        background: #fff;
        color: #111;
        box-shadow: 0 26px 55px rgba(0,0,0,.18);
    }

    .hv-desktop-menu.is-level-2 {
        grid-template-columns: 300px 330px;
    }

    .hv-desktop-menu.is-level-3 {
        grid-template-columns: 300px 330px 330px;
    }

    .hv-col {
        min-height: 430px;
        background: #fff;
        border-right: 1px solid #e8e8e8;
    }

    .hv-col:last-child {
        border-right: 0;
    }

    .hv-col-sections,
    .hv-col-subsections {
        display: none;
    }

    .hv-desktop-menu.is-level-2 .hv-col-sections,
    .hv-desktop-menu.is-level-3 .hv-col-sections,
    .hv-desktop-menu.is-level-3 .hv-col-subsections {
        display: block;
    }

    .hv-col-head {
        height: 54px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #eeeeee;
        color: #111;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 800;
    }

    .hv-cat,
    .hv-section,
    .hv-sub-link,
    .hv-all-link {
        width: 100%;
        min-height: 48px;
        padding: 9px 15px 9px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        border: 0;
        border-bottom: 1px solid #f0f0f0;
        background: #fff;
        color: #1e2630;
        text-align: left;
        text-decoration: none;
        font-size: 15px;
        line-height: 1.2;
        cursor: pointer;
    }

    .hv-cat:hover,
    .hv-cat.is-active,
    .hv-section:hover,
    .hv-section.is-active {
        background: #f4f4f4;
        color: var(--hv-red);
        text-decoration: none;
    }

    .hv-cat-icon {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        color: var(--hv-red);
        background: #f3f3f3;
        font-size: 13px;
        font-weight: 900;
    }

    .hv-arrow {
        margin-left: auto;
        color: #8e949b;
        font-size: 24px;
        line-height: 1;
    }

    .hv-section-list,
    .hv-sub-list {
        display: none;
    }

    .hv-section-list.is-active,
    .hv-sub-list.is-active {
        display: block;
    }

    .hv-sub-link {
        min-height: 44px;
        padding-left: 24px;
        color: #303944;
        font-size: 14px;
    }

    .hv-all-link {
        min-height: 44px;
        color: var(--hv-red);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .hv-sub-link:hover,
    .hv-all-link:hover {
        background: #f7f7f7;
        color: var(--hv-red);
        text-decoration: none;
    }

    .hv-mobile-menu {
        display: none;
    }

    @media (max-width: 1399px) {
        .hv-inner,
        .hv-demo-title,
        .hv-panel-inner {
            max-width: 1220px;
        }

        .hv-logo,
        .hv-logo img {
            width: 190px;
        }

        .hv-logo span {
            font-size: 10px;
        }

        .hv-rating {
            width: 150px;
            flex-basis: 150px;
        }

        .hv-rating iframe {
            width: 170px;
            height: 56px;
            transform: scale(.88);
            transform-origin: left center;
        }

        .hv-phone {
            font-size: 16px;
        }
    }

    @media (max-width: 1199px) {
        .hv-phone,
        .hv-rating {
            display: none;
        }
    }

    @media (max-width: 991px) {
        .hv-page {
            padding-top: 32px;
        }

        .hv-demo-title {
            font-size: 18px;
            gap: 10px;
            line-height: 1.25;
            padding-left: 16px;
            padding-right: 16px;
        }

        .hv-num {
            width: 30px;
            height: 30px;
            flex: 0 0 30px;
        }

        .hv-inner {
            max-width: 100%;
            padding-left: 16px;
            padding-right: 16px;
        }

        .hv-main,
        .hv-quick {
            height: auto;
        }

        .hv-main .hv-row,
        .hv-quick .hv-row {
            height: auto;
            flex-wrap: wrap;
            gap: 12px;
            padding-top: 14px;
            padding-bottom: 14px;
        }

        .hv-logo {
            width: calc(100% - 132px);
            max-width: 220px;
        }

        .hv-logo img {
            width: 178px;
        }

        .hv-catalog-toggle {
            width: auto;
            height: 42px;
            padding: 0 15px;
            margin-left: auto;
        }

        .hv-search {
            order: 3;
            width: 100%;
            flex: 1 0 100%;
        }

        .hv-actions {
            order: 4;
            width: 100%;
            justify-content: flex-start;
        }

        .hv-tags {
            width: 100%;
            overflow-x: auto;
            padding-bottom: 3px;
        }

        .hv-cta {
            width: 100%;
            height: 42px;
        }

        .hv-catalog-panel {
            position: fixed;
            inset: 0;
            display: none;
            opacity: 1;
            visibility: visible;
            transform: none;
            background: rgba(0,0,0,.45);
            z-index: 9999;
            pointer-events: auto;
        }

        .hv-header.is-open .hv-catalog-panel {
            display: block;
        }

        .hv-panel-inner {
            max-width: none;
            height: 100%;
            padding: 0;
        }

        .hv-desktop-menu {
            display: none;
        }

        .hv-mobile-menu {
            position: relative;
            display: block;
            width: min(400px, calc(100vw - 28px));
            height: 100%;
            background: #fff;
            color: #111;
            overflow: hidden;
            box-shadow: 18px 0 50px rgba(0,0,0,.28);
        }

        .hv-mobile-panel {
            position: absolute;
            inset: 0;
            background: #fff;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform .24s ease;
            z-index: 1;
        }

        .hv-mobile-panel.is-active {
            transform: translateX(0);
            z-index: 5;
        }

        .hv-mobile-panel.is-prev {
            transform: translateX(-28%);
            z-index: 2;
        }

        .hv-mobile-head {
            position: sticky;
            top: 0;
            z-index: 3;
            min-height: 56px;
            display: grid;
            grid-template-columns: 52px 1fr 52px;
            align-items: center;
            background: #fff;
            border-bottom: 1px solid #e7e7e7;
        }

        .hv-mobile-panel[data-mobile-panel="cats"] .hv-mobile-head {
            grid-template-columns: 1fr 52px;
        }

        .hv-mobile-panel[data-mobile-panel="cats"] .hv-mobile-back {
            display: none;
        }

        .hv-mobile-back,
        .hv-mobile-close {
            width: 52px;
            height: 56px;
            border: 0;
            border-right: 1px solid #eeeeee;
            background: #fff;
            color: #6a7179;
            font-size: 26px;
            line-height: 1;
            cursor: pointer;
            transition: background .18s ease, color .18s ease;
        }

        .hv-mobile-close {
            border-right: 0;
            border-left: 1px solid #eeeeee;
            color: var(--hv-red);
            font-size: 22px;
            font-weight: 800;
        }

        .hv-mobile-back:hover,
        .hv-mobile-close:hover {
            background: #f7f7f7;
            color: var(--hv-red);
        }

        .hv-mobile-title {
            position: relative;
            min-width: 0;
            padding: 0 16px 0 26px;
            color: #111;
            font-size: 13px;
            line-height: 1.2;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: .035em;
        }

        .hv-mobile-title:before {
            content: '';
            position: absolute;
            left: 16px;
            top: 50%;
            width: 3px;
            height: 18px;
            margin-top: -9px;
            background: var(--hv-red);
        }

        .hv-mobile-search {
            height: 58px;
            border-bottom: 1px solid #e5e5e5;
            background: #fff;
        }

        .hv-mobile-search form {
            height: 100%;
            display: flex;
            align-items: center;
        }

        .hv-mobile-search input {
            width: 100%;
            height: 100%;
            padding: 0 16px;
            border: 0;
            outline: 0;
            color: #111;
            font-size: 15px;
        }

        .hv-mobile-search button {
            width: 58px;
            height: 58px;
            border: 0;
            background: var(--hv-red);
            color: #fff;
            cursor: pointer;
        }

        .hv-mobile-row {
            min-height: 52px;
            width: 100%;
            padding: 9px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            border: 0;
            border-bottom: 1px solid #eeeeee;
            background: #fff;
            color: #111;
            text-align: left;
            text-decoration: none;
            font-size: 15px;
            line-height: 1.25;
            cursor: pointer;
        }

        .hv-mobile-row:hover,
        .hv-mobile-row:focus {
            background: #f7f7f7;
            color: var(--hv-red);
            text-decoration: none;
        }

        .hv-mobile-row .hv-mobile-arrow {
            margin-left: auto;
            color: #8a9199;
            font-size: 24px;
            line-height: 1;
        }

        .hv-mobile-row-icon {
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 32px;
            background: #f2f2f2;
            color: var(--hv-red);
            font-weight: 900;
        }

        .hv-mobile-all {
            color: var(--hv-red);
            font-weight: 800;
        }

        .hv-mobile-phone {
            padding: 24px 16px 34px;
        }

        .hv-mobile-phone a {
            display: block;
            color: #111;
            font-size: 20px;
            line-height: 1.1;
            font-weight: 900;
            text-decoration: none;
        }

        .hv-mobile-phone span {
            display: block;
            margin-top: 5px;
            color: #6c747d;
            font-size: 12px;
        }
    }

    @media (max-width: 575px) {
        .hv-logo {
            width: 100%;
            max-width: none;
        }

        .hv-catalog-toggle {
            width: 100%;
            margin-left: 0;
        }
    }

    /* v20: нормальная мобильная шапка для выбранного варианта */
    @media (max-width: 991px) {
        .hv-page {
            padding: 24px 0 64px;
        }

        .hv-demo-title {
            max-width: 420px;
            margin: 0 auto 12px;
            padding: 0 16px;
            font-size: 17px;
            line-height: 1.18;
        }

        .hv-header {
            box-shadow: none;
        }

        .hv-main {
            height: 68px;
            border-bottom: 0;
        }

        .hv-main .hv-row {
            height: 68px;
            min-height: 68px;
            flex-wrap: nowrap;
            align-items: center;
            gap: 10px;
            padding-top: 0;
            padding-bottom: 0;
        }

        .hv-inner {
            padding-left: 16px;
            padding-right: 16px;
        }

        .hv-logo {
            width: 148px;
            max-width: 148px;
            flex: 0 0 148px;
            gap: 0;
        }

        .hv-logo img {
            width: 148px;
        }

        .hv-logo span {
            display: none;
        }

        .hv-catalog-toggle {
            width: 30px;
            height: 42px;
            min-width: 30px;
            margin-left: auto;
            padding: 0;
            border: 0;
            background: transparent;
            color: #8f98a3;
            flex: 0 0 30px;
        }

        .hv-catalog-toggle:hover,
        .hv-catalog-toggle:focus {
            background: transparent;
            color: #fff;
        }

        .hv-catalog-toggle > span:not(.hv-burger) {
            display: none;
        }

        .hv-burger {
            width: 22px;
            height: 16px;
        }

        .hv-burger:before,
        .hv-burger:after,
        .hv-burger span {
            width: 22px;
            height: 2px;
        }

        .hv-burger span {
            top: 7px;
        }

        .hv-search,
        .hv-rating,
        .hv-phone,
        .hv-quick {
            display: none;
        }

        .hv-actions {
            order: 0;
            width: auto;
            margin-left: 0;
            gap: 10px;
            justify-content: flex-end;
            flex: 0 0 auto;
        }

        .hv-icon {
            width: 22px;
            height: 42px;
            font-size: 20px;
            color: #8f98a3;
        }

        .hv-icon:hover,
        .hv-icon:focus {
            color: #fff;
        }

        .hv-count {
            top: 7px;
            right: -7px;
        }

        .hv-catalog-panel {
            top: 0;
            background: rgba(0,0,0,.72);
        }

        .hv-panel-inner {
            height: 100%;
            padding: 0;
        }

        .hv-mobile-menu {
            width: min(386px, calc(100vw - 36px));
            height: 100%;
            margin: 0;
            background: #fff;
            box-shadow: 18px 0 48px rgba(0,0,0,.34);
        }

        .hv-mobile-head {
            min-height: 58px;
            grid-template-columns: 52px 1fr 52px;
            background: #fff;
        }

        .hv-mobile-panel[data-mobile-panel="cats"] .hv-mobile-head {
            grid-template-columns: 1fr 52px;
        }

        .hv-mobile-title {
            padding-left: 26px;
            font-size: 13px;
            letter-spacing: .04em;
            text-align: left;
        }

        .hv-mobile-back,
        .hv-mobile-close {
            height: 58px;
            background: #fff;
        }

        .hv-mobile-close {
            color: var(--hv-red);
            font-size: 24px;
        }

        .hv-mobile-search {
            height: 56px;
        }

        .hv-mobile-search button {
            width: 56px;
            height: 56px;
        }

        .hv-mobile-row {
            min-height: 52px;
            padding: 9px 16px;
            font-size: 15px;
        }

        .hv-mobile-phone {
            padding-bottom: 28px;
        }
    }

    @media (max-width: 575px) {
        .hv-header {
            width: 100%;
        }

        .hv-logo {
            width: 145px;
            max-width: 145px;
            flex-basis: 145px;
        }

        .hv-logo img {
            width: 145px;
        }

        .hv-catalog-toggle {
            width: 28px;
            min-width: 28px;
            flex-basis: 28px;
            margin-left: auto;
        }

        .hv-actions {
            gap: 9px;
        }

        .hv-icon {
            width: 21px;
            font-size: 19px;
        }
    }

    @media (max-width: 374px) {
        .hv-inner {
            padding-left: 12px;
            padding-right: 12px;
        }

        .hv-logo {
            width: 128px;
            max-width: 128px;
            flex-basis: 128px;
        }

        .hv-logo img {
            width: 128px;
        }

        .hv-actions {
            gap: 7px;
        }

        .hv-icon {
            width: 20px;
            font-size: 18px;
        }
    }


    /* v21: меню сайта, живой поиск и выпадающие контакты */
    .hv-search-wrap {
        position: relative;
        min-width: 250px;
        flex: 1 1 auto;
        z-index: 130;
    }

    .hv-search-wrap .hv-search {
        width: 100%;
        min-width: 0;
        flex: none;
    }

    .hv-search-results {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        min-width: 430px;
        max-height: 454px;
        overflow-y: auto;
        background: #fff;
        color: #111;
        box-shadow: 0 24px 55px rgba(0, 0, 0, .24);
        opacity: 0;
        visibility: hidden;
        transform: translateY(7px);
        pointer-events: none;
        transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
        z-index: 150;
    }

    .hv-search-results.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hv-search-result {
        min-height: 82px;
        padding: 10px 14px;
        display: grid;
        grid-template-columns: 62px minmax(0, 1fr) auto;
        align-items: center;
        gap: 13px;
        border-bottom: 1px solid #eceff2;
        color: #111;
        text-decoration: none;
        transition: background .15s ease;
    }

    .hv-search-result:hover,
    .hv-search-result:focus,
    .hv-search-result.is-keyboard-active {
        background: #f6f7f8;
        color: #111;
        text-decoration: none;
        outline: none;
    }

    .hv-search-result-image {
        width: 62px;
        height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #f0f1f3;
    }

    .hv-search-result-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hv-search-result-placeholder {
        color: #9aa1a9;
        font-size: 22px;
    }

    .hv-search-result-body {
        min-width: 0;
    }

    .hv-search-result-name {
        display: -webkit-box;
        overflow: hidden;
        color: #161b22;
        font-size: 14px;
        line-height: 1.28;
        font-weight: 800;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .hv-search-result-meta {
        display: block;
        margin-top: 5px;
        color: #777f88;
        font-size: 12px;
        line-height: 1.2;
    }

    .hv-search-result-price {
        padding-left: 10px;
        color: var(--hv-red);
        font-size: 14px;
        font-weight: 900;
        white-space: nowrap;
    }

    .hv-search-message {
        min-height: 86px;
        padding: 22px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #69727c;
        font-size: 14px;
        line-height: 1.45;
        text-align: center;
    }

    .hv-search-footer {
        min-height: 48px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: #f4f5f6;
        color: #505963;
        font-size: 12px;
    }

    .hv-search-footer a {
        color: var(--hv-red);
        font-weight: 900;
        text-decoration: none;
        text-transform: uppercase;
    }

    .hv-search-footer a:hover {
        color: var(--hv-red-dark);
        text-decoration: none;
    }

    .hv-phone-wrap {
        position: relative;
        flex: 0 0 auto;
        z-index: 140;
    }

    .hv-phone {
        min-height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        font: inherit;
        font-size: 18px;
        line-height: 1.1;
        font-weight: 900;
        white-space: nowrap;
        cursor: pointer;
    }

    .hv-phone-chevron {
        width: 7px;
        height: 7px;
        border-right: 2px solid rgba(255,255,255,.62);
        border-bottom: 2px solid rgba(255,255,255,.62);
        transform: rotate(45deg) translateY(-2px);
        transition: transform .16s ease;
    }

    .hv-phone-wrap.is-open .hv-phone-chevron {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .hv-phone-dropdown {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 310px;
        padding: 8px 0 0;
        background: #fff;
        color: #111;
        box-shadow: 0 24px 55px rgba(0,0,0,.25);
        opacity: 0;
        visibility: hidden;
        transform: translateY(7px);
        pointer-events: none;
        transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    }

    /* Невидимый мостик закрывает зазор между телефоном и выпадающим блоком. */
    .hv-phone-dropdown:before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -14px;
        height: 14px;
        background: transparent;
    }

    .hv-phone-wrap:hover .hv-phone-dropdown,
    .hv-phone-wrap:focus-within .hv-phone-dropdown,
    .hv-phone-wrap.is-open .hv-phone-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hv-contact-item {
        padding: 10px 18px;
        display: block;
        color: #111;
        text-decoration: none;
    }

    .hv-contact-item:hover {
        background: #f5f6f7;
        color: #111;
        text-decoration: none;
    }

    .hv-contact-item strong,
    .hv-contact-item span {
        display: block;
    }

    .hv-contact-item strong {
        font-size: 16px;
        line-height: 1.2;
        font-weight: 900;
    }

    .hv-contact-item span {
        margin-top: 3px;
        color: #727a83;
        font-size: 12px;
        line-height: 1.25;
    }

    .hv-contact-item-static:hover {
        background: transparent;
    }

    .hv-contact-all {
        min-height: 44px;
        margin-top: 6px;
        padding: 0 18px;
        display: flex;
        align-items: center;
        background: #f1f2f3;
        color: var(--hv-red);
        font-size: 12px;
        font-weight: 900;
        text-decoration: none;
        text-transform: uppercase;
    }

    .hv-contact-all:hover {
        color: var(--hv-red-dark);
        text-decoration: none;
    }

    .hv-tags {
        gap: 26px;
    }

    .hv-tags a {
        position: relative;
        height: 32px;
        padding: 0;
        border: 0;
        background: transparent;
        color: rgba(255,255,255,.82);
        font-size: 12px;
        letter-spacing: .02em;
    }

    .hv-tags a:after {
        content: '';
        position: absolute;
        left: 0;
        right: 100%;
        bottom: 2px;
        height: 2px;
        background: var(--hv-red);
        transition: right .16s ease;
    }

    .hv-tags a:hover {
        border-color: transparent;
        background: transparent;
        color: #fff;
    }

    .hv-tags a:hover:after,
    .hv-tags a:focus:after {
        right: 0;
    }

    .hv-quick-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 0 0 auto;
    }

    .hv-quick-actions .hv-cta {
        min-width: 190px;
    }

    @media (max-width: 1399px) {
        .hv-tags {
            gap: 18px;
        }

        .hv-quick-actions .hv-cta {
            min-width: 168px;
            padding-left: 16px;
            padding-right: 16px;
        }
    }

    @media (max-width: 1199px) {
        .hv-phone-wrap,
        .hv-rating {
            display: none;
        }

        .hv-tags {
            gap: 14px;
        }

        .hv-tags a {
            font-size: 11px;
        }

        .hv-quick-actions {
            gap: 8px;
        }

        .hv-quick-actions .hv-cta {
            min-width: 152px;
            padding-left: 12px;
            padding-right: 12px;
            font-size: 11px;
        }
    }

    @media (max-width: 991px) {
        .hv-search-wrap,
        .hv-phone-wrap {
            display: none;
        }
    }

/* Production integration overrides */
.hv-header {
    --hv-red: #9e2026;
    --hv-red-dark: #7d181d;
    --hv-black: #050505;
    --hv-black-2: #0d0d0d;
    --hv-border: rgba(255,255,255,.14);
    --hv-muted: rgba(255,255,255,.62);
    --hv-text: #101820;
    font-family: Cygre, Arial, sans-serif;
}

.hv-catalog-wrap {
    position: relative;
    flex: 0 0 auto;
}

@media (min-width: 992px) {
    .hv-catalog-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        width: auto;
        bottom: auto;
        z-index: 999;
    }

    .hv-panel-inner {
        padding: 0 0 24px;
    }

    .hv-header.is-open .hv-catalog-panel {
        pointer-events: none;
    }

    .hv-header.is-open .hv-desktop-menu {
        pointer-events: auto;
    }
}

@media (max-width: 991px) {
    .hv-catalog-wrap {
        position: static;
        margin-left: auto;
    }

    .hv-catalog-panel {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

.hv-tags a.is-active:after {
    right: 0;
}

.hv-tags a.is-active,
.hv-mobile-row.is-active {
    color: #fff;
}

.hv-icon-search-mobile {
    display: none;
}

@media (max-width: 991px) {
    .hv-icon-search-mobile {
        display: inline-flex;
    }
}

html.hv-menu-lock,
html.hv-menu-lock body {
    overflow: hidden;
}

/* Раздельный клик в мобильном каталоге:
   название ведёт в раздел, отдельная стрелка открывает следующий уровень. */
@media (max-width: 991px) {
    .hv-mobile-split {
        width: 100%;
        min-height: 52px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 54px;
        align-items: stretch;
        border-bottom: 1px solid #eeeeee;
        background: #fff;
    }

    .hv-mobile-split-link {
        min-width: 0;
        min-height: 52px;
        padding: 9px 12px 9px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        color: #111;
        text-decoration: none;
        font-size: 15px;
        line-height: 1.25;
    }

    .hv-mobile-split-link > span:last-child {
        min-width: 0;
    }

    .hv-mobile-split-link:hover,
    .hv-mobile-split-link:focus {
        background: #f7f7f7;
        color: var(--hv-red);
        text-decoration: none;
    }

    .hv-mobile-split-arrow {
        width: 54px;
        min-height: 52px;
        padding: 0;
        border: 0;
        border-left: 1px solid #eeeeee;
        background: #fff;
        color: #8a9199;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
    }

    .hv-mobile-split-arrow:hover,
    .hv-mobile-split-arrow:focus {
        background: #f3f3f3;
        color: var(--hv-red);
    }
}

/* Каталог в хедере: каждый столбец заканчивается по своему содержимому. */
@media (min-width: 992px) {
    .hv-desktop-menu {
        align-items: start;
        background: transparent;
        box-shadow: none;
        filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .18));
    }

    .hv-desktop-menu .hv-col {
        min-height: 0;
        height: auto;
        align-self: start;
    }
}


/* Structural helpers: presentation is kept out of header-new.php. */
.hv-rating-frame {
    display: block;
    width: 170px;
    height: 56px;
    overflow: hidden;
    border: 0;
}

.hv-count[data-bx-favorites-count]:empty {
    display: none;
}
