.wcn-categories-nav {
	position: relative;
	z-index: 100;
	transition: all 0.3s ease;
}

.wcn-categories-nav.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 0;
}

.wcn-categories-container {
	overflow-x: auto;
	padding: 20px 0 0 0;
	max-width:1350px;
	margin:0 auto;
}

.wcn-categories-container::-webkit-scrollbar {
	height: 4px;
}

.wcn-categories-container::-webkit-scrollbar-track {
	background: #e0e0e0;
}

.wcn-categories-container::-webkit-scrollbar-thumb {
	background: #72D849;
}

.wcn-categories-row {
	display: flex;
	gap: 30px;
	min-width: max-content;
	padding: 0 10px;
}

.wcn-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	min-width: 120px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.wcn-category-circle {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	margin-bottom: 0px;
	border: 2px solid #e0e0e0;
}

.wcn-category-circle::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #72D849;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wcn-category-card:hover .wcn-category-circle::before,
.wcn-category-card.active .wcn-category-circle::before {
	opacity: 1;
}

.wcn-category-icon {
	width: 32px;
	height: 32px;
	fill: #555;
	transition: all 0.3s ease;
	z-index: 1;
	position: relative;
}

.wcn-category-card:hover .wcn-category-icon,
.wcn-category-card.active .wcn-category-icon {
	fill: white;
	transform: scale(1.wcn-1);
}

.wcn-category-title {
	font-size: 0.9rem;
	font-weight: 400;
	color: #333;
	text-align: center;
	line-height: 1.wcn-3;
	transition: color 0.3s ease;
}

.wcn-category-card:hover .wcn-category-title,
.wcn-category-card.active .wcn-category-title {
	color: #72D849;
	font-weight: 500;
}

.wcn-category-card:hover .wcn-category-circle {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(114, 216, 73, 0.3);
	border-color: #72D849;
}

/* Выпадающий блок */
.wcn-dropdown-content {
	background: white;
	border-top: 1px solid #e0e0e0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.4s ease;
	position: absolute;
    width: 100%;
	max-width:1350px;
}
.wcn-dropdown-content-row{
	position:relative;
	max-width:1350px;
	margin:0 auto;
}
.wcn-dropdown-content.active {
	max-height: 400px;
	opacity: 1;
}

.wcn-dropdown-inner {
	display: flex;
	padding: 20px;
	gap: 60px;
}

.wcn-main-categories {
	flex: 1;
	border-right: 1px solid #e0e0e0;
	padding-right: 40px;
}

.wcn-sub-categories {
	flex: 1;
	padding-left: 40px;
}

.wcn-category-section h4 {
	color: #333;
	font-size: 1.wcn-2rem;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #72D849;
	font-weight: 400;
}

.wcn-category-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 303px;
    overflow-y: scroll;
}

.wcn-category-item {
	margin-bottom: 6px;
	overflow:hidden;
}

.wcn-category-link {
	display: block;
	padding: 12px 16px;
	color: #555;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 0.95rem;
	border-left: 3px solid transparent;
}

.wcn-category-link:hover {
	background: #f5f5f5;
	color: #72D849;
	border-left-color: #72D849;
	transform: translateX(3px);
}

.wcn-main-category-link {
	font-weight: 500;
	color: #333;
	cursor: pointer;
}

.wcn-main-category-link.active {
	background: #f0f8ed;
	color: #72D849;
	border-left-color: #72D849;
}

.wcn-sub-category-title {
	color: #666;
	font-size: 1rem;
	margin-bottom: 15px;
	font-weight: 400;
}

/* Анимация появления */
.wcn-category-card {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

.wcn-category-card:nth-child(1) { animation-delay: 0.1s; }
.wcn-category-card:nth-child(2) { animation-delay: 0.2s; }
.wcn-category-card:nth-child(3) { animation-delay: 0.3s; }
.wcn-category-card:nth-child(4) { animation-delay: 0.4s; }
.wcn-category-card:nth-child(5) { animation-delay: 0.5s; }
.wcn-category-card:nth-child(6) { animation-delay: 0.6s; }
.wcn-category-card:nth-child(7) { animation-delay: 0.7s; }
.wcn-category-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Пустое пространство для контента */
.wcn-content-placeholder {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 1.wcn-2rem;
	background: #fafafa;
	margin-top: 40px;
}


/* Адаптивность */
@media (max-width: 768px) {
	.wcn-category-circle {
		width: 70px;
		height: 70px;
	}
	
	.wcn-category-icon {
		width: 24px;
		height: 24px;
	}
	
	.wcn-category-title {
		font-size: 0.8rem;
	}
	
	.wcn-category-card {
		min-width: 70px;
	}
	
	.wcn-categories-row {
		gap: 20px;
	}

	.wcn-dropdown-inner {
        position: relative;
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
    }

	.wcn-main-categories {
        border-right: none;
        border-bottom: none;
        padding-right: 0;
        padding-bottom: 0;
        z-index: 2;
        position: relative;
    }

	.wcn-sub-categories {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 30px 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 3;
    }

	.wcn-sub-categories.show {
        transform: translateX(0);
    }

    /* Добавляем кнопку "Назад" для мобильной версии */
    .wcn-sub-categories .wcn-category-section h4::before {
        content: "← ";
        cursor: pointer;
        margin-right: 10px;
        color: #72D849;
    }

    .wcn-categories-container::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
	.wcn-category-circle {
		width: 50px;
		height: 50px;
	}
	
	.wcn-category-icon {
		width: 20px;
		height: 20px;
	}
	
	.wcn-category-title {
		font-size: 0.75rem;
	}
	
	.wcn-category-card {
		min-width: 90px;
	}
	
	.wcn-categories-row {
		gap: 15px;
	}

	.wcn-dropdown-inner {
		padding: 20px 15px;
	}
}