/**
 * Keep Blocksy's default-open Shop branch visually neutral unless the Shop
 * link itself is the current menu item. The open arrow state remains intact.
 */
.mobile-menu li.mariwork-default-open:not(.current-menu-item) > .ct-sub-menu-parent {
	color: var(--theme-link-initial-color);
}

.mobile-menu li.mariwork-default-open:not(.current-menu-item) > .ct-sub-menu-parent svg {
	fill: var(--theme-icon-color, var(--theme-link-initial-color));
}

/**
 * Block page scrolling while Blocksy's mobile header panel is active. Keep
 * the panel content scrollable and prevent scroll chaining to the page.
 */
html:has(#offcanvas.active),
body[data-panel]:has(#offcanvas.active) {
	overflow: hidden !important;
	overscroll-behavior: none;
}

#offcanvas.active .ct-panel-content-inner {
	overscroll-behavior: contain;
}
