/* Search overlay — from the Shopify header section */
.th-srch{position:fixed;inset:0;z-index:120}
  .th-srch[hidden]{display:none}
  .th-srch__scrim{position:absolute;inset:0;background:rgba(8,8,10,.62);backdrop-filter:blur(3px);opacity:0;transition:opacity .18s ease}
  .th-srch.is-open .th-srch__scrim{opacity:1}

  .th-srch__panel{position:relative;background:#fff;color:#17171a;box-shadow:0 24px 60px rgba(0,0,0,.28);
    transform:translateY(-12px);opacity:0;transition:transform .2s cubic-bezier(.2,.7,.3,1),opacity .2s ease;
    max-height:86vh;display:flex;flex-direction:column}
  .th-srch.is-open .th-srch__panel{transform:none;opacity:1}

  .th-srch__bar{display:flex;align-items:center;gap:.75rem;padding:1.05rem clamp(1rem,4vw,2rem);
    border-bottom:1px solid rgba(23,23,26,.12);max-width:920px;margin-inline:auto;width:100%}
  .th-srch__icon{flex:none;opacity:.55}
  .th-srch__input{flex:1;min-width:0;border:0;outline:0;background:none;color:inherit;
    font:600 clamp(1.05rem,2.6vw,1.5rem)/1.2 inherit;letter-spacing:-.01em;padding:.25rem 0}
  .th-srch__input::placeholder{color:rgba(23,23,26,.38);font-weight:500}
  .th-srch__input::-webkit-search-cancel-button{display:none}
  .th-srch__clear,.th-srch__close{flex:none;border:0;background:none;color:inherit;cursor:pointer;font:inherit}
  .th-srch__clear{opacity:.5;padding:.35rem;line-height:0;border-radius:999px}
  .th-srch__clear:hover{opacity:1;background:rgba(23,23,26,.07)}
  .th-srch__close{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.6;padding:.4rem .2rem}
  .th-srch__close:hover{opacity:1}

  .th-srch__results{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .th-srch__group{max-width:920px;margin-inline:auto;padding:.9rem clamp(1rem,4vw,2rem) .35rem;font-size:.68rem;font-weight:800;
    letter-spacing:.16em;text-transform:uppercase;color:rgba(23,23,26,.42)}
  .th-srch__row{display:flex;align-items:center;gap:.95rem;width:100%;text-align:left;
    padding:.6rem clamp(1rem,4vw,2rem);text-decoration:none;color:inherit;border:0;background:none;cursor:pointer;font:inherit;
    max-width:920px;margin-inline:auto;border-radius:4px}
  .th-srch__row:hover,.th-srch__row.is-active{background:rgba(23,23,26,.055)}
  .th-srch__row.is-active{outline:2px solid rgba(23,23,26,.18);outline-offset:-2px}
  .th-srch__thumb{flex:none;width:52px;height:65px;object-fit:cover;background:rgba(23,23,26,.06);border-radius:2px}
  .th-srch__meta{min-width:0;flex:1}
  .th-srch__title{display:block;font-weight:650;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .th-srch__title mark{background:none;color:inherit;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:2px}
  .th-srch__sub{display:block;margin-top:.15rem;font-size:.78rem;color:rgba(23,23,26,.52)}
  .th-srch__price{flex:none;font-weight:700;font-variant-numeric:tabular-nums;font-size:.92rem;white-space:nowrap}

  .th-srch__state{max-width:920px;margin-inline:auto;padding:1.4rem clamp(1rem,4vw,2rem) 1.8rem;color:rgba(23,23,26,.55);font-size:.95rem}
  .th-srch__state strong{color:#17171a}
  .th-srch__all{display:block;max-width:920px;margin-inline:auto;padding:.95rem clamp(1rem,4vw,2rem);border-top:1px solid rgba(23,23,26,.12);
    font-weight:700;font-size:.9rem;text-decoration:none;color:inherit}
  .th-srch__all:hover{background:rgba(23,23,26,.055)}

  @media (max-width:640px){
    .th-srch__panel{height:100dvh;max-height:none}
    .th-srch__results{flex:1}
    .th-srch__thumb{width:46px;height:58px}
  }
  @media (prefers-reduced-motion:reduce){
    .th-srch__scrim,.th-srch__panel{transition:none}
  }
