/* Live (2026-11-15). Hide yellow promo / ticker / product sticky bars and
   drop the 50px offsets they reserved so no empty gap remains.
   Does not change offer or cart logic. v=20261115d */

.HTGMtopAdNew,
.gradientAnimationLight,
.footer-image-bar {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

/* Shop header was pushed down 50px to sit under the promo bar. */
#header {
	margin-top: 0 !important;
}
.nav-mobile-header {
	top: 0 !important;
}

/* Main / strain / learn / all-strains fixed header sat at top: 50px under the discreetly bar. */
header#masthead,
header.site-header,
#masthead,
#mobile-menu {
	top: 0 !important;
}

/* Yellow "Join Mushly." CTA — account / Login/Register cover sign-in. */
.btn-sell-now,
header .btn-custom.btn-sell-now,
.nav-item .btn-sell-now {
	display: none !important;
}

/*
 * 2026-11-15c: after the 50px promo bar was hidden, a leftover 50px top
 * margin (#content, inner .mt50) collapsed through the hero and left a
 * grey/white strip at the top of the viewport. The fixed header sat in
 * that strip, so the logo and menu were half-clipped at the strip's
 * bottom edge. Pull main-site content up so the hero sits under the
 * header. Shop pages do not use #masthead and are left alone.
 */
body:has(header#masthead) #content.site-content,
body:has(header#masthead) #content {
	margin-top: 0 !important;
}
/* Keep inner .mt50 (title clearance) inside the hero, not above it. */
body:has(header#masthead) #page > .flight_view_header,
body:has(header#masthead) #content > .search-slider,
body:has(header#masthead) #content > .flight_view_header:first-of-type {
	display: flow-root;
}

/* Mobile: the Mushly logo lived inside the yellow bar (now hidden).
   Show the existing #masthead logo in a compact 50px bar, sit the
   icon row under it, and drop the leftover body margin-top: 40px. */
@media (max-width: 767px) {
	body:has(header#masthead) {
		margin-top: 0 !important;
		padding-top: 94px !important; /* 50px logo + 44px #mobile-menu */
	}
	body:has(header#masthead) header#masthead,
	body:has(header#masthead) header.site-header {
		display: block !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 50px !important;
		min-height: 50px !important;
		overflow: hidden !important;
		background: #fff !important;
		background-image: none !important;
		z-index: 9991 !important;
		box-shadow: 0 1px 0 rgba(0,0,0,.06);
	}
	body:has(header#masthead) header#masthead .menu {
		display: none !important;
	}
	body:has(header#masthead) header#masthead .navbar,
	body:has(header#masthead) header#masthead .inner-wrapper {
		display: block !important;
		min-height: 50px !important;
		height: 50px !important;
		margin: 0 !important;
		padding: 0 15px !important;
		position: relative !important;
	}
	body:has(header#masthead) header#masthead .logo {
		position: relative !important;
		left: 0 !important;
		top: 0 !important;
		line-height: 50px !important;
		height: 50px !important;
		display: flex !important;
		align-items: center !important;
	}
	body:has(header#masthead) header#masthead .logo img {
		height: 29px !important;
		width: auto !important;
		max-height: 29px !important;
		display: block !important;
		/* Masthead mark is a light PNG for dark heroes; force it dark on the white bar. */
		filter: brightness(0);
	}
	body:has(header#masthead) #mobile-menu {
		top: 50px !important;
		display: block !important;
	}
	/* .mt50 was clearance for the old 50px bar; body padding already clears the logo+menu. */
	body:has(header#masthead) #page > .flight_view_header .container.mt50,
	body:has(header#masthead) #content.site-content {
		margin-top: 0 !important;
	}
}

/* Product pages: compact merch-style Add to Cart after the yellow sticky bar is removed. */
@media (max-width: 767px) {
	.ms-mobile-atc {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9998;
		background: #fff;
		border-top: 1px solid #e5e5e5;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -2px 8px rgba(0,0,0,.06);
	}
	.ms-mobile-atc-btn {
		display: block;
		width: 100%;
		background: #000;
		color: #fff;
		border: 0;
		border-radius: 0;
		padding: 12px 16px;
		font-size: 16px;
		line-height: 24px;
		font-weight: 400;
		font-family: geo-wf, Helvetica, Arial, sans-serif;
		opacity: .9;
	}
	.ms-mobile-atc-btn:active { opacity: 1; }
	body.ms-has-mobile-atc { padding-bottom: 72px; }
}
@media (min-width: 768px) {
	.ms-mobile-atc { display: none !important; }
}
