/* AAR search dropdown (header + sticky). Colors forced: the dark header sets white text that links inherit. */
.typed-search-box{
  --sr-ink:#14202e; --sr-muted:#8a919b; --sr-line:#eef0f3; --sr-soft:#f6f7f9; --sr-gold:var(--gold,#d7aa55); --sr-hover:#fbf6ec;
  margin-top:8px;
  min-height:0 !important;
  max-height:min(72vh,640px);
  overflow-y:auto;
  overscroll-behavior:contain;
  background:#fff !important;
  border:1px solid var(--sr-line);
  border-radius:16px !important;
  box-shadow:0 20px 50px rgba(12,26,42,.18),0 2px 6px rgba(12,26,42,.06) !important;
  color:var(--sr-ink) !important;
  text-align:left;
  scrollbar-width:thin;
  scrollbar-color:#d9dce1 transparent;
}
.typed-search-box::-webkit-scrollbar{width:8px}
.typed-search-box::-webkit-scrollbar-thumb{background:#d9dce1;border-radius:8px;border:2px solid #fff}
.typed-search-box .search-preloader{position:relative;top:auto;left:auto;transform:none;display:flex;justify-content:center;padding:28px 0}
.typed-search-box .search-nothing{color:var(--sr-muted) !important;font-size:14px !important;padding:28px 20px !important}

.typed-search-box .aar-sr{padding:6px 0}
.typed-search-box .aar-sr-section{padding:14px 18px 8px}
.typed-search-box .aar-sr-section + .aar-sr-section{border-top:1px solid var(--sr-line)}
.typed-search-box .aar-sr-title{
  font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--sr-muted) !important;margin:0 0 10px;
}

.typed-search-box .aar-sr-chips{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:6px}
.typed-search-box .aar-sr-chip{
  display:inline-flex;align-items:center;gap:7px;max-width:100%;
  padding:7px 13px;border-radius:999px;
  background:var(--sr-soft);border:1px solid var(--sr-line);
  font-size:13px;line-height:1.25;font-weight:500;
  color:var(--sr-ink) !important;text-decoration:none !important;
  transition:background .18s,border-color .18s,color .18s;
}
.typed-search-box .aar-sr-chip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.typed-search-box .aar-sr-chip svg{flex:0 0 auto;width:13px;height:13px;color:var(--sr-muted)}
.typed-search-box .aar-sr-chip:hover,
.typed-search-box .aar-sr-chip:focus-visible{background:var(--sr-hover);border-color:var(--sr-gold);color:#0c1a2a !important;outline:none}
.typed-search-box .aar-sr-chip:hover svg,
.typed-search-box .aar-sr-chip:focus-visible svg{color:var(--sr-gold)}

.typed-search-box .aar-sr-products{list-style:none;margin:0 -10px;padding:0}
.typed-search-box .aar-sr-product{
  display:flex;align-items:center;gap:14px;padding:10px;border-radius:12px;
  color:var(--sr-ink) !important;text-decoration:none !important;
  transition:background .18s;
}
.typed-search-box .aar-sr-product:hover,
.typed-search-box .aar-sr-product:focus-visible{background:var(--sr-hover);outline:none}
.typed-search-box .aar-sr-thumb{
  flex:0 0 52px;width:52px;height:52px;border-radius:10px;overflow:hidden;
  background:var(--sr-soft);border:1px solid var(--sr-line);
  display:flex;align-items:center;justify-content:center;
}
.typed-search-box .aar-sr-thumb img{width:100%;height:100%;object-fit:contain}
.typed-search-box .aar-sr-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.typed-search-box .aar-sr-name{
  font-size:14px;font-weight:500;line-height:1.35;color:var(--sr-ink) !important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.typed-search-box .aar-sr-meta{font-size:12.5px;color:var(--sr-muted) !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.typed-search-box .aar-sr-price{display:flex;align-items:baseline;gap:8px;font-variant-numeric:tabular-nums}
.typed-search-box .aar-sr-price strong{font-size:15px;font-weight:700;color:#0c1a2a !important}
.typed-search-box .aar-sr-price del{font-size:12.5px;color:var(--sr-muted) !important}
.typed-search-box .aar-sr-go{flex:0 0 auto;width:16px;height:16px;color:#c4c8ce;transition:transform .2s,color .2s}
.typed-search-box .aar-sr-product:hover .aar-sr-go,
.typed-search-box .aar-sr-product:focus-visible .aar-sr-go{color:var(--sr-gold);transform:translateX(3px)}

@media (max-width:576px){
  .typed-search-box{border-radius:12px !important;max-height:70vh}
  .typed-search-box .aar-sr-section{padding:12px 14px 6px}
  .typed-search-box .aar-sr-products{margin:0 -6px}
  .typed-search-box .aar-sr-product{gap:12px;padding:8px 6px}
  .typed-search-box .aar-sr-thumb{flex-basis:44px;width:44px;height:44px}
  .typed-search-box .aar-sr-chip{font-size:12.5px;padding:6px 11px}
}
@media (prefers-reduced-motion:reduce){
  .typed-search-box *{transition:none !important}
}
