.header-search {
    position: relative;
    flex: 0 0 auto;
}
.header-search__toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 44px;
    cursor: pointer;
    border-radius: 4px;
    list-style: none;
}
.header-search__toggle::-webkit-details-marker {
    display: none;
}
.header-search__toggle:is(:hover, :focus-visible),
.header-search[open] > .header-search__toggle {
    background: var(--surmoms-nav-hover-bg, #eef7f3);
}
.header-search__toggle:focus-visible,
.surmoms-search input:focus-visible {
    outline: 2px solid var(--bs-secondary, #163d36);
    outline-offset: 2px;
}
.header-search__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 4;
    width: 24rem;
    max-width: calc(100vw - 24px);
    padding: 12px;
    border: 1px solid #dce9e4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 61, 54, .12);
}
.surmoms-search {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 40rem;
}
.surmoms-search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    min-height: 44px;
    font-size: 16px;
}
.surmoms-search button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 16px;
}
@media (max-width: 991.98px) {
    .header-search {
        position: static;
    }
    .header-search__panel {
        top: 100%;
        right: 12px;
        left: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header > .container {
        gap: .45rem;
    }
    .site-header > .container > .logo {
        width: 104px;
    }
    .site-header > .container > .btn {
        gap: 5px;
        padding-inline: 10px;
        font-size: 13px;
        white-space: nowrap;
    }
    .header-search__toggle {
        width: 30px;
    }
}
@media (min-width: 1200px) {
    .header-search__toggle {
        width: 24px;
    }
}
