/* Brand List Page Specific Styles */
.brands-header {
    background-color: #4558ff;
    padding: 30px 0;
    color: white;
    margin-bottom: 30px;
}

.brands-header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.brands-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.brands-description {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 700px;
    line-height: 1.5;
}

.brand-search-container {
    max-width: 600px;
    margin-bottom: 20px;
}

.brand-search-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 10px;
}

.alphabet-nav a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 3px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
}

.alphabet-nav a:hover {
    background-color: #e0e0e0;
}

.alphabet-nav a.active {
    background-color: #4558ff;
    color: white;
}

.brands-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.letter-section {
    margin-bottom: 30px;
}

.letter-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.brands-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px 20px;
}

.brand-item {
    padding: 5px 0;
}

.brand-item a {
    color: #4558ff;
    font-size: 15px;
}

.brand-item a:hover {
    color: #a644ff;
    text-decoration: underline;
}

/* Responsive styles for brands page */
@media (max-width: 1200px) {
    .brands-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    .brands-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .brands-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .alphabet-nav a {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .brands-title {
        font-size: 24px;
    }

    .brands-content {
        padding: 15px;
    }

    .brands-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .alphabet-nav {
        justify-content: center;
    }

    .alphabet-nav a {
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 13px;
        margin: 2px;
    }
}
