/* ==========================================================================
   Mobile Bottom Navigation Bar
   ========================================================================== */

.lk-mobile-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9998;
	background-color: var(--lk-color-dark, #1a1a2e);
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	padding: 8px 0;
	padding-bottom: env(safe-area-inset-bottom, 8px);
}

/* Show only on mobile */
@media (max-width: 768px) {
	.lk-mobile-nav {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}

	/* Add bottom padding to body so content isn't hidden behind the nav */
	body {
		padding-bottom: 70px;
	}
}

/* Nav item */
.lk-mobile-nav__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	flex: 1;
	padding: 6px 4px;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	position: relative;
	transition: color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.lk-mobile-nav__item:hover,
.lk-mobile-nav__item:focus,
.lk-mobile-nav__item--active {
	color: var(--lk-color-primary, #ff4d00);
}

.lk-mobile-nav__item svg {
	display: block;
	flex-shrink: 0;
}

/* Label */
.lk-mobile-nav__label {
	font-size: 10px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Cart badge */
.lk-mobile-nav__badge {
	position: absolute;
	top: 0;
	right: 50%;
	margin-right: -18px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 8px;
	background: var(--lk-color-primary, #ff4d00);
	color: var(--lk-color-white, #ffffff);
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}
