.products-page {
		min-height: 100vh;
	}

	.retro-button.is-loading {
		opacity: 0.65;
		pointer-events: none;
	}

	.load-error {
		margin-top: 0.75rem;
		color: var(--retro-red, #e52535);
		font-size: 0.9rem;
	}

	/* --- Products hero -------------------------------------------------------

	   Same treatment as the category hero: nothing is laid over the photograph.
	   The old design blurred the image twice (2px on the overlay, 12px inside
	   the content box), darkened it to ~55%, then covered the middle with an
	   85%-opaque panel.

	   This hero is full-bleed rather than a rounded card, so the plaque sits
	   inside the frame instead of overhanging it — an overhang would break the
	   4px bottom rule that separates the hero from the grid. */

	.products-hero {
		position: relative;
		display: block;
		width: 100%;
		/* Full-bleed, so a wider band than the category card. */
		aspect-ratio: 32 / 10;
		min-height: 300px;
		max-height: 460px;
		padding: 0;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		background-color: var(--retro-navy);
		border-bottom: 4px solid var(--retro-navy);
		overflow: hidden;
		margin-bottom: 2.5rem;
	}

	/* A whisper of vignette for edge definition. Not a scrim — the centre of
	   the image stays at full saturation. */
	.products-hero-overlay {
		position: absolute;
		inset: 0;
		background: radial-gradient(120% 100% at 50% 40%,
			rgba(15, 37, 128, 0) 55%,
			rgba(15, 37, 128, 0.38) 100%);
	}

	/* Bottom-anchored and constrained to the same 1400px column as the product
	   grid below, so the plaque lines up with the first card. */
	.products-hero-content {
		position: absolute;
		z-index: 2;
		inset: auto 0 2.25rem 0;
		max-width: 1400px;
		margin: 0 auto;
		padding: 0 2rem;
		text-align: left;
	}

	.products-hero-plate {
		display: inline-block;
		max-width: min(34rem, 100%);
		background: var(--retro-yellow);
		border: 3px solid var(--retro-navy);
		border-radius: 14px;
		box-shadow: 7px 7px 0 var(--retro-navy);
		padding: 1rem 1.6rem 1.1rem;
		transform: rotate(-2deg);
		margin-bottom: 1.6rem;
	}

	/* No stroke, no text-shadow — the plaque supplies the contrast. */
	.page-title {
		font-family: var(--font-display);
		font-size: clamp(1.9rem, 4vw, 3rem);
		line-height: 0.95;
		color: var(--retro-navy);
		letter-spacing: 1px;
		margin-bottom: 0.4rem;
	}

	.page-subtitle {
		font-family: var(--font-body);
		color: var(--retro-navy);
		font-size: 1rem;
		font-weight: 600;
		line-height: 1.45;
		margin: 0;
		opacity: 0.85;
	}

	/* Left-aligned under the plaque rather than centred. The white pill is its
	   own backing, so it needs nothing behind it. */
	.search-form {
		max-width: 600px;
		margin: 0;
	}

	@media (prefers-reduced-motion: no-preference) {
		.products-hero-plate {
			animation: hero-plate 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
		}

		.search-form {
			animation: hero-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s backwards;
		}
	}

	@keyframes hero-rise {
		from { opacity: 0; transform: translateY(14px); }
		to   { opacity: 1; transform: translateY(0); }
	}

	/* Preserves the -2deg tilt through the animation. */
	@keyframes hero-plate {
		from { opacity: 0; transform: rotate(-2deg) translateY(20px); }
		to   { opacity: 1; transform: rotate(-2deg) translateY(0); }
	}

	.search-box {
		display: flex;
		align-items: center;
		background: white;
		border-radius: 50px;
		padding: 0.375rem 0.5rem 0.375rem 1.25rem;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	}

	.search-icon {
		color: var(--color-gray-400);
		margin-right: 0.75rem;
		flex-shrink: 0;
	}

	.search-box input {
		flex: 1;
		border: none;
		outline: none;
		font-size: 1rem;
		font-family: var(--font-body);
		background: transparent;
		padding: 0.5rem 0;
	}

	.search-box input::placeholder {
		color: var(--color-gray-400);
	}

	.search-btn {
		background: var(--color-red);
		color: white;
		border: none;
		border-radius: 50px;
		padding: 0.625rem 1.5rem;
		font-family: var(--font-heading);
		font-weight: 600;
		font-size: 0.9rem;
		text-transform: uppercase;
		cursor: pointer;
		transition: background 0.2s ease;
	}

	.search-btn:hover {
		background: var(--color-red-dark);
	}

	.container {
		max-width: 1280px;
		margin: 0 auto;
		padding: 0 1.5rem;
	}

	.results-info {
		padding: 1.5rem 0;
		color: var(--text-secondary);
		font-size: 0.9rem;
	}

	.product-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 1.5rem;
		padding-bottom: 3rem;
	}

	.empty-state {
		text-align: center;
		padding: 6rem 2rem;
	}

	.empty-icon {
		color: var(--color-gray-300);
		margin-bottom: 1.5rem;
	}

	.empty-text {
		font-family: var(--font-heading);
		font-size: 1.25rem;
		color: var(--text-muted);
		margin-bottom: 1.5rem;
	}

	@media (max-width: 768px) {
		/* The search box stacks vertically below, which makes the hero content
		   far taller than a 3.2:1 band. Absolute positioning would overflow it,
		   so the hero returns to normal flow and grows to fit — `flex-end`
		   keeps the type at the bottom, leaving the image visible above it. */
		.products-hero {
			aspect-ratio: auto;
			/* Grows to fit its content; this only guarantees a strip of image
			   above the plaque without eating the whole first screen. */
			min-height: 300px;
			max-height: none;
			display: flex;
			align-items: flex-end;
			padding: 1.25rem 0 1.5rem;
		}

		.products-hero-content {
			position: static;
			inset: auto;
			width: 100%;
			max-width: none;
			padding: 0 1.25rem;
		}

		.products-hero-plate {
			display: block;
			max-width: none;
			margin-bottom: 1.25rem;
		}

		.page-title {
			font-size: 1.75rem;
		}

		.search-form {
			max-width: none;
		}

		.page-header {
			padding: 3rem 0;
		}

		.search-box {
			flex-direction: column;
			border-radius: 12px;
			padding: 1rem;
			gap: 0.75rem;
		}

		.search-icon {
			display: none;
		}

		.search-box input {
			width: 100%;
			text-align: center;
		}

		.search-btn {
			width: 100%;
		}
	}
