.our-bradns {
    text-align: center;
    margin-bottom: 40px;
}

.our-bradns-text {
    color: var(--gray);
    font-size: 18px;
    font-weight: 300;
}

.filters {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    width: 70%;
}

.filters select,
.filters input {
    padding: 13px 12px;
    border: 0.75px solid #abb8c0;
    background: #ffffffd4;
    box-shadow: 0px 4px 2px 0px #0000000d;
    outline: none;
    border-radius: 6px;
    font-size: 14px;
    flex: 1;
}
/*.filters button,*/
 .filter-btn {
    cursor: pointer;
    padding: 13px 12px;
    border: 0.75px solid #abb8c0;
    background: #000;
    color: white;
    box-shadow: 0px 4px 2px 0px #0000000d;
    outline: none;
    border-radius: 6px;
    font-size: 14px;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .filters {
        width: 100%;

    }
}

@media (max-width: 768px) {
    .filters {
        width: 100%;
        flex-direction: column;
    }

    .filters select,
    .filters input {
        width: 100%;
    }

    .filters button {
        /*width: 100%;*/
    }

    .service-filter-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .service-filter-btn {
        flex: 0 0 auto;
    }
}

.filters select {
    color: #00000080;
}

.filters input {
    background-color: inherit;
}

.filters input::placeholder {
    color: #abb8c080;
}

/* Service filter buttons */
.service-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    align-items: center;
}

.service-filter-btn {
    cursor: pointer;
    padding: 10px 18px;
    border: 0.75px solid var(--primary);
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0px 4px 2px 0px #0000000d;
    outline: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-filter-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 6px 4px 0px rgba(252, 176, 64, 0.3);
}

.service-filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, #f5a623 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0px 4px 8px 0px rgba(252, 176, 64, 0.4);
}

.service-filter-btn.active:hover {
    background: linear-gradient(135deg, #f5a623 0%, var(--primary) 100%);
    box-shadow: 0px 6px 12px 0px rgba(252, 176, 64, 0.5);
}

.clear-filter-btn {
  background: #ff4444;
  color: #ffffff;
  border-color: #ff4444;
  font-size: 16px;
  align-self: stretch;
  padding: 0;
  width: 38px;
  height: 38px;
}

.clear-filter-btn:hover {
    background: #cc0000;
    border-color: #cc0000;
    box-shadow: 0px 6px 4px 0px rgba(255, 68, 68, 0.3);
}

.brands-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--gap);
}


.brands-card {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    border: 0.5px solid #c9c9c99d;
    background: #ffffff80;
    justify-content: center;
}

.brand-img {
    width: 116px;
    height: 117px;
    object-fit: contain;
}


.pagination-section {
    margin-top: 40px;
    width: 100%;
}

.pagination-section .pagination {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.pagination-section .pagination .page-item {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    box-shadow: 1px 1px 2px 2px #00000010;
}

.pagination-section .pagination .page-item a {
    color: #FFC02B;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-section .pagination .page-item a:focus {
    outline: none;
    color: #FFC02B;
}

.pagination-section .pagination .page-item.active {
    border: 1px solid #FFC02B;
    box-shadow: none;
}

@media (min-width: 1281px)  and (max-width: 1400px) {
    .brands-cards-wrapper {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    .brands-cards-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .brands-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .brands-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brand-page-section{
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}
