/* =========================================================================
   Site search: header search overlay (.bsx) and the results page (.bsr)
   ========================================================================= */

:root {
    --bsx-navy: #021A54;
    --bsx-orange: #f97316;
    --bsx-ink: #0f172a;
    --bsx-muted: #64748b;
    --bsx-line: #e2e8f0;
    --bsx-soft: #f8fafc;
    --bsx-hover: #eef2ff;
    --bsx-mark: #fef08a;
}

/* ---------- Overlay ---------- */
.bsx[hidden] {
    display: none !important;
}

.bsx {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 8vh 16px 16px;
}

.bsx__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: bsx-fade 0.15s ease;
}

.bsx__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 680px);
    max-height: 84vh;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.5);
    animation: bsx-pop 0.18s ease;
}

@keyframes bsx-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bsx-pop {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

body.bsx-open {
    overflow: hidden;
}

/* ---------- Search field ---------- */
.bsx__form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bsx-line);
}

.bsx__back {
    display: none;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--bsx-ink);
    font-size: 16px;
    cursor: pointer;
}

.bsx__field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.bsx__field-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--bsx-muted);
    font-size: 15px;
    pointer-events: none;
}

.bsx .bsx__input {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 40px 0 42px;
    border: 1px solid var(--bsx-line);
    border-radius: 12px;
    background: var(--bsx-soft);
    color: var(--bsx-ink);
    font-family: inherit;
    font-size: 16px; /* 16px stops iOS from zooming the page on focus */
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.bsx .bsx__input::-webkit-search-cancel-button {
    display: none;
}

.bsx .bsx__input:focus {
    border-color: var(--bsx-navy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(2, 26, 84, 0.12);
}

.bsx__clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
}

.bsx__clear:hover {
    color: var(--bsx-ink);
}

.bsx__submit {
    height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 12px;
    background: var(--bsx-navy);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.bsx__submit:hover {
    background: #0b2f86;
}

.bsx__esc {
    padding: 3px 6px;
    border: 1px solid var(--bsx-line);
    border-radius: 6px;
    background: var(--bsx-soft);
    color: var(--bsx-muted);
    font-family: inherit;
    font-size: 11px;
}

/* ---------- Scope chips ---------- */
.bsx__scopes {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    overflow-x: auto;
    border-bottom: 1px solid var(--bsx-line);
    scrollbar-width: none;
}

.bsx__scopes::-webkit-scrollbar {
    display: none;
}

.bsx__scope {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 1px solid var(--bsx-line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.bsx__scope i {
    font-size: 11px;
    color: var(--bsx-muted);
}

.bsx__scope.is-active {
    border-color: var(--bsx-navy);
    background: var(--bsx-navy);
    color: #fff;
}

.bsx__scope.is-active i {
    color: #fff;
}

/* ---------- Body ---------- */
.bsx__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 10px;
}

.bsx__section {
    padding: 10px 14px 4px;
}

.bsx__section[hidden] {
    display: none;
}

.bsx__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bsx-muted);
}

.bsx__section-head a,
.bsx__link {
    border: none;
    background: none;
    padding: 0;
    color: var(--bsx-navy);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
}

.bsx__section-head a:hover,
.bsx__link:hover {
    text-decoration: underline;
}

.bsx__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bsx__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 7px 11px;
    border: 1px solid var(--bsx-line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.bsx__chip i {
    font-size: 11px;
    color: #94a3b8;
}

.bsx__chip:hover,
.bsx__chip.is-active {
    border-color: var(--bsx-navy);
    background: var(--bsx-hover);
    color: var(--bsx-navy);
}

.bsx__chip-remove {
    margin-left: 2px;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1;
}

.bsx__chip-remove:hover {
    color: #dc2626;
}

.bsx__shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.bsx__shortcuts a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 12px;
    background: var(--bsx-soft);
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.bsx__shortcuts a i {
    font-size: 16px;
    color: var(--bsx-navy);
}

.bsx__shortcuts a:hover {
    background: var(--bsx-hover);
}

/* ---------- Live results ---------- */
.bsx__group {
    padding: 8px 0 2px;
}

.bsx__group .bsx__section-head {
    padding: 0 14px;
}

.bsx__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    color: inherit;
    text-decoration: none;
    outline: none;
}

.bsx__item:hover,
.bsx__item.is-active {
    background: var(--bsx-hover);
}

.bsx__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bsx-soft);
    border: 1px solid var(--bsx-line);
    color: var(--bsx-navy);
    font-size: 14px;
}

.bsx__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bsx__text {
    flex: 1;
    min-width: 0;
}

.bsx__name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--bsx-ink);
}

.bsx__sub {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
    font-size: 12px;
    color: var(--bsx-muted);
}

.bsx__price {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--bsx-navy);
}

.bsx mark,
.bsr mark {
    padding: 0 1px;
    border-radius: 3px;
    background: var(--bsx-mark);
    color: inherit;
}

.bsx__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 14px 6px;
}

.bsx__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 14px 2px;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--bsx-soft);
    color: var(--bsx-navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    outline: none;
}

.bsx__all:hover,
.bsx__all.is-active {
    background: var(--bsx-hover);
}

.bsx__note {
    margin: 4px 14px 0;
    font-size: 12px;
    color: #92400e;
}

.bsx__empty {
    padding: 28px 20px 18px;
    text-align: center;
    color: var(--bsx-muted);
    font-size: 14px;
}

.bsx__empty i {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
    color: #cbd5e1;
}

.bsx__empty strong {
    color: var(--bsx-ink);
}

/* Loading skeleton */
.bsx__skeleton {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
}

.bsx__skeleton span {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    animation: bsx-shimmer 1.1s linear infinite;
}

.bsx__skeleton span:first-child {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.bsx__skeleton span:last-child {
    flex: 1;
    height: 14px;
}

@keyframes bsx-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.bsx__foot {
    display: flex;
    gap: 16px;
    padding: 9px 14px;
    border-top: 1px solid var(--bsx-line);
    background: var(--bsx-soft);
    font-size: 11px;
    color: var(--bsx-muted);
}

.bsx__foot kbd {
    margin-right: 2px;
    padding: 1px 5px;
    border: 1px solid var(--bsx-line);
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 10px;
}

/* ---------- Phones: full-screen sheet ---------- */
@media (max-width: 640px) {
    .bsx {
        padding: 0;
    }

    .bsx__backdrop {
        display: none;
    }

    .bsx__panel {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
        animation: bsx-slide 0.18s ease;
    }

    @keyframes bsx-slide {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: none; }
    }

    .bsx__form {
        gap: 6px;
        padding: 8px 10px;
        padding-top: calc(8px + env(safe-area-inset-top));
    }

    .bsx__back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .bsx .bsx__input {
        height: 42px;
        border-radius: 10px;
    }

    .bsx__submit,
    .bsx__esc,
    .bsx__foot {
        display: none;
    }

    .bsx__scopes {
        padding: 8px 10px;
    }

    .bsx__section {
        padding: 10px 12px 4px;
    }

    .bsx__item {
        padding: 9px 12px;
    }

    .bsx__group .bsx__section-head {
        padding: 0 12px;
    }

    .bsx__shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bsx__body {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

/* =========================================================================
   Results page (pages/search.php)
   ========================================================================= */
.bsr {
    background: #f1f5f9;
    padding: 18px 0 56px;
    min-height: 60vh;
}

.bsr__wrap {
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
}

.bsr__search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.bsr__field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.bsr__field > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    transform: translateY(-50%);
    color: var(--bsx-muted);
    pointer-events: none;
}

.bsr__field .bmz-autocomplete-wrap {
    display: block;
    width: 100%;
}

.bsr__search input[type="search"] {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px 0 42px;
    border: 1px solid var(--bsx-line);
    border-radius: 12px;
    background: #fff;
    color: var(--bsx-ink);
    font-family: inherit;
    font-size: 16px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.bsr__search input[type="search"]:focus {
    border-color: var(--bsx-navy);
    box-shadow: 0 0 0 3px rgba(2, 26, 84, 0.12);
}

.bsr__search button {
    height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 12px;
    background: var(--bsx-navy);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.bsr__search button:hover {
    background: #0b2f86;
}

.bsr__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 12px;
}

.bsr__head h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bsx-ink);
    word-break: break-word;
}

.bsr__head span {
    font-size: 13px;
    color: var(--bsx-muted);
}

/* Tabs */
.bsr__tabs {
    position: sticky;
    top: var(--bnav-offset, 0px);
    z-index: 20;
    display: flex;
    gap: 6px;
    margin: 0 -4px 14px;
    padding: 8px 4px;
    overflow-x: auto;
    background: #f1f5f9;
    scrollbar-width: none;
}

.bsr__tabs::-webkit-scrollbar {
    display: none;
}

.bsr__tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid var(--bsx-line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bsr__tab i {
    font-size: 12px;
    color: var(--bsx-muted);
}

.bsr__tab span {
    padding: 1px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--bsx-muted);
    font-size: 11px;
}

.bsr__tab:hover {
    border-color: var(--bsx-navy);
}

.bsr__tab.is-active {
    border-color: var(--bsx-navy);
    background: var(--bsx-navy);
    color: #fff;
}

.bsr__tab.is-active i {
    color: #fff;
}

.bsr__tab.is-active span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.bsr__tab.is-empty {
    opacity: 0.6;
}

.bsr__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
}

.bsr__note i {
    margin-top: 3px;
}

/* Sections on the "All" tab */
.bsr__section {
    margin-bottom: 22px;
}

.bsr__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bsr__section-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bsx-ink);
}

.bsr__section-head h2 i {
    font-size: 0.9em;
    color: var(--bsx-navy);
}

.bsr__section-head h2 span {
    font-size: 12px;
    font-weight: 600;
    color: var(--bsx-muted);
}

.bsr__section-head a {
    color: var(--bsx-navy);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.bsr__section-head a:hover {
    text-decoration: underline;
}

/* Toolbar: facets + sort */
.bsr__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.bsr__facets {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.bsr__facets::-webkit-scrollbar {
    display: none;
}

.bsr__facet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px 11px;
    border: 1px solid var(--bsx-line);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.bsr__facet span {
    color: #94a3b8;
}

.bsr__facet:hover {
    border-color: var(--bsx-navy);
}

.bsr__facet.is-active {
    border-color: var(--bsx-navy);
    background: var(--bsx-hover);
    color: var(--bsx-navy);
}

.bsr__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
}

.bsr__sort label {
    font-size: 12px;
    font-weight: 600;
    color: var(--bsx-muted);
}

.bsr__sort select {
    height: 34px;
    padding: 0 30px 0 10px;
    border: 1px solid var(--bsx-line);
    border-radius: 8px;
    background-color: #fff;
    color: var(--bsx-ink);
    font-family: inherit;
    font-size: 13px;
}

.bsr__count {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--bsx-muted);
}

.bsr__count a {
    color: var(--bsx-navy);
    font-weight: 600;
}

/* Product / asset grid */
.bsr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.bsr-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bsx-line);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.bsr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(2, 26, 84, 0.45);
}

.bsr-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--bsx-soft);
}

.bsr-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bsr-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.bsr-badge--sale {
    background: #ef4444;
    color: #fff;
}

.bsr-badge--muted {
    top: auto;
    bottom: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
}

.bsr-badge--info {
    left: auto;
    right: 8px;
    background: #fff;
    color: var(--bsx-navy);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.bsr-card__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px 12px;
}

.bsr-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bsx-ink);
}

.bsr-card__meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--bsx-muted);
}

.bsr-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.bsr-card__price strong {
    font-size: 15px;
    color: var(--bsx-navy);
}

.bsr-card__price s {
    font-size: 12px;
    color: #94a3b8;
}

.bsr-card__rating {
    font-size: 12px;
    color: #475569;
}

.bsr-card__rating i {
    color: #f59e0b;
}

.bsr-card__rating em {
    font-style: normal;
    color: #94a3b8;
}

/* Business / job list */
.bsr-list {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--bsx-line);
    border-radius: 12px;
    background: #fff;
}

.bsr-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f6;
    color: inherit;
    text-decoration: none;
}

.bsr-row:last-child {
    border-bottom: none;
}

.bsr-row:hover {
    background: var(--bsx-soft);
}

.bsr-row__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--bsx-line);
    background: var(--bsx-soft);
    color: var(--bsx-navy);
    font-size: 18px;
}

.bsr-row__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bsr-row__logo--job {
    background: #eef2ff;
}

.bsr-row__body {
    flex: 1;
    min-width: 0;
}

.bsr-row__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--bsx-ink);
}

.bsr-verified {
    font-size: 13px;
    color: #2563eb;
}

.bsr-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 3px;
    font-size: 12px;
    color: var(--bsx-muted);
}

.bsr-star {
    color: #f59e0b;
}

.bsr-pill {
    padding: 1px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 600;
}

.bsr-row__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.bsr-row__chev {
    flex: 0 0 auto;
    font-size: 12px;
    color: #94a3b8;
}

/* Pager */
.bsr__pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.bsr__pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--bsx-line);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bsr__pager a:hover {
    border-color: var(--bsx-navy);
}

.bsr__pager a.is-active {
    border-color: var(--bsx-navy);
    background: var(--bsx-navy);
    color: #fff;
}

/* Empty states */
.bsr__empty {
    padding: 40px 20px;
    border: 1px solid var(--bsx-line);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    color: var(--bsx-muted);
}

.bsr__empty > i {
    display: block;
    margin-bottom: 12px;
    font-size: 34px;
    color: #cbd5e1;
}

.bsr__empty h2 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: var(--bsx-ink);
    word-break: break-word;
}

.bsr__empty p {
    margin: 0 0 8px;
    font-size: 14px;
}

.bsr__empty a {
    color: var(--bsx-navy);
    font-weight: 600;
}

.bsr__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.bsr__chips a {
    padding: 7px 13px;
    border: 1px solid var(--bsx-line);
    border-radius: 999px;
    background: var(--bsx-soft);
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bsr__chips a:hover {
    border-color: var(--bsx-navy);
    color: var(--bsx-navy);
}

@media (max-width: 640px) {
    .bsr {
        padding: 12px 0 calc(90px + env(safe-area-inset-bottom));
    }

    .bsr__wrap {
        width: calc(100% - 24px);
    }

    .bsr__search {
        margin-bottom: 12px;
    }

    .bsr__search input[type="search"] {
        height: 44px;
    }

    .bsr__search button {
        height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }

    .bsr__head h1 {
        font-size: 1.1rem;
    }

    .bsr__tab {
        padding: 6px 11px;
        font-size: 12px;
    }

    .bsr__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .bsr__sort {
        margin-left: 0;
    }

    .bsr__sort select {
        flex: 1;
    }

    .bsr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bsr-card__body {
        padding: 8px 10px 10px;
    }

    .bsr-card__title {
        font-size: 13px;
    }

    .bsr-card__price strong {
        font-size: 14px;
    }

    .bsr-row {
        gap: 12px;
        padding: 12px;
    }

    .bsr-row__logo {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .bsr-row__title {
        font-size: 14px;
    }

    .bsr-row__desc {
        font-size: 12px;
    }

    .bsr__pager a span {
        display: none;
    }
}
