.page-products-brands .block-products-brand {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.075) !important;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
    -webkit-transition-duration: .1s;
    transition-duration: .1s;
}

.page-products-brands .products-brand-image-row {
    width: 100%;
    height: 100%;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    max-width: 100%;
    position: relative;
}

.page-products-brands .products-brand-image-row img {
    width: 100%;
    height: 250px;
    object-fit: none;
    background: #f9f9f9;
}
.card{
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1rem 4rem rgb(0 0 0 / 8%) !important;
    margin-bottom: 15px;
    margin-top: 15px;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.987rem;
    font-size: 0.95rem;
    line-height: 2.2;
    font-weight: 400;
    border: 0;
}
.card-header{
    border-bottom: 0;
}
.products_search__body {
    position: relative;
    z-index: 1;
}
.products_search__form {
    height: 42px;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}
.products_search__button {
    border: none;
    padding: 0;
    background: #fff;
    -ms-flex-positive: 0;
    flex-grow: 0;
    width: 42px;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: fill .15s;
    color: #bfbfbf;
    font-size: 16px;
    position: relative;
}
.products_search__border {
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .15s, background .15s;
}
#brands_search_list{
    position: absolute;
    top: 100%;
    width: 100%;
    right: 0;
    background: #f1f1f1;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 1px 15px rgb(0 0 0 / 20%);
    max-height: 250px;
    overflow: auto;
}
#brands_search_list li{
    text-align: right;
    padding: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid #dedede;
}
#brands_search_list li:hover{
    background-color: #fff;
}
.products_search__input {
    border: none;
    padding: 0 17px;
    background: #fff;
    width: 1px;
    -ms-flex-positive: 1;
    flex-grow: 1;
    font-size: 0.987rem;
    transition: color .15s;
    color: inherit;
}
.brands-list a::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #ccc;
    vertical-align: middle;
    margin-left: 5px;
    border-radius: 50%;
    display: inline-block;
}
.brands-list a {
    
    padding: 3px 10px;
}
.brands-list .select a{
    background-color: #ffc107;
}
.brands-list .select a::before {
    background: #35619a;
}
.page-products-brands .block-products-brand .products-brand-text {
    padding: 10px;
}

.page-products-brands .block-products-brand h2 {
    font-size: 0.987rem;
    font-size: 0.987rem;
    direction: rtl;
    margin: 10px 0;
    font-weight: 500;
    line-height: 25px;
    color: #535353;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .page-products-brands .products-brand-image-row img {
        height: 220px;
    }
}