#header .horizon-header-search-trigger {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    vertical-align: middle;
    border-radius: 8px;
    color: #fff;
}

#header .horizon-header-search-trigger:hover {
    color: #ff874f;
}

#header .horizon-header-search-trigger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

#header .horizon-header-mobile-controls {
    position: relative;
}

#header .horizon-header-search-mobile {
    position: absolute;
    right: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%);
}

.horizon-header-search {
    position: fixed;
    inset: 0;
    width: min(35rem, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: clamp(20px, 5vw, 36px);
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #212121;
    box-shadow: 0 16px 60px #0005;
}

.horizon-header-search:not([open]) { display: none; }
.horizon-header-search::backdrop { background: #111b; }
.horizon-header-search h2 { margin: 0 46px 18px 0; font-size: clamp(1.4rem, 5vw, 2rem); }
.horizon-header-search-dismiss { position: absolute; top: 10px; right: 10px; }
.horizon-header-search-dismiss button {
    width: 44px; height: 44px; border: 0; border-radius: 8px; background: #f2f2f2;
    color: #212121; font-size: 25px; cursor: pointer;
}

.horizon-header-search-form { display: flex; flex-wrap: wrap; gap: 8px; }
.horizon-header-search-form input {
    flex: 1 1 15rem; width: auto; min-width: 0; min-height: 44px;
    padding: 8px 12px; border: 1px solid #777; border-radius: 8px; background: #fff; color: #212121;
}

.horizon-header-search-form button {
    min-height: 44px; padding: 8px 16px; border: 0; border-radius: 8px;
    background: #ff5d1c; color: #171717; font-weight: 700; cursor: pointer;
}
.horizon-header-search :focus-visible { outline: 2px solid #a83c00; outline-offset: 2px; }
