/* Storefront theme "default": brands index (Brands templates "default" / "ssr"). Chips come from facets.css. */
.ec-bx { font-family: var(--ec-font); color: var(--ec-text); }
.ec-bx.ec-busy { opacity: 1; pointer-events: auto; }
.ec-bx.ec-busy .ec-bx-list { opacity: .45; }
.ec-bx-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; }
.ec-bx-head > div { display: flex; align-items: baseline; gap: 12px; }
.ec-bx-title { font-size: 20px; font-weight: 700; margin: 0; }
.ec-bx-count { font-size: 12px; color: var(--ec-muted); }
.ec-bx-search { display: flex; align-items: center; gap: 8px; width: min(420px, 100%); height: 44px; padding: 0 14px; border-radius: var(--ec-radius); background: var(--ec-page); }
.ec-bx-search i { color: var(--ec-muted); }
.ec-bx-search input { flex: 1; height: 100%; margin: 0; padding: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; font-family: inherit; font-size: 14px; color: var(--ec-text); min-width: 0; }
.ec-bx-search:focus-within { background: #fff; box-shadow: 0 0 0 1px var(--ec-primary) inset; }
.ec-bx-h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.ec-bx-h2 i { color: var(--ec-primary); }
.ec-bx-popular { border: 1px solid var(--ec-border); border-radius: var(--ec-radius-lg); padding: 16px; margin-bottom: 20px; }
.ec-bx-popular .ec-rail { gap: 12px; }
.ec-bx-popular .ec-bx-card { width: 150px; }
.ec-bx-tools { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ec-bx-cats { flex: 1 1 auto; min-width: 0; }
.ec-bx-cats .ec-rail-btn { width: 32px; height: 32px; }
.ec-bx-sort { flex: 0 0 auto; margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ec-muted); }
.ec-bx-sort select { height: 36px; border: 1px solid var(--ec-border); border-radius: var(--ec-radius); padding: 0 10px; font-family: inherit; font-size: 13px; color: var(--ec-text); background: #fff; }
.ec-bx-letters { position: sticky; top: var(--ec-sticky-top, 0px); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 0; background: #fff; border-bottom: 1px solid var(--ec-line); margin-bottom: 8px; }
.ec-bx-letters:empty { display: none; }
.ec-bx-letters a, .ec-bx-letters span { min-width: 32px; height: 32px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--ec-radius); font-size: 14px; font-weight: 700; }
.ec-bx-letters a { color: var(--ec-text) !important; background: var(--ec-page); }
.ec-bx-letters a:hover, .ec-bx-letters a.ec-active { background: var(--ec-primary); color: #fff !important; }
.ec-bx-letters a.ec-off, .ec-bx-letters span { color: #c0c2c5 !important; background: none; font-weight: 400; pointer-events: none; }
.ec-bx-group { padding: 16px 0 8px; scroll-margin-top: 140px; }
.ec-bx-letter { font-size: 18px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 12px; color: var(--ec-primary); }
.ec-bx-letter::after { content: ""; flex: 1; height: 1px; background: var(--ec-line); }
.ec-bx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ec-bx-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; border: 1px solid var(--ec-line); border-radius: var(--ec-radius-lg); background: #fff; text-align: center; transition: box-shadow .15s, border-color .15s; }
.ec-bx-card:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, .1); border-color: var(--ec-border); }
.ec-bx-logo { width: 88px; height: 88px; display: flex; align-items: center; justify-content: center; border-radius: var(--ec-radius); overflow: hidden; margin-bottom: 4px; }
.ec-bx-logo img { width: 100%; height: 100%; object-fit: contain; }
.ec-bx-logo i { font-size: 32px; color: var(--ec-muted); }
.ec-bx-card b { font-size: 13px; color: var(--ec-text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-bx-card small { font-size: 11px; color: var(--ec-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-bx-n { font-size: 11px; color: var(--ec-text-2); background: var(--ec-page); border-radius: 999px; padding: 0 10px; line-height: 22px; }
.ec-bx-empty { text-align: center; padding: 56px 16px; color: var(--ec-muted); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ec-bx-empty i { font-size: 48px; color: var(--ec-border); margin-bottom: 10px; }
.ec-bx-empty b { color: var(--ec-text); font-size: 15px; }
.ec-bx-pager { display: flex; justify-content: center; gap: 6px; margin: 24px 0 8px; }
.ec-bx .pagination { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; }
.ec-bx .pagination a, .ec-bx-pager .ec-page { min-width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ec-text-2); }
.ec-bx .pagination .active a, .ec-bx-pager .ec-page.ec-active { background: var(--ec-primary); color: #fff; }
@media (max-width: 767px) {
    .ec-bx-head { flex-direction: column; align-items: stretch; }
    .ec-bx-search { width: 100%; }
    .ec-bx-tools { flex-direction: column; align-items: stretch; gap: 10px; }
    .ec-bx-sort { margin-inline-start: 0; }
    .ec-bx-sort select { flex: 1; }
    .ec-bx-cats .ec-rail-btn { display: none; }
    .ec-bx-letters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .ec-bx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ec-bx-popular .ec-bx-card { width: 128px; }
    .ec-bx-logo { width: 72px; height: 72px; }
}
