.pg-1c0a82a3-wrapper {
    width: 100%;
}
.pg-1c0a82a3-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.pg-1c0a82a3-filter-btn {
    padding: 8px 16px;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
.pg-1c0a82a3-filter-btn.active,
.pg-1c0a82a3-filter-btn:hover {
    background: #333;
    color: #fff;
}
.pg-1c0a82a3-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(var(--pg-cols, 3), minmax(0, 1fr));
    align-items: stretch;
}
.pg-1c0a82a3-item {
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.pg-1c0a82a3-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.pg-1c0a82a3-image {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f9f9f9;
}
.pg-1c0a82a3-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.pg-1c0a82a3-item:hover .pg-1c0a82a3-image img {
    transform: scale(1.05);
}
.pg-1c0a82a3-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.pg-1c0a82a3-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    transition: color 0.2s;
    line-height: 1.4;
}
.pg-1c0a82a3-item:hover .pg-1c0a82a3-title {
    color: #0073aa;
}
.pg-1c0a82a3-price {
    margin-bottom: 15px;
    margin-top: auto;
    transition: color 0.2s;
}
.pg-1c0a82a3-item.hidden {
    display: none;
}
.pg-1c0a82a3-add-to-cart {
    z-index: 2;
    position: relative;
    margin-top: auto;
}
.pg-1c0a82a3-add-to-cart .button {
    width: 100%;
    display: block;
    text-align: center;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .pg-1c0a82a3-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .pg-1c0a82a3-item {
        /* Ensure items stretch to fill the grid row evenly on tablet */
        height: 100%; 
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .pg-1c0a82a3-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .pg-1c0a82a3-item {
        /* Ensure items stretch to fill the grid row evenly on mobile */
        height: 100%;
    }
    .pg-1c0a82a3-image {
        /* Keep aspect ratio consistent on mobile */
        aspect-ratio: 1 / 1;
    }
}