
/* Custom Header Styles */
.cmmh-header {
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	position: relative;
	z-index: 9999;
	overflow: visible !important;
}

.cmmh-header-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	height: 100px;
	overflow: visible !important;
	position: relative;
	width: 100%;
}

.cmmh-logo img {
	max-height: 80px;
	width: auto;
}

.cmmh-nav .cmmh-menu {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
	gap: 10px;
}

.cmmh-nav .cmmh-menu > li {
	position: static;
}

.cmmh-nav .cmmh-menu > li > a {
	display: flex;
	align-items: center;
	padding: 0 15px;
	height: 100px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: color .3s;
	white-space: nowrap;
	position: relative;
}

.cmmh-nav .cmmh-menu > li > a::after {
	content: "";
	position: absolute;
	bottom: 25px;
	left: 15px;
	right: 15px;
	height: 2px;
	background-color: #fff;
	transform: scaleX(0);
	transition: transform .3s ease;
}

.cmmh-nav .cmmh-menu > li:hover > a::after, .cmmh-nav .cmmh-menu > li.current-menu-item > a::after, .cmmh-nav .cmmh-menu > li.current_page_item > a::after {
	transform: scaleX(1);
}

.cmmh-nav .cmmh-menu > li > a:hover {
	color: #c00;
}

.cmmh-dropdown-arrow {
	font-size: 14px !important;
	width: 14px !important;
	height: 14px !important;
	margin-left: 5px;
	vertical-align: middle;
}

.cmmh-icons {
	display: flex;
	align-items: center;
	gap: 15px;
}

.cmmh-icon-item {
	cursor: pointer;
	color: #333;
	transition: color .3s;
}

.cmmh-icon-item:hover {
	color: #c00;
}

.cmmh-icon-item .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.cmmh-cart-trigger {
	position: relative;
}

.cmmh-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background: #c00;
	color: #fff;
	font-size: 10px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cmmh-mobile-toggle {
	display: none;
	cursor: pointer;
}

/* Mega Menu Styles */
.cmmh-mega-menu-wrapper {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
	display: none;
	border-top: 3px solid #c00;
	z-index: 99999;
}

.cmmh-mm-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	min-height: 400px;
}

/* Left Section (30%) */
.cmmh-mm-left {
	width: 30%;
	background: #f9f9f9;
	padding: 30px;
	border-right: 1px solid #eee;
}

.cmmh-mm-l1-pills {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cmmh-mm-l1-item {
	margin-bottom: 10px;
}

.cmmh-l1-pill {
	background: #c00;
	color: #fff;
	border: none;
	padding: 12px 25px;
	border-radius: 50px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: .3s;
	text-align: left;
	font-size: 12px;
	letter-spacing: .5px;
}

.cmmh-mm-l1-item.active .cmmh-l1-pill {
	background: #900;
	box-shadow: 0 4px 15px rgba(204, 0, 0, .3);
}

.cmmh-mm-l2-nested {
	padding-left: 20px;
	margin-top: 5px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cmmh-mm-l2-pill {
	background: #f0f0f1;
	color: #333;
	border: 1px solid #ddd;
	padding: 6px 15px;
	border-radius: 20px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	transition: .3s;
	text-align: left;
	width: fit-content;
}

.cmmh-mm-l2-pill:hover, .cmmh-mm-l2-pill.active {
	background: #c00;
	color: #fff;
	border-color: #c00;
}

/* Right Section (70%) */
.cmmh-mm-right {
	width: 70%;
	padding: 30px;
	position: relative;
}

/* Content Grid (5 Columns) */
.cmmh-mm-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	align-content: start;
}

.cmmh-mm-grid-item {
	text-align: center;
	text-decoration: none;
	transition: transform .3s;
}

.cmmh-mm-grid-item:hover {
	transform: translateY(-5px);
}

.cmmh-mm-thumb {
	width: 100%;
	aspect-ratio: 1/1;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 10px;
	border: 1px solid #eee;
	background: #f6f6f6;
}

.cmmh-mm-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cmmh-mm-title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	line-height: 1.4;
}

.cmmh-mm-grid-item:hover .cmmh-mm-title {
	color: #c00;
}

/* Search Overlay */
.cmmh-search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, .98);
	backdrop-filter: blur(10px);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cmmh-search-overlay-close {
	position: absolute;
	top: 30px;
	right: 30px;
	cursor: pointer;
	font-size: 40px;
	color: #333;
	transition: transform .3s ease;
}

.cmmh-search-overlay-close:hover {
	transform: rotate(90deg);
	color: #c00;
}

.cmmh-search-overlay-close .dashicons {
	width: 40px;
	height: 40px;
	font-size: 40px;
}

.cmmh-search-overlay-content {
	width: 100%;
	max-width: 800px;
	padding: 0 20px;
}

.cmmh-search-form {
	display: flex;
	align-items: center;
	border-bottom: 3px solid #c00;
}

.cmmh-search-field {
	width: 100%;
	border: none !important;
	background: transparent !important;
	font-size: 36px !important;
	font-weight: 700 !important;
	padding: 20px 0 !important;
	color: #333 !important;
	outline: none !important;
	box-shadow: none !important;
}

.cmmh-search-submit {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 10px;
}

.cmmh-search-submit .dashicons {
	font-size: 30px;
	width: 30px;
	height: 30px;
	color: #333;
}

.cmmh-search-submit:hover .dashicons {
	color: #c00;
}

/* Loader */
.cmmh-mm-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.cmmh-spinner {
	width: 30px;
	height: 30px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #c00;
	border-radius: 50%;
	display: inline-block;
	animation: cmmh-spin 1s linear infinite;
}

@keyframes cmmh-spin {
	0% {
		transform: rotate(0deg);
	}
	
	100% {
		transform: rotate(360deg);
	}
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
	.cmmh-header-container {
		height: auto;
		padding: 10px 15px;
		width: 100% !important;
		max-width: 100% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
	}
	
	.cmmh-mobile-toggle {
		display: block !important;
		order: 10 !important;
		cursor: pointer;
	}
	
	.cmmh-logo {
		flex: 0 0 auto !important;
		order: 1 !important;
	}
	
	.cmmh-icons {
		flex: 1 1 auto !important;
		display: flex !important;
		justify-content: flex-end !important;
		gap: 15px !important;
		order: 2 !important;
		align-items: center !important;
	}
	
	.cmmh-gtranslate {
		order: 1 !important;
	}
	
	.cmmh-search-trigger {
		order: 2 !important;
	}
	
	.cmmh-cart-trigger {
		order: 3 !important;
	}
	
	.cmmh-mobile-toggle {
		order: 4 !important;
		margin-left: 5px !important;
	}
	
	.cmmh-nav {
		display: none;
		width: 100% !important;
		order: 100 !important;
		position: absolute;
		background: #ffb700;
		top: 85px;
		left: 0;
	}
	
	.cmmh-nav .cmmh-menu {
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		display: flex !important;
		gap: 0 !important;
	}
	
	.cmmh-nav .cmmh-menu > li {
		width: 100% !important;
	}
	
	.cmmh-nav .cmmh-menu > li > a {
		line-height: 50px;
		padding: 0 10px;
		border-bottom: 1px solid #eee;
		width: 100%;
		height: auto !important;
	}
	
	.cmmh-nav .cmmh-menu > li > a::after {
		display: none !important;
	}
	
	.cmmh-mega-menu-wrapper {
		position: static;
		transform: none;
		width: 100%;
		box-shadow: none;
		border-top: none;
		display: none;
	}
	
	.cmmh-mm-container {
		flex-direction: column;
		min-height: auto;
	}
	
	.cmmh-mm-left, .cmmh-mm-right {
		width: 100%;
		padding: 15px;
	}
}

@media (max-width: 767px) {
	.cmmh-mm-right {
		display: none;
	}
	
	.cmmh-mm-left {
		background: #fff;
		padding: 0;
	}
	
	.cmmh-mm-l1-pills {
		gap: 0;
	}
	
	.cmmh-mm-l1-item {
		margin-bottom: 0;
		border-bottom: 1px solid #f0f0f0;
	}
	
	.cmmh-l1-pill {
		width: 100%;
		border-radius: 0;
		background: #f9f9f9;
		color: #333;
		padding: 15px 20px;
		box-shadow: none !important;
	}
	
	.cmmh-mm-l1-item.active .cmmh-l1-pill {
		background: #c00;
		color: #fff;
	}
	
	.cmmh-mm-l2-nested {
		padding-left: 0;
		margin-top: 0;
		list-style: none;
		display: none;
	}
	
	.cmmh-mm-l2-item {
		border-bottom: 1px solid #eee;
	}
	
	.cmmh-mm-l2-link {
		display: block;
		padding: 12px 30px;
		color: #555;
		text-decoration: none;
		font-weight: 600;
		font-size: 14px;
		background: #fff;
	}
	
	.cmmh-mm-l2-item.active > .cmmh-mm-l2-link {
		color: #c00;
	}
	
	.cmmh-mm-l3-nested {
		padding-left: 0;
		margin-top: 0;
		list-style: none;
		background: #fcfcfc;
		display: none;
	}
	
	.cmmh-mm-l3-item a {
		display: block;
		padding: 10px 45px;
		color: #777;
		text-decoration: none;
		font-size: 13px;
	}
}

/* Desktop specific nested L2 styles */
@media (min-width: 1025px) {
	.cmmh-mm-l2-nested {
		display: flex !important;
		padding-left: 0;
		margin-top: 15px;
		flex-direction: column;
		margin-left: 25px;
	}
	
	.cmmh-mm-l2-nested li {
		list-style: none;
	}
	
	.cmmh-mm-l2-item:not(.is-pill) {
		display: none !important;
	}
	
	.cmmh-mm-l2-item.is-pill {
		margin-bottom: 8px;
	}
	
	.cmmh-mm-l2-item.is-pill > .cmmh-mm-l2-link {
		background: #c00;
		color: #fff;
		padding: 8px 15px;
		border-radius: 50px;
		font-size: 12px;
		font-weight: 700;
		display: inline-block;
		transition: .3s;
	}
	
	.cmmh-mm-l2-item.is-pill.active > .cmmh-mm-l2-link, .cmmh-mm-l2-item.is-pill > .cmmh-mm-l2-link:hover {
		background: #900;
	}
}

.elementor-element-af6a512 {
	width: 100%;
}
