.kp-store #header #main_navigation_wrap .kp-catalog-slot {
    position: relative;
    width: auto;
    min-width: 0;
}

.kp-store #header #main_navigation_wrap .kp-catalog-toggle {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-width: clamp(112px, 11.8vw, 195px);
    height: 40px;
    padding: 0 16px;
    border: 1px solid #103650;
    border-radius: 999px;
    background: #103650;
    color: #fff;
    font: 700 15px/1 Quicksand, sans-serif;
    white-space: nowrap;
}

.kp-store #header #main_navigation_wrap .kp-catalog-toggle:is(:hover, [aria-expanded="true"]) {
    background: #076e9a;
    border-color: #076e9a;
    color: #fff;
}

.kp-catalog-toggle-lines {
    position: relative;
    width: 13px;
    height: 10px;
    border-block: 1px solid currentColor;
    flex: none;
}

.kp-catalog-toggle-lines::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 9px;
    border-top: 1px solid currentColor;
    transform: translateY(-50%);
}

.kp-catalog-chevron {
    display: block;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    flex: none;
}

.kp-catalog-toggle[aria-expanded="true"] .kp-catalog-chevron { transform: rotate(225deg) translate(-1px, -1px); }

.kp-store #header .kp-catalog-menu {
    --kp-catalog-text: #16394f;
    --kp-catalog-muted: #4b6679;
    position: absolute;
    z-index: 145;
    inset-block-start: calc(100% + 9px);
    inset-inline-start: 0;
    display: flex;
    flex-direction: column;
    width: min(760px, var(--kp-menu-width, calc(100vw - 28px)));
    max-height: var(--kp-menu-height, calc(100vh - 180px));
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #d4e4ee;
    border-radius: 24px;
    background: #fff;
    color: var(--kp-catalog-text);
    box-shadow: 0 16px 40px #10365026, 0 3px 12px #1036500d;
    text-align: start;
    font-family: Quicksand, sans-serif;
}

.kp-catalog-slot[data-kp-menu-position="above"] .kp-catalog-menu {
    inset-block: auto calc(100% + 9px) !important;
}

.kp-store #header .kp-catalog-menu [hidden],
.kp-store #header .kp-catalog-menu[hidden] { display: none !important; }

.kp-catalog-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 14px 12px 17px;
    border-bottom: 1px solid #e4eef3;
}

.kp-catalog-menu-top > strong { color: #103650; font-size: 18px; line-height: 1.15; }

.kp-catalog-search {
    display: flex;
    align-items: center;
    gap: 9px;
    width: min(350px, 100%);
    min-width: 0;
    margin-inline-start: auto;
    padding-inline: 12px;
    border: 1px solid #d4e5ef;
    border-radius: 999px;
    background: #f3f8fb;
}

.kp-catalog-search-icon {
    display: block;
    position: relative;
    flex: none;
    width: 11px;
    height: 11px;
    border: 1.5px solid #3b6b86;
    border-radius: 50%;
}

.kp-catalog-search-icon::after {
    content: "";
    position: absolute;
    inset: auto -4px -2px auto;
    width: 5px;
    border-top: 1.5px solid #3b6b86;
    transform: rotate(45deg);
}

.kp-store #header .kp-catalog-search input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #103650;
    font: 600 14px/1 Quicksand, sans-serif;
}

.kp-store #header .kp-catalog-search input::placeholder { color: #5a7082; font-style: normal; }

.kp-store #header .kp-catalog-menu :is(a, button, input):focus-visible {
    outline: 2px solid #0875a4;
    outline-offset: 2px;
}

.kp-store #header .kp-catalog-menu button {
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.kp-store #header .kp-catalog-menu .kp-catalog-close {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-color: #dce9f1;
    border-radius: 50%;
    background: #f6f9fb;
    color: #163e5a;
    font-size: 24px;
    line-height: 1;
}

.kp-store #header .kp-catalog-menu .kp-catalog-close:hover { background: #e7f2f8; }

.kp-catalog-layout {
    display: grid;
    grid-template-columns: minmax(200px, 34%) minmax(0, 1fr);
    min-height: 0;
}

.kp-store #header .kp-catalog-menu ul { margin: 0; padding: 0; list-style: none; }
.kp-store #header .kp-catalog-menu ul > li { margin: 0; padding: 0; }

.kp-store #header .kp-catalog-menu .kp-catalog-parents {
    padding: 8px;
    overflow: auto;
    border-inline-end: 1px solid #e4eef3;
    scrollbar-width: thin; scrollbar-color: #b6cedc transparent;
}

.kp-catalog-parent { display: flex; align-items: stretch; border-radius: 14px; }
.kp-catalog-parent:is(:hover, .kp-catalog-selected, :focus-within) { background: #e8f3fa; }
.kp-catalog-parent.kp-catalog-selected .kp-catalog-parent-link { color: #075e84; }

.kp-store #header .kp-catalog-parent-link {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    gap: 9px;
    padding: 3px 9px;
    border-radius: 12px;
    color: var(--kp-catalog-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.17;
}

.kp-store #header .kp-catalog-parent-link .kp-category-symbol {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 10px;
    background: var(--kp-chip, #e9f3f8);
}

.kp-store #header .kp-catalog-parent-link .kp-category-symbol::before { width: 16px; height: 16px; }

.kp-store #header .kp-catalog-generic .kp-category-symbol::before {
    width: 8px;
    height: 8px;
    border: 1.5px solid #3980a0;
    border-radius: 2px;
    background: transparent;
    mask: none;
}

.kp-store #header .kp-catalog-parent-link .kp-catalog-glyph::before { content: none; }
.kp-store #header .kp-catalog-glyph > i { font-size: 13px; color: #246d91; }

.kp-catalog-direct {
    margin-inline-start: auto;
    padding-inline-end: 4px;
    font-size: 13px;
    color: #486e86;
}

.kp-store #header .kp-catalog-menu .kp-catalog-expand {
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    min-height: 36px;
    padding: 0;
    border-radius: 12px;
    color: #145476;
}

.kp-store #header .kp-catalog-menu .kp-catalog-expand:is(:hover, :focus-visible) { background: #d8ebf6; }
.kp-catalog-expand .kp-catalog-chevron { transform: rotate(-45deg); }

.kp-catalog-branches {
    padding: 17px;
    min-width: 0;
    overflow: auto;
    background: #f8fbfd;
    scrollbar-width: thin; scrollbar-color: #b6cedc transparent;
}

.kp-catalog-branch-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 80px;
    margin: 0 0 13px;
    padding: 15px;
    border: 1px solid #d9e9f2;
    border-radius: 18px;
    background: linear-gradient(112deg, #e5f2fa, #f1f8fc 68%, #fff3e6);
}

.kp-store #header .kp-catalog-branch-head h2 {
    margin: 0;
    color: #123650;
    overflow-wrap: anywhere;
    font-size: clamp(19px, 1.5vw, 26px);
    font-weight: 700;
    line-height: 1.08;
}

.kp-store #header .kp-catalog-parent-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 35px;
    padding: 5px 11px;
    border: 1px solid #c6dfed;
    border-radius: 999px;
    background: #fff;
    color: #0b5275;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.kp-catalog-children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.kp-store #header .kp-catalog-children a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    gap: 8px;
    height: 100%;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid #dceaf2;
    border-radius: 13px;
    background: #fff;
    color: #193f57;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.kp-store #header .kp-catalog-children a:hover,
.kp-store #header .kp-catalog-parent-cta:hover {
    background: #eaf4fb;
    border-color: #a9d0e4;
    color: #084f72;
}

.kp-catalog-children small {
    display: block;
    margin-top: 3px;
    color: var(--kp-catalog-muted);
    font-size: 12px;
    font-weight: 600;
}

.kp-catalog-results { min-height: 0; padding: 14px 17px 17px; overflow: auto; scrollbar-width: thin; scrollbar-color: #b6cedc transparent; }
.kp-catalog-result-status { margin: 0 0 10px; color: var(--kp-catalog-muted); font-size: 13px; font-weight: 650; }
.kp-catalog-footer { padding: 8px 14px; border-top: 1px solid #e4eef3; }

.kp-store #header .kp-catalog-footer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #edf6fb;
    color: #0b5579;
    font-size: 14px;
    font-weight: 750;
}

.kp-store #header .kp-catalog-menu .kp-catalog-back { display: none; }

@media (max-width: 991px) {
    .kp-store #header #main_navigation_wrap .kp-catalog-slot { grid-column: 1; grid-row: 1; justify-self: start; }
    .kp-store #header #main_navigation_wrap .kp-catalog-toggle { min-width: 132px; height: 34px; font-size: 13px; }
}

@media (max-width: 799px) {
    .kp-store #header .kp-catalog-menu { width: min(420px, var(--kp-menu-width, calc(100vw - 24px))); border-radius: 20px; }
    .kp-catalog-menu-top { padding: 8px; gap: 7px; }
    .kp-catalog-menu-top > strong { display: none; }
    .kp-catalog-search { width: 100%; }
    .kp-store #header .kp-catalog-search input { height: 38px; font-size: 16px; }
    .kp-store #header .kp-catalog-menu .kp-catalog-close { width: 40px; height: 40px; }
    .kp-catalog-layout { display: block; overflow: auto; }
    .kp-store #header .kp-catalog-menu .kp-catalog-parents { overflow: visible; border: 0; }
    .kp-catalog-branches { overflow: visible; }
    .kp-catalog-layout[data-kp-view="branch"] .kp-catalog-parents,
    .kp-catalog-layout:not([data-kp-view="branch"]) .kp-catalog-branches { display: none; }
    .kp-store #header .kp-catalog-parent-link { min-height: 42px; }
    .kp-store #header .kp-catalog-menu .kp-catalog-expand { min-height: 42px; flex-basis: 44px; }
    .kp-catalog-branches, .kp-catalog-results { padding: 10px; }
    .kp-catalog-branch-head { min-height: 0; padding: 12px; }
    .kp-catalog-children { grid-template-columns: 1fr; }
    .kp-store #header .kp-catalog-menu .kp-catalog-back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 40px;
        margin-bottom: 7px;
        padding: 0 10px;
        border-radius: 12px;
        color: #0b5579;
        font-weight: 700;
    }
    .kp-store #header .kp-catalog-menu .kp-catalog-back:hover { background: #e4f1f9; }
    .kp-catalog-footer { padding: 6px 8px; }
}

