.wc-alphabetical-brands-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
}

.wc-brands-alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 40px;
}

.wc-brand-letter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #e0e0e0;
    color: #3e7b5b; /* Match green color */
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wc-brand-letter-link:hover:not(.disabled) {
    background-color: #3e7b5b;
    color: #fff;
    border-color: #3e7b5b;
}

.wc-brand-letter-link.disabled {
    color: #a0a0a0;
    cursor: default;
    background-color: #f9f9f9;
}

.wc-brand-group {
    margin-bottom: 40px;
}

.wc-brand-group-title {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.wc-brand-group-list {
    display: grid;
    gap: 15px 30px;
}

.wc-brand-group-list.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.wc-brand-group-list.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wc-brand-item a {
    color: #3e7b5b; /* Match green color */
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    display: inline-block;
    line-height: 1.5;
}

.wc-brand-item a:hover {
    color: #244f38;
    text-decoration: underline;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@media (max-width: 991px) {
    .wc-brand-group-list.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wc-brand-group-list.columns-4,
    .wc-brand-group-list.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wc-brand-group-list.columns-4,
    .wc-brand-group-list.columns-3 {
        grid-template-columns: 1fr;
    }
}
