.vhd-home,
body.vintel-global-search-desktop-ready {
    --vhd-search-height: 64px;
    --vhd-search-button-height: 48px;
    --vhd-search-button-width: 132px;
    --vhd-search-radius: 12px;
    --vhd-search-edge-gap: 8px;
    --vhd-search-home-top-gap: 32px;
    --vhd-search-global-top-shift: 33px;
}

.vhd-home {
    --vhd-accent: #1a56db;
    --vhd-accent-hover: #1743ad;
    --vhd-ink: #111827;
    --vhd-muted: #6b7280;
    --vhd-line: #e5e7eb;
    --vhd-canvas: #f4f6f8;
    --vhd-white: #ffffff;
    --vhd-radius: 8px;
    --vhd-focus: #f59e0b;
    width: 100%;
    color: var(--vhd-ink);
    font-family: Montserrat, Arial, sans-serif;
}

.vhd-home[hidden] {
    display: none !important;
}

.vhd-home,
.vhd-home *,
.vhd-home *::before,
.vhd-home *::after {
    box-sizing: border-box;
}

.vhd-home a {
    color: inherit;
    text-decoration: none;
}

.vhd-home img,
.vhd-home svg {
    display: block;
}

.vhd-home button,
.vhd-home input {
    font: inherit;
}

.vhd-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vhd-home__surface {
    width: min(1600px, 100%);
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 0;
    background: var(--vhd-white);
    box-shadow: none;
}

.vhd-search {
    display: grid;
    gap: 16px;
    padding: var(--vhd-search-home-top-gap) 0 0;
}

.vhd-search__host {
    min-height: var(--vhd-search-height);
}

.vhd-search__host > .search-wrapper,
.vhd-search__host #title-search_fixed {
    width: 100%;
}

.vhd-search__host .search-wrapper {
    display: block;
}

.vhd-search__host form.vhd-search__form {
    display: flex;
    height: var(--vhd-search-height);
    align-items: stretch;
    gap: var(--vhd-search-edge-gap);
    padding: var(--vhd-search-edge-gap) var(--vhd-search-edge-gap) var(--vhd-search-edge-gap) 40px;
    margin: 0;
    border: 0;
    border-radius: var(--vhd-search-radius);
    background: #f6f7f9;
}

.vhd-search__host .search-input-div {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    padding: 0;
    margin: 0;
}

.vhd-search__host input.search-input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 16px 0 48px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.6'/%3E%3Cpath d='m12.4 12.4 3.6 3.6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 16px center !important;
    box-shadow: none !important;
    color: var(--vhd-ink);
    font-size: 15px;
    line-height: 1.4;
}

.vhd-search__host input.search-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.vhd-search__host input.search-input:focus,
.vhd-search__host input.search-input:focus-visible {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.vhd-search__host .search-button-div {
    position: static;
    display: flex;
    flex: none;
    align-items: stretch;
}

.vhd-search__host .dropdown-select.searchtype,
.vhd-search__host .close-block {
    display: none !important;
}

.vhd-search__host button.btn-search {
    position: static;
    display: inline-flex;
    flex: none;
    width: var(--vhd-search-button-width);
    min-width: var(--vhd-search-button-width);
    height: var(--vhd-search-button-height);
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    border: 0 !important;
    border-radius: 4px;
    background: var(--vhd-accent) !important;
    box-shadow: none !important;
    color: var(--vhd-white) !important;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: background 150ms ease;
}

.vhd-search__host button.btn-search::after {
    content: "Найти";
}

.vhd-search__host button.btn-search .svg {
    display: none !important;
}

.vhd-search__host button.btn-search:hover {
    background: var(--vhd-accent-hover) !important;
    color: var(--vhd-white) !important;
}

.vhd-search__host form.vhd-search__form[data-empty="true"] {
    background: #fff4f2;
}

.vhd-presets {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 80px 0 40px;
}

.vhd-presets__label {
    margin-right: 8px;
    color: var(--vhd-muted);
    font-size: 13px;
    font-weight: 600;
}

.vhd-presets button,
.vhd-presets a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--vhd-canvas);
    color: var(--vhd-ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    transition: background 150ms ease, color 150ms ease;
}

.vhd-presets button {
    appearance: none;
    border: 0;
    box-shadow: none;
    cursor: pointer;
}

.vhd-presets button:hover,
.vhd-presets a:hover {
    background: var(--vhd-line);
    color: var(--vhd-ink);
}

.vhd-presets .vhd-presets__constructor {
    margin-left: auto;
    padding-right: 0;
    background: transparent;
    color: var(--vhd-accent);
}

.vhd-presets .vhd-presets__constructor:hover {
    background: transparent;
    color: var(--vhd-accent-hover);
}

.vhd-hero {
    position: relative;
    display: grid;
    height: 460px;
    grid-template-rows: minmax(0, 1fr) auto;
    margin-top: 40px;
    overflow: hidden;
    isolation: isolate;
    background: var(--vhd-ink);
    color: var(--vhd-white);
}

.vhd-hero__image,
.vhd-hero__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vhd-hero__image {
    object-fit: cover;
    object-position: center 42%;
}

.vhd-hero__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgb(17 24 39 / 96%) 0%, rgb(17 24 39 / 88%) 42%, rgb(17 24 39 / 38%) 78%, rgb(17 24 39 / 18%) 100%);
}

.vhd-hero__content {
    display: flex;
    max-width: 960px;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 40px 24px;
}

.vhd-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgb(255 255 255 / 72%);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vhd-hero__badge {
    display: inline-flex;
    height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 4px;
    background: var(--vhd-focus);
    color: var(--vhd-ink);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.vhd-home .vhd-hero h1,
.vhd-home .vhd-hero h1.h1 {
    max-width: 920px;
    padding: 0;
    margin: 0;
    color: var(--vhd-white);
    font-size: clamp(38px, 3vw, 50px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-align: left;
    text-wrap: balance;
}

.vhd-hero__content > p {
    max-width: 780px;
    margin: 12px 0 0;
    color: rgb(255 255 255 / 84%);
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.45;
    text-wrap: pretty;
}

.vhd-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.vhd-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: var(--vhd-radius);
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    text-transform: none;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.vhd-button--primary {
    padding: 0 32px;
    border: 0;
    background: var(--vhd-accent);
    box-shadow: none;
    color: var(--vhd-white);
}

.vhd-button--primary:hover {
    background: var(--vhd-accent-hover);
    color: var(--vhd-white);
}

.vhd-button--phone {
    gap: 12px;
    padding: 0 24px;
    border: 1px solid rgb(255 255 255 / 32%);
    color: var(--vhd-white);
}

.vhd-button--phone:hover {
    background: rgb(255 255 255 / 10%);
    color: var(--vhd-white);
}

.vhd-button--phone strong {
    color: var(--vhd-white);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.vhd-button--phone span {
    color: rgb(255 255 255 / 70%);
    font-size: 12px;
    font-weight: 500;
}

.vhd-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    margin: 0;
    border-top: 1px solid rgb(255 255 255 / 14%);
    background: rgb(17 24 39 / 78%);
    backdrop-filter: blur(6px);
}

.vhd-metrics > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    padding: 13px 40px;
}

.vhd-metrics > div + div {
    border-left: 1px solid rgb(255 255 255 / 14%);
}

.vhd-metrics dt {
    color: var(--vhd-white);
    font-size: clamp(16px, 1.2vw, 19px);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    white-space: nowrap;
}

.vhd-metrics dd {
    margin: 0;
    color: rgb(255 255 255 / 66%);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.3;
}

.vhd-catalog {
    display: grid;
    gap: 24px;
    padding: 40px 40px 0;
}

.vhd-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}

.vhd-home .vhd-heading h2 {
    padding: 0;
    margin: 0;
    color: var(--vhd-ink);
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.vhd-heading a {
    color: var(--vhd-accent);
    font-size: 15px;
    font-weight: 600;
}

.vhd-heading a:hover {
    color: var(--vhd-accent-hover);
}

.vhd-card-grid {
    display: grid;
    gap: 16px;
}

.vhd-card-grid--top {
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
}

.vhd-card-grid--bottom {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
}

.vhd-card {
    position: relative;
    display: block;
    height: 300px;
    overflow: hidden;
    border-radius: var(--vhd-radius);
    background: var(--vhd-ink);
    color: var(--vhd-white);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.vhd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgb(17 24 39 / 20%);
    color: var(--vhd-white);
}

.vhd-card > img,
.vhd-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vhd-card > img {
    object-fit: cover;
    transition: transform 400ms ease;
}

.vhd-card:hover > img {
    transform: scale(1.035);
}

.vhd-card__shade {
    background: linear-gradient(180deg, rgb(17 24 39 / 2%) 30%, rgb(17 24 39 / 92%) 100%);
}

.vhd-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 4px;
    background: var(--vhd-accent);
    color: var(--vhd-white);
    font-size: 12px;
    font-weight: 700;
}

.vhd-card__arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgb(255 255 255 / 16%);
    color: var(--vhd-white);
    font-size: 15px;
    transition: background 150ms ease, transform 150ms ease;
}

.vhd-card:hover .vhd-card__arrow {
    transform: translateX(2px);
    background: rgb(255 255 255 / 26%);
}

.vhd-card__copy {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vhd-card__eyebrow {
    color: rgb(255 255 255 / 72%);
    font-size: 12px;
    font-weight: 550;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vhd-card__copy strong {
    color: var(--vhd-white);
    font-size: clamp(16px, 1.15vw, 19px);
    font-weight: 650;
    line-height: 1.3;
    text-wrap: pretty;
}

.vhd-quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 40px 40px 0;
}

.vhd-quick-links > a {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border: 1px solid var(--vhd-line);
    border-radius: var(--vhd-radius);
    background: var(--vhd-white);
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.vhd-quick-links > a:hover {
    transform: translateY(-2px);
    border-color: var(--vhd-accent);
    box-shadow: 0 8px 20px rgb(17 24 39 / 8%);
}

.vhd-quick-links img {
    width: 72px;
    height: 60px;
    flex: none;
    object-fit: contain;
}

.vhd-quick-links span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.vhd-quick-links strong {
    color: var(--vhd-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.vhd-quick-links small {
    color: var(--vhd-muted);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.35;
}

.vhd-home :where(a, button):focus-visible {
    outline: 3px solid var(--vhd-focus);
    outline-offset: 3px;
}

@media (min-width: 992px) {
    body.vintel-search-results-desktop-ready [data-vintel-search-results-form] {
        display: none !important;
    }

    body.vintel-global-search-desktop-ready .header_wrap {
        z-index: 998;
    }

    body.vintel-global-search-desktop-ready .underbottom.header__search {
        width: min(1600px, calc(100% + 60px));
        max-width: none;
        min-height: calc(var(--vhd-search-height) + var(--vhd-search-global-top-shift));
        padding-top: var(--vhd-search-global-top-shift);
        margin-right: 0;
        margin-left: max(-30px, calc((100% - 1600px) / 2));
        box-sizing: border-box;
    }

    body.vintel-global-search-desktop-ready .underbottom.header__search > .header__top-inner,
    body.vintel-global-search-desktop-ready .underbottom.header__search > .header__top-inner > .header__top-item {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    body.vintel-home-desktop-ready.vintel-home-search-ready .vhd-search {
        position: relative;
        z-index: 998;
    }

    body.vintel-global-search-desktop-ready .header__search .search_wraps.content-block,
    body.vintel-global-search-desktop-ready .header__search .search-block.inner-table-block,
    body.vintel-global-search-desktop-ready .header__search .search-block.inner-table-block > .maxwidth-theme,
    body.vintel-global-search-desktop-ready .header__search .search-wrapper,
    body.vintel-global-search-desktop-ready .header__search #title-search_fixed {
        width: 100%;
        max-width: none;
        height: auto;
        padding: 0;
        margin: 0;
    }

    body.vintel-global-search-desktop-ready .header__search .search-wrapper {
        display: block;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed form.search {
        display: flex;
        height: var(--vhd-search-height);
        align-items: stretch;
        gap: var(--vhd-search-edge-gap);
        padding: var(--vhd-search-edge-gap) var(--vhd-search-edge-gap) var(--vhd-search-edge-gap) 40px;
        border: 0;
        border-radius: var(--vhd-search-radius);
        background: #f6f7f9;
        box-shadow: none;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed .search-input-div {
        display: flex;
        min-width: 0;
        flex: 1;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search-input_fixed {
        width: 100%;
        min-width: 0;
        height: 46px;
        padding: 0 16px 0 48px !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background-color: transparent !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.6'/%3E%3Cpath d='m12.4 12.4 3.6 3.6'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: 16px center !important;
        box-shadow: none !important;
        color: #111827;
        font-family: Montserrat, Arial, sans-serif;
        font-size: 15px;
        line-height: 1.4;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search-input_fixed::placeholder {
        color: #9ca3af;
        opacity: 1;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search-input_fixed:focus,
    body.vintel-global-search-desktop-ready .header__search #title-search-input_fixed:focus-visible {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed .search-button-div {
        position: static;
        display: flex;
        flex: none;
        align-items: stretch;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed .dropdown-select.searchtype,
    body.vintel-global-search-desktop-ready .header__search #title-search_fixed .close-block {
        display: none !important;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed button.btn-search {
        position: static;
        display: inline-flex;
        flex: none;
        width: var(--vhd-search-button-width);
        min-width: var(--vhd-search-button-width);
        height: var(--vhd-search-button-height);
        align-items: center;
        justify-content: center;
        padding: 0 32px;
        border: 0 !important;
        border-radius: 4px;
        background: #1a56db !important;
        box-shadow: none !important;
        color: #ffffff !important;
        cursor: pointer;
        font-family: Montserrat, Arial, sans-serif;
        font-size: 15px;
        font-weight: 600;
        line-height: 1;
        transition: background 150ms ease;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed button.btn-search::after {
        content: "Найти";
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed button.btn-search .svg {
        display: none !important;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed button.btn-search:hover {
        background: #1743ad !important;
        color: #ffffff !important;
    }

    body.vintel-global-search-desktop-ready .header__search #title-search_fixed button.btn-search:focus-visible {
        outline: 3px solid #f59e0b;
        outline-offset: 3px;
    }

    body.vintel-global-search-desktop-ready .title-search-result.title-search-input_fixed,
    body.vintel-home-desktop-ready.vintel-home-search-ready .title-search-result.title-search-input_fixed {
        z-index: 1000 !important;
        margin-top: 2px !important;
        overflow: hidden;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    }

    body.vintel-global-search-desktop-ready .basket_wrapp .basket_fly .opener {
        top: 340px !important;
    }
}

@media (min-width: 992px) {
    body.vintel-home-desktop-ready:not(.vintel-home-search-ready) .vhd-home {
        display: none !important;
    }

    body.vintel-home-desktop-ready.vintel-home-search-ready .basket_wrapp .basket_fly .opener {
        top: 340px !important;
    }

    body.vintel-home-desktop-ready.vintel-home-search-ready .header_wrap .underbottom.header__search,
    body.vintel-home-desktop-ready.vintel-home-search-ready .MIDDLE_ADV,
    body.vintel-home-desktop-ready.vintel-home-search-ready .TIZERS {
        display: none !important;
    }
}

@media (max-width: 1399px) {
    .vhd-catalog,
    .vhd-quick-links {
        padding-right: 32px;
        padding-left: 32px;
    }

    .vhd-search__host form.vhd-search__form {
        padding-left: 32px;
    }

    .vhd-presets {
        padding-left: 32px;
    }

    .vhd-hero__content {
        padding-right: 32px;
        padding-left: 32px;
    }

    .vhd-metrics > div {
        padding-right: 24px;
        padding-left: 24px;
    }

    .vhd-quick-links > a {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.vintel-global-search-desktop-ready .basket_wrapp .basket_fly .opener {
        top: 340px !important;
    }

    .vhd-catalog,
    .vhd-quick-links {
        padding-right: 24px;
        padding-left: 24px;
    }

    .vhd-search__host form.vhd-search__form {
        padding-left: 24px;
    }

    .vhd-presets {
        padding-left: 24px;
    }

    .vhd-presets .vhd-presets__constructor {
        width: 100%;
        margin-left: 0;
    }

    .vhd-hero__content {
        max-width: 780px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .vhd-home .vhd-hero h1,
    .vhd-home .vhd-hero h1.h1 {
        font-size: 38px;
    }

    .vhd-hero__content > p {
        max-width: 720px;
        font-size: 15px;
    }

    .vhd-metrics > div {
        padding-right: 14px;
        padding-left: 14px;
    }

    .vhd-metrics dt {
        font-size: 16px;
    }

    .vhd-metrics dd {
        font-size: 11px;
    }

    .vhd-card-grid--top,
    .vhd-card-grid--bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vhd-card {
        height: 260px;
    }

    .vhd-quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .vhd-home {
        display: none !important;
    }
}

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