.af-product-filter {
	display: grid;
	grid-template-columns: 25% calc(75% - 20px);
	grid-column-gap: 20px;
	align-items: start;
}

/* =========== Products filter =========== */
.af-product-filter__sidebar {
	overflow: hidden;
	border-radius: 5px;
	background-color: #ffffff;
	box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.af-product-filter__sidebar .af-filters-panel__toggle {
	background-color: #FF8400;
	border: 1px solid #ff8400;
	color: #ffffff;
	padding: 15px;
	font-family: 'Exo 2',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 24px;
	width: 100%;
	text-align: left;
	border-radius: 5px 5px 0 0;
}

.af-product-filter__sidebar .af-filters-panel__body_wrap {
	padding: 15px;
}

.af-product-filter__sidebar .af-filter-sort__select {
	color: #262626;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.af-product-filter__sidebar .af-filter-sort,
.af-product-filter__sidebar .af-filter-search {
	margin-bottom: 20px;
}

#et-boc .af-product-filter__sidebar .af-filter-sort select {
	background-image: url('/wp-content/uploads/2026/02/chevron-down.svg');
	background-repeat: no-repeat;
	background-size: 15px auto;
    background-position: right 15px center;
}

.af-product-filter__sidebar .af-filter-sort label,
.af-product-filter__sidebar .af-filter-search label {
	font-family: 'Exo 2',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 700;
	font-size: 16px;
}

.af-product-filter__sidebar .af-filter-sort,
.af-product-filter__sidebar .af-filter-search-icon {
	position: relative;
}

.af-product-filter__sidebar .af-filter-search-icon:before {
	content: "";
	position: absolute; 
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background-image: url('/wp-content/uploads/2026/01/Search-icon.svg');
	background-repeat: no-repeat;
	background-size: contain;
	width: 16px;
	height: 16px;
	z-index: -1;
}

.af-product-filter__sidebar .af-filter-sort__select,
.af-product-filter__sidebar .af-filter-search__input {
	width: 100%;
	border-radius: 5px;
	border: 1px solid rgba(0, 0, 0, .1);
	background-color: #F9F9F9;
	padding: 15px 35px 15px 15px;
	font-size: 16px;
}

.af-product-filter__sidebar .af-filter-search__input::placeholder {
	color: #d4d4d4;
}

.af-product-filter__sidebar .af-filter-box {
	border-radius: 5px;
	background-color: #F9F9F9;
	margin-bottom: 20px;
	overflow: hidden;
}

.af-product-filter__sidebar .af-filter-box:last-child {
	margin-bottom: 0;
}

.af-product-filter__sidebar .af-filter-box__title {
	background-color: #FF8400;
	color: #ffffff;
	padding: 10px 15px;
	font-family: 'Exo 2',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 16px;
}

.af-product-filter__sidebar .af-filter-box__body {
	display: flex;
	flex-direction: column;
	border: 1px solid #EEEEEE;
}

.af-product-filter__sidebar .af-filter-box__body label {
	position: relative;
	padding: 10px 15px;
	transition: .2s ease-in-out;
}

.af-product-filter__sidebar .af-filter-box__body label:before {
	content: "";
	position: absolute;
	bottom: 0;
	width: calc(100% - 30px);
	height: 1px;
	background-color: #EEEEEE;
}

.af-product-filter__sidebar .af-filter-box__body label:last-child::before {
	content: none;
}

.af-product-filter__sidebar .af-filter-box__body label:hover {
	background-color: #EEEEEE;
}

.af-product-filter__sidebar .af-filter-box__body label .af-filter-checkbox {
	accent-color: #FF8400;
	color: #ffffff;
}

.af-product-filter__sidebar .af-clear-filters {
	background-color: #FF8400;
	border: 1px solid #FF8400;
	color: #FFFFFF;
	font-size: 16px;
	border-radius: 5px;
	padding: 15px 25px;
}

@media screen and (min-width: 981px) {
	.af-product-filter__sidebar .af-filters-panel__body {
		display: block;
		max-height: none;
		overflow: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media screen and (max-width: 980px) {
	.af-product-filter {
		grid-template-columns: 100%;
		gap: 20px;
	}

	.af-product-filter__sidebar .af-filters-panel__toggle {
		cursor: pointer;
		text-align: center;
		font-size: 16px;
		padding: 12px 15px;
	}

	.af-product-filter__sidebar .af-filters-panel__body {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transform: translateY(-6px);
		transition: max-height 260ms ease, opacity 200ms ease, transform 200ms ease;
		margin-top: 10px;
	}

	.af-product-filter.is-filters-open .af-filters-panel__body {
		max-height: 2000px;
		opacity: 1;
		transform: translateY(0);
	}

	.af-product-filter .af-filters-panel__body {
		margin: 0;
	}
}



/* =========== Products grid =========== */
.af-product-filter__content .af-products-grid {
	display: grid;
	grid-template-columns: 32% 32% 32%;
	grid-column-gap: 2%;
	grid-row-gap: 20px;
}

.af-product-filter__content .af-product-card {
	position: relative;
	background-color: #ffffff;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	overflow: hidden;
	border-radius: 5px;
	transition: .2s ease-in-out;
	transform: translateY(24px);
	opacity: 0;
	animation: af-slide-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes af-slide-up {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.af-product-filter__content .af-product-card:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.af-product-filter__content .af-sale-badge {
	position: absolute;
	display: block;
	background-color: #FF8400;
	border-radius: 5px;
	top: 20px;
	left: 20px;
	color: #ffffff;
	padding: 15px;
	font-size: 16px;
	line-height: 16px;
	font-weight: 700;
	font-family: 'Exo 2',Helvetica,Arial,Lucida,sans-serif;
	z-index: 50;
}

.af-product-filter__content .af-product-card__image {
	position: relative;
	aspect-ratio: 10 / 9;
	object-fit: cover;
}

.af-product-filter__content .af-product-card__image:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 75px;
	background: linear-gradient(180deg,rgba(38, 38, 38, 0) 0%, rgba(38, 38, 38, 0.4) 100%);
	transition: .2s ease-in-out;
}

.af-product-filter__content .af-product-card__image:hover::after {
	content: "";
	background: linear-gradient(180deg,rgba(38, 38, 38, 0) 0%, rgba(38, 38, 38, 1) 100%);
	transition: .2s ease-in-out;
}

.af-product-filter__content .af-product-card__image img:not(.af-card-arrow) {
	display: flex;
	aspect-ratio: 8 / 7;
	object-fit: cover;
	width: 100%;
}

.af-product-filter__content .af-card-arrow {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 100;
}

.af-product-filter__content .af-product-title {
	font-size: 24px;
	padding-bottom: 0;
}

.af-product-filter__content .af-product-card__body {
	padding: 15px 20px;
}

.af-product-filter__content .af-product-card__grid {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	row-gap: 0;
}

.af-product-filter__content .af-product-price del span {
	font-size: 14px;
	line-height: 24px;
}

.af-product-filter__content .af-product-price ins span,
.af-product-filter__content .af-product-price--sale .af-price-unit {
	color: #FF8400;
	font-size: 20px;
	line-height: 24px;
	font-weight: 700;
	font-family: 'Exo 2',Helvetica,Arial,Lucida,sans-serif;
}

@media screen and (max-width: 1024px) {
	.af-product-filter__content .af-products-grid {
		grid-template-columns: calc(50% - 10px) calc(50% - 10px);
		grid-gap: 20px;
	}
}

@media screen and (max-width: 980px) {
	.af-product-filter__content .af-sale-badge {
		top: 10px;
		left: 10px;
		padding: 5px;
		font-size: 14px;
	}

	.af-product-filter__content .af-card-arrow {
		content: url('/wp-content/uploads/2026/01/Artifax-right-icon-small.svg');
		right: 10px;
		bottom: 10px;
	}

	.af-product-filter__content .af-product-card__body {
		padding: 15px;
	}
}

@media screen and (max-width: 568px) {
	.af-product-filter__content .af-product-card__body {
		padding: 10px;
	}
}


/* =========== Products bottom =========== */
.af-product-filter__content .af-products-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 10px;
	padding-top: 15px;
	margin-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.af-products-bottom .af-pagination {
	display: flex;
	gap: 5px;
}

.af-products-bottom .af-page {
	display: flex;
	justify-content: center; 
	align-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 5px;
	background-color: #ffffff;
	color: #262626;
	font-size: 16px;
	font-family: 'Exo 2',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 700;
}

.af-products-bottom .af-page.is-current {
	color: #ff8400;
}

.af-products-bottom .af-page.prev,
.af-products-bottom .af-page.next {
	border: 1px solid #ff8400;
	background-color: #ff8400;
}

.af-products-bottom .af-page.prev:after {
	content: "";
	position: absolute;   
	width: 48px;
	height: 48px;
	background-image: url('/wp-content/uploads/2026/01/Artifax-left-icon-bg.svg');
}

.af-products-bottom .af-page.next:after {
	content: ""; 
	position: absolute;   
	width: 48px;
	height: 48px;
	background-image: url('/wp-content/uploads/2026/01/Artifax-icon-right-bg.svg');
}

@media screen and (max-width: 980px) {
	.af-product-filter__content .af-products-bottom {	
		flex-direction: column;
		align-items: flex-start;
		border-top: none;
		margin-top: 0;
	}

	.af-products-bottom .af-results-meta {
		margin-bottom: 10px;
		padding-bottom: 15px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		width: 100%;
	}
}


/* =========== Latest 4 products shortcode =========== */
.af-toepassing-products .af-products-grid {
	grid-template-columns: calc(25% - 15px) calc(25% - 15px) calc(25% - 15px) calc(25% - 15px);
	grid-column-gap: 20px;
}

@media screen and (max-width: 980px) {
	.af-toepassing-products .af-products-grid {
		grid-template-columns: calc(50% - 10px) calc(50% - 10px);
	}
}

