.aptpp-sku {
    width: 100px;
}

.aptpp-cat {
    max-width: 140px;
}

.aptpp-sku,
.aptpp-cat {
    transition: 0.2s;
}

.aptpp-cat-grid{
    display:grid !important;
    grid-template-columns:repeat(4, 1fr) !important;
    gap:25px;
    padding:20px;
}

@media(max-width:1024px){
    .aptpp-cat-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media(max-width:600px){
    .aptpp-cat-grid{
        grid-template-columns:1fr;
    }
}

.aptpp-cat-card{
    text-decoration:none;
    color:#111;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    overflow:hidden;
    transition:0.25s;
    display:block;
}

.aptpp-cat-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.aptpp-cat-img{
    width:100%;
    height:180px;
    overflow:hidden;
}

.aptpp-cat-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.aptpp-cat-card h3{
    font-size:18px;
    margin:15px;
}

.aptpp-cat-card p{
    font-size:14px;
    color:#666;
    margin:0 15px 15px;
}

.aptpp-search-wrap{
    position:relative;
    max-width:400px;
}

#aptpp-search{
    width:100%;
    padding:10px;
    border:1px solid #ccc;
}

#aptpp-search-results{
    position:absolute;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    z-index:99;
}

.aptpp-search-list{
    list-style:none;
    margin:0;
    padding:0;
}

.aptpp-search-list li a{
    display:block;
    padding:10px;
    text-decoration:none;
    color:#111;
}

.aptpp-search-list li a:hover{
    background:#f5f5f5;
}

.aptpp-prod-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.aptpp-prod-card{
    text-decoration:none;
    color:#111;
}

.aptpp-prod-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.aptpp-prod-card h4{
    font-size:14px;
    margin-top:10px;
}

/* GRID */
.aptpp-random-products ul.products{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    margin:0;
    padding:0;
    list-style:none;
}

/* CARD */
.aptpp-random-products ul.products li.product{
    display:flex;
    flex-direction:column;
    height:100%;
}

/* IMAGEM */
.aptpp-random-products ul.products li.product img{
    width:100%;
    height:auto;
    object-fit:contain;
}

/* TÍTULO */
.aptpp-random-products ul.products li.product h2{
    --theme-font-weight: 600;
    --theme-font-style: normal;
    --theme-font-size: 17px;
    --theme-line-height: 1.5;
    --theme-link-initial-color: initial;

    font-weight: var(--theme-font-weight);
    font-size: var(--theme-font-size);
    line-height: var(--theme-line-height);
    margin:10px 0;
}

/* LINK (nome do produto) */
.aptpp-random-products ul.products li.product a{
    --theme-font-weight: 600;
    --theme-font-style: normal;
    --theme-text-transform: uppercase;
    --theme-font-size: 12px;
    --theme-link-initial-color: var(--theme-text-color);

    font-weight: var(--theme-font-weight);
    text-transform: var(--theme-text-transform);
    font-size: var(--theme-font-size);
    /*color: var(--theme-link-initial-color);*/
    text-decoration:none;
}

/* PREÇO */
.aptpp-random-products .price{
    margin:8px 0;
    font-weight:600;
}

/* ÁREA DO BOTÃO */
.aptpp-random-products .ct-woo-card-actions{
    margin-top:auto; 
}

/* BOTÃO */
.aptpp-random-products .button{
    width:100%;
    text-align:center;
    padding:10px;
    border-radius:6px;
}