.product-toolbar {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px
}

.product-search {
    min-height: 48px;
    border-radius: 10px
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.filter-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: #51605a;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .82rem;
    font-weight: 700
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border: 0;
    padding: 0;
    border-radius: 16px;
    background: #ddd;
    aspect-ratio: 1.15/1
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s
}

.gallery-card span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 9px;
    border-radius: 9px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    text-align: left;
    font-size: .8rem
}

.gallery-card:hover img {
    transform: scale(1.05)
}

@media(max-width:767px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }
}

@media(max-width:450px) {
    .gallery-grid {
        grid-template-columns: 1fr
    }
}