/* Officekit Search Appearance. Every change is scoped to an enhanced search wrapper. */
.ok-search-ui { --ok-search-teal: #28565e; position: relative; }
.ok-search-ui form.searchform { --wd-form-height: 50px; position: relative; border-radius: 11px; }
.ok-search-ui form.searchform input[name="s"] {
    height: 50px; padding-inline: 16px 92px; border: 1px solid #b8cfca;
    border-radius: 11px; color: #17383e; background: #fff; font-size: 15px;
    box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.ok-search-ui form.searchform input[name="s"]:focus { border-color: #28565e; box-shadow: 0 0 0 3px rgba(40,86,94,.12); }
.ok-search-ui form.searchform .searchsubmit { width: 50px; min-width: 50px; height: 50px; padding: 0; border: 0; border-radius: 0 10px 10px 0; background: #28565e; color: #fff; }
.ok-search-ui form.searchform .searchsubmit:hover { background: #1c454d; color: #fff; }
.ok-search-ui form.searchform .searchsubmit:after { color: #fff; }
.ok-search-ui form.searchform .wd-clear-search { inset-inline-end: 56px; }
.ok-search-ui .wd-search-results-wrapper { z-index: 460; }
.ok-search-ui .wd-search-results {
    width: 100%; min-width: 0; max-width: calc(100vw - 30px); margin-top: 8px;
    padding: 8px; border: 1px solid #dce7e3; border-radius: 14px;
    background: #fff; color: #17383e; box-shadow: 0 12px 32px rgba(23,56,62,.15);
    max-height: min(65vh,560px); --wd-search-sp: 12px;
}
.ok-search-ui .wd-search-results .wd-scroll-content { max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.ok-search-ui .wd-suggestions-group { display: block; }
.ok-search-ui .wd-suggestion:not(.wd-not-found) { display: grid; grid-template-columns: 62px minmax(0,1fr); align-items: center; gap: 12px; padding: 12px; border-radius: 9px; min-height: 90px; }
.ok-search-ui .wd-suggestion:not(.wd-not-found):hover,
.ok-search-ui .wd-suggestion.wd-autocomplete-suggestion-selected,
.ok-search-ui .wd-suggestion.wd-active,
.ok-search-ui .wd-suggestion.autocomplete-selected { background: #edf5f2; }
.ok-search-ui .wd-suggestion-thumb { width: 62px; margin: 0; }
.ok-search-ui .wd-suggestion-thumb img { width: 62px; height: 62px; max-height: 62px; object-fit: contain; background: #fff; border-radius: 7px; }
.ok-search-ui .wd-suggestion-content { display: grid; grid-template-columns: minmax(0,1fr) max-content; gap: 6px 10px; min-width: 0; --wd-mb: 0; }
.ok-search-ui .wd-suggestion .wd-entities-title { grid-column: 1 / -1; margin: 0; color: #17383e; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.ok-search-ui .wd-suggestion .wd-entities-title strong { text-decoration: none; color: #28565e; }
.ok-search-ui .wd-suggestion-sku { grid-column: 1; margin: 0; color: #637c75; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ok-search-ui .wd-suggestion .price { grid-column: 2; margin: 0; color: #28565e; font-size: 14px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.ok-search-ui .wd-all-results { position: sticky; bottom: 0; margin-top: 6px; border: 0; border-radius: 8px; padding: 13px 10px; background: #edf5f2; color: #28565e; font-size: 14px; font-weight: 600; line-height: 1.5; text-transform: none; }
.ok-search-ui .wd-all-results:hover { background: #deeee8 !important; color: #17383e; }
.ok-search-ui .wd-not-found { padding: 16px 12px; line-height: 1.6; }
.ok-search-ui-mobilebar { display: none; }
@media (min-width: 1025px) {
    .whb-sticky-header.ok-sticky-search-ready .whb-general-header-inner { height: 80px; gap: 24px; }
    .whb-sticky-header.ok-sticky-search-ready .whb-col-left { flex: 0 0 190px; min-width: 0; }
    .whb-sticky-header.ok-sticky-search-ready .site-logo img { max-width: 190px !important; max-height: 72px; width: auto; object-fit: contain; }
    .whb-sticky-header.ok-sticky-search-ready .whb-col-center { flex: 1 1 0; min-width: 0; display: flex; gap: 18px; align-items: center; }
    .whb-sticky-header.ok-sticky-search-ready .whb-col-right { flex: 0 0 auto; }
    .whb-sticky-header.ok-sticky-search-ready .ok-search-ui { display: block !important; flex: 1 1 0; min-width: 0; margin: 0; }
    .ok-sticky-menu { position: relative; flex: 0 0 auto; }
    .ok-sticky-menu > summary { display: flex; align-items: center; gap: 8px; padding: 12px 0; color: #28565e; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
    .ok-sticky-menu > summary::-webkit-details-marker { display: none; }
    .ok-sticky-menu > summary:before { content: ''; width: 20px; height: 2px; flex: 0 0 20px; background: currentColor; border-radius: 2px; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
    .ok-sticky-menu > summary:after { content: '\2304'; }
    .ok-sticky-menu > summary:focus-visible { outline: 2px solid #28565e; outline-offset: 4px; border-radius: 4px; }
    .ok-sticky-menu > nav { position: absolute; top: 100%; left: 0; width: 240px; padding: 10px; background: #fff; border: 1px solid #dce7e3; border-radius: 10px; box-shadow: 0 12px 32px rgba(23,56,62,.15); z-index: 461; }
    .ok-sticky-menu:not([open]) > nav { display: none; }
    .ok-sticky-menu > nav > ul { display: flex; flex-direction: column; align-items: stretch; }
    .ok-sticky-menu > nav > ul > li > a { min-height: 42px; padding: 8px 12px; justify-content: flex-start; }
    .whb-sticky-header.ok-sticky-search-ready .ok-search-ui .wd-search-results { max-height: min(65vh,560px); }
}
@media (max-width: 1024px) {
    .ok-search-ui-mobilebar { display: block; padding: 0 0 12px; background: #fff; }
    .ok-search-ui-mobilebar .ok-search-ui-mobile-form { display: block !important; width: 100%; margin: 0; }
    body.ok-search-ui-ready .ok-home > form.ok-mobile-search { display: none; }
    .ok-search-ui form.searchform input[name="s"] { font-size: 14px; }
    .ok-search-ui .wd-search-results { max-width: 100%; max-height: min(64vh,500px); }
    .ok-search-ui .wd-suggestion:not(.wd-not-found) { grid-template-columns: 54px minmax(0,1fr); padding: 11px 8px; gap: 10px; min-height: 86px; }
    .ok-search-ui .wd-suggestion-thumb, .ok-search-ui .wd-suggestion-thumb img { width: 54px; height: 54px; }
    .ok-search-ui .wd-suggestion .wd-entities-title { font-size: 13px; }
    .ok-search-ui .wd-suggestion .price { font-size: 13px; }
    .ok-search-ui .wd-suggestion-sku { font-size: 12px; }
}
