/* NeutraFog search (NF-SEARCH1, 2026-11-27): header search field + quick-search dropdown,
   and the always-visible box / zero-results fallback on /search.php. */
body.nf-storefront .nf-search{position:relative;flex:1 1 320px;max-width:440px;min-width:0;margin-inline:auto;display:flex;align-items:center}
body.nf-storefront .nf-search__label,body.nf-storefront .nf-search__status{border:0;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;margin:0}
body.nf-storefront .nf-search__input{width:100%;height:40px;margin:0;padding:0 44px 0 14px;border:1px solid #454545;border-radius:8px;background:#121212;color:#fff;font:400 14px/1.2 Inter,Arial,sans-serif;-webkit-appearance:none;appearance:none;box-shadow:none}
body.nf-storefront .nf-search__input::placeholder{color:#9a9a9a;opacity:1}
body.nf-storefront .nf-search__input:focus{outline:none;border-color:#769fff;box-shadow:0 0 0 2px #769fff55}
body.nf-storefront .nf-search__input::-webkit-search-decoration{-webkit-appearance:none}
body.nf-storefront .nf-search__submit{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:40px;height:40px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;display:grid;place-items:center;cursor:pointer}
body.nf-storefront .nf-search__submit img{width:18px;height:18px}
body.nf-storefront .nf-search__submit:focus-visible{outline:2px solid #fff;outline-offset:-4px}
body.nf-storefront .nf-search__results{position:absolute;top:calc(100% + 6px);left:0;right:0;min-width:300px;z-index:70;max-height:min(70vh,480px);overflow-y:auto;overscroll-behavior:contain;padding:6px;background:#101010;border:1px solid #454545;border-radius:8px;box-shadow:0 12px 30px #000a;color:#fff}
body.nf-storefront .nf-search__results[hidden]{display:none}
body.nf-storefront .nf-search__item{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;min-height:60px;padding:6px 8px;border-radius:6px;color:#fff;text-decoration:none}
body.nf-storefront .nf-search__item:hover,body.nf-storefront .nf-search__item.is-active,body.nf-storefront .nf-search__all:hover,body.nf-storefront .nf-search__all.is-active{background:#1a2748;text-decoration:none}
body.nf-storefront .nf-search__thumb{width:48px;height:48px;border-radius:6px;background:#fff;display:grid;place-items:center;overflow:hidden}
body.nf-storefront .nf-search__thumb img{width:100%;height:100%;object-fit:contain}
body.nf-storefront .nf-search__meta{display:flex;flex-direction:column;gap:2px;min-width:0}
body.nf-storefront .nf-search__name{font:700 14px/1.3 Inter,Arial,sans-serif;color:#fff;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.nf-storefront .nf-search__price{font:600 13px/1.3 Inter,Arial,sans-serif;color:#b8b8b8}
body.nf-storefront .nf-search__empty{padding:10px 8px;color:#b8b8b8;font-size:13px}
body.nf-storefront .nf-search__all{display:flex;align-items:center;min-height:44px;padding:8px;margin-top:4px;border-top:1px solid #2a2a2a;border-radius:0 0 6px 6px;color:#769fff;font:700 13px/1.3 Inter,Arial,sans-serif}
@media(max-width:1200px){body.nf-storefront .nf-search{max-width:380px}}
@media(max-width:900px){
  body.nf-storefront .nf-header{flex-wrap:wrap;row-gap:0}
  body.nf-storefront .nf-search{order:3;flex:1 0 100%;max-width:none;margin:6px 0 10px}
  body.nf-storefront .nf-search__input{height:44px;font-size:16px}
  body.nf-storefront .nf-search__submit{width:44px;height:44px}
  body.nf-storefront .nf-search__results{min-width:0;max-height:min(60vh,420px)}
}

/* /search.php */
body.nf-storefront .nf-search-page{max-width:760px;margin:0 0 24px}
body.nf-storefront .nf-search-page__title{margin-bottom:16px}
body.nf-storefront .nf-search-page__label{display:block;margin:0 0 8px;color:#b8b8b8;font-size:14px}
body.nf-storefront .nf-search-page__row{display:flex;gap:8px;align-items:stretch}
body.nf-storefront .nf-search-page__input{flex:1 1 auto;min-width:0;min-height:48px;margin:0;font-size:16px;background:#121212;color:#fff;border:1px solid #737373}
body.nf-storefront .nf-search-page__input:focus{border-color:#769fff;outline:none;box-shadow:0 0 0 2px #769fff55}
body.nf-storefront .nf-search-page__submit{flex:0 0 auto;min-height:48px;margin:0}
body.nf-storefront .nf-search-page__popular{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0;color:#b8b8b8;font-size:13px}
body.nf-storefront .nf-search-page__popular a,body.nf-storefront .nf-search-empty__links a,body.nf-storefront .category-suggestion-list .category-suggestion a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid #383838;border-radius:999px;background:#141414;color:#fff;font-weight:700;text-decoration:none}
body.nf-storefront .nf-search-page__popular a:hover,body.nf-storefront .nf-search-empty__links a:hover,body.nf-storefront .category-suggestion-list .category-suggestion a:hover{border-color:#769fff;text-decoration:none}
body.nf-storefront #search-results-heading .form{display:none}
body.nf-storefront .category-suggestion-list{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none}
body.nf-storefront .nf-search-empty{margin:0 0 24px;padding:24px;background:#121212;border:1px solid #383838;border-radius:10px;color:#eee}
body.nf-storefront .nf-search-empty__title{margin:0 0 8px;font:800 22px/1.25 Inter,Arial,sans-serif;color:#fff;overflow-wrap:anywhere}
body.nf-storefront .nf-search-empty p{margin:0 0 12px;color:#d0d0d0}
body.nf-storefront .nf-search-empty__links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:0;list-style:none}
body.nf-storefront .nf-search-empty__call{margin:0}
body.nf-storefront .nf-search-empty__cta{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;padding:10px 16px;border-radius:6px;background:#2f6bff;color:#fff;font-weight:700;text-decoration:none}
body.nf-storefront .nf-search-empty__cta:hover{background:#1e54d8;text-decoration:none}
@media(max-width:600px){body.nf-storefront .nf-search-page__row{flex-direction:column}body.nf-storefront .nf-search-page__submit{width:100%}body.nf-storefront .nf-search-empty{padding:16px}}
