/* Airav Category Brands - Performance Agency */

.airav-category-brands {
    width: 100%;
    margin: 0 0 24px;
}

.airav-category-brands__container {
    width: 100%;
    margin: 0 auto;
}

.airav-category-brands__grid,
.airav-category-brands .swiper-wrapper {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.airav-category-brands__grid {
    justify-content: flex-start;
}

.airav-category-brands__item {
    flex: 0 0 calc((100% - 150px) / 6);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.airav-category-brands__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    color: inherit;
    text-decoration: none;
}

.airav-category-brands__image {
    display: flex;
    width: 100%;
    min-height: 78px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.airav-category-brands__text {
    display: block;
    margin-top: 9px;
    line-height: 1.35;
    text-align: center;
}

.airav-category-brands__link:hover,
.airav-category-brands__link:focus {
    color: inherit;
    text-decoration: underline;
}

.airav-category-brands__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
}

.airav-category-brands__swiper {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.airav-category-brands__swiper .swiper-wrapper {
    gap: 0;
}

.airav-category-brands__swiper .swiper-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
}

.airav-category-brands__prev,
.airav-category-brands__next {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 7px rgba(0,0,0,.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airav-category-brands__prev {
    left: 8px;
}

.airav-category-brands__next {
    right: 8px;
}

.airav-category-brands__prev.swiper-button-disabled,
.airav-category-brands__next.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

@media (max-width: 991px) {
    .airav-category-brands__grid {
        gap: 15px;
    }

    .airav-category-brands__item {
        flex-basis: calc((100% - 45px) / 4);
    }

    .airav-category-brands__swiper .swiper-slide {
        padding: 0 8px;
    }
}

@media (max-width: 767px) {
    .airav-category-brands__grid {
        gap: 12px;
        flex-wrap: wrap;
    }

    .airav-category-brands__item {
        flex-basis: calc((100% - 12px) / 2);
    }

}
