/* Homepage shelves (Admin > CMS > Home Sections): compact cards like the app. */
.bkh-sec { margin: 0 0 30px; font-family: inherit; }
.bkh-head { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 12px; }
.bkh-head-txt { flex: 1; min-width: 0; }
#bm-tab-content .bkh-head h2 { margin: 0 !important; font-size: 20px !important; line-height: 1.2; }
.bkh-head p { margin: 4px 0 0; font-size: 13px; font-weight: 500; color: var(--bk-muted); }
.bkh-more { flex-shrink: 0; font-size: 13.5px; font-weight: 800; color: var(--bk-orange-deep, #D96F00); text-decoration: none; white-space: nowrap; padding: 4px 0; }
.bkh-more::after { content: " \2192"; }
.bkh-more:hover { color: var(--bk-orange); }
.bkh-arrows { display: none; gap: 6px; }
@media (hover: hover) and (min-width: 900px) { .bkh-arrows { display: flex; } .bkh-sec.no-scroll .bkh-arrows { display: none; } }
.bkh-arrows button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--bk-line); background: #fff; color: var(--bk-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bkh-arrows button:disabled { opacity: .35; cursor: default; }

/* Tracks */
.bkh-track { display: grid; gap: 12px; }
.bkh-l-rail .bkh-track, .bkh-feature .bkh-track {
    grid-auto-flow: column; grid-auto-columns: 168px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px;
}
.bkh-l-rail .bkh-track::-webkit-scrollbar, .bkh-feature .bkh-track::-webkit-scrollbar { display: none; }
.bkh-l-rail .bkh-card, .bkh-feature .bkh-card { scroll-snap-align: start; }
.bkh-l-grid .bkh-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bkh-l-grid .bkh-track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
    .bkh-l-grid .bkh-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .bkh-l-rail .bkh-track, .bkh-feature .bkh-track { grid-auto-columns: 132px; gap: 8px; margin-right: calc(-1 * var(--bk-gutter, 16px)); padding-right: var(--bk-gutter, 16px); }
}

/* Compact card */
.bkh-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--bk-line); border-radius: 16px; padding: 7px 7px 10px; transition: box-shadow .15s, transform .15s; }
.bkh-card:hover { box-shadow: 0 10px 24px -14px rgba(15, 42, 74, .35); transform: translateY(-1px); }
.bkh-card.is-bone { min-height: 236px; border-color: transparent; background: linear-gradient(90deg, #F1EEE8 0%, #F8F6F2 50%, #F1EEE8 100%); background-size: 200% 100%; animation: bkh-shim 1.2s linear infinite; }
@keyframes bkh-shim { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.bkh-media { position: relative; }
.bkh-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 11px; background: var(--bk-sand); color: #C2B8A8; overflow: hidden; }
.bkh-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bkh-tick { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--bk-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.bkh-heart { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: #9AA2AE; fill: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(15, 42, 74, .15); }
.bkh-heart.on { color: #E5484D; fill: #E5484D; }
.bkh-add { position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: var(--bk-orange); color: var(--bk-orange-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 8px rgba(253, 130, 0, .35); text-decoration: none; }
.bkh-add:hover { background: #FF9426; }
.bkh-name { margin: 9px 3px 0; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--bk-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.bkh-price { margin: 6px 3px 0; font-size: 14.5px; line-height: 1.2; color: var(--bk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bkh-price b { font-weight: 800; letter-spacing: -.2px; }
.bkh-price small { font-size: 11.5px; font-weight: 600; color: var(--bk-muted); margin-left: 2px; }
.bkh-soft { font-size: 11.5px; font-weight: 600; color: var(--bk-muted); white-space: normal; }
.bkh-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: auto 3px 0; padding-top: 8px; }
.bkh-sup { font-size: 11.5px; font-weight: 700; color: var(--bk-green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bkh-quote { flex-shrink: 0; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 12px; font-weight: 800; color: var(--bk-navy); cursor: pointer; text-decoration: none; }
.bkh-quote:hover { color: var(--bk-orange-deep, #D96F00); }
@media (max-width: 720px) {
    .bkh-card { padding: 5px 5px 8px; border-radius: 14px; }
    .bkh-name { font-size: 12px; margin-top: 7px; }
    .bkh-price { font-size: 13px; }
    .bkh-add { width: 28px; height: 28px; border-radius: 9px; right: 5px; bottom: 5px; }
    .bkh-heart { width: 24px; height: 24px; top: 5px; right: 5px; }
    .bkh-heart svg { width: 13px; height: 13px; }
    .bkh-foot { flex-wrap: wrap; }
    .bkh-card.is-bone { min-height: 200px; }
}

/* Feature: navy panel, copy on the left, a row of cards on the right. */
.bkh-feature { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px; border-radius: 22px; color: #fff;
    background: radial-gradient(120% 140% at 0% 0%, #1B5A99 0%, var(--bk-navy) 45%, #0B2F55 100%); box-shadow: 0 18px 40px -26px rgba(11, 47, 85, .8); overflow: hidden; }
.bkh-feature-copy { padding: 4px 4px 4px 6px; }
#bm-tab-content .bkh-feature h2 { margin: 0 !important; color: #fff !important; font-size: 24px !important; line-height: 1.15; letter-spacing: -.5px; }
.bkh-feature p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.bkh-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--bk-orange); color: var(--bk-orange-ink); font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 6px 16px -6px rgba(253, 130, 0, .7); }
.bkh-cta:hover { background: #FF9426; }
.bkh-feature .bkh-card { border-color: transparent; }
.bkh-feature .bkh-card.is-bone { background: rgba(255, 255, 255, .12); animation: none; }
@media (max-width: 720px) {
    .bkh-feature { grid-template-columns: 1fr; gap: 14px; padding: 18px 0 16px 16px; border-radius: 20px; margin: 0 calc(-1 * var(--bk-gutter, 16px)); border-radius: 0; }
    .bkh-feature-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 0 16px 0 0; }
    .bkh-feature-copy > div { flex: 1; }
    #bm-tab-content .bkh-feature h2 { font-size: 20px !important; flex: 1 1 60%; }
    .bkh-feature p { flex-basis: 100%; order: 3; margin: 0; }
    .bkh-cta { margin: 0; height: 36px; padding: 0 14px; font-size: 13px; order: 2; }
    .bkh-feature .bkh-track { margin-right: 0; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .bkh-card, .bkh-card.is-bone { transition: none; animation: none; } }

/* ── Supplier card (components/tiles/supplier.blade.php) ───────────── */
.bm-product-grid:has(> .bks-card) { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: 14px !important; }
@media (max-width: 560px) { .bm-product-grid:has(> .bks-card) { grid-template-columns: 1fr !important; gap: 10px !important; } }
.bks-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--bk-line); border-radius: 18px; text-decoration: none !important; color: var(--bk-ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.bks-card:hover { transform: translateY(-2px); border-color: #DCD5CA; box-shadow: 0 14px 30px -18px rgba(15, 42, 74, .45); }
.bks-card.is-sponsored { border-color: rgba(253, 130, 0, .55); }
.bks-cover { position: relative; display: block; height: 58px; background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 18px 18px,
    radial-gradient(120% 160% at 100% 0%, #2A6DB0 0%, var(--bk-navy) 48%, #0B2F55 100%); }
.bks-tag { position: absolute; top: 9px; left: 10px; padding: 3px 8px; border-radius: 8px; background: var(--bk-orange); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; }
.bks-delivers { position: absolute; top: 9px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 11px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 11px; font-weight: 700; backdrop-filter: blur(6px); }
.bks-delivers i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; }
.bks-logo { position: absolute; top: 30px; left: 14px; width: 52px; height: 52px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(15, 42, 74, .45); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bks-logo b { font-size: 21px; font-weight: 800; color: var(--bk-navy); background: linear-gradient(135deg, #FFE7CC, #FFD3A3); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.bks-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bks-body { display: flex; flex-direction: column; gap: 5px; padding: 30px 14px 10px; min-width: 0; }
.bks-name { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 15px; font-weight: 800; line-height: 1.25; letter-spacing: -.2px; }
.bks-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bks-tick { flex-shrink: 0; color: #1D9BF0; }
.bks-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--bk-muted); font-weight: 500; }
.bks-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 8px 2px -6px; border-radius: 50%; background: #C4C9D0; vertical-align: middle; }
.bks-rating { color: var(--bk-ink); }
.bks-rating b { font-weight: 800; }
.bks-rating, .bks-rating::first-letter { }
.bks-cats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.bks-cats i { font-style: normal; padding: 3px 8px; border-radius: 8px; background: var(--bk-sand); color: #5B4B36; font-size: 11.5px; font-weight: 700; }
.bks-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.bks-pill { padding: 3px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 700; }
.bks-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 10px 14px 12px; border-top: 1px solid #F1EEE8; }
.bks-stat { min-width: 0; font-size: 12px; color: var(--bk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bks-stat b { color: var(--bk-green); font-weight: 800; }
.bks-go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; color: var(--bk-orange-deep, #D96F00); }
.bks-card:hover .bks-go svg { transform: translateX(2px); }
.bks-go svg { transition: transform .15s; }

/* ══ Search results (search/index.blade.php) ══════════════════════════ */
.bsr { --bsr-wrap: var(--bk-wrap, 1320px); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--bk-ink); }
.bsr-wrap { max-width: var(--bsr-wrap); margin: 0 auto; padding: 0 var(--bk-gutter, 24px); }
.bsr-hero { position: relative; overflow: hidden; color: #fff; padding: 26px 0 0;
    background:
        radial-gradient(60% 120% at 85% 0%, rgba(91, 155, 230, .30), transparent 60%),
        radial-gradient(40% 90% at 0% 100%, rgba(253, 130, 0, .16), transparent 60%),
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(135deg, #0E3A68, var(--bk-navy) 55%, #17508A); }
.bsr-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.bsr-title { margin: 4px 0 0 !important; font-size: clamp(26px, 4vw, 40px) !important; line-height: 1.05 !important; font-weight: 800 !important; letter-spacing: -1px; color: #fff !important; word-break: break-word; }
.bsr-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 18px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.bsr-pin { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 13px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: 12.5px; color: #fff; }
.bsr-pin i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; }
.bsr-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bsr-tabs::-webkit-scrollbar { display: none; }
.bsr-tab { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border: 0; border-radius: 14px 14px 0 0; background: transparent; color: rgba(255, 255, 255, .78); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.bsr-tab span { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(255, 255, 255, .14); font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center; }
.bsr-tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.bsr-tab.is-active { background: var(--bk-paper, #FBFAF7); color: var(--bk-ink); }
.bsr-tab.is-active span { background: var(--bk-orange); color: #fff; }

.bsr-bar { position: sticky; top: 0; z-index: 60; background: rgba(251, 250, 247, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--bk-line); }
.bsr-bar-in { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.bsr-fbtn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--bk-ink); border-radius: 18px; background: #fff; color: var(--bk-ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.bsr-fbtn b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bk-orange); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.bsr-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 24px; }
.bsr-chips::-webkit-scrollbar { display: none; }
.bsr-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--bk-line); border-radius: 17px; background: #fff; color: var(--bk-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.bsr-chip small { font-size: 11px; font-weight: 800; color: var(--bk-muted); }
.bsr-chip svg { color: var(--bk-green); }
.bsr-chip:hover { border-color: #CFC8BC; }
.bsr-chip.on { background: var(--bk-ink); border-color: var(--bk-ink); color: #fff; }
.bsr-chip.on svg { color: #fff; }
.bsr-clear { flex-shrink: 0; border: 0; background: none; padding: 0 6px; font: inherit; font-size: 13px; font-weight: 800; color: var(--bk-orange-deep, #D96F00); cursor: pointer; }
.bsr-sort { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 4px 0 12px; border: 1px solid var(--bk-line); border-radius: 18px; background: #fff; font-size: 12.5px; color: var(--bk-muted); font-weight: 600; }
.bsr-sort select { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 800; color: var(--bk-ink); padding: 0 6px; cursor: pointer; outline: none; }

.bsr-main { padding-top: 22px; padding-bottom: 56px; }
.bsr-count { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--bk-muted); }
.bsr-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .bsr-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 980px) { .bsr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .bsr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 360px) { .bsr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bsr-strip { margin: 0 0 26px; }
.bsr-strip-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bsr-strip-h h2 { margin: 0 !important; font-size: 17px !important; font-weight: 800 !important; letter-spacing: -.3px; color: var(--bk-ink) !important; }
.bsr-strip-h small { font-size: 12px; color: var(--bk-muted); }
.bsr-strip-h button { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 800; color: var(--bk-orange-deep, #D96F00); cursor: pointer; }
.bsr-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.bsr-rail::-webkit-scrollbar { display: none; }
.bsr-rail > * { scroll-snap-align: start; }
@media (max-width: 720px) { .bsr-rail { grid-auto-columns: 82%; margin-right: calc(-1 * var(--bk-gutter, 16px)); padding-right: var(--bk-gutter, 16px); } }

.bsr-empty { max-width: 460px; margin: 30px auto; padding: 34px 24px; text-align: center; background: #fff; border: 1px solid var(--bk-line); border-radius: 22px; }
.bsr-empty > span { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 18px; background: rgba(17, 67, 118, .08); color: var(--bk-navy); margin-bottom: 12px; }
.bsr-empty h3 { margin: 0 0 6px !important; font-size: 17px !important; font-weight: 800 !important; color: var(--bk-ink) !important; }
.bsr-empty p { margin: 0 auto; max-width: 38ch; font-size: 13.5px; line-height: 1.5; color: var(--bk-muted); }
.bsr-empty-cta { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.bsr-empty-cta:empty { display: none; }
.bsr-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; background: var(--bk-orange); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.bsr-btn:hover { background: #FF9426; }
.bsr-btn.ghost { background: #fff; border-color: var(--bk-ink); color: var(--bk-ink); }
.bsr-link { font-size: 13px; font-weight: 800; color: var(--bk-navy); }

.bsr-sheet-bd { display: none; position: fixed; inset: 0; z-index: 998; background: rgba(15, 42, 74, .42); }
.bsr-sheet-bd.open { display: block; }
.bsr-sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 999; width: 400px; max-width: 100vw; display: flex; flex-direction: column; background: var(--bk-paper, #FBFAF7); transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
.bsr-sheet.open { transform: none; box-shadow: -16px 0 40px rgba(15, 42, 74, .2); }
.bsr-sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px 18px; }
.bsr-sheet-h h3 { margin: 0 !important; font-size: 18px !important; font-weight: 800 !important; color: var(--bk-ink) !important; }
.bsr-x { width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: var(--bk-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bsr-x:hover { background: rgba(15, 42, 74, .06); }
.bsr-sheet-b { flex: 1; overflow-y: auto; padding: 4px 18px 20px; }
.bsr-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 14px; background: #fff; border: 1px solid var(--bk-line); border-radius: 14px; cursor: pointer; }
.bsr-switch-row b { display: block; font-size: 14px; font-weight: 800; color: var(--bk-ink); }
.bsr-switch-row small { display: block; margin-top: 2px; font-size: 12px; color: var(--bk-muted); }
.bsr-switch { position: relative; width: 46px; height: 28px; flex-shrink: 0; }
.bsr-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.bsr-switch i { position: absolute; inset: 0; border-radius: 14px; background: #D9D4CB; transition: background .2s; }
.bsr-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.bsr-switch input:checked + i { background: var(--bk-orange); }
.bsr-switch input:checked + i::after { transform: translateX(18px); }
.bsr-group { margin-top: 14px; }
.bsr-group-h { margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--bk-muted); }
.bsr-group-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bsr-pick { position: relative; cursor: pointer; }
.bsr-pick input { position: absolute; opacity: 0; pointer-events: none; }
.bsr-pick span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--bk-line); border-radius: 16px; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--bk-ink); transition: background .15s, border-color .15s; }
.bsr-pick input:checked + span { background: var(--bk-ink); border-color: var(--bk-ink); color: #fff; }
.bsr-pick input:focus-visible + span { outline: 2px solid var(--bk-navy); outline-offset: 2px; }
.bsr-sheet-f { display: flex; gap: 8px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bk-line); background: #fff; }
.bsr-sheet-f .bsr-btn { flex: 1; }

@media (max-width: 720px) {
    .bsr-hero { padding-top: 18px; }
    .bsr-sum { margin-bottom: 14px; font-size: 13px; }
    .bsr-tab { height: 40px; padding: 0 12px; font-size: 13px; }
    .bsr-sort span { display: none; }
    .bsr-sort { padding-left: 4px; }
    .bsr-fbtn { padding: 0 12px; }
    .bsr-main { padding-top: 16px; }
}

/* Search filter bar sits under the phone top bar (fixed, 96px). */
@media (max-width: 1024px) { .bsr-bar { top: 96px; } }
/* Supplier store page: phone-sized title. */
@media (max-width: 720px) { .sp-h1 { font-size: 24px !important; line-height: 1.15 !important; letter-spacing: -.4px !important; } }
