/* Global Fix for White Stripe above Hero */
html, body {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

#wpadminbar {
	position: fixed !important;
}

/* Container */
.sqm-9e66e5f2-wrapper {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

/* Toggle Button - Perfectly Square, centered, highly transparent, non-floating on mobile */
.sqm-9e66e5f2-toggle {
	position: fixed;
	top: 30px;
	right: 30px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 50px !important;
	height: 50px !important;
	color: #ffffff;
	border: none !important;
	border-radius: 0 !important; /* Perfect Square */
	cursor: pointer;
	z-index: 99999; /* Absolute top layer */
	transition: background-color 0.3s ease, transform 0.2s ease;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.sqm-9e66e5f2-toggle:hover {
	transform: scale(1.05);
}

.sqm-9e66e5f2-toggle .sqm-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.sqm-9e66e5f2-toggle .sqm-icon svg {
	width: 24px !important;
	height: 24px !important;
	fill: currentColor;
	display: block !important;
	margin: 0 !important;
}

/* Mobile Corner Positioning - Non-Floating */
@media screen and (max-width: 767px) {
	.sqm-9e66e5f2-toggle {
		position: absolute !important; /* Disables floating, scrolls with header */
		top: 20px !important;
		right: 20px !important;
		left: auto !important;
		transform: none !important;
	}
	.sqm-9e66e5f2-toggle:hover {
		transform: scale(1.05) !important;
	}
}

/* Side Drawer */
.sqm-9e66e5f2-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	z-index: 100000;
	visibility: hidden;
	transition: visibility 0.4s;
}

.sqm-9e66e5f2-drawer.is-active {
	visibility: visible;
}

.sqm-drawer-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.sqm-9e66e5f2-drawer.is-active .sqm-drawer-overlay {
	opacity: 1;
}

.sqm-drawer-content {
	position: absolute;
	top: 0;
	right: -320px;
	width: 320px;
	max-width: 100%;
	height: 100%;
	background-color: #ffffff;
	padding: 60px 30px;
	display: flex;
	flex-direction: column;
	transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

.sqm-9e66e5f2-drawer.is-active .sqm-drawer-content {
	right: 0;
}

/* Close Button - Completely transparent background, terracotta 'X' matching icon size */
.sqm-drawer-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	color: #E2725B !important; /* Terracotta */
	cursor: pointer;
	transition: transform 0.2s, opacity 0.2s;
	padding: 0 !important;
	line-height: 1;
	width: 50px !important;
	height: 50px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.sqm-drawer-close .sqm-close-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
}

.sqm-drawer-close svg,
.sqm-drawer-close i {
	width: 24px !important; /* Matches toggle icon size */
	height: 24px !important;
	font-size: 24px !important;
	fill: currentColor !important;
	color: currentColor !important;
}

.sqm-drawer-close:hover {
	transform: scale(1.1);
	opacity: 0.8;
}

/* Menu Styling */
.sqm-menu-list {
	list-style: none;
	padding: 0;
	margin: 40px 0 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

.sqm-menu-list li {
	margin-bottom: 20px;
}

.sqm-menu-list a {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	font-size: 22px;
	font-weight: 500;
	color: #000000;
	transition: color 0.2s;
}

.sqm-menu-list a:hover {
	color: #E2725B !important; /* Terracotta on hover */
}

/* Accordion Submenus */
.sqm-menu-list .sub-menu {
	list-style: none;
	padding: 10px 0 0 15px;
	margin: 0;
	display: none;
}

.sqm-menu-list .menu-item-has-children > a::after {
	content: '+';
	font-family: sans-serif;
	font-size: 18px;
	margin-left: 10px;
}

.sqm-menu-list .menu-item-has-children.is-open > a::after {
	content: '-';
}

/* Admin Bar Offset */
body.admin-bar .sqm-9e66e5f2-toggle {
	top: calc(30px + var(--wp-admin--admin-bar--height, 32px)) !important;
}
@media screen and (max-width: 782px) {
	body.admin-bar .sqm-9e66e5f2-toggle {
		top: calc(20px + 46px) !important;
	}
}
