/**
 * Markalar ana sayfası — kategoriler hub düzeni ile uyumlu
 */

.brands-page {
    padding: 0 0 64px;
}

.brands-page .brands-page__container {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.brands-page__topbar {
    grid-template-columns: 1fr;
    padding-bottom: 20px;
    margin-bottom: 28px;
}

.brands-page__topbar-center {
    width: 100%;
    justify-self: stretch;
    text-align: center;
}

.brands-page__lead {
    margin: 12px auto 0;
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-light, #64748b);
}

.brands-page__main {
    padding-top: 4px;
}

.brands-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.brands-hub__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 24px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.brands-hub__card:hover {
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.brands-hub__card:focus-visible {
    outline: 2px solid var(--primary-color, #0f172a);
    outline-offset: 2px;
}

.brands-hub__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 80px;
}

.brands-hub__logo {
    display: block;
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brands-hub__logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #334155;
    font-size: 1.75rem;
    font-weight: 700;
}

.brands-hub__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color, #0f172a);
}

.brands-hub__meta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light, #64748b);
}

.brands-hub__empty {
    text-align: center;
    padding: 48px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.brands-hub__empty i {
    display: block;
    margin-bottom: 12px;
    font-size: 2rem;
    color: #94a3b8;
}

.brands-hub__empty p {
    margin: 0 0 20px;
    color: #64748b;
}

@media (max-width: 768px) {
    .brands-page .brands-page__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brands-hub__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brands-hub__card {
        padding: 18px 14px;
    }

    .brands-hub__logo-wrap {
        min-height: 64px;
    }
}
