/* lenox-search.css: header inventory search ("Search" button in .lh-actions + drop-down panel #lh-search, lenox-search.js).
   Ported from Jungle Kingdom's jkf-search.css. Lives inside the header, so it uses the Lenox header tokens (--lh-*):
   navy bar, beige ink, maroon action color, blush highlight. The site has no dark mode. */
.lh-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 18px 0 14px;border-radius:999px;border:1.5px solid rgba(237,229,204,.45);
  background:transparent;color:var(--lh-ink);cursor:pointer;flex:none;font:600 15px/1 var(--lh-body);white-space:nowrap}
.lh-search svg{width:18px;height:18px;flex:none}
.lh-search:hover,.lh-search[aria-expanded="true"]{border-color:var(--lh-accent-hi);color:var(--lh-accent-hi)}
.lh-search:focus-visible{outline:2px solid var(--lh-focus);outline-offset:2px}
@media (max-width:720px){
  .lh-search{width:44px;height:44px;padding:0;justify-content:center;border-radius:12px;border:0;background:var(--lh-soft)}
  .lh-search span{display:none}
}

/* panel */
.inv{position:absolute;left:0;right:0;top:100%;z-index:2;background:#2f4260;color:var(--lh-ink);border-top:1px solid var(--lh-line);
  box-shadow:0 18px 40px -18px rgba(0,0,0,.55);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.inv[hidden]{display:none}
.inv-in{max-width:980px;margin:0 auto;padding:18px clamp(14px,3vw,32px) 22px}
.inv-top{display:flex;align-items:center;gap:10px}
.inv-form{position:relative;margin:0;flex:1;min-width:0}
.inv-form svg{position:absolute;left:18px;top:50%;width:20px;height:20px;transform:translateY(-50%);color:#9b425b;pointer-events:none}
.inv-form input{width:100%;height:54px;padding:0 18px 0 50px;border:2px solid var(--lh-accent-hi);border-radius:999px;background:#fff;
  font:400 17px/1 var(--lh-body);color:#1f2a3d;-webkit-appearance:none;appearance:none}
.inv-form input::placeholder{color:#5c6578}
.inv-form input:focus{outline:none;box-shadow:0 0 0 4px rgba(239,188,203,.45)}
.inv-close{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--lh-soft);color:var(--lh-ink);cursor:pointer;display:grid;place-items:center}
.inv-close svg{width:20px;height:20px}
.inv-close:focus-visible,.inv-try button:focus-visible,.inv-more:focus-visible{outline:2px solid var(--lh-focus);outline-offset:2px}
.inv-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:12px}
.inv-try{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;color:var(--lh-muted)}
.inv-try button{min-height:36px;padding:0 13px;border:0;border-radius:999px;background:var(--lh-soft);cursor:pointer;font:500 14px/1 var(--lh-body);color:var(--lh-ink)}
.inv--active .inv-try{display:none}
.inv-fresh{margin:12px 0 0;font-size:13px;color:var(--lh-muted)}
.inv-status{margin:14px 0 0;font-size:15px;line-height:1.6;color:var(--lh-ink)}
.inv-status:empty{display:none}
.inv-status a{color:var(--lh-accent-hi);font-weight:700;text-decoration:underline!important;text-underline-offset:3px}
.inv-results{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:10px}
.inv-results:empty{display:none}
.inv-card{display:flex;gap:12px;padding:12px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(47,66,96,.1)}
.inv-img{flex:none;width:56px;height:56px;border-radius:10px;object-fit:cover;background:#ede5cc}
.inv-body{min-width:0;flex:1}
.inv-brand{margin:0;font:700 11px/1.3 var(--lh-body);letter-spacing:.1em;text-transform:uppercase;color:#9b425b}
.inv-name{margin:3px 0 0;font:400 16px/1.25 var(--lh-display);color:#1f2a3d;overflow-wrap:anywhere}
.inv-meta{margin:3px 0 0;font-size:13.5px;line-height:1.45;color:#4a5363}
.inv-buys{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.lh .inv-buy{display:inline-flex;align-items:center;gap:10px;min-height:38px;padding:0 14px;border-radius:999px;background:#9b425b;color:#fff;
  font:600 13px/1 var(--lh-body);text-decoration:none}
.inv-buy b{font-weight:700;color:#fff}
.inv-buy s{font-weight:400;opacity:.8}
.lh .inv-buy:hover{background:#7d3349}
.inv-more{display:block;margin:14px auto 0;min-height:44px;padding:0 22px;border-radius:999px;border:1.5px solid var(--lh-accent-hi);background:transparent;cursor:pointer;
  font:600 14px/1 var(--lh-body);color:var(--lh-accent-hi)}
.inv-more[hidden]{display:none}
.inv .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* while the panel is open, the budtender launcher steps aside so it never covers results */
body.lh-search-open lodestar-guide{display:none}
@media (max-width:640px){
  .inv-in{padding:14px 14px calc(28px + env(safe-area-inset-bottom,0px))}
  .inv-form input{height:50px;font-size:16px}
  .inv-card{padding:10px}
  .lh .inv-buy{flex:1 1 100%;justify-content:space-between;min-height:42px}
}
