#menu-navigation.main-menu > li > a {
	color: #0f172a;
	transition: color 0.2s ease;
}

#menu-navigation.main-menu > li > a:hover,
#menu-navigation.main-menu > li.active > a,
#menu-navigation.main-menu > li.current-menu-item > a {
	color: #1d4ed8;
}
/*
Theme Name: Copiges Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/**
 * Mega menu - Products categories vs. subcategories.
 * Adds visual separation so primary product families stand out while nested
 * sub-categories stay readable.
 */
#menu-navigation .porto-wide-sub-menu {
	--porto-mega-category-bg: #f6f8fb;
	--porto-mega-border: #e2e8f0;
	--porto-mega-category-color: #0f172a;
	--porto-mega-subcategory-color: #475569;
	position: relative;
	padding-right: 320px;
}

#menu-navigation .porto-wide-sub-menu > li {
	padding: 0 8px 8px;
	background: transparent;
	border: none;
	border-radius: 0;
	margin: 0;
	box-shadow: none;
	list-style: none;
}

#menu-navigation .porto-wide-sub-menu > li > ul {
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
}

#menu-navigation .porto-wide-sub-menu > li > ul > li {
	margin: 0;
	padding: 4px 0;
	position: relative;
}

#menu-navigation .porto-wide-sub-menu > li > ul > li > a {
	display: flex;
	align-items: center;
	column-gap: 8px;
	font-size: 0.95em;
	font-weight: 500;
	color: var(--porto-mega-subcategory-color);
	padding: 4px 0;
	transition: color 0.2s ease, transform 0.2s ease;
}

#menu-navigation .porto-wide-sub-menu > li > ul > li > a::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #94a3b8;
	display: inline-block;
	transition: background 0.2s ease;
}

#menu-navigation .porto-wide-sub-menu > li > ul > li > a:hover {
	color: #1d4ed8;
	transform: translateX(4px);
}

#menu-navigation .porto-wide-sub-menu > li > ul > li > a:hover::before {
	background: #1d4ed8;
}

.subcat-toggle {
	position: absolute;
	right: 2px;
	top: 4px;
	width: 28px;
	height: 28px;
	background: rgba(226, 232, 240, 0.6);
	border: none;
	border-radius: 50%;
	padding: 0;
	font-size: 16px;
	line-height: 28px;
	color: #475569;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.subcat-toggle:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.subcat-toggle[aria-expanded="true"] {
	color: #0f172a;
	background: rgba(59, 130, 246, 0.15);
	transform: rotate(180deg);
}

/* Third-level dropdown */
#menu-navigation .porto-wide-sub-menu > li > ul > li ul.sub-menu {
	margin-top: 4px;
	padding-left: 10px;
	border-left: 2px solid var(--porto-mega-border);
	display: block;
}

#menu-navigation .porto-wide-sub-menu > li > ul > li ul.sub-menu > li > a {
	font-size: 0.9em;
	font-weight: 400;
	color: #64748b;
	padding: 3px 0;
}

#menu-navigation .porto-wide-sub-menu > li > ul > li ul.sub-menu > li > a:hover {
	color: #2563eb;
}

.mega-cat-hero {
	margin-bottom: 10px;
	padding-bottom: 10px;
	text-align: center;
}

.mega-cat-hero__media {
	width: 130px;
	height: 90px;
	border-radius: 4px;
	background: #e2e8f0;
	overflow: hidden;
	margin: 0 auto 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mega-cat-hero__media-link {
	display: block;
	width: 100%;
	height: 100%;
}

.mega-cat-hero__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.mega-cat-hero__media--placeholder {
	background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
	color: #94a3b8;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.mega-cat-hero__body {
	flex: none;
}

.mega-cat-hero__title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	text-transform: none;
	letter-spacing: 0;
	margin: 0 auto;
	text-align: center;
}

.mega-cat-hero__desc {
	display: none;
}

.mega-menu-preview__description {
	font-size: 0.85rem;
	line-height: 1.4;
	color: #cbd5f5;
	margin-top: 4px;
}

.main-menu.mega-menu.show-arrow > li.has-sub > a:after,
.main-menu.mega-menu.show-arrow > li.has-sub:before {
	display: none;
}

.mega-menu-preview {
	position: absolute;
	top: 10px;
	right: 0;
	width: 288px;
	padding: 16px;
	border-radius: 16px;
	background: #0f172a;
	box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.mega-menu-preview.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.mega-menu-preview__inner {
	display: flex;
	flex-direction: column;
	row-gap: 10px;
}

.mega-menu-preview__image {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 12px;
	background: #e2e8f0;
}

.mega-menu-preview__caption {
	font-size: 0.85rem;
	font-weight: 600;
	color: #f8fafc;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

@media (max-width: 1199px) {
	#menu-navigation .porto-wide-sub-menu {
		padding-right: 0;
	}

	.mega-menu-preview {
		display: none;
	}
}