.printer-brands-container {
    width: 800px;
    margin: 0;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    font-family: Arial, "Microsoft Yahei", sans-serif;
    background: #fff;
}

.brand-search-tip {
    margin-bottom: 12px;
    padding: 10px 10px;
    background: #f0f8fc;
    border-left: 3px solid #2EAED8;
    font-size: 14px;
    color: #222;
    line-height: 1.5;
    font-weight: 600;
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

.letter-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.letter-navigation a {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 14px;
    color: #f34646;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s;
    font-weight: bold;
}

.letter-navigation a:hover {
    background: #2EAED8;
    color: #fff;
}

.brand-list-wrapper {
    font-size: 13px;
}

.brand-group {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
    overflow: hidden;
}

.brand-group:last-child {
    border-bottom: none;
}

.brand-group h4 {
    float: left;
    width: 30px;
    margin: 0 10px 6px 0;
    padding-left: 6px;
    border-left: 2px solid #2EAED8;
    font-size: 15px;
    color: #2EAED8;
    font-weight: 600;
    line-height: 1.5;
}

.brand-item {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 4px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
    transition: color 0.2s ease;
}

.brand-item:hover {
    color: #2EAED8;
}

.brand-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #157ecd;
    transition: width 0.3s ease-in-out;
    pointer-events: none;
}

.brand-item:hover::after {
    width: 100%;
}

.brand-group:target {
    border: 1px solid #f34646;
    box-sizing: border-box;
    background-color: #f8fcff;
    padding: 5px 8px 8px 8px;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(46, 174, 216, 0.2);
    margin-bottom: 12px;
}

.brand-group:target h4 {
    color: #1a8bbf;
    font-weight: 700;
}