
/* Lit-na desktop header. The original mobile header stays on WoodMart's styles. */
@media (min-width: 1025px) {
    .whb-header_litna_desktop {
        --litna-header-blue: #275298;
        --litna-header-font: Raleway, Arial, sans-serif;
        --litna-header-width: 1328px;
    }

    .whb-header_litna_desktop :is(.whb-general-header, .whb-header-bottom) > .container {
        width: 100%;
        max-width: calc(var(--litna-header-width) + 40px);
        padding-inline: 20px;
    }

    .whb-header_litna_desktop .whb-general-header-inner {
        column-gap: clamp(18px, 2.7vw, 52px);
    }

    .whb-header_litna_desktop:not(.whb-sticked) .whb-general-header-inner {
        padding-block-start: 10px;
    }

    .whb-header_litna_desktop .whb-general-header-inner > .whb-col-center {
        min-width: 0;
    }

    .whb-litna-desktop-search {
        width: 100%;
        padding-inline: 0;
    }

    .whb-litna-desktop-search .searchform {
        --wd-form-brd-color: var(--litna-header-blue);
        --wd-form-brd-color-focus: var(--litna-header-blue);
        --wd-search-btn-w: 56px;
        --wd-search-cat-width: 154px;
    }

    .whb-litna-desktop-search .searchform.wd-with-cat input.s {
        width: 100%;
        padding-inline: 22px 222px;
        border: 1.5px solid var(--litna-header-blue);
        border-radius: 24px !important; /* Overrides the existing global search radius. */
        font: 400 12px var(--litna-header-font);
    }

    .whb-litna-desktop-search .searchform.wd-with-cat .searchsubmit {
        inset-block: 0;
        inset-inline-end: 0;
        width: 56px;
        border-radius: 0 24px 24px 0;
        margin-inline-end: 0;
        background-color: var(--litna-header-blue) !important; /* Overrides the existing global search button color. */
        color: #fff;
    }

    .whb-litna-desktop-search .searchform.wd-with-cat .searchsubmit:hover {
        background-color: #1d3e75 !important;
        color: #fff;
    }

    .whb-litna-desktop-search .wd-search-cat {
        inset-inline-end: 56px;
        width: 154px;
    }

    .whb-litna-desktop-search .wd-dropdown-search-cat.wd-design-default {
        width: 224px;
    }

    .whb-litna-desktop-search .searchform.wd-cat-style-default .wd-search-cat-btn {
        justify-content: flex-end;
        gap: 10px;
        padding-inline: 12px 18px;
        color: #313131;
        font: 500 12px var(--litna-header-font);
        text-transform: none;
    }

    .whb-litna-desktop-search .wd-search-cat-btn > span {
        width: auto;
    }

    .whb-header_litna_desktop .whb-column10 {
        gap: 20px;
        margin-inline-end: 0;
    }

    .whb-litna-desktop-account,
    .whb-litna-desktop-cart {
        --wd-tools-icon-base-width: 20px;
        --wd-header-el-color: #303030;
        --wd-header-el-color-hover: var(--litna-header-blue);
    }

    .whb-litna-desktop-account > a,
    .whb-litna-desktop-cart > a {
        gap: 8px;
        padding-inline: 0;
        font: 500 14px var(--litna-header-font);
    }

    .whb-litna-desktop-account .wd-tools-text {
        font: inherit;
        text-transform: none;
    }

    .whb-litna-desktop-cart > a::after {
        content: attr(title) / "";
    }

    .whb-litna-desktop-cart.wd-design-2 .wd-tools-icon {
        margin-inline-end: 0;
    }

    .whb-litna-desktop-cart .wd-tools-icon .wd-cart-number {
        --wd-count-size: 23px;
        inset-block-start: -25px;
        inset-inline-end: -10px;
        background: #cf302a;
        font-size: 11px;
    }

    .whb-header_litna_desktop.whb-sticked .whb-litna-desktop-cart .wd-cart-number {
        --wd-count-size: 16px;
        inset-block-start: -8px;
        font-size: 10px;
    }

    .whb-header_litna_desktop .whb-header-bottom .whb-column12 {
        max-width: 100%;
        margin-inline: 0;
    }

    .whb-litna-desktop-catalog {
        padding-inline: 0;
    }

    .whb-litna-desktop-catalog > .wd-nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .whb-litna-desktop-catalog > .wd-nav > li > a {
        height: var(--wd-header-bottom-h);
        font: 500 clamp(12px, 1.17vw, 16px) var(--litna-header-font);
        text-transform: uppercase;
        white-space: nowrap;
    }

    .whb-litna-desktop-catalog > .wd-nav > li > a::after {
        color: currentColor;
        font-size: 11px;
    }

    .whb-litna-desktop-catalog > .wd-nav > li:focus-within > .wd-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .whb-header_litna_desktop :is(.whb-litna-desktop-search, .whb-litna-desktop-account, .whb-litna-desktop-cart, .whb-litna-desktop-catalog) :focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 3px;
    }
}

.whb-litna-desktop-search .wd-search-cat-btn {
    align-items: center;
}

.whb-litna-desktop-search .wd-search-cat-btn::after {
    align-self: center;
    margin-inline-start: 0;
    line-height: 1;
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/montserrat-medium-cyrillic.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/montserrat-medium-latin.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0000-00FF, U+2000-206F;
}

@media (min-width: 1025px) {
    .whb-litna-desktop-catalog > .wd-nav > .menu-simple-dropdown:has(> a[href$="/sluzhebnaya-literatura/"]) {
        --litna-service-menu-offset: 26px;
    }

    .whb-litna-desktop-catalog > .wd-nav > .menu-simple-dropdown:has(> a[href$="/sluzhebnaya-literatura/"]) > .wd-dropdown-menu {
        inset-inline-start: calc(-1 * var(--litna-service-menu-offset));
        inset-block-start: calc(100% - 9px);
        width: 284px;
        margin: 0;
        padding: 1px 0 6px;
        border-radius: 0 0 8px 8px;
        background: var(--litna-header-blue);
        box-shadow: none;
    }

    .whb-litna-desktop-catalog .wd-dropdown-menu:has(a[href$="/sluzhebnye-prospekty-2/"]) .wd-sub-menu > li > a {
        padding: 10px var(--litna-service-menu-offset);
        color: #fff;
        font: 500 15px/17px "Montserrat", Arial, sans-serif;
        text-transform: none;
    }

    .whb-litna-desktop-catalog .wd-dropdown-menu:has(a[href$="/sluzhebnye-prospekty-2/"]) .wd-sub-menu > li > a:is(:hover, :focus-visible) {
        background: rgb(255 255 255 / 12%);
        outline-offset: -3px;
    }
}
