.pf-7d598deb-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.pf-7d598deb-categories button {
    padding: 6px 12px;
    margin: 0;
    border: 1px solid #CCC;
    background: transparent !important;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.pf-7d598deb-categories button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 0;
    border-radius: 20px;
}

.pf-7d598deb-categories button:hover::before,
.pf-7d598deb-categories button.active::before {
    transform: scale(1);
}

.pf-7d598deb-categories button span {
    position: relative;
    z-index: 1;
}

.pf-7d598deb-categories button:hover,
.pf-7d598deb-categories button.active {
    color: #000;
    border-color: #000;
}

/* Styles applied to the existing grid products via JS */
.product.pf-hidden {
    display: none !important;
}

.product.pf-visible {
    animation: pfFadeIn 0.5s ease;
}

@keyframes pfFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}