:root {
	--sgsh-navy: #061a3a;
	--sgsh-navy-deep: #031026;
	--sgsh-orange: #f7931e;
	--sgsh-orange-light: #ffb13b;
	--sgsh-white: #ffffff;
}

.sgsh-root,
.sgsh-root *,
.sgsh-root *::before,
.sgsh-root *::after {
	box-sizing: border-box;
	font-family: inherit;
}

.sgsh-root {
	position: relative;
	z-index: 99990;
}

/* Always-floating pill header. It deliberately overlays page content. */
.sgsh-header {
	position: fixed;
	top: max(14px, env(safe-area-inset-top));
	left: 0;
	width: 100%;
	z-index: 99992;
	padding: 0 16px;
	pointer-events: none;
}

.admin-bar .sgsh-header {
	top: calc(32px + max(14px, env(safe-area-inset-top)));
}

.sgsh-shell {
	width: 100%;
	margin: 0 auto;
	pointer-events: none;
}

.sgsh-bar {
	width: min(1320px, 100%);
	min-height: 74px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 9px 14px;
	border: 1px solid rgba(255,255,255,.19);
	border-radius: 999px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
		rgba(6,26,58,.64);
	box-shadow:
		0 20px 50px rgba(3,16,38,.26),
		inset 0 1px 0 rgba(255,255,255,.10);
	backdrop-filter: blur(24px) saturate(140%);
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	pointer-events: auto;
}

/* No spacer: the pill floats over whatever content is beneath it. */
.sgsh-spacer {
	display: none !important;
	height: 0 !important;
}

.sgsh-brand {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	text-decoration: none !important;
}

.sgsh-brand__full {
	display: none !important;
}

.sgsh-brand__icon {
	width: 56px;
	height: 56px;
	display: block;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.sgsh-brand img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sgsh-desktop-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.sgsh-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sgsh-menu--desktop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
}

.sgsh-menu--desktop > li {
	margin: 0;
	padding: 0;
}

.sgsh-menu--desktop > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 11px;
	border-radius: 999px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.sgsh-menu--desktop > li > a:hover,
.sgsh-menu--desktop > li.current-menu-item > a,
.sgsh-menu--desktop > li.current_page_item > a {
	background: rgba(255,255,255,.11);
	color: #fff !important;
	transform: translateY(-1px);
}

.sgsh-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex: 0 0 auto;
}

/* Phone remains available in the full-screen menu so the pill never gets cramped. */
.sgsh-phone {
	display: none !important;
}

.sgsh-phone svg,
.sgsh-quote svg,
.sgsh-overlay__quote svg,
.sgsh-contact-list svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sgsh-quote {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 17px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--sgsh-orange), var(--sgsh-orange-light));
	box-shadow: 0 14px 30px rgba(247,147,30,.25);
	color: var(--sgsh-navy) !important;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease;
}

.sgsh-quote:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(247,147,30,.32);
	color: var(--sgsh-navy) !important;
}

.sgsh-quote svg {
	width: 17px;
	height: 17px;
}

.sgsh-menu-toggle {
	width: 46px;
	height: 46px;
	min-width: 46px;
	min-height: 46px;
	display: none !important;
	place-items: center;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--sgsh-orange) !important;
	box-shadow: none !important;
	text-shadow: none !important;
	cursor: pointer;
	appearance: none !important;
	-webkit-appearance: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: transform .2s ease, opacity .2s ease;
}

.sgsh-root .sgsh-menu-toggle,
.sgsh-root .sgsh-menu-toggle:hover,
.sgsh-root .sgsh-menu-toggle:focus,
.sgsh-root .sgsh-menu-toggle:active,
.sgsh-root .sgsh-menu-toggle[aria-expanded="true"] {
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--sgsh-orange) !important;
}

.sgsh-root .sgsh-menu-toggle::before,
.sgsh-root .sgsh-menu-toggle::after {
	content: none !important;
	display: none !important;
	background: none !important;
	box-shadow: none !important;
}

.sgsh-menu-toggle:hover {
	transform: translateY(-1px);
	opacity: .86;
}

.sgsh-menu-toggle:focus-visible {
	outline: 2px solid rgba(247,147,30,.55);
	outline-offset: 3px;
	border-radius: 7px !important;
}

.sgsh-menu-toggle__lines {
	width: 28px;
	height: 22px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	pointer-events: none;
}

.sgsh-menu-toggle__lines > span {
	display: block;
	width: 100%;
	height: 3px;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: var(--sgsh-orange) !important;
	box-shadow: none !important;
	transform: none;
}

.sgsh-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .28s ease, visibility .28s ease;
}

.admin-bar .sgsh-overlay {
	top: 32px;
}

.sgsh-overlay[aria-hidden="false"] {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.sgsh-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(1,9,24,.78);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.sgsh-overlay__panel {
	position: relative;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	padding: 24px max(24px, calc((100vw - 1280px) / 2)) 34px;
	background:
		radial-gradient(circle at 8% 8%, rgba(247,147,30,.18), transparent 30%),
		radial-gradient(circle at 92% 90%, rgba(25,99,184,.18), transparent 32%),
		linear-gradient(145deg, rgba(6,26,58,.88), rgba(3,16,38,.95));
	transform: translateY(-18px) scale(.99);
	transition: transform .32s cubic-bezier(.22,1,.36,1);
}

.sgsh-overlay[aria-hidden="false"] .sgsh-overlay__panel {
	transform: translateY(0) scale(1);
}

.sgsh-overlay__panel::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 34%);
}

.sgsh-overlay__top,
.sgsh-overlay__content {
	position: relative;
	z-index: 1;
}

.sgsh-overlay__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 42px;
}

.sgsh-overlay__brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #fff !important;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.05;
	text-decoration: none !important;
}

.sgsh-overlay__brand img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.sgsh-overlay__brand small {
	display: inline-block;
	margin-top: 5px;
	color: rgba(255,255,255,.62);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.sgsh-overlay__close {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(247,147,30,.42);
	border-radius: 50%;
	background: rgba(255,255,255,.07);
	color: var(--sgsh-orange);
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
	transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.sgsh-overlay__close:hover {
	transform: rotate(5deg) scale(1.03);
	background: rgba(247,147,30,.14);
	border-color: rgba(247,147,30,.7);
}

.sgsh-overlay__close svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.sgsh-overlay__content {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(320px, .75fr);
	gap: clamp(36px, 7vw, 110px);
	align-items: start;
}

.sgsh-kicker {
	margin: 0 0 12px;
	color: var(--sgsh-orange-light);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.sgsh-overlay__navigation h2 {
	margin: 0 0 28px;
	color: #fff;
	font-size: clamp(38px, 6vw, 76px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.04em;
}

.sgsh-menu--overlay {
	display: grid;
}

.sgsh-menu--overlay > li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.sgsh-menu--overlay > li:first-child {
	border-top: 1px solid rgba(255,255,255,.12);
}

.sgsh-menu--overlay > li > a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 4px;
	color: rgba(255,255,255,.84) !important;
	font-size: clamp(22px, 3vw, 38px);
	font-weight: 650;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-decoration: none !important;
	transition: color .2s ease, padding-left .2s ease;
}

.sgsh-menu--overlay > li > a::after {
	content: "↗";
	flex: 0 0 auto;
	color: var(--sgsh-orange);
	font-size: .72em;
	font-weight: 500;
	transition: transform .2s ease;
}

.sgsh-menu--overlay > li > a:hover,
.sgsh-menu--overlay > li.current-menu-item > a,
.sgsh-menu--overlay > li.current_page_item > a {
	padding-left: 10px;
	color: #fff !important;
}

.sgsh-menu--overlay > li > a:hover::after {
	transform: translate(3px, -3px);
}

.sgsh-contact-card {
	padding: 28px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
	box-shadow: 0 26px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
}

.sgsh-contact-card h3 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.03em;
}

.sgsh-contact-card > p:not(.sgsh-kicker) {
	margin: 0 0 24px;
	color: rgba(255,255,255,.66);
	font-size: 15px;
	line-height: 1.65;
}

.sgsh-contact-list {
	display: grid;
	gap: 10px;
	margin-bottom: 24px;
}

.sgsh-contact-list > a {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding: 12px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 16px;
	background: rgba(255,255,255,.045);
	color: #fff !important;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none !important;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.sgsh-contact-list > a:hover {
	transform: translateY(-1px);
	border-color: rgba(247,147,30,.28);
	background: rgba(255,255,255,.075);
}

.sgsh-contact-list > a > span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.sgsh-contact-list small {
	display: block;
	margin-bottom: 2px;
	color: rgba(255,255,255,.52);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sgsh-contact-list__icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: rgba(247,147,30,.12);
	color: var(--sgsh-orange);
}

.sgsh-contact-list__icon svg {
	width: 20px;
	height: 20px;
}

.sgsh-overlay__quote {
	width: 100%;
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0 22px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--sgsh-orange), var(--sgsh-orange-light));
	box-shadow: 0 18px 36px rgba(247,147,30,.2);
	color: var(--sgsh-navy) !important;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}

.sgsh-overlay__quote:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 42px rgba(247,147,30,.28);
	color: var(--sgsh-navy) !important;
}

.sgsh-overlay__quote svg {
	width: 19px;
	height: 19px;
}

body.sgsh-menu-open {
	overflow: hidden !important;
}

body.sgsh-hide-woodmart .whb-header,
body.sgsh-hide-woodmart .whb-clone,
body.sgsh-hide-woodmart .whb-sticky-header {
	display: none !important;
}

body.sgsh-hide-woodmart-tools .wd-toolbar {
	display: none !important;
}

body.sgsh-hide-woodmart-tools {
	--wd-toolbar-height: 0px;
}

/* Switch before the desktop menu can become cramped. */
@media (max-width: 1280px) {
	.sgsh-desktop-nav,
	.sgsh-quote,
	.sgsh-phone {
		display: none !important;
	}

	.sgsh-menu-toggle {
		display: grid !important;
	}

	.sgsh-bar {
		width: min(760px, 100%);
	}
}

@media (max-width: 820px) {
	.sgsh-header {
		top: max(10px, env(safe-area-inset-top));
		padding: 0 10px;
	}

	.admin-bar .sgsh-header {
		top: calc(46px + max(10px, env(safe-area-inset-top)));
	}

	.admin-bar .sgsh-overlay {
		top: 46px;
	}

	.sgsh-bar {
		width: 100%;
		min-height: 58px;
		padding: 5px 8px;
	}

	.sgsh-brand,
	.sgsh-brand__icon {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
	}

	.sgsh-menu-toggle {
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
	}

	.sgsh-overlay__panel {
		padding: 20px 22px 30px;
	}

	.sgsh-overlay__top {
		margin-bottom: 30px;
	}

	.sgsh-overlay__content {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.sgsh-contact-card {
		padding: 22px;
	}
}

@media (max-width: 640px) {
	.sgsh-overlay__panel {
		padding: 16px 16px 26px;
	}

	.sgsh-overlay__brand img {
		width: 54px;
		height: 54px;
	}

	.sgsh-overlay__brand {
		gap: 10px;
		font-size: 16px;
	}

	.sgsh-overlay__close {
		width: 52px;
		height: 52px;
	}

	.sgsh-overlay__navigation h2 {
		margin-bottom: 20px;
		font-size: 40px;
	}

	.sgsh-menu--overlay > li > a {
		padding: 16px 2px;
		font-size: 24px;
	}

	.sgsh-contact-card {
		padding: 18px;
		border-radius: 22px;
	}
}

@media (max-width: 390px) {
	.sgsh-header {
		padding: 0 8px;
	}

	.sgsh-brand,
	.sgsh-brand__icon {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}

	.sgsh-menu-toggle {
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
	}

	.sgsh-overlay__brand span {
		display: none;
	}

	.sgsh-overlay__navigation h2 {
		font-size: 34px;
	}

	.sgsh-menu--overlay > li > a {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgsh-bar,
	.sgsh-overlay,
	.sgsh-overlay__panel,
	.sgsh-menu--desktop > li > a,
	.sgsh-menu--overlay > li > a,
	.sgsh-menu--overlay > li > a::after {
		transition: none !important;
	}
}


/* v1.2.0: flush mobile pill and unstyled CSS burger */
@media (max-width: 1280px) {
	.sgsh-actions {
		align-items: center;
	}

	.sgsh-menu-toggle__lines {
		margin: 0 auto;
	}
}

@media (max-width: 820px) {
	.sgsh-header {
		margin: 0;
	}

	.sgsh-bar {
		background:
			linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
			rgba(6,26,58,.60);
	}
}


/* v1.2.1: float only the pill; page content begins at the viewport top. */
body.sgsh-enabled {
    --sgsh-content-top-offset: 0px;
}

/* Remove Woodmart's hidden header reservation and common sticky placeholders. */
body.sgsh-enabled.sgsh-hide-woodmart .whb-header-placeholder,
body.sgsh-enabled.sgsh-hide-woodmart .whb-sticky-header,
body.sgsh-enabled.sgsh-hide-woodmart .whb-clone,
body.sgsh-enabled.sgsh-hide-woodmart .whb-scroll-slide,
body.sgsh-enabled.sgsh-hide-woodmart .wd-header-spacer,
body.sgsh-enabled.sgsh-hide-woodmart [class*="header-placeholder"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Woodmart commonly reserves vertical space on the main content wrapper. */
body.sgsh-enabled .main-page-wrapper,
body.sgsh-enabled .website-wrapper > .main-page-wrapper,
body.sgsh-enabled main.main-page-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.sgsh-enabled .main-page-wrapper > .container,
body.sgsh-enabled .main-page-wrapper > .container-fluid,
body.sgsh-enabled .main-page-wrapper > .wd-content-layout,
body.sgsh-enabled .main-page-wrapper > .site-content,
body.sgsh-enabled .main-page-wrapper > .page-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure the first Elementor section starts flush with the top of the page. */
body.sgsh-enabled .main-page-wrapper .elementor:first-child,
body.sgsh-enabled .main-page-wrapper .elementor > .elementor-element:first-child,
body.sgsh-enabled .main-page-wrapper .e-con:first-child {
    margin-top: 0 !important;
}

/* The header itself retains a deliberate floating gap. */
body.sgsh-enabled .sgsh-header {
    top: max(14px, env(safe-area-inset-top)) !important;
}

body.admin-bar.sgsh-enabled .sgsh-header {
    top: calc(32px + max(14px, env(safe-area-inset-top))) !important;
}

@media (max-width: 782px) {
    body.sgsh-enabled .sgsh-header {
        top: max(10px, env(safe-area-inset-top)) !important;
    }

    body.admin-bar.sgsh-enabled .sgsh-header {
        top: calc(46px + max(10px, env(safe-area-inset-top))) !important;
    }
}
