/* Выпадающее меню каталога - улучшенные стили */

/* Кнопка Каталог - такой же стиль как у других пунктов меню */
.menu__item--catalog {
	position: relative;
}

.menu__link--catalog {
	cursor: pointer;
	user-select: none;
	color: #030021;
	text-decoration: none;
	position: relative;
	transition: 0.2s;
}

/* Подчёркивание при наведении - как у других пунктов меню */
.menu__link--catalog::after {
	content: "";
	position: absolute;
	bottom: -0.375rem;
	left: 0;
	right: 0;
	height: 0.125rem;
	background-color: #d7b67a;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

.menu__link--catalog:hover::after {
	transform: scaleX(1);
}

/* Выпадающее меню */
.menu__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	padding: 12px 0;
	min-width: 220px;
	z-index: 100;
	list-style: none;
	margin: 0;
	padding-top: 8px; margin-top: 0;
}

.menu__item--catalog:hover .menu__dropdown,
.menu__item--catalog:focus-within .menu__dropdown {
	display: block;
}

.menu__dropdown-item {
	margin: 0;
	padding: 0;
}

/* Ссылки подпунктов - улучшенная читабельность */
.menu__dropdown-link {
	display: block;
	padding: 10px 20px;
	color: #2d3343;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.2s ease;
	line-height: 1.4;
}

.menu__dropdown-link:hover {
	background: #f8f9fa;
	color: #d7b67a;
	padding-left: 24px;
}

/* Мобильная версия */
@media (max-width: 768px) {
	.menu__dropdown {
		position: static;
		box-shadow: none;
		background-color: #f5f6f8;
		border-radius: 0;
		padding: 8px 0;
		min-width: auto;
		display: none;
		margin-top: 0;
	}

	.menu__item--catalog.active .menu__dropdown {
		display: block;
	}

	.menu__dropdown-link {
		color: #030021;
		padding: 8px 20px;
	}

	.menu__dropdown-link:hover {
		background: rgba(10, 34, 66, 0.08);
		color: #d7b67a;
		padding-left: 24px;
	}
}
