/* Fashion Header & Footer — front-end styles */

:root {
	--fhf-max-width: 1200px;
	--fhf-text: #1d1d1d;
	--fhf-muted: #6b6b6b;
	--fhf-border: #ececec;
	--fhf-bg-footer: #17171a;
	--fhf-footer-text: #d8d8d8;
	--fhf-footer-muted: #9a9a9a;
	--fhf-footer-border: rgba(255, 255, 255, 0.09);
	--fhf-accent: #a8324a; /* overridden inline from Settings > Header & Footer */
}

.fhf-header,
.fhf-footer {
	color: var(--fhf-text);
}

/* -------------------- Header -------------------- */
/* Not sticky/fixed by request — scrolls away with the page. */

.fhf-header {
	background: #fff;
}

.fhf-header::after {
	content: "";
	display: block;
	height: 3px;
	background: var(--fhf-accent);
}

/* Row 1: centered branding (logo + tagline) */

.fhf-branding-row {
	border-bottom: 1px solid var(--fhf-border);
	padding: 22px 24px;
	text-align: center;
}

.fhf-branding-inner {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	max-width: var(--fhf-max-width);
}

.fhf-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.fhf-logo img {
	max-height: 48px;
	width: auto;
	display: block;
}

.fhf-logo-text {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.fhf-tagline {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--fhf-text);
	letter-spacing: 0.005em;
	text-align: left;
}

/* Row 2: centered nav */

.fhf-nav-row {
	border-bottom: 1px solid var(--fhf-border);
}

.fhf-nav-row-inner {
	max-width: var(--fhf-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.fhf-nav {
	display: flex;
	justify-content: center;
}

.fhf-menu {
	list-style: none;
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
}

.fhf-menu > li {
	position: relative;
}

.fhf-menu > li > a {
	text-decoration: none;
	color: var(--fhf-text);
	font-size: 0.93rem;
	font-weight: 600;
	letter-spacing: 0.015em;
	padding: 14px 2px;
	display: inline-block;
	position: relative;
	transition: color 0.15s ease;
}

.fhf-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 10px;
	height: 2px;
	background: var(--fhf-accent);
	transition: right 0.2s ease;
}

.fhf-menu > li:hover > a {
	color: var(--fhf-accent);
}

.fhf-menu > li:hover > a::after {
	right: 0;
}

/* Dropdown — flush against the parent item (no gap) so the pointer
   never leaves both elements while moving down into the submenu.
   A previous version used margin-top here, which created exactly
   that gap and caused the menu to collapse before you could reach
   the sub-category links. */
.fhf-menu ul {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border-radius: 0 0 10px 10px;
	padding: 14px 0 10px;
	min-width: 210px;
	margin-top: 0;
	display: none;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
	border-top: 3px solid var(--fhf-accent);
	z-index: 50;
}

.fhf-menu li:hover > ul {
	display: block;
}

.fhf-menu ul a {
	display: block;
	padding: 9px 20px;
	color: var(--fhf-text);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.12s ease, color 0.12s ease, padding-left 0.12s ease;
}

.fhf-menu ul a:hover {
	background: #f7f2f3;
	color: var(--fhf-accent);
	padding-left: 24px;
}

.fhf-mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.fhf-mobile-toggle:focus,
.fhf-mobile-toggle:active,
.fhf-mobile-toggle:focus-visible {
	background: none;
}

/* Keep a visible focus ring for keyboard users, without the persistent
   blue tap-highlight browsers apply on touch. */
.fhf-mobile-toggle:focus-visible {
	box-shadow: 0 0 0 2px var(--fhf-accent);
	border-radius: 4px;
}

.fhf-mobile-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--fhf-text);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Hamburger → X when the mobile menu is open */
.fhf-mobile-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.fhf-mobile-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.fhf-mobile-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.fhf-mobile-menu {
	display: none;
	background: #fff;
	border-bottom: 1px solid var(--fhf-border);
}

.fhf-mobile-menu.is-open {
	display: block;
}

.fhf-mobile-menu-list {
	list-style: none;
	margin: 0;
	padding: 8px 24px 16px;
}

.fhf-mobile-menu-list li {
	border-bottom: 1px solid var(--fhf-border);
}

.fhf-mobile-menu-list a {
	display: block;
	padding: 12px 0;
	color: var(--fhf-text);
	text-decoration: none;
	font-weight: 500;
}

.fhf-mobile-menu-list a:hover {
	color: var(--fhf-accent);
}

@media (max-width: 880px) {
	.fhf-nav {
		display: none;
	}
	.fhf-nav-row-inner {
		/* The desktop menu is hidden here, so without an explicit height
		   this row collapses to 0 and the hamburger straddles the
		   divider lines. */
		min-height: 56px;
	}
	.fhf-mobile-toggle {
		display: flex;
	}
	.fhf-branding-inner {
		flex-direction: column;
		gap: 8px;
	}
	.fhf-tagline {
		text-align: center;
		font-size: 1.1rem;
	}
}

/* -------------------- Footer -------------------- */
/* Two columns: brand/about/social on the left, a stacked list of
   utility pages (About, Contact, Privacy Policy, etc.) on the right —
   auto-populated from whichever of those pages actually exist. */

.fhf-footer {
	background: var(--fhf-bg-footer);
	color: var(--fhf-footer-text);
	margin-top: 56px;
	padding: 48px 24px 0;
}

.fhf-footer .fhf-logo-text {
	color: #fff;
}

.fhf-footer-top {
	max-width: var(--fhf-max-width);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--fhf-footer-border);
}

.fhf-footer-brand {
	max-width: 34em;
}

.fhf-footer-brand .fhf-logo img {
	max-height: 40px;
	filter: brightness(0) invert(1);
}

.fhf-footer-about {
	margin: 14px 0 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--fhf-footer-muted);
}

.fhf-social-links {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
}

.fhf-social-links a {
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, transform 0.15s ease;
}

.fhf-social-links a:hover {
	background: var(--fhf-accent);
	transform: translateY(-2px);
}

.fhf-footer-links {
	flex-shrink: 0;
}

.fhf-utility-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

.fhf-utility-links li {
	margin-bottom: 10px;
}

.fhf-utility-links a {
	color: var(--fhf-accent);
	text-decoration: none;
	font-size: 0.92rem;
	transition: opacity 0.12s ease;
}

.fhf-utility-links a:hover {
	opacity: 0.75;
	text-decoration: underline;
}

.fhf-footer-bottom {
	max-width: var(--fhf-max-width);
	margin: 0 auto;
	padding: 20px 0 26px;
	text-align: center;
}

.fhf-copyright {
	margin: 0;
	font-size: 0.78rem;
	color: var(--fhf-footer-muted);
}

@media (max-width: 700px) {
	.fhf-footer-top {
		flex-direction: column;
	}
	.fhf-utility-links ul {
		text-align: left;
	}
}
