/* Silver Star Header Widget — base structural styles.
   Colours are read via var(--x, fallback) and never redeclared on the
   wrapper itself, so Elementor's Style-tab colour controls (set as CSS
   variables on the outer wrapper) always cascade through correctly.
   !important is reserved for the couple of resets themes commonly force
   on <a> and <button> elements that have no matching Elementor control
   (text-decoration, native button chrome). */

.ssh-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #FFFDF9;
	font-family: 'Manrope', sans-serif;
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.ssh-header.ssh-static {
	position: static;
}
.ssh-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(43, 29, 20, 0.06);
	border-bottom-color: var(--ssh-line, #EDE0D2);
}
.ssh-header *,
.ssh-header *::before,
.ssh-header *::after {
	box-sizing: border-box;
}
.ssh-bar {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	position: relative;
}

/* Logo */
a.ssh-logo {
	display: flex !important;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	color: inherit !important;
	flex: 0 0 auto;
}
.ssh-logo-slot {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px dashed var(--ssh-accent, #B87A4B);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ssh-accent-deep, #8B5A2B);
	text-align: center;
	line-height: 1.2;
	padding: 4px;
	flex: 0 0 auto;
	overflow: hidden;
}
.ssh-logo-slot.has-image {
	border: none;
	font-size: 0;
}
.ssh-logo-slot img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.ssh-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.ssh-logo-script {
	font-family: 'Meow Script', cursive;
	font-size: 26px;
	color: var(--ssh-accent-deep, #8B5A2B);
}
.ssh-logo-sub {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ssh-muted, #8A7A6C);
	margin-top: 2px;
}

/* Nav */
.ssh-nav {
	display: flex;
	align-items: center;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ssh-nav a {
	position: relative;
	text-decoration: none !important;
	color: var(--ssh-ink, #2B1D14) !important;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 6px 0;
	display: inline-block;
}
.ssh-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--ssh-accent-light, #E0AD78), var(--ssh-accent-deep, #8B5A2B));
	transition: width 0.25s ease;
}
.ssh-nav a:hover::after,
.ssh-nav a.is-active::after {
	width: 100%;
}
.ssh-nav a.is-active {
	color: var(--ssh-accent-deep, #8B5A2B) !important;
}

/* Mobile toggle */
.ssh-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.ssh-toggle span {
	width: 100%;
	height: 2px;
	background: var(--ssh-ink, #2B1D14);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.ssh-header.is-open .ssh-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ssh-header.is-open .ssh-toggle span:nth-child(2) { opacity: 0; }
.ssh-header.is-open .ssh-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
	.ssh-toggle { display: flex; }
	.ssh-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		background: var(--ssh-bg, #FFFDF9);
		border-bottom: 1px solid var(--ssh-line, #EDE0D2);
		padding: 8px 24px 20px;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.ssh-header.is-open .ssh-nav {
		max-height: 320px;
	}
	.ssh-nav a {
		display: block;
		width: 100%;
		padding: 12px 0;
		border-bottom: 1px solid var(--ssh-line, #EDE0D2);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ssh-header, .ssh-nav, .ssh-toggle span, .ssh-nav a::after {
		transition: none !important;
	}
}
