/* Mobile Sidebar - Start */
.menu-header-wrapper {
	position: fixed;
	top: 0;
	left: -100%;
	width: 100%;
	max-width: 450px;
	height: 100dvh;
	z-index: 99998;
	transition: all 0.5s ease;
	overflow: hidden;
}
.menu-header-wrapper.active {
	left: 0;
}
.menu-header-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.0);
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease;
	pointer-events: none;
}
.menu-header-wrapper.active .menu-header-background {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
.menu-header {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: calc(100dvh - var(--header-height));
	margin-top: var(--header-height);
	background: #2C2C2C;
	overflow-y: auto;
}

/* Каталог аккордеон - Start */
.sidebar-catalog {
	padding-bottom: 20px;
	border-bottom: 1px solid #333;
}
.catalog-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #383838;
	cursor: pointer;
	transition: all 0.3s ease;
}
.catalog-toggle:hover {
	background: #252525;
}
.catalog-toggle-left {
	display: flex;
	align-items: center;
	gap: 15px;
}
.catalog-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
}
.catalog-toggle span {
	font-family: var(--font-family-2);
	font-size: 16px;
	line-height: 16px;
	height: 15px;
	font-weight: 500;
	color: var(--white);
}
.catalog-arrow {
	width: 16px;
	height: 16px;
	object-fit: contain;
	transform: rotate(0deg);
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}
.sidebar-catalog.active .catalog-arrow {
	transform: rotate(90deg);
}

/* Контент каталога - Start */
.catalog-content {
	display: none;
	background: #2C2C2C;
}
.sidebar-catalog.active .catalog-content {
	display: block;
}
.catalog-category:last-child {
	border-bottom: none;
}
.category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 15px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.catalog-category.has-children.expanded .category-header {
	background: #383838;
}
.category-link {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	text-decoration: none;
}
.sidebar-catalog .category-image {
	width: 45px;
	height: 45px;
	object-fit: contain;
	background: #494950;
	padding: 4px;
	border-radius: 5px;
}
.sidebar-catalog .category-name {
	font-family: var(--font-family-2);
	font-size: 16px;
	line-height: 20px;
	color: var(--white);
}
.category-expand {
	width: 16px;
	height: 16px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}
.catalog-category.expanded .category-expand {
	transform: rotate(90deg);
}

/* Підкатегорії - Start */
.subcategories {
	display: none;
	flex-direction: column;
	background: #2c2c2c;
	padding: 10px 20px 15px 67px;
}
.catalog-category.expanded .subcategories {
	display: flex;
}
.subcategory-level-2 {
	font-family: var(--font-family-2);
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
	color: var(--white);
	text-decoration: none;
	padding: 8px 0;
	transition: all 0.3s ease;
}
.subcategory-level-2:hover {
	color: var(--primary);
}
.subcategory-level-3 {
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 18px;
	font-weight: 400;
	color: #BEBEBE;
	text-decoration: none;
	padding: 6px 0;
	transition: all 0.3s ease;
}
.subcategory-level-3:hover {
	color: var(--white);
}
.subcategory-level-2.show-all {
	color: #f3f3f3;
	border-bottom: 1px solid #383838;
	margin-bottom: 5px;
	padding-bottom: 12px;
}
.subcategory-level-2.show-all:hover {
	color: var(--primary-hover);
}
/* Підкатегорії - End */

/* Контент каталога - End */
/* Каталог аккордеон - End */

/* Основне меню - Start */
.sale-sidebar {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 15px;
    margin-top: 15px;
}
.sidebar-menu {
	padding: 10px 0;
	border-bottom: 1px solid #383838;
}
.sidebar-menu nav ul {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.sidebar-menu nav ul li:last-child {
	border-bottom: none;
}
.sidebar-menu nav ul li a {
	display: block;
	padding: 10px 15px;
	font-family: var(--font-family-2);
	font-size: 16px;
	line-height: 19px;
	color: var(--white);
	text-decoration: none;
	transition: all 0.3s ease;
}
/* Основне меню - End */

/* Контакти - Start */
.sidebar-contacts {
	padding: 30px 20px;
	margin-top: auto;
}
.contact-phone {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 20px;
}
.contact-phone span {
	font-family: var(--font-family-1);
	color: #858585;
}
.contact-phone a {
	font-family: var(--font-family-2);
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	color: var(--white);
	text-decoration: none;
	transition: all 0.3s ease;
}
.contact-address {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.contact-address img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	filter: brightness(0) invert(0.5);
	margin-top: 2px;
}
.contact-address span {
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 18px;
	color: #BEBEBE;
}
/* Контакти - End */

/* Scrollbar - Start */
.menu-header::-webkit-scrollbar {
	width: 6px;
}
.menu-header::-webkit-scrollbar-track {
	background: #1A1A1A;
}
.menu-header::-webkit-scrollbar-thumb {
	background: #404040;
	border-radius: 3px;
}
.menu-header::-webkit-scrollbar-thumb:hover {
	background: #505050;
}
.catalog-content::-webkit-scrollbar {
	width: 4px;
}
.catalog-content::-webkit-scrollbar-track {
	background: #1A1A1A;
}
.catalog-content::-webkit-scrollbar-thumb {
	background: #404040;
	border-radius: 2px;
}
/* Scrollbar - End */

/* Mobile Sidebar - End */