.css-brands-page {
    background: #fff;
    padding: 12px 12px 20px;
}

.css-brands-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 12px 4px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: 3px solid #ee1a19;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.css-brands-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #1a1a1a;
}

.css-brands-empty {
    margin: 12px 0 16px;
    font-size: 13px;
    text-align: center;
    color: #6b686e;
}

.css-brands-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.css-brands-index-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid #e6e8ec;
    border-radius: 4px;
    background: #f7f8fa;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.css-brands-index-link:hover {
    border-color: #ee1a19;
    background: #fff3f3;
    color: #ee1a19;
    text-decoration: none;
}

.css-brands-group {
    margin-top: 8px;
}

.css-brands-letter {
    margin: 0 0 4px;
    padding-bottom: 2px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.css-brands-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -3px;
}

.css-brands-item {
    display: flex;
    width: auto;
    padding: 3px;
    text-decoration: none;
}

.css-brands-item:hover {
    text-decoration: none;
}

.css-brands-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 2px 6px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.css-brands-item:hover .css-brands-logo-wrap {
    border-color: #ee1a19;
    background: #fff;
}

.css-brands-logo {
    width: auto;
    height: 62px;
    max-width: none;
    object-fit: contain;
}
