@charset "UTF-8";
.menu-bar-container {
	position: relative;
}

.menu-bar {
	height: 64px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
}
.header-tansparent .menu-bar {
	background: transparent !important;
}
.menu-bar__top-logo {
	flex-grow: 0;
	flex-shrink: 0;
}
.menu-bar__top-menu {
	flex-grow: 1;
	flex-shrink: 1;
}
.menu-bar__btn {
	flex-grow: 0;
	flex-shrink: 0;
}

.top-logo {
	width: 62px;
	height: 17px;
	position: relative;
}
.top-logo__img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

.top-menu {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
}
.top-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
}
.top-menu__list li:has(a[href='/']) {
	display: none;
}
.top-menu__list li:has(a[href='https://irrison.com/']) {
	display: none;
}
.top-menu__list .current_page_item {
	pointer-events: none;
}
.top-menu__list a {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 2px;
	color: inherit;
	transition: color 300ms ease-in-out;
}
.top-menu__mega-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 48px;
	height: 48px;
	background-color: transparent !important;
	padding: 0 !important;
	margin: 0;
	color: var(--e-global-color-22b7c2c);
	position: relative;
}
.top-menu__mega-btn svg {
	display: block;
	width: 24px;
	height: 24px;
	-o-object-fit: contain;
	object-fit: contain;
	color: inherit;
	fill: currentColor;
	transition:
		color 300ms ease-in-out,
		transform 300ms ease-in-out;
}

.mega-trigger.is-active svg {
	transform: rotate(180deg);
}

.toggle-menu {
	display: none;
	width: 36px;
	height: 36px;
	padding: 6px;
}
.toggle-menu svg {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
	fill: currentColor;
	transition: fill 300ms ease-in-out;
}

.custom-nav-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.3em;
	height: 48px;
	transition:
		color 300ms ease-in-out,
		background-color 300ms ease-in-out;
}

.dropdown-menu {
	position: absolute;
	z-index: 10;
	top: 64px;
	left: -2px;
	right: -2px;
	border: 2px solid var(--e-global-color-22b7c2c);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
	display: block;
	pointer-events: none;
}
.dropdown-menu.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.dropdown-menu__container {
	display: grid;
	grid-template-columns: repeat(var(--mega-cols, 1), 1fr);
}
.dropdown-menu__column {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 8px;
}
.dropdown-menu__title {
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}
.dropdown-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}
.dropdown-menu__list .current_page_item {
	pointer-events: none;
}
.dropdown-menu__list a {
	display: block;
	color: inherit;
	transition: color 300ms ease-in-out;
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--e-global-color-f03cdd8);
	z-index: 9999;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 32px;
	overflow-y: auto;
	padding: 48px 24px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(100%); /* Виїжджає справа */
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}
.mobile-menu__top-bar {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.mobile-menu__logo {
	flex-grow: 0;
	flex-shrink: 0;
}
.mobile-menu__hr {
	border: 1px solid var(--e-global-color-4707a61);
	width: 100%;
	padding: 0;
	margin: 0;
}
.mobile-menu__main-menu {
	max-width: 100%;
	flex: 1;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
}
.mobile-menu__main-menu li {
	width: 100%;
}
.mobile-menu__main-menu a {
	width: 100%;
	transition: background-color 300ms ease-in-out;
	padding: 12px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: center;
}

.mobile-mega__container {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 48px;
}
.mobile-mega__column {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
}
.mobile-mega__title {
	padding: 0;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}
.mobile-mega__list {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}
.mobile-mega__list a {
	display: block;
	padding: 8px 0;
}

.top-menu__list .menu-item-has-children {
	position: relative;
}
.top-menu__list .menu-item-has-children > a {
	display: flex;
	align-items: center;
	gap: 4px;
}
.top-menu__list .menu-item-has-children > a::after {
	content: '';
	display: block;
	width: 10px;
	height: 2px;
	background-color: currentColor;
}
.top-menu__list .menu-item-has-children > a::before {
	content: '';
	display: block;
	width: 2px;
	height: 10px;
	background-color: currentColor;
	position: absolute;
	right: 4px;
	transition: height 300ms ease-in-out;
}
.top-menu__list .menu-item-has-children > a.is-minus::before {
	height: 2px;
}
.top-menu__list .menu-item-has-children ul {
	display: none;
	flex-direction: column;
	position: absolute;
	left: 0;
	top: 24px;
	z-index: 999;
	border-radius: 24px;
	border: 1px solid var(--e-global-color-22b7c2c);
	background: var(--e-global-color-f03cdd8);
	padding: 24px;
	width: -moz-max-content;
	width: max-content;
	list-style: none;
}
.top-menu__list .menu-item-has-children ul.is-open {
	display: flex;
}

.mobile-menu .menu-item-has-children {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.mobile-menu .menu-item-has-children > a {
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
}
.mobile-menu .menu-item-has-children > a > span.menu-item-text {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	gap: 8px;
}
.mobile-menu .menu-item-has-children > a > span.menu-item-text::after {
	content: '';
	display: block;
	width: 16px;
	height: 2px;
	background-color: currentColor;
}
.mobile-menu .menu-item-has-children > a > span.menu-item-text::before {
	content: '';
	display: block;
	width: 2px;
	height: 16px;
	background-color: currentColor;
	position: absolute;
	right: 7px;
	transition: height 300ms ease-in-out;
}
.mobile-menu .menu-item-has-children > a.is-minus > span.menu-item-text::before {
	height: 2px;
}
.mobile-menu .menu-item-has-children ul {
	display: none;
	flex-direction: column;
	padding: 24px;
	width: 100%;
	list-style: none;
	font-size: 0.9em;
	border-bottom: 1px solid var(--e-global-color-afbd68d);
}
.mobile-menu .menu-item-has-children ul.is-open {
	display: flex;
}
@media (min-width: 769px) {
	.custom-nav-btn__second {
		display: none;
	}
}

@media (max-width: 1024px) {
	.menu-bar {
		justify-content: space-between;
	}
	.menu-bar__top-logo {
		order: 0;
	}
	.menu-bar__top-menu {
		flex-grow: 0;
		flex-shrink: 0;
		order: 2;
	}
	.menu-bar__btn {
		order: 1;
	}
	.top-menu__mega-btn {
		display: none;
	}
	.top-menu__list {
		display: none;
	}
	.toggle-menu {
		display: block;
	}
	.dropdown-menu {
		display: none;
	}
	.mobile-menu {
		display: flex;
	}
}
@media (max-width: 768px) {
	.custom-nav-btn__first {
		display: none;
	}
}
