.navbar .mega-dropdown .mega-menu-panel {
	padding: 0;
	border: 0;
	background: #fff;
	overflow: hidden;
}

.mega-menu-inner {
	display: flex;
	align-items: stretch;
	min-height: 280px;
}

.mega-menu-grid {
	flex: 1 1 75%;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 24px;
	background: #fff;
}

.mega-menu-card {
	display: block;
	padding: 18px 16px;
	background: #f4f5f7;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.2s ease;
}

.mega-menu-card:hover,
.mega-menu-card:focus {
	background: #eceef2;
	color: inherit;
}

.mega-menu-card-title {
	margin: 0 0 8px;
	font-family: Oswald, sans-serif;
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #252531;
	transition: color 0.2s ease;
}

.mega-menu-card:hover .mega-menu-card-title,
.mega-menu-card:focus .mega-menu-card-title {
	color: #dfb163;
}

.mega-menu-card-text {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: #777;
}

.mega-menu-image {
	flex: 0 0 25%;
	max-width: 25%;
	min-height: 100%;
	overflow: hidden;
}

.mega-menu-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 992px) {
	.nav-bar {
		z-index: 10;
	}

	.nav-bar .navbar {
		position: relative;
	}

	.navbar .mega-dropdown {
		position: static;
	}

	.navbar .mega-dropdown .mega-menu-panel {
		left: 0;
		right: 0;
		width: 100%;
		max-width: none;
		margin: 0;
		border-radius: 0 0 8px 8px;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
	}

	.navbar .mega-dropdown .mega-menu-panel[data-bs-popper] {
		left: 0;
		right: 0;
		margin-top: 0;
		transform: none;
	}
}

@media (max-width: 991.98px) {
	.mega-menu-inner {
		flex-direction: column;
		min-height: 0;
	}

	.mega-menu-grid {
		grid-template-columns: 1fr;
		padding: 12px 0;
		background: transparent;
	}

	.mega-menu-image {
		flex: none;
		max-width: none;
		height: 160px;
		order: -1;
	}

	.navbar .mega-dropdown .mega-menu-panel {
		position: static;
		box-shadow: none;
		background: transparent;
	}

	.mega-menu-card {
		background: #f4f5f7;
	}

	.mega-menu-card:hover,
	.mega-menu-card:focus {
		background: #eceef2;
	}

	.mega-menu-card-title {
		color: #252531;
	}

	.mega-menu-card-text {
		color: #555;
	}
}
