.elementor-widget-dolcecasa_mega_menu,
.elementor-widget-dolcecasa_mega_menu > .elementor-widget-container {
	block-size: 100%;
	inline-size: 100%;
	margin: 0 !important;
	min-block-size: inherit;
	overflow: visible !important;
	padding: 0 !important;
}

.e-con:has(> .elementor-widget-dolcecasa_mega_menu),
.e-con:has(> .e-con-inner > .elementor-widget-dolcecasa_mega_menu),
.elementor-section:has(.elementor-widget-dolcecasa_mega_menu) {
	padding-block-end: 0 !important;
	padding-block-start: 0 !important;
	padding-inline-end: 0 !important;
}

body.dc-mega-menu-open .ct-header [data-transparent-row="yes"][data-row*="middle"] {
	background-color: #f2f2f2 !important;
	background-image: none;
	--theme-border-bottom: 1px solid #dadada;
	--theme-border-top: none;
	--theme-box-shadow: none;
}

body.dc-mega-menu-open .ct-header [data-transparent-row="yes"] [data-id="menu"] > ul > li > a {
	--theme-link-active-color: #3c3a39 !important;
	--theme-link-hover-color: #3c3a39 !important;
	--theme-link-initial-color: #3c3a39 !important;
}

body.dc-mega-menu-open .ct-header [data-transparent-row="yes"] [data-id="search"] {
	--theme-icon-color: #000 !important;
	--theme-icon-hover-color: rgba(0, 0, 0, 0.88) !important;
}

body.dc-mega-menu-open .ct-header [data-transparent-row="yes"] [data-id="menu"] {
	--theme-icon-color: #3c3a39 !important;
	--theme-icon-hover-color: #3c3a39 !important;
}

body.dc-mega-menu-open .ct-header [data-transparent-row="yes"] .sticky-logo {
	display: initial !important;
}

body.dc-mega-menu-open .ct-header [data-transparent-row="yes"] .sticky-logo ~ .default-logo {
	display: none !important;
}

body.dc-mega-menu-open #main,
body:has(.ct-mega-menu-full-width:hover) #main,
body:has(.ct-mega-menu-full-width:focus-within) #main {
	isolation: isolate;
	position: relative;
	z-index: 1;
}

body.dc-mega-menu-open #main::before,
body:has(.ct-mega-menu-full-width:hover) #main::before,
body:has(.ct-mega-menu-full-width:focus-within) #main::before {
	background: rgba(0, 0, 0, 0.46);
	content: "";
	inset: 0;
	pointer-events: none;
	position: fixed;
	z-index: 2;
}

body.dc-mega-menu-open .ct-header,
body:has(.ct-mega-menu-full-width:hover) .ct-header,
body:has(.ct-mega-menu-full-width:focus-within) .ct-header {
	position: relative;
	z-index: 1000;
}

body:has(.ct-mega-menu-full-width:hover) .ct-header [data-transparent-row="yes"][data-row*="middle"],
body:has(.ct-mega-menu-full-width:focus-within) .ct-header [data-transparent-row="yes"][data-row*="middle"] {
	background-color: #f2f2f2 !important;
	background-image: none;
	--theme-border-bottom: 1px solid #dadada;
	--theme-border-top: none;
	--theme-box-shadow: none;
}

body:has(.ct-mega-menu-full-width:hover) .ct-header [data-transparent-row="yes"] [data-id="menu"] > ul > li > a,
body:has(.ct-mega-menu-full-width:focus-within) .ct-header [data-transparent-row="yes"] [data-id="menu"] > ul > li > a {
	--theme-link-active-color: #3c3a39 !important;
	--theme-link-hover-color: #3c3a39 !important;
	--theme-link-initial-color: #3c3a39 !important;
}

body:has(.ct-mega-menu-full-width:hover) .ct-header [data-transparent-row="yes"] [data-id="search"],
body:has(.ct-mega-menu-full-width:focus-within) .ct-header [data-transparent-row="yes"] [data-id="search"] {
	--theme-icon-color: #000 !important;
	--theme-icon-hover-color: rgba(0, 0, 0, 0.88) !important;
}

body:has(.ct-mega-menu-full-width:hover) .ct-header [data-transparent-row="yes"] [data-id="menu"],
body:has(.ct-mega-menu-full-width:focus-within) .ct-header [data-transparent-row="yes"] [data-id="menu"] {
	--theme-icon-color: #3c3a39 !important;
	--theme-icon-hover-color: #3c3a39 !important;
}

body:has(.ct-mega-menu-full-width:hover) .ct-header [data-transparent-row="yes"] .sticky-logo,
body:has(.ct-mega-menu-full-width:focus-within) .ct-header [data-transparent-row="yes"] .sticky-logo {
	display: initial !important;
}

body:has(.ct-mega-menu-full-width:hover) .ct-header [data-transparent-row="yes"] .sticky-logo ~ .default-logo,
body:has(.ct-mega-menu-full-width:focus-within) .ct-header [data-transparent-row="yes"] .sticky-logo ~ .default-logo {
	display: none !important;
}

.dolcecasa-mega-menu {
	--dc-mm-bg: #fff;
	--dc-mm-height: 65vh;
	--dc-mm-left-width: 32.8%;
	--dc-mm-ink: #1a1715;
	--dc-mm-muted: #a9a9a9;
	--dc-mm-active: #a52e34;
	--dc-mm-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--dc-mm-motion-duration: 360ms;
	--dc-mm-stagger-step: 34ms;
	background: var(--dc-mm-bg);
	block-size: var(--dc-mm-height);
	box-sizing: border-box;
	display: grid;
	grid-template-columns: var(--dc-mm-left-width) minmax(0, 1fr);
	inline-size: calc(100% + max(0px, calc(50vw - 50%)));
	max-block-size: 65vh;
	min-block-size: 566px;
	overflow: hidden;
}

.dolcecasa-mega-menu * {
	box-sizing: border-box;
}

.dc-mega-menu-list {
	max-width: 355px;
	align-content: start;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 32px;
	justify-content: start;
	block-size: 100%;
	padding: 70px 0;
	z-index: 2;
}

.dc-mega-menu-item {
	color: inherit;
	display: block;
	font-family: "Poppins", Arial, sans-serif;
	letter-spacing: 0;
	line-height: 1.3;
	max-inline-size: 100%;
	overflow-wrap: anywhere;
	text-decoration: none;
	transition: color 180ms ease, opacity 180ms ease;
}

.dc-mega-menu-item--primary {
	color: var(--dc-mm-ink);
	cursor: default;
	display: inline-flex;
	font-size: 24px;
	font-weight: 500;
	padding-block-end: 6px;
	padding-inline-end: 36px;
	position: relative;
}

.dc-mega-menu-item--primary:not(:first-child) {
	margin-block-start: 32px;
}

.dc-mega-menu-item--secondary {
	align-self: flex-start;
	color: var(--dc-mm-muted);
	display: inline-flex;
	font-size: 18px;
	font-weight: 600;
}

.dc-mega-menu-item--brand::before {
	background: #C8D5E0;
	block-size: 1px;
	content: "";
	inset-block-end: 0;
	inset-inline-end: 36px;
	inset-inline-start: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dc-mega-menu-item--brand::after {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14' fill='none'%3E%3Cpath d='M0.848511 0.848633L6.84851 6.84863L0.848511 12.8486' stroke='%231A1715' stroke-width='1.2' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	block-size: 14px;
	content: "";
	inline-size: 8px;
	inset-block-start: 50%;
	inset-inline-end: 30px;
	opacity: 0;
	position: absolute;
	transform: translate(-6px, -50%);
	transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dc-mega-menu-item:hover,
.dc-mega-menu-item:focus-visible,
.dc-mega-menu-item.is-active {
	color: var(--dc-mm-ink);
	opacity: 1;
}

.dc-mega-menu-item--series:hover,
.dc-mega-menu-item--series:focus-visible {
	color: var(--dc-mm-ink);
}

.elementor-widget-dolcecasa_mega_menu .dolcecasa-mega-menu .dc-mega-menu-item--series:hover,
.elementor-widget-dolcecasa_mega_menu .dolcecasa-mega-menu .dc-mega-menu-item--series:focus-visible {
	color: var(--dc-mm-ink);
}

.dc-mega-menu-item--series.is-active,
.elementor-widget-dolcecasa_mega_menu .dolcecasa-mega-menu .dc-mega-menu-item--series.is-active {
	color: var(--dc-mm-active);
}

.dc-mega-menu-item--brand.is-active::before {
	transform: scaleX(1);
}

.dc-mega-menu-item--brand.is-active::after {
	opacity: 1;
	transform: translate(0, -50%);
}

.dc-mega-menu-item:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 6px;
}

.dc-mega-menu-panel {
	background: #fff;
	block-size: 100%;
	min-block-size: 0;
	overflow: hidden;
	position: relative;
}

.dc-mega-menu-panel:not(.has-image) .dc-mega-menu-panel-content,
.dc-mega-menu-panel:not(.has-image) .dc-mega-menu-panel-image {
	display: none;
}

.dc-mega-menu-panel-image {
	block-size: 100%;
	display: block;
	height: 100%;
	inline-size: 100%;
	inset: 0;
	min-block-size: 100%;
	min-inline-size: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 1;
	position: absolute;
	transform: scale(1);
	transition: opacity 240ms ease;
	z-index: 0;
}

.dc-mega-menu-panel-image.is-entering,
.dc-mega-menu-panel-image.is-leaving {
	opacity: 0;
}

.dc-mega-menu-panel-image.is-visible {
	opacity: 1;
}

.dc-mega-menu-panel-image.is-entering {
	z-index: 1;
}

.dc-mega-menu-panel-content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 0;
	inset-block-end: 40px;
	inset-inline-start: 40px;
	position: absolute;
	transform: translateY(0);
	z-index: 2;
}

.dc-mega-menu-panel-title {
	color: #fff;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 48px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0.9;
	margin: 0;
	text-transform: uppercase;
}

.dc-mega-menu-panel-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-block-start: 12px;
}

.dc-mega-menu-panel-detail {
	color: #fff;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	max-inline-size: 611px;
}

.dc-mega-menu-panel-detail[hidden] {
	display: none;
}

.dc-mega-menu-panel-detail strong {
	font-weight: 600;
}

.dc-mega-menu-panel-detail > span + span,
.dc-mega-menu-panel-detail > span + strong {
	margin-inline-start: 4px;
}

.dc-mega-menu-panel-button {
	align-items: center;
	background: #fff;
	border: 0;
	color: var(--dc-mm-ink);
	display: inline-flex;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	gap: 18px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	min-block-size: 40px;
	min-inline-size: 196px;
	margin-block-start: 24px;
	padding: 13px 32px;
	text-decoration: none;
	transform: translateY(0);
}

.dc-mega-menu-panel-button svg {
	block-size: 13px;
	flex: 0 0 auto;
	inline-size: 24px;
}

.dc-mega-menu-panel-button:hover,
.dc-mega-menu-panel-button:focus-visible {
	background: rgba(255, 255, 255, 0.82);
	color: var(--dc-mm-ink);
}

.dc-mega-menu-panel-button:focus-visible {
	outline: 1px solid #fff;
	outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
	.dolcecasa-mega-menu.dolcecasa-mega-menu--motion.has-header-motion {
		clip-path: inset(0 0 100% 0);
		opacity: 0;
		transform: translateY(-10px);
		transform-origin: top center;
		transition: clip-path var(--dc-mm-motion-duration) var(--dc-mm-ease), opacity 220ms ease, transform var(--dc-mm-motion-duration) var(--dc-mm-ease);
		will-change: clip-path, opacity, transform;
	}

	.dolcecasa-mega-menu.dolcecasa-mega-menu--motion.has-header-motion.is-open {
		clip-path: inset(0);
		opacity: 1;
		transform: translateY(0);
	}

	.dolcecasa-mega-menu.dolcecasa-mega-menu--motion.has-header-motion .dc-mega-menu-item {
		opacity: 0;
	}

	.dolcecasa-mega-menu.dolcecasa-mega-menu--motion.has-header-motion.is-open .dc-mega-menu-item {
		animation: dcMegaMenuItemIn var(--dc-mm-motion-duration) var(--dc-mm-ease) both;
		animation-delay: var(--dc-mm-item-delay, 80ms);
	}

	body.dc-mega-menu-open #main::before,
	body:has(.ct-mega-menu-full-width:hover) #main::before,
	body:has(.ct-mega-menu-full-width:focus-within) #main::before {
		animation: dcMegaMenuBackdropIn 220ms ease both;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dolcecasa-mega-menu,
	.dolcecasa-mega-menu * {
		animation-duration: 1ms !important;
		transition-duration: 1ms !important;
	}
}

@keyframes dcMegaMenuItemIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes dcMegaMenuBackdropIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (max-width: 1024px) {
	.dolcecasa-mega-menu {
		--dc-mm-left-width: 36%;
	}

	.dc-mega-menu-list {
		padding: 58px 36px;
	}

	.dc-mega-menu-panel-content {
		inset-block-end: 58px;
		inset-inline-start: 34px;
	}

	.dc-mega-menu-panel-title {
		font-size: 48px;
	}
}

@media (max-width: 767px) {
	.dolcecasa-mega-menu {
		block-size: auto;
		display: flex;
		flex-direction: column;
		inline-size: 100%;
		min-block-size: 0;
	}

	.dc-mega-menu-list {
		gap: 18px;
		padding: 30px 22px;
	}

	.dc-mega-menu-item--primary {
		font-size: 22px;
	}

	.dc-mega-menu-item--secondary {
		font-size: 14px;
	}

	.dc-mega-menu-panel {
		aspect-ratio: 1.45 / 1;
		block-size: auto;
		min-block-size: 280px;
	}

	.dc-mega-menu-panel-content {
		gap: 26px;
		inset-block-end: 32px;
		inset-inline-start: 24px;
	}

	.dc-mega-menu-panel-title {
		font-size: 44px;
	}

	.dc-mega-menu-panel-button {
		min-inline-size: 168px;
		padding-inline: 22px;
	}
}
