.ssh-header {
	--ssh-primary: #C1663B;
	--ssh-secondary: #7C8B5F;
	--ssh-bg: #F7EFE3;
	--ssh-text: #3C2E22;

	font-family: var(--ss-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	background-color: var(--ss-header-background, rgba(247, 239, 227, 0.92));
	backdrop-filter: blur(6px);
	position: sticky;
	top: 0;
	z-index: 9999;
	border-bottom: 1px solid var(--ss-divider-color, rgba(0,0,0,0.06));
	position: relative;
}

.ssh-header-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.ssh-header-inner {
	position: relative;
	z-index: 1;
	max-width: var(--ss-max-content-width, 1200px);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.ssh-brand {
	text-decoration: none;
	display: flex;
	align-items: center;
}

.ssh-logo-img {
	max-height: 44px;
	width: auto;
	display: block;
}

.ssh-brand-text {
	font-family: var(--ss-font-heading, 'Playfair Display', Georgia, serif) !important;
	font-size: 22px;
	font-weight: 700;
	color: var(--ssh-primary);
	white-space: nowrap;
}

/* Hamburger is always visible now — a simple, calm header: icon + name. */
.ssh-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 10px;
	flex-shrink: 0;
}

.ssh-hamburger:hover {
	background: rgba(0,0,0,0.05);
}

.ssh-hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ss-nav-link-color, var(--ssh-text));
	border-radius: 2px;
	transition: transform var(--ss-transition-speed, 0.2s) ease, opacity var(--ss-transition-speed, 0.2s) ease;
}

.ssh-hamburger.ssh-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ssh-hamburger.ssh-open span:nth-child(2) { opacity: 0; }
.ssh-hamburger.ssh-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav dropdown: appears directly below the header bar, full width,
   links wrapping naturally instead of being squeezed onto one line. */
.ssh-nav {
	position: relative;
	z-index: 1;
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--ss-transition-speed, 0.25s) ease;
	background: var(--ssh-bg);
	border-top: 1px solid var(--ss-divider-color, rgba(0,0,0,0.08));
}

.ssh-nav.ssh-nav-open {
	max-height: 70vh;
	overflow-y: auto;
}

.ssh-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 16px 24px;
	max-width: var(--ss-max-content-width, 1200px);
	margin-left: auto;
	margin-right: auto;
}

.ssh-nav a {
	display: inline-block;
	text-decoration: none;
	color: var(--ss-nav-link-color, var(--ssh-text));
	font-size: 14px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: var(--ss-radius-button, 999px);
	background: rgba(0,0,0,0.03);
	transition: background var(--ss-transition-speed, 0.15s) ease, color var(--ss-transition-speed, 0.15s) ease;
	white-space: nowrap;
}

.ssh-nav a:hover {
	background: var(--ssh-primary);
	color: #fff;
}

@media (max-width: 640px) {
	.ssh-header-inner { padding: 12px 18px; }
	.ssh-nav ul { padding: 14px 18px; }
	.ssh-brand-text { font-size: 19px; }
}
