/**
 * BS-T04 — Mobile Bottom Navigation.
 *
 * Position is intentionally isolated behind the Bootstrap fixed-bottom utility
 * while BS-FIG-015 remains open.
 */

@media (max-width: 1199.98px) {
	body {
		padding-bottom: 88px;
	}

	.beadso-mobile-bottom-nav {
		display: flex;
		width: auto;
		height: 88px;
		align-items: flex-start;
		justify-content: space-between;
		padding: 16px 32px;
		border: 0;
		background: var(--beadso-white, #ffffff);
		box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
	}

	.beadso-mobile-bottom-nav__item {
		position: relative;
		display: flex;
		width: 56px;
		height: 56px;
		flex: 0 0 56px;
		align-items: flex-start;
		justify-content: flex-start;
		color: var(--beadso-black, #2d2d2d);
		text-decoration: none;
	}

	.beadso-mobile-bottom-nav__item--cart {
		width: 64px;
		flex-basis: 64px;
	}

	.beadso-mobile-bottom-nav__surface {
		display: flex;
		width: 56px;
		height: 56px;
		flex: 0 0 56px;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--beadso-violet-50, #f1e9ee);
		border-radius: 16px;
		background: var(--beadso-white, #ffffff);
	}

	.beadso-mobile-bottom-nav__item--cart .beadso-mobile-bottom-nav__surface {
		background: var(--beadso-purple-50, #f7eff4);
	}

	.beadso-mobile-bottom-nav__icon {
		display: block;
		width: 24px;
		height: 24px;
		max-width: none;
		flex: 0 0 24px;
	}

	.beadso-mobile-bottom-nav__badge {
		position: absolute;
		top: -8px;
		left: 36px;
		display: flex;
		width: 28px;
		height: 28px;
		align-items: center;
		justify-content: center;
		pointer-events: none;
	}

	.beadso-mobile-bottom-nav__badge-bg {
		position: absolute;
		inset: 0;
		display: block;
		width: 28px;
		height: 28px;
		max-width: none;
	}

	.beadso-mobile-bottom-nav__badge-value {
		position: relative;
		z-index: 1;
		display: block;
		min-width: 10px;
		color: var(--beadso-white, #ffffff);
		font-family: "Roboto", sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 16px;
		text-align: center;
	}

	.beadso-mobile-bottom-nav__item:focus-visible {
		outline: none;
	}

	.beadso-mobile-bottom-nav__item:focus-visible .beadso-mobile-bottom-nav__surface {
		outline: 2px solid var(--beadso-violet-600, #651b4a);
		outline-offset: 2px;
	}
}
