:root {
	--side-bar: 300px;
	--blocks-indent-category: var(--blocks-indent);
}
@media (min-width: 1441px) {
	:root {
		--products-in-col: 5;
	}
}
@media (min-width: 1280px) and (max-width: 1480px) {
	:root {
		--products-in-col: 4;
	}
}
@media (max-width: 1279px) {
	:root {
		--side-bar: 0px;
		--blocks-indent-category: 0px;
	}
}

/* Sub Category List - Start */
section.category-subs {
	padding-bottom: 30px;
}
.subcategories-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin: 0 auto;
}
.subcategory-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px 15px;
	min-width: 135px;
	background: transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	flex-direction: column;
}
.subcategory-item:hover,
.subcategory-item.active {
	background: #252525;
}
.subcategory-item.active {
	order: -1;
}
.subcategory-item span {
	font-family: var(--font-family-2);
	font-size: 16px;
	line-height: 19px;
	font-weight: 500;
	transition: all 0.3s ease;
}
.subcategory-item:hover span,
.subcategory-item.active span {
	color: var(--white);
}
.subcategory-item img {
	max-height: 80px;
	max-width: 120px;
	margin-top: auto;
}
/* Скрыть "Без категории" */
.subcategory-item.category-15 {
	display: none !important;
}
@media (max-width: 1480px) {

}
@media (max-width: 1279px) {
	section.category-subs {
		padding-top: 15px;
		padding-bottom: 30px;
	}
	section.category-subs .container {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding-left: 15px;
	}
	.subcategories-list {
		flex-wrap: nowrap;
		width: fit-content;
		overflow: auto;
		padding-right: 15px;
		justify-content: flex-start;
	}
	.subcategory-item {
		min-width: max-content;
	}
}
/* Sub Category List - End */

/* Category Top - Start */
body.post-type-archive.woocommerce-shop .woocommerce-breadcrumb a:last-child {
	color: #fff !important;
}
.woocommerce-category-header {
	padding: 0 0 30px 0;
	overflow: visible;
}
.woocommerce-category-header h1.page-title {
	max-width: calc(var(--side-bar) + var(--blocks-indent));
}
.woocommerce-category-header .woocommerce-notices-wrapper {
	display: none;
}
.woocommerce-result-count {
	position: absolute;
	top: 12px;
	left: calc(var(--side-bar) + var(--blocks-indent));
	color: #a5a5a5;
}
.filter-sort {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: fit-content;
}
.sorting-pc {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.sorting-pc > span {
	color: #d7d7d7;
}
.current-sort {
	display: flex;
	align-items: center;
	gap: 8px;
}
.current-sort img {
	width: 12px;
	height: 12px;
	object-fit: contain;
	transition: all 0.3s ease;
	transform: rotate(90deg);
}
.current-sort.active img {
	transform: rotate(-90deg);
}
.sorting-dropdown {
	position: absolute;
	top: 30px;
	right: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: #fff;
	width: fit-content;
	padding: 10px;
	color: #000;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.sorting-dropdown.active {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
.sorting-dropdown a {
	display: flex;
	justify-content: space-between;
	gap: 5px;
}
.sorting-dropdown a.active {
	font-weight: 600;
}
@media (max-width: 1279px) {
	.woocommerce-category-header {
		position: sticky;
		top: var(--header-height);
		z-index: 2;
		background: #1e1e1e;
	}
	.woocommerce-category-header {
		padding: 15px 0 15px 0;
	}
	.woocommerce-category-header .container {
		align-items: center;
	}
	h1.page-title {
		position: relative;
		top: 0px;
		font-size: 23px;
		line-height: 32px;
	}
	.woocommerce-result-count {
		position: relative;
		left: 0;
		top: 0;
		margin-top: 0px;
		margin-bottom: 10px;
	}
	.filter-sort {
		width: 100%;
	}
	img.filter-mob.mob {
		object-fit: contain;
	}
	.mob-sorting-wrapper {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		z-index: 100;
		pointer-events: none;
	}
	.mob-sorting-wrapper.active {
		pointer-events: all;
	}
	.mob-sorting-wrapper .mob-sorting-box {
		position: relative;
		top: var(--header-height);
		right: -130vw;
		display: flex;
		flex-direction: column;
		width: 100%;
		height: auto;
		padding: 0;
		background: #383838;
		box-shadow: 0px 0px 24px 0px #1a1a1a14;
		transition: all 0.7s ease;
		z-index: 100;
	}
	.mob-sorting-wrapper.active .mob-sorting-box {
		right: 0;
	}
	.mob-sorting-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 20px 20px 20px 20px;
		background: #252525;
	}
	.mob-sorting-header .h4 {
		font-family: var(--font-family-2);
		font-weight: 500;
		font-size: 16px;
		line-height: 19px;
	}
	.mob-sorting-header .close-sorting {
		cursor: pointer;
		padding: 10px;
	}
	.mob-sorting-header .close-sorting img {
		cursor: pointer;
		object-fit: contain;
		filter: brightness(0) invert(1);
	}
	.mob-sorting.mob {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 25px;
	}
	.mob-sorting.mob .active {
		font-weight: 600;
	}
}
@media (max-width: 768px) {
	.woocommerce-category-header .container {
		align-items: center;
		gap: 10px;
	}
}
@media (max-width: 480px) {
	.woocommerce-category-header .container {
		gap: 10px;
	}
	h1.page-title {
		font-size: 23px;
		line-height: 32px;
		max-width: calc(100%);
		width: 100%;
	}
}
/* Category Top - End */

/* Category Content - Start */
.woocommerce-category-content {
	padding-bottom: 50px;
}
/* Category Side - Start */
.category-side {
	height: fit-content;
	width: var(--side-bar);
	padding: 20px;
	background: #252525;
	border-radius: 15px;
}
@media (min-width: 1280px) {
	.mob-filter-call {
		display: none !important;
	}
	.mob-sort-call {
		display: none !important;
	}
}
@media (max-width: 1279px) {
	.category-side {
		position: fixed;
		top: var(--header-height);
		left: -130vw;
		display: flex;
		flex-direction: column;
		width: var(--side-bar);
		height: calc(100vh - var(--header-height));
		padding: 0;
		background: #252525;
		box-shadow: 0px 0px 24px 0px #1a1a1a14;
		transition: all 0.7s ease;
		z-index: 100;
	}
	.category-side.active {
		left: 0;
	}
	.mob-filter-call {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.mob-filter-call img {
		width: 36px;
	}
	.mob-filter-call span {
		font-family: var(--font-family-2);
		font-size: 16px;
		line-height: 16px;
		font-weight: 500;
	}
	.mob-sort-call {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.mob-sort-call img {
		width: 22px;
	}
	.mob-sort-call span {
		font-family: var(--font-family-2);
		font-size: 16px;
		line-height: 16px;
		font-weight: 400;
	}
	.mob-filter-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 20px 20px 20px 20px;
		background: #383838;
	}
	.mob-filter-header .h4 {
		font-family: var(--font-family-2);
		font-weight: 500;
		font-size: 16px;
		line-height: 19px;
	}
	.mob-filter-header .close-filter {
		cursor: pointer;
		padding: 10px;
	}
	.mob-filter-header .close-filter img {
		cursor: pointer;
		object-fit: contain;
		filter: brightness(0) invert(1);
	}
}
@media (max-width: 768px) {
	.category-side {
		width: 100vw;
	}
	#woo-filter-wrapper {
		overflow: auto;
		padding-bottom: 30px;
	}
	#filter-form > a {
		width: calc(100% - 50px);
	}
	.reset-filters,
	.submit-filter-call {
		margin-top: 15px;
		margin-left: 25px;
	}
}
/* Category Side - End */

/* Category Product List - Start */
.category-product-list {
	display: flex;
	flex-wrap: wrap;
	width: calc(100% - var(--side-bar) - var(--blocks-indent));
	align-content: flex-start;
}
.category-product-list .woocommerce-result-count {
	display: none !important;
}
.category-product-list .product-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--products-indent-h) var(--products-indent-w);
	width: 100%;
}

@media (max-width: 1279px) {
	.category-product-list {
		width: 100%;
	}
}
/* Category Product List - End */

/* Pagination - Start */
.loadmore-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 30px auto 0 auto;
}
.woocommerce-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 50px 0 0 0;
	margin: 0 auto;
}
#loadmore + .woocommerce-pagination {
	padding: 30px 0 0 0;
}
.woocommerce-pagination .page-numbers {
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 11px;
	font-family: var(--font-family-2);
}
.woocommerce-pagination .page-numbers li a.page-numbers,
.woocommerce-pagination .page-numbers li .current {
	width: 50px;
	height: 50px;
	padding-top: 3px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	border: 1px solid #393939;
	border-radius: 5px;
	transition: all 0.3s ease;
}
.woocommerce-pagination .page-numbers li a.page-numbers.prev {
	padding-top: 0px;
	transform: rotate(180deg);
}
.woocommerce-pagination .page-numbers li a.page-numbers.next {
	padding-top: 0px;
}
.woocommerce-pagination .page-numbers li span.dots {
	padding: 0 15px;
	font-size: 22px;
}
.woocommerce-pagination .page-numbers li .current,
.woocommerce-pagination .page-numbers li a:hover {
	background: var(--white);
	border: 1px solid var(--white);
	color: var(--black);
}
.woocommerce-pagination .page-numbers img {
	width: 8px;
	transition: all 0.3s ease;
	filter: brightness(0) invert(1);
}
.woocommerce-pagination ul li .page-numbers:hover img {
	filter: url(#primary-color-match);
}
@media (max-width: 667px) {
	.woocommerce-pagination .page-numbers {
		gap: 7px;
	}
	.woocommerce-pagination .page-numbers li a.page-numbers,
	.woocommerce-pagination .page-numbers li .current {
		width: 40px;
		height: 40px;
		padding-top: 2px;
	}
	.woocommerce-pagination .page-numbers li span.dots {
		padding: 0 10px;
		font-size: 18px;
	}
}
/* Pagination - End */

/* Category Content - End */

/* Category Description - Start */
section.woocommerce-category-footer {
	margin-top: var(--header-height);
}
.bottom-seo-text {
	padding-bottom: 100px;
	padding-left: calc(var(--side-bar) + var(--blocks-indent));
}
.bottom-seo-text .h2 {
	max-width: 570px;
	margin-bottom: 15px;
}

@media (max-width: 1279px) {
	.bottom-seo-text {
		padding-left: calc(0px);
	}
	.bottom-seo-text:not(:empty) {
		padding-left: 0;
	}
}
/* Category Description - End */


/* Filter - Start */
#filter-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 20px;
}
.#filter-form > * {
	order: 1;
}
.filter-group.price-filter {
	order: 2;
}
#filter-form > a {
	order: 3;
	width: 100%;
}
.filter-group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0px;
	padding: 0px 0 20px 0;
	border-radius: 0px;
	border-bottom: 1px solid #404040;
}
.filter-group .filter-group-head {
	display: flex;
	justify-content: space-between;
	cursor: pointer;
}
.filter-group .filter-group-head .h3 {
	font-size: 20px;
	line-height: 24px;
}
.filter-group .filter-group-head i {
	position: relative;
	display: flex;
	width: 20px;
	height: 20px;
}
.filter-group .filter-group-head i:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: 20px;
	height: 20px;
	background-size: contain;
}

.filter-group .filter-group-body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding-top: 15px;
}
.filter-group.price-filter .filter-group-body {
	padding-top: 20px;
}
.filter-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	color: #fff !important;
}
.filter-checkbox input {
	display: none;
}
.filter-checkbox .custom-checkbox {
	position: relative;
	display: flex;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1px solid var(--border);
	border-radius: 3px;
	transition: all 0.3s ease-in-out;
}
.filter-checkbox input:checked + .custom-checkbox {
	border: 1px solid var(--primary);
	background: var(--primary);
}
.filter-checkbox .checkbox-value {
	line-height: 25px;
}
.filter-checkbox .checkbox-name {
	color: #303030;
	padding-top: 5px;
}
.price-inputs {
	display: flex;
	align-items: center;
	gap: 7px;
	justify-content: center;
	width: 100%;
	margin-bottom: 10px;
}
.price-inputs input {
	color: var(--white);
	width: 50%;
	padding: 10px 10px 6px 10px;
	outline: none;
	border: none;
	border-radius: 5px;
	background: #3F3F3F;
	border: 0px solid var(--border);
	font-family: var(--font-family-2);
	font-size: 18px;
	line-height: 28px;
	text-align: center;
}

input.hidden {
	display: none;
}
.reset-filters,
.submit-filter-call {
	height: 45px !important;
}
.btn.reset-filters {
	background: #e13a3a;
}
.btn.reset-filters:hover {
	background: red;
}
@media (max-width: 1279px) {
	#filter-form {
		gap: 0px;
	}
	.filter-group {
		gap: 0px;
		padding: 30px 25px;
		border-radius: 0px;
	}
}
/* Filter - End */

/* UI-Slider - Start */
.ui-slider {
	position: relative;
	text-align: left;
}
.ui-slider-horizontal {
	height: 3px;
	background: #D2D2D2;
	width: calc(100% - 30px);
	margin: 0 auto;
	margin-bottom: 15px;
}
.ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 18px;
	height: 18px;
	cursor: default;
	-ms-touch-action: none;
	touch-action: none;
}
.ui-slider-horizontal .ui-slider-handle {
	top: -7.5px;
	margin-left: -7.5px;
}
.ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	font-size: .7em;
	display: block;
	border: 0;
	background-position: 0 0;
}
.ui-slider-horizontal .ui-slider-range {
	top: 0;
	height: 100%;
	background: #ffffff;
}
.ui-widget-header {
	border: 1px solid #aaaaaa;
	background: #cccccc;
	color: #222222;
	font-weight: bold;
}
.ui-state-default, 
.ui-widget-content .ui-state-default {
	border: 3px solid #fff;
	background: #1a2b4c;
	font-weight: normal;
	color: #555555;
	border-radius: 100%;
	box-sizing: border-box;
	cursor: pointer;
}
@media (max-width: 1279px) {
	.filter-group.price-filter {
		gap: 0px;
	}
	.ui-slider .ui-slider-handle {
		width: 25px;
		height: 25px;
	}
	.ui-slider-horizontal .ui-slider-handle {
		top: -11px;
		margin-left: -11px;
	}
}
/* UI-Slider - End */

.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
	height: fit-content;
}

.filter-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 30px;
	width: fit-content;
	margin: 0;
	padding: 0 15px 0 20px;
	background: #efefef;
	font-size: 14px;
	line-height: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	border-radius: 30px;
}
.filter-chip.reset-all-chip {
	padding: 0 20px 0 20px;
}
.filter-chip span {
    font-family: var(--font-family-2);
    color: var(--black);
    font-weight: 400;
    height: 12px;
    transition: all 0.3s ease;
}
.filter-chip span.remove-chip {
	display: flex;
	cursor: pointer;
	font-weight: 300;
	font-size: 22px;
	height: 20px;
	padding: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.filter-chip span.remove-chip:hover {
	color: #ff3131;
}

.filter-chip.reset-all-chip {
	background-color: #ff3131;
	cursor: pointer;
	transition: all 0.3s ease;
}
.filter-chip.reset-all-chip:hover {
	background-color: #e70000;
}
.filter-chip.reset-all-chip span{
	color: #fff;
}
@media (max-width: 1279px) {
	.filter-chip {
		padding: 0 10px 0 15px;
	}
	.filter-chip.reset-all-chip {
		padding: 0 15px 0 15px;
	}
}

.apply-filter-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	padding: 5px 6px 5px 5px;
	background: var(--primary);
	border-radius: 100%;
	transition: all 0.3s ease;
}
.apply-filter-button p {
    font-size: 12px;
    line-height: 12px;
    height: 13px;
	color: var(--primary-match);
	transition: all 0.3s ease;
}
.apply-filter-button:hover {
	background: var(--accent);
}
.apply-filter-button:hover p {
	color: var(--accent-match);
}
/* Filter - End */


