/**
* Theme Name: Allmart Child
* Description: This is a child theme of Allmart, generated by Auto Installer.
* Author: <a href="https://teconce.com/about">Teconce</a>
* Template: allmart
* Version: 1.1
*/

.custom-taxonomy-grid{
    display:grid;
    grid-template-columns:repeat(9, 1fr);
    gap:20px;
}

.taxonomy-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    text-align:center;
    transition:.3s;
    padding-bottom:20px;
	text-align:center;
}

.taxonomy-card:hover{
    transform:translateY(-5px);
}

.taxonomy-card img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:8px;
}

.taxonomy-card h3{
    margin:15px 10px 10px;
    font-size:20px;
}

.taxonomy-card p{
    padding:0 15px;
    color:#666;
}

.taxonomy-card .count{
    display:block;
    margin-top:10px;
    color:#999;
    font-size:14px;
}

.inkcode-filter-list {
    margin-bottom: 15px;
}

.inkcode-filter-item {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    cursor: pointer;
}

.inkcode-filter-item input {
    margin: 0;
}

.inkcode-filter-item small {
    color: #777;
}

.inkcode-filter-button {
    width: 100%;
    padding: 10px 15px;
    border: 0;
    cursor: pointer;
    background: #222;
    color: #fff;
}

.inkcode-filter-button:hover {
    background: #444;
}

.inkcode-filter-clear {
    display: block;
    margin-top: 10px;
    text-align: center;
}

@media (max-width:1200px){
    .custom-taxonomy-grid{
        grid-template-columns:repeat(6,1fr);
    }
}

@media (max-width:992px){
    .custom-taxonomy-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media (max-width:768px){
    .custom-taxonomy-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:480px){
    .custom-taxonomy-grid{
        grid-template-columns:repeat(2,1fr);
    }
}