/* ============================================================
   PC Green Branded — Mobile Navigation
   ============================================================ */

/* ---- Sticky mobile nav bar ---- */
.gbpc-mobile-nav-bar {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: #ffffff;
	z-index: 8998;
	align-items: center;
	padding: 0 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gbpc-nav-bar-logo img {
	height: 38px;
	width: auto;
	display: block;
}

/* ---- Hamburger button — sits above the nav bar ---- */
.gbpc-hamburger {
	display: none;
	position: fixed;
	top: 10px;
	right: 15px;
	z-index: 9000;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
}

.gbpc-hamburger-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: #13734b;
	border-radius: 2px;
	transition: all 0.25s ease;
}

@media (max-width: 960px) {
	.gbpc-mobile-nav-bar { display: flex; }
	.gbpc-hamburger { display: flex; }

	/* Push content below the fixed bar */
	body { padding-top: 60px; }

	/* Suppress Genesis responsive menu toggle — we handle it */
	.menu-toggle { display: none !important; }

	/* Hide Genesis site header — our bar replaces it */
	.site-header { display: none !important; }

	/* Hide desktop nav on mobile — drawer has it */
	.nav-primary { display: none !important; }
}


/* ---- Overlay ---- */
.gbpc-drawer-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 9001;
}

.gbpc-drawer-overlay.is-visible {
	display: block;
}


/* ---- Drawer panel ---- */
.gbpc-mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background: #fff;
	z-index: 9002;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding-top: 30px;
	box-shadow: -10px 0 23px rgba(0, 0, 0, 0.35);
	font-family: Jost, sans-serif;
}

.gbpc-mobile-drawer.is-open {
	transform: translateX(0);
}


/* ---- Close button ---- */
.gbpc-drawer-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: #333;
	padding: 8px;
}

.gbpc-drawer-close:hover {
	color: #13734b;
}


/* ---- Logo ---- */
.gbpc-drawer-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
	padding: 0 20px;
}

.gbpc-drawer-logo img {
	height: 70px;
	width: auto;
}


/* ---- Nav list ---- */
.gbpc-drawer-nav {
	flex: 1;
}

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

/* Hide desktop-only items from the list */
.gbpc-drawer-menu li.cta,
.gbpc-drawer-menu li.rev,
.gbpc-drawer-menu li.logo-gbpc {
	display: none;
}

/* Top-level items */
.gbpc-drawer-menu > li {
	border-bottom: 1px solid #eeeef0;
	position: relative;
}

.gbpc-drawer-menu > li > a {
	display: block;
	padding: 16px 54px 16px 20px;
	font-family: Jost, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #333333;
	text-decoration: none;
}

.gbpc-drawer-menu > li > a:hover {
	color: #13734b;
}


/* ---- Sub-menu chevron toggle ---- */
.gbpc-sub-toggle {
	position: absolute;
	right: 0;
	top: 0;
	height: 52px;
	width: 54px;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.gbpc-sub-toggle svg {
	transition: transform 0.2s ease;
}

.gbpc-sub-toggle.is-open svg {
	transform: rotate(180deg);
}


/* ---- Sub-menus ---- */
.gbpc-drawer-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
	background: #f9faf9;
}

.gbpc-drawer-menu .sub-menu.is-open {
	display: block;
}

.gbpc-drawer-menu .sub-menu li {
	border-bottom: none;
}

.gbpc-drawer-menu .sub-menu a {
	display: block;
	padding: 11px 20px 11px 28px;
	font-family: Jost, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #333333;
	text-decoration: none;
}

.gbpc-drawer-menu .sub-menu a:hover {
	color: #13734b;
}


/* ---- CTA buttons at bottom ---- */
.gbpc-drawer-ctas {
	padding: 20px 20px 40px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gbpc-cta-btn {
	display: block;
	text-align: center;
	padding: 14px 20px;
	border-radius: 55px;
	font-family: Jost, sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}

.gbpc-cta-solid {
	background: #13734b;
	color: #ffffff;
	border: 1px solid #13734b;
}

.gbpc-cta-solid:hover {
	color: #ffffff;
	box-shadow: inset 200px 200px 200px rgba(0, 0, 0, 0.18);
}

.gbpc-cta-outline {
	background: #ffffff;
	color: #13734b;
	border: 1px solid #13734b;
}

.gbpc-cta-outline:hover {
	box-shadow: inset 200px 200px 200px rgba(0, 0, 0, 0.05);
}
