/*
Theme Name: Multifors
Theme URI: https://multifors.com.au
Description: Custom WordPress theme for Multifors. Built for performance, accessibility, and seamless WooCommerce integration. This is a child theme of Ollie. Developed by The Growth Project.
Author: The Growth Project
Author URI: https://thegrowthproject.com
Template: ollie
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: multifors
Tags: block-theme, e-commerce, full-site-editing, woocommerce
*/

/**
 * Header z-index fix
 *
 * Ensures the header template part creates a stacking context so navigation
 * dropdowns appear above main content.
 */
header.wp-block-template-part {
	position: relative;
	z-index: 100;
}

/**
 * Navigation link styles
 *
 * Remove underline on hover and active states (overrides Ollie parent theme inline CSS).
 * Add brand color for active/current menu items.
 */
.wp-block-navigation a:hover,
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .current-menu-item > a,
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .current-menu-item > a:hover {
	text-decoration: none !important;
}

.wp-block-navigation__responsive-container .wp-block-navigation__container .current-menu-item > a,
.wp-block-navigation-item.current-menu-item > a,
.wp-block-navigation-item a[aria-current="page"] {
	color: var(--wp--preset--color--primary-alt) !important;
}

/**
 * Mobile menu full-screen fix for custom breakpoint
 */
@media (max-width: 1179px) {
	.wp-block-navigation__responsive-container.is-menu-open {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
	}
}
