.brand-breadcrumb {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--nav-mega-top, 140px) !important;
    z-index: 950 !important;
    background: #ffffff !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
}

.kp-mobile-breadcrumb {
    background: #ffffff !important;
    padding: 8px 0 2px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.brand-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.brand-breadcrumb a:hover {
    text-decoration: underline;
}

.brand-breadcrumb span {
    color: var(--accent);
}

/* ═══════════════════════════════════════════
   BRAND DIRECTORY — Premium Grid & Card Layout
   ═══════════════════════════════════════════ */

/* Explore All Brands Title Row */
.brand-directory-title-row h2 {
    font-size: 48px !important;
    font-weight: 600 !important;
    color: #173158 !important;
    margin: 0 !important;
}

.brand-directory-title-row {
    position: relative;
    z-index: 920;
}

.cat-filter-btn {
    width: 300px;
    height: 48px;
    min-width: 300px;
    flex: 0 0 300px;
    padding: 0 18px;
    border: 1px solid #BAC2CD;
    border-radius: 0 !important;
    background: #fff;
    color: #183158;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.cat-filter-btn:hover,
.cat-filter-btn.is-open {
    border-color: #BAC2CD;
    background: #fff;
}

.cat-filter-btn.is-open {
    border-bottom-color: transparent !important;
    z-index: 601;
}

/* ─── Filter Dropdown Wrapper ─── */
.cat-filter-dropdown-wrap {
    position: relative;
    display: inline-block;
    z-index: 925;
}

/* ─── Toggle icon: + by default, – when open ─── */
.cat-filter-toggle .cat-filter-icon {
    display: inline-block;
    flex-shrink: 0;
}

.cat-filter-toggle .cat-icon-minus {
    display: none;
}

.cat-filter-toggle.is-open .cat-icon-plus {
    display: none;
}

.cat-filter-toggle.is-open .cat-icon-minus {
    display: inline-block;
}

/* ─── Dropdown Panel ─── */
.cat-filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 100%;
    background: #fff;
    border: 1px solid #BAC2CD;
    border-top: none;
    border-radius: 0 !important;
    z-index: 930;
}

/* ─── Selected count row ─── */
.cat-fdd-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #F7F8F9;
    margin: 12px 16px 8px;
    border-bottom: none;
}

.cat-fdd-count-text {
    font-size: 14px;
    color: #183158;
    font-family: var(--cat-font);
    font-weight: 400;
}

.cat-fdd-count {
    font-weight: 500;
    color: #E83161;
    font-size: 16px;
    margin-right: 2px;
}

.cat-fdd-reset {
    font-size: 14px;
    font-weight: 500;
    color: #E83161;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--cat-font);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.cat-fdd-reset:hover {
    text-decoration: underline;
}

/* ─── Checkbox list ─── */
.cat-fdd-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 4px 0 6px;
}

.cat-fdd-list::-webkit-scrollbar {
    width: 4px;
}

.cat-fdd-list::-webkit-scrollbar-track {
    background: #F7F8F9;
}

.cat-fdd-list::-webkit-scrollbar-thumb {
    background: #BAC2CD;
}

.cat-fdd-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 16px;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
    transition: background 0.12s;
}

.cat-fdd-item:hover {
    background: #F7F8F9;
}

.cat-fdd-item:hover .cat-fdd-item-label {
    color: #E83161;
}

/* Hide native checkbox */
.cat-fdd-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom checkbox box */
.cat-fdd-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #BAC2CD;
    background: #fff;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.cat-fdd-checkbox:checked+.cat-fdd-box {
    background: #fff;
    border-color: #E83161;
}

.cat-fdd-checkbox:checked+.cat-fdd-box::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #E83161;
}

.cat-fdd-item-label {
    font-size: 14px;
    color: #183158;
    font-family: var(--cat-font);
    transition: color 0.15s;
    line-height: 1.45;
    flex: 1;
}



/* Alphabet Filter (60x60 boxes) */
.brand-filter-shell {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: calc(var(--nav-mega-top, 140px) + 51px) !important;
    z-index: 900 !important;
    background: #ffffff !important;
    padding: 10px 0 !important;
    /* display: flex !important; */
    flex-wrap: wrap !important;
    gap: 3px !important;
    margin-bottom: 50px;
}

.mobile-filter-buttons-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: calc(var(--nav-mega-top, 9.25rem) + 31px) !important;
    z-index: 900 !important;
    background: #ffffff !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0;
}

.brand-filter-pill {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    display: flex !important;
    align-items: end !important;
    justify-content: end !important;
    background: #F7F8F9 !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #152C50 !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    padding: 0 15px 5px 0;
}

.brand-filter-pill.is-active {
    background: #E83161 !important;
    color: #FFF !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    padding: 0px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Letter Section Title (A, B, C...) */
.brand-letter-title {
    font-size: 60px !important;
    font-weight: 600 !important;
    color: #152C50 !important;
    margin: 0 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Brand Card Grid (200x107px) */
.brand-grid-row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
}

.brand-card {
    width: 200px !important;
    height: 107px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    /* border: 1px solid #EDEDED !important; */
    border-radius: 0 !important;
    background: #FFF !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    text-decoration: none !important;
    margin: 0 25px 20px 0px;
}

.brand-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

@media (min-width: 1640px) {
    .brand-grid-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px 88px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .brand-reveal {
        padding: 0 !important;
    }

    .brand-card {
        margin: 0 0 20px 0 !important;
    }
}

/* Logo Box (200x80px) */
.brand-card-logo-box {
    width: 200px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* border-bottom: 1px solid #F0F0F0 !important; */
    overflow: hidden;
}

.brand-card-image {
    max-width: 85% !important;
    max-height: 85% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
    transition: none !important;
}

.brand-card:hover .brand-card-image {
    transform: none !important;
}

.brand-card-initials {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F7F8F9 !important;
    color: #152C50 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* Name Box (remaining height: 27px) */
.brand-card-name-box {
    width: 100% !important;
    height: 27px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #173158 !important;
    background: #FFF !important;
    text-align: center;
    padding: 0 5px;
}

/* Mobile Specific Brands Design */
@media (max-width: 711.98px) {

    .cat-fdd-count-text {
        font-size: 12px;
        color: #183158;
        font-family: var(--cat-font);
        font-weight: 400;
    }

    .cat-fdd-count {
        font-size: 16px;
        color: #E83161;
        font-weight: 500;
        line-height: 1;
    }

    .kp-mobile-brand-title {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #152C50 !important;
        margin-bottom: 0 !important;
    }

    .kp-mobile-filter-box {
        width: 156px !important;
        height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
        background: #F7F8F9 !important;
        border: 1px solid #EDEDED !important;
        font-size: 12px !important;
        color: #152C50 !important;
        text-decoration: none !important;
        font-weight: 500 !important;
    }

    .kp-mobile-az-dropdown {
        background: #fff !important;
        border: 1px solid #BAC2CD !important;
        padding: 0 !important;
        max-height: 300px;
        margin-top: 0 !important;
    }

    .kp-mobile-az-dropdown .az-fdd-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 10px;
        margin: 14px 14px 0px 14px;
        background: #F7F8F9;
        /* border-bottom: 1px solid #E8ECF0; */
    }

    .kp-mobile-az-dropdown .az-fdd-count-text {
        font-size: 14px;
        color: #183158;
        font-family: var(--cat-font);
        font-weight: 400;
    }

    .kp-mobile-az-dropdown .az-fdd-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        margin-right: 6px;
        /* border: 1px solid #BAC2CD; */
        /* background: #fff; */
        font-size: 12px;
        line-height: 1;
        color: #E83161;
        font-weight: 500;
        vertical-align: middle;
    }

    .kp-mobile-az-dropdown .az-fdd-reset {
        font-size: 14px;
        color: #E83161;
        font-weight: 500;
        text-decoration: none;
        font-family: var(--cat-font);
        line-height: 1;
    }

    .kp-mobile-az-dropdown .az-fdd-list {
        max-height: 240px;
        overflow-y: auto;
        padding: 6px 0;
        scrollbar-color: #E83161 #F7F8F9;
    }

    .kp-mobile-az-dropdown .az-fdd-list::-webkit-scrollbar {
        width: 4px;
    }

    .kp-mobile-az-dropdown .az-fdd-list::-webkit-scrollbar-track {
        background: #F7F8F9;
    }

    .kp-mobile-az-dropdown .az-fdd-list::-webkit-scrollbar-thumb {
        background: #E83161;
    }

    .kp-mobile-az-dropdown .az-fdd-item.brand-filter-pill {
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        padding: 9px 16px !important;
        margin: 0 !important;
        background: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 11px !important;
        text-decoration: none !important;
        border-radius: 0 !important;
    }

    .kp-mobile-az-dropdown .az-fdd-box {
        width: 16px;
        height: 16px;
        min-width: 16px;
        border: 1.5px solid #BAC2CD;
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .kp-mobile-az-dropdown .az-fdd-item-label {
        font-size: 14px;
        line-height: 1.45;
        color: #183158;
        font-weight: 400;
    }

    .kp-mobile-az-dropdown .az-fdd-item.brand-filter-pill:hover {
        background: #F7F8F9 !important;
    }

    .kp-mobile-az-dropdown .az-fdd-item.brand-filter-pill.is-active {
        background: #fff !important;
        color: #183158 !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 9px 16px !important;
    }

    .kp-mobile-az-dropdown .az-fdd-item.brand-filter-pill.is-active .az-fdd-box {
        border-color: #E83161;
    }

    .kp-mobile-az-dropdown .az-fdd-item.brand-filter-pill.is-active .az-fdd-box::after {
        content: '';
        width: 8px;
        height: 8px;
        background: #E83161;
        display: block;
    }

    .cat-filter-dropdown-menu .cat-fdd-list {
        scrollbar-color: #E83161 #F7F8F9;
    }

    .cat-filter-dropdown-menu .cat-fdd-list::-webkit-scrollbar {
        width: 12px;
    }

    .cat-filter-dropdown-menu .cat-fdd-list::-webkit-scrollbar-track {
        background: #F7F8F9;
    }

    .cat-filter-dropdown-menu .cat-fdd-list::-webkit-scrollbar-thumb {
        background: #E83161;
    }

    .brand-letter-title {
        font-size: 42px !important;
    }

    .brand-grid-row {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 15px;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }

    .brand-card {
        width: 100px !important;
        height: auto !important;
        border: none !important;
        background: transparent !important;
        margin: 0 0 20px 0 !important;
    }

    .brand-card-logo-box {
        width: 100px !important;
        height: 40px !important;
        border: none !important;
        background: transparent !important;
    }

    .brand-card-image {
        width: 100px !important;
        height: 40px !important;
        object-fit: contain !important;
    }

    .brand-card-name-box {
        height: auto !important;
        font-size: 10px !important;
        background: transparent !important;
        padding: 5px 0 0 0 !important;
        color: #152C50 !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .brand-letter-anchor {
        width: 100% !important;
        max-width: 322px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Animation Reveal */
.brand-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.brand-letter-count {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {

    .brand-card,
    .brand-card:hover,
    .brand-card-image,
    .brand-card:hover .brand-card-image,
    .brand-card-initials,
    .brand-reveal,
    .brand-letter-anchor.is-in-view .brand-reveal,
    .brand-letter-title,
    .brand-letter-anchor.is-in-view .brand-letter-title,
    .brand-letter-count {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }
}

.brand-letter-anchor {
    scroll-margin-top: 80px;
}

.brand-pagination {
    display: none !important;
}

.brand-pagination nav {
    width: 100%;
}

.brand-pagination nav>.d-none.flex-sm-fill.d-sm-flex.align-items-sm-center.justify-content-sm-between {
    width: 100%;
}

.brand-pagination .pagination {
    margin-top: 0;
    margin-bottom: 0;
    gap: 0.5rem;
    justify-content: center;
}

.brand-pagination .page-item {
    margin: 0;
}

.brand-pagination .page-link {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: var(--kp-navy);
    background: #f9fafb;
    padding: 0;
    transition: all 0.25s ease;
}

.brand-pagination .page-link:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.brand-pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.brand-pagination .page-item.disabled .page-link {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #d1d5db;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .brand-pagination .page-link span {
        display: none;
    }

    .brand-pagination .page-link {
        padding: 0 12px !important;
        min-width: 40px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Laptop Screen Overrides (992px to 1639.98px)
   Mirrors the same range used by the /categories page so the brand
   hero banner and the brand directory fit the laptop viewport without
   being clipped by the global 1640px .kp-container width. PC (≥1640px)
   and mobile (<768px) layouts are not touched.
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 992px) and (max-width: 1639.98px) {

    /* Containers: make fluid for the laptop range */
    .kp-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    /* Brand hero banner — convert the fixed inline 1230 + 10 + 400 (= 1640px)
       layout into a fluid flex layout that fills the available container. */
    .hero-section .d-md-flex.align-items-stretch {
        width: 100% !important;
        gap: 10px !important;
    }

    .hero-section .d-md-flex.align-items-stretch>div:first-child {
        width: auto !important;
        max-width: none !important;
        height: 380px !important;
        flex: 1 1 0% !important;
    }

    .hero-section .d-md-flex.align-items-stretch>div:last-child {
        width: 350px !important;
        max-width: 350px !important;
        height: 380px !important;
        flex: 0 0 350px !important;
    }

    /* Banner text block padding + typography */
    .hero-section .hero-content {
        padding: 45px 40px !important;
    }

    .hero-section .hero-content>h1 {
        font-size: 38px !important;
        line-height: 44px !important;
        margin-bottom: 12px !important;
    }

    .hero-section .hero-content>p {
        font-size: 16px !important;
        line-height: 22px !important;
        max-width: 500px !important;
        margin-bottom: 24px !important;
    }

    .hero-section .hero-content>.d-flex.align-items-center {
        gap: 20px !important;
    }

    .hero-section .hero-content>.d-flex.align-items-center>a.btn {
        width: 180px !important;
        height: 52px !important;
        font-size: 15px !important;
    }

    .hero-section .hero-content>.d-flex.align-items-center>a:not(.btn) {
        font-size: 16px !important;
    }

    /* Brand directory title row */
    .brand-directory-title-row h2 {
        font-size: 38px !important;
    }

    .brand-sort-categories-btn {
        width: 260px !important;
        height: 44px !important;
        font-size: 15px !important;
    }

    /* Alphabetical filter pills (sized down so all 26 letters fit in a
       single row at laptop widths) */
    .brand-filter-shell {
        gap: 5px !important;
        flex-wrap: wrap !important;
        margin-bottom: 36px !important;
    }

    .brand-filter-pill {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        font-size: 15px !important;
    }

    .brand-filter-pill.is-active {
        font-size: 28px !important;
    }

    .brand-filter-pill.is-active:first-child {
        font-size: 20px !important;
    }

    /* Letter section heading */
    .brand-letter-title {
        font-size: 48px !important;
    }

    .brand-card {
        margin: 0 10px 20px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Tablet Screen Overrides (768px to 991.98px)
   The brand banner uses inline-pixel widths (1230 + 10 + 400 = 1640px)
   and the global .kp-container is 1640px — both overflow the tablet
   viewport. The 60×60 alphabetical filter pills also can't fit 26
   letters in a single row at tablet width. This block fills that gap.

   Mobile <768 keeps the existing `(max-width: 767.98px)` rules, and
   laptop 992–1639.98 keeps its own block. PC ≥1640 is not touched.
   ═══════════════════════════════════════════════════════════════════ */
/* ───────── Shift Breakpoint for Brands Page (apply mobile until 712px, then tablet) ───────── */
@media (min-width: 712px) and (max-width: 767.98px) {

    /* Hide Mobile Layout */
    .d-md-none {
        display: none !important;
    }

    /* Show Tablet/Desktop Layout */
    .d-none.d-md-block {
        display: block !important;
    }

    .d-none.d-md-flex {
        display: flex !important;
    }
}

@media (min-width: 712px) and (max-width: 991.98px) {

    /* Containers: make fluid for the tablet range. */
    .kp-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Brand hero banner — convert the inline 1230 + 10 + 400 = 1640px
       layout into a fluid flex layout with a smaller image col. */
    .hero-section .d-md-flex.align-items-stretch {
        width: 100% !important;
        gap: 10px !important;
    }

    .hero-section .d-md-flex.align-items-stretch>div:first-child,
    .hero-section .d-md-flex.align-items-stretch>div:last-child {
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        height: 320px !important;
        flex: 0 0 calc(50% - 5px) !important;
    }

    /* Banner text block padding + typography */
    .hero-section .hero-content {
        padding: 24px 26px !important;
    }

    .hero-section .hero-content>h1 {
        font-size: 28px !important;
        line-height: 32px !important;
        margin-bottom: 10px !important;
    }

    .hero-section .hero-content>p {
        font-size: 13px !important;
        line-height: 18px !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
    }

    .hero-section .hero-content>.d-flex.align-items-center {
        gap: 14px !important;
        flex-wrap: wrap !important;
    }

    .hero-section .hero-content>.d-flex.align-items-center>a.hero-banner-btn {
        width: 200px !important;
        height: 44px !important;
        font-size: 13px !important;
    }

    .hero-section .hero-content>.d-flex.align-items-center>a:not(.btn) {
        font-size: 14px !important;
    }

    /* Decorative 403×403 SVG inside the left banner box — clamp so it
       doesn't dominate the smaller tablet card. */
    .hero-section .d-md-flex.align-items-stretch>div:first-child>.position-absolute svg {
        width: 240px !important;
        height: 240px !important;
        opacity: 0.45 !important;
    }

    /* Brand directory title row */
    .brand-directory-title-row h2 {
        font-size: 30px !important;
    }

    .brand-sort-categories-btn {
        width: 220px !important;
        height: 40px !important;
        font-size: 14px !important;
        padding: 0 12px !important;
    }

    /* Alphabetical filter pills — sized down so all 26 letters fit in
       a single row at tablet widths. */
    .brand-filter-shell {
        gap: 4px !important;
        flex-wrap: wrap !important;
        margin-bottom: 28px !important;
    }

    .brand-filter-pill {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 13px !important;
    }

    .brand-filter-pill.is-active {
        font-size: 22px !important;
    }

    .brand-filter-pill.is-active:first-child {
        font-size: 16px !important;
    }

    /* Letter section heading */
    .brand-letter-title {
        font-size: 36px !important;
    }

    /* Brand grid: 3 equal columns on tablet */
    .brand-grid-row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px 12px !important;
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .brand-grid-row>.brand-reveal {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .brand-card {
        width: 100% !important;
        height: auto !important;
        min-height: 90px !important;
        margin: 0 !important;
    }

    .brand-card-logo-box {
        width: 100% !important;
        height: 56px !important;
    }

    .brand-card-name-box {
        height: auto !important;
        min-height: 27px !important;
        font-size: 14px !important;
    }

    /* Sticky breadcrumb + A–Z filter: tablet header is ~85px (48px logo + 2.3rem
       padding), not the 140px desktop nav default — prevents brand cards showing
       in the gap between header and the sticky letter bar while scrolling. */
    .brand-breadcrumb {
        top: calc(48px + 2.3rem) !important;
    }

    .brand-filter-shell {
        top: calc(48px + 2.3rem + 46px) !important;
    }

    .brand-directory-title-row {
        z-index: 970 !important;
    }

    .cat-filter-dropdown-wrap {
        z-index: 975 !important;
    }

    .cat-filter-dropdown-menu {
        z-index: 980 !important;
    }
}

/* ─── Desktop Banner Overlay ─── */
.brand-hero-right {
    position: relative;
}

.brand-hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #173158;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .mobile-filter-buttons-sticky {
        border-bottom: 0px solid #f0f0f0;
    }
}