/* Search is already wired to the site's product and guide search page. */
.moclen-utility-bar {
	background: var(--forest);
	color: var(--cream);
}

.moclen-utility-bar .page-container {
	display: flex;
	min-height: 34px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.moclen-utility-item,
.moclen-utility-voucher {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	font-size: .73rem;
	font-weight: 600;
}

.moclen-utility-item svg,
.moclen-utility-voucher svg {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
}

.moclen-utility-hours {
	border-inline-start: 1px solid rgba(255, 249, 241, .28);
	padding-inline-start: 16px;
}

.moclen-utility-voucher {
	margin-inline-start: auto;
	color: #f4c18d;
	text-decoration: none;
}

.moclen-utility-voucher:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.header-wrap .header-actions {
	gap: clamp(8px, 1vw, 14px);
}

.header-wrap .header-actions > .header-search-area {
	display: flex;
	flex: 0 1 clamp(185px, 18vw, 228px);
	min-width: 0;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 6px;
}

.header-wrap .header-actions .header-search {
	display: flex !important;
	width: 100%;
	min-width: 0;
	height: 43px;
	align-items: center;
	gap: 9px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--forest);
	box-shadow: 0 3px 12px rgba(44, 66, 52, .045);
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.header-wrap .header-search:focus-within {
	border-color: var(--sage-deep);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(76, 137, 107, .12);
}

.header-wrap .header-search-submit {
	display: inline-grid;
	flex: 0 0 18px;
	width: 18px;
	height: 24px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--forest);
	cursor: pointer;
}

.header-wrap .header-search-submit:hover {
	color: var(--terracotta);
}

.header-wrap .header-search input {
	width: 100%;
	min-width: 0;
	color: var(--forest);
	background: transparent;
	border: 0;
	outline: 0;
	font-size: .84rem;
}

.header-wrap .header-search input::placeholder {
	color: var(--muted-foreground);
	opacity: 1;
}

.header-search-quicklinks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	padding-inline: 3px;
	font-size: .63rem;
	line-height: 1.25;
}

.header-search-quicklinks > span {
	color: var(--muted-foreground);
	font-weight: 700;
}

.header-search-quicklinks a {
	color: var(--forest-soft);
	text-decoration: underline;
	text-decoration-color: rgba(43, 106, 87, .25);
	text-underline-offset: 2px;
	white-space: nowrap;
}

.header-search-quicklinks a:hover {
	color: var(--terracotta);
	text-decoration-color: currentColor;
}

.footer-contact > span {
	display: flex;
	align-items: flex-start;
	gap: 7px;
}

.footer-contact > span svg {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	margin-top: 3px;
}

.header-wrap-home .main-nav {
	gap: clamp(12px, 1.5vw, 22px);
}

.header-wrap-home .nav-links {
	gap: clamp(14px, 2.2vw, 34px);
}

@media (min-width: 1021px) and (max-width: 1240px) {
	.header-wrap .header-actions > .header-search-area {
		flex-basis: 178px;
	}

	.header-wrap .header-actions {
		gap: 8px;
	}

	.header-wrap-home .nav-links {
		gap: 14px;
		font-size: .82rem;
	}

	.header-search-quicklinks {
		gap: 3px 5px;
		font-size: .59rem;
	}
}

@media (max-width: 1020px) {
	.moclen-utility-bar .page-container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		justify-content: center;
		min-height: 0;
		gap: 5px 8px;
		padding-block: 7px;
	}

	.moclen-utility-item,
	.moclen-utility-voucher {
		font-size: .65rem;
	}

	.moclen-utility-address {
		grid-column: 1 / -1;
		justify-content: center;
		text-align: center;
	}

	.moclen-utility-hours {
		justify-self: end;
		border-inline-start: 0;
		padding-inline-start: 0;
	}

	.moclen-utility-voucher {
		justify-self: start;
		margin-inline-start: 0;
		white-space: nowrap;
	}

	.header-wrap .header-actions > .header-search-area {
		display: none;
	}

	.header-wrap .mobile-nav .header-search-area {
		display: block;
		margin: 12px 0 8px;
	}

	.header-wrap .mobile-nav .header-search {
		width: 100%;
		min-width: 0;
		height: 44px;
	}

	.header-wrap .mobile-nav .header-search-quicklinks {
		justify-content: flex-start;
		gap: 5px 10px;
		font-size: .72rem;
	}

	.header-wrap .mobile-nav.is-open {
		max-height: min(78svh, 720px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

@media (max-width: 420px) {
	.moclen-utility-item,
	.moclen-utility-voucher {
		gap: 5px;
		font-size: .58rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.header-wrap .header-search {
		transition: none;
	}
}
