/* Category Page Styles */
.category-page {
	background: linear-gradient(135deg, #fdfbf6 0%, #f5f0df 100%);
	min-height: calc(100vh - 300px);
	padding: 40px 0 60px;
	font-family: 'Noto Sans', sans-serif;
}

.category-header {
	background: white;
	border-radius: 16px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 4px 20px rgba(138, 122, 63, 0.08);
	border: 2px solid #e5d9c3;
}

.category-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 15px;
}

.category-title {
	color: #1f2937;
	font-size: 32px;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.category-icon {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 22px;
}

.view-all-btn {
	padding: 12px 24px;
	background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(138, 122, 63, 0.2);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.view-all-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(138, 122, 63, 0.3);
	color: white;
	text-decoration: none;
}

.breadcrumb-custom {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumb-custom a {
	color: #8a7a3f;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
	color: #6f6134;
}

.breadcrumb-separator {
	color: #d1d5db;
}

.category-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.categories-sidebar {
	width: 280px;
	background: white;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 20px rgba(138, 122, 63, 0.08);
	border: 2px solid #e5d9c3;
	position: sticky;
	top: 100px;
}

.sidebar-title {
	color: #1f2937;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e5d9c3;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sidebar-toggle {
	display: none;
	width: 30px;
	height: 30px;
	background: #faf6ed;
	border-radius: 8px;
	align-items: center;
	justify-content: center;
	color: #8a7a3f;
	cursor: pointer;
	transition: all 0.3s ease;
}

.sidebar-toggle:hover {
	background: #f5f0df;
}

.sidebar-toggle i {
	transition: transform 0.3s ease;
}

.sidebar-toggle.active i {
	transform: rotate(180deg);
}

.category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.category-list-item {
	margin-bottom: 8px;
}

.category-list-link {
	display: block;
	padding: 12px 16px;
	color: #4b5563;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.3s ease;
	font-size: 15px;
	font-weight: 500;
	position: relative;
}

.category-list-link:hover {
	background: #faf6ed;
	color: #8a7a3f;
	padding-left: 20px;
}

.category-list-link.active {
	background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
	color: white;
	font-weight: 600;
}

.category-list-link.active:hover {
	padding-left: 16px;
}

.subcategories-grid {
	flex: 1;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
}

.subcategory-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(138, 122, 63, 0.08);
	border: 2px solid #e5d9c3;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.subcategory-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 32px rgba(138, 122, 63, 0.15);
	border-color: #8a7a3f;
}

.subcategory-image-wrapper {
	position: relative;
	padding-top: 75%;
	overflow: hidden;
	background: #f5f0df;
}

.subcategory-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-image {
	transform: scale(1.1);
}

.subcategory-content {
	padding: 16px;
	text-align: center;
}

.subcategory-name {
	color: #1f2937;
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	text-decoration: none;
	display: block;
	transition: color 0.3s ease;
}

.subcategory-card:hover .subcategory-name {
	color: #8a7a3f;
}

.empty-state {
	text-align: center;
	padding: 80px 20px;
	background: white;
	border-radius: 16px;
	border: 2px dashed #e5d9c3;
}

.empty-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #faf6ed 0%, #f5f0df 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a7a3f;
	font-size: 48px;
}

.empty-title {
	color: #1f2937;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 10px;
}

.empty-text {
	color: #6b7280;
	font-size: 16px;
	margin: 0;
}

/* Mobile Responsive */
@media (max-width: 991px) {
	.category-content {
		flex-direction: column;
	}

	.categories-sidebar {
		width: 100%;
		position: static;
		margin-bottom: 30px;
	}

	.sidebar-toggle {
		display: flex;
	}

	.category-list {
		display: none;
		margin-top: 15px;
	}

	.category-list.show {
		display: block;
	}

	.grid-container {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 16px;
	}
}

@media (max-width: 576px) {
	.category-page {
		padding: 20px 0 40px;
	}

	.category-header {
		padding: 20px;
		margin-bottom: 20px;
	}

	.category-title {
		font-size: 24px;
	}

	.category-icon {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.category-header-top {
		gap: 15px;
	}

	.view-all-btn {
		width: 100%;
		justify-content: center;
		padding: 10px 20px;
		font-size: 13px;
	}

	.categories-sidebar {
		padding: 15px;
	}

	.sidebar-title {
		font-size: 16px;
		margin-bottom: 15px;
	}

	.category-list-link {
		padding: 10px 14px;
		font-size: 14px;
	}

	.grid-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.subcategory-content {
		padding: 12px;
	}

	.subcategory-name {
		font-size: 14px;
	}

	.empty-state {
		padding: 60px 20px;
	}

	.empty-icon {
		width: 80px;
		height: 80px;
		font-size: 36px;
	}

	.empty-title {
		font-size: 20px;
	}

	.empty-text {
		font-size: 14px;
	}
}