.main-header .byons-search-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    min-height: 40px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 17px;
    cursor: pointer;
}
.main-header .byons-search-toggle[hidden] { display: none; }
.byons-search:not([open]) { display: none; }
.byons-search {
    position: fixed;
    inset: min(12vh, 90px) 0 auto;
    width: min(640px, calc(100% - 24px));
    max-height: 78vh;
    max-height: 78dvh;
    box-sizing: border-box;
    padding: clamp(16px, 4vw, 28px);
    margin: 0 auto;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #292927;
    box-shadow: 0 12px 48px #0004;
    text-align: left;
}
.byons-search::backdrop { background: rgb(0 0 0 / 60%); }
.byons-search-heading, .byons-search-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.byons-search-heading h2 { margin: 0; font-size: clamp(21px, 5vw, 25px); color: inherit; }
.byons-search .byons-search-close {
    flex: 0 0 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 28px;
    cursor: pointer;
}
.byons-search-form { margin-top: 12px; }
.byons-search-form input, .byons-search-form button {
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 6px;
    margin: 0;
    padding: 8px 12px;
    font-size: 16px;
}
.byons-search-form input { flex: 1 1 0%; min-width: 0; border: 1px solid #76746e; }
.byons-search-form button { background: #292927; color: #fff; border: 1px solid #292927; cursor: pointer; }
.byons-search-status { margin: 12px 0 0; }
.byons-search-status:empty, .byons-search-results:empty { display: none; }
.byons-search .byons-search-results { list-style: none; padding: 0; margin: 8px 0 0; }
.byons-search-results li { border-bottom: 1px solid #e7e4de; }
.byons-search-results a { display: block; padding: 11px 7px; color: #292927; font-weight: 600; }
.byons-search-results a:hover, .byons-search-results a:focus-visible { background: #f4f1ea; }
.byons-search-results span { display: block; margin-top: 3px; color: #54524e; font-size: 14px; font-weight: 400; }
