/*
Theme Name: pettrade
Version: 1.0
Author: wei
Homepage: front-page.php
*/
.middle{
    background-color: #ffffff;
    overflow: hidden;
}
.topbrands h2{
    font-size:1.5rem;
    font-weight:bold;
    margin-left: 15px;
}
.topbrands .roll{
    display:flex;
    justify-content:center;
}
.topbrands .roll li{
    border: 2px solid #dbce4a;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    margin-top: 5px;
    cursor: pointer;
}
.topbrands .roll li.active{
    background-color: #dbce4a;
    border: none;
}
.main-box{
}
.main-box h2{
    font-family: Baloo2;
    font-size:2.5rem;
    color: #141414;
    margin: 35px 0;
}
.main-box .popular .popular-box{
    display:flex;
    flex-wrap:wrap;
    justify-content:start;
}
.popular-stores .merchants-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}
.popular-stores .merchants-container h2{
    width: 100%;
    margin-top: 30px;
    padding: 20px 0;
    margin-left: 15px;
}
.popular-stores .merchant {
    width: 20%; /* Adjust according to your needs */
    height: 120px;
    padding: 10px;
}
.popular-stores .merchant .range{
    background-color: #fff;
    color: #2c2d2e;
    border: 1px solid #ccc;
    width: 100%;
    height: 100%;
}
.popular-stores .merchant  .range:hover{
    background-color: #ccc;
    color:#fff;
}
.popular-stores .merchant a{
    display: flex;
    height: inherit;
    justify-content: center;
    align-items: center;
}
.popular-stores .merchant-image {
    max-width: 80px;
    height: auto;
}
.popular-stores .fallback-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s;
    word-break: break-all;
}
.subtitle{
    width: 100%;
    padding: 30px;
    color: #2b2430;
    text-align: center;
    font-size: 14px;
}

div.home-module-content{
    margin-top: 150px;
}
div.home-module-content .content-section{
    text-align: center;
    margin-bottom: 40px;
}
div.home-module-content .content-section p{
    color: #6e6e6e;
}
@media (max-width: 600px) {
    .main-box h2{
        font-size: 2.2rem;
    }
}
@media (max-width: 500px) {
    .main-box h2{
        font-size: 2rem;
    }
}