.categories-section {
	margin: 0 auto;
	max-width: 1250px !important;
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	gap: 75px;
}
.section-header .section-title {
	font-size: 30px;
	font-weight: 600;
	line-height: 120%;
	margin-bottom: 0;
}
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(283px, 1fr));
	gap: 25px;
}
.category-card {
	background-color: rgba(240, 245, 250, 1);
	padding: 16px 20px;
	border-radius: 8px;
	height: 100%;
	box-sizing: border-box;
	aspect-ratio: 1 / 1.02;
}
.category-card a {
	display: flex;
	flex-direction: column;
	gap: 15px;
	height: 100%;
	justify-content: space-between;
	z-index: 2;
	position: relative;
}
.category-image {
	width: 167px;
	height: 167px;
	margin: 0 auto;
}
.category-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.category-link__text {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.category-link__text .category-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 120%;
	color: rgba(39, 39, 39, 1);
	margin: 0;
}
.product-count {
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	color: rgba(161, 161, 161, 1);
}
.min-price {
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: rgba(39, 39, 39, 1);
}
.category-meta {
	display: flex;
	justify-content: space-between;
}
.min-price__img {
	-webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='32' height='15' viewBox='0 0 32 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M30.7737 8.07112C31.1642 7.6806 31.1642 7.04743 30.7737 6.65691L24.4097 0.292946C24.0192 -0.0975785 23.386 -0.0975785 22.9955 0.292946C22.605 0.68347 22.605 1.31664 22.9955 1.70716L28.6524 7.36401L22.9955 13.0209C22.605 13.4114 22.605 14.0446 22.9955 14.4351C23.386 14.8256 24.0192 14.8256 24.4097 14.4351L30.7737 8.07112ZM0 8.36401H30.0666V6.36401H0L0 8.36401Z' fill='%23E43417'/%3e%3c/svg%3e");
	mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='32' height='15' viewBox='0 0 32 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M30.7737 8.07112C31.1642 7.6806 31.1642 7.04743 30.7737 6.65691L24.4097 0.292946C24.0192 -0.0975785 23.386 -0.0975785 22.9955 0.292946C22.605 0.68347 22.605 1.31664 22.9955 1.70716L28.6524 7.36401L22.9955 13.0209C22.605 13.4114 22.605 14.0446 22.9955 14.4351C23.386 14.8256 24.0192 14.8256 24.4097 14.4351L30.7737 8.07112ZM0 8.36401H30.0666V6.36401H0L0 8.36401Z' fill='%23E43417'/%3e%3c/svg%3e");
	background-color: rgba(228, 52, 23, 1);
	width: 30px;
	height: 15px;
	mask-size: 30px 15px;
}
.category-card__all {
	background-image: url('/wp-content/uploads/2026/02/6cc9b1283d9977776084e7e13ac94e6d346836de.webp');
	background-size: cover;
	background-position: 21% 100%;
	position: relative;
}
.category-card__all::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgba(240, 245, 250, 0.7);
}
.category-card__all .category-link {
	justify-content: center;
	align-items: center;
}
.category-card__all .category-content {
	display: flex;
	gap: 15px;
	flex-direction: column;
	align-items: center;
}
.category-card__all .category-title {
	font-weight: 600;
	font-size: 29px;
	line-height: 44px;
	text-align: center;
	text-transform: uppercase;
}
.category-card__all-text {
	font-weight: 400;
	font-size: 15px;
	line-height: 100%;
	text-align: center;
	color: rgba(39, 39, 39, 1);
}
.categories-content-wrapper {
	position: relative;
}
.categories-container {
	width: 100%;
}
.category-item {
	width: 100%;
}
.categories-content-wrapper .categories-container .swiper-pagination-bullet {
	border: 3px solid;
	width: 12px;
	height: 12px;
	background-color: rgba(108, 181, 63, 1);
	color: rgba(108, 181, 63, 1);
	opacity: 1;
	transition: .3s linear;
}
.categories-content-wrapper .categories-container .swiper-pagination-bullet-active {
	background-color: rgb(255 255 255);
	opacity: 1;
}

@media (min-width: 769px) {
	.categories-section .categories-pagination {
		display: none !important;
	}
	.categories-scroll .categories-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 20px;
		overflow: visible;
	}
	.categories-scroll .category-item {
		width: 100%;
	}
}
@media(max-width: 768px) {
	.categories-section {
		gap: 40px;
		margin-top: 40px;
	}
	.categories-grid {
		display: flex;
		gap: 12px;
	}
	.category-card {
		width: 293px;
		min-height: 293px;
		aspect-ratio: 1 / 1;
	}
	.category-item:last-child {
		order: -1;
	}
	.categories-content-wrapper {
		margin: 0 -16px;
		padding: 0 16px;
	}
	.categories-scroll .categories-grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 16px;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 10px;
	}
	.categories-scroll .categories-grid::-webkit-scrollbar {
		display: none;
	}
	.categories-scroll .category-item {
		flex: 0 0 auto;
		width: 293px;
	}
	.categories-swiper-container {
		width: 100%;
	}
	.categories-swiper {
		width: 100%;
		overflow: hidden;
	}
	.categories-section .swiper-slide {
		width: 293px;
	}
	.categories-section .swiper-pagination {
		position: relative;
		margin-top: 30px;
		margin-bottom: 20px;
		text-align: center;
	}
	.categories-section .swiper-pagination-bullet {
		width: 8px;
		height: 8px;
		opacity: 0.5;
		display: inline-block;
		margin: 0 4px;
		border-radius: 50%;
	}
	.categories-section .swiper-pagination-bullet-active {
		background-color: rgba(108, 181, 63, 1);
		opacity: 1;
	}
}
@media (max-width: 400px) {
	.categories-section {
		margin-top: 30px;
		gap: 20px;
	}
	.section-header .section-title {
		font-weight: 600;
		font-size: 24px;
	}
	.swiper-slide {
		width: 100%;
	}
	.section-header .section-title {
		font-size: 24px;
	}
	.categories-section {
		gap: 20px;
	}
	.category-card {
		width: 100%;
		min-height: 293px;
		aspect-ratio: 1 / 1;
	}
	.category__swiper-slide {
		display: none;
	}
	.categories-section .swiper-slide {
		width: 100%;
	}
}