/**
 * Cercador del hero de GO UP Machines.
 * Les variables tenen fallback i es poden sobreescriure des d'Elementor.
 */
.goup-hero-search {
	--goup-search-ink: var(--e-global-color-text, #17211f);
	--goup-search-accent: var(--e-global-color-accent, #efb815);
	--goup-search-accent-hover: #d49e08;
	--goup-search-radius: 3px;
	display: flex;
	width: min(100%, 770px);
	margin: 0;
	padding: 7px;
	border-radius: var(--goup-search-radius);
	background: #fff;
	box-shadow: none;
}

.goup-hero-search *,
.goup-hero-search *::before,
.goup-hero-search *::after {
	box-sizing: border-box;
}

.goup-hero-search__icon {
	display: grid;
	width: 48px;
	min-width: 48px;
	color: var(--goup-search-ink);
	place-items: center;
}

.goup-hero-search__icon svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.7;
}

.goup-hero-search__input {
	min-width: 0;
	height: 48px;
	flex: 1 1 auto;
	margin: 0;
	padding: 0 16px 0 8px;
	border: 0 !important;
	border-radius: 0;
	outline: 0;
	background: transparent;
	box-shadow: none !important;
	color: var(--goup-search-ink);
	font: inherit;
}

.goup-hero-search__input::placeholder {
	color: #6b7470;
	opacity: 1;
}

.goup-hero-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.goup-hero-search__submit {
	display: inline-flex;
	min-height: 48px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--goup-search-radius);
	background: var(--goup-search-accent);
	color: var(--goup-search-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.goup-hero-search__submit:hover {
	background: var(--goup-search-accent-hover);
	color: var(--goup-search-ink);
	transform: translateY(-2px);
}

.goup-hero-search__input:focus-visible,
.goup-hero-search__submit:focus-visible {
	outline: 3px solid #1f7254;
	outline-offset: 2px;
}

.goup-screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.goup-hero-search {
		flex-wrap: wrap;
		padding: 6px;
	}

	.goup-hero-search__icon {
		width: 42px;
		min-width: 42px;
	}

	.goup-hero-search__input {
		width: calc(100% - 42px);
		padding-right: 8px;
	}

	.goup-hero-search__submit {
		width: 100%;
		margin-top: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.goup-hero-search__submit {
		transition: none;
	}
}

