/* Fixed bottom mobile nav — white bar, blue active (matches offcanvas). */

.site-fixed-mobile-nav {
	display: none;
	position: fixed;
	bottom: 0;
	inset-inline: 0;
	z-index: 900;
	width: 100%;
	align-items: flex-end;
	justify-content: space-between;
	gap: 4px;
	padding: 0 4px;
	padding-bottom: env(safe-area-inset-bottom, 0);
	box-sizing: border-box;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
	direction: rtl;
	font-family: var(--postmba-font-sans);
}

.site-fixed-mobile-nav__link {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin: 0 2px;
	padding: 12px 6px;
	border-radius: 5px;
	text-decoration: none;
	color: var(--postmba-header-text, #424f59);
	text-align: center;
	box-sizing: border-box;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		margin-top 0.2s ease,
		box-shadow 0.2s ease;
}

.site-fixed-mobile-nav__link:hover,
.site-fixed-mobile-nav__link.is-active {
	color: #fff;
	background: var(--postmba-header-blue, #285bbb);
	margin-top: -15px;
	box-shadow: 0 6px 16px rgba(40, 91, 187, 0.28);
}

.site-fixed-mobile-nav__icon {
	font-size: 18px;
	line-height: 1;
	width: 1em;
	height: 1em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.site-fixed-mobile-nav__label {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

body.site-header-offcanvas-open .site-fixed-mobile-nav {
	visibility: hidden;
	pointer-events: none;
}

@media screen and (max-width: 768px) {
	.site-fixed-mobile-nav {
		display: flex;
	}

	body {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}
}
