.products-grid {
    display: grid;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.product-card {
    position: relative;
    display: flex;
    
    flex-direction: column;

    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
    height: auto;
    min-height: 480px; 
    overflow: hidden;

    /* border: 1px solid red; */

}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.recommendantions .products-grid .product-card:hover{
    /* border: 2px solid red; */
    box-shadow: var(--shadow-neon-pink);


}


.product-image-wrapper{
    /* border: 2px solid red; */
    height: 180px;

}
.recommendations-image{
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 5px;
}

.product-title {
    font-size: 18px;
    margin-top: 18px;
    
}



.badge-free {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-secondary);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: var(--shadow-neon-blue);
    letter-spacing: 1px;
}


.tag-item{
    font-size: 10px ;

}

/* ========================= */
/* PAGINATION */
/* ========================= */

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* LINKS */
.pagination a {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s ease;
}

/* HOVER */
.pagination a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-pink);
}

/* ATIVO (página atual) */
.pagination strong {
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    box-shadow: var(--shadow-neon);
}

/* TEXTO (Página X de Y) */
.pagination span {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 5px;
}

/* BOTÕES ESPECIAIS (primeira / última) */
.pagination a:first-child,
.pagination a:last-child {
    font-weight: bold;
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */

@media (max-width: 768px) {
    .pagination {
        gap: 5px;
    }

    .pagination a,
    .pagination strong {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ========================= */
/* MODO MAIS MODERNO (OPCIONAL) */
/* ========================= */

/* efeito de botão ativo mais bonito */
.pagination strong {
    background: linear-gradient(135deg, var(--color-primary), #ff00cc);
}

/* animação suave */
.pagination a,
.pagination strong {
    transition: all 0.2s ease-in-out;
}

.empty-state {
    grid-column: 1 / -1; /* ocupa todas as colunas do grid */
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    min-height: 200px;
    text-align: center;
    color: var(--text-muted);
}