/* Brands Section */
.brands {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.brands h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.brand-filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    padding: 6px 12px;
    gap: 8px;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    padding: 6px 0;
}

.search-box i {
    color: #888;
    font-size: 16px;
}

.filter-group label {
    font-weight: 500;
    color: #333;
    margin-right: 6px;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:hover,
.filter-group select:focus {
    border-color: #ff4d6d;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.brand-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    transition: box-shadow 0.2s;
}

.brand-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.brand-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 12px;
    background: #f7f7f7;
}

.brand-name {
    font-weight: 600;
    font-size: 1.1em;
    color: #222;
    text-align: center;
}

.brand-category {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    text-align: center;
}

.brand-link {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 18px;
    background: #ff4d6d;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
}

.brand-link:hover {
    background: #ff3358;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-filters {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
}
@media (max-width: 480px) {
    .brands {
        padding: 40px 0;
    }
    .brands h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    .brands-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    .brand-card {
        padding: 20px 10px 15px 10px;
    }
} 