.bizopt-mega-menu {
	--bizopt-mm-offset: 10px;
	--bizopt-mm-full-top: 0px;
	--bizopt-mm-shift-x: 0px;
	--bizopt-mm-divider-width: 1px;
	--bizopt-mm-divider-color: #e5e7eb;
	--bizopt-mm-divider-inset: 12px;
	position: relative;
	display: inline-block;
	z-index: 40;
}

.bizopt-mega-menu *,
.bizopt-mega-menu *::before,
.bizopt-mega-menu *::after {
	box-sizing: border-box;
}

.bizopt-mega-menu [hidden] {
	display: none !important;
}

.bizopt-mega-menu__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #111827;
	cursor: pointer;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bizopt-mega-menu__trigger-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
}

.bizopt-mega-menu__trigger-icon,
.bizopt-mega-menu__trigger-icon svg,
.bizopt-mega-menu__trigger-icon i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.bizopt-mega-menu__trigger-icon svg {
	fill: currentColor;
}

.bizopt-mega-menu__trigger-arrow {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .18s ease;
}

.bizopt-mega-menu.is-open .bizopt-mega-menu__trigger-arrow {
	transform: rotate(225deg) translateY(-1px);
}

.bizopt-mega-menu__trigger-label--mobile {
	display: none;
}

.bizopt-mega-menu__dropdown {
	position: absolute;
	top: calc(100% + var(--bizopt-mm-offset));
	left: 0;
	z-index: 80;
	width: auto;
	min-width: 0;
	max-width: calc(100vw - 24px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(var(--bizopt-mm-shift-x), 8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	overflow: hidden;
}

.bizopt-mega-menu.is-open .bizopt-mega-menu__dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(var(--bizopt-mm-shift-x), 0);
}

.bizopt-mega-menu--width-custom .bizopt-mega-menu__dropdown {
	min-width: 0;
}

.bizopt-mega-menu--width-auto .bizopt-mega-menu__dropdown {
	width: max-content;
}

.bizopt-mega-menu--width-custom .bizopt-mega-menu__dropdown {
	max-width: calc(100vw - 24px);
}

.bizopt-mega-menu--width-full .bizopt-mega-menu__dropdown {
	max-width: 100vw;
}

.bizopt-mega-menu--align-right .bizopt-mega-menu__dropdown {
	right: 0;
	left: auto;
}

.bizopt-mega-menu--align-center .bizopt-mega-menu__dropdown {
	left: 50%;
	transform: translate(calc(-50% + var(--bizopt-mm-shift-x)), 8px);
}

.bizopt-mega-menu--align-center.is-open .bizopt-mega-menu__dropdown {
	transform: translate(calc(-50% + var(--bizopt-mm-shift-x)), 0);
}

.bizopt-mega-menu__columns {
	display: flex;
	align-items: stretch;
	gap: 2px;
	width: 100%;
	max-width: 100%;
	max-height: 75vh;
	overflow-x: hidden;
	overflow-y: auto;
}

.bizopt-mega-menu__column {
	flex: 1 1 280px;
	min-width: 0;
	padding: 8px;
	background: #fff;
}

.bizopt-mega-menu--columns-auto .bizopt-mega-menu__column {
	flex: 1 1 clamp(190px, 22vw, 300px);
	width: clamp(190px, 22vw, 300px);
	max-width: 100%;
}

.bizopt-mega-menu--columns-auto .bizopt-mega-menu__column--l1 {
	flex-basis: clamp(180px, 20vw, 280px);
	width: clamp(180px, 20vw, 280px);
}

.bizopt-mega-menu--width-custom .bizopt-mega-menu__column,
.bizopt-mega-menu--width-full .bizopt-mega-menu__column {
	flex-shrink: 1;
}

.bizopt-mega-menu__column--l1 {
	background: #f9fafb;
}

.bizopt-mega-menu__column--l2,
.bizopt-mega-menu__column--l3,
.bizopt-mega-menu__column--l4 {
	display: none;
}

.bizopt-mega-menu__column--l2.has-active-group,
.bizopt-mega-menu__column--l3.has-active-group,
.bizopt-mega-menu__column--l4.has-active-group {
	display: block;
}

.bizopt-mega-menu__list {
	display: none;
	flex-direction: column;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bizopt-mega-menu__list--l1,
.bizopt-mega-menu__list.is-active {
	display: flex;
}

.bizopt-mega-menu__item {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.bizopt-mega-menu__item-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	padding: 10px 12px;
	border-radius: 8px;
	color: #111827;
	text-decoration: none;
	line-height: 1.25;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.bizopt-mega-menu__item-label {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	overflow-wrap: anywhere;
}

.bizopt-mega-menu__item-title {
	min-width: 0;
}

.bizopt-mega-menu__item-subtitle {
	display: block;
	color: #6b7280;
	font-size: .78em;
	font-weight: 500;
	line-height: 1.25;
	opacity: .9;
}

.bizopt-mega-menu__thumb {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	overflow: hidden;
	background: #f3f4f6;
}

.bizopt-mega-menu__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bizopt-mega-menu__thumb svg,
.bizopt-mega-menu__thumb i {
	display: block;
	width: 65%;
	height: 65%;
	font-size: .9em;
	line-height: 1;
	fill: currentColor;
}

.bizopt-mega-menu__count {
	flex: 0 0 auto;
	color: currentColor;
	opacity: .68;
	font-size: .88em;
}

.bizopt-mega-menu__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	max-width: 96px;
	padding: 3px 7px;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font-size: .76em;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.bizopt-mega-menu__item-arrow,
.bizopt-mega-menu__mobile-arrow {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	opacity: .76;
}

.bizopt-mega-menu__item-link:hover,
.bizopt-mega-menu__item.is-active > .bizopt-mega-menu__item-link {
	background: #eef2ff;
	color: #111827;
}

.bizopt-mega-menu--dividers .bizopt-mega-menu__item:not(:last-child) > .bizopt-mega-menu__item-link {
	border-bottom: 0;
}

.bizopt-mega-menu--dividers .bizopt-mega-menu__item:not(:last-child) > .bizopt-mega-menu__item-link::after {
	content: "";
	position: absolute;
	right: var(--bizopt-mm-divider-inset);
	bottom: 0;
	left: var(--bizopt-mm-divider-inset);
	border-bottom: var(--bizopt-mm-divider-width) solid var(--bizopt-mm-divider-color);
	pointer-events: none;
}

.bizopt-mega-menu__promo {
	flex: 1 1 280px;
	display: flex;
	min-width: 0;
	padding: 8px;
}

.bizopt-mega-menu--promo-auto .bizopt-mega-menu__promo {
	flex: 1 1 clamp(220px, 24vw, 340px);
	width: clamp(220px, 24vw, 340px);
}

.bizopt-mega-menu__promo-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	min-width: 0;
	padding: 14px;
	border-radius: 10px;
	background: #f3f4f6;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bizopt-mega-menu__promo:hover .bizopt-mega-menu__promo-inner {
	transform: translateY(var(--bizopt-mm-promo-hover-y, 0));
}

.bizopt-mega-menu__promo-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	transition: filter .18s ease, opacity .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bizopt-mega-menu__promo-title {
	font-weight: 700;
	color: #111827;
	line-height: 1.25;
	transition: color .18s ease;
}

.bizopt-mega-menu__promo-text {
	color: #4b5563;
	line-height: 1.45;
	transition: color .18s ease;
}

.bizopt-mega-menu__promo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 6px;
	background: #111827;
	color: #fff;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bizopt-mega-menu__mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 9980;
	background: rgba(17, 24, 39, .55);
}

.bizopt-mega-menu__mobile-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 9990;
	width: min(360px, 100vw);
	max-width: 100vw;
	padding: 18px 18px 24px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 18px 0 50px rgba(15, 23, 42, .16);
	transform: translateX(-100%);
	transition: transform .22s ease;
	overflow: auto;
}

.bizopt-mega-menu--mobile-right .bizopt-mega-menu__mobile-panel {
	right: 0;
	left: auto;
	transform: translateX(100%);
}

.bizopt-mega-menu.is-mobile-open .bizopt-mega-menu__mobile-panel {
	transform: translateX(0);
}

.bizopt-mega-menu--mobile-mode-accordion .bizopt-mega-menu__mobile-overlay {
	display: none;
}

.bizopt-mega-menu--mobile-mode-accordion .bizopt-mega-menu__mobile-panel {
	position: absolute;
	top: calc(100% + var(--bizopt-mm-offset));
	bottom: auto;
	left: 0;
	right: auto;
	z-index: 90;
	width: min(420px, 100vw);
	max-height: 75vh;
	border-radius: 10px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
	transform: translateY(8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.bizopt-mega-menu--mobile-mode-accordion.bizopt-mega-menu--mobile-right .bizopt-mega-menu__mobile-panel {
	right: 0;
	left: auto;
	transform: translateY(8px);
}

.bizopt-mega-menu--mobile-mode-accordion.is-mobile-open .bizopt-mega-menu__mobile-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.bizopt-mega-menu__mobile-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.bizopt-mega-menu__mobile-close {
	position: relative;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #f3f4f6;
	color: #111827;
	cursor: pointer;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.bizopt-mega-menu__mobile-close:hover,
.bizopt-mega-menu__mobile-close:focus-visible {
	background: #e5e7eb;
	color: #111827;
}

.bizopt-mega-menu__mobile-close::before,
.bizopt-mega-menu__mobile-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 17px;
	height: 2px;
	background: currentColor;
	transform-origin: center;
}

.bizopt-mega-menu__mobile-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.bizopt-mega-menu__mobile-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.bizopt-mega-menu__mobile-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bizopt-mega-menu__mobile-list--depth-1,
.bizopt-mega-menu__mobile-list--depth-2,
.bizopt-mega-menu__mobile-list--depth-3 {
	padding: 4px 0 4px 12px;
	margin-top: 6px;
	border-left: 2px solid #e5e7eb;
}

.bizopt-mega-menu__mobile-toggle,
.bizopt-mega-menu__mobile-link,
.bizopt-mega-menu__mobile-parent-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 11px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #111827;
	font: inherit;
	font-weight: 800;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	min-height: 44px;
	border-bottom: 1px solid rgba(229, 231, 235, .82);
	line-height: 1.2;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none;
	outline: none;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.bizopt-mega-menu__mobile-label-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	max-width: 100%;
}

.bizopt-mega-menu__mobile-text {
	flex: 1 1 auto;
}

.bizopt-mega-menu__mobile-visual {
	width: 24px;
	height: 24px;
	border-radius: 6px;
}

.bizopt-mega-menu__mobile-toggle:hover,
.bizopt-mega-menu__mobile-toggle[aria-expanded="true"],
.bizopt-mega-menu__mobile-link:hover,
.bizopt-mega-menu__mobile-parent-link:hover {
	background: #f3f4f6;
}

.bizopt-mega-menu__mobile-toggle:focus,
.bizopt-mega-menu__mobile-link:focus,
.bizopt-mega-menu__mobile-parent-link:focus {
	box-shadow: none;
	outline: none;
}

.bizopt-mega-menu__mobile-toggle:focus-visible,
.bizopt-mega-menu__mobile-link:focus-visible,
.bizopt-mega-menu__mobile-parent-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bizopt-mega-menu__mobile-toggle:active,
.bizopt-mega-menu__mobile-link:active,
.bizopt-mega-menu__mobile-parent-link:active {
	background: #f3f4f6;
	color: #111827;
}

.bizopt-mega-menu__mobile-subpanel {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 8px 0 10px;
	padding: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.bizopt-mega-menu__mobile-subpanel[hidden] {
	display: none;
}

.bizopt-mega-menu__mobile-toggle[aria-expanded="true"] .bizopt-mega-menu__mobile-arrow {
	transform: rotate(45deg);
}

.bizopt-mega-menu__mobile-parent-link {
	color: #124571;
	font-size: .92em;
	font-weight: 800;
	justify-content: flex-start;
	background: #eaf2f8;
	border-bottom: 0;
	min-height: 40px;
	width: fit-content;
	max-width: 100%;
	padding-inline: 12px;
}

.bizopt-mega-menu__mobile-subpanel .bizopt-mega-menu__mobile-toggle,
.bizopt-mega-menu__mobile-subpanel .bizopt-mega-menu__mobile-link {
	min-height: 42px;
	font-weight: 750;
	background: transparent;
}

.bizopt-mega-menu-empty {
	padding: 12px;
	border: 1px dashed #d1d5db;
	color: #4b5563;
}

.bizopt-mega-menu--mobile-mode-inline {
	display: block;
	width: 100%;
	max-width: 100%;
}

.bizopt-mega-menu__inline {
	display: block;
	width: 100%;
	max-width: 100%;
}

.bizopt-mega-menu--mobile-mode-inline .bizopt-mega-menu__mobile-list {
	width: 100%;
}

.bizopt-mega-menu--mobile-mode-inline .bizopt-mega-menu__mobile-subpanel {
	position: static;
	max-width: 100%;
}

body.bizopt-mega-menu-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.bizopt-mega-menu {
		display: inline-flex;
	}

	.bizopt-mega-menu--mobile-mode-accordion {
		position: relative;
	}

	.bizopt-mega-menu__trigger-label--desktop {
		display: none;
	}

	.bizopt-mega-menu__trigger-label--mobile {
		display: inline;
	}
}
