/* DESKTOP MENU */

.header__menu {
	display: none;
}

.header__menu--active {
	display: block;
}

@media (max-width: 1024px) {
	.header__menu, .header__menu--active {
		display: none !important;
	}
}

.header__menu > ul {
	display: flex;
	gap: 36px;
}

.header__menu > ul > li {
	position: relative;
}

.header__menu > ul > li.menu-item-has-children {
	display: flex;
}

.header__menu > ul > li > a {
	color: #fff;
	display: flex;
	gap: 5px;
	line-height: 1;
	position: relative;
}

.header__menu > ul > li.menu-item-has-children > a {
	padding-right: 16px;
	position: relative;
}

.header__menu > ul > li.menu-item-has-children > a:after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
    display: block;
    height: 6px;
    position: absolute;
    right: 0;
    top: 3px;
    transform: rotate(45deg);
    width: 6px;
}

.header__menu > ul > li.menu-item-has-children > .menu-arrow {
	display: none;
}

.header__menu > ul > li > .sub-menu-container {
	display: none;
	left: 0;
	padding-top: 40px;
	position: absolute;
	top: calc(100% - 5px);
	z-index: 5;
}

.header__menu > ul > li.open > .sub-menu-container {
	display: block;
}

.sub-menu-box {
    background-color: #A32C56;
	/* @apply bg-primary; */
	border-radius: 8px;
	box-shadow: 0px 4px 22.7px 0px rgba(0, 0, 0, 0.25);
	display: grid;
	grid-template-columns: 53px auto;
	position: relative;
}

.sub-menu-title {
	position: relative;
}

.sub-menu-title > span {
	color: #fff;
	display: block;
	font-size: 16px;
	line-height: 1;
	position: absolute;
	right: 17px;
	top: 4px;
	transform: rotate(-90deg);
	transform-origin: 100% 100%;
	text-transform: uppercase;
	white-space: nowrap;
}

.sub-menu-close {
	cursor: pointer;
	height: 20px;
	position: absolute;
	right: 15px;
	top: 15px;
	width: 20px;
}

.sub-menu-close::before, .sub-menu-close::after {
	background-color: #000;
	content: '';
	display: block;
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 100%;
}

.sub-menu-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.sub-menu-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.sub-menu-row {
	background-color: #fff;
	border-radius: 0 8px 8px 0;
	padding: 50px;
	width: 100%;
	box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
}

.sub-menu-row--active {
	display: grid;
	grid-gap: 0px;
	grid-template-columns: repeat(2, 1fr);
}

.sub-menu-row > .sub-menu {
	width: 280px;
}

.sub-menu-row > .sub-menu > li {
}

.sub-menu-row > .sub-menu > li > a,
.sub-menu-row > .sub-menu-area > ul > li > a {
	border-bottom: 1px solid #CFD9E1 !important;
	color: #310F1D;
	display: block;
	font-size: 14px;
	line-height: 21px;
	padding: 10px 0;
	transition: none;
	border-left: solid 3px transparent;
	transition: all 0.3s ease;
}

.sub-menu-row > .sub-menu > li:last-child> a,
.sub-menu-row > .sub-menu-area > ul > li:last-child > a {
	border-bottom-color: transparent !important;
}

.sub-menu-row > .sub-menu > li > a:hover, 
.sub-menu-row > .sub-menu > li.current-menu-item > a,
.sub-menu-row > .sub-menu-area > ul > li.current-menu-item > a,
.sub-menu-row > .sub-menu-area > ul > li > a:hover {
	border-bottom: 1px solid #F8E3ED !important;
	border-left: 3px solid #A32C56;
	background: #F8E3ED;
	padding-left: 20px;
}

.sub-menu-row > .sub-menu > li.menu-item-has-children > a {
	background-image: url(../../images/icon-chevron-right.svg);
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

.sub-menu-row > .sub-menu > li > .sub-menu {
	display: none;
}

/**/

.sub-menu-row > .sub-menu-area {
	display: none;
	width: 280px;
}

.sub-menu-row--active > .sub-menu-area {
	display: block;
	padding: 12px;
	padding-left: 20px;
	position: absolute;
    background: #fff;
    transform: translate(100%, 0px);
    top: 0;
	box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
}

.sub-menu-row > .sub-menu-area > ul > li {
}

.sub-menu-row > .sub-menu-area > ul > li > span {
	color: rgb(0 0 0 / 0.7);
	display: block;
	font-size: 12px;
	line-height: 1;
	margin-bottom: 8px;
	text-transform: uppercase;
}


/* MOBILE MENU */

.mobilebox {
    background-color: #A32C56;
	/* @apply bg-primary; */
	display: flex;
	flex-direction: column;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

.mobilebox--active {
	display: flex;
}

@media (min-width: 1024px) {
	.mobilebox, .mobilebox--active {
		display: none !important;
	}
}

.mobilebox__close {
	cursor: pointer;
	height: 24px;
	position: absolute;
	right: 24px;
	top: 24px;
	width: 24px;
}

.mobilebox__close::before, .mobilebox__close::after {
	background-color: #fff;
	content: '';
	display: block;
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 100%;
}

.mobilebox__close::before {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mobilebox__close::after {
	transform: translate(-50%, -50%) rotate(45deg);
}

.mobilebox__menu {
	padding-top: 100px;
}

.mobilebox__menu ul {
	padding: 0 24px;
	position: relative;
}

.mobilebox__menu ul > li {
}

.mobilebox__menu ul.active > li {
	display: none;
}

.mobilebox__menu ul.active > li.active {
	display: block;
}

.mobilebox__menu ul > li > a {
	border-bottom: 1px solid rgba(255 255 255 / 20%) !important;
    color: #fff;
    display: block;
    line-height: 1.25;
    padding: 15px 0;
    transition: none;
}

.mobilebox__menu ul > li.menu-item-has-children > a {
	display: flex;
	justify-content: space-between;
}

.mobilebox__menu ul.active > li.active > a {
	display: none;
}
/*
.mobilebox__menu ul > li.menu-item-has-children > a svg {
	display: none;
}*/

.mobilebox__menu ul > li.menu-item-has-children{

}

.mobilebox__menu .sub-menu > li.arrow{
	background-color: #A32C56;
}

.mobilebox__menu ul > li.menu-item-has-children > svg {
	width: 50px;
    padding: 13px 0;
    height: 50px;
    padding-left: 20px;
	position: absolute;
	right: 20px;
	margin-top: 0px;
}

.mobilebox__menu ul > li.menu-item-has-children > svg path{
	fill: #fff;
}

.mobilebox__menu ul > li > .sub-menu {
    left: 0;
	position: absolute;
	top: 0;
    transform: translateX(100%);
    transition: all .4s;
	width: 100%;
	z-index: 1;
}

.mobilebox__menu ul.active > li.active > .sub-menu {
    transform: translateX(0);
}

.mobilebox__menu .sub-menu > li.arrow {
}

.mobilebox__menu .sub-menu > li.arrow > span {
	align-items: center;
	cursor: pointer;
	display: flex;
	height: 40px;
	width: 40px;
}

.mobilebox__menu .sub-menu > li.arrow > span svg {
	color: #fff;
	display: block;
	transform: rotate(180deg);
}

/**/

.mobilebox__button {
	margin-top: auto;
	padding: 0 24px 24px;
}

.mobilebox__button a {
    color: #A32C56;
	/* @apply text-primary; */
	align-items: center;
	background-color: #fff;
	border-radius: 8px;
	display: flex;
	font-size: 16px;
	gap: 10px;
	justify-content: center;
	line-height: 1;
	padding: 12px 24px;
}
