

/* Start:/bitrix/templates/.default/components/bitrix/catalog.section.list/store_v3_menu1/style.css?17669667726542*/
/* Новое меню категорий в стиле референса */
.rs-catmenu {
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	padding: 8px 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Убираем глобальный ::before для элементов меню категорий */
.rs-catmenu ul li::before,
.rs-catmenu__list li::before,
.rs-catmenu__allList li::before {
	content: none !important;
	display: none !important;
}

/* Мега-меню с двумя панелями */
.rs-catmenu--mega {
	display: flex;
	flex-direction: row;
	padding: 0;
	overflow: visible;
	position: relative;
}

/* Пункт меню (ссылка) */
.rs-catmenu__item {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	margin: 0;
	text-decoration: none !important;
	color: #333;
	transition: background-color 0.2s ease;
	cursor: pointer;
	border: none;
	outline: none;
	position: relative;
	min-height: 56px;
	box-sizing: border-box;
}

.rs-catmenu__item:hover,
.rs-catmenu__item:focus {
	background-color: #f5f5f5;
}

.rs-catmenu__item--active {
	background-color: #f0f0f0;
}

.rs-catmenu__item--active .rs-catmenu__text {
	font-weight: 500;
}

/* Цветная плашка с иконкой */
.rs-catmenu__iconWrap {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 6px;
	display: flex; /* Возвращаем цветные кружки */
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.rs-catmenu__item:hover .rs-catmenu__iconWrap {
	transform: scale(1.05);
}

/* Иконка внутри плашки */
.rs-catmenu__iconImg {
	width: 20px;
	height: 20px;
	object-fit: contain;
	filter: brightness(0) invert(1); /* Делает иконку белой */
	display: block;
	max-width: 100%;
	max-height: 100%;
}

/* SVG иконка по умолчанию */
.rs-catmenu__iconImg--default {
	filter: none;
}

.rs-catmenu__iconImg--default path,
.rs-catmenu__iconImg--default circle,
.rs-catmenu__iconImg--default rect {
	stroke: white;
	fill: none;
}

/* Текст категории */
.rs-catmenu__text {
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

/* Левая панель: короткий список */
.rs-catmenu__left {
	width: 300px;
	flex-shrink: 0;
	background: #fff;
	border-radius: 16px 0 0 16px;
}

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

.rs-catmenu__listItem {
	margin: 0;
	padding: 0;
}

/* Пункт "Все категории" */
.rs-catmenu__item--all {
	position: relative;
}

.rs-catmenu__item--all .rs-catmenu__chevron {
	display: block;
	font-size: 20px;
	line-height: 1;
	color: #666;
	margin-left: auto;
}

.rs-catmenu__iconWrap--all {
	background-color: #f0f0f0 !important;
	display: flex; /* Возвращаем иконку для пункта "Все категории" */
}

.rs-catmenu__iconWrap--all svg path {
	stroke: #666;
	fill: none;
}

/* Правая панель: полный список */
.rs-catmenu__right {
	position: absolute;
	left: 300px;
	top: 0;
	width: 400px;
	background: #fff;
	border-radius: 0 16px 16px 0;
	box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	max-height: 70vh;
	overflow-y: auto;
	z-index: 10;
}

/* Показываем правую панель при hover на мега-меню или при активном состоянии */
.rs-catmenu--mega:hover .rs-catmenu__right,
.rs-catmenu--mega.is-open .rs-catmenu__right {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.rs-catmenu__rightTitle {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

.rs-catmenu__allList {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rs-catmenu__allListItem {
	margin: 0;
	padding: 0;
}

.rs-catmenu__allItem {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	text-decoration: none !important;
	color: #333;
	transition: background-color 0.2s ease;
	border-radius: 8px;
	min-height: 48px;
}

.rs-catmenu__allItem:hover {
	background-color: #f5f5f5;
}

.rs-catmenu__allItem .rs-catmenu__iconWrap {
	width: 32px;
	height: 32px;
	min-width: 32px;
	margin-right: 10px;
	display: flex; /* Возвращаем цветные кружки в правой панели */
}

.rs-catmenu__allItem .rs-catmenu__iconImg {
	width: 18px;
	height: 18px;
}

.rs-catmenu__allItem .rs-catmenu__text {
	font-size: 14px;
	-webkit-line-clamp: 1;
}

/* Стрелка для пункта "Ещё" (если понадобится) */
.rs-catmenu__chevron {
	margin-left: 8px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	opacity: 0.6;
}

.rs-catmenu__chevron::after {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-right: 2px solid #666;
	border-top: 2px solid #666;
	transform: rotate(45deg);
	margin-left: 4px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767.98px) {
	.rs-catmenu--mega {
		flex-direction: column;
	}
	
	.rs-catmenu__left {
		width: 100%;
		border-radius: 12px 12px 0 0;
	}
	
	.rs-catmenu__right {
		position: static;
		width: 100%;
		border-radius: 0 0 12px 12px;
		box-shadow: none;
		border-top: 1px solid #eee;
		margin-top: 8px;
		padding-top: 16px;
	}
	
	.rs-catmenu--mega:hover .rs-catmenu__right,
	.rs-catmenu--mega.is-open .rs-catmenu__right {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	
	.rs-catmenu__item {
		padding: 14px 16px;
		min-height: 60px; /* Увеличенная кликабельная зона для тач-устройств */
	}
	
	.rs-catmenu__iconWrap {
		width: 40px;
		height: 40px;
		min-width: 40px;
		margin-right: 14px;
		display: flex; /* Возвращаем цветные кружки на мобильных */
	}
	
	.rs-catmenu__iconImg {
		width: 22px;
		height: 22px;
	}
	
	.rs-catmenu__text {
		font-size: 15px;
	}
}

/* Для очень маленьких экранов */
@media (max-width: 575.98px) {
	.rs-catmenu__item {
		padding: 12px 14px;
	}
	
	.rs-catmenu__text {
		font-size: 14px;
	}
}
/* End */
/* /bitrix/templates/.default/components/bitrix/catalog.section.list/store_v3_menu1/style.css?17669667726542 */
