.brands-filter-wrapper {
    padding: 30px;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100% !important;
}

.main-brand-nav {
    display: flex;
    justify-content: space-between;
}

.brand-letter-nav {
    /* margin-bottom: 15px; */
    text-align: center;
}

.brand-letter-nav a {
    display: inline-block;
    margin: 0 0 3px;
    padding: 10px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    /* font-size: 12px; */
    font-size: 18px;
}

.brand-letter-nav a:hover {
    background: #333;
    color: #fff;
}

/* .brand-search-box {
        text-align: center;
         border: 2px solid black; 
        border-radius: 5px;
        margin-bottom: 25px;
    }

    #brand-search {
        width: 300px;
        max-width: 90%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    } */

.brand-search-box {
    display: flex;
    align-items: center;
    /* max-width: 350px; */
    /* margin: 0 auto 25px; */
    /* padding: 2px 12px; */
    padding: 2px 25px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    gap: 8px;
    /* height: 33px; */
    height: 45px;
}

.brand-search-box svg {
    flex-shrink: 0;
    height: 18px;
    width: 18px;
    fill: #999;
}

#brand-search {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 14px;
    /* padding: 8px 6px; */
    background: transparent;
    color: #333;
}

#brand-search::placeholder {
    color: #aaa;
}

.brand-letter-heading {
    background: #333;
    color: #fff;
    padding: 10px 15px;
    font-size: 18px;
    margin-top: 30px;
}

.brand-items {
    display: block;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px 25px;
    padding: 15px 10px;
    column-count: 3;
        column-gap: 10px;
}
.brand-item.is-child {
    padding: 8px 0;
}
.brand-search-box span {
    display: flex;
    align-items: center;
}
.brand-item a {
    color: #000;
    text-decoration: none;
}

/* .brand-item a:hover {
        color: #c00;
        text-decoration: underline;
    } */

.brand-item.is-parent a {
    color: #c77608;
    font-family: Lato, sans-serif;
    font-weight: 700;
}

.brand-item.is-child a {
    color: #000;
    font-family: Lato, sans-serif;
    /* margin-left: 15px; */
    font-weight: normal;
    font-size: 0.95em;
}
.brand-search-box input#brand-search {
 margin-bottom: 0px !important;
 box-shadow: none;
}

.brands-filter-wrapper .heading-and-search{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.shop-by-brand h4{
    font-size: 25px;
}



@media screen and (min-width: 992px) {  
.brand-letter-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


}
@media screen and (max-width: 767px) {
    .main-brand-nav {
        display: block;
        justify-content: space-between;
    }
    .brands-filter-wrapper .heading-and-search{
    display: block;
    margin-bottom: 10px;
 }
}
