/* Griffig – Suche Widget */

.griffig-search {
	display: flex;
	flex-direction: column;
}

.griffig-search__label {
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.griffig-search__wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.griffig-search__input {
	width: 100%;
	padding: 10px 40px 10px 16px;
	font-size: 1rem;
	line-height: 1.4;
	border: 1px solid rgba( 0, 0, 0, 0.2 );
	border-radius: 8px;
	background: #ffffff;
	color: inherit;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	/* Browser-Standard-Suchfeld-Styles überschreiben */
	-webkit-appearance: none;
	appearance: none;
}

.griffig-search__input:focus {
	border-color: rgba( 0, 0, 0, 0.5 );
	box-shadow: 0 0 0 3px rgba( 0, 0, 0, 0.06 );
}

/* Löschen-Button */
.griffig-search__clear {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY( -50% );
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: none;
	background: rgba( 0, 0, 0, 0.12 );
	color: inherit;
	border-radius: 50%;
	cursor: pointer;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0;
	transition: background 0.15s ease;
}

.griffig-search__clear:hover {
	background: rgba( 0, 0, 0, 0.22 );
}

/* Browser-eigenen ×-Button im <input type="search"> verstecken */
.griffig-search__input::-webkit-search-cancel-button,
.griffig-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
}
