/* Header Full Dropdown Menu Styles */

.menu__item {
	position: relative;
}

.menu__item--has-dropdown .menu__link {
	position: relative;
}

.menu__item--has-dropdown::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	height: 20px;
	background: transparent;
	pointer-events: auto;
	z-index: 1001;
}

.menu__dropdown {
	position: fixed;
	top: 95px;
	left: 0;
	right: 0;
	width: 100%;
	background: #FBF5EC;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 1000;
	pointer-events: none;
}

.menu__dropdown.menu__dropdown--open {
	opacity: 1;
	visibility: visible;

	pointer-events: all;
}

.menu__dropdown.menu__dropdown--force-hidden {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: none !important;
}



/* Показываем overlay когда есть открытый dropdown */
body.menu-dropdown-open .menu__dropdown-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

.menu__dropdown-container {
	max-width: 1400px;
	margin: 0 auto;

}

.menu__dropdown-content {
	display: flex;
	min-height: 400px;
}

.menu__dropdown-sidebar {

	padding: 2rem 1.5rem;
	border-right: 1px solid rgba(0, 0, 0, 0.1);

	flex-shrink: 0;
}

.menu__dropdown-title {
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 150%;
	color: #2F2F2F;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu__dropdown-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.menu__dropdown-list--additional {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.menu__dropdown-item {
	margin: 0;
}

.menu__dropdown-link {
	display: block;
	padding: 0.75rem 0;
	font-weight: 500;
	font-size: 1rem;
	line-height: 150%;
	color: #575757;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu__dropdown-link:hover {
	color: #552F24;
	padding-left: 0.5rem;
}

.menu__dropdown-item:last-child .menu__dropdown-link {
	border-bottom: none;
}

.menu__dropdown-products {
	flex: 1;
	display: flex;
	gap: 1.5rem;
	padding: 2rem;
	align-items: flex-start;
	justify-content: flex-start;
}

.menu__dropdown-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: transform 0.2s ease;
	flex: 0 0 auto;
	width: 200px;
}

.menu__dropdown-card:hover {
	transform: translateY(-5px);
}

.menu__dropdown-card-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
	border-radius: 0.5rem;
	margin-bottom: 0.75rem;
	background: #F5F5F5;
}

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

.menu__dropdown-card-title {
	font-weight: 500;
	font-size: 1rem;
	line-height: 150%;
	color: #2F2F2F;
	text-align: center;
}

/* Overlay при открытом меню */
.menu__dropdown-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.05);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	pointer-events: none;
}


.menu__item--has-dropdown:hover .menu__dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

/* Mobile: скрываем dropdown на мобильных */
@media (max-width: 47.99875em) {
	.menu__dropdown {
		display: none;
	}
	
	.menu__item--has-dropdown::before {
		display: none;
	}
}

.admin-bar .menu__dropdown {
	top: 130px;

}