/* GrokBot fixes 2026-11-10 */

/*
 * Mobile hamburger was forced to position:fixed by Additional CSS
 * (button.mari-mobile-toggle @ max-width:1100px), so it floated over
 * page content while the header itself is not sticky. Keep it inside
 * the logo row (JS appends it there). Do not change desktop.
 */
@media (max-width: 1100px) {
	body.mari-header-ready button.mari-mobile-toggle {
		position: absolute !important;
		top: 50% !important;
		left: 8px !important;
		transform: translateY(-50%) !important;
		z-index: 1103 !important;
		color: #2e2a28 !important;
	}

	body.mari-header-ready #c7wp-cart-box {
		position: absolute !important;
		top: 50% !important;
		right: 8px !important;
		transform: translateY(-50%) !important;
		z-index: 1102 !important;
	}

	body.admin-bar.mari-header-ready button.mari-mobile-toggle,
	body.admin-bar.mari-header-ready #c7wp-cart-box {
		top: 50% !important;
	}
}

/*
 * Footer: let the credit wrap instead of overflowing, and add space
 * so the RedChirp/C7 chat bubble does not cover legal links.
 */
@media (max-width: 767px) {
	.elementor-location-footer {
		padding-bottom: 220px !important;
	}

	.elementor-location-footer .elementor-element-32b54ac,
	.elementor-location-footer .elementor-element-32b54ac p,
	.elementor-location-footer .elementor-element-7bec8ae,
	.elementor-location-footer .elementor-element-7bec8ae p {
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
		white-space: normal;
	}
}
