.hbp-filterbar-wrap {
    display: grid;
    gap: 14px;
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--hbp-color-line);
}

.hbp-filterbar {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) repeat(5, minmax(104px, .72fr)) auto;
    gap: 12px;
    align-items: end;
}

.hbp-filterbar--stores {
    grid-template-columns: minmax(230px, 1.35fr) repeat(4, minmax(108px, .75fr)) auto;
}

.hbp-field {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.hbp-field span {
    color: var(--hbp-color-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.hbp-field input,
.hbp-field select {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    border-radius: 0;
    background: transparent;
    color: var(--hbp-color-text);
    outline: 0;
    padding: 0;
    font-size: 13px;
}

.hbp-field input::placeholder {
    color: rgba(255,255,255,.34);
}

.hbp-filterbar__actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 34px;
}

.hbp-filterbar__submit,
.hbp-filterbar__reset {
    min-height: 34px;
    border: 0;
    background: transparent;
    color: var(--hbp-color-primary-2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.hbp-filterbar__reset {
    color: var(--hbp-color-muted);
}

.hbp-filterbar__lower {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.hbp-chip-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hbp-chip-list button {
    border: 0;
    background: transparent;
    color: var(--hbp-color-muted);
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    font-weight: 850;
}

.hbp-chip-list button.is-active {
    color: var(--hbp-color-primary-2);
}

.hbp-view-toggle {
    display: flex;
    gap: 5px;
}

.hbp-view-toggle button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--hbp-color-muted);
    cursor: pointer;
}

.hbp-view-toggle button.is-active {
    color: #fff;
    background: rgba(255,255,255,.06);
}

.hbp-view-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1100px) {
    .hbp-filterbar,
    .hbp-filterbar--stores {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hbp-filterbar,
    .hbp-filterbar--stores {
        grid-template-columns: 1fr;
    }

    .hbp-filterbar__lower {
        display: grid;
        justify-content: stretch;
    }
}
