/* Ogólny kontener formularza */
.searchandfilter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2em auto;
}

/* Każde pole formularza (search, kategoria, tagi) */
.searchandfilter p {
    display: block;
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.2em;
    text-align: left;
}

/* Etykiety pól */
.searchandfilter label {
    display: block;
    margin-bottom: 0.4em;
    font-weight: bold;
    font-size: 1rem;
}

/* Pola formularza (input, select) */
.searchandfilter input[type="search"],
.searchandfilter select {
    width: 100%;
    padding: 0.6em;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Przycisk Szukaj */
.searchandfilter input[type="submit"],
.searchandfilter button {
    margin-top: 1.5em;
    padding: 0.6em 1.5em;
    font-size: 1rem;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.searchandfilter input[type="submit"]:hover,
.searchandfilter button:hover {
    background-color: #666;
}

/* Styl literek w widgetach — jeśli używasz tam */
.widget-area .searchandfilter {
    align-items: stretch;
}
