#scroll-top { display: none !important; }
/* One shared surface for the existing search field and its actions. */
:is(.store-header-middle, .onpc-scroll-search) .header-search .header-search-wrapper {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 54px;
    padding: 4px 6px 4px 16px;
    column-gap: 4px;
    border: 1px solid #e2ebed;
    border-radius: 999px !important;
    background: #f5fafa;
    box-shadow: inset 0 0 0 3px #fafdfd;
    box-sizing: border-box;
}
:is(.store-header-middle, .onpc-scroll-search) .header-search .header-search-wrapper:focus-within {
    border-color: #0f5bd7;
    box-shadow: 0 0 0 2px #0f5bd71a;
    transform: none;
}
:is(.store-header-middle, .onpc-scroll-search) .header-search .header-search-wrapper::before,
:is(.store-header-middle, .onpc-scroll-search) .header-search .header-search-wrapper::after { content: none !important; }
:is(.store-header-middle, .onpc-scroll-search) .header-search .form-control,
:is(.store-header-middle, .onpc-scroll-search) .header-search .form-control:focus {
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #23455a;
    font-weight: 600 !important;
    font-size: 14px !important;
}
:is(.store-header-middle, .onpc-scroll-search) .header-search .form-control::placeholder {
    color: #70838d;
    opacity: 1;
    font-weight: 600;
}
:is(.store-header-middle, .onpc-scroll-search) .store-search-actions { height: 44px; gap: 2px; }
:is(.store-header-middle, .onpc-scroll-search) .header-search .btn {
    min-width: 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none !important;
    color: #23455a !important;
    border-color: transparent !important;
}
:is(.store-header-middle, .onpc-scroll-search) .header-search .btn:is(:hover, :focus-visible) {
    background: #e6eff7 !important;
    color: #0f5bd7 !important;
    box-shadow: none;
}
:is(.store-header-middle, .onpc-scroll-search) .header-search .btn:focus-visible {
    outline: 2px solid #0f5bd7;
    outline-offset: -2px;
}
:is(.store-header-middle, .onpc-scroll-search) .header-search .store-voice-search-btn.is-listening {
    background: #dc2626 !important;
    color: #fff !important;
}
:is(.store-header-middle, .onpc-scroll-search) .header-search .store-voice-search-btn[hidden] { display: none !important; }
:is(.store-header-middle, .onpc-scroll-search) .store-voice-search-icon { width: 19px; height: 19px; }
:is(.store-header-middle, .onpc-scroll-search) .header-search .store-search-autocomplete { top: calc(100% + 6px); }
.onpc-mobile-content-spacer { height: 0; pointer-events: none; }
@media(max-width:991px) {
    html { scroll-padding-top: var(--onpc-mobile-search-height, 82px); }
    .intro-slider-container,.intro-section { scroll-margin-top: var(--onpc-mobile-search-height, 82px); }
    .onpc-mobile-search-placeholder { order: 3; flex: 0 0 100%; width: 100%; }
    .header-middle.store-header-middle .header-center.is-mobile-search-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 1040; width: 100%; padding: 10px 16px; box-sizing: border-box; background: #fff; box-shadow: 0 5px 18px #14203318; }
    .header-middle.store-header-middle > .container { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px 8px; }
    .header-middle.store-header-middle .header-left { order: 1; flex: 1 1 auto; min-width: 0; }
    .header-middle.store-header-middle .header-right { order: 2; flex: 0 0 auto; margin-left: auto; }
    .header-middle.store-header-middle .header-center { order: 3; flex: 0 0 100%; width: 100%; max-width: 100%; margin: 0; padding: 0; display: block !important; }
    .header-middle.store-header-middle .header-search { display: block !important; width: 100%; max-width: none; margin: 0; padding: 0; }
    .header-middle.store-header-middle .search-toggle { display: none !important; }
    .header-middle.store-header-middle .header-search-wrapper { display: grid !important; position: relative; left: auto; right: auto; top: auto; width: 100%; max-width: none; margin: 0; opacity: 1; visibility: visible; transform: none; }
    .header-middle.store-header-middle .header-search-wrapper .form-control { min-width: 0; width: 100%; font-size: 16px !important; }
    .header-middle.store-header-middle .store-search-autocomplete { left: 0; right: 0; width: 100%; max-height: 55vh; overflow-y: auto; }
}
