.search-suggestions[hidden],.search-backdrop[hidden],.search-suggestions [hidden]{display:none!important}
.search-backdrop{position:fixed;inset:var(--search-top,108px) 0 0;background:#0008;z-index:1025}
.search-suggestions{position:fixed;top:var(--search-top,108px);right:max(16px,calc((100vw - 1760px)/2 + 32px));width:min(1080px,calc(100vw - 32px));max-height:calc(100dvh - var(--search-top,108px) - 16px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;background:#fff;color:#171717;z-index:1040;border:1px solid #ddd;border-radius:0 0 6px 6px;box-shadow:0 8px 24px #0002;padding:24px}
.search-suggestions-head{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:16px;min-height:24px}
.search-suggestions-message{margin:0;font-size:13px;line-height:1.5;color:#555}
.search-suggestions-close{flex:0 0 40px;width:40px;height:40px;border:0;background:transparent;color:#444;font:28px/1 Arial;cursor:pointer}
.search-suggestions-columns{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:24px}
.search-suggestions-columns.search-products-only{grid-template-columns:minmax(0,1fr)}
.search-suggestions h2{font:12px/1.5 Arial,sans-serif;letter-spacing:.5px;text-transform:uppercase;color:#666;margin:0 0 12px}
.search-category-list{display:flex;flex-direction:column;gap:4px;list-style:none;padding:0;margin:0}
.search-category-list a{display:block;padding:10px 4px;color:#171717;font-size:14px;line-height:1.5;text-decoration:none}
.search-category-list a:hover{text-decoration:underline}
.search-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.search-product{min-width:0}.search-product-photo{position:relative;background:#f5f4f0}.search-product-photo>a{display:block;aspect-ratio:1/1.2}
.search-product-photo img{display:block;width:100%;height:100%;object-fit:contain}
.search-product .favorite-toggle{left:6px;right:auto;top:6px;width:36px;height:36px}
.search-product-name{display:block;margin:12px 0 6px;color:#171717;font-size:14px;line-height:1.45;overflow-wrap:anywhere;text-decoration:none}
.search-product-price{margin:0;font-size:14px;line-height:1.6}.search-product-old-price{display:block;color:#777;font-size:12px}
.search-suggestions-footer{display:flex;justify-content:flex-end;margin-top:24px}
.search-show-all{display:inline-block;padding:12px 22px;background:var(--store-button-background,#111);color:var(--store-button-text,#fff)!important;font-size:14px;line-height:1.4;text-decoration:none}
.search-show-all:hover,.search-show-all:focus-visible{background:var(--store-button-background-hover,#111);color:var(--store-button-text-hover,#fff)!important}
.search-product-name,.search-category-list a{color:var(--store-product-text,#111)}
.search-product-name:hover,.search-category-list a:hover{color:var(--store-product-text-hover,#111)}
.search-suggestions a:focus-visible,.search-suggestions button:focus-visible{outline:2px solid #111;outline-offset:2px}
@media(max-width:1280px){
    .search-suggestions{right:8px;width:calc(100vw - 16px);max-height:calc(100dvh - var(--search-top,136px) - 8px);padding:16px}
    .search-suggestions-columns{grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:16px}
}
@media(max-width:767px){
    .search-suggestions-columns{grid-template-columns:minmax(0,1fr);gap:24px}
    .search-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
    .search-suggestions-head{margin-bottom:8px}
    .search-category-list a{padding:9px 0}
    .search-show-all{width:100%;box-sizing:border-box;text-align:center}
}
