﻿.manufacturers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.manufacturers-list .category-group {
    flex: 1 1 100%;
}

.manufacturers-list .category-group:not(:first-child) {
    margin-top: 45px;
}

.category-group h3 {
     margin: 0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
}

/* Single manufacturer item */
.manufacturer-item {
    width: calc(33.33% - 2px);
    padding: 5px 5px 5px 15px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #F8F6F4;
}


.manufacturer-item h5 {
    margin: 0 5px 0 0;
    display: inline;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}


/* Existing single PDF download link styling */
.manufacturer-item .download-btn-pdf {
    padding: 0 10px 0 0;
    border: 0;
    font-weight: 600;
    color: #E92030;
    box-shadow: none;
    background: none;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.manufacturer-item .download-btn-pdf:hover,
.manufacturer-item .download-btn-pdf:focus {
    text-decoration: underline;
    outline: none;
}

/* Bulk download wrapper and button */
.manufacturer-bulk-wrapper {
    width: 100%;
    margin: 0 0 20px 0;
    text-align: right;
}

.download-btn-pdf-all {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 3px;
    border: 0;
    font-weight: 600;
    background: #E92030;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.download-btn-pdf-all:hover,
.download-btn-pdf-all:focus {
    background: #c11524;
    outline: none;
}

.download-btn-pdf-all:disabled {
    opacity: 0.6;
    cursor: default;
}

.manufacturer-bulk-note {
    margin-top: 6px;
    font-size: 11px;
    color: #555;
}

@media (max-width: 1024px) {
    .manufacturer-item:nth-child(odd){

    background: #fff;
    }
    .manufacturer-item:nth-child(even){
    background: #F8F6F4;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .manufacturer-item {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .manufacturer-item {
        width: 100%;
    }
}
