.brand-index-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem;
}

.brand-index-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #64748b;
}

.brand-index-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.brand-index-breadcrumb a:hover {
    color: #1d4ed8;
}

.brand-index-header {
    margin-bottom: 1.75rem;
}

.brand-index-kicker {
    margin: 0 0 0.55rem;
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.brand-index-header h1 {
    margin: 0 0 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    color: #0f172a;
}

.brand-index-header p {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.brand-index-count {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
}

.brand-index-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.brand-index-letters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9px;
    background: #f8fafc;
    color: #334155;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid #e2e8f0;
}

.brand-index-letters a:hover {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.brand-index-panel {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.brand-index-group {
    padding: 0.75rem 0;
}

.brand-index-group + .brand-index-group {
    border-top: 1px solid #e2e8f0;
}

.brand-index-group h2 {
    margin: 0 0 0.8rem;
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
}

.brand-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 0.8rem;
}

.brand-index-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 84px;
    padding: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #1e293b;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brand-index-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.brand-card-name {
    font-weight: 800;
    overflow-wrap: anywhere;
}

.brand-card-meta {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.brand-index-empty {
    display: grid;
    place-items: center;
    gap: 0.8rem;
    min-height: 220px;
    color: #64748b;
    text-align: center;
}

.brand-index-empty i {
    font-size: 2rem;
    color: #94a3b8;
}

@media (max-width: 720px) {
    .brand-index-page {
        padding: 1.25rem;
    }

    .brand-index-panel {
        padding: 0.65rem;
        border-radius: 12px;
    }
}
