/* Wrapper for the entire section */
.product-brands-wrapper {
    text-align: center; /* Center-align the content inside the wrapper */
    margin: 0 auto; /* Center the wrapper horizontally */
}

/* Title styling */
.section-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px; /* Space below the title */
    color: #333;
    text-align: center; /* Explicitly center the title */
}


.all-variation-tags, .product-brands-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    justify-content: center;
}

.all-variation-tags ul, .product-brands-container ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    flex-wrap: wrap;
    gap: 10px;
}

.all-variation-tags ul li, .product-brands-container .brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #007BFF; /* Blue Box */
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.all-variation-tags ul li a, .product-brands-container .brand-item a {
    color: white;
    text-decoration: none;
}

.all-variation-tags ul li:hover, .product-brands-container .brand-item:hover {
    background-color: #0056b3; /* Darker Blue on Hover */
}
/*style to add 2 columns in mobile devices*/
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-item {
    text-align: center;
}

@media (min-width: 720px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr); /* You can adjust this for tablets/desktops */
    }
}
