/* 2026-10-28 reference-matched brand landing: intentionally scoped */
.by-brands-page {
    --bb-blue: #0b286f;
    --bb-accent: #e52126;
    --bb-soft: #edf4ff;
    --bb-border: #d8e4f5;
    color: #243653;
    font-size: 14px
}

.by-brands-page h1,
.by-brands-page h2,
.by-brands-page h3 {
    color: var(--bb-blue);
    font-weight: 800
}

.by-brands-page .container {
    max-width: 1320px
}

.by-brands-hero {
    background-image: url('../../images/product_brand/hero-building.webp');
    background-position: center;
    background-size: cover;
    overflow: hidden
}

.by-brands-hero .row {
    min-height: 340px
}

.by-brands-hero .col-lg-6:first-child {
    position: relative;
    z-index: 2
}

.by-brands-hero .breadcrumb {
    margin-bottom: 18px;
    font-size: 11px;
    color: #76879d
}

.by-brands-hero h1 {
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.25;
    max-width: 620px;
    margin: 7px 0 12px
}

.by-brands-hero p {
    max-width: 560px;
    font-size: 13px;
    line-height: 1.75;
    color: #5d6980
}

.by-brands-eyebrow {
    display: inline-block;
    font-weight: 800;
    font-size: 11px;
    color: #1643a5;
    letter-spacing: .06em
}

.by-brands-hero-image {
    display: block;
    width: calc(100% + 120px);
    max-width: none;
    height: 340px;
    object-fit: cover;
    border-radius: 0;
    margin-left: -18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%)
}

.by-brands-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: 14px;
    margin-top: 23px
}

.by-brands-stats>div {
    padding: 15px 7px;
    border-radius: 8px;
    border: 1px solid #dae4f1;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 7px rgba(26, 58, 115, .025)
}

.by-brands-stats strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #0b286f;
    line-height: 1.2
}

.by-brands-stats span {
    display: block;
    margin-top: 5px;
    color: #4b648c;
    font-size: 11px
}

.by-brands-switch {
    background: #edf4ff;
    padding: 14px 0
}

.by-brands-switch .container {
    gap: 10px !important
}

.by-brands-switch a {
    min-width: 195px;
    border-radius: 5px;
    border: 1px solid #bdcff2;
    padding: 12px 22px;
    background: #fff;
    color: #153d91;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none
}

.by-brands-switch a.active,
.by-brands-switch a:hover {
    background: #122e79;
    color: #fff;
    border-color: #122e79
}

.by-brands-jump {
    padding: 22px 0 25px;
    background: #fff
}

.by-brands-jump h2 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #1c397d
}

.by-brands-jump .by-brands-chips {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
    align-items: center
}

.by-brands-jump .by-brands-chips .by-brands-chip-with-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    height: 55px;
    min-width: 0;
    border: 0;
    background: transparent;
    border-radius: 5px;
    text-decoration: none;
    transition: background .2s, transform .2s
}

.by-brands-jump .by-brands-chips .by-brands-chip-with-image:hover {
    background: #f0f5ff;
    transform: translateY(-2px)
}

.by-brands-chip-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 47px;
    overflow: hidden;
    background: transparent
}

.by-brands-chip-photo .by-product-photo {
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.by-brands-chip-photo .by-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 11px
}

.by-brands-group {
    padding: 27px 0 32px;
    background: #fff
}

.by-brands-group.by-brands-alt {
    background: #edf4ff
}

.by-brands-heading {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px
}

.by-brands-heading>i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    font-size: 32px;
    color: #1b4696;
    line-height: 1
}

.by-brands-heading h2 {
    font-size: 23px;
    margin: 0 0 5px;
    line-height: 1.25
}

.by-brands-heading p {
    font-size: 12px;
    color: #67748a;
    line-height: 1.55;
    margin: 0
}

.by-brands-group .row.g-3 {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px
}

.by-brands-card {
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bb-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    scroll-margin-top: 90px;
    transition: box-shadow .2s, transform .2s
}

.by-brands-card:hover {
    box-shadow: 0 12px 28px rgba(8, 39, 101, .12);
    transform: translateY(-2px)
}

.by-brands-photo {
    height: 165px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px 2px;
    background: #fff
}

.by-brands-photo .by-product-photo {
    height: 100%;
    width: 100%;
    max-height: 150px;
    object-fit: contain
}

.by-brands-photo .by-photo-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #f6f9fe;
    color: #295490
}

.by-brands-card-body {
    padding: 11px 16px 15px;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0
}

.by-brands-card h3 {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 5px;
    text-transform: uppercase;
    overflow-wrap: anywhere
}

.by-brands-card p {
    font-size: 12px;
    color: #526078;
    line-height: 1.6;
    margin: 0 0 8px;
    min-height: 38px
}

.by-brands-count {
    font-size: 12px;
    color: #2454b2;
    font-weight: 600;
    margin: 2px 0 0
}

.by-brands-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0
}

.by-brands-tags span {
    display: inline-flex;
    background: #eaf1ff;
    padding: 5px 9px;
    border-radius: 5px;
    color: #26529c;
    font-weight: 600;
    font-size: 10px;
    line-height: 1.35
}

.by-brands-view {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    color: #123a88;
    text-decoration: none;
    font-size: 12px;
    margin-top: auto;
    padding-top: 14px
}

.by-brands-view:hover {
    color: #e52126
}

.by-brands-extra-image {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    padding: 13px;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--bb-border);
    border-radius: 8px;
    background: #fff;
    color: #153a7e;
    scroll-margin-top: 90px
}

.by-brands-extra-photo {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff
}

.by-brands-extra-photo .by-product-photo {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.by-brands-extra-image strong {
    font-size: 13px;
    overflow-wrap: anywhere
}

.by-brands-extra-image span {
    font-size: 11px;
    margin-top: auto
}

.by-brands-authorized,
.by-brands-spares,
.by-brands-faq {
    padding: 38px 0
}

.by-brands-authorized {
    background: #edf4ff
}

.by-brands-spares {
    background: #fff
}

.by-brands-faq {
    background: #f8fbff
}

.by-brands-authorized img,
.by-brands-spares img {
    display: block;
    width: 100%;
    height: 275px;
    object-fit: cover;
    border-radius: 8px
}

.by-brands-authorized h2,
.by-brands-spares h2,
.by-brands-faq h2 {
    font-size: 25px;
    margin: 7px 0 9px
}

.by-brands-authorized p,
.by-brands-spares p,
.by-brands-faq p {
    font-size: 13px;
    line-height: 1.7;
    color: #647086
}

.by-brands-authorized .bi-check-circle-fill,
.by-brands-benefits i {
    color: #e52126;
    margin-right: 6px
}

.by-brands-authorized .row.gy-2 {
    font-size: 12px;
    font-weight: 600
}

.by-brands-find {
    display: flex;
    width: 100%;
    max-width: 630px;
    border: 1px solid var(--bb-border);
    border-radius: 6px;
    overflow: hidden;
    background: #fff
}

.by-brands-find input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 12px 15px;
    outline: none;
    font-size: 13px
}

.by-brands-find button {
    padding: 0 20px;
    border: 0;
    background: #e52126;
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

.by-brands-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 15px;
    font-size: 11px
}

.by-brands-faq .accordion-item {
    border: 1px solid var(--bb-border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px
}

.by-brands-faq .accordion-button {
    color: #123579;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 15px
}

.by-brands-faq .accordion-body {
    font-size: 12px
}

@media(max-width:991.98px) {
    .by-brands-hero-image {
        width: 100%;
        margin: 0;
        height: 210px;
        mask-image: none;
        -webkit-mask-image: none;
        border-radius: 8px
    }

    .by-brands-hero .row {
        min-height: 0
    }

    .by-brands-jump .by-brands-chips {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .by-brands-photo {
        height: 150px
    }
}

@media(max-width:575.98px) {
    .by-brands-hero h1 {
        font-size: 28px
    }

    .by-brands-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px
    }

    .by-brands-stats>div {
        padding: 12px 4px
    }

    .by-brands-stats strong {
        font-size: 21px
    }

    .by-brands-switch a {
        min-width: 0;
        flex: 1;
        font-size: 12px;
        padding: 11px 5px
    }

    .by-brands-jump .by-brands-chips {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px
    }

    .by-brands-jump .by-brands-chips .by-brands-chip-with-image {
        padding: 4px;
        height: 50px
    }

    .by-brands-chip-photo {
        height: 43px
    }

    .by-brands-heading {
        gap: 10px
    }

    .by-brands-heading>i {
        min-width: 38px;
        font-size: 25px
    }

    .by-brands-heading h2 {
        font-size: 20px
    }

    .by-brands-card-body {
        padding: 11px 12px 14px
    }

    .by-brands-photo {
        height: 142px
    }

    .by-brands-authorized img,
    .by-brands-spares img {
        height: 210px
    }

    .by-brands-find button {
        padding: 0 12px
    }

    .by-brands-group,
    .by-brands-authorized,
    .by-brands-spares,
    .by-brands-faq {
        padding: 28px 0
    }
}