:root {
	--side-bar: 360px;
	--blocks-indent-category: var(--blocks-indent);
}
@media (min-width: 1441px) {
	:root {
		--products-in-col: 5;
	}
}
@media (min-width: 1280px) and (max-width: 1680px) {
	:root {
		--products-in-col: 4;
	}
}
@media (max-width: 1279px) {
	:root {
		--side-bar: 0px;
		--blocks-indent-category: 0px;
	}
}
.woocommerce-no-product {
	grid-column: span 12;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	height: 100px;
	font-size: 18px;
	line-height: 24px;
	background: var(--light-gray);
	padding: 20px;
	border-radius: var(--radius-medium);
}
/* Sub Category List - Start */
section.category-subs {
	padding-top: 25px;
	padding-bottom: 60px;
}
.category-heading {
	display: flex;
	align-items: stretch;
	gap: 5px;
	margin-bottom: 25px;
	font-weight: 500;
}
.subcategories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.subcategory-item {
	display: flex;
	align-items: center;
	gap: 10px;
    padding: 10px 25px 10px 10px;
	background: var(--white);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.subcategory-item:hover,
.subcategory-item.active {
	background: var(--primary);
}
.subcategory-item.active {
	order: -1;
}
.subcategory-item span {
	font-family: var(--font-family-1);
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	transition: all 0.3s ease;
}
.subcategory-item:hover span,
.subcategory-item.active span {
	color: var(--white);
}
.subcategory-item img {
	max-height: 55px;
}
/* Скрыть "Без категории" */
.subcategory-item.category-15 {
	display: none !important;
}
@media (max-width: 1680px) {
	section.category-subs {
		padding-top: 10px;
		padding-bottom: 40px;
	}
	.subcategory-item img {
		max-height: 45px;
	}
	.subcategory-item span {
		font-size: 18px;
		line-height: 24px;
	}
}
@media (max-width: 1279px) {
	section.category-subs {
		padding-top: 15px;
		padding-bottom: 30px;
	}
	.subcategories-list {
		flex-wrap: wrap;
		width: 100%;
		overflow: auto;
		padding-right: 0;
		gap: 6px;
	}
	.subcategory-item {
		min-width: max-content;
		gap: 5px;
		padding: 5px 15px 5px 15px;
	}
	.subcategory-item img {
		max-height: 30px;
	}
	.subcategory-item span {
		font-size: 14px;
		line-height: 18px;
		font-weight: 400;
	}
	.woocommerce-result-count {
		min-width: max-content;
		padding-right: 10px;
	}
	.subcategories-list:not(.expanded) .subcategory-item:nth-child(n+6) {
		display: none;
	}
	.subcategories-list.expanded .subcategory-show-all {
		display: none;
	}
	.subcategory-show-all {
		height: auto;
		min-width: max-content;
		padding: 5px 15px;
		border-radius: 10px;
	}
}
/* Sub Category List - End */

/* Category Top - Start */
body.post-type-archive.woocommerce-shop .woocommerce-breadcrumb a:last-child {
	color: #121212 !important;
}
.woocommerce-category-header {
	padding: 0 0 30px 0;
	overflow: visible;
	z-index: 4;
}
.category-heading h1.page-title {
	font-size: 65px;
	line-height: 79px;
}
.woocommerce-category-header .woocommerce-notices-wrapper {
	display: none;
}
.woocommerce-result-count {
	color: var(--primary);
}
.filter-sort {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.sorting-pc {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	margin-left: auto;
}
.sorting-pc > span {
	color: var(--black);
}
.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: 500;
}
@media (max-width: 1680px) {
	.category-heading h1.page-title {
		font-size: 45px;
		line-height: 51px;
	}
}
@media (max-width: 1279px) {
	.woocommerce-category-header {
		position: sticky;
		top: var(--header-height);
		z-index: 4;
		background: var(--light-gray);
	}
	.woocommerce-category-header {
		padding: 15px 0 15px 0;
	}
	.woocommerce-category-header .container {
		align-items: center;
		gap: 10px;
	}
	h1.page-title {
		font-size: 23px;
		line-height: 32px;
	}
	.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: var(--white);
		box-shadow: 0px 0px 24px 0px #1a1a1a14;
		transition: all 0.7s ease;
		z-index: 120;
	}
	.mob-sorting-wrapper.active .mob-sorting-box {
		right: 0;
	}
	.mob-sorting-wrapper.active .lightbox-background {
		pointer-events: all;
		opacity: 1;
	}
	.mob-sorting-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 20px 20px 20px 20px;
		background: var(--light-gray);
	}
	.mob-sorting-header .h4 {
		font-family: var(--font-family-1);
		font-weight: 500;
		font-size: 16px;
		line-height: 19px;
		color: var(--black);
	}
	.mob-sorting-header .close-sorting {
		cursor: pointer;
		padding: 10px;
	}
	.mob-sorting-header .close-sorting img {
		cursor: pointer;
		object-fit: contain;
	}
	.mob-sorting.mob {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 25px;
	}
	.mob-sorting.mob .active {
		font-weight: 500;
	}
}
/* Category Top - End */

/* Category Content - Start */
.woocommerce-category-content {
	padding-bottom: 50px;
}
/* Category Side - Start */
@media (min-width: 1280px) {
	.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: 100vw;
		height: calc(100vh - var(--header-height));
		padding: 0;
		background: var(--white);
		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-1);
		font-size: 16px;
		line-height: 16px;
		font-weight: 500;
		color: var(--black);
	}
	.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-1);
		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: var(--light-gray);
	}
	.mob-filter-header .h4 {
		font-family: var(--font-family-1);
		font-weight: 500;
		font-size: 16px;
		line-height: 19px;
		color: var(--black);
	}
	.mob-filter-header .close-filter {
		cursor: pointer;
		padding: 10px;
	}
	.mob-filter-header .close-sorting img {
		cursor: pointer;
		object-fit: contain;
	}
	#woo-filter-wrapper {
		overflow: auto;
		padding-bottom: 30px;
	}
}
/* Category Side - End */

/* Category Product List - Start */
.category-product-list .woocommerce-result-count {
	display: none !important;
}

@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;
}
.woocommerce-pagination .page-numbers li a.page-numbers,
.woocommerce-pagination .page-numbers li .current {
	width: 50px;
	height: 50px;
	padding-top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 3px;
	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(--primary);
	border: 1px solid var(--primary);
	color: var(--primary-match);
}
.woocommerce-pagination .page-numbers img {
	width: 8px;
	transition: all 0.3s ease;
}
.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 */
.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;
}
.filter-group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0px;
	padding: 0px 0 20px 0;
	border-radius: 0px;
	border-bottom: 0px solid var(--border);
}
.filter-group .filter-group-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}
.filter-group .filter-group-head .h3 {
	font-size: 20px;
	line-height: 24px;
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1;
}
.filter-group .filter-group-head .h3::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--border);
}
.filter-group .filter-group-head i {
	position: relative;
	display: flex;
	width: 14px;
	height: 14px;
	margin-left: 10px;
}
.filter-group .filter-group-head i:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: 14px;
	height: 14px;
	background: url(/wp-content/themes/shop/img/icons/chevron-right.svg) no-repeat center center;
	background-size: contain;
	transform: rotate(90deg);
	transition: transform 0.3s ease;
	filter: var(--primary-filter);
}
.filter-group.active .filter-group-head i:before {
	transform: rotate(-90deg);
}
.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;
}
.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: 0;
	justify-content: center;
	width: 100%;
	margin-bottom: 20px;
}
.price-inputs input {
	color: var(--black);
	width: 50%;
	padding: 10px 10px 6px 10px;
	outline: none;
	border: none;
	border-radius: 5px;
	background: var(--white);
	border: 1px solid var(--border);
	font-family: var(--font-family-2);
	font-size: 18px;
	line-height: 28px;
	text-align: center;
}
.price-inputs input:nth-child(1) {
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	border-right: 0px solid var(--border);
}
.price-inputs input:nth-child(2) {
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}
input.hidden {
	display: none;
}
.reset-filters,
.submit-filter-call {
	height: var(--btn-height) !important;
}
.btn.reset-filters {
	background: transparent;
	border: 1px solid var(--primary);
	color: var(--black);
}
.btn.reset-filters:hover {
	background: var(--primary);
	color: var(--white);
}
@media (max-width: 1279px) {
	#filter-form {
		gap: 0px;
	}
	.filter-group {
		gap: 0px;
		padding: 30px 25px;
		background: #fff;
		border-radius: 0px;
	}
	.reset-filters,
	.submit-filter-call {
		margin-top: 15px;
		margin-left: 25px;
		margin-right: 25px;
		width: auto;
	}
}
/* Filter - End */

/* Price Range Slider - Start */
.price-range-slider {
	position: relative;
	height: 30px;
	width: calc(100% - 20px);
	margin: 0 auto 15px;
	-webkit-tap-highlight-color: transparent;
	touch-action: none;
}
.price-range-slider .slider-track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 3px;
	background: #d2d2d2;
	border-radius: 2px;
	transform: translateY(-50%);
	pointer-events: none;
}
.price-range-slider input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
	margin: 0;
	padding: 0;
}
/* Safari/iOS track */
.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	height: 3px;
	background: transparent;
	border: none;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -9px; /* (track height - thumb height) / 2 */
	background: var(--primary);
	border: 3px solid var(--primary);
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: transform 0.15s ease;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.1);
}
/* Firefox */
.price-range-slider input[type="range"]::-moz-range-track {
	width: 100%;
	height: 3px;
	background: transparent;
	border: none;
}
.price-range-slider input[type="range"]::-moz-range-thumb {
	width: 22px;
	height: 22px;
	background: var(--primary);
	border: 3px solid var(--primary);
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: transform 0.15s ease;
}
.price-range-slider input[type="range"]::-moz-range-thumb:hover {
	transform: scale(1.1);
}
.price-range-slider input[type="range"]:focus {
	outline: none;
}
/* Z-index: левый бегунок сверху когда слева, правый - когда справа */
.price-range-slider input.range-min {
	z-index: 2;
}
.price-range-slider input.range-max {
	z-index: 1;
}
@media (max-width: 1279px) {
	.filter-group.price-filter {
		gap: 0px;
	}
	.price-range-slider {
		height: 40px;
	}
	.price-range-slider input[type="range"]::-webkit-slider-thumb {
		width: 28px;
		height: 28px;
		margin-top: -12px;
	}
	.price-range-slider input[type="range"]::-moz-range-thumb {
		width: 28px;
		height: 28px;
	}
}
/* Price Range 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: 500;
	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-1);
	color: var(--black);
	font-weight: 500;
	height: 14px;
	transition: all 0.3s ease;
}
.filter-chip span.remove-chip {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}
.filter-chip span.remove-chip::before,
.filter-chip span.remove-chip::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 1px;
	background: var(--black);
	transition: all 0.3s ease;
}
.filter-chip span.remove-chip::before {
	transform: rotate(45deg);
}
.filter-chip span.remove-chip::after {
	transform: rotate(-45deg);
}
.filter-chip.reset-all-chip {
	background-color: var(--black);
	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;
	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 */

.banner-in-product-list {
	position: relative;
	display: flex;
	width: calc(
		(
			(
				var(--full-width) - var(--container-indent) - var(--side-bar) - var(--blocks-indent-category) -
		var(--scroll-bar)
		) / var(--products-in-col) - var(--products-indent-w) * (var(--products-in-col) - 1) /
		var(--products-in-col) - 5px
		) * 3 + var(--products-indent-w) * 2
		);
}

@media (max-width: 1279px) {
	.banner-in-product-list {
		display: flex;
		width: 100%;
	}
}