/* ==========================================================================
   Brands & products
   ========================================================================== */
.brands-products{
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 72px;
}

.brands-products-heading{
    max-width: 640px;
    margin-bottom: 24px;
}

.brands-products-heading h2{
    color: var(--color-heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 900;
}

.brands-products-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.brands-products-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    text-align: center;
    transition: ease all 0.3s;
}

.brands-products-item:hover{
    border-color: var(--color-primary);
    transform: scale(1.04);
}

.brands-products-logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 64px;
    margin-bottom: 12px;
}

.brands-products-logo img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.brands-products-item p{
    color: var(--color-heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
}

.brands-products-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brands-products-list + .brands-products-list{
    margin-top: 14px;
}

.brands-products-list li{
    padding: 10px 18px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
}
