:root {
	--primary-color: #e67817;
	--secondary-color: #27ae60;
	--text-color: #333333;
	--bg-color: #ffffff;
	--card-bg: #f5f5f5;
	/* --header-bg: rgba(255, 255, 255, 0.95); */
	--header-bg: #e67817;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-color);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

header {
	background-color: var(--header-bg);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-image: linear-gradient(to right, #e67817, #c1e2c3, #27ae60);
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
}

.logo {
	font-size: 1.5rem;
	font-weight: bold;
	color: white;
	text-decoration: none;
}

.main-content {
	display: flex;
	margin-top: 60px;
}

.sidebar {
	width: 250px;
	background-color: var(--card-bg);
	padding: 20px;
	height: calc(100vh - 60px);
	overflow-y: auto;
	position: fixed;
}

.all-products-btn {
	display: block;
	width: 100%;
	padding: 10px;
	/* background-color: var(--primary-color); */
	background-image: linear-gradient(to right, #e67817, #27ae60);
	color: white;
	text-align: center;
	text-decoration: none;
	border-radius: 5px;
	margin-bottom: 20px;
	transition: background-color 0.3s ease;
}

.all-products-btn:hover {
	background-image: linear-gradient(to right, #9b500f, #0d6c34);
}

.category {
	margin-bottom: 20px;
}

.category-name {
	font-weight: bold;
	cursor: pointer;
	color: var(--primary-color);
	margin-bottom: 10px;
}

.subcategory {
	margin-left: 20px;
	cursor: pointer;
	color: var(--text-color);
	margin-bottom: 5px;
}

.subcategory:hover {
	color: var(--secondary-color);
}

.products-container {
	flex-grow: 1;
	margin-left: 270px;
	padding: 20px;
}

.products-header {
	margin-bottom: 20px;
}

.products-header h1 {
	font-size: 2rem;
	color: var(--primary-color);
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.product-card {
	background-color: var(--card-bg);
	border-radius: 5px;
	padding: 15px;
	text-align: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card img {
	max-width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 5px;
	margin-bottom: 10px;
}

.product-card h3 {
	font-size: 1.1rem;
	margin-bottom: 5px;
}

.product-card p {
	font-size: 0.9rem;
	color: var(--secondary-color);
}

.mobile-menu-btn {
	display: none;
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 10px;
	font-size: 1.2rem;
	cursor: pointer;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	z-index: 1001;
}

@media (max-width: 768px) {
	.sidebar {
		display: none;
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
	}

	.sidebar.active {
		display: block;
	}

	.products-container {
		margin-left: 0;
	}

	.mobile-menu-btn {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.main-content {
		flex-direction: column;
	}
}
