.card-patterns{
    border-radius: 10px;
    background-color: #F6F6F6;
    height: 310px;
}

.card-patterns-disabled{
    border-radius: 10px;
    background-color: #e2e2e2;
    height: 310px;
}

.card-pattern{
    display: grid;
    -webkit-display: grid;
    -moz-display: grid;
    -ms-display: grid;
    -o-display: grid;
    gap: 15px;
    -webkit-gap: 15px;
    -moz-gap: 15px;
    -ms-gap: 15px;
    -o-gap: 15px;
    grid-template-columns: repeat(4, 1fr);
    -webkit-grid-template-columns: repeat(4, 1fr);
    -webkit-grid-template-columns: repeat(4, 1fr);
    -ms-grid-template-columns: repeat(4, 1fr);
    -o-grid-template-columns: repeat(4, 1fr);
    padding: 10px;
}

.foto-loja {
    width: 150px;
    height: 150px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
  
.foto-loja img{
    object-fit: contain;
    width: 150px;
    height: 150px;
}

.foto-loja .logo {
    margin-left: 0;
    position: relative;
    left: 0rem;
}

.img-pattern{
    border-radius: 10px;
    margin-top: 10px;
}

.btn-pattern{
    background-color: #7FD441; 
    font-size: 12px; 
    font-weight: bold; 
    text-decoration: none; 
    padding: 10px 20px; 
    color: #ffffff; 
    border-radius: 40px; 
    display: inline-block; 
    width: 120px;
}

.btn-pattern-ins{
    background-color: #E96969; 
    font-size: 12px; 
    font-weight: bold; 
    text-decoration: none; 
    padding: 10px 20px; 
    color: #ffffff; 
    border-radius: 40px; 
    display: inline-block; 
    width: 165px;
}

.btn-pattern-ind{
    background-color: #D8D7D7; 
    font-size: 12px; 
    font-weight: bold; 
    text-decoration: none; 
    padding: 10px 20px; 
    color: #ffffff; 
    border-radius: 40px; 
    display: inline-block; 
    width: 130px;
}

@media screen and (max-width: 1165px) {
    .card-pattern{
        grid-template-columns: repeat(3, 1fr);
        -webkit-grid-template-columns: repeat(3, 1fr);
        -webkit-grid-template-columns: repeat(3, 1fr);
        -ms-grid-template-columns: repeat(3, 1fr);
        -o-grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 660px) {
    .card-pattern{
        grid-template-columns: repeat(2, 1fr);
        -webkit-grid-template-columns: repeat(2, 1fr);
        -webkit-grid-template-columns: repeat(2, 1fr);
        -ms-grid-template-columns: repeat(2, 1fr);
        -o-grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 455px) {
    .card-pattern{
        grid-template-columns: repeat(1, 1fr);
        -webkit-grid-template-columns: repeat(1, 1fr);
        -webkit-grid-template-columns: repeat(1, 1fr);
        -ms-grid-template-columns: repeat(1, 1fr);
        -o-grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 280px) {
    .card-patterns{
        height: 330px;
    }

    .card-patterns-disabled{
        height: 330px;
    }
}