.leriff-bottom-bar {
	display: none;
}

@media (max-width: 768px) {
	body.leriff-bottom-bar-active {
		padding-bottom: calc(75px + env(safe-area-inset-bottom));
	}

	.leriff-bottom-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9999;
		display: flex;
		justify-content: space-around;
		align-items: stretch;
		margin: 0;
		padding: 8px 0;
		padding-bottom: calc(8px + env(safe-area-inset-bottom));
		background: #2b2f36;
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.32);
		box-sizing: border-box;
		font-family: inherit;
		-webkit-font-smoothing: antialiased;
	}

	.leriff-bottom-bar__item {
		position: relative;
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		min-width: 0;
		margin: 0;
		padding: 8px 2px 2px;
		color: #9aa0a6;
		background: transparent;
		text-decoration: none;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		font-size: 11px;
		font-weight: 600;
		line-height: 1.1;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}

	.leriff-bottom-bar__item.is-active {
		color: #ffffff;
	}

	.leriff-bottom-bar__item.is-active::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		width: 18px;
		height: 3px;
		border-radius: 999px;
		background: #ffffff;
		transform: translateX(-50%);
	}

	.leriff-bottom-bar__item:active {
		opacity: 0.72;
	}

	.leriff-bottom-bar__item:focus-visible {
		outline: 2px solid #ffffff;
		outline-offset: -4px;
		border-radius: 12px;
	}

	.leriff-bottom-bar__icon {
		position: relative;
		display: flex;
		width: 24px;
		height: 24px;
	}

	.leriff-bottom-bar__icon svg {
		display: block;
		width: 24px;
		height: 24px;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.7;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.leriff-bottom-bar__icon svg [fill="currentColor"] {
		fill: currentColor;
		stroke: none;
	}

	.leriff-bottom-bar__label {
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.leriff-cart-count {
		position: absolute;
		top: -6px;
		right: -10px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 16px;
		height: 16px;
		padding: 0 4px;
		border-radius: 999px;
		background: #ffffff;
		color: #2b2f36;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0;
		text-transform: none;
		box-sizing: border-box;
	}

	.leriff-cart-count.is-empty {
		display: none;
	}
}

@media print {
	.leriff-bottom-bar {
		display: none !important;
	}

	body.leriff-bottom-bar-active {
		padding-bottom: 0 !important;
	}
}
