/* In-house 404 + search-results pages — full store chrome (header/footer) with
   a friendly, on-brand centered block instead of WordPress's bare fallback. */

.hw-404 {
	max-width: 640px;
	margin: 2rem auto 3rem;
	text-align: center;
	padding: 1rem;
}
.hw-404__code {
	font-size: clamp(4.5rem, 14vw, 7rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--hw-accent, #32432d);
	opacity: 0.18;
	margin-bottom: 0.25rem;
}
.hw-404__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	margin: 0 0 0.6rem;
	color: var(--color-text-main, #1d271d);
}
.hw-404__text {
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.6);
	margin: 0 auto 1.6rem;
	max-width: 30rem;
}

.hw-404__search {
	display: flex;
	gap: 0.5rem;
	max-width: 460px;
	margin: 0 auto 1.5rem;
}
.hw-404__search-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 1.5px solid var(--color-border, #d8d2c7);
	border-radius: 999px;
	padding: 0.7rem 1.1rem;
	font: inherit;
	background: var(--hw-card, #fff);
	box-sizing: border-box;
}
.hw-404__search-input:focus {
	outline: none;
	border-color: var(--hw-accent, #32432d);
	box-shadow: 0 0 0 2px rgba(50, 67, 45, 0.18);
}
.hw-404__search-btn {
	border: none;
	background: var(--hw-accent, #32432d);
	color: var(--hw-on-accent, #fff);
	border-radius: 999px;
	padding: 0.7rem 1.5rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	flex: 0 0 auto;
}
.hw-404__search-btn:hover { filter: brightness(1.1); }

.hw-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
}
.hw-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0.7rem 1.6rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease, background 0.15s ease;
}
.hw-404__btn--solid {
	background: var(--hw-accent, #32432d);
	color: var(--hw-on-accent, #fff);
	border: 1.5px solid var(--hw-accent, #32432d);
}
.hw-404__btn--solid:hover { filter: brightness(1.1); color: var(--hw-on-accent, #fff); }
.hw-404__btn--ghost {
	background: transparent;
	color: var(--hw-accent, #32432d);
	border: 1.5px solid var(--color-border, #d8d2c7);
}
.hw-404__btn--ghost:hover { background: rgba(0, 0, 0, 0.04); }

/* Search results list.

   NOTE the wrapper is .hw-search-RESULTS, not .hw-search: the header's search
   component (SearchBar.vue) already owns .hw-search, and this margin-bottom
   was landing on it site-wide — inflating the header row to 84px and pushing
   the search box, account and cart out of line with the logo. */
.hw-search-results {
	margin-bottom: 2.5rem;
}
.hw-search__heading {
	margin: 0 0 1.25rem;
}
.hw-search__results {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}
.hw-search__result {
	background: var(--hw-card, #fff);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 1rem 1.25rem;
}
.hw-search__result-type {
	display: inline-block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 700;
	color: rgba(0, 0, 0, 0.45);
	margin-bottom: 0.25rem;
}
.hw-search__result-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.3rem;
}
.hw-search__result-title a {
	color: var(--color-text-main, #1d271d);
	text-decoration: none;
}
.hw-search__result-title a:hover { color: var(--hw-accent, #32432d); }
.hw-search__result-excerpt {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.6);
}
