/* Home page search bar (storefront-search.js). Loaded on: the-lighting-company-storefront.html, admin-storefront.html */
.home-search{background:var(--paper-dim,#F1EDE2); border-bottom:1px solid var(--line,#E4DDC9); padding:18px 0; position:relative; z-index:20;}
.hs-form{position:relative; display:flex; gap:10px; align-items:stretch; max-width:820px; margin:0 auto;}
.hs-field{position:relative; flex:1 1 auto; display:flex; align-items:center;}
.hs-field > svg{position:absolute; left:16px; width:20px; height:20px; fill:none; stroke:var(--slate,#5C6470); stroke-width:2; stroke-linecap:round; pointer-events:none;}
.hs-input{width:100%; font-family:'Archivo', sans-serif; font-size:17px; padding:15px 16px 15px 46px; border:2px solid var(--navy,#142B4D); border-radius:var(--radius,2px); background:#fff; color:var(--navy-ink,#0D1D33); -webkit-appearance:none; appearance:none;}
.hs-input::placeholder{color:var(--slate,#5C6470);}
.hs-input:focus{outline:3px solid rgba(217,148,0,.45); outline-offset:1px;}
.hs-input::-webkit-search-cancel-button{cursor:pointer;}
.hs-form .btn{padding:0 28px; font-size:15px; white-space:nowrap;}
.hs-results{position:absolute; top:calc(100% + 6px); left:0; right:0; background:#fff; border:1px solid var(--line,#E4DDC9); border-top:3px solid var(--gold,#D99400); box-shadow:0 18px 40px rgba(13,29,51,.22); max-height:min(70vh,560px); overflow-y:auto; z-index:50;}
.hs-results[hidden]{display:none;}
.hs-row{display:flex; align-items:center; gap:14px; padding:10px 14px; text-decoration:none; color:var(--navy-ink,#0D1D33); border-bottom:1px solid var(--line,#E4DDC9); cursor:pointer;}
.hs-row:hover, .hs-row.is-active{background:var(--paper,#FAF8F2);}
.hs-thumb{flex:0 0 48px; width:48px; height:48px; background:var(--paper-dim,#F1EDE2); display:flex; align-items:center; justify-content:center; overflow:hidden;}
.hs-thumb img{width:100%; height:100%; object-fit:cover;}
.hs-thumb svg{width:26px; height:26px; fill:none; stroke:var(--slate,#5C6470); stroke-width:1.6;}
.hs-info{flex:1 1 auto; min-width:0;}
.hs-name{font-size:14.5px; font-weight:600; line-height:1.3; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hs-name mark{background:rgba(217,148,0,.28); color:inherit; padding:0;}
.hs-sku{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--slate,#5C6470); display:block; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hs-sku mark{background:rgba(217,148,0,.28); color:inherit; padding:0;}
.hs-price{flex:0 0 auto; text-align:right; font-family:'IBM Plex Mono', monospace; font-size:13.5px; font-weight:600;}
.hs-price small{display:block; font-weight:400; font-size:11px; color:#9A3B2E;}
.hs-all{display:block; padding:13px 16px; font-size:14px; font-weight:600; color:var(--navy,#142B4D); text-decoration:none; background:var(--paper,#FAF8F2);}
.hs-all:hover{text-decoration:underline;}
.hs-empty{padding:18px 16px; font-size:14px; color:var(--slate,#5C6470); line-height:1.5;}
.hs-empty a{color:var(--navy,#142B4D); font-weight:600;}
.hs-status{padding:14px 16px; font-size:13.5px; color:var(--slate,#5C6470);}
.hs-sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}
@media (max-width:640px){
  .home-search{padding:12px 0;}
  .hs-form{gap:8px;}
  .hs-input{font-size:16px; padding:13px 12px 13px 40px;}
  .hs-field > svg{left:12px;}
  .hs-form .btn{padding:0 16px;}
  .hs-thumb{flex-basis:40px; width:40px; height:40px;}
}
