/**
 * EGP Shop quick-navigation styles.
 *
 * Scoped under .egp-quicknav so nothing here leaks into the rest of the theme.
 * Fonts are inherited from your theme on purpose, so the bar matches your site
 * (including the homepage) without loading a second typeface. Colors live in the
 * CSS variables below; edit them in one place if your palette shifts.
 *
 * This version is deliberately compact so it sits as a slim band at the top of
 * the shop rather than filling the hero area.
 */

.egp-quicknav {
	--egp-navy: #1a2f4a;
	--egp-navy-deep: #14243a;
	--egp-gold: #c9a961;
	--egp-gold-deep: #b08d3e;
	--egp-cream: #faf6ef;
	--egp-line: rgba(26, 47, 74, 0.14);

	margin: 0 0 20px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--egp-line);
	font-family: inherit;
}

.egp-quicknav * {
	box-sizing: border-box;
}

.egp-quicknav a {
	text-decoration: none;
}

/* Header: label on the left, shop-home reference on the right. */
.egp-quicknav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.egp-quicknav__eyebrow {
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--egp-navy);
	opacity: 0.55;
}

.egp-quicknav__home {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--egp-navy);
}

.egp-quicknav__home:hover {
	color: var(--egp-gold-deep);
}

/* Rows: an inline label, then wrapping pills. */
.egp-quicknav__row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 8px;
}

.egp-quicknav__label {
	flex: 0 0 auto;
	min-width: 52px;
	padding-top: 9px;
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--egp-navy);
	opacity: 0.55;
}

.egp-quicknav__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.egp-pill {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 7px 14px;
	border: 1.5px solid var(--egp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--egp-navy);
	font-size: 0.87rem;
	font-weight: 600;
	line-height: 1.1;
}

.egp-pill:hover {
	border-color: var(--egp-gold);
}

.egp-pill.is-active {
	background: var(--egp-navy);
	border-color: var(--egp-navy);
	color: var(--egp-cream);
}

/* Freebie: the deliberate standout, star plus gold, no subtext. */
.egp-freebie {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 7px 15px;
	border: none;
	border-radius: 10px;
	background: var(--egp-gold);
	color: var(--egp-navy-deep);
	font-size: 0.87rem;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(176, 141, 62, 0.25);
}

.egp-freebie:hover {
	background: var(--egp-gold-deep);
	color: var(--egp-cream);
}

.egp-freebie.is-active {
	background: var(--egp-navy-deep);
	color: var(--egp-cream);
}

.egp-freebie__mark {
	font-size: 1rem;
	line-height: 1;
}

/* Footer: helper text that points to the detailed filters, plus clear. */
.egp-quicknav__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-top: 10px;
}

.egp-quicknav__hint {
	flex: 1 1 auto;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--egp-navy);
	opacity: 0.7;
}

.egp-quicknav__clear {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--egp-gold-deep);
}

.egp-quicknav__clear:hover {
	text-decoration: underline;
}

.egp-pill:focus-visible,
.egp-freebie:focus-visible,
.egp-quicknav__home:focus-visible,
.egp-quicknav__clear:focus-visible {
	outline: 3px solid var(--egp-gold);
	outline-offset: 2px;
}

.egp-quicknav.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

/* Empty state when a filter combination matches nothing. */
.egp-noresults {
	margin: 0 0 24px;
	padding: 22px;
	border: 1px solid rgba(26, 47, 74, 0.14);
	border-radius: 14px;
	background: #faf6ef;
}

.egp-noresults__title {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a2f4a;
}

.egp-noresults__body {
	margin: 0 0 14px;
	font-size: 0.92rem;
	color: #1a2f4a;
	opacity: 0.8;
}

.egp-noresults__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.egp-pill,
	.egp-freebie,
	.egp-quicknav {
		transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
	}
}
