.product-filter {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
}

.product-filter h2 {
    font-size: 21px;
    margin-bottom: 20px;
}

.product-filter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.product-filter-fields > label {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.product-filter-fields > .number-field {
    width: 100%;
}

.product-filter input[type=search] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cdd3d6;
    border-radius: 4px;
    background: white;
}

.product-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.product-filter-actions button {
    flex: 1 1 90px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--brand);
    border-radius: 4px;
    background: var(--brand);
    color: white;
}

.product-filter-actions button:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.product-filter-actions button[type=reset] {
    background: white;
    color: var(--ink);
    border-color: #cdd3d6;
}

.product-filter-actions button[type=reset]:hover {
    background: #e7ecee;
}

.product-filter-error {
    margin-top: 18px;
}

@media(min-width:641px) and (max-width:900px) {
    .product-filter-fields > label {
        width: calc(50% - 9px);
    }

    .product-filter-fields > .number-field {
        width: 100%;
    }
}
