/* Wrapper */
.panto-effects-grid-wrap {
    margin: 40px 0;
}

/* Filter bar */
.panto-effects-filters {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.panto-effects-filters button {
    border: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eee;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.panto-effects-filters button.active,
.panto-effects-filters button:hover {
    background: #5f3175;
    color: #fff;
    transform: translateY(-1px);
}

/* Grid of effect cards */
.panto-effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.panto-effect-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panto-effect-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.panto-effect-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.panto-effect-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.panto-effect-placeholder {
    width: 100%;
    height: 180px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eee;
    color:#666;
    font-size:0.9rem;
}

.panto-effect-body {
    padding: 12px 14px 14px;
}

.panto-effect-body h3 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
}

/* Single Effect gallery */
.panto-effect-gallery {
    margin-top: 30px;
}

.panto-effect-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.panto-effect-gallery-grid img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
}

/* Set → Effects cards on single Set */
.panto-set-effects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.panto-set-effect-card {
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px;
    border-radius:6px;
    background:#fff;
    text-decoration:none;
    color:inherit;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
    font-size:0.9rem;
}

.panto-set-effect-card img {
    width:50px;
    height:50px;
    object-fit:cover;
    border-radius:4px;
}