/* Rahath Product Search widget.
 *
 * Every rule below that touches the <input> or <button> repeats the widget
 * root class as an ancestor (.rahath-search .rahath-search__input, not just
 * .rahath-search__input) rather than relying on a single class. This site's
 * theme reset ships `input[type=search]{border:...;padding:...;width:100%}`
 * and Elementor's own Kit ships `button{background-color:...}` — both are
 * class+element or attribute+element selectors (0-1-1 specificity), which
 * beats a lone class (0-1-0) regardless of load order. Doubling the ancestor
 * bumps this to 0-2-0, so this widget's own styling wins unconditionally
 * instead of depending on which loads last. (Same root cause, and same fix,
 * as several specificity bugs found the same way in rahath-woo-archive-
 * widget/widget.css — see that file for the fuller write-up.)
 */

.rahath-search {
	display: inline-block;
	max-width: 100%;
}
.rahath-search__field-wrap {
	display: flex;
	align-items: stretch;
	width: 100%;
}
.rahath-search .rahath-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	padding: 8px 14px;
	background: #fff;
	color: inherit;
	border: 1px solid #dcdcdc;
	border-radius: 6px 0 0 6px;
	font-size: 14px;
	transition: border-color 0.15s ease;
}
.rahath-search .rahath-search__input:focus {
	outline: none;
	border-color: #111827;
}
.rahath-search .rahath-search__submit {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	background: #111827;
	color: #fff;
	border: 1px solid #111827;
	border-radius: 0 6px 6px 0;
	border-inline-start: 0;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.rahath-search .rahath-search__submit svg,
.rahath-search .rahath-search__submit i {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
	fill: currentColor;
}
.rahath-search__submit-text {
	white-space: nowrap;
}

.screen-reader-text {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
