/* Loaded exclusively by the Ship2Buy map. */
.ais-brand-buy .ais-mobile-categories,
.ais-brand-buy .v4-full-list .ais-mobile-categories {
  display:flex!important;
  flex-flow:row nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  max-width:100%!important;
  gap:6px;
  scrollbar-width:thin;
  overscroll-behavior-x:contain;
  touch-action:pan-x;
}
.ais-brand-buy .ais-mobile-categories button {
  flex:0 0 auto!important;
  white-space:nowrap!important;
  min-height:40px;
  padding:8px 10px!important;
  font-size:12px!important;
  line-height:20px!important;
}
.ais-brand-buy .ais-mobile-categories button[aria-pressed=true] {background:#122f45!important;color:#fff!important}
.ais-brand-buy .ais-buy-category-filters {border:1px solid #d7e1eb;border-radius:10px;padding:12px;margin:0 0 16px;min-width:0;background:#f5f8fc}
.ais-brand-buy .ais-buy-category-filters legend {float:none;width:auto;font-size:13px;font-weight:650;margin:0 0 8px;padding:0 4px}
.ais-brand-buy .ais-buy-category-filters label {display:flex;align-items:center;gap:8px;padding:8px;margin:0;font-size:13px;cursor:pointer}
.ais-brand-buy #ais-filters .ais-buy-category-filters input[type=radio] {width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:0;accent-color:#122f45}
.ais-brand-buy .ais-buy-category-filters label:has(input:checked) {background:#122f45;color:white;border-radius:8px}
.ais-brand-buy .ais-buy-profile {color:#122f45;font-weight:750;text-decoration:none;overflow-wrap:anywhere}
.ais-brand-buy .ais-buy-profile:hover {text-decoration:underline}
.ais-brand-buy :is(.ais-layer-filters,.ais-basic-ship-filters,.ais-company-filters,.ais-buy-range-controls,.ais-buy-desktop-ranges,.ais-desktop-ranges,details)[hidden] {display:none!important}
.ais-brand-buy .ais-list-ais-filters {display:none!important}
.ais-brand-buy[data-buy-category=brokers] .ais-mobile-lengths,
.ais-brand-buy[data-buy-category=companies] .ais-mobile-lengths {display:none!important}

.ais-brand-buy.ais-buy-desktop .ais-mobile-results {width:min(650px,calc(100% - 72px))}
.ais-brand-buy.ais-buy-desktop .ais-mobile-categories button {font-size:11px!important;padding:7px 8px!important}

/* Same partner label as Base, only on Buy company cards (mobile and desktop). */
.ais-brand-buy .ais-mobile-company-info>.ais-buy-company-partner {
  display:flex;align-items:center;gap:4px;font-size:10px;line-height:12px;
  font-weight:500;color:#746a52;white-space:nowrap;
}
.ais-brand-buy .ais-buy-company-partner>svg {
  width:12px;height:12px;flex:0 0 12px;color:#ad8430;
  fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
}
