.ccu-bottom-nav {
	display: none;
}

@media (max-width: 781px) {
	.ccu-bottom-nav {
		display: block;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9990;
		box-sizing: border-box;
		background: #fff;
		border-top: 1px solid #e5e7eb;
		box-shadow: 0 -2px 8px rgba(17, 17, 17, 0.06);
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}

	.ccu-bottom-nav__list {
		display: flex;
		align-items: stretch;
		justify-content: space-between;
		width: 100%;
		min-height: 64px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.ccu-bottom-nav__item {
		flex: 1 1 0;
		min-width: 0;
		margin: 0;
	}

	.ccu-bottom-nav__link {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		box-sizing: border-box;
		width: 100%;
		min-height: 64px;
		padding: 8px 4px;
		color: #4b5563;
		font-size: 11px;
		font-weight: 500;
		line-height: 1.2;
		letter-spacing: 0.02em;
		text-align: center;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	.ccu-bottom-nav__link:hover,
	.ccu-bottom-nav__link:visited {
		color: #4b5563;
		text-decoration: none;
	}

	.ccu-bottom-nav__link:focus {
		outline: none;
	}

	.ccu-bottom-nav__link:focus-visible {
		outline: 2px solid var(--wp--preset--color--custom-ccu, #0b5bd3);
		outline-offset: -4px;
		border-radius: 8px;
	}

	.ccu-bottom-nav__link.active,
	.ccu-bottom-nav__link.active:hover,
	.ccu-bottom-nav__link.active:visited {
		color: var(--wp--preset--color--custom-ccu, #0b5bd3);
	}

	.ccu-bottom-nav__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
	}

	.ccu-bottom-nav__icon svg {
		display: block;
		width: 22px;
		height: 22px;
	}

	.ccu-bottom-nav__label {
		display: block;
		max-width: 100%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	body.ccu-bottom-nav-enabled {
		padding-bottom: calc(64px + constant(safe-area-inset-bottom));
		padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
	}

	html {
		scroll-padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
	}
}

@media print {
	.ccu-bottom-nav {
		display: none !important;
	}

	body.ccu-bottom-nav-enabled {
		padding-bottom: 0;
	}
}
