.buysell-route { --bs-blue: #0b3fa8; --bs-ink: #0e1730; --bs-muted: #4a5568; --bs-line: #e1e5ee; --bs-pad: clamp(16px, 2.25vw, 40px); }
.bs-browse { width: 100%; background: #f2f4fa; color: var(--bs-ink); }
.bs-browse :is(a, button, select, input):focus-visible { outline: 3px solid #2577d8; outline-offset: 2px; }
.bs-browse button, .bs-browse select { cursor: pointer; }
.bs-search-band { padding: 16px var(--bs-pad); background: var(--bs-blue); }
.bs-search { display: flex; gap: 10px; align-items: center; height: 56px; padding: 6px 6px 6px 18px; background: white; border-radius: 14px; }
.bs-search svg { width: 20px; height: 20px; flex: none; }
.bs-search-leading { color: var(--bs-muted); }
.bs-search input { flex: 1; min-width: 0; height: 100%; font-size: 16px; font-weight: 600; background: transparent; }
.bs-search input::placeholder { color: var(--bs-muted); opacity: 1; }
.bs-search button, .bs-button, .bs-alert, .bs-filter-open, .bs-sort select { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 800; }
.bs-search button { color: white; background: var(--bs-ink); }
.bs-search button svg { display: none; }
.bs-category-bar { display: flex; align-items: stretch; padding: 0 var(--bs-pad); background: white; border-bottom: 1px solid var(--bs-line); }
.bs-tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.bs-more-categories { display: none; }
@media (min-width: 1024px) {
    .bs-tabs .bs-extra-tab { display: none; }
    .bs-more-categories { display: block; position: relative; }
    .bs-more-categories summary, .bs-more-categories a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 700; cursor: pointer; }
    .bs-more-categories summary { height: 100%; list-style: none; }
    .bs-more-categories summary::-webkit-details-marker { display: none; }
    .bs-more-categories svg { width: 14px; height: 14px; }
    .bs-more-categories div { position: absolute; right: 0; top: 100%; z-index: 5; width: max-content; max-height: 50vh; overflow-y: auto; padding: 4px; background: white; border: 1px solid var(--bs-line); border-radius: 10px; box-shadow: 0 4px 20px #0e173022; }
    .bs-more-categories a { justify-content: space-between; }
    .bs-more-categories a:is(:hover,[aria-current]) { background: #f2f4fa; }
}
.bs-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 12px; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14px; font-weight: 700; }
.bs-tabs a[aria-current] { border-color: var(--bs-blue); color: var(--bs-blue); }
.bs-tabs small, .bs-chip small { color: var(--bs-muted); font-size: 12px; }
.bs-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); align-items: start; gap: 24px; width: 100%; padding: 24px var(--bs-pad) 36px; }
.bs-results, .bs-empty, .bs-empty-message, .bs-empty-sell, .bs-alternatives { min-width: 0; }
.bs-results, .bs-empty { display: flex; flex-direction: column; gap: 16px; }
.bs-browse h1, .bs-browse h2 { font-weight: 800; overflow-wrap: anywhere; }
.bs-heading, .bs-sort-tools, .bs-sort, .bs-chips, .bs-promo header, .bs-alternatives header { display: flex; align-items: center; gap: 12px; }
.bs-heading, .bs-promo header, .bs-alternatives header { justify-content: space-between; }
.bs-heading { flex-wrap: wrap; }
.bs-heading h1, .bs-empty h1 { font-size: 26px; line-height: 1.3; letter-spacing: -.55px; }
.bs-sort-tools { margin-left: auto; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.bs-ranking, .bs-link, .bs-promo header a, .bs-links :is(a,button) { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bs-ranking, .bs-link, .bs-links :is(a,button) { color: var(--bs-blue); }
.bs-filter-open { display: none; }
.bs-sort select, .bs-filter-open, .bs-chip, .bs-button { background: white; border: 1px solid #c5cddc; color: var(--bs-ink); }
.bs-sort-input { display: inline-grid; position: relative; max-width: 100%; }
.bs-sort-input svg { pointer-events: none; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; }
.bs-sort select { max-width: 100%; appearance: none; padding-right: 34px; }
.bs-chips { flex-wrap: wrap; gap: 8px; }
.bs-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 13px; border-radius: 24px; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.bs-chip svg { width: 14px; height: 14px; flex: none; }
.bs-alert { color: white; background: var(--bs-blue); }
.bs-alert svg, .bs-filter-open svg { width: 18px; height: 18px; }
.bs-promos { display: flex; gap: 12px; }
.bs-promo { min-width: 0; padding: 14px; border-radius: 14px; }
.bs-top { flex: 2; color: #3d2a00; background: #ffe9a8; }
.bs-urgent { flex: 1; color: white; background: #b3201c; }
.bs-promo h2 { font-size: 17px; line-height: 22px; }
.bs-promo header { margin-bottom: 10px; }
.bs-promo-list { display: grid; gap: 10px; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
.bs-promo-card { min-width: 0; display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; background: white; color: var(--bs-ink); }
.bs-promo-card img { width: min(38%, 128px); height: 108px; object-fit: cover; flex: none; background: #dde3f0; }
.bs-promo-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 12px; }
.bs-promo-body strong, .bs-price { font-size: 17px; line-height: 22px; font-weight: 800; letter-spacing: -.2px; }
.bs-ad-label { align-self: flex-start; padding: 2px 6px; border-radius: 5px; font-size: 11px; line-height: 16px; font-weight: 800; }
.bs-top .bs-ad-label { color: #3d2a00; background: #ffe9a8; }
.bs-urgent .bs-ad-label { color: #8f1714; background: #ffe5e3; }
.bs-promo-title, .bs-promo-meta, .bs-card-meta, .bs-seller span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bs-promo-title, .bs-promo-meta, .bs-card-meta { font-size: 12px; line-height: 16px; color: var(--bs-muted); }
.bs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bs-card { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; background: white; box-shadow: 0 0 0 1px var(--bs-line); }
.bs-card-link { display: block; height: 100%; }
.bs-card-link:focus-visible { outline-offset: -3px !important; }
.bs-card-link:hover .bs-card-title, .bs-promo-card:hover .bs-promo-title { color: var(--bs-blue); text-decoration: underline; }
.bs-card-photo { position: relative; aspect-ratio: 4 / 3; background: #dde3f0; }
.bs-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bs-condition { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 12px; font-size: 12px; line-height: 16px; font-weight: 700; color: white; background: rgba(14,23,48,.88); }
.bs-card-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.bs-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; height: 36px; font-size: 13px; line-height: 18px; font-weight: 600; }
.bs-seller { display: flex; align-items: center; gap: 5px; min-width: 0; margin-top: 4px; font-size: 12px; line-height: 18px; font-weight: 700; }
.bs-save { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 44px; height: 44px; }
.bs-save span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: white; box-shadow: 0 1px 4px #0e17303d; }
.bs-save[aria-pressed=true] { color: #b3201c; }
.bs-save svg { width: 16px; height: 16px; }
.bs-pagination { display: grid; gap: 12px; justify-items: center; padding: 8px 0; color: var(--bs-muted); font-size: 13px; }
.bs-pagination nav { max-width: 100%; }
.bs-more { border-color: var(--bs-blue); color: var(--bs-blue); }
.bs-empty { padding: 24px var(--bs-pad) 32px; gap: 30px; }
.bs-empty-scoped .bs-empty { padding: 0; }
@media (min-width: 1024px) {
    .bs-empty-scoped .bs-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
}
.bs-empty-banner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: 32px; border: 1px solid var(--bs-line); border-radius: 16px; background: white; }
.bs-empty-message { flex: 1 1 330px; }
.bs-empty-message > p { margin: 8px 0 14px; color: var(--bs-muted); }
.bs-empty-message .bs-chips + .bs-chips { margin-top: 10px; }
.bs-empty-sell { border-left: 1px solid var(--bs-line); padding-left: 24px; }
.bs-empty-sell h2 { margin-bottom: 8px; }
.bs-alternatives h2 { font-size: 20px; line-height: 26px; margin-bottom: 10px; }
.bs-empty .bs-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.bs-links { display: flex; flex-wrap: wrap; gap: 24px 48px; padding: 24px var(--bs-pad); background: white; border-top: 1px solid var(--bs-line); }
.bs-links h2 { font-size: 14px; margin-bottom: 6px; }
.bs-links :is(a,button) { display: inline-block; margin: 0 10px 4px 0; }

@media (min-width: 1024px) and (max-width: 1279px) {
    .bs-shell { grid-template-columns: 224px minmax(0,1fr); gap: 18px; }
    .bs-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .bs-promo-card img { width: 34%; }
    .bs-promo-body { padding: 6px; }
}
@media (max-width: 1023px) {
    .bs-shell { display: block; padding-top: 16px; }
    .bs-breadcrumbs, .bs-ranking, .bs-sort label { display: none; }
    .bs-filter-open { display: inline-flex; }
    .bs-grid, .bs-empty .bs-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 639px) {
    .buysell-route .top-header { min-height: 60px; padding-block: 7px; }
    .bs-search-band { padding: 12px 16px; }
    .bs-search { height: 48px; border-radius: 10px; padding: 4px 4px 4px 12px; }
    .bs-search button { min-height: 40px; width: 44px; padding: 0; }
    .bs-search button svg { display: block; }
    .bs-search button span, .bs-search .bs-search-leading { display: none; }
    .bs-tabs { scrollbar-width: none; }
    .bs-tabs::-webkit-scrollbar { display: none; }
    .bs-shell { padding-top: 14px; }
    .bs-heading { display: grid; gap: 8px; }
    .bs-heading h1, .bs-empty h1 { font-size: 20px; line-height: 26px; }
    .bs-sort-tools { display: grid; grid-template-columns: 1fr 1fr; margin: 0; gap: 10px; }
    .bs-sort { display: block; min-width: 0; }
    .bs-sort-input, .bs-sort select { width: 100%; }
    .buysell-route .header-location-pill .location-pill-caret { display: block; width: 14px; height: 14px; }
    .bs-promos { flex-direction: column; gap: 0; margin-inline: calc(-1 * var(--bs-pad)); }
    .bs-promo { padding: 12px 16px 14px; border-radius: 0; }
    .bs-promo header { margin-bottom: 8px; }
    .bs-promo-list { grid-auto-flow: row; gap: 8px; }
    .bs-promo-card img { height: 84px; width: 104px; }
    .bs-promo-meta, .bs-seller { display: none; }
    .bs-grid, .bs-empty .bs-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .bs-price, .bs-promo-body strong { font-size: 16px; line-height: 20px; }
    .bs-empty { padding-top: 16px; gap: 24px; }
    .bs-empty-banner { display: block; padding: 0; border: 0; background: transparent; }
    .bs-empty-sell { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0; border: 0; }
    .bs-empty-sell h2 { margin: 0; font-size: 14px; }
    .bs-empty-sell .bs-button { min-height: 40px; }
    .bs-more { width: 100%; }
}
.bs-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
.bs-pages :is(a,span) { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; }
.bs-pages a:hover { background: white; }
.bs-pages [aria-current] { background: var(--bs-ink); color: white; }
.bs-pages svg { width: 18px; height: 18px; }
.bs-landing-intro { max-width: 72ch; color: var(--bs-muted); font-size: 14px; }
.bs-area-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.bs-area-actions :is(a,button) { display: inline-flex; align-items: center; min-height: 40px; }
.bs-save { color: var(--bs-ink); }
@media (min-width: 640px) {
    .bs-heading h1, .bs-empty h1 { font-size: 28px; line-height: 34px; }
}
@media (max-width: 639px) {
    .bs-empty-message .bs-search-site { display: none; }
    .bs-empty-message #marketplace-search-alert, .bs-empty-message .bs-alert { width: 100%; }
}
@media (max-width: 359px) {
    .bs-sort select { padding-left: 8px; padding-right: 22px; }
    .bs-sort-input svg { right: 6px; }
}
.bs-promo-item { position: relative; min-width: 0; }
.bs-promo-item .bs-save { top: 0; right: auto; left: 0; }
.bs-promo-item .bs-save span { width: 26px; height: 26px; }
.bs-promo-badges { display: flex; gap: 3px; flex-wrap: wrap; }
.bs-top .bs-also-urgent { background: #ffe5e3; color: #8f1714; }
.bs-save-error { position: absolute; bottom: 6px; left: 6px; right: 6px; padding: 8px; background: white; color: #8f1714; border: 1px solid #d5aaaa; border-radius: 8px; font-size: 13px; line-height: 18px; }
